@stigg/node-server-sdk 0.23.0 → 0.23.1

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.
@@ -1259,7 +1259,7 @@ export declare type SubscriptionAddonFilterPriceFilter = {
1259
1259
  };
1260
1260
  export declare type SubscriptionAddonInput = {
1261
1261
  addonId: Scalars['String'];
1262
- billingPeriod: BillingPeriod;
1262
+ billingPeriod?: Maybe<BillingPeriod>;
1263
1263
  quantity?: Maybe<Scalars['Int']>;
1264
1264
  };
1265
1265
  export declare type SubscriptionAddonSort = {
@@ -1289,7 +1289,7 @@ export declare enum SubscriptionEndSetup {
1289
1289
  export declare type SubscriptionInput = {
1290
1290
  addons?: Maybe<Array<SubscriptionAddonInput>>;
1291
1291
  billingId?: Maybe<Scalars['String']>;
1292
- billingPeriod: BillingPeriod;
1292
+ billingPeriod?: Maybe<BillingPeriod>;
1293
1293
  crmId?: Maybe<Scalars['String']>;
1294
1294
  customerId: Scalars['String'];
1295
1295
  endDate?: Maybe<Scalars['DateTime']>;
package/dist/models.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare type Subscription = {
62
62
  export declare type SubscriptionAddon = {
63
63
  addonId: string;
64
64
  quantity?: number;
65
- billingPeriod: BillingPeriod;
65
+ billingPeriod?: BillingPeriod;
66
66
  };
67
67
  export declare type CreateSubscription = {
68
68
  customerId: string;
@@ -71,7 +71,7 @@ export declare type CreateSubscription = {
71
71
  startDate: Date;
72
72
  endDate?: Date;
73
73
  id?: string;
74
- billingPeriod: BillingPeriod;
74
+ billingPeriod?: BillingPeriod;
75
75
  unitQuantity?: number;
76
76
  isTrialSubscription?: boolean;
77
77
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/node-server-sdk",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "Stigg server-side node SDK",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",