Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cliVersion": "5.6.0",
"cliVersion": "5.50.0",
"generatorName": "fernapi/fern-typescript-node-sdk",
"generatorVersion": "3.70.7",
"generatorConfig": {
Expand Down Expand Up @@ -53,10 +53,10 @@
]
}
},
"originGitCommit": "deb8532a1f84f6daa08b5c611a66a5ec92f53f0e",
"originGitCommit": "19cafdf92ab056ef6ba803bf1e352b0422a8ec45",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "1.5.3",
"requestedVersion": "1.5.4",
"ciProvider": "github",
"sdkVersion": "1.5.3"
"sdkVersion": "1.5.4"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schematichq/schematic-typescript-node",
"version": "1.5.3",
"version": "1.5.4",
"private": false,
"repository": {
"type": "git",
Expand Down
102 changes: 102 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4927,6 +4927,108 @@ await client.companies.lookupCompany({
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">getCompanyBillingEntity</a>({ ...params }) -> Schematic.GetCompanyBillingEntityResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.companies.getCompanyBillingEntity({
companyId: "company_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Schematic.GetCompanyBillingEntityRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `CompaniesClient.RequestOptions`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">getBillingEntityChildSubscriptions</a>({ ...params }) -> Schematic.GetBillingEntityChildSubscriptionsResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.companies.getBillingEntityChildSubscriptions({
companyId: "company_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Schematic.GetBillingEntityChildSubscriptionsRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `CompaniesClient.RequestOptions`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
4 changes: 2 additions & 2 deletions src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
{
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@schematichq/schematic-typescript-node",
"X-Fern-SDK-Version": "1.5.3",
"User-Agent": "@schematichq/schematic-typescript-node/1.5.3",
"X-Fern-SDK-Version": "1.5.4",
"User-Agent": "@schematichq/schematic-typescript-node/1.5.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface CreateBillingSubscriptionRequestBody {
applicationId?: string;
cancelAt?: number;
cancelAtPeriodEnd: boolean;
companyId?: string;
currency: string;
customerExternalId: string;
defaultPaymentMethodExternalId?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ export interface CreateInvoiceRequestBody {
currency: string;
customerExternalId: string;
dueDate?: Date;
endingBalance?: number;
externalId?: string;
paymentMethodExternalId?: string;
startingBalance?: number;
status?: Schematic.InvoiceStatus;
subscriptionExternalId?: string;
subtotal: number;
Expand Down
Loading