@wix/stores 1.0.156 → 1.0.158
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": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.158",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/stores_collections": "1.0.
|
|
22
|
-
"@wix/stores_inventory": "1.0.
|
|
23
|
-
"@wix/stores_products": "1.0.
|
|
24
|
-
"@wix/stores_subscription-options": "1.0.
|
|
25
|
-
"@wix/stores_wishlist": "1.0.
|
|
21
|
+
"@wix/stores_collections": "1.0.21",
|
|
22
|
+
"@wix/stores_inventory": "1.0.23",
|
|
23
|
+
"@wix/stores_products": "1.0.29",
|
|
24
|
+
"@wix/stores_subscription-options": "1.0.18",
|
|
25
|
+
"@wix/stores_wishlist": "1.0.17"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"typescript": "^5.3.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "tsc -b tsconfig.json tsconfig.esm.json &&
|
|
35
|
+
"build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
|
|
36
|
+
"build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
|
|
36
37
|
"test": ":"
|
|
37
38
|
},
|
|
38
39
|
"wix": {
|
|
@@ -46,5 +47,5 @@
|
|
|
46
47
|
"fqdn": ""
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "edfcdcad639f38e0b50695f1463964eb4279210c5e197be25fc11afc"
|
|
50
51
|
}
|
|
@@ -1146,13 +1146,13 @@ interface VariantChanged {
|
|
|
1146
1146
|
/** List of variant fields that were changed. */
|
|
1147
1147
|
changedFields?: string[];
|
|
1148
1148
|
}
|
|
1149
|
-
interface Paging$
|
|
1149
|
+
interface Paging$1 {
|
|
1150
1150
|
/** Amount of items to load per page */
|
|
1151
1151
|
limit?: number | null;
|
|
1152
1152
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
1153
1153
|
offset?: number | null;
|
|
1154
1154
|
}
|
|
1155
|
-
interface PagingMetadata$
|
|
1155
|
+
interface PagingMetadata$1 {
|
|
1156
1156
|
/** Amount of items to load per page */
|
|
1157
1157
|
items?: number;
|
|
1158
1158
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
@@ -1258,7 +1258,7 @@ interface VariantData {
|
|
|
1258
1258
|
interface QueryProductVariantsResponse {
|
|
1259
1259
|
/** List of variants based on the specified filters and sorting. */
|
|
1260
1260
|
variants?: Variant[];
|
|
1261
|
-
metadata?: PagingMetadata$
|
|
1261
|
+
metadata?: PagingMetadata$1;
|
|
1262
1262
|
totalResults?: number;
|
|
1263
1263
|
}
|
|
1264
1264
|
interface QueryStoreVariantsResponse {
|
|
@@ -2926,7 +2926,7 @@ interface QueryProductVariantsOptions {
|
|
|
2926
2926
|
choices?: Record<string, string>;
|
|
2927
2927
|
/** List of variant IDs (not relevant when passing choices). */
|
|
2928
2928
|
variantIds?: string[];
|
|
2929
|
-
paging?: Paging$
|
|
2929
|
+
paging?: Paging$1;
|
|
2930
2930
|
/** Whether merchant specific data should be included in the response. Requires permissions to manage products. */
|
|
2931
2931
|
includeMerchantSpecificData?: boolean;
|
|
2932
2932
|
}
|
|
@@ -3592,34 +3592,6 @@ interface SubscriptionOptionInProduct {
|
|
|
3592
3592
|
*/
|
|
3593
3593
|
discount?: Discount;
|
|
3594
3594
|
}
|
|
3595
|
-
interface GetSubscriptionOptionsForProductResponse {
|
|
3596
|
-
/** Subscription options. */
|
|
3597
|
-
subscriptionOptions?: SubscriptionOptionInProduct[];
|
|
3598
|
-
}
|
|
3599
|
-
interface Paging$1 {
|
|
3600
|
-
/** Amount of items to load per page. */
|
|
3601
|
-
limit?: number | null;
|
|
3602
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
3603
|
-
offset?: number | null;
|
|
3604
|
-
}
|
|
3605
|
-
interface GetProductIdsForSubscriptionOptionResponse {
|
|
3606
|
-
/** IDs of products associated with the specified subscription option. */
|
|
3607
|
-
productIds?: string[];
|
|
3608
|
-
/** Paging metadata. */
|
|
3609
|
-
metadata?: PagingMetadata$1;
|
|
3610
|
-
/** Number of total results. */
|
|
3611
|
-
totalResults?: number;
|
|
3612
|
-
}
|
|
3613
|
-
interface PagingMetadata$1 {
|
|
3614
|
-
/** Amount of items to load per page. */
|
|
3615
|
-
items?: number;
|
|
3616
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
3617
|
-
offset?: number;
|
|
3618
|
-
}
|
|
3619
|
-
interface GetOneTimePurchasesStatusResponse {
|
|
3620
|
-
/** Whether the specified product is available for one-time purchase */
|
|
3621
|
-
allowed?: boolean;
|
|
3622
|
-
}
|
|
3623
3595
|
interface BulkCreateSubscriptionOptionsResponseNonNullableFields {
|
|
3624
3596
|
subscriptionOptions: {
|
|
3625
3597
|
subscriptionSettings?: {
|
|
@@ -3644,31 +3616,6 @@ interface BulkUpdateSubscriptionOptionsResponseNonNullableFields {
|
|
|
3644
3616
|
};
|
|
3645
3617
|
}[];
|
|
3646
3618
|
}
|
|
3647
|
-
interface GetSubscriptionOptionsForProductResponseNonNullableFields {
|
|
3648
|
-
subscriptionOptions: {
|
|
3649
|
-
_id: string;
|
|
3650
|
-
hidden: boolean;
|
|
3651
|
-
subscriptionSettings?: {
|
|
3652
|
-
frequency: SubscriptionFrequency;
|
|
3653
|
-
autoRenewal: boolean;
|
|
3654
|
-
};
|
|
3655
|
-
discount?: {
|
|
3656
|
-
type: DiscountType;
|
|
3657
|
-
value: number;
|
|
3658
|
-
};
|
|
3659
|
-
}[];
|
|
3660
|
-
}
|
|
3661
|
-
interface GetProductIdsForSubscriptionOptionResponseNonNullableFields {
|
|
3662
|
-
productIds: string[];
|
|
3663
|
-
metadata?: {
|
|
3664
|
-
items: number;
|
|
3665
|
-
offset: number;
|
|
3666
|
-
};
|
|
3667
|
-
totalResults: number;
|
|
3668
|
-
}
|
|
3669
|
-
interface GetOneTimePurchasesStatusResponseNonNullableFields {
|
|
3670
|
-
allowed: boolean;
|
|
3671
|
-
}
|
|
3672
3619
|
interface UpdateSubscriptionOption {
|
|
3673
3620
|
/** Subscription option ID (auto-generated upon subscription option creation). */
|
|
3674
3621
|
_id?: string | null;
|
|
@@ -3688,16 +3635,6 @@ interface AssignSubscriptionOptionsToProductOptions {
|
|
|
3688
3635
|
/** Ordered array of subscription options that will be assigned to the product. Pass an empty array to remove all subscription options from the product. */
|
|
3689
3636
|
assignedSubscriptionOptions?: SubscriptionOptionInProduct[];
|
|
3690
3637
|
}
|
|
3691
|
-
interface GetSubscriptionOptionsForProductOptions {
|
|
3692
|
-
/** Whether to include hidden subscription options in the results. */
|
|
3693
|
-
includeHiddenSubscriptionOptions?: boolean;
|
|
3694
|
-
}
|
|
3695
|
-
interface GetProductIdsForSubscriptionOptionOptions {
|
|
3696
|
-
/** Whether to include hidden products in the returned results. */
|
|
3697
|
-
includeHiddenProducts?: boolean;
|
|
3698
|
-
/** Optional pagination parameters */
|
|
3699
|
-
paging?: Paging$1;
|
|
3700
|
-
}
|
|
3701
3638
|
|
|
3702
3639
|
declare function createSubscriptionOption$1(httpClient: HttpClient): (subscriptionOption: SubscriptionOption) => Promise<SubscriptionOption & {
|
|
3703
3640
|
subscriptionSettings?: {
|
|
@@ -3725,19 +3662,6 @@ declare function bulkUpdateSubscriptionOptions$1(httpClient: HttpClient): (subsc
|
|
|
3725
3662
|
declare function bulkDeleteSubscriptionOptions$1(httpClient: HttpClient): (ids: string[]) => Promise<void>;
|
|
3726
3663
|
declare function assignSubscriptionOptionsToProduct$1(httpClient: HttpClient): (productId: string, options?: AssignSubscriptionOptionsToProductOptions) => Promise<void>;
|
|
3727
3664
|
declare function allowOneTimePurchases$1(httpClient: HttpClient): (productId: string, allowed: boolean | null) => Promise<void>;
|
|
3728
|
-
declare function getSubscriptionOption$1(httpClient: HttpClient): (_id: string) => Promise<SubscriptionOption & {
|
|
3729
|
-
subscriptionSettings?: {
|
|
3730
|
-
frequency: SubscriptionFrequency;
|
|
3731
|
-
autoRenewal: boolean;
|
|
3732
|
-
} | undefined;
|
|
3733
|
-
discount?: {
|
|
3734
|
-
type: DiscountType;
|
|
3735
|
-
value: number;
|
|
3736
|
-
} | undefined;
|
|
3737
|
-
}>;
|
|
3738
|
-
declare function getSubscriptionOptionsForProduct$1(httpClient: HttpClient): (productId: string, options?: GetSubscriptionOptionsForProductOptions) => Promise<GetSubscriptionOptionsForProductResponse & GetSubscriptionOptionsForProductResponseNonNullableFields>;
|
|
3739
|
-
declare function getProductIdsForSubscriptionOption$1(httpClient: HttpClient): (_id: string, options?: GetProductIdsForSubscriptionOptionOptions) => Promise<GetProductIdsForSubscriptionOptionResponse & GetProductIdsForSubscriptionOptionResponseNonNullableFields>;
|
|
3740
|
-
declare function getOneTimePurchasesStatus$1(httpClient: HttpClient): (productId: string) => Promise<GetOneTimePurchasesStatusResponse & GetOneTimePurchasesStatusResponseNonNullableFields>;
|
|
3741
3665
|
|
|
3742
3666
|
declare const createSubscriptionOption: BuildRESTFunction<typeof createSubscriptionOption$1>;
|
|
3743
3667
|
declare const updateSubscriptionOption: BuildRESTFunction<typeof updateSubscriptionOption$1>;
|
|
@@ -3747,10 +3671,6 @@ declare const bulkUpdateSubscriptionOptions: BuildRESTFunction<typeof bulkUpdate
|
|
|
3747
3671
|
declare const bulkDeleteSubscriptionOptions: BuildRESTFunction<typeof bulkDeleteSubscriptionOptions$1>;
|
|
3748
3672
|
declare const assignSubscriptionOptionsToProduct: BuildRESTFunction<typeof assignSubscriptionOptionsToProduct$1>;
|
|
3749
3673
|
declare const allowOneTimePurchases: BuildRESTFunction<typeof allowOneTimePurchases$1>;
|
|
3750
|
-
declare const getSubscriptionOption: BuildRESTFunction<typeof getSubscriptionOption$1>;
|
|
3751
|
-
declare const getSubscriptionOptionsForProduct: BuildRESTFunction<typeof getSubscriptionOptionsForProduct$1>;
|
|
3752
|
-
declare const getProductIdsForSubscriptionOption: BuildRESTFunction<typeof getProductIdsForSubscriptionOption$1>;
|
|
3753
|
-
declare const getOneTimePurchasesStatus: BuildRESTFunction<typeof getOneTimePurchasesStatus$1>;
|
|
3754
3674
|
|
|
3755
3675
|
declare const context$1_allowOneTimePurchases: typeof allowOneTimePurchases;
|
|
3756
3676
|
declare const context$1_assignSubscriptionOptionsToProduct: typeof assignSubscriptionOptionsToProduct;
|
|
@@ -3759,13 +3679,9 @@ declare const context$1_bulkDeleteSubscriptionOptions: typeof bulkDeleteSubscrip
|
|
|
3759
3679
|
declare const context$1_bulkUpdateSubscriptionOptions: typeof bulkUpdateSubscriptionOptions;
|
|
3760
3680
|
declare const context$1_createSubscriptionOption: typeof createSubscriptionOption;
|
|
3761
3681
|
declare const context$1_deleteSubscriptionOption: typeof deleteSubscriptionOption;
|
|
3762
|
-
declare const context$1_getOneTimePurchasesStatus: typeof getOneTimePurchasesStatus;
|
|
3763
|
-
declare const context$1_getProductIdsForSubscriptionOption: typeof getProductIdsForSubscriptionOption;
|
|
3764
|
-
declare const context$1_getSubscriptionOption: typeof getSubscriptionOption;
|
|
3765
|
-
declare const context$1_getSubscriptionOptionsForProduct: typeof getSubscriptionOptionsForProduct;
|
|
3766
3682
|
declare const context$1_updateSubscriptionOption: typeof updateSubscriptionOption;
|
|
3767
3683
|
declare namespace context$1 {
|
|
3768
|
-
export { context$1_allowOneTimePurchases as allowOneTimePurchases, context$1_assignSubscriptionOptionsToProduct as assignSubscriptionOptionsToProduct, context$1_bulkCreateSubscriptionOptions as bulkCreateSubscriptionOptions, context$1_bulkDeleteSubscriptionOptions as bulkDeleteSubscriptionOptions, context$1_bulkUpdateSubscriptionOptions as bulkUpdateSubscriptionOptions, context$1_createSubscriptionOption as createSubscriptionOption, context$1_deleteSubscriptionOption as deleteSubscriptionOption, context$
|
|
3684
|
+
export { context$1_allowOneTimePurchases as allowOneTimePurchases, context$1_assignSubscriptionOptionsToProduct as assignSubscriptionOptionsToProduct, context$1_bulkCreateSubscriptionOptions as bulkCreateSubscriptionOptions, context$1_bulkDeleteSubscriptionOptions as bulkDeleteSubscriptionOptions, context$1_bulkUpdateSubscriptionOptions as bulkUpdateSubscriptionOptions, context$1_createSubscriptionOption as createSubscriptionOption, context$1_deleteSubscriptionOption as deleteSubscriptionOption, context$1_updateSubscriptionOption as updateSubscriptionOption };
|
|
3769
3685
|
}
|
|
3770
3686
|
|
|
3771
3687
|
interface InventoryItemV2 {
|
|
@@ -5407,7 +5407,7 @@ interface AllowOneTimePurchasesResponse {
|
|
|
5407
5407
|
}
|
|
5408
5408
|
interface GetSubscriptionOptionRequest {
|
|
5409
5409
|
/** Subscription option ID. */
|
|
5410
|
-
_id
|
|
5410
|
+
_id?: string;
|
|
5411
5411
|
}
|
|
5412
5412
|
interface GetSubscriptionOptionResponse {
|
|
5413
5413
|
/** Subscription option. */
|
|
@@ -5415,7 +5415,7 @@ interface GetSubscriptionOptionResponse {
|
|
|
5415
5415
|
}
|
|
5416
5416
|
interface GetSubscriptionOptionsForProductRequest {
|
|
5417
5417
|
/** Product ID. */
|
|
5418
|
-
productId
|
|
5418
|
+
productId?: string;
|
|
5419
5419
|
/** Whether to include hidden subscription options in the results. */
|
|
5420
5420
|
includeHiddenSubscriptionOptions?: boolean;
|
|
5421
5421
|
}
|
|
@@ -5508,7 +5508,7 @@ interface BulkCalculatePricesResponseItem {
|
|
|
5508
5508
|
}
|
|
5509
5509
|
interface GetProductIdsForSubscriptionOptionRequest {
|
|
5510
5510
|
/** Subscription option ID. */
|
|
5511
|
-
_id
|
|
5511
|
+
_id?: string;
|
|
5512
5512
|
/** Whether to include hidden products in the returned results. */
|
|
5513
5513
|
includeHiddenProducts?: boolean;
|
|
5514
5514
|
/** Optional pagination parameters */
|
|
@@ -5536,7 +5536,7 @@ interface PagingMetadata$1 {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
interface GetOneTimePurchasesStatusRequest {
|
|
5538
5538
|
/** Product ID. */
|
|
5539
|
-
productId
|
|
5539
|
+
productId?: string;
|
|
5540
5540
|
}
|
|
5541
5541
|
interface GetOneTimePurchasesStatusResponse {
|
|
5542
5542
|
/** Whether the specified product is available for one-time purchase */
|
|
@@ -5590,43 +5590,6 @@ interface BulkUpdateSubscriptionOptionsResponseNonNullableFields {
|
|
|
5590
5590
|
};
|
|
5591
5591
|
}[];
|
|
5592
5592
|
}
|
|
5593
|
-
interface GetSubscriptionOptionResponseNonNullableFields {
|
|
5594
|
-
subscriptionOption?: {
|
|
5595
|
-
subscriptionSettings?: {
|
|
5596
|
-
frequency: SubscriptionFrequency;
|
|
5597
|
-
autoRenewal: boolean;
|
|
5598
|
-
};
|
|
5599
|
-
discount?: {
|
|
5600
|
-
type: DiscountType;
|
|
5601
|
-
value: number;
|
|
5602
|
-
};
|
|
5603
|
-
};
|
|
5604
|
-
}
|
|
5605
|
-
interface GetSubscriptionOptionsForProductResponseNonNullableFields {
|
|
5606
|
-
subscriptionOptions: {
|
|
5607
|
-
_id: string;
|
|
5608
|
-
hidden: boolean;
|
|
5609
|
-
subscriptionSettings?: {
|
|
5610
|
-
frequency: SubscriptionFrequency;
|
|
5611
|
-
autoRenewal: boolean;
|
|
5612
|
-
};
|
|
5613
|
-
discount?: {
|
|
5614
|
-
type: DiscountType;
|
|
5615
|
-
value: number;
|
|
5616
|
-
};
|
|
5617
|
-
}[];
|
|
5618
|
-
}
|
|
5619
|
-
interface GetProductIdsForSubscriptionOptionResponseNonNullableFields {
|
|
5620
|
-
productIds: string[];
|
|
5621
|
-
metadata?: {
|
|
5622
|
-
items: number;
|
|
5623
|
-
offset: number;
|
|
5624
|
-
};
|
|
5625
|
-
totalResults: number;
|
|
5626
|
-
}
|
|
5627
|
-
interface GetOneTimePurchasesStatusResponseNonNullableFields {
|
|
5628
|
-
allowed: boolean;
|
|
5629
|
-
}
|
|
5630
5593
|
interface UpdateSubscriptionOption {
|
|
5631
5594
|
/** Subscription option ID (auto-generated upon subscription option creation). */
|
|
5632
5595
|
_id?: string | null;
|
|
@@ -5646,16 +5609,6 @@ interface AssignSubscriptionOptionsToProductOptions {
|
|
|
5646
5609
|
/** Ordered array of subscription options that will be assigned to the product. Pass an empty array to remove all subscription options from the product. */
|
|
5647
5610
|
assignedSubscriptionOptions?: SubscriptionOptionInProduct[];
|
|
5648
5611
|
}
|
|
5649
|
-
interface GetSubscriptionOptionsForProductOptions {
|
|
5650
|
-
/** Whether to include hidden subscription options in the results. */
|
|
5651
|
-
includeHiddenSubscriptionOptions?: boolean;
|
|
5652
|
-
}
|
|
5653
|
-
interface GetProductIdsForSubscriptionOptionOptions {
|
|
5654
|
-
/** Whether to include hidden products in the returned results. */
|
|
5655
|
-
includeHiddenProducts?: boolean;
|
|
5656
|
-
/** Optional pagination parameters */
|
|
5657
|
-
paging?: Paging$1;
|
|
5658
|
-
}
|
|
5659
5612
|
|
|
5660
5613
|
declare const __metadata$1: {
|
|
5661
5614
|
PACKAGE_NAME: string;
|
|
@@ -5686,19 +5639,6 @@ declare function bulkUpdateSubscriptionOptions(httpClient: HttpClient): (subscri
|
|
|
5686
5639
|
declare function bulkDeleteSubscriptionOptions(httpClient: HttpClient): (ids: string[]) => Promise<void>;
|
|
5687
5640
|
declare function assignSubscriptionOptionsToProduct(httpClient: HttpClient): (productId: string, options?: AssignSubscriptionOptionsToProductOptions) => Promise<void>;
|
|
5688
5641
|
declare function allowOneTimePurchases(httpClient: HttpClient): (productId: string, allowed: boolean | null) => Promise<void>;
|
|
5689
|
-
declare function getSubscriptionOption(httpClient: HttpClient): (_id: string) => Promise<SubscriptionOption & {
|
|
5690
|
-
subscriptionSettings?: {
|
|
5691
|
-
frequency: SubscriptionFrequency;
|
|
5692
|
-
autoRenewal: boolean;
|
|
5693
|
-
} | undefined;
|
|
5694
|
-
discount?: {
|
|
5695
|
-
type: DiscountType;
|
|
5696
|
-
value: number;
|
|
5697
|
-
} | undefined;
|
|
5698
|
-
}>;
|
|
5699
|
-
declare function getSubscriptionOptionsForProduct(httpClient: HttpClient): (productId: string, options?: GetSubscriptionOptionsForProductOptions) => Promise<GetSubscriptionOptionsForProductResponse & GetSubscriptionOptionsForProductResponseNonNullableFields>;
|
|
5700
|
-
declare function getProductIdsForSubscriptionOption(httpClient: HttpClient): (_id: string, options?: GetProductIdsForSubscriptionOptionOptions) => Promise<GetProductIdsForSubscriptionOptionResponse & GetProductIdsForSubscriptionOptionResponseNonNullableFields>;
|
|
5701
|
-
declare function getOneTimePurchasesStatus(httpClient: HttpClient): (productId: string) => Promise<GetOneTimePurchasesStatusResponse & GetOneTimePurchasesStatusResponseNonNullableFields>;
|
|
5702
5642
|
|
|
5703
5643
|
type index_d$1_AllowOneTimePurchasesRequest = AllowOneTimePurchasesRequest;
|
|
5704
5644
|
type index_d$1_AllowOneTimePurchasesResponse = AllowOneTimePurchasesResponse;
|
|
@@ -5731,18 +5671,12 @@ type index_d$1_DiscountType = DiscountType;
|
|
|
5731
5671
|
declare const index_d$1_DiscountType: typeof DiscountType;
|
|
5732
5672
|
type index_d$1_GetOneTimePurchasesStatusRequest = GetOneTimePurchasesStatusRequest;
|
|
5733
5673
|
type index_d$1_GetOneTimePurchasesStatusResponse = GetOneTimePurchasesStatusResponse;
|
|
5734
|
-
type index_d$1_GetOneTimePurchasesStatusResponseNonNullableFields = GetOneTimePurchasesStatusResponseNonNullableFields;
|
|
5735
|
-
type index_d$1_GetProductIdsForSubscriptionOptionOptions = GetProductIdsForSubscriptionOptionOptions;
|
|
5736
5674
|
type index_d$1_GetProductIdsForSubscriptionOptionRequest = GetProductIdsForSubscriptionOptionRequest;
|
|
5737
5675
|
type index_d$1_GetProductIdsForSubscriptionOptionResponse = GetProductIdsForSubscriptionOptionResponse;
|
|
5738
|
-
type index_d$1_GetProductIdsForSubscriptionOptionResponseNonNullableFields = GetProductIdsForSubscriptionOptionResponseNonNullableFields;
|
|
5739
5676
|
type index_d$1_GetSubscriptionOptionRequest = GetSubscriptionOptionRequest;
|
|
5740
5677
|
type index_d$1_GetSubscriptionOptionResponse = GetSubscriptionOptionResponse;
|
|
5741
|
-
type index_d$1_GetSubscriptionOptionResponseNonNullableFields = GetSubscriptionOptionResponseNonNullableFields;
|
|
5742
|
-
type index_d$1_GetSubscriptionOptionsForProductOptions = GetSubscriptionOptionsForProductOptions;
|
|
5743
5678
|
type index_d$1_GetSubscriptionOptionsForProductRequest = GetSubscriptionOptionsForProductRequest;
|
|
5744
5679
|
type index_d$1_GetSubscriptionOptionsForProductResponse = GetSubscriptionOptionsForProductResponse;
|
|
5745
|
-
type index_d$1_GetSubscriptionOptionsForProductResponseNonNullableFields = GetSubscriptionOptionsForProductResponseNonNullableFields;
|
|
5746
5680
|
type index_d$1_ListSubscriptionOptionsRequest = ListSubscriptionOptionsRequest;
|
|
5747
5681
|
type index_d$1_ListSubscriptionOptionsResponse = ListSubscriptionOptionsResponse;
|
|
5748
5682
|
type index_d$1_SubscriptionFrequency = SubscriptionFrequency;
|
|
@@ -5763,13 +5697,9 @@ declare const index_d$1_bulkDeleteSubscriptionOptions: typeof bulkDeleteSubscrip
|
|
|
5763
5697
|
declare const index_d$1_bulkUpdateSubscriptionOptions: typeof bulkUpdateSubscriptionOptions;
|
|
5764
5698
|
declare const index_d$1_createSubscriptionOption: typeof createSubscriptionOption;
|
|
5765
5699
|
declare const index_d$1_deleteSubscriptionOption: typeof deleteSubscriptionOption;
|
|
5766
|
-
declare const index_d$1_getOneTimePurchasesStatus: typeof getOneTimePurchasesStatus;
|
|
5767
|
-
declare const index_d$1_getProductIdsForSubscriptionOption: typeof getProductIdsForSubscriptionOption;
|
|
5768
|
-
declare const index_d$1_getSubscriptionOption: typeof getSubscriptionOption;
|
|
5769
|
-
declare const index_d$1_getSubscriptionOptionsForProduct: typeof getSubscriptionOptionsForProduct;
|
|
5770
5700
|
declare const index_d$1_updateSubscriptionOption: typeof updateSubscriptionOption;
|
|
5771
5701
|
declare namespace index_d$1 {
|
|
5772
|
-
export { type index_d$1_AllowOneTimePurchasesRequest as AllowOneTimePurchasesRequest, type index_d$1_AllowOneTimePurchasesResponse as AllowOneTimePurchasesResponse, type index_d$1_AssignSubscriptionOptionsToProductOptions as AssignSubscriptionOptionsToProductOptions, type index_d$1_AssignSubscriptionOptionsToProductRequest as AssignSubscriptionOptionsToProductRequest, type index_d$1_AssignSubscriptionOptionsToProductResponse as AssignSubscriptionOptionsToProductResponse, type index_d$1_BulkCalculatePricesRequest as BulkCalculatePricesRequest, type index_d$1_BulkCalculatePricesRequestItem as BulkCalculatePricesRequestItem, type index_d$1_BulkCalculatePricesRequestV2 as BulkCalculatePricesRequestV2, type index_d$1_BulkCalculatePricesResponse as BulkCalculatePricesResponse, type index_d$1_BulkCalculatePricesResponseItem as BulkCalculatePricesResponseItem, type index_d$1_BulkCalculatePricesResponseV2 as BulkCalculatePricesResponseV2, type index_d$1_BulkCreateSubscriptionOptionsRequest as BulkCreateSubscriptionOptionsRequest, type index_d$1_BulkCreateSubscriptionOptionsResponse as BulkCreateSubscriptionOptionsResponse, type index_d$1_BulkCreateSubscriptionOptionsResponseNonNullableFields as BulkCreateSubscriptionOptionsResponseNonNullableFields, type index_d$1_BulkDeleteSubscriptionOptionsRequest as BulkDeleteSubscriptionOptionsRequest, type index_d$1_BulkDeleteSubscriptionOptionsResponse as BulkDeleteSubscriptionOptionsResponse, type index_d$1_BulkUpdateSubscriptionOptionsRequest as BulkUpdateSubscriptionOptionsRequest, type index_d$1_BulkUpdateSubscriptionOptionsResponse as BulkUpdateSubscriptionOptionsResponse, type index_d$1_BulkUpdateSubscriptionOptionsResponseNonNullableFields as BulkUpdateSubscriptionOptionsResponseNonNullableFields, type index_d$1_CalculatePricesRequest as CalculatePricesRequest, type index_d$1_CalculatePricesResponse as CalculatePricesResponse, type index_d$1_CreateSubscriptionOptionRequest as CreateSubscriptionOptionRequest, type index_d$1_CreateSubscriptionOptionResponse as CreateSubscriptionOptionResponse, type index_d$1_CreateSubscriptionOptionResponseNonNullableFields as CreateSubscriptionOptionResponseNonNullableFields, type index_d$1_DeleteSubscriptionOptionRequest as DeleteSubscriptionOptionRequest, type index_d$1_DeleteSubscriptionOptionResponse as DeleteSubscriptionOptionResponse, type index_d$1_Discount as Discount, index_d$1_DiscountType as DiscountType, type index_d$1_GetOneTimePurchasesStatusRequest as GetOneTimePurchasesStatusRequest, type index_d$1_GetOneTimePurchasesStatusResponse as GetOneTimePurchasesStatusResponse, type index_d$
|
|
5702
|
+
export { type index_d$1_AllowOneTimePurchasesRequest as AllowOneTimePurchasesRequest, type index_d$1_AllowOneTimePurchasesResponse as AllowOneTimePurchasesResponse, type index_d$1_AssignSubscriptionOptionsToProductOptions as AssignSubscriptionOptionsToProductOptions, type index_d$1_AssignSubscriptionOptionsToProductRequest as AssignSubscriptionOptionsToProductRequest, type index_d$1_AssignSubscriptionOptionsToProductResponse as AssignSubscriptionOptionsToProductResponse, type index_d$1_BulkCalculatePricesRequest as BulkCalculatePricesRequest, type index_d$1_BulkCalculatePricesRequestItem as BulkCalculatePricesRequestItem, type index_d$1_BulkCalculatePricesRequestV2 as BulkCalculatePricesRequestV2, type index_d$1_BulkCalculatePricesResponse as BulkCalculatePricesResponse, type index_d$1_BulkCalculatePricesResponseItem as BulkCalculatePricesResponseItem, type index_d$1_BulkCalculatePricesResponseV2 as BulkCalculatePricesResponseV2, type index_d$1_BulkCreateSubscriptionOptionsRequest as BulkCreateSubscriptionOptionsRequest, type index_d$1_BulkCreateSubscriptionOptionsResponse as BulkCreateSubscriptionOptionsResponse, type index_d$1_BulkCreateSubscriptionOptionsResponseNonNullableFields as BulkCreateSubscriptionOptionsResponseNonNullableFields, type index_d$1_BulkDeleteSubscriptionOptionsRequest as BulkDeleteSubscriptionOptionsRequest, type index_d$1_BulkDeleteSubscriptionOptionsResponse as BulkDeleteSubscriptionOptionsResponse, type index_d$1_BulkUpdateSubscriptionOptionsRequest as BulkUpdateSubscriptionOptionsRequest, type index_d$1_BulkUpdateSubscriptionOptionsResponse as BulkUpdateSubscriptionOptionsResponse, type index_d$1_BulkUpdateSubscriptionOptionsResponseNonNullableFields as BulkUpdateSubscriptionOptionsResponseNonNullableFields, type index_d$1_CalculatePricesRequest as CalculatePricesRequest, type index_d$1_CalculatePricesResponse as CalculatePricesResponse, type index_d$1_CreateSubscriptionOptionRequest as CreateSubscriptionOptionRequest, type index_d$1_CreateSubscriptionOptionResponse as CreateSubscriptionOptionResponse, type index_d$1_CreateSubscriptionOptionResponseNonNullableFields as CreateSubscriptionOptionResponseNonNullableFields, type index_d$1_DeleteSubscriptionOptionRequest as DeleteSubscriptionOptionRequest, type index_d$1_DeleteSubscriptionOptionResponse as DeleteSubscriptionOptionResponse, type index_d$1_Discount as Discount, index_d$1_DiscountType as DiscountType, type index_d$1_GetOneTimePurchasesStatusRequest as GetOneTimePurchasesStatusRequest, type index_d$1_GetOneTimePurchasesStatusResponse as GetOneTimePurchasesStatusResponse, type index_d$1_GetProductIdsForSubscriptionOptionRequest as GetProductIdsForSubscriptionOptionRequest, type index_d$1_GetProductIdsForSubscriptionOptionResponse as GetProductIdsForSubscriptionOptionResponse, type index_d$1_GetSubscriptionOptionRequest as GetSubscriptionOptionRequest, type index_d$1_GetSubscriptionOptionResponse as GetSubscriptionOptionResponse, type index_d$1_GetSubscriptionOptionsForProductRequest as GetSubscriptionOptionsForProductRequest, type index_d$1_GetSubscriptionOptionsForProductResponse as GetSubscriptionOptionsForProductResponse, type index_d$1_ListSubscriptionOptionsRequest as ListSubscriptionOptionsRequest, type index_d$1_ListSubscriptionOptionsResponse as ListSubscriptionOptionsResponse, type Paging$1 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$1_SubscriptionFrequency as SubscriptionFrequency, type index_d$1_SubscriptionOption as SubscriptionOption, type index_d$1_SubscriptionOptionInProduct as SubscriptionOptionInProduct, type index_d$1_SubscriptionOptionPriceData as SubscriptionOptionPriceData, type index_d$1_SubscriptionOptionPrices as SubscriptionOptionPrices, type index_d$1_SubscriptionSettings as SubscriptionSettings, type index_d$1_UpdateSubscriptionOption as UpdateSubscriptionOption, type index_d$1_UpdateSubscriptionOptionRequest as UpdateSubscriptionOptionRequest, type index_d$1_UpdateSubscriptionOptionResponse as UpdateSubscriptionOptionResponse, type index_d$1_UpdateSubscriptionOptionResponseNonNullableFields as UpdateSubscriptionOptionResponseNonNullableFields, __metadata$1 as __metadata, index_d$1_allowOneTimePurchases as allowOneTimePurchases, index_d$1_assignSubscriptionOptionsToProduct as assignSubscriptionOptionsToProduct, index_d$1_bulkCreateSubscriptionOptions as bulkCreateSubscriptionOptions, index_d$1_bulkDeleteSubscriptionOptions as bulkDeleteSubscriptionOptions, index_d$1_bulkUpdateSubscriptionOptions as bulkUpdateSubscriptionOptions, index_d$1_createSubscriptionOption as createSubscriptionOption, index_d$1_deleteSubscriptionOption as deleteSubscriptionOption, index_d$1_updateSubscriptionOption as updateSubscriptionOption };
|
|
5773
5703
|
}
|
|
5774
5704
|
|
|
5775
5705
|
interface InventoryItemV2 {
|
|
@@ -1716,13 +1716,13 @@ interface V1DeleteProductPlatformizedRequest$1 {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
interface V1DeleteProductPlatformizedResponse$1 {
|
|
1718
1718
|
}
|
|
1719
|
-
interface Paging$
|
|
1719
|
+
interface Paging$3 {
|
|
1720
1720
|
/** Amount of items to load per page */
|
|
1721
1721
|
limit?: number | null;
|
|
1722
1722
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
1723
1723
|
offset?: number | null;
|
|
1724
1724
|
}
|
|
1725
|
-
interface PagingMetadata$
|
|
1725
|
+
interface PagingMetadata$3 {
|
|
1726
1726
|
/** Amount of items to load per page */
|
|
1727
1727
|
items?: number;
|
|
1728
1728
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
@@ -1858,14 +1858,14 @@ interface QueryProductVariantsRequest$1 {
|
|
|
1858
1858
|
choices?: Record<string, string>;
|
|
1859
1859
|
/** List of variant IDs (not relevant when passing choices). */
|
|
1860
1860
|
variantIds?: string[];
|
|
1861
|
-
paging?: Paging$
|
|
1861
|
+
paging?: Paging$3;
|
|
1862
1862
|
/** Whether merchant specific data should be included in the response. Requires permissions to manage products. */
|
|
1863
1863
|
includeMerchantSpecificData?: boolean;
|
|
1864
1864
|
}
|
|
1865
1865
|
interface QueryProductVariantsResponse$1 {
|
|
1866
1866
|
/** List of variants based on the specified filters and sorting. */
|
|
1867
1867
|
variants?: Variant$1[];
|
|
1868
|
-
metadata?: PagingMetadata$
|
|
1868
|
+
metadata?: PagingMetadata$3;
|
|
1869
1869
|
totalResults?: number;
|
|
1870
1870
|
}
|
|
1871
1871
|
interface QueryStoreVariantsRequest$1 {
|
|
@@ -4859,13 +4859,13 @@ interface V1DeleteProductPlatformizedRequest {
|
|
|
4859
4859
|
}
|
|
4860
4860
|
interface V1DeleteProductPlatformizedResponse {
|
|
4861
4861
|
}
|
|
4862
|
-
interface Paging$
|
|
4862
|
+
interface Paging$2 {
|
|
4863
4863
|
/** Amount of items to load per page */
|
|
4864
4864
|
limit?: number | null;
|
|
4865
4865
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
4866
4866
|
offset?: number | null;
|
|
4867
4867
|
}
|
|
4868
|
-
interface PagingMetadata$
|
|
4868
|
+
interface PagingMetadata$2 {
|
|
4869
4869
|
/** Amount of items to load per page */
|
|
4870
4870
|
items?: number;
|
|
4871
4871
|
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
@@ -5001,14 +5001,14 @@ interface QueryProductVariantsRequest {
|
|
|
5001
5001
|
choices?: Record<string, string>;
|
|
5002
5002
|
/** List of variant IDs (not relevant when passing choices). */
|
|
5003
5003
|
variantIds?: string[];
|
|
5004
|
-
paging?: Paging$
|
|
5004
|
+
paging?: Paging$2;
|
|
5005
5005
|
/** Whether merchant specific data should be included in the response. Requires permissions to manage products. */
|
|
5006
5006
|
includeMerchantSpecificData?: boolean;
|
|
5007
5007
|
}
|
|
5008
5008
|
interface QueryProductVariantsResponse {
|
|
5009
5009
|
/** List of variants based on the specified filters and sorting. */
|
|
5010
5010
|
variants?: Variant[];
|
|
5011
|
-
metadata?: PagingMetadata$
|
|
5011
|
+
metadata?: PagingMetadata$2;
|
|
5012
5012
|
totalResults?: number;
|
|
5013
5013
|
}
|
|
5014
5014
|
interface QueryStoreVariantsRequest {
|
|
@@ -7196,60 +7196,6 @@ interface AllowOneTimePurchasesRequest$1 {
|
|
|
7196
7196
|
}
|
|
7197
7197
|
interface AllowOneTimePurchasesResponse$1 {
|
|
7198
7198
|
}
|
|
7199
|
-
interface GetSubscriptionOptionRequest$1 {
|
|
7200
|
-
/** Subscription option ID. */
|
|
7201
|
-
id: string;
|
|
7202
|
-
}
|
|
7203
|
-
interface GetSubscriptionOptionResponse$1 {
|
|
7204
|
-
/** Subscription option. */
|
|
7205
|
-
subscriptionOption?: SubscriptionOption$1;
|
|
7206
|
-
}
|
|
7207
|
-
interface GetSubscriptionOptionsForProductRequest$1 {
|
|
7208
|
-
/** Product ID. */
|
|
7209
|
-
productId: string;
|
|
7210
|
-
/** Whether to include hidden subscription options in the results. */
|
|
7211
|
-
includeHiddenSubscriptionOptions?: boolean;
|
|
7212
|
-
}
|
|
7213
|
-
interface GetSubscriptionOptionsForProductResponse$1 {
|
|
7214
|
-
/** Subscription options. */
|
|
7215
|
-
subscriptionOptions?: SubscriptionOptionInProduct$1[];
|
|
7216
|
-
}
|
|
7217
|
-
interface GetProductIdsForSubscriptionOptionRequest$1 {
|
|
7218
|
-
/** Subscription option ID. */
|
|
7219
|
-
id: string;
|
|
7220
|
-
/** Whether to include hidden products in the returned results. */
|
|
7221
|
-
includeHiddenProducts?: boolean;
|
|
7222
|
-
/** Optional pagination parameters */
|
|
7223
|
-
paging?: Paging$3;
|
|
7224
|
-
}
|
|
7225
|
-
interface Paging$3 {
|
|
7226
|
-
/** Amount of items to load per page. */
|
|
7227
|
-
limit?: number | null;
|
|
7228
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
7229
|
-
offset?: number | null;
|
|
7230
|
-
}
|
|
7231
|
-
interface GetProductIdsForSubscriptionOptionResponse$1 {
|
|
7232
|
-
/** IDs of products associated with the specified subscription option. */
|
|
7233
|
-
productIds?: string[];
|
|
7234
|
-
/** Paging metadata. */
|
|
7235
|
-
metadata?: PagingMetadata$3;
|
|
7236
|
-
/** Number of total results. */
|
|
7237
|
-
totalResults?: number;
|
|
7238
|
-
}
|
|
7239
|
-
interface PagingMetadata$3 {
|
|
7240
|
-
/** Amount of items to load per page. */
|
|
7241
|
-
items?: number;
|
|
7242
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
7243
|
-
offset?: number;
|
|
7244
|
-
}
|
|
7245
|
-
interface GetOneTimePurchasesStatusRequest$1 {
|
|
7246
|
-
/** Product ID. */
|
|
7247
|
-
productId: string;
|
|
7248
|
-
}
|
|
7249
|
-
interface GetOneTimePurchasesStatusResponse$1 {
|
|
7250
|
-
/** Whether the specified product is available for one-time purchase */
|
|
7251
|
-
allowed?: boolean;
|
|
7252
|
-
}
|
|
7253
7199
|
interface CreateSubscriptionOptionResponseNonNullableFields$1 {
|
|
7254
7200
|
subscriptionOption?: {
|
|
7255
7201
|
subscriptionSettings?: {
|
|
@@ -7298,43 +7244,6 @@ interface BulkUpdateSubscriptionOptionsResponseNonNullableFields$1 {
|
|
|
7298
7244
|
};
|
|
7299
7245
|
}[];
|
|
7300
7246
|
}
|
|
7301
|
-
interface GetSubscriptionOptionResponseNonNullableFields$1 {
|
|
7302
|
-
subscriptionOption?: {
|
|
7303
|
-
subscriptionSettings?: {
|
|
7304
|
-
frequency: SubscriptionFrequency$1;
|
|
7305
|
-
autoRenewal: boolean;
|
|
7306
|
-
};
|
|
7307
|
-
discount?: {
|
|
7308
|
-
type: DiscountType$1;
|
|
7309
|
-
value: number;
|
|
7310
|
-
};
|
|
7311
|
-
};
|
|
7312
|
-
}
|
|
7313
|
-
interface GetSubscriptionOptionsForProductResponseNonNullableFields$1 {
|
|
7314
|
-
subscriptionOptions: {
|
|
7315
|
-
id: string;
|
|
7316
|
-
hidden: boolean;
|
|
7317
|
-
subscriptionSettings?: {
|
|
7318
|
-
frequency: SubscriptionFrequency$1;
|
|
7319
|
-
autoRenewal: boolean;
|
|
7320
|
-
};
|
|
7321
|
-
discount?: {
|
|
7322
|
-
type: DiscountType$1;
|
|
7323
|
-
value: number;
|
|
7324
|
-
};
|
|
7325
|
-
}[];
|
|
7326
|
-
}
|
|
7327
|
-
interface GetProductIdsForSubscriptionOptionResponseNonNullableFields$1 {
|
|
7328
|
-
productIds: string[];
|
|
7329
|
-
metadata?: {
|
|
7330
|
-
items: number;
|
|
7331
|
-
offset: number;
|
|
7332
|
-
};
|
|
7333
|
-
totalResults: number;
|
|
7334
|
-
}
|
|
7335
|
-
interface GetOneTimePurchasesStatusResponseNonNullableFields$1 {
|
|
7336
|
-
allowed: boolean;
|
|
7337
|
-
}
|
|
7338
7247
|
|
|
7339
7248
|
interface SubscriptionOption {
|
|
7340
7249
|
/** Subscription option ID (auto-generated upon subscription option creation). */
|
|
@@ -7465,60 +7374,6 @@ interface AllowOneTimePurchasesRequest {
|
|
|
7465
7374
|
}
|
|
7466
7375
|
interface AllowOneTimePurchasesResponse {
|
|
7467
7376
|
}
|
|
7468
|
-
interface GetSubscriptionOptionRequest {
|
|
7469
|
-
/** Subscription option ID. */
|
|
7470
|
-
_id: string;
|
|
7471
|
-
}
|
|
7472
|
-
interface GetSubscriptionOptionResponse {
|
|
7473
|
-
/** Subscription option. */
|
|
7474
|
-
subscriptionOption?: SubscriptionOption;
|
|
7475
|
-
}
|
|
7476
|
-
interface GetSubscriptionOptionsForProductRequest {
|
|
7477
|
-
/** Product ID. */
|
|
7478
|
-
productId: string;
|
|
7479
|
-
/** Whether to include hidden subscription options in the results. */
|
|
7480
|
-
includeHiddenSubscriptionOptions?: boolean;
|
|
7481
|
-
}
|
|
7482
|
-
interface GetSubscriptionOptionsForProductResponse {
|
|
7483
|
-
/** Subscription options. */
|
|
7484
|
-
subscriptionOptions?: SubscriptionOptionInProduct[];
|
|
7485
|
-
}
|
|
7486
|
-
interface GetProductIdsForSubscriptionOptionRequest {
|
|
7487
|
-
/** Subscription option ID. */
|
|
7488
|
-
_id: string;
|
|
7489
|
-
/** Whether to include hidden products in the returned results. */
|
|
7490
|
-
includeHiddenProducts?: boolean;
|
|
7491
|
-
/** Optional pagination parameters */
|
|
7492
|
-
paging?: Paging$2;
|
|
7493
|
-
}
|
|
7494
|
-
interface Paging$2 {
|
|
7495
|
-
/** Amount of items to load per page. */
|
|
7496
|
-
limit?: number | null;
|
|
7497
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
7498
|
-
offset?: number | null;
|
|
7499
|
-
}
|
|
7500
|
-
interface GetProductIdsForSubscriptionOptionResponse {
|
|
7501
|
-
/** IDs of products associated with the specified subscription option. */
|
|
7502
|
-
productIds?: string[];
|
|
7503
|
-
/** Paging metadata. */
|
|
7504
|
-
metadata?: PagingMetadata$2;
|
|
7505
|
-
/** Number of total results. */
|
|
7506
|
-
totalResults?: number;
|
|
7507
|
-
}
|
|
7508
|
-
interface PagingMetadata$2 {
|
|
7509
|
-
/** Amount of items to load per page. */
|
|
7510
|
-
items?: number;
|
|
7511
|
-
/** Number of items to skip in the display (relevant for all pages after the first). */
|
|
7512
|
-
offset?: number;
|
|
7513
|
-
}
|
|
7514
|
-
interface GetOneTimePurchasesStatusRequest {
|
|
7515
|
-
/** Product ID. */
|
|
7516
|
-
productId: string;
|
|
7517
|
-
}
|
|
7518
|
-
interface GetOneTimePurchasesStatusResponse {
|
|
7519
|
-
/** Whether the specified product is available for one-time purchase */
|
|
7520
|
-
allowed?: boolean;
|
|
7521
|
-
}
|
|
7522
7377
|
interface CreateSubscriptionOptionResponseNonNullableFields {
|
|
7523
7378
|
subscriptionOption?: {
|
|
7524
7379
|
subscriptionSettings?: {
|
|
@@ -7567,43 +7422,6 @@ interface BulkUpdateSubscriptionOptionsResponseNonNullableFields {
|
|
|
7567
7422
|
};
|
|
7568
7423
|
}[];
|
|
7569
7424
|
}
|
|
7570
|
-
interface GetSubscriptionOptionResponseNonNullableFields {
|
|
7571
|
-
subscriptionOption?: {
|
|
7572
|
-
subscriptionSettings?: {
|
|
7573
|
-
frequency: SubscriptionFrequency;
|
|
7574
|
-
autoRenewal: boolean;
|
|
7575
|
-
};
|
|
7576
|
-
discount?: {
|
|
7577
|
-
type: DiscountType;
|
|
7578
|
-
value: number;
|
|
7579
|
-
};
|
|
7580
|
-
};
|
|
7581
|
-
}
|
|
7582
|
-
interface GetSubscriptionOptionsForProductResponseNonNullableFields {
|
|
7583
|
-
subscriptionOptions: {
|
|
7584
|
-
_id: string;
|
|
7585
|
-
hidden: boolean;
|
|
7586
|
-
subscriptionSettings?: {
|
|
7587
|
-
frequency: SubscriptionFrequency;
|
|
7588
|
-
autoRenewal: boolean;
|
|
7589
|
-
};
|
|
7590
|
-
discount?: {
|
|
7591
|
-
type: DiscountType;
|
|
7592
|
-
value: number;
|
|
7593
|
-
};
|
|
7594
|
-
}[];
|
|
7595
|
-
}
|
|
7596
|
-
interface GetProductIdsForSubscriptionOptionResponseNonNullableFields {
|
|
7597
|
-
productIds: string[];
|
|
7598
|
-
metadata?: {
|
|
7599
|
-
items: number;
|
|
7600
|
-
offset: number;
|
|
7601
|
-
};
|
|
7602
|
-
totalResults: number;
|
|
7603
|
-
}
|
|
7604
|
-
interface GetOneTimePurchasesStatusResponseNonNullableFields {
|
|
7605
|
-
allowed: boolean;
|
|
7606
|
-
}
|
|
7607
7425
|
|
|
7608
7426
|
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
7609
7427
|
getUrl: (context: any) => string;
|
|
@@ -7631,18 +7449,6 @@ declare function assignSubscriptionOptionsToProduct(): __PublicMethodMetaInfo$1<
|
|
|
7631
7449
|
declare function allowOneTimePurchases(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
7632
7450
|
productId: string;
|
|
7633
7451
|
}, AllowOneTimePurchasesRequest, AllowOneTimePurchasesRequest$1, AllowOneTimePurchasesResponse, AllowOneTimePurchasesResponse$1>;
|
|
7634
|
-
declare function getSubscriptionOption(): __PublicMethodMetaInfo$1<'GET', {
|
|
7635
|
-
id: string;
|
|
7636
|
-
}, GetSubscriptionOptionRequest, GetSubscriptionOptionRequest$1, GetSubscriptionOptionResponse & GetSubscriptionOptionResponseNonNullableFields, GetSubscriptionOptionResponse$1 & GetSubscriptionOptionResponseNonNullableFields$1>;
|
|
7637
|
-
declare function getSubscriptionOptionsForProduct(): __PublicMethodMetaInfo$1<'GET', {
|
|
7638
|
-
productId: string;
|
|
7639
|
-
}, GetSubscriptionOptionsForProductRequest, GetSubscriptionOptionsForProductRequest$1, GetSubscriptionOptionsForProductResponse & GetSubscriptionOptionsForProductResponseNonNullableFields, GetSubscriptionOptionsForProductResponse$1 & GetSubscriptionOptionsForProductResponseNonNullableFields$1>;
|
|
7640
|
-
declare function getProductIdsForSubscriptionOption(): __PublicMethodMetaInfo$1<'GET', {
|
|
7641
|
-
id: string;
|
|
7642
|
-
}, GetProductIdsForSubscriptionOptionRequest, GetProductIdsForSubscriptionOptionRequest$1, GetProductIdsForSubscriptionOptionResponse & GetProductIdsForSubscriptionOptionResponseNonNullableFields, GetProductIdsForSubscriptionOptionResponse$1 & GetProductIdsForSubscriptionOptionResponseNonNullableFields$1>;
|
|
7643
|
-
declare function getOneTimePurchasesStatus(): __PublicMethodMetaInfo$1<'GET', {
|
|
7644
|
-
productId: string;
|
|
7645
|
-
}, GetOneTimePurchasesStatusRequest, GetOneTimePurchasesStatusRequest$1, GetOneTimePurchasesStatusResponse & GetOneTimePurchasesStatusResponseNonNullableFields, GetOneTimePurchasesStatusResponse$1 & GetOneTimePurchasesStatusResponseNonNullableFields$1>;
|
|
7646
7452
|
|
|
7647
7453
|
declare const meta$1_allowOneTimePurchases: typeof allowOneTimePurchases;
|
|
7648
7454
|
declare const meta$1_assignSubscriptionOptionsToProduct: typeof assignSubscriptionOptionsToProduct;
|
|
@@ -7651,13 +7457,9 @@ declare const meta$1_bulkDeleteSubscriptionOptions: typeof bulkDeleteSubscriptio
|
|
|
7651
7457
|
declare const meta$1_bulkUpdateSubscriptionOptions: typeof bulkUpdateSubscriptionOptions;
|
|
7652
7458
|
declare const meta$1_createSubscriptionOption: typeof createSubscriptionOption;
|
|
7653
7459
|
declare const meta$1_deleteSubscriptionOption: typeof deleteSubscriptionOption;
|
|
7654
|
-
declare const meta$1_getOneTimePurchasesStatus: typeof getOneTimePurchasesStatus;
|
|
7655
|
-
declare const meta$1_getProductIdsForSubscriptionOption: typeof getProductIdsForSubscriptionOption;
|
|
7656
|
-
declare const meta$1_getSubscriptionOption: typeof getSubscriptionOption;
|
|
7657
|
-
declare const meta$1_getSubscriptionOptionsForProduct: typeof getSubscriptionOptionsForProduct;
|
|
7658
7460
|
declare const meta$1_updateSubscriptionOption: typeof updateSubscriptionOption;
|
|
7659
7461
|
declare namespace meta$1 {
|
|
7660
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_allowOneTimePurchases as allowOneTimePurchases, meta$1_assignSubscriptionOptionsToProduct as assignSubscriptionOptionsToProduct, meta$1_bulkCreateSubscriptionOptions as bulkCreateSubscriptionOptions, meta$1_bulkDeleteSubscriptionOptions as bulkDeleteSubscriptionOptions, meta$1_bulkUpdateSubscriptionOptions as bulkUpdateSubscriptionOptions, meta$1_createSubscriptionOption as createSubscriptionOption, meta$1_deleteSubscriptionOption as deleteSubscriptionOption, meta$
|
|
7462
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_allowOneTimePurchases as allowOneTimePurchases, meta$1_assignSubscriptionOptionsToProduct as assignSubscriptionOptionsToProduct, meta$1_bulkCreateSubscriptionOptions as bulkCreateSubscriptionOptions, meta$1_bulkDeleteSubscriptionOptions as bulkDeleteSubscriptionOptions, meta$1_bulkUpdateSubscriptionOptions as bulkUpdateSubscriptionOptions, meta$1_createSubscriptionOption as createSubscriptionOption, meta$1_deleteSubscriptionOption as deleteSubscriptionOption, meta$1_updateSubscriptionOption as updateSubscriptionOption };
|
|
7661
7463
|
}
|
|
7662
7464
|
|
|
7663
7465
|
interface InventoryItemV2$1 {
|