Skip to content

Commit 90031ab

Browse files
SDK regeneration
Unable to analyze changes with AI, incrementing PATCH version.
1 parent 9b0b98c commit 90031ab

File tree

113 files changed

+2711
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2711
-219
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@
4141
"files": ["dist/**/*.js", "dist/**/*.d.ts", "!dist/**/*.js.map", "!dist/**/*.test.*", "README.md"]
4242
}
4343
},
44-
"sdkVersion": "1.3.0"
44+
"sdkVersion": "1.3.1"
4545
}

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ src/version.ts
1717
src/webhooks.ts
1818
src/wrapper.ts
1919
tests/unit/webhooks.test.ts
20+
changelog.md

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 1.3.1 - 2026-01-08
2+
* SDK regeneration
3+
* Unable to analyze changes with AI, incrementing PATCH version.
4+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@schematichq/schematic-typescript-node",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"private": false,
55
"repository": {
66
"type": "git",

reference.md

Lines changed: 170 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,6 @@ await client.billing.upsertBillingCoupon({
10001000
await client.billing.upsertBillingCustomer({
10011001
email: "email",
10021002
externalId: "external_id",
1003-
failedToImport: true,
10041003
meta: {
10051004
"key": "value"
10061005
},
@@ -1055,7 +1054,6 @@ await client.billing.upsertBillingCustomer({
10551054

10561055
```typescript
10571056
await client.billing.listCustomersWithSubscriptions({
1058-
failedToImport: true,
10591057
name: "name",
10601058
providerType: "schematic",
10611059
q: "q",
@@ -1111,7 +1109,6 @@ await client.billing.listCustomersWithSubscriptions({
11111109

11121110
```typescript
11131111
await client.billing.countCustomers({
1114-
failedToImport: true,
11151112
name: "name",
11161113
providerType: "schematic",
11171114
q: "q",
@@ -2758,6 +2755,61 @@ await client.credits.grantBillingCreditsToCompany({
27582755
</dl>
27592756

27602757

2758+
</dd>
2759+
</dl>
2760+
</details>
2761+
2762+
<details><summary><code>client.credits.<a href="/src/api/resources/credits/client/Client.ts">countCompanyGrants</a>({ ...params }) -> Schematic.CountCompanyGrantsResponse</code></summary>
2763+
<dl>
2764+
<dd>
2765+
2766+
#### 🔌 Usage
2767+
2768+
<dl>
2769+
<dd>
2770+
2771+
<dl>
2772+
<dd>
2773+
2774+
```typescript
2775+
await client.credits.countCompanyGrants({
2776+
companyId: "company_id",
2777+
order: "created_at",
2778+
dir: "asc",
2779+
limit: 1,
2780+
offset: 1
2781+
});
2782+
2783+
```
2784+
</dd>
2785+
</dl>
2786+
</dd>
2787+
</dl>
2788+
2789+
#### ⚙️ Parameters
2790+
2791+
<dl>
2792+
<dd>
2793+
2794+
<dl>
2795+
<dd>
2796+
2797+
**request:** `Schematic.CountCompanyGrantsRequest`
2798+
2799+
</dd>
2800+
</dl>
2801+
2802+
<dl>
2803+
<dd>
2804+
2805+
**requestOptions:** `CreditsClient.RequestOptions`
2806+
2807+
</dd>
2808+
</dl>
2809+
</dd>
2810+
</dl>
2811+
2812+
27612813
</dd>
27622814
</dl>
27632815
</details>
@@ -9162,6 +9214,121 @@ await client.features.countFlags({
91629214
</dl>
91639215

91649216

9217+
</dd>
9218+
</dl>
9219+
</details>
9220+
9221+
## planbundle
9222+
<details><summary><code>client.planbundle.<a href="/src/api/resources/planbundle/client/Client.ts">createPlanBundle</a>({ ...params }) -> Schematic.CreatePlanBundleResponse</code></summary>
9223+
<dl>
9224+
<dd>
9225+
9226+
#### 🔌 Usage
9227+
9228+
<dl>
9229+
<dd>
9230+
9231+
<dl>
9232+
<dd>
9233+
9234+
```typescript
9235+
await client.planbundle.createPlanBundle({
9236+
entitlements: [{
9237+
action: "create"
9238+
}]
9239+
});
9240+
9241+
```
9242+
</dd>
9243+
</dl>
9244+
</dd>
9245+
</dl>
9246+
9247+
#### ⚙️ Parameters
9248+
9249+
<dl>
9250+
<dd>
9251+
9252+
<dl>
9253+
<dd>
9254+
9255+
**request:** `Schematic.CreatePlanBundleRequestBody`
9256+
9257+
</dd>
9258+
</dl>
9259+
9260+
<dl>
9261+
<dd>
9262+
9263+
**requestOptions:** `PlanbundleClient.RequestOptions`
9264+
9265+
</dd>
9266+
</dl>
9267+
</dd>
9268+
</dl>
9269+
9270+
9271+
</dd>
9272+
</dl>
9273+
</details>
9274+
9275+
<details><summary><code>client.planbundle.<a href="/src/api/resources/planbundle/client/Client.ts">updatePlanBundle</a>(plan_bundle_id, { ...params }) -> Schematic.UpdatePlanBundleResponse</code></summary>
9276+
<dl>
9277+
<dd>
9278+
9279+
#### 🔌 Usage
9280+
9281+
<dl>
9282+
<dd>
9283+
9284+
<dl>
9285+
<dd>
9286+
9287+
```typescript
9288+
await client.planbundle.updatePlanBundle("plan_bundle_id", {
9289+
entitlements: [{
9290+
action: "create"
9291+
}]
9292+
});
9293+
9294+
```
9295+
</dd>
9296+
</dl>
9297+
</dd>
9298+
</dl>
9299+
9300+
#### ⚙️ Parameters
9301+
9302+
<dl>
9303+
<dd>
9304+
9305+
<dl>
9306+
<dd>
9307+
9308+
**plan_bundle_id:** `string` — plan_bundle_id
9309+
9310+
</dd>
9311+
</dl>
9312+
9313+
<dl>
9314+
<dd>
9315+
9316+
**request:** `Schematic.UpdatePlanBundleRequestBody`
9317+
9318+
</dd>
9319+
</dl>
9320+
9321+
<dl>
9322+
<dd>
9323+
9324+
**requestOptions:** `PlanbundleClient.RequestOptions`
9325+
9326+
</dd>
9327+
</dl>
9328+
</dd>
9329+
</dl>
9330+
9331+
91659332
</dd>
91669333
</dl>
91679334
</details>

src/BaseClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
5252
{
5353
"X-Fern-Language": "JavaScript",
5454
"X-Fern-SDK-Name": "@schematichq/schematic-typescript-node",
55-
"X-Fern-SDK-Version": "1.3.0",
56-
"User-Agent": "@schematichq/schematic-typescript-node/1.3.0",
55+
"X-Fern-SDK-Version": "1.3.1",
56+
"User-Agent": "@schematichq/schematic-typescript-node/AUTO",
5757
"X-Fern-Runtime": core.RUNTIME.type,
5858
"X-Fern-Runtime-Version": core.RUNTIME.version,
5959
},

src/Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { DataexportsClient } from "./api/resources/dataexports/client/Client";
1111
import { EntitlementsClient } from "./api/resources/entitlements/client/Client";
1212
import { EventsClient } from "./api/resources/events/client/Client";
1313
import { FeaturesClient } from "./api/resources/features/client/Client";
14+
import { PlanbundleClient } from "./api/resources/planbundle/client/Client";
1415
import { PlangroupsClient } from "./api/resources/plangroups/client/Client";
1516
import { PlansClient } from "./api/resources/plans/client/Client";
1617
import { WebhooksClient } from "./api/resources/webhooks/client/Client";
@@ -41,6 +42,7 @@ export class SchematicClient {
4142
protected _dataexports: DataexportsClient | undefined;
4243
protected _events: EventsClient | undefined;
4344
protected _features: FeaturesClient | undefined;
45+
protected _planbundle: PlanbundleClient | undefined;
4446
protected _plangroups: PlangroupsClient | undefined;
4547
protected _accesstokens: AccesstokensClient | undefined;
4648
protected _webhooks: WebhooksClient | undefined;
@@ -93,6 +95,10 @@ export class SchematicClient {
9395
return (this._features ??= new FeaturesClient(this._options));
9496
}
9597

98+
public get planbundle(): PlanbundleClient {
99+
return (this._planbundle ??= new PlanbundleClient(this._options));
100+
}
101+
96102
public get plangroups(): PlangroupsClient {
97103
return (this._plangroups ??= new PlangroupsClient(this._options));
98104
}

src/api/resources/billing/client/Client.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ export class BillingClient {
328328
* await client.billing.upsertBillingCustomer({
329329
* email: "email",
330330
* externalId: "external_id",
331-
* failedToImport: true,
332331
* meta: {
333332
* "key": "value"
334333
* },
@@ -467,7 +466,6 @@ export class BillingClient {
467466
*
468467
* @example
469468
* await client.billing.listCustomersWithSubscriptions({
470-
* failedToImport: true,
471469
* name: "name",
472470
* providerType: "schematic",
473471
* q: "q",
@@ -486,7 +484,7 @@ export class BillingClient {
486484
request: Schematic.ListCustomersWithSubscriptionsRequest = {},
487485
requestOptions?: BillingClient.RequestOptions,
488486
): Promise<core.WithRawResponse<Schematic.ListCustomersWithSubscriptionsResponse>> {
489-
const { companyIds, failedToImport, name, providerType, q, limit, offset } = request;
487+
const { companyIds, name, providerType, q, limit, offset } = request;
490488
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
491489
if (companyIds != null) {
492490
if (Array.isArray(companyIds)) {
@@ -496,10 +494,6 @@ export class BillingClient {
496494
}
497495
}
498496

499-
if (failedToImport != null) {
500-
_queryParams.failed_to_import = failedToImport.toString();
501-
}
502-
503497
if (name != null) {
504498
_queryParams.name = name;
505499
}
@@ -638,7 +632,6 @@ export class BillingClient {
638632
*
639633
* @example
640634
* await client.billing.countCustomers({
641-
* failedToImport: true,
642635
* name: "name",
643636
* providerType: "schematic",
644637
* q: "q",
@@ -657,7 +650,7 @@ export class BillingClient {
657650
request: Schematic.CountCustomersRequest = {},
658651
requestOptions?: BillingClient.RequestOptions,
659652
): Promise<core.WithRawResponse<Schematic.CountCustomersResponse>> {
660-
const { companyIds, failedToImport, name, providerType, q, limit, offset } = request;
653+
const { companyIds, name, providerType, q, limit, offset } = request;
661654
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
662655
if (companyIds != null) {
663656
if (Array.isArray(companyIds)) {
@@ -667,10 +660,6 @@ export class BillingClient {
667660
}
668661
}
669662

670-
if (failedToImport != null) {
671-
_queryParams.failed_to_import = failedToImport.toString();
672-
}
673-
674663
if (name != null) {
675664
_queryParams.name = name;
676665
}

src/api/resources/billing/client/requests/CountBillingProductsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type * as Schematic from "../../../../index";
2020
*/
2121
export interface CountBillingProductsRequest {
2222
ids?: string | string[];
23-
/** Filter products that are active */
23+
/** Filter products that are active. Defaults to true if not specified */
2424
isActive?: boolean;
2525
name?: string;
2626
priceUsageType?: Schematic.BillingPriceUsageType;

src/api/resources/billing/client/requests/CountCustomersRequest.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import type * as Schematic from "../../../../index";
55
/**
66
* @example
77
* {
8-
* failedToImport: true,
98
* name: "name",
109
* providerType: "schematic",
1110
* q: "q",
@@ -15,7 +14,6 @@ import type * as Schematic from "../../../../index";
1514
*/
1615
export interface CountCustomersRequest {
1716
companyIds?: string | string[];
18-
failedToImport?: boolean;
1917
name?: string;
2018
providerType?: Schematic.BillingProviderType;
2119
q?: string;

0 commit comments

Comments
 (0)