@stigg/js-client-sdk 0.28.1 → 0.29.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.
@@ -518,6 +518,7 @@ export declare enum ErrorCode {
518
518
  PlansCircularDependencyError = "PlansCircularDependencyError",
519
519
  PriceNotFound = "PriceNotFound",
520
520
  RateLimitExceeded = "RateLimitExceeded",
521
+ SubscriptionAlreadyCanceledOrExpired = "SubscriptionAlreadyCanceledOrExpired",
521
522
  SubscriptionNotFound = "SubscriptionNotFound",
522
523
  TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
523
524
  UnPublishedPackage = "UnPublishedPackage",
@@ -1357,6 +1358,7 @@ export declare type SubscriptionInput = {
1357
1358
  billingId?: InputMaybe<Scalars['String']>;
1358
1359
  billingPeriod?: InputMaybe<BillingPeriod>;
1359
1360
  crmId?: InputMaybe<Scalars['String']>;
1361
+ currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
1360
1362
  customerId: Scalars['String'];
1361
1363
  endDate?: InputMaybe<Scalars['DateTime']>;
1362
1364
  environmentId: Scalars['String'];
@@ -1707,6 +1709,7 @@ export declare type SubscriptionFragment = {
1707
1709
  endDate?: any | null | undefined;
1708
1710
  status: SubscriptionStatus;
1709
1711
  refId: string;
1712
+ currentBillingPeriodEnd?: any | null | undefined;
1710
1713
  prices?: Array<{
1711
1714
  __typename?: 'SubscriptionPrice';
1712
1715
  usageLimit?: number | null | undefined;