@wix/auto_sdk_stores_subscription-options 1.0.0 → 1.0.2

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.
Files changed (69) hide show
  1. package/build/cjs/src/stores-v1-subscription-option-subscription-options.context.d.ts +6 -6
  2. package/build/cjs/src/stores-v1-subscription-option-subscription-options.context.js +5 -5
  3. package/build/cjs/src/stores-v1-subscription-option-subscription-options.context.js.map +1 -1
  4. package/build/cjs/src/stores-v1-subscription-option-subscription-options.http.d.ts +21 -91
  5. package/build/cjs/src/stores-v1-subscription-option-subscription-options.http.js +129 -199
  6. package/build/cjs/src/stores-v1-subscription-option-subscription-options.http.js.map +1 -1
  7. package/build/cjs/src/stores-v1-subscription-option-subscription-options.meta.d.ts +12 -12
  8. package/build/cjs/src/stores-v1-subscription-option-subscription-options.meta.js +77 -77
  9. package/build/cjs/src/stores-v1-subscription-option-subscription-options.meta.js.map +1 -1
  10. package/build/cjs/src/stores-v1-subscription-option-subscription-options.public.d.ts +40 -110
  11. package/build/cjs/src/stores-v1-subscription-option-subscription-options.public.js +25 -25
  12. package/build/cjs/src/stores-v1-subscription-option-subscription-options.public.js.map +1 -1
  13. package/build/cjs/src/stores-v1-subscription-option-subscription-options.types.d.ts +188 -100
  14. package/build/cjs/src/stores-v1-subscription-option-subscription-options.types.js.map +1 -1
  15. package/build/cjs/src/stores-v1-subscription-option-subscription-options.universal.d.ts +299 -268
  16. package/build/cjs/src/stores-v1-subscription-option-subscription-options.universal.js +186 -256
  17. package/build/cjs/src/stores-v1-subscription-option-subscription-options.universal.js.map +1 -1
  18. package/build/es/src/stores-v1-subscription-option-subscription-options.context.d.ts +6 -6
  19. package/build/es/src/stores-v1-subscription-option-subscription-options.context.js +5 -5
  20. package/build/es/src/stores-v1-subscription-option-subscription-options.context.js.map +1 -1
  21. package/build/es/src/stores-v1-subscription-option-subscription-options.http.d.ts +21 -91
  22. package/build/es/src/stores-v1-subscription-option-subscription-options.http.js +124 -194
  23. package/build/es/src/stores-v1-subscription-option-subscription-options.http.js.map +1 -1
  24. package/build/es/src/stores-v1-subscription-option-subscription-options.meta.d.ts +12 -12
  25. package/build/es/src/stores-v1-subscription-option-subscription-options.meta.js +67 -67
  26. package/build/es/src/stores-v1-subscription-option-subscription-options.meta.js.map +1 -1
  27. package/build/es/src/stores-v1-subscription-option-subscription-options.public.d.ts +40 -110
  28. package/build/es/src/stores-v1-subscription-option-subscription-options.public.js +20 -20
  29. package/build/es/src/stores-v1-subscription-option-subscription-options.public.js.map +1 -1
  30. package/build/es/src/stores-v1-subscription-option-subscription-options.types.d.ts +188 -100
  31. package/build/es/src/stores-v1-subscription-option-subscription-options.types.js.map +1 -1
  32. package/build/es/src/stores-v1-subscription-option-subscription-options.universal.d.ts +299 -268
  33. package/build/es/src/stores-v1-subscription-option-subscription-options.universal.js +181 -251
  34. package/build/es/src/stores-v1-subscription-option-subscription-options.universal.js.map +1 -1
  35. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.context.d.ts +6 -6
  36. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.context.js +5 -5
  37. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.context.js.map +1 -1
  38. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.http.d.ts +21 -91
  39. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.http.js +129 -199
  40. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.http.js.map +1 -1
  41. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.meta.d.ts +12 -12
  42. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.meta.js +77 -77
  43. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.meta.js.map +1 -1
  44. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.public.d.ts +40 -110
  45. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.public.js +25 -25
  46. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.public.js.map +1 -1
  47. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.types.d.ts +188 -100
  48. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.types.js.map +1 -1
  49. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.universal.d.ts +299 -268
  50. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.universal.js +186 -256
  51. package/build/internal/cjs/src/stores-v1-subscription-option-subscription-options.universal.js.map +1 -1
  52. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.context.d.ts +6 -6
  53. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.context.js +5 -5
  54. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.context.js.map +1 -1
  55. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.http.d.ts +21 -91
  56. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.http.js +124 -194
  57. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.http.js.map +1 -1
  58. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.meta.d.ts +12 -12
  59. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.meta.js +67 -67
  60. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.meta.js.map +1 -1
  61. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.public.d.ts +40 -110
  62. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.public.js +20 -20
  63. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.public.js.map +1 -1
  64. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.types.d.ts +188 -100
  65. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.types.js.map +1 -1
  66. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.universal.d.ts +299 -268
  67. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.universal.js +181 -251
  68. package/build/internal/es/src/stores-v1-subscription-option-subscription-options.universal.js.map +1 -1
  69. package/package.json +2 -2
