@stigg/js-client-sdk 0.50.1 → 0.52.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.
@@ -366,6 +366,7 @@ export declare type CreateOneProductInput = {
366
366
  };
367
367
  /** Currency */
368
368
  export declare enum Currency {
369
+ Ils = "ILS",
369
370
  Usd = "USD"
370
371
  }
371
372
  export declare type CursorPaging = {
@@ -599,10 +600,6 @@ export declare type DeleteOnePackageEntitlementInput = {
599
600
  /** The id of the record to delete. */
600
601
  id: Scalars['String'];
601
602
  };
602
- export declare type DeleteOnePlanInput = {
603
- /** The id of the record to delete. */
604
- id: Scalars['String'];
605
- };
606
603
  export declare type DeleteOnePriceInput = {
607
604
  /** The id of the record to delete. */
608
605
  id: Scalars['String'];
@@ -896,7 +893,7 @@ export declare type FeatureFilter = {
896
893
  };
897
894
  export declare type FeatureInput = {
898
895
  description?: InputMaybe<Scalars['String']>;
899
- displayName?: InputMaybe<Scalars['String']>;
896
+ displayName: Scalars['String'];
900
897
  environmentId: Scalars['String'];
901
898
  featureStatus?: InputMaybe<FeatureStatus>;
902
899
  featureType: FeatureType;
@@ -1309,6 +1306,7 @@ export declare enum PackageEntitlementSortFields {
1309
1306
  export declare type PackageEntitlementUpdateInput = {
1310
1307
  description?: InputMaybe<Scalars['String']>;
1311
1308
  hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
1309
+ hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
1312
1310
  monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>;
1313
1311
  order?: InputMaybe<Scalars['Float']>;
1314
1312
  resetPeriod?: InputMaybe<EntitlementResetPeriod>;
@@ -2192,6 +2190,14 @@ export declare type UpdateFeature = {
2192
2190
  refId?: InputMaybe<Scalars['String']>;
2193
2191
  updatedAt?: InputMaybe<Scalars['DateTime']>;
2194
2192
  };
2193
+ export declare type UpdateFeatureInput = {
2194
+ description?: InputMaybe<Scalars['String']>;
2195
+ displayName?: InputMaybe<Scalars['String']>;
2196
+ environmentId: Scalars['String'];
2197
+ featureUnits?: InputMaybe<Scalars['String']>;
2198
+ featureUnitsPlural?: InputMaybe<Scalars['String']>;
2199
+ refId: Scalars['String'];
2200
+ };
2195
2201
  export declare type UpdateHook = {
2196
2202
  createdAt?: InputMaybe<Scalars['DateTime']>;
2197
2203
  description?: InputMaybe<Scalars['String']>;
@@ -2368,6 +2374,11 @@ export declare enum WeeklyAccordingTo {
2368
2374
  export declare type WeeklyResetPeriodConfigInput = {
2369
2375
  accordingTo: WeeklyAccordingTo;
2370
2376
  };
2377
+ /** The widget type */
2378
+ export declare enum WidgetType {
2379
+ CustomerPortal = "CUSTOMER_PORTAL",
2380
+ Paywall = "PAYWALL"
2381
+ }
2371
2382
  export declare type ZuoraCredentialsInput = {
2372
2383
  baseUrl: Scalars['String'];
2373
2384
  clientId: Scalars['String'];
@@ -2794,6 +2805,7 @@ export declare type PackageEntitlementFragment = {
2794
2805
  hasUnlimitedUsage?: boolean | null | undefined;
2795
2806
  featureId: string;
2796
2807
  resetPeriod?: EntitlementResetPeriod | null | undefined;
2808
+ hiddenFromWidgets?: Array<WidgetType> | null | undefined;
2797
2809
  feature: {
2798
2810
  __typename?: 'Feature';
2799
2811
  featureType: FeatureType;
@@ -2821,7 +2833,6 @@ export declare type AddonFragment = {
2821
2833
  };
2822
2834
  export declare type PlanFragment = {
2823
2835
  __typename?: 'Plan';
2824
- id: string;
2825
2836
  refId: string;
2826
2837
  description?: string | null | undefined;
2827
2838
  displayName: string;
@@ -2836,7 +2847,6 @@ export declare type PlanFragment = {
2836
2847
  };
2837
2848
  basePlan?: {
2838
2849
  __typename?: 'Plan';
2839
- id: string;
2840
2850
  refId: string;
2841
2851
  displayName: string;
2842
2852
  } | null | undefined;
@@ -2863,9 +2873,12 @@ export declare type GetPaywallQueryVariables = Exact<{
2863
2873
  }>;
2864
2874
  export declare type GetPaywallQuery = {
2865
2875
  __typename?: 'Query';
2866
- getPaywall: Array<{
2867
- __typename?: 'Plan';
2868
- } & PlanFragment>;
2876
+ paywall: {
2877
+ __typename?: 'Paywall';
2878
+ plans: Array<{
2879
+ __typename?: 'Plan';
2880
+ } & PlanFragment>;
2881
+ };
2869
2882
  };
2870
2883
  export declare type SdkConfigurationQueryVariables = Exact<{
2871
2884
  [key: string]: never;