@stigg/api-client-js 0.357.0 → 0.359.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/api-client-js",
3
- "version": "0.357.0",
3
+ "version": "0.359.0",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
@@ -30,6 +30,7 @@ export declare type Scalars = {
30
30
  /** DenyReason of get access policy */
31
31
  export declare enum AccessDeniedReason {
32
32
  CustomerNotFound = "CustomerNotFound",
33
+ CustomerResourceNotFound = "CustomerResourceNotFound",
33
34
  FeatureNotFound = "FeatureNotFound",
34
35
  NoActiveSubscription = "NoActiveSubscription",
35
36
  NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
@@ -793,6 +794,7 @@ export declare type EntitlementCheckRequested = {
793
794
  environmentId?: InputMaybe<Scalars['String']>;
794
795
  featureId: Scalars['String'];
795
796
  requestedUsage?: InputMaybe<Scalars['Float']>;
797
+ resourceId?: InputMaybe<Scalars['String']>;
796
798
  };
797
799
  export declare type EntitlementCheckResult = {
798
800
  accessDeniedReason?: InputMaybe<AccessDeniedReason>;
@@ -1163,6 +1165,7 @@ export declare type FetchEntitlementQuery = {
1163
1165
  environmentId?: InputMaybe<Scalars['String']>;
1164
1166
  featureId: Scalars['String'];
1165
1167
  options?: InputMaybe<EntitlementOptions>;
1168
+ resourceId?: InputMaybe<Scalars['String']>;
1166
1169
  };
1167
1170
  export declare type FetchEntitlementsQuery = {
1168
1171
  customerId: Scalars['String'];
@@ -2837,12 +2840,12 @@ export declare type AddonFragment = {
2837
2840
  description?: string | null;
2838
2841
  additionalMetaData?: any | null;
2839
2842
  pricingType?: PricingType | null;
2840
- entitlements?: Array<{
2843
+ entitlements?: Array<({
2841
2844
  __typename?: 'PackageEntitlement';
2842
- } & PackageEntitlementFragment> | null;
2843
- prices?: Array<{
2845
+ } & PackageEntitlementFragment)> | null;
2846
+ prices?: Array<({
2844
2847
  __typename?: 'Price';
2845
- } & PriceFragment> | null;
2848
+ } & PriceFragment)> | null;
2846
2849
  };
2847
2850
  export declare type PlanFragment = {
2848
2851
  __typename?: 'Plan';
@@ -2873,18 +2876,18 @@ export declare type PlanFragment = {
2873
2876
  refId: string;
2874
2877
  displayName: string;
2875
2878
  } | null;
2876
- entitlements?: Array<{
2879
+ entitlements?: Array<({
2877
2880
  __typename?: 'PackageEntitlement';
2878
- } & PackageEntitlementFragment> | null;
2879
- inheritedEntitlements?: Array<{
2881
+ } & PackageEntitlementFragment)> | null;
2882
+ inheritedEntitlements?: Array<({
2880
2883
  __typename?: 'PackageEntitlement';
2881
- } & PackageEntitlementFragment> | null;
2882
- compatibleAddons?: Array<{
2884
+ } & PackageEntitlementFragment)> | null;
2885
+ compatibleAddons?: Array<({
2883
2886
  __typename?: 'Addon';
2884
- } & AddonFragment> | null;
2885
- prices?: Array<{
2887
+ } & AddonFragment)> | null;
2888
+ prices?: Array<({
2886
2889
  __typename?: 'Price';
2887
- } & PriceFragment> | null;
2890
+ } & PriceFragment)> | null;
2888
2891
  defaultTrialConfig?: {
2889
2892
  __typename?: 'DefaultTrialConfig';
2890
2893
  duration: number;
@@ -2895,6 +2898,7 @@ export declare type SlimSubscriptionFragment = {
2895
2898
  __typename?: 'CustomerSubscription';
2896
2899
  id: string;
2897
2900
  refId: string;
2901
+ resourceId?: string | null;
2898
2902
  status: SubscriptionStatus;
2899
2903
  additionalMetaData?: any | null;
2900
2904
  billingId?: string | null;
@@ -2973,6 +2977,7 @@ export declare type SubscriptionFragment = {
2973
2977
  effectiveEndDate?: any | null;
2974
2978
  status: SubscriptionStatus;
2975
2979
  refId: string;
2980
+ resourceId?: string | null;
2976
2981
  currentBillingPeriodEnd?: any | null;
2977
2982
  additionalMetaData?: any | null;
2978
2983
  billingId?: string | null;
@@ -2995,20 +3000,20 @@ export declare type SubscriptionFragment = {
2995
3000
  totalPrice?: ({
2996
3001
  __typename?: 'CustomerSubscriptionTotalPrice';
2997
3002
  } & TotalPriceFragment) | null;
2998
- plan: {
3003
+ plan: ({
2999
3004
  __typename?: 'Plan';
3000
- } & PlanFragment;
3005
+ } & PlanFragment);
3001
3006
  addons?: Array<{
3002
3007
  __typename?: 'SubscriptionAddon';
3003
3008
  id: string;
3004
3009
  quantity: number;
3005
- addon: {
3010
+ addon: ({
3006
3011
  __typename?: 'Addon';
3007
- } & AddonFragment;
3012
+ } & AddonFragment);
3008
3013
  }> | null;
3009
- scheduledUpdates?: Array<{
3014
+ scheduledUpdates?: Array<({
3010
3015
  __typename?: 'SubscriptionScheduledUpdate';
3011
- } & SubscriptionScheduledUpdateDataFragment> | null;
3016
+ } & SubscriptionScheduledUpdateDataFragment)> | null;
3012
3017
  };
3013
3018
  export declare type PromotionalEntitlementFragment = {
3014
3019
  __typename?: 'PromotionalEntitlement';
@@ -3031,20 +3036,23 @@ export declare type PromotionalEntitlementFragment = {
3031
3036
  additionalMetaData?: any | null;
3032
3037
  };
3033
3038
  };
3034
- export declare type CustomerFragment = {
3039
+ export declare type SlimCustomerFragment = {
3035
3040
  __typename?: 'Customer';
3036
3041
  id: string;
3037
3042
  name?: string | null;
3038
3043
  email?: string | null;
3039
3044
  createdAt?: any | null;
3040
3045
  updatedAt: any;
3041
- hasPaymentMethod: boolean;
3042
3046
  refId: string;
3043
3047
  billingId?: string | null;
3048
+ additionalMetaData?: any | null;
3049
+ };
3050
+ export declare type CustomerFragment = ({
3051
+ __typename?: 'Customer';
3052
+ hasPaymentMethod: boolean;
3044
3053
  defaultPaymentExpirationMonth?: number | null;
3045
3054
  defaultPaymentExpirationYear?: number | null;
3046
3055
  defaultPaymentMethodLast4Digits?: string | null;
3047
- additionalMetaData?: any | null;
3048
3056
  trialedPlans?: Array<{
3049
3057
  __typename?: 'TrialedPlan';
3050
3058
  productId?: string | null;
@@ -3068,13 +3076,13 @@ export declare type CustomerFragment = {
3068
3076
  productRefId?: string | null;
3069
3077
  eligible: boolean;
3070
3078
  }> | null;
3071
- promotionalEntitlements: Array<{
3079
+ promotionalEntitlements: Array<({
3072
3080
  __typename?: 'PromotionalEntitlement';
3073
- } & PromotionalEntitlementFragment>;
3074
- subscriptions?: Array<{
3081
+ } & PromotionalEntitlementFragment)>;
3082
+ subscriptions?: Array<({
3075
3083
  __typename?: 'CustomerSubscription';
3076
- } & SubscriptionFragment> | null;
3077
- };
3084
+ } & SubscriptionFragment)> | null;
3085
+ } & SlimCustomerFragment);
3078
3086
  export declare type SubscriptionPreviewFragment = {
3079
3087
  __typename?: 'SubscriptionPreview';
3080
3088
  subTotal: {
@@ -3142,12 +3150,12 @@ export declare type FeatureFragment = {
3142
3150
  displayName: string;
3143
3151
  refId: string;
3144
3152
  };
3145
- declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ = {
3153
+ declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ = ({
3146
3154
  __typename: 'MonthlyResetPeriodConfig';
3147
- } & MonthlyResetPeriodConfigFragment;
3148
- declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ = {
3155
+ } & MonthlyResetPeriodConfigFragment);
3156
+ declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ = ({
3149
3157
  __typename: 'WeeklyResetPeriodConfig';
3150
- } & WeeklyResetPeriodConfigFragment;
3158
+ } & WeeklyResetPeriodConfigFragment);
3151
3159
  export declare type ResetPeriodConfigurationFragment = ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ | ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_;
3152
3160
  export declare type MonthlyResetPeriodConfigFragment = {
3153
3161
  __typename?: 'MonthlyResetPeriodConfig';
@@ -3205,12 +3213,12 @@ export declare type PaywallAddonFragment = {
3205
3213
  description?: string | null;
3206
3214
  additionalMetaData?: any | null;
3207
3215
  pricingType?: PricingType | null;
3208
- entitlements?: Array<{
3216
+ entitlements?: Array<({
3209
3217
  __typename?: 'PackageEntitlement';
3210
- } & PaywallPackageEntitlementFragment> | null;
3211
- prices?: Array<{
3218
+ } & PaywallPackageEntitlementFragment)> | null;
3219
+ prices?: Array<({
3212
3220
  __typename?: 'Price';
3213
- } & PriceFragment> | null;
3221
+ } & PriceFragment)> | null;
3214
3222
  };
3215
3223
  export declare type PaywallPlanFragment = {
3216
3224
  __typename?: 'Plan';
@@ -3241,23 +3249,23 @@ export declare type PaywallPlanFragment = {
3241
3249
  refId: string;
3242
3250
  displayName: string;
3243
3251
  } | null;
3244
- entitlements?: Array<{
3252
+ entitlements?: Array<({
3245
3253
  __typename?: 'PackageEntitlement';
3246
- } & PaywallPackageEntitlementFragment> | null;
3247
- inheritedEntitlements?: Array<{
3254
+ } & PaywallPackageEntitlementFragment)> | null;
3255
+ inheritedEntitlements?: Array<({
3248
3256
  __typename?: 'PackageEntitlement';
3249
- } & PaywallPackageEntitlementFragment> | null;
3250
- prices?: Array<{
3257
+ } & PaywallPackageEntitlementFragment)> | null;
3258
+ prices?: Array<({
3251
3259
  __typename?: 'Price';
3252
- } & PriceFragment> | null;
3260
+ } & PriceFragment)> | null;
3253
3261
  defaultTrialConfig?: {
3254
3262
  __typename?: 'DefaultTrialConfig';
3255
3263
  duration: number;
3256
3264
  units: TrialPeriodUnits;
3257
3265
  } | null;
3258
- compatibleAddons?: Array<{
3266
+ compatibleAddons?: Array<({
3259
3267
  __typename?: 'Addon';
3260
- } & PaywallAddonFragment> | null;
3268
+ } & PaywallAddonFragment)> | null;
3261
3269
  };
3262
3270
  export declare type TypographyConfigurationFragment = {
3263
3271
  __typename?: 'TypographyConfiguration';
@@ -3312,9 +3320,9 @@ export declare type ProvisionCustomerMutation = {
3312
3320
  provisionCustomer: {
3313
3321
  __typename?: 'ProvisionedCustomer';
3314
3322
  subscriptionDecisionStrategy: SubscriptionDecisionStrategy;
3315
- customer: {
3323
+ customer: ({
3316
3324
  __typename?: 'Customer';
3317
- } & CustomerFragment;
3325
+ } & SlimCustomerFragment);
3318
3326
  subscription?: ({
3319
3327
  __typename?: 'CustomerSubscription';
3320
3328
  } & SlimSubscriptionFragment) | null;
@@ -3325,25 +3333,25 @@ export declare type ImportCustomerMutationVariables = Exact<{
3325
3333
  }>;
3326
3334
  export declare type ImportCustomerMutation = {
3327
3335
  __typename?: 'Mutation';
3328
- importCustomer: {
3336
+ importCustomer: ({
3329
3337
  __typename?: 'Customer';
3330
- } & CustomerFragment;
3338
+ } & CustomerFragment);
3331
3339
  };
3332
3340
  export declare type UpdateCustomerMutationVariables = Exact<{
3333
3341
  input: UpdateCustomerInput;
3334
3342
  }>;
3335
3343
  export declare type UpdateCustomerMutation = {
3336
3344
  __typename?: 'Mutation';
3337
- updateCustomer: {
3345
+ updateCustomer: ({
3338
3346
  __typename?: 'Customer';
3339
- } & CustomerFragment;
3347
+ } & CustomerFragment);
3340
3348
  };
3341
3349
  export declare type ProvisionSubscriptionMutationVariables = Exact<{
3342
3350
  input: ProvisionSubscriptionInput;
3343
3351
  }>;
3344
3352
  export declare type ProvisionSubscriptionMutation = {
3345
3353
  __typename?: 'Mutation';
3346
- provisionSubscriptionV2: {
3354
+ provisionSubscription: {
3347
3355
  __typename?: 'ProvisionSubscriptionResult';
3348
3356
  checkoutUrl?: string | null;
3349
3357
  status: ProvisionSubscriptionStatus;
@@ -3357,18 +3365,18 @@ export declare type UpdateSubscriptionMutationVariables = Exact<{
3357
3365
  }>;
3358
3366
  export declare type UpdateSubscriptionMutation = {
3359
3367
  __typename?: 'Mutation';
3360
- updateSubscription: {
3368
+ updateSubscription: ({
3361
3369
  __typename?: 'CustomerSubscription';
3362
- } & SlimSubscriptionFragment;
3370
+ } & SlimSubscriptionFragment);
3363
3371
  };
3364
3372
  export declare type CancelSubscriptionMutationVariables = Exact<{
3365
3373
  input: SubscriptionCancellationInput;
3366
3374
  }>;
3367
3375
  export declare type CancelSubscriptionMutation = {
3368
3376
  __typename?: 'Mutation';
3369
- cancelSubscription: {
3377
+ cancelSubscription: ({
3370
3378
  __typename?: 'CustomerSubscription';
3371
- } & SlimSubscriptionFragment;
3379
+ } & SlimSubscriptionFragment);
3372
3380
  };
3373
3381
  export declare type InitiateCheckoutMutationVariables = Exact<{
3374
3382
  input: InitiateCheckoutInput;
@@ -3386,18 +3394,18 @@ export declare type EstimateSubscriptionMutationVariables = Exact<{
3386
3394
  }>;
3387
3395
  export declare type EstimateSubscriptionMutation = {
3388
3396
  __typename?: 'Mutation';
3389
- estimateSubscription: {
3397
+ estimateSubscription: ({
3390
3398
  __typename?: 'SubscriptionPreview';
3391
- } & SubscriptionPreviewFragment;
3399
+ } & SubscriptionPreviewFragment);
3392
3400
  };
3393
3401
  export declare type EstimateSubscriptionUpdateMutationVariables = Exact<{
3394
3402
  input: EstimateSubscriptionUpdateInput;
3395
3403
  }>;
3396
3404
  export declare type EstimateSubscriptionUpdateMutation = {
3397
3405
  __typename?: 'Mutation';
3398
- estimateSubscriptionUpdate: {
3406
+ estimateSubscriptionUpdate: ({
3399
3407
  __typename?: 'SubscriptionPreview';
3400
- } & SubscriptionPreviewFragment;
3408
+ } & SubscriptionPreviewFragment);
3401
3409
  };
3402
3410
  export declare type ReportUsageMutationVariables = Exact<{
3403
3411
  input: UsageMeasurementCreateInput;
@@ -3407,8 +3415,18 @@ export declare type ReportUsageMutation = {
3407
3415
  createUsageMeasurement: {
3408
3416
  __typename?: 'UsageMeasurementWithCurrentUsage';
3409
3417
  id: string;
3418
+ currentUsage?: number | null;
3419
+ nextResetDate?: any | null;
3420
+ timestamp: any;
3410
3421
  };
3411
3422
  };
3423
+ export declare type ReportEntitlementCheckRequestedMutationVariables = Exact<{
3424
+ entitlementCheckRequested: EntitlementCheckRequested;
3425
+ }>;
3426
+ export declare type ReportEntitlementCheckRequestedMutation = {
3427
+ __typename?: 'Mutation';
3428
+ reportEntitlementCheckRequested: boolean;
3429
+ };
3412
3430
  export declare type GetCustomerByIdQueryVariables = Exact<{
3413
3431
  input: GetCustomerByRefIdInput;
3414
3432
  }>;
@@ -3427,9 +3445,9 @@ export declare type GetCouponsQuery = {
3427
3445
  __typename?: 'CouponConnection';
3428
3446
  edges: Array<{
3429
3447
  __typename?: 'CouponEdge';
3430
- node: {
3448
+ node: ({
3431
3449
  __typename?: 'Coupon';
3432
- } & CouponFragment;
3450
+ } & CouponFragment);
3433
3451
  }>;
3434
3452
  };
3435
3453
  };
@@ -3440,9 +3458,9 @@ export declare type GetPaywallQuery = {
3440
3458
  __typename?: 'Query';
3441
3459
  paywall: {
3442
3460
  __typename?: 'Paywall';
3443
- plans: Array<{
3461
+ plans: Array<({
3444
3462
  __typename?: 'Plan';
3445
- } & PlanFragment>;
3463
+ } & PlanFragment)>;
3446
3464
  configuration?: ({
3447
3465
  __typename?: 'PaywallConfiguration';
3448
3466
  } & PaywallConfigurationFragment) | null;
@@ -3456,22 +3474,23 @@ export declare type GetEntitlementsQueryVariables = Exact<{
3456
3474
  }>;
3457
3475
  export declare type GetEntitlementsQuery = {
3458
3476
  __typename?: 'Query';
3459
- entitlements: Array<{
3477
+ entitlements: Array<({
3460
3478
  __typename?: 'Entitlement';
3461
- } & EntitlementFragment>;
3479
+ } & EntitlementFragment)>;
3462
3480
  };
3463
3481
  export declare type GetEntitlementQueryVariables = Exact<{
3464
3482
  query: FetchEntitlementQuery;
3465
3483
  }>;
3466
3484
  export declare type GetEntitlementQuery = {
3467
3485
  __typename?: 'Query';
3468
- entitlement: {
3486
+ entitlement: ({
3469
3487
  __typename?: 'Entitlement';
3470
- } & EntitlementFragment;
3488
+ } & EntitlementFragment);
3471
3489
  };
3472
3490
  export declare const PriceFragmentDoc: import("graphql").DocumentNode;
3473
3491
  export declare const TotalPriceFragmentDoc: import("graphql").DocumentNode;
3474
3492
  export declare const SlimSubscriptionFragmentDoc: import("graphql").DocumentNode;
3493
+ export declare const SlimCustomerFragmentDoc: import("graphql").DocumentNode;
3475
3494
  export declare const CouponFragmentDoc: import("graphql").DocumentNode;
3476
3495
  export declare const PromotionalEntitlementFragmentDoc: import("graphql").DocumentNode;
3477
3496
  export declare const PackageEntitlementFragmentDoc: import("graphql").DocumentNode;
@@ -3503,6 +3522,7 @@ export declare const InitiateCheckoutDocument: import("graphql").DocumentNode;
3503
3522
  export declare const EstimateSubscriptionDocument: import("graphql").DocumentNode;
3504
3523
  export declare const EstimateSubscriptionUpdateDocument: import("graphql").DocumentNode;
3505
3524
  export declare const ReportUsageDocument: import("graphql").DocumentNode;
3525
+ export declare const ReportEntitlementCheckRequestedDocument: import("graphql").DocumentNode;
3506
3526
  export declare const GetCustomerByIdDocument: import("graphql").DocumentNode;
3507
3527
  export declare const GetCouponsDocument: import("graphql").DocumentNode;
3508
3528
  export declare const GetPaywallDocument: import("graphql").DocumentNode;
@@ -3510,21 +3530,22 @@ export declare const GetEntitlementsDocument: import("graphql").DocumentNode;
3510
3530
  export declare const GetEntitlementDocument: import("graphql").DocumentNode;
3511
3531
  export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
3512
3532
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
3513
- provisionCustomer(variables: ProvisionCustomerMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<ProvisionCustomerMutation>;
3514
- importCustomer(variables: ImportCustomerMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<ImportCustomerMutation>;
3515
- updateCustomer(variables: UpdateCustomerMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<UpdateCustomerMutation>;
3516
- provisionSubscription(variables: ProvisionSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<ProvisionSubscriptionMutation>;
3517
- updateSubscription(variables: UpdateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<UpdateSubscriptionMutation>;
3518
- cancelSubscription(variables: CancelSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<CancelSubscriptionMutation>;
3519
- initiateCheckout(variables: InitiateCheckoutMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<InitiateCheckoutMutation>;
3520
- estimateSubscription(variables: EstimateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<EstimateSubscriptionMutation>;
3521
- estimateSubscriptionUpdate(variables: EstimateSubscriptionUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<EstimateSubscriptionUpdateMutation>;
3522
- reportUsage(variables: ReportUsageMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<ReportUsageMutation>;
3523
- getCustomerById(variables: GetCustomerByIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<GetCustomerByIdQuery>;
3524
- getCoupons(variables?: GetCouponsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<GetCouponsQuery>;
3525
- getPaywall(variables: GetPaywallQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<GetPaywallQuery>;
3526
- getEntitlements(variables: GetEntitlementsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<GetEntitlementsQuery>;
3527
- getEntitlement(variables: GetEntitlementQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise<GetEntitlementQuery>;
3533
+ provisionCustomer(variables: ProvisionCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ProvisionCustomerMutation>;
3534
+ importCustomer(variables: ImportCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ImportCustomerMutation>;
3535
+ updateCustomer(variables: UpdateCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateCustomerMutation>;
3536
+ provisionSubscription(variables: ProvisionSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ProvisionSubscriptionMutation>;
3537
+ updateSubscription(variables: UpdateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateSubscriptionMutation>;
3538
+ cancelSubscription(variables: CancelSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CancelSubscriptionMutation>;
3539
+ initiateCheckout(variables: InitiateCheckoutMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<InitiateCheckoutMutation>;
3540
+ estimateSubscription(variables: EstimateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EstimateSubscriptionMutation>;
3541
+ estimateSubscriptionUpdate(variables: EstimateSubscriptionUpdateMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EstimateSubscriptionUpdateMutation>;
3542
+ reportUsage(variables: ReportUsageMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ReportUsageMutation>;
3543
+ reportEntitlementCheckRequested(variables: ReportEntitlementCheckRequestedMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ReportEntitlementCheckRequestedMutation>;
3544
+ getCustomerById(variables: GetCustomerByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCustomerByIdQuery>;
3545
+ getCoupons(variables?: GetCouponsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCouponsQuery>;
3546
+ getPaywall(variables: GetPaywallQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPaywallQuery>;
3547
+ getEntitlements(variables: GetEntitlementsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetEntitlementsQuery>;
3548
+ getEntitlement(variables: GetEntitlementQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetEntitlementQuery>;
3528
3549
  };
3529
3550
  export declare type Sdk = ReturnType<typeof getSdk>;
3530
3551
  export {};