@@ -1,4 +1,25 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
+ /**
3
+ * Retrieves a subscription option by ID.
4
+ * @deprecated
5
+ */
6
+ export declare function getSubscriptionOption(payload: object): RequestOptionsFactory<any>;
7
+ /**
8
+ * Retrieves all subscription options assigned to a specified product.
9
+ * By default, hidden subscription options are not returned. To retrieve all subscription options you must pass `includeHiddenSubscriptionOptions = true`.
10
+ * @deprecated
11
+ */
12
+ export declare function getSubscriptionOptionsForProduct(payload: object): RequestOptionsFactory<any>;
13
+ /**
14
+ * Retrieves the IDs of products associated with a specified subscription option.
15
+ * @deprecated
16
+ */
17
+ export declare function getProductIdsForSubscriptionOption(payload: object): RequestOptionsFactory<any>;
18
+ /**
19
+ * Checks whether a specified product (associated with subscription options) is available for one-time purchase.
20
+ * @deprecated
21
+ */
22
+ export declare function getOneTimePurchasesStatus(payload: object): RequestOptionsFactory<any>;
2
23
  /**
3
24
  * Creates a subscription option.
4
25
  * To assign to a product, call [`assignSubscriptionOptionsToProduct()`](https://www.wix.com/velo/reference/wix-stores-v2/subscriptionoptions/assign-subscription-options-to-product).
@@ -9,25 +30,11 @@ export declare function createSubscriptionOption(payload: object): RequestOption
9
30
  /**
10
31
  * Updates a subscription option.
11
32
  * Only parameters passed will be updated.
12
- * <blockquote class='warning'>
13
- *
14
- * __Deprecation Notice:__
15
- *
16
- * This endpoint has been deprecated and will be removed on January 29, 2024.
17
- *
18
- * </blockquote>
19
33
  * @deprecated
20
34
  */
21
35
  export declare function updateSubscriptionOption(payload: object): RequestOptionsFactory<any>;
22
36
  /**
23
37
  * Deletes a subscription option.
24
- * <blockquote class='warning'>
25
- *
26
- * __Deprecation Notice:__
27
- *
28
- * This endpoint has been deprecated and will be removed on January 29, 2024.
29
- *
30
- * </blockquote>
31
38
  * @deprecated
32
39
  */
33
40
  export declare function deleteSubscriptionOption(payload: object): RequestOptionsFactory<any>;
@@ -41,100 +48,23 @@ export declare function bulkCreateSubscriptionOptions(payload: object): RequestO
41
48
  /**
42
49
  * Updates multiple subscription options.
43
50
  * Only parameters passed will be updated.
44
- * <blockquote class='warning'>
45
- *
46
- * __Deprecation Notice:__
47
- *
48
- * This endpoint has been deprecated and will be removed on January 29, 2024.
49
- *
50
- * </blockquote>
51
51
  * @deprecated
52
52
  */
