@stigg/api-client-js 0.8.0 → 0.357.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 +1 -1
- package/src/generated/sdk.d.ts +80 -114
- package/src/generated/sdk.js +597 -577
- package/src/generated/sdk.js.map +1 -1
package/package.json
CHANGED
package/src/generated/sdk.d.ts
CHANGED
|
@@ -867,6 +867,7 @@ export declare enum ErrorCode {
|
|
|
867
867
|
CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
|
|
868
868
|
CustomerNoBillingId = "CustomerNoBillingId",
|
|
869
869
|
CustomerNotFound = "CustomerNotFound",
|
|
870
|
+
CustomerResourceNotFound = "CustomerResourceNotFound",
|
|
870
871
|
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError",
|
|
871
872
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived",
|
|
872
873
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
|
|
@@ -880,6 +881,7 @@ export declare enum ErrorCode {
|
|
|
880
881
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError",
|
|
881
882
|
FailedToImportCustomer = "FailedToImportCustomer",
|
|
882
883
|
FeatureNotFound = "FeatureNotFound",
|
|
884
|
+
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed",
|
|
883
885
|
IdentityForbidden = "IdentityForbidden",
|
|
884
886
|
ImportAlreadyInProgress = "ImportAlreadyInProgress",
|
|
885
887
|
InitStripePaymentMethodError = "InitStripePaymentMethodError",
|
|
@@ -1165,6 +1167,7 @@ export declare type FetchEntitlementQuery = {
|
|
|
1165
1167
|
export declare type FetchEntitlementsQuery = {
|
|
1166
1168
|
customerId: Scalars['String'];
|
|
1167
1169
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1170
|
+
resourceId?: InputMaybe<Scalars['String']>;
|
|
1168
1171
|
};
|
|
1169
1172
|
export declare type FontVariantInput = {
|
|
1170
1173
|
fontSize?: InputMaybe<Scalars['Float']>;
|
|
@@ -1185,9 +1188,11 @@ export declare type GetPackageByRefIdInput = {
|
|
|
1185
1188
|
versionNumber?: InputMaybe<Scalars['Float']>;
|
|
1186
1189
|
};
|
|
1187
1190
|
export declare type GetPaywallInput = {
|
|
1191
|
+
billingCountryCode?: InputMaybe<Scalars['String']>;
|
|
1188
1192
|
context?: InputMaybe<WidgetType>;
|
|
1189
1193
|
customerId?: InputMaybe<Scalars['String']>;
|
|
1190
1194
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1195
|
+
fetchAllCountriesPrices?: InputMaybe<Scalars['Boolean']>;
|
|
1191
1196
|
productId?: InputMaybe<Scalars['String']>;
|
|
1192
1197
|
};
|
|
1193
1198
|
export declare type GetWidgetConfigurationInput = {
|
|
@@ -1680,50 +1685,11 @@ export declare type PlanUpdateInput = {
|
|
|
1680
1685
|
parentPlanId?: InputMaybe<Scalars['String']>;
|
|
1681
1686
|
status?: InputMaybe<PackageStatus>;
|
|
1682
1687
|
};
|
|
1683
|
-
export declare type PriceFilter = {
|
|
1684
|
-
and?: InputMaybe<Array<PriceFilter>>;
|
|
1685
|
-
billingId?: InputMaybe<StringFieldComparison>;
|
|
1686
|
-
billingModel?: InputMaybe<BillingModelFilterComparison>;
|
|
1687
|
-
billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
|
|
1688
|
-
createdAt?: InputMaybe<DateFieldComparison>;
|
|
1689
|
-
id?: InputMaybe<StringFieldComparison>;
|
|
1690
|
-
or?: InputMaybe<Array<PriceFilter>>;
|
|
1691
|
-
package?: InputMaybe<PriceFilterPackageDtoFilter>;
|
|
1692
|
-
};
|
|
1693
|
-
export declare type PriceFilterPackageDtoFilter = {
|
|
1694
|
-
and?: InputMaybe<Array<PriceFilterPackageDtoFilter>>;
|
|
1695
|
-
billingId?: InputMaybe<StringFieldComparison>;
|
|
1696
|
-
createdAt?: InputMaybe<DateFieldComparison>;
|
|
1697
|
-
description?: InputMaybe<StringFieldComparison>;
|
|
1698
|
-
displayName?: InputMaybe<StringFieldComparison>;
|
|
1699
|
-
environmentId?: InputMaybe<StringFieldComparison>;
|
|
1700
|
-
id?: InputMaybe<StringFieldComparison>;
|
|
1701
|
-
isLatest?: InputMaybe<BooleanFieldComparison>;
|
|
1702
|
-
or?: InputMaybe<Array<PriceFilterPackageDtoFilter>>;
|
|
1703
|
-
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
1704
|
-
productId?: InputMaybe<StringFieldComparison>;
|
|
1705
|
-
refId?: InputMaybe<StringFieldComparison>;
|
|
1706
|
-
status?: InputMaybe<PackageStatusFilterComparison>;
|
|
1707
|
-
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
1708
|
-
versionNumber?: InputMaybe<IntFieldComparison>;
|
|
1709
|
-
};
|
|
1710
1688
|
export declare type PricePeriodInput = {
|
|
1711
1689
|
billingCountryCode?: InputMaybe<Scalars['String']>;
|
|
1712
1690
|
billingPeriod: BillingPeriod;
|
|
1713
1691
|
price: MoneyInputDto;
|
|
1714
1692
|
};
|
|
1715
|
-
export declare type PriceSort = {
|
|
1716
|
-
direction: SortDirection;
|
|
1717
|
-
field: PriceSortFields;
|
|
1718
|
-
nulls?: InputMaybe<SortNulls>;
|
|
1719
|
-
};
|
|
1720
|
-
export declare enum PriceSortFields {
|
|
1721
|
-
BillingId = "billingId",
|
|
1722
|
-
BillingModel = "billingModel",
|
|
1723
|
-
BillingPeriod = "billingPeriod",
|
|
1724
|
-
CreatedAt = "createdAt",
|
|
1725
|
-
Id = "id"
|
|
1726
|
-
}
|
|
1727
1693
|
export declare type PricingModelCreateInput = {
|
|
1728
1694
|
billingModel: BillingModel;
|
|
1729
1695
|
featureId?: InputMaybe<Scalars['String']>;
|
|
@@ -2871,12 +2837,12 @@ export declare type AddonFragment = {
|
|
|
2871
2837
|
description?: string | null;
|
|
2872
2838
|
additionalMetaData?: any | null;
|
|
2873
2839
|
pricingType?: PricingType | null;
|
|
2874
|
-
entitlements?: Array<
|
|
2840
|
+
entitlements?: Array<{
|
|
2875
2841
|
__typename?: 'PackageEntitlement';
|
|
2876
|
-
} & PackageEntitlementFragment
|
|
2877
|
-
prices?: Array<
|
|
2842
|
+
} & PackageEntitlementFragment> | null;
|
|
2843
|
+
prices?: Array<{
|
|
2878
2844
|
__typename?: 'Price';
|
|
2879
|
-
} & PriceFragment
|
|
2845
|
+
} & PriceFragment> | null;
|
|
2880
2846
|
};
|
|
2881
2847
|
export declare type PlanFragment = {
|
|
2882
2848
|
__typename?: 'Plan';
|
|
@@ -2907,18 +2873,18 @@ export declare type PlanFragment = {
|
|
|
2907
2873
|
refId: string;
|
|
2908
2874
|
displayName: string;
|
|
2909
2875
|
} | null;
|
|
2910
|
-
entitlements?: Array<
|
|
2876
|
+
entitlements?: Array<{
|
|
2911
2877
|
__typename?: 'PackageEntitlement';
|
|
2912
|
-
} & PackageEntitlementFragment
|
|
2913
|
-
inheritedEntitlements?: Array<
|
|
2878
|
+
} & PackageEntitlementFragment> | null;
|
|
2879
|
+
inheritedEntitlements?: Array<{
|
|
2914
2880
|
__typename?: 'PackageEntitlement';
|
|
2915
|
-
} & PackageEntitlementFragment
|
|
2916
|
-
compatibleAddons?: Array<
|
|
2881
|
+
} & PackageEntitlementFragment> | null;
|
|
2882
|
+
compatibleAddons?: Array<{
|
|
2917
2883
|
__typename?: 'Addon';
|
|
2918
|
-
} & AddonFragment
|
|
2919
|
-
prices?: Array<
|
|
2884
|
+
} & AddonFragment> | null;
|
|
2885
|
+
prices?: Array<{
|
|
2920
2886
|
__typename?: 'Price';
|
|
2921
|
-
} & PriceFragment
|
|
2887
|
+
} & PriceFragment> | null;
|
|
2922
2888
|
defaultTrialConfig?: {
|
|
2923
2889
|
__typename?: 'DefaultTrialConfig';
|
|
2924
2890
|
duration: number;
|
|
@@ -3029,20 +2995,20 @@ export declare type SubscriptionFragment = {
|
|
|
3029
2995
|
totalPrice?: ({
|
|
3030
2996
|
__typename?: 'CustomerSubscriptionTotalPrice';
|
|
3031
2997
|
} & TotalPriceFragment) | null;
|
|
3032
|
-
plan:
|
|
2998
|
+
plan: {
|
|
3033
2999
|
__typename?: 'Plan';
|
|
3034
|
-
} & PlanFragment
|
|
3000
|
+
} & PlanFragment;
|
|
3035
3001
|
addons?: Array<{
|
|
3036
3002
|
__typename?: 'SubscriptionAddon';
|
|
3037
3003
|
id: string;
|
|
3038
3004
|
quantity: number;
|
|
3039
|
-
addon:
|
|
3005
|
+
addon: {
|
|
3040
3006
|
__typename?: 'Addon';
|
|
3041
|
-
} & AddonFragment
|
|
3007
|
+
} & AddonFragment;
|
|
3042
3008
|
}> | null;
|
|
3043
|
-
scheduledUpdates?: Array<
|
|
3009
|
+
scheduledUpdates?: Array<{
|
|
3044
3010
|
__typename?: 'SubscriptionScheduledUpdate';
|
|
3045
|
-
} & SubscriptionScheduledUpdateDataFragment
|
|
3011
|
+
} & SubscriptionScheduledUpdateDataFragment> | null;
|
|
3046
3012
|
};
|
|
3047
3013
|
export declare type PromotionalEntitlementFragment = {
|
|
3048
3014
|
__typename?: 'PromotionalEntitlement';
|
|
@@ -3102,12 +3068,12 @@ export declare type CustomerFragment = {
|
|
|
3102
3068
|
productRefId?: string | null;
|
|
3103
3069
|
eligible: boolean;
|
|
3104
3070
|
}> | null;
|
|
3105
|
-
promotionalEntitlements: Array<
|
|
3071
|
+
promotionalEntitlements: Array<{
|
|
3106
3072
|
__typename?: 'PromotionalEntitlement';
|
|
3107
|
-
} & PromotionalEntitlementFragment
|
|
3108
|
-
subscriptions?: Array<
|
|
3073
|
+
} & PromotionalEntitlementFragment>;
|
|
3074
|
+
subscriptions?: Array<{
|
|
3109
3075
|
__typename?: 'CustomerSubscription';
|
|
3110
|
-
} & SubscriptionFragment
|
|
3076
|
+
} & SubscriptionFragment> | null;
|
|
3111
3077
|
};
|
|
3112
3078
|
export declare type SubscriptionPreviewFragment = {
|
|
3113
3079
|
__typename?: 'SubscriptionPreview';
|
|
@@ -3176,12 +3142,12 @@ export declare type FeatureFragment = {
|
|
|
3176
3142
|
displayName: string;
|
|
3177
3143
|
refId: string;
|
|
3178
3144
|
};
|
|
3179
|
-
declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ =
|
|
3145
|
+
declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ = {
|
|
3180
3146
|
__typename: 'MonthlyResetPeriodConfig';
|
|
3181
|
-
} & MonthlyResetPeriodConfigFragment
|
|
3182
|
-
declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ =
|
|
3147
|
+
} & MonthlyResetPeriodConfigFragment;
|
|
3148
|
+
declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ = {
|
|
3183
3149
|
__typename: 'WeeklyResetPeriodConfig';
|
|
3184
|
-
} & WeeklyResetPeriodConfigFragment
|
|
3150
|
+
} & WeeklyResetPeriodConfigFragment;
|
|
3185
3151
|
export declare type ResetPeriodConfigurationFragment = ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ | ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_;
|
|
3186
3152
|
export declare type MonthlyResetPeriodConfigFragment = {
|
|
3187
3153
|
__typename?: 'MonthlyResetPeriodConfig';
|
|
@@ -3239,12 +3205,12 @@ export declare type PaywallAddonFragment = {
|
|
|
3239
3205
|
description?: string | null;
|
|
3240
3206
|
additionalMetaData?: any | null;
|
|
3241
3207
|
pricingType?: PricingType | null;
|
|
3242
|
-
entitlements?: Array<
|
|
3208
|
+
entitlements?: Array<{
|
|
3243
3209
|
__typename?: 'PackageEntitlement';
|
|
3244
|
-
} & PaywallPackageEntitlementFragment
|
|
3245
|
-
prices?: Array<
|
|
3210
|
+
} & PaywallPackageEntitlementFragment> | null;
|
|
3211
|
+
prices?: Array<{
|
|
3246
3212
|
__typename?: 'Price';
|
|
3247
|
-
} & PriceFragment
|
|
3213
|
+
} & PriceFragment> | null;
|
|
3248
3214
|
};
|
|
3249
3215
|
export declare type PaywallPlanFragment = {
|
|
3250
3216
|
__typename?: 'Plan';
|
|
@@ -3275,23 +3241,23 @@ export declare type PaywallPlanFragment = {
|
|
|
3275
3241
|
refId: string;
|
|
3276
3242
|
displayName: string;
|
|
3277
3243
|
} | null;
|
|
3278
|
-
entitlements?: Array<
|
|
3244
|
+
entitlements?: Array<{
|
|
3279
3245
|
__typename?: 'PackageEntitlement';
|
|
3280
|
-
} & PaywallPackageEntitlementFragment
|
|
3281
|
-
inheritedEntitlements?: Array<
|
|
3246
|
+
} & PaywallPackageEntitlementFragment> | null;
|
|
3247
|
+
inheritedEntitlements?: Array<{
|
|
3282
3248
|
__typename?: 'PackageEntitlement';
|
|
3283
|
-
} & PaywallPackageEntitlementFragment
|
|
3284
|
-
prices?: Array<
|
|
3249
|
+
} & PaywallPackageEntitlementFragment> | null;
|
|
3250
|
+
prices?: Array<{
|
|
3285
3251
|
__typename?: 'Price';
|
|
3286
|
-
} & PriceFragment
|
|
3252
|
+
} & PriceFragment> | null;
|
|
3287
3253
|
defaultTrialConfig?: {
|
|
3288
3254
|
__typename?: 'DefaultTrialConfig';
|
|
3289
3255
|
duration: number;
|
|
3290
3256
|
units: TrialPeriodUnits;
|
|
3291
3257
|
} | null;
|
|
3292
|
-
compatibleAddons?: Array<
|
|
3258
|
+
compatibleAddons?: Array<{
|
|
3293
3259
|
__typename?: 'Addon';
|
|
3294
|
-
} & PaywallAddonFragment
|
|
3260
|
+
} & PaywallAddonFragment> | null;
|
|
3295
3261
|
};
|
|
3296
3262
|
export declare type TypographyConfigurationFragment = {
|
|
3297
3263
|
__typename?: 'TypographyConfiguration';
|
|
@@ -3346,9 +3312,9 @@ export declare type ProvisionCustomerMutation = {
|
|
|
3346
3312
|
provisionCustomer: {
|
|
3347
3313
|
__typename?: 'ProvisionedCustomer';
|
|
3348
3314
|
subscriptionDecisionStrategy: SubscriptionDecisionStrategy;
|
|
3349
|
-
customer:
|
|
3315
|
+
customer: {
|
|
3350
3316
|
__typename?: 'Customer';
|
|
3351
|
-
} & CustomerFragment
|
|
3317
|
+
} & CustomerFragment;
|
|
3352
3318
|
subscription?: ({
|
|
3353
3319
|
__typename?: 'CustomerSubscription';
|
|
3354
3320
|
} & SlimSubscriptionFragment) | null;
|
|
@@ -3359,18 +3325,18 @@ export declare type ImportCustomerMutationVariables = Exact<{
|
|
|
3359
3325
|
}>;
|
|
3360
3326
|
export declare type ImportCustomerMutation = {
|
|
3361
3327
|
__typename?: 'Mutation';
|
|
3362
|
-
importCustomer:
|
|
3328
|
+
importCustomer: {
|
|
3363
3329
|
__typename?: 'Customer';
|
|
3364
|
-
} & CustomerFragment
|
|
3330
|
+
} & CustomerFragment;
|
|
3365
3331
|
};
|
|
3366
3332
|
export declare type UpdateCustomerMutationVariables = Exact<{
|
|
3367
3333
|
input: UpdateCustomerInput;
|
|
3368
3334
|
}>;
|
|
3369
3335
|
export declare type UpdateCustomerMutation = {
|
|
3370
3336
|
__typename?: 'Mutation';
|
|
3371
|
-
updateCustomer:
|
|
3337
|
+
updateCustomer: {
|
|
3372
3338
|
__typename?: 'Customer';
|
|
3373
|
-
} & CustomerFragment
|
|
3339
|
+
} & CustomerFragment;
|
|
3374
3340
|
};
|
|
3375
3341
|
export declare type ProvisionSubscriptionMutationVariables = Exact<{
|
|
3376
3342
|
input: ProvisionSubscriptionInput;
|
|
@@ -3391,18 +3357,18 @@ export declare type UpdateSubscriptionMutationVariables = Exact<{
|
|
|
3391
3357
|
}>;
|
|
3392
3358
|
export declare type UpdateSubscriptionMutation = {
|
|
3393
3359
|
__typename?: 'Mutation';
|
|
3394
|
-
updateSubscription:
|
|
3360
|
+
updateSubscription: {
|
|
3395
3361
|
__typename?: 'CustomerSubscription';
|
|
3396
|
-
} & SlimSubscriptionFragment
|
|
3362
|
+
} & SlimSubscriptionFragment;
|
|
3397
3363
|
};
|
|
3398
3364
|
export declare type CancelSubscriptionMutationVariables = Exact<{
|
|
3399
3365
|
input: SubscriptionCancellationInput;
|
|
3400
3366
|
}>;
|
|
3401
3367
|
export declare type CancelSubscriptionMutation = {
|
|
3402
3368
|
__typename?: 'Mutation';
|
|
3403
|
-
cancelSubscription:
|
|
3369
|
+
cancelSubscription: {
|
|
3404
3370
|
__typename?: 'CustomerSubscription';
|
|
3405
|
-
} & SlimSubscriptionFragment
|
|
3371
|
+
} & SlimSubscriptionFragment;
|
|
3406
3372
|
};
|
|
3407
3373
|
export declare type InitiateCheckoutMutationVariables = Exact<{
|
|
3408
3374
|
input: InitiateCheckoutInput;
|
|
@@ -3420,18 +3386,18 @@ export declare type EstimateSubscriptionMutationVariables = Exact<{
|
|
|
3420
3386
|
}>;
|
|
3421
3387
|
export declare type EstimateSubscriptionMutation = {
|
|
3422
3388
|
__typename?: 'Mutation';
|
|
3423
|
-
estimateSubscription:
|
|
3389
|
+
estimateSubscription: {
|
|
3424
3390
|
__typename?: 'SubscriptionPreview';
|
|
3425
|
-
} & SubscriptionPreviewFragment
|
|
3391
|
+
} & SubscriptionPreviewFragment;
|
|
3426
3392
|
};
|
|
3427
3393
|
export declare type EstimateSubscriptionUpdateMutationVariables = Exact<{
|
|
3428
3394
|
input: EstimateSubscriptionUpdateInput;
|
|
3429
3395
|
}>;
|
|
3430
3396
|
export declare type EstimateSubscriptionUpdateMutation = {
|
|
3431
3397
|
__typename?: 'Mutation';
|
|
3432
|
-
estimateSubscriptionUpdate:
|
|
3398
|
+
estimateSubscriptionUpdate: {
|
|
3433
3399
|
__typename?: 'SubscriptionPreview';
|
|
3434
|
-
} & SubscriptionPreviewFragment
|
|
3400
|
+
} & SubscriptionPreviewFragment;
|
|
3435
3401
|
};
|
|
3436
3402
|
export declare type ReportUsageMutationVariables = Exact<{
|
|
3437
3403
|
input: UsageMeasurementCreateInput;
|
|
@@ -3461,9 +3427,9 @@ export declare type GetCouponsQuery = {
|
|
|
3461
3427
|
__typename?: 'CouponConnection';
|
|
3462
3428
|
edges: Array<{
|
|
3463
3429
|
__typename?: 'CouponEdge';
|
|
3464
|
-
node:
|
|
3430
|
+
node: {
|
|
3465
3431
|
__typename?: 'Coupon';
|
|
3466
|
-
} & CouponFragment
|
|
3432
|
+
} & CouponFragment;
|
|
3467
3433
|
}>;
|
|
3468
3434
|
};
|
|
3469
3435
|
};
|
|
@@ -3474,9 +3440,9 @@ export declare type GetPaywallQuery = {
|
|
|
3474
3440
|
__typename?: 'Query';
|
|
3475
3441
|
paywall: {
|
|
3476
3442
|
__typename?: 'Paywall';
|
|
3477
|
-
plans: Array<
|
|
3443
|
+
plans: Array<{
|
|
3478
3444
|
__typename?: 'Plan';
|
|
3479
|
-
} & PlanFragment
|
|
3445
|
+
} & PlanFragment>;
|
|
3480
3446
|
configuration?: ({
|
|
3481
3447
|
__typename?: 'PaywallConfiguration';
|
|
3482
3448
|
} & PaywallConfigurationFragment) | null;
|
|
@@ -3490,18 +3456,18 @@ export declare type GetEntitlementsQueryVariables = Exact<{
|
|
|
3490
3456
|
}>;
|
|
3491
3457
|
export declare type GetEntitlementsQuery = {
|
|
3492
3458
|
__typename?: 'Query';
|
|
3493
|
-
entitlements: Array<
|
|
3459
|
+
entitlements: Array<{
|
|
3494
3460
|
__typename?: 'Entitlement';
|
|
3495
|
-
} & EntitlementFragment
|
|
3461
|
+
} & EntitlementFragment>;
|
|
3496
3462
|
};
|
|
3497
3463
|
export declare type GetEntitlementQueryVariables = Exact<{
|
|
3498
3464
|
query: FetchEntitlementQuery;
|
|
3499
3465
|
}>;
|
|
3500
3466
|
export declare type GetEntitlementQuery = {
|
|
3501
3467
|
__typename?: 'Query';
|
|
3502
|
-
entitlement:
|
|
3468
|
+
entitlement: {
|
|
3503
3469
|
__typename?: 'Entitlement';
|
|
3504
|
-
} & EntitlementFragment
|
|
3470
|
+
} & EntitlementFragment;
|
|
3505
3471
|
};
|
|
3506
3472
|
export declare const PriceFragmentDoc: import("graphql").DocumentNode;
|
|
3507
3473
|
export declare const TotalPriceFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -3544,21 +3510,21 @@ export declare const GetEntitlementsDocument: import("graphql").DocumentNode;
|
|
|
3544
3510
|
export declare const GetEntitlementDocument: import("graphql").DocumentNode;
|
|
3545
3511
|
export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
3546
3512
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
3547
|
-
provisionCustomer(variables: ProvisionCustomerMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3548
|
-
importCustomer(variables: ImportCustomerMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3549
|
-
updateCustomer(variables: UpdateCustomerMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3550
|
-
provisionSubscription(variables: ProvisionSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3551
|
-
updateSubscription(variables: UpdateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3552
|
-
cancelSubscription(variables: CancelSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3553
|
-
initiateCheckout(variables: InitiateCheckoutMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3554
|
-
estimateSubscription(variables: EstimateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3555
|
-
estimateSubscriptionUpdate(variables: EstimateSubscriptionUpdateMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3556
|
-
reportUsage(variables: ReportUsageMutationVariables, requestHeaders?: Dom.RequestInit[
|
|
3557
|
-
getCustomerById(variables: GetCustomerByIdQueryVariables, requestHeaders?: Dom.RequestInit[
|
|
3558
|
-
getCoupons(variables?: GetCouponsQueryVariables, requestHeaders?: Dom.RequestInit[
|
|
3559
|
-
getPaywall(variables: GetPaywallQueryVariables, requestHeaders?: Dom.RequestInit[
|
|
3560
|
-
getEntitlements(variables: GetEntitlementsQueryVariables, requestHeaders?: Dom.RequestInit[
|
|
3561
|
-
getEntitlement(variables: GetEntitlementQueryVariables, requestHeaders?: Dom.RequestInit[
|
|
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>;
|
|
3562
3528
|
};
|
|
3563
3529
|
export declare type Sdk = ReturnType<typeof getSdk>;
|
|
3564
3530
|
export {};
|