@schematichq/schematic-typescript-node 1.5.2 → 1.5.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.
@@ -6,5 +6,6 @@
6
6
  */
7
7
  export interface CheckoutDataRequestBody {
8
8
  companyId: string;
9
+ currency?: string;
9
10
  selectedPlanId?: string;
10
11
  }
@@ -8,6 +8,7 @@ import type * as Schematic from "../../../../index";
8
8
  */
9
9
  export interface PublishPlanVersionRequestBody {
10
10
  activationStrategy?: Schematic.CustomPlanActivationStrategy;
11
+ couponExternalId?: string;
11
12
  customerEmail?: string;
12
13
  daysUntilDue?: number;
13
14
  excludedCompanyIds: string[];
@@ -16,6 +16,8 @@ export interface PlanChangeResponseData {
16
16
  createdAt: Date;
17
17
  environmentId: string;
18
18
  id: string;
19
+ /** The integration that performed this change, when the actor is an integration-owned API key (e.g. a billing-provider sync). */
20
+ integration?: Schematic.IntegrationResponseData;
19
21
  /** True when this change moved the company to a different version of the same plan (e.g. a plan version migration) rather than to a different plan. */
20
22
  isVersionUpgrade: boolean;
21
23
  previousBasePlan?: Schematic.PlanSnapshotView;
@@ -1,6 +1,6 @@
1
1
  /** The current schema version hash for rules engine types. The first enum value is always the current version. */
2
2
  export declare const RulesEngineSchemaVersion: {
3
- readonly V97288F60: "v97288f60";
3
+ readonly V5B3E7220: "v5b3e7220";
4
4
  readonly PlaceholderForFernCompatibility: "placeholder-for-fern-compatibility";
5
5
  };
6
6
  export type RulesEngineSchemaVersion = (typeof RulesEngineSchemaVersion)[keyof typeof RulesEngineSchemaVersion];