53
53
  export declare function bulkUpdateSubscriptionOptions(payload: object): RequestOptionsFactory<any>;
54
54
  /**
55
55
  * Deletes multiple subscription options.
56
- * <blockquote class='warning'>
57
- *
58
- * __Deprecation Notice:__
59
- *
60
- * This endpoint has been deprecated and will be removed on January 29, 2024.
61
- *
62
- * </blockquote>
63
56
  * @deprecated
64
57
  */
65
58
  export declare function bulkDeleteSubscriptionOptions(payload: object): RequestOptionsFactory<any>;
66
59
  /**
67
60
  * Assign up to 6 subscription options to a specified product.
68
61
  * Pass an empty array to remove all subscription options assigned to a product.
69
- * <blockquote class='warning'>
70
- *
71
- * __Deprecation Notice:__
72
- *
73
- * This endpoint has been deprecated and will be removed on January 29, 2024.
74
- *
75
- * </blockquote>
76
62
  * @deprecated
77
63
  */
78
64
  export declare function assignSubscriptionOptionsToProduct(payload: object): RequestOptionsFactory<any>;
79
65
  /**
80
66
  * Allow for one-time purchase of a product.
81
67
  * By default, product can be sold only as part of a subscription, not as a one-time purchase.
82
- * <blockquote class='warning'>
83
- *
84
- * __Deprecation Notice:__
85
- *
86
- * This endpoint has been deprecated and will be removed on January 29, 2024.
87
- *
88
- * </blockquote>
89
68
  * @deprecated
90
69
  */
91
70
  export declare function allowOneTimePurchases(payload: object): RequestOptionsFactory<any>;
92
- /**
93
- * Retrieves a subscription option by ID.
94
- * <blockquote class='warning'>
95
- *
96
- * __Deprecation Notice:__
97
- *
98
- * This endpoint has been deprecated and will be removed on January 29, 2024.
99
- *
100
- * </blockquote>
101
- * @deprecated
102
- */
103
- export declare function getSubscriptionOption(payload: object): RequestOptionsFactory<any>;
104
- /**
105
- * Retrieves all subscription options assigned to a specified product.
106
- * By default, hidden subscription options are not returned. To retrieve all subscription options you must pass `includeHiddenSubscriptionOptions = true`.
107
- * <blockquote class='warning'>
108
- *
109
- * __Deprecation Notice:__
110
- *
111
- * This endpoint has been deprecated and will be removed on January 29, 2024.
112
- *
113
- * </blockquote>
114
- * @deprecated
115
- */
116
- export declare function getSubscriptionOptionsForProduct(payload: object): RequestOptionsFactory<any>;
117
- /**
118
- * Retrieves the IDs of products associated with a specified subscription option.
119
- * <blockquote class='warning'>
120
- *
121
- * __Deprecation Notice:__
122
- *
123
- * This endpoint has been deprecated and will be removed on January 29, 2024.
124
- *
125
- * </blockquote>
126
- * @deprecated
127
- */
128
- export declare function getProductIdsForSubscriptionOption(payload: object): RequestOptionsFactory<any>;
129
- /**
130
- * Checks whether a specified product (associated with subscription options) is available for one-time purchase.
131
- * <blockquote class='warning'>
132
- *
133
- * __Deprecation Notice:__
134
- *
135
- * This endpoint has been deprecated and will be removed on January 29, 2024.
136
- *
137
- * </blockquote>
138
- * @deprecated
139
- */
140
- export declare function getOneTimePurchasesStatus(payload: object): RequestOptionsFactory<any>;
@@ -3,76 +3,76 @@ import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/f
3
3
  import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';
4
4
  import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
5
5
  import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
