@stigg/js-client-sdk 1.13.0 → 1.13.2

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.
@@ -2838,6 +2838,30 @@ export declare type CustomerPortalBillingInformationFragment = {
2838
2838
  defaultPaymentExpirationMonth?: number | null | undefined;
2839
2839
  defaultPaymentExpirationYear?: number | null | undefined;
2840
2840
  };
2841
+ export declare type CustomerPortalSubscriptionScheduledUpdateDataFragment = {
2842
+ __typename?: 'SubscriptionScheduledUpdate';
2843
+ subscriptionScheduleType: SubscriptionScheduleType;
2844
+ scheduleStatus: SubscriptionScheduleStatus;
2845
+ scheduledExecutionTime: any;
2846
+ targetPackage?: {
2847
+ __typename?: 'PackageDTO';
2848
+ id: string;
2849
+ refId: string;
2850
+ displayName: string;
2851
+ } | null | undefined;
2852
+ scheduleVariables?: {
2853
+ __typename?: 'BillingPeriodChangeVariables';
2854
+ billingPeriod?: BillingPeriod | null | undefined;
2855
+ } | {
2856
+ __typename?: 'DowngradeChangeVariables';
2857
+ addonRefIds?: string | null | undefined;
2858
+ billingPeriod?: BillingPeriod | null | undefined;
2859
+ downgradePlanRefId: string;
2860
+ } | {
2861
+ __typename?: 'UnitAmountChangeVariables';
2862
+ newUnitAmount?: number | null | undefined;
2863
+ } | null | undefined;
2864
+ };
2841
2865
  export declare type CustomerPortalSubscriptionFragment = {
2842
2866
  __typename?: 'CustomerPortalSubscription';
2843
2867
  subscriptionId: string;
@@ -2885,6 +2909,9 @@ export declare type CustomerPortalSubscriptionFragment = {
2885
2909
  addons: Array<{
2886
2910
  __typename?: 'CustomerPortalAddon';
2887
2911
  } & CustomerPortalSubscriptionAddonFragment>;
2912
+ scheduledUpdates?: Array<{
2913
+ __typename?: 'SubscriptionScheduledUpdate';
2914
+ } & CustomerPortalSubscriptionScheduledUpdateDataFragment> | null | undefined;
2888
2915
  };
2889
2916
  export declare type CustomerPortalConfigurationFragment = {
2890
2917
  __typename?: 'CustomerPortalConfiguration';
@@ -1,4 +1,5 @@
1
1
  import { SourceType } from './api/generated/types';
2
+ import { EntitlementsFallback } from './models';
2
3
  import { LogConfiguration, LoggerService } from './services/loggerService';
3
4
  export declare const SDK_SOURCE_TYPE = SourceType.JsClientSdk;
4
5
  export declare const SDK_NAME = "js-client-sdk";
@@ -13,6 +14,7 @@ export declare type ClientConfiguration = {
13
14
  logConfiguration?: LogConfiguration;
14
15
  lazyLoad?: boolean;
15
16
  enableEdge?: boolean;
17
+ entitlementsFallback?: EntitlementsFallback;
16
18
  };
17
19
  export declare function validateConfiguration(configuration: ClientConfiguration, loggerService: LoggerService): void;
18
20
  export declare function getConfiguration(configuration: ClientConfiguration): Required<ClientConfiguration>;