@stigg/js-client-sdk 1.9.0 → 1.10.0

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.
@@ -0,0 +1 @@
1
+ export declare const SCHEDULED_UPDATES_FRAGMENT: import("graphql/language/ast").DocumentNode;
@@ -207,6 +207,7 @@ export declare enum ChangeType {
207
207
  }
208
208
  export declare type CheckoutOptions = {
209
209
  allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
210
+ allowTaxIdCollection?: InputMaybe<Scalars['Boolean']>;
210
211
  cancelUrl: Scalars['String'];
211
212
  collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
212
213
  referenceId?: InputMaybe<Scalars['String']>;
@@ -1163,6 +1164,7 @@ export declare type InitAddStripeCustomerPaymentMethodInput = {
1163
1164
  export declare type InitiateCheckoutInput = {
1164
1165
  addons?: InputMaybe<Array<SubscriptionAddonInput>>;
1165
1166
  allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
1167
+ allowTaxIdCollection?: InputMaybe<Scalars['Boolean']>;
1166
1168
  billingPeriod: BillingPeriod;
1167
1169
  cancelUrl: Scalars['String'];
1168
1170
  collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
@@ -2766,6 +2768,9 @@ export declare type CustomerPortalSubscriptionFragment = {
2766
2768
  addons: Array<{
2767
2769
  __typename?: 'CustomerPortalAddon';
2768
2770
  } & CustomerPortalSubscriptionAddonFragment>;
2771
+ scheduledUpdates?: Array<{
2772
+ __typename?: 'SubscriptionScheduledUpdate';
2773
+ } & SubscriptionScheduledUpdateDataFragment> | null | undefined;
2769
2774
  };
2770
2775
  export declare type CustomerPortalConfigurationFragment = {
2771
2776
  __typename?: 'CustomerPortalConfiguration';
@@ -3261,6 +3266,9 @@ export declare type SubscriptionFragment = {
3261
3266
  }> | null | undefined;
3262
3267
  };
3263
3268
  }> | null | undefined;
3269
+ scheduledUpdates?: Array<{
3270
+ __typename?: 'SubscriptionScheduledUpdate';
3271
+ } & SubscriptionScheduledUpdateDataFragment> | null | undefined;
3264
3272
  };
3265
3273
  export declare type PromotionalEntitlementFragment = {
3266
3274
  __typename?: 'PromotionalEntitlement';
@@ -3341,4 +3349,28 @@ export declare type PriceFragment = {
3341
3349
  displayName: string;
3342
3350
  } | null | undefined;
3343
3351
  };
3352
+ export declare type SubscriptionScheduledUpdateDataFragment = {
3353
+ __typename?: 'SubscriptionScheduledUpdate';
3354
+ subscriptionScheduleType: SubscriptionScheduleType;
3355
+ scheduleStatus: SubscriptionScheduleStatus;
3356
+ scheduledExecutionTime: any;
3357
+ targetPackage?: {
3358
+ __typename?: 'Plan';
3359
+ id: string;
3360
+ refId: string;
3361
+ displayName: string;
3362
+ } | null | undefined;
3363
+ scheduleVariables?: {
3364
+ __typename?: 'BillingPeriodChangeVariables';
3365
+ billingPeriod?: BillingPeriod | null | undefined;
3366
+ } | {
3367
+ __typename?: 'DowngradeChangeVariables';
3368
+ addonRefIds?: string | null | undefined;
3369
+ billingPeriod?: BillingPeriod | null | undefined;
3370
+ downgradePlanRefId: string;
3371
+ } | {
3372
+ __typename?: 'UnitAmountChangeVariables';
3373
+ newUnitAmount?: number | null | undefined;
3374
+ } | null | undefined;
3375
+ };
3344
3376
  export {};