6
- function resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl(opts) {
6
+ function resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsWriteApiUrl(opts) {
7
7
  const domainToMappings = {
8
8
  'api._api_base_domain_': [
9
9
  {
10
- srcPath: '/wix-ecommerce-plans-reader',
10
+ srcPath: '/wix-ecommerce-plans',
11
11
  destPath: '',
12
12
  },
13
13
  ],
14
- 'www._base_domain_': [
14
+ 'www.wixapis.com': [
15
15
  {
16
- srcPath: '/_api/wix-ecommerce-plans-reader',
17
- destPath: '',
16
+ srcPath: '/stores/v1/subscription-options',
17
+ destPath: '/v1/subscription-options',
18
18
  },
19
19
  ],
20
- _: [
20
+ 'www._base_domain_': [
21
21
  {
22
- srcPath: '/_api/subscription-options-reader-server',
22
+ srcPath: '/_api/subscription-options-server',
23
23
  destPath: '',
24
24
  },
25
25
  ],
26
- 'manage._base_domain_': [
26
+ 'editor._base_domain_': [
27
27
  {
28
- srcPath: '/_api/subscription-options-reader-server',
28
+ srcPath: '/_api/subscription-options-server',
29
29
  destPath: '',
30
30
  },
31
31
  ],
32
- };
33
- return resolveUrl(Object.assign(opts, { domainToMappings }));
34
- }
35
- function resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsWriteApiUrl(opts) {
36
- const domainToMappings = {
37
- 'api._api_base_domain_': [
32
+ 'blocks._base_domain_': [
38
33
  {
39
- srcPath: '/wix-ecommerce-plans',
34
+ srcPath: '/_api/subscription-options-server',
40
35
  destPath: '',
41
36
  },
42
37
  ],
43
- 'www.wixapis.com': [
38
+ 'create.editorx': [
44
39
  {
45
- srcPath: '/stores/v1/subscription-options',
46
- destPath: '/v1/subscription-options',
40
+ srcPath: '/_api/subscription-options-server',
41
+ destPath: '',
47
42
  },
48
43
  ],
49
- 'www._base_domain_': [
44
+ 'manage._base_domain_': [
50
45
  {
51
46
  srcPath: '/_api/subscription-options-server',
52
47
  destPath: '',
53
48
  },
54
49
  ],
55
- 'editor._base_domain_': [
50
+ };
51
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
52
+ }
53
+ function resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl(opts) {
54
+ const domainToMappings = {
55
+ 'api._api_base_domain_': [
56
56
  {
57
- srcPath: '/_api/subscription-options-server',
57
+ srcPath: '/wix-ecommerce-plans-reader',
58
58
  destPath: '',
59
59
  },
60
60
  ],
61
- 'blocks._base_domain_': [
61
+ 'www._base_domain_': [
62
62
  {
63
- srcPath: '/_api/subscription-options-server',
63
+ srcPath: '/_api/wix-ecommerce-plans-reader',
64
64
  destPath: '',
65
65
  },
66
66
  ],
67
- 'create.editorx': [
67
+ _: [
68
68
  {
69
- srcPath: '/_api/subscription-options-server',
69
+ srcPath: '/_api/subscription-options-reader-server',
70
70
  destPath: '',
71
71
  },
72
72
  ],
73
73
  'manage._base_domain_': [
74
74
  {
75
- srcPath: '/_api/subscription-options-server',
75
+ srcPath: '/_api/subscription-options-reader-server',
76
76
  destPath: '',
77
77
  },
78
78
  ],
@@ -80,6 +80,103 @@ function resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsWriteApiUr
80
80
  return resolveUrl(Object.assign(opts, { domainToMappings }));
81
81
  }
82
82
  const PACKAGE_NAME = '@wix/auto_sdk_stores_subscription-options';
83
+ /**
84
+ * Retrieves a subscription option by ID.
85
+ * @deprecated
86
+ */
87
+ export function getSubscriptionOption(payload) {
88
+ function __getSubscriptionOption({ host }) {
89
+ const metadata = {
90
+ entityFqdn: 'wix.stores.v1.subscription_option',
91
+ method: 'GET',
92
+ methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetSubscriptionOption',
93
+ packageName: PACKAGE_NAME,
94
+ url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({ protoPath: '/v1/subscription-options/{id}', data: payload, host }),
95
+ params: toURLSearchParams(payload),
96
+ transformResponse: (payload) => transformPaths(payload, [
97
+ {
98
+ transformFn: transformRESTFloatToSDKFloat,
99
+ paths: [{ path: 'subscriptionOption.discount.value' }],
100
+ },
101
+ ]),
102
+ };
103
+ return metadata;
104
+ }
105
+ return __getSubscriptionOption;
106
+ }
107
+ /**
108
+ * Retrieves all subscription options assigned to a specified product.
109
+ * By default, hidden subscription options are not returned. To retrieve all subscription options you must pass `includeHiddenSubscriptionOptions = true`.
110
+ * @deprecated
111
+ */
112
+ export function getSubscriptionOptionsForProduct(payload) {
113
+ function __getSubscriptionOptionsForProduct({ host }) {
114
+ const metadata = {
115
+ entityFqdn: 'wix.stores.v1.subscription_option',
116
+ method: 'GET',
117
+ methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetSubscriptionOptionsForProduct',
118
+ packageName: PACKAGE_NAME,
119
+ url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
120
+ protoPath: '/v1/subscription-options/byProduct/{productId}',
121
+ data: payload,
122
+ host,
123
+ }),
124
+ params: toURLSearchParams(payload),
125
+ transformResponse: (payload) => transformPaths(payload, [
126
+ {
127
+ transformFn: transformRESTFloatToSDKFloat,
128
+ paths: [{ path: 'subscriptionOptions.discount.value' }],
129
+ },
130
+ ]),
131
+ };
132
+ return metadata;
133
+ }
134
+ return __getSubscriptionOptionsForProduct;
135
+ }
136
+ /**
137
+ * Retrieves the IDs of products associated with a specified subscription option.
138
+ * @deprecated
139
+ */
140
+ export function getProductIdsForSubscriptionOption(payload) {
141
+ function __getProductIdsForSubscriptionOption({ host }) {
142
+ const metadata = {
143
+ entityFqdn: 'wix.stores.v1.subscription_option',
144
+ method: 'GET',
145
+ methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetProductIdsForSubscriptionOption',
146
+ packageName: PACKAGE_NAME,
147
+ url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
148
+ protoPath: '/v1/subscription-options/{id}/productIds',
149
+ data: payload,
150
+ host,
151
+ }),
152
+ params: toURLSearchParams(payload),
153
+ };
154
+ return metadata;
155
+ }
156
+ return __getProductIdsForSubscriptionOption;
157
+ }
158
+ /**
159
+ * Checks whether a specified product (associated with subscription options) is available for one-time purchase.
160
+ * @deprecated
161
+ */
162
+ export function getOneTimePurchasesStatus(payload) {
163
+ function __getOneTimePurchasesStatus({ host }) {
164
+ const metadata = {
165
+ entityFqdn: 'wix.stores.v1.subscription_option',
166
+ method: 'GET',
167
+ methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetOneTimePurchasesStatus',
168
+ packageName: PACKAGE_NAME,
169
+ url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
170
+ protoPath: '/v1/subscription-options/product/{productId}/oneTimePurchasesStatus',
171
+ data: payload,
172
+ host,
173
+ }),
174
+ params: toURLSearchParams(payload),
175
+ };
176
+ return metadata;
177
+ }
178
+ return __getOneTimePurchasesStatus;
179
+ }
83
180
  /**
84
181
  * Creates a subscription option.
85
182
  * To assign to a product, call [`assignSubscriptionOptionsToProduct()`](https://www.wix.com/velo/reference/wix-stores-v2/subscriptionoptions/assign-subscription-options-to-product).
@@ -115,13 +212,6 @@ export function createSubscriptionOption(payload) {
115
212
  /**
116
213
  * Updates a subscription option.
117
214
  * Only parameters passed will be updated.
118
- * <blockquote class='warning'>
119
- *
120
- * __Deprecation Notice:__
121
- *
122
- * This endpoint has been deprecated and will be removed on January 29, 2024.
123
- *
124
- * </blockquote>
125
215
  * @deprecated
126
216
  */
127
217
  export function updateSubscriptionOption(payload) {
@@ -156,13 +246,6 @@ export function updateSubscriptionOption(payload) {
156
246
  }
157
247
  /**
158
248
  * Deletes a subscription option.
159
- * <blockquote class='warning'>
160
- *
161
- * __Deprecation Notice:__
162
- *
163
- * This endpoint has been deprecated and will be removed on January 29, 2024.
164
- *
165
- * </blockquote>
166
249
  * @deprecated
167
250
  */
168
251
  export function deleteSubscriptionOption(payload) {
@@ -218,13 +301,6 @@ export function bulkCreateSubscriptionOptions(payload) {
218
301
  /**
219
302
  * Updates multiple subscription options.
220
303
  * Only parameters passed will be updated.
221
- * <blockquote class='warning'>
222
- *
223
- * __Deprecation Notice:__
224
- *
225
- * This endpoint has been deprecated and will be removed on January 29, 2024.
226
- *
227
- * </blockquote>
228
304
  * @deprecated
229
305
  */
230
306
  export function bulkUpdateSubscriptionOptions(payload) {
@@ -255,13 +331,6 @@ export function bulkUpdateSubscriptionOptions(payload) {
255
331
  }
256
332
  /**
257
333
  * Deletes multiple subscription options.
258
- * <blockquote class='warning'>
259
- *
260
- * __Deprecation Notice:__
261
- *
262
- * This endpoint has been deprecated and will be removed on January 29, 2024.
263
- *
264
- * </blockquote>
265
334
  * @deprecated
266
335
  */
267
336
  export function bulkDeleteSubscriptionOptions(payload) {
@@ -285,13 +354,6 @@ export function bulkDeleteSubscriptionOptions(payload) {
285
354
  /**
286
355
  * Assign up to 6 subscription options to a specified product.
287
356
  * Pass an empty array to remove all subscription options assigned to a product.
288
- * <blockquote class='warning'>
289
- *
290
- * __Deprecation Notice:__
291
- *
292
- * This endpoint has been deprecated and will be removed on January 29, 2024.
293
- *
294
- * </blockquote>
295
357
  * @deprecated
296
358
  */
297
359
  export function assignSubscriptionOptionsToProduct(payload) {
@@ -321,13 +383,6 @@ export function assignSubscriptionOptionsToProduct(payload) {
321
383
  /**
322
384
  * Allow for one-time purchase of a product.
323
385
  * By default, product can be sold only as part of a subscription, not as a one-time purchase.
324
- * <blockquote class='warning'>
325
- *
326
- * __Deprecation Notice:__
327
- *
328
- * This endpoint has been deprecated and will be removed on January 29, 2024.
329
- *
330
- * </blockquote>
331
386
  * @deprecated
332
387
  */
333
388
  export function allowOneTimePurchases(payload) {
@@ -348,129 +403,4 @@ export function allowOneTimePurchases(payload) {
348
403
  }
349
404
  return __allowOneTimePurchases;
350
405
  }
351
- /**
352
- * Retrieves a subscription option by ID.
353
- * <blockquote class='warning'>
354
- *
355
- * __Deprecation Notice:__
356
- *
357
- * This endpoint has been deprecated and will be removed on January 29, 2024.
358
- *
359
- * </blockquote>
360
- * @deprecated
361
- */
362
- export function getSubscriptionOption(payload) {
363
- function __getSubscriptionOption({ host }) {
364
- const metadata = {
365
- entityFqdn: 'wix.stores.v1.subscription_option',
366
- method: 'GET',
367
- methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetSubscriptionOption',
368
- packageName: PACKAGE_NAME,
369
- url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({ protoPath: '/v1/subscription-options/{id}', data: payload, host }),
370
- params: toURLSearchParams(payload),
371
- transformResponse: (payload) => transformPaths(payload, [
372
- {
373
- transformFn: transformRESTFloatToSDKFloat,
374
- paths: [{ path: 'subscriptionOption.discount.value' }],
375
- },
376
- ]),
377
- };
378
- return metadata;
379
- }
380
- return __getSubscriptionOption;
381
- }
382
- /**
383
- * Retrieves all subscription options assigned to a specified product.
384
- * By default, hidden subscription options are not returned. To retrieve all subscription options you must pass `includeHiddenSubscriptionOptions = true`.
385
- * <blockquote class='warning'>
386
- *
387
- * __Deprecation Notice:__
388
- *
389
- * This endpoint has been deprecated and will be removed on January 29, 2024.
390
- *
391
- * </blockquote>
392
- * @deprecated
393
- */
394
- export function getSubscriptionOptionsForProduct(payload) {
395
- function __getSubscriptionOptionsForProduct({ host }) {
396
- const metadata = {
397
- entityFqdn: 'wix.stores.v1.subscription_option',
398
- method: 'GET',
399
- methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetSubscriptionOptionsForProduct',
400
- packageName: PACKAGE_NAME,
401
- url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
402
- protoPath: '/v1/subscription-options/byProduct/{productId}',
403
- data: payload,
404
- host,
405
- }),
406
- params: toURLSearchParams(payload),
407
- transformResponse: (payload) => transformPaths(payload, [
408
- {
409
- transformFn: transformRESTFloatToSDKFloat,
410
- paths: [{ path: 'subscriptionOptions.discount.value' }],
411
- },
412
- ]),
413
- };
414
- return metadata;
415
- }
416
- return __getSubscriptionOptionsForProduct;
417
- }
418
- /**
419
- * Retrieves the IDs of products associated with a specified subscription option.
420
- * <blockquote class='warning'>
421
- *
422
- * __Deprecation Notice:__
423
- *
424
- * This endpoint has been deprecated and will be removed on January 29, 2024.
425
- *
426
- * </blockquote>
427
- * @deprecated
428
- */
429
- export function getProductIdsForSubscriptionOption(payload) {
430
- function __getProductIdsForSubscriptionOption({ host }) {
431
- const metadata = {
432
- entityFqdn: 'wix.stores.v1.subscription_option',
433
- method: 'GET',
434
- methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetProductIdsForSubscriptionOption',
435
- packageName: PACKAGE_NAME,
436
- url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
437
- protoPath: '/v1/subscription-options/{id}/productIds',
438
- data: payload,
439
- host,
440
- }),
441
- params: toURLSearchParams(payload),
442
- };
443
- return metadata;
444
- }
445
- return __getProductIdsForSubscriptionOption;
446
- }
447
- /**
448
- * Checks whether a specified product (associated with subscription options) is available for one-time purchase.
449
- * <blockquote class='warning'>
450
- *
451
- * __Deprecation Notice:__
452
- *
453
- * This endpoint has been deprecated and will be removed on January 29, 2024.
454
- *
455
- * </blockquote>
456
- * @deprecated
457
- */
458
- export function getOneTimePurchasesStatus(payload) {
459
- function __getOneTimePurchasesStatus({ host }) {
460
- const metadata = {
461
- entityFqdn: 'wix.stores.v1.subscription_option',
462
- method: 'GET',
463
- methodFqn: 'wix.ecommerce.subscription.option.api.v1.SubscriptionOptionsReadApi.GetOneTimePurchasesStatus',
464
- packageName: PACKAGE_NAME,
465
- url: resolveWixEcommerceSubscriptionOptionApiV1SubscriptionOptionsReadApiUrl({
466
- protoPath: '/v1/subscription-options/product/{productId}/oneTimePurchasesStatus',
467
- data: payload,
468
- host,
469
- }),
470
- params: toURLSearchParams(payload),
471
- };
472
- return metadata;
473
- }
474
- return __getOneTimePurchasesStatus;
475
- }
476
406
  //# sourceMappingURL=stores-v1-subscription-option-subscription-options.http.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stores-v1-subscription-option-subscription-options.http.js","sourceRoot":"","sources":["../../../src/stores-v1-subscription-option-subscription-options.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CA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BACE,SAAS,EACP,qEAAqE;gBACvE,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CACF;YACD,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,2BAA2B,CAAC;AACrC,CAAC"}
1
+ {"version":3,"file":"stores-v1-subscription-option-subscription-options.http.js","sourceRoot":"","sources":["../../../src/stores-v1-subscription-option-subscription-options.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,wEAAwE,CAC/E,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,0BAA0B;aACrC;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,EAAE;aACb;SACF;QACD,gBAAgB,EAAE;YAChB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,mCAAmC;gBAC5C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;YAC3G,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,wEAAwE,CAC3E;gBACE,SAAS,EAAE,qDAAqD;gBAChE,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CACF;YACD,IAAI,EAAE,cAAc;SACrB,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,oCAAoC,CAAC;AAC9C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAe;IAEf,SAAS,uBAAuB,CAAC,EAAE,IAAI,EAAO;QAC5C,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,mCAAmC;YAC/C,MAAM,EAAE,OAAc;YACtB,SAAS,EACP,4FAA4F;YAC9F,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,wEAAwE,CAC3E;gBACE,SAAS,EACP,mEAAmE;gBACrE,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CACF;YACD,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,uBAAuB,CAAC;AACjC,CAAC"}
@@ -10,6 +10,18 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
10
10
  __responseType: Q;
11
11
  __originalResponseType: R;
12
12
  };
13
+ export declare function getSubscriptionOption(): __PublicMethodMetaInfo<'GET', {
14
+ id: string;
15
+ }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionResponseNonNullableFields>;
16
+ export declare function getSubscriptionOptionsForProduct(): __PublicMethodMetaInfo<'GET', {
17
+ productId: string;
18
+ }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductResponseNonNullableFields>;
19
+ export declare function getProductIdsForSubscriptionOption(): __PublicMethodMetaInfo<'GET', {
20
+ id: string;
21
+ }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionResponseNonNullableFields>;
22
+ export declare function getOneTimePurchasesStatus(): __PublicMethodMetaInfo<'GET', {
23
+ productId: string;
24
+ }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusResponseNonNullableFields>;
13
25
  export declare function createSubscriptionOption(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.CreateSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionTypes.CreateSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.CreateSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.CreateSubscriptionOptionResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.CreateSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionTypes.CreateSubscriptionOptionResponseNonNullableFields>;
14
26
  export declare function updateSubscriptionOption(): __PublicMethodMetaInfo<'PATCH', {
15
27
  subscriptionOptionId: string;
@@ -26,15 +38,3 @@ export declare function assignSubscriptionOptionsToProduct(): __PublicMethodMeta
26
38
  export declare function allowOneTimePurchases(): __PublicMethodMetaInfo<'PATCH', {
27
39
  productId: string;
28
40
  }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.AllowOneTimePurchasesRequest, ambassadorWixStoresV1SubscriptionOptionTypes.AllowOneTimePurchasesRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.AllowOneTimePurchasesResponse, ambassadorWixStoresV1SubscriptionOptionTypes.AllowOneTimePurchasesResponse>;
29
- export declare function getSubscriptionOption(): __PublicMethodMetaInfo<'GET', {
30
- id: string;
31
- }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionResponseNonNullableFields>;
32
- export declare function getSubscriptionOptionsForProduct(): __PublicMethodMetaInfo<'GET', {
33
- productId: string;
34
- }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetSubscriptionOptionsForProductResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetSubscriptionOptionsForProductResponseNonNullableFields>;
35
- export declare function getProductIdsForSubscriptionOption(): __PublicMethodMetaInfo<'GET', {
36
- id: string;
37
- }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetProductIdsForSubscriptionOptionResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetProductIdsForSubscriptionOptionResponseNonNullableFields>;
38
- export declare function getOneTimePurchasesStatus(): __PublicMethodMetaInfo<'GET', {
39
- productId: string;
40
- }, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusRequest, ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusRequest, ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusResponse & ambassadorWixStoresV1SubscriptionOptionUniversalTypes.GetOneTimePurchasesStatusResponseNonNullableFields, ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusResponse & ambassadorWixStoresV1SubscriptionOptionTypes.GetOneTimePurchasesStatusResponseNonNullableFields>;