Skip to content

Commit 45f735f

Browse files
SDK regeneration (#94)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent ca8335f commit 45f735f

28 files changed

+234
-72
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
"files": ["dist/**/*.js", "dist/**/*.d.ts", "!dist/**/*.js.map", "!dist/**/*.test.*", "README.md"]
4747
}
4848
},
49-
"sdkVersion": "1.4.2"
49+
"sdkVersion": "1.4.3"
5050
}

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@schematichq/schematic-typescript-node",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"private": false,
55
"repository": {
66
"type": "git",
@@ -25,29 +25,29 @@
2525
"test:cloudflare": "node scripts/test-cloudflare.mjs"
2626
},
2727
"dependencies": {
28-
"@types/ws": "^8.18.1",
2928
"form-data": "^4.0.4",
3029
"formdata-node": "^6.0.3",
3130
"node-fetch": "^2.7.0",
3231
"readable-stream": "^4.5.2",
33-
"ws": "^8.18.1"
32+
"ws": "^8.18.1",
33+
"@types/ws": "^8.18.1"
3434
},
3535
"devDependencies": {
36-
"@biomejs/biome": "2.3.1",
37-
"@jest/globals": "^29.7.0",
38-
"@types/jest": "^29.5.14",
39-
"@types/node": "^18.19.70",
4036
"@types/node-fetch": "^2.6.12",
4137
"@types/readable-stream": "^4.0.18",
42-
"esbuild": "^0.25.9",
38+
"webpack": "^5.97.1",
39+
"ts-loader": "^9.5.1",
4340
"jest": "^29.7.0",
41+
"@jest/globals": "^29.7.0",
42+
"@types/jest": "^29.5.14",
43+
"ts-jest": "^29.3.4",
4444
"jest-environment-jsdom": "^29.7.0",
45-
"miniflare": "^4.20260305.0",
4645
"msw": "2.11.2",
47-
"ts-jest": "^29.3.4",
48-
"ts-loader": "^9.5.1",
46+
"@types/node": "^18.19.70",
4947
"typescript": "~5.7.2",
50-
"webpack": "^5.97.1"
48+
"@biomejs/biome": "2.3.1",
49+
"esbuild": "^0.25.9",
50+
"miniflare": "^4.20260305.0"
5151
},
5252
"browser": {
5353
"fs": false,

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.4.2",
56-
"User-Agent": "@schematichq/schematic-typescript-node/1.4.2",
55+
"X-Fern-SDK-Version": "1.4.3",
56+
"User-Agent": "@schematichq/schematic-typescript-node/1.4.3",
5757
"X-Fern-Runtime": core.RUNTIME.type,
5858
"X-Fern-Runtime-Version": core.RUNTIME.version,
5959
},

src/api/types/BillingCreditBundleResponseData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import type * as Schematic from "../index";
44

55
export interface BillingCreditBundleResponseData {
6-
billingInvoiceId?: string;
76
bundleType: Schematic.BillingCreditBundleType;
87
createdAt: Date;
98
creditDescription?: string;

src/api/types/BillingCreditBundleView.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import type * as Schematic from "../index";
44

55
export interface BillingCreditBundleView {
6-
billingInvoiceId?: string;
76
bundleType: Schematic.BillingCreditBundleType;
87
createdAt: Date;
98
creditDescription?: string;

src/api/types/CaptureRawEvent.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
export interface CaptureRawEvent {
4+
capturedAt: Date;
5+
eventId?: string;
6+
rawBytes: number[];
7+
remoteIp: string;
8+
userAgent: string;
9+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
import type * as Schematic from "../index";
4+
5+
export interface CaptureRawEventBatch {
6+
events: Schematic.CaptureRawEvent[];
7+
}

src/api/types/CheckFlagsResponseData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ import type * as Schematic from "../index";
44

55
export interface CheckFlagsResponseData {
66
flags: Schematic.CheckFlagResponseData[];
7+
plan?: Schematic.DatastreamCompanyPlan;
78
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
export interface DatastreamCompanyPlan {
4+
id: string;
5+
name: string;
6+
trialEndDate?: Date;
7+
}

src/api/types/PlanChangeResponseData.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ export interface PlanChangeResponseData {
1212
basePlan?: Schematic.PlanSnapshotView;
1313
/** Any special behavior that affected the assignment of the base plan during this change. */
1414
basePlanAction?: Schematic.PlanChangeBasePlanAction;
15+
/** The plan version that was assigned during this change. */
16+
basePlanVersion?: Schematic.PlanVersionSnapshotView;
1517
company?: Schematic.CompanyResponseData;
1618
companyId: string;
1719
createdAt: Date;
1820
environmentId: string;
1921
id: string;
2022
previousBasePlan?: Schematic.PlanSnapshotView;
23+
/** The plan version of the previous base plan before this change. */
24+
previousBasePlanVersion?: Schematic.PlanVersionSnapshotView;
2125
requestId?: string;
2226
/** If a subscription was changed as a part of this plan change, indicates the type of change that was made. */
2327
subscriptionChangeAction?: Schematic.PlanChangeSubscriptionAction;

0 commit comments

Comments
 (0)