@schematichq/schematic-typescript-node 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
1
  import type * as Schematic from "../index";
2
2
  export interface BillingCreditBundleResponseData {
3
- billingInvoiceId?: string;
4
3
  bundleType: Schematic.BillingCreditBundleType;
5
4
  createdAt: Date;
6
5
  creditDescription?: string;
@@ -1,6 +1,5 @@
1
1
  import type * as Schematic from "../index";
2
2
  export interface BillingCreditBundleView {
3
- billingInvoiceId?: string;
4
3
  bundleType: Schematic.BillingCreditBundleType;
5
4
  createdAt: Date;
6
5
  creditDescription?: string;
@@ -0,0 +1,7 @@
1
+ export interface CaptureRawEvent {
2
+ capturedAt: Date;
3
+ eventId?: string;
4
+ rawBytes: number[];
5
+ remoteIp: string;
6
+ userAgent: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ import type * as Schematic from "../index";
2
+ export interface CaptureRawEventBatch {
3
+ events: Schematic.CaptureRawEvent[];
4
+ }
@@ -1,4 +1,5 @@
1
1
  import type * as Schematic from "../index";
2
2
  export interface CheckFlagsResponseData {
3
3
  flags: Schematic.CheckFlagResponseData[];
4
+ plan?: Schematic.DatastreamCompanyPlan;
4
5
  }
@@ -0,0 +1,5 @@
1
+ export interface DatastreamCompanyPlan {
2
+ id: string;
3
+ name: string;
4
+ trialEndDate?: Date;
5
+ }
@@ -9,12 +9,16 @@ export interface PlanChangeResponseData {
9
9
  basePlan?: Schematic.PlanSnapshotView;
10
10
  /** Any special behavior that affected the assignment of the base plan during this change. */
11
11
  basePlanAction?: Schematic.PlanChangeBasePlanAction;
12
+ /** The plan version that was assigned during this change. */
13
+ basePlanVersion?: Schematic.PlanVersionSnapshotView;
12
14
  company?: Schematic.CompanyResponseData;
13
15
  companyId: string;
14
16
  createdAt: Date;
15
17
  environmentId: string;
16
18
  id: string;
17
19
  previousBasePlan?: Schematic.PlanSnapshotView;
20
+ /** The plan version of the previous base plan before this change. */
21
+ previousBasePlanVersion?: Schematic.PlanVersionSnapshotView;
18
22
  requestId?: string;
19
23
  /** If a subscription was changed as a part of this plan change, indicates the type of change that was made. */
20
24
  subscriptionChangeAction?: Schematic.PlanChangeSubscriptionAction;
@@ -0,0 +1,5 @@
1
+ export interface PlanVersionSnapshotView {
2
+ id: string;
3
+ name: string;
4
+ version: number;
5
+ }
@@ -2,7 +2,7 @@ import type * as Schematic from "../index";
2
2
  export interface WhoAmIResponseData {
3
3
  accountId: string;
4
4
  accountName: string;
5
- actorType: string;
5
+ actorType: Schematic.ActorType;
6
6
  apiKeyId?: string;
7
7
  environmentId?: string;
8
8
  environments: Schematic.EnvironmentResponseData[];
@@ -47,6 +47,8 @@ export * from "./BillingSubscriptionResponseData";
47
47
  export * from "./BillingSubscriptionTrialEndSetting";
48
48
  export * from "./BillingSubscriptionView";
49
49
  export * from "./BillingTiersMode";
50
+ export * from "./CaptureRawEvent";
51
+ export * from "./CaptureRawEventBatch";
50
52
  export * from "./ChangeSubscriptionInternalRequestBody";
51
53
  export * from "./ChangeSubscriptionRequestBody";
52
54
  export * from "./ChargeType";
@@ -138,6 +140,7 @@ export * from "./DataExportOutputFileType";
138
140
  export * from "./DataExportResponseData";
139
141
  export * from "./DataExportStatus";
140
142
  export * from "./DataExportType";
143
+ export * from "./DatastreamCompanyPlan";
141
144
  export * from "./DeleteBillingPlanCreditGrantRequestBody";
142
145
  export * from "./DeleteResponse";
143
146
  export * from "./DuplicatePlanEntitlementsResponseResponseData";
@@ -230,6 +233,7 @@ export * from "./PlanVersionMigrationResponseData";
230
233
  export * from "./PlanVersionMigrationStatus";
231
234
  export * from "./PlanVersionMigrationStrategy";
232
235
  export * from "./PlanVersionResponseData";
236
+ export * from "./PlanVersionSnapshotView";
233
237
  export * from "./PlanVersionStatus";
234
238
  export * from "./PlanViewPublicResponseData";
235
239
  export * from "./PreviewObject";