@wix/auto_sdk_ecom_subscription-contracts 1.0.124 → 1.0.126

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 (39) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +17 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +17 -2
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.js +1446 -1400
  8. package/build/cjs/schemas.js.map +1 -1
  9. package/build/es/index.d.mts +1 -1
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +17 -2
  12. package/build/es/index.typings.mjs.map +1 -1
  13. package/build/es/meta.d.mts +17 -2
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/es/schemas.mjs +1446 -1400
  16. package/build/es/schemas.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +17 -2
  19. package/build/internal/cjs/meta.d.ts +17 -2
  20. package/build/internal/es/index.d.mts +1 -1
  21. package/build/internal/es/index.typings.d.mts +17 -2
  22. package/build/internal/es/meta.d.mts +17 -2
  23. package/package.json +2 -2
  24. package/build/internal/cjs/index.js +0 -950
  25. package/build/internal/cjs/index.js.map +0 -1
  26. package/build/internal/cjs/index.typings.js +0 -717
  27. package/build/internal/cjs/index.typings.js.map +0 -1
  28. package/build/internal/cjs/meta.js +0 -586
  29. package/build/internal/cjs/meta.js.map +0 -1
  30. package/build/internal/cjs/schemas.js +0 -3041
  31. package/build/internal/cjs/schemas.js.map +0 -1
  32. package/build/internal/es/index.mjs +0 -894
  33. package/build/internal/es/index.mjs.map +0 -1
  34. package/build/internal/es/index.typings.mjs +0 -663
  35. package/build/internal/es/index.typings.mjs.map +0 -1
  36. package/build/internal/es/meta.mjs +0 -531
  37. package/build/internal/es/meta.mjs.map +0 -1
  38. package/build/internal/es/schemas.mjs +0 -3001
  39. package/build/internal/es/schemas.mjs.map +0 -1
@@ -1,950 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- ActionInitiator: () => ActionInitiator,
24
- ActivityType: () => ActivityType,
25
- AdditionalFeeSource: () => AdditionalFeeSource,
26
- AdjustmentType: () => AdjustmentType,
27
- ChangeType: () => ChangeType,
28
- ChannelType: () => ChannelType,
29
- ChargeType: () => ChargeType,
30
- DescriptionLineType: () => DescriptionLineType,
31
- DimensionsUnit: () => DimensionsUnit,
32
- DiscountReason: () => DiscountReason,
33
- DiscountType: () => DiscountType,
34
- ItemTypePreset: () => ItemTypePreset,
35
- JurisdictionType: () => JurisdictionType,
36
- LineItemQuantityChangeType: () => LineItemQuantityChangeType,
37
- MeasurementUnit: () => MeasurementUnit,
38
- PaymentOptionType: () => PaymentOptionType,
39
- PickupMethod: () => PickupMethod,
40
- ProductPeriodAlignment: () => ProductPeriodAlignment,
41
- SortOrder: () => SortOrder,
42
- SpecificItemsCouponBehavior: () => SpecificItemsCouponBehavior,
43
- SubscriptionFrequency: () => SubscriptionFrequency,
44
- SubscriptionSettingsProductPeriodAlignment: () => SubscriptionSettingsProductPeriodAlignment,
45
- TaxableAddressType: () => TaxableAddressType,
46
- V2SubscriptionFrequency: () => V2SubscriptionFrequency,
47
- VatType: () => VatType,
48
- WebhookIdentityType: () => WebhookIdentityType,
49
- WeightUnit: () => WeightUnit,
50
- getSubscriptionContract: () => getSubscriptionContract4,
51
- onSubscriptionContractCreated: () => onSubscriptionContractCreated2,
52
- onSubscriptionContractDeleted: () => onSubscriptionContractDeleted2,
53
- onSubscriptionContractUpdated: () => onSubscriptionContractUpdated2,
54
- querySubscriptionContracts: () => querySubscriptionContracts4,
55
- utils: () => utils
56
- });
57
- module.exports = __toCommonJS(index_exports);
58
-
59
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.public.ts
60
- var import_rename_all_nested_keys2 = require("@wix/sdk-runtime/rename-all-nested-keys");
61
- var import_address2 = require("@wix/sdk-runtime/transformations/address");
62
- var import_float2 = require("@wix/sdk-runtime/transformations/float");
63
- var import_image2 = require("@wix/sdk-runtime/transformations/image");
64
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
65
- var import_transform_paths3 = require("@wix/sdk-runtime/transformations/transform-paths");
66
- var import_sdk_types = require("@wix/sdk-types");
67
-
68
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts
69
- var import_transform_error = require("@wix/sdk-runtime/transform-error");
70
- var import_query_builder = require("@wix/sdk-runtime/query-builder");
71
- var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
72
-
73
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.http.ts
74
- var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
75
- var import_float = require("@wix/sdk-runtime/transformations/float");
76
- var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
77
- var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
78
- var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
79
- function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
80
- const domainToMappings = {
81
- "www.wixapis.com": [
82
- {
83
- srcPath: "/ecom/subscription-contracts/v1/subscription-contracts",
84
- destPath: "/v1/subscription-contracts"
85
- },
86
- {
87
- srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
88
- destPath: "/v1/bulk/subscription-contracts"
89
- }
90
- ],
91
- "*.dev.wix-code.com": [
92
- {
93
- srcPath: "/ecom/subscription-contracts/v1/subscription-contracts",
94
- destPath: "/v1/subscription-contracts"
95
- },
96
- {
97
- srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
98
- destPath: "/v1/bulk/subscription-contracts"
99
- }
100
- ],
101
- _: [
102
- {
103
- srcPath: "/ecom/subscription-contracts/v1/subscription-contracts",
104
- destPath: "/v1/subscription-contracts"
105
- },
106
- {
107
- srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
108
- destPath: "/v1/bulk/subscription-contracts"
109
- }
110
- ],
111
- "manage._base_domain_": [
112
- {
113
- srcPath: "/ecom/subscription-contracts/v1/subscription-contracts",
114
- destPath: "/v1/subscription-contracts"
115
- },
116
- {
117
- srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
118
- destPath: "/v1/bulk/subscription-contracts"
119
- }
120
- ]
121
- };
122
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
123
- }
124
- var PACKAGE_NAME = "@wix/auto_sdk_ecom_subscription-contracts";
125
- function getSubscriptionContract(payload) {
126
- function __getSubscriptionContract({ host }) {
127
- const metadata = {
128
- entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
129
- method: "GET",
130
- methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.GetSubscriptionContract",
131
- packageName: PACKAGE_NAME,
132
- migrationOptions: {
133
- optInTransformResponse: true
134
- },
135
- url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
136
- protoPath: "/v1/subscription-contracts/{subscriptionContractId}",
137
- data: payload,
138
- host
139
- }),
140
- params: (0, import_rest_modules.toURLSearchParams)(payload),
141
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
142
- {
143
- transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
144
- paths: [
145
- { path: "subscriptionContract.createdDate" },
146
- { path: "subscriptionContract.updatedDate" },
147
- { path: "subscriptionContract.subscriptionSettings.startDate" },
148
- {
149
- path: "subscriptionContract.lineItems.image.urlExpirationDate"
150
- },
151
- {
152
- path: "subscriptionContract.lineItems.digitalFile.expirationDate"
153
- },
154
- {
155
- path: "subscriptionContract.lineItems.subscriptionInfo.subscriptionSettings.startDate"
156
- },
157
- {
158
- path: "subscriptionContract.lineItems.serviceProperties.scheduledDate"
159
- },
160
- {
161
- path: "subscriptionContract.lineItems.serviceProperties.endDate"
162
- },
163
- {
164
- path: "subscriptionContract.shippingInfo.logistics.deliverByDate"
165
- },
166
- {
167
- path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.from"
168
- },
169
- {
170
- path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.to"
171
- },
172
- { path: "subscriptionContract.activities.createdDate" }
173
- ]
174
- },
175
- {
176
- transformFn: import_float.transformRESTFloatToSDKFloat,
177
- paths: [
178
- { path: "subscriptionContract.lineItems.image.focalPoint.x" },
179
- { path: "subscriptionContract.lineItems.image.focalPoint.y" },
180
- {
181
- path: "subscriptionContract.lineItems.physicalProperties.weight"
182
- },
183
- {
184
- path: "subscriptionContract.billingInfo.address.geocode.latitude"
185
- },
186
- {
187
- path: "subscriptionContract.billingInfo.address.geocode.longitude"
188
- },
189
- {
190
- path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
191
- },
192
- {
193
- path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
194
- },
195
- {
196
- path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
197
- },
198
- {
199
- path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
200
- },
201
- {
202
- path: "subscriptionContract.recipientInfo.address.geocode.latitude"
203
- },
204
- {
205
- path: "subscriptionContract.recipientInfo.address.geocode.longitude"
206
- }
207
- ]
208
- }
209
- ])
210
- };
211
- return metadata;
212
- }
213
- return __getSubscriptionContract;
214
- }
215
- function querySubscriptionContracts(payload) {
216
- function __querySubscriptionContracts({ host }) {
217
- const metadata = {
218
- entityFqdn: "wix.ecom.subscription_contracts.v1.subscription_contract",
219
- method: "GET",
220
- methodFqn: "wix.ecom.subscription_contracts.v1.SubscriptionContracts.QuerySubscriptionContracts",
221
- packageName: PACKAGE_NAME,
222
- migrationOptions: {
223
- optInTransformResponse: true
224
- },
225
- url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
226
- protoPath: "/v1/subscription-contracts/query",
227
- data: payload,
228
- host
229
- }),
230
- params: (0, import_rest_modules.toURLSearchParams)(payload, true),
231
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
232
- {
233
- transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
234
- paths: [
235
- { path: "subscriptionContracts.createdDate" },
236
- { path: "subscriptionContracts.updatedDate" },
237
- { path: "subscriptionContracts.subscriptionSettings.startDate" },
238
- {
239
- path: "subscriptionContracts.lineItems.image.urlExpirationDate"
240
- },
241
- {
242
- path: "subscriptionContracts.lineItems.digitalFile.expirationDate"
243
- },
244
- {
245
- path: "subscriptionContracts.lineItems.subscriptionInfo.subscriptionSettings.startDate"
246
- },
247
- {
248
- path: "subscriptionContracts.lineItems.serviceProperties.scheduledDate"
249
- },
250
- {
251
- path: "subscriptionContracts.lineItems.serviceProperties.endDate"
252
- },
253
- {
254
- path: "subscriptionContracts.shippingInfo.logistics.deliverByDate"
255
- },
256
- {
257
- path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.from"
258
- },
259
- {
260
- path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.to"
261
- },
262
- { path: "subscriptionContracts.activities.createdDate" }
263
- ]
264
- },
265
- {
266
- transformFn: import_float.transformRESTFloatToSDKFloat,
267
- paths: [
268
- { path: "subscriptionContracts.lineItems.image.focalPoint.x" },
269
- { path: "subscriptionContracts.lineItems.image.focalPoint.y" },
270
- {
271
- path: "subscriptionContracts.lineItems.physicalProperties.weight"
272
- },
273
- {
274
- path: "subscriptionContracts.billingInfo.address.geocode.latitude"
275
- },
276
- {
277
- path: "subscriptionContracts.billingInfo.address.geocode.longitude"
278
- },
279
- {
280
- path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
281
- },
282
- {
283
- path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
284
- },
285
- {
286
- path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
287
- },
288
- {
289
- path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
290
- },
291
- {
292
- path: "subscriptionContracts.recipientInfo.address.geocode.latitude"
293
- },
294
- {
295
- path: "subscriptionContracts.recipientInfo.address.geocode.longitude"
296
- }
297
- ]
298
- }
299
- ]),
300
- fallback: [
301
- {
302
- method: "POST",
303
- url: resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl({
304
- protoPath: "/v1/subscription-contracts/query",
305
- data: payload,
306
- host
307
- }),
308
- data: payload
309
- }
310
- ]
311
- };
312
- return metadata;
313
- }
314
- return __querySubscriptionContracts;
315
- }
316
-
317
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.ts
318
- var import_address = require("@wix/sdk-runtime/transformations/address");
319
- var import_image = require("@wix/sdk-runtime/transformations/image");
320
- var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
321
- var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
322
- var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
323
- SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
324
- SubscriptionFrequency2["DAY"] = "DAY";
325
- SubscriptionFrequency2["WEEK"] = "WEEK";
326
- SubscriptionFrequency2["MONTH"] = "MONTH";
327
- SubscriptionFrequency2["YEAR"] = "YEAR";
328
- return SubscriptionFrequency2;
329
- })(SubscriptionFrequency || {});
330
- var SubscriptionSettingsProductPeriodAlignment = /* @__PURE__ */ ((SubscriptionSettingsProductPeriodAlignment2) => {
331
- SubscriptionSettingsProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
332
- SubscriptionSettingsProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
333
- return SubscriptionSettingsProductPeriodAlignment2;
334
- })(SubscriptionSettingsProductPeriodAlignment || {});
335
- var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
336
- DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
337
- DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
338
- DescriptionLineType2["COLOR"] = "COLOR";
339
- return DescriptionLineType2;
340
- })(DescriptionLineType || {});
341
- var DimensionsUnit = /* @__PURE__ */ ((DimensionsUnit2) => {
342
- DimensionsUnit2["UNKNOWN_DIMENSIONS_UNIT"] = "UNKNOWN_DIMENSIONS_UNIT";
343
- DimensionsUnit2["MM"] = "MM";
344
- DimensionsUnit2["CM"] = "CM";
345
- DimensionsUnit2["M"] = "M";
346
- DimensionsUnit2["IN"] = "IN";
347
- DimensionsUnit2["FT"] = "FT";
348
- DimensionsUnit2["YD"] = "YD";
349
- return DimensionsUnit2;
350
- })(DimensionsUnit || {});
351
- var ItemTypePreset = /* @__PURE__ */ ((ItemTypePreset2) => {
352
- ItemTypePreset2["UNRECOGNISED"] = "UNRECOGNISED";
353
- ItemTypePreset2["PHYSICAL"] = "PHYSICAL";
354
- ItemTypePreset2["DIGITAL"] = "DIGITAL";
355
- ItemTypePreset2["GIFT_CARD"] = "GIFT_CARD";
356
- ItemTypePreset2["SERVICE"] = "SERVICE";
357
- return ItemTypePreset2;
358
- })(ItemTypePreset || {});
359
- var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
360
- PaymentOptionType2["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
361
- PaymentOptionType2["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
362
- PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
363
- PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
364
- PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
365
- PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
366
- return PaymentOptionType2;
367
- })(PaymentOptionType || {});
368
- var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
369
- JurisdictionType2["UNDEFINED"] = "UNDEFINED";
370
- JurisdictionType2["COUNTRY"] = "COUNTRY";
371
- JurisdictionType2["STATE"] = "STATE";
372
- JurisdictionType2["COUNTY"] = "COUNTY";
373
- JurisdictionType2["CITY"] = "CITY";
374
- JurisdictionType2["SPECIAL"] = "SPECIAL";
375
- return JurisdictionType2;
376
- })(JurisdictionType || {});
377
- var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
378
- V2SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
379
- V2SubscriptionFrequency2["DAY"] = "DAY";
380
- V2SubscriptionFrequency2["WEEK"] = "WEEK";
381
- V2SubscriptionFrequency2["MONTH"] = "MONTH";
382
- V2SubscriptionFrequency2["YEAR"] = "YEAR";
383
- return V2SubscriptionFrequency2;
384
- })(V2SubscriptionFrequency || {});
385
- var ProductPeriodAlignment = /* @__PURE__ */ ((ProductPeriodAlignment2) => {
386
- ProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
387
- ProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
388
- return ProductPeriodAlignment2;
389
- })(ProductPeriodAlignment || {});
390
- var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
391
- AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
392
- AdjustmentType2["CREDIT"] = "CREDIT";
393
- return AdjustmentType2;
394
- })(AdjustmentType || {});
395
- var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
396
- TaxableAddressType2["BUSINESS"] = "BUSINESS";
397
- TaxableAddressType2["BILLING"] = "BILLING";
398
- TaxableAddressType2["SHIPPING"] = "SHIPPING";
399
- return TaxableAddressType2;
400
- })(TaxableAddressType || {});
401
- var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
402
- MeasurementUnit2["UNSPECIFIED"] = "UNSPECIFIED";
403
- MeasurementUnit2["ML"] = "ML";
404
- MeasurementUnit2["CL"] = "CL";
405
- MeasurementUnit2["L"] = "L";
406
- MeasurementUnit2["CBM"] = "CBM";
407
- MeasurementUnit2["MG"] = "MG";
408
- MeasurementUnit2["G"] = "G";
409
- MeasurementUnit2["KG"] = "KG";
410
- MeasurementUnit2["MM"] = "MM";
411
- MeasurementUnit2["CM"] = "CM";
412
- MeasurementUnit2["M"] = "M";
413
- MeasurementUnit2["SQM"] = "SQM";
414
- MeasurementUnit2["OZ"] = "OZ";
415
- MeasurementUnit2["LB"] = "LB";
416
- MeasurementUnit2["FLOZ"] = "FLOZ";
417
- MeasurementUnit2["PT"] = "PT";
418
- MeasurementUnit2["QT"] = "QT";
419
- MeasurementUnit2["GAL"] = "GAL";
420
- MeasurementUnit2["IN"] = "IN";
421
- MeasurementUnit2["FT"] = "FT";
422
- MeasurementUnit2["YD"] = "YD";
423
- MeasurementUnit2["SQFT"] = "SQFT";
424
- return MeasurementUnit2;
425
- })(MeasurementUnit || {});
426
- var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
427
- WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
428
- WeightUnit2["KG"] = "KG";
429
- WeightUnit2["LB"] = "LB";
430
- return WeightUnit2;
431
- })(WeightUnit || {});
432
- var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
433
- ChargeType2["PASS_ON"] = "PASS_ON";
434
- ChargeType2["ABSORBED"] = "ABSORBED";
435
- return ChargeType2;
436
- })(ChargeType || {});
437
- var VatType = /* @__PURE__ */ ((VatType2) => {
438
- VatType2["UNSPECIFIED"] = "UNSPECIFIED";
439
- VatType2["CPF"] = "CPF";
440
- VatType2["CNPJ"] = "CNPJ";
441
- return VatType2;
442
- })(VatType || {});
443
- var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
444
- PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
445
- PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
446
- return PickupMethod2;
447
- })(PickupMethod || {});
448
- var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
449
- DiscountType2["GLOBAL"] = "GLOBAL";
450
- DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
451
- DiscountType2["SHIPPING"] = "SHIPPING";
452
- return DiscountType2;
453
- })(DiscountType || {});
454
- var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
455
- DiscountReason2["UNSPECIFIED"] = "UNSPECIFIED";
456
- DiscountReason2["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
457
- DiscountReason2["BILLING_ADJUSTMENT"] = "BILLING_ADJUSTMENT";
458
- return DiscountReason2;
459
- })(DiscountReason || {});
460
- var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
461
- ChannelType2["UNSPECIFIED"] = "UNSPECIFIED";
462
- ChannelType2["WEB"] = "WEB";
463
- ChannelType2["POS"] = "POS";
464
- ChannelType2["EBAY"] = "EBAY";
465
- ChannelType2["AMAZON"] = "AMAZON";
466
- ChannelType2["OTHER_PLATFORM"] = "OTHER_PLATFORM";
467
- ChannelType2["WIX_APP_STORE"] = "WIX_APP_STORE";
468
- ChannelType2["WIX_INVOICES"] = "WIX_INVOICES";
469
- ChannelType2["BACKOFFICE_MERCHANT"] = "BACKOFFICE_MERCHANT";
470
- ChannelType2["WISH"] = "WISH";
471
- ChannelType2["CLASS_PASS"] = "CLASS_PASS";
472
- ChannelType2["GLOBAL_E"] = "GLOBAL_E";
473
- ChannelType2["FACEBOOK"] = "FACEBOOK";
474
- ChannelType2["ETSY"] = "ETSY";
475
- ChannelType2["TIKTOK"] = "TIKTOK";
476
- ChannelType2["FAIRE_COM"] = "FAIRE_COM";
477
- ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
478
- ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
479
- ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
480
- ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
481
- return ChannelType2;
482
- })(ChannelType || {});
483
- var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
484
- AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
485
- AdditionalFeeSource2["ITEM"] = "ITEM";
486
- AdditionalFeeSource2["MANUAL"] = "MANUAL";
487
- AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
488
- AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
489
- return AdditionalFeeSource2;
490
- })(AdditionalFeeSource || {});
491
- var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
492
- SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
493
- SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
494
- SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
495
- return SpecificItemsCouponBehavior2;
496
- })(SpecificItemsCouponBehavior || {});
497
- var LineItemQuantityChangeType = /* @__PURE__ */ ((LineItemQuantityChangeType2) => {
498
- LineItemQuantityChangeType2["QUANTITY_INCREASED"] = "QUANTITY_INCREASED";
499
- LineItemQuantityChangeType2["QUANTITY_DECREASED"] = "QUANTITY_DECREASED";
500
- return LineItemQuantityChangeType2;
501
- })(LineItemQuantityChangeType || {});
502
- var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
503
- ActivityType2["UNKNOWN_ACTIVITY_TYPE"] = "UNKNOWN_ACTIVITY_TYPE";
504
- ActivityType2["CHANGES_APPLIED"] = "CHANGES_APPLIED";
505
- return ActivityType2;
506
- })(ActivityType || {});
507
- var ActionInitiator = /* @__PURE__ */ ((ActionInitiator2) => {
508
- ActionInitiator2["UNKNOWN_ACTION_INITIATOR"] = "UNKNOWN_ACTION_INITIATOR";
509
- ActionInitiator2["BUSINESS"] = "BUSINESS";
510
- ActionInitiator2["CUSTOMER"] = "CUSTOMER";
511
- ActionInitiator2["SYSTEM"] = "SYSTEM";
512
- ActionInitiator2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
513
- return ActionInitiator2;
514
- })(ActionInitiator || {});
515
- var ChangeType = /* @__PURE__ */ ((ChangeType2) => {
516
- ChangeType2["ADDED"] = "ADDED";
517
- ChangeType2["CHANGED"] = "CHANGED";
518
- ChangeType2["REMOVED"] = "REMOVED";
519
- return ChangeType2;
520
- })(ChangeType || {});
521
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
522
- SortOrder2["ASC"] = "ASC";
523
- SortOrder2["DESC"] = "DESC";
524
- return SortOrder2;
525
- })(SortOrder || {});
526
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
527
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
528
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
529
- WebhookIdentityType2["MEMBER"] = "MEMBER";
530
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
531
- WebhookIdentityType2["APP"] = "APP";
532
- return WebhookIdentityType2;
533
- })(WebhookIdentityType || {});
534
- async function getSubscriptionContract2(subscriptionContractId) {
535
- const { httpClient, sideEffects } = arguments[1];
536
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
537
- subscriptionContractId
538
- });
539
- const reqOpts = getSubscriptionContract(
540
- payload
541
- );
542
- sideEffects?.onSiteCall?.();
543
- try {
544
- const result = await httpClient.request(reqOpts);
545
- sideEffects?.onSuccess?.(result);
546
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
547
- (0, import_transform_paths2.transformPaths)(result.data, [
548
- {
549
- transformFn: import_image.transformRESTImageToSDKImage,
550
- paths: [{ path: "subscriptionContract.lineItems.image" }]
551
- },
552
- {
553
- transformFn: import_address.transformRESTAddressToSDKAddress,
554
- paths: [
555
- { path: "subscriptionContract.billingInfo.address" },
556
- {
557
- path: "subscriptionContract.shippingInfo.logistics.shippingDestination.address"
558
- },
559
- {
560
- path: "subscriptionContract.shippingInfo.logistics.pickupDetails.address"
561
- },
562
- { path: "subscriptionContract.recipientInfo.address" }
563
- ]
564
- }
565
- ])
566
- )?.subscriptionContract;
567
- } catch (err) {
568
- const transformedError = (0, import_transform_error.transformError)(
569
- err,
570
- {
571
- spreadPathsToArguments: {},
572
- explicitPathsToArguments: { subscriptionContractId: "$[0]" },
573
- singleArgumentUnchanged: false
574
- },
575
- ["subscriptionContractId"]
576
- );
577
- sideEffects?.onError?.(err);
578
- throw transformedError;
579
- }
580
- }
581
- function querySubscriptionContracts2() {
582
- const { httpClient, sideEffects } = arguments[0];
583
- return (0, import_query_builder.queryBuilder)({
584
- func: async (payload) => {
585
- const reqOpts = querySubscriptionContracts(
586
- payload
587
- );
588
- sideEffects?.onSiteCall?.();
589
- try {
590
- const result = await httpClient.request(reqOpts);
591
- sideEffects?.onSuccess?.(result);
592
- return result;
593
- } catch (err) {
594
- sideEffects?.onError?.(err);
595
- throw err;
596
- }
597
- },
598
- requestTransformer: (query) => {
599
- const args = [query, {}];
600
- return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
601
- ...args?.[1],
602
- query: args?.[0]
603
- });
604
- },
605
- responseTransformer: ({
606
- data
607
- }) => {
608
- const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
609
- (0, import_transform_paths2.transformPaths)(data, [
610
- {
611
- transformFn: import_image.transformRESTImageToSDKImage,
612
- paths: [{ path: "subscriptionContracts.lineItems.image" }]
613
- },
614
- {
615
- transformFn: import_address.transformRESTAddressToSDKAddress,
616
- paths: [
617
- { path: "subscriptionContracts.billingInfo.address" },
618
- {
619
- path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address"
620
- },
621
- {
622
- path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address"
623
- },
624
- { path: "subscriptionContracts.recipientInfo.address" }
625
- ]
626
- }
627
- ])
628
- );
629
- return {
630
- items: transformedData?.subscriptionContracts,
631
- pagingMetadata: transformedData?.pagingMetadata
632
- };
633
- },
634
- errorTransformer: (err) => {
635
- const transformedError = (0, import_transform_error.transformError)(err, {
636
- spreadPathsToArguments: {},
637
- explicitPathsToArguments: { query: "$[0]" },
638
- singleArgumentUnchanged: false
639
- });
640
- throw transformedError;
641
- },
642
- pagingMethod: "CURSOR",
643
- transformationPaths: {}
644
- });
645
- }
646
- async function typedQuerySubscriptionContracts(query) {
647
- const { httpClient, sideEffects } = arguments[1];
648
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query });
649
- const reqOpts = querySubscriptionContracts(
650
- payload
651
- );
652
- sideEffects?.onSiteCall?.();
653
- try {
654
- const result = await httpClient.request(reqOpts);
655
- sideEffects?.onSuccess?.(result);
656
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
657
- (0, import_transform_paths2.transformPaths)(result.data, [
658
- {
659
- transformFn: import_image.transformRESTImageToSDKImage,
660
- paths: [{ path: "subscriptionContracts.lineItems.image" }]
661
- },
662
- {
663
- transformFn: import_address.transformRESTAddressToSDKAddress,
664
- paths: [
665
- { path: "subscriptionContracts.billingInfo.address" },
666
- {
667
- path: "subscriptionContracts.shippingInfo.logistics.shippingDestination.address"
668
- },
669
- {
670
- path: "subscriptionContracts.shippingInfo.logistics.pickupDetails.address"
671
- },
672
- { path: "subscriptionContracts.recipientInfo.address" }
673
- ]
674
- }
675
- ])
676
- );
677
- } catch (err) {
678
- const transformedError = (0, import_transform_error.transformError)(
679
- err,
680
- {
681
- spreadPathsToArguments: {},
682
- explicitPathsToArguments: { query: "$[0]" },
683
- singleArgumentUnchanged: false
684
- },
685
- ["query"]
686
- );
687
- sideEffects?.onError?.(err);
688
- throw transformedError;
689
- }
690
- }
691
- var utils = {
692
- query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
693
- };
694
-
695
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.public.ts
696
- function getSubscriptionContract3(httpClient) {
697
- return (subscriptionContractId) => getSubscriptionContract2(
698
- subscriptionContractId,
699
- // @ts-ignore
700
- { httpClient }
701
- );
702
- }
703
- function querySubscriptionContracts3(httpClient) {
704
- return () => querySubscriptionContracts2(
705
- // @ts-ignore
706
- { httpClient }
707
- );
708
- }
709
- function typedQuerySubscriptionContracts2(httpClient) {
710
- return (query) => typedQuerySubscriptionContracts(
711
- query,
712
- // @ts-ignore
713
- { httpClient }
714
- );
715
- }
716
- var onSubscriptionContractCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
717
- "wix.ecom.subscription_contracts.v1.subscription_contract_created",
718
- true,
719
- (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
720
- (0, import_transform_paths3.transformPaths)(event, [
721
- {
722
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
723
- paths: [
724
- { path: "entity.createdDate" },
725
- { path: "entity.updatedDate" },
726
- { path: "entity.subscriptionSettings.startDate" },
727
- { path: "entity.lineItems.digitalFile.expirationDate" },
728
- {
729
- path: "entity.lineItems.subscriptionInfo.subscriptionSettings.startDate"
730
- },
731
- { path: "entity.lineItems.serviceProperties.scheduledDate" },
732
- { path: "entity.lineItems.serviceProperties.endDate" },
733
- { path: "entity.shippingInfo.logistics.deliverByDate" },
734
- { path: "entity.shippingInfo.logistics.deliveryTimeSlot.from" },
735
- { path: "entity.shippingInfo.logistics.deliveryTimeSlot.to" },
736
- { path: "entity.activities.createdDate" },
737
- { path: "metadata.eventTime" }
738
- ]
739
- },
740
- {
741
- transformFn: import_image2.transformRESTImageToSDKImage,
742
- paths: [{ path: "entity.lineItems.image" }]
743
- },
744
- {
745
- transformFn: import_float2.transformRESTFloatToSDKFloat,
746
- paths: [{ path: "entity.lineItems.physicalProperties.weight" }]
747
- },
748
- {
749
- transformFn: import_address2.transformRESTAddressToSDKAddress,
750
- paths: [
751
- { path: "entity.billingInfo.address" },
752
- {
753
- path: "entity.shippingInfo.logistics.shippingDestination.address"
754
- },
755
- { path: "entity.shippingInfo.logistics.pickupDetails.address" },
756
- { path: "entity.recipientInfo.address" }
757
- ]
758
- }
759
- ])
760
- )
761
- )();
762
- var onSubscriptionContractDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
763
- "wix.ecom.subscription_contracts.v1.subscription_contract_deleted",
764
- true,
765
- (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
766
- (0, import_transform_paths3.transformPaths)(event, [
767
- {
768
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
769
- paths: [
770
- { path: "undefined.createdDate" },
771
- { path: "undefined.updatedDate" },
772
- { path: "undefined.subscriptionSettings.startDate" },
773
- { path: "undefined.lineItems.digitalFile.expirationDate" },
774
- {
775
- path: "undefined.lineItems.subscriptionInfo.subscriptionSettings.startDate"
776
- },
777
- { path: "undefined.lineItems.serviceProperties.scheduledDate" },
778
- { path: "undefined.lineItems.serviceProperties.endDate" },
779
- { path: "undefined.shippingInfo.logistics.deliverByDate" },
780
- { path: "undefined.shippingInfo.logistics.deliveryTimeSlot.from" },
781
- { path: "undefined.shippingInfo.logistics.deliveryTimeSlot.to" },
782
- { path: "undefined.activities.createdDate" },
783
- { path: "metadata.eventTime" }
784
- ]
785
- },
786
- {
787
- transformFn: import_image2.transformRESTImageToSDKImage,
788
- paths: [{ path: "undefined.lineItems.image" }]
789
- },
790
- {
791
- transformFn: import_float2.transformRESTFloatToSDKFloat,
792
- paths: [{ path: "undefined.lineItems.physicalProperties.weight" }]
793
- },
794
- {
795
- transformFn: import_address2.transformRESTAddressToSDKAddress,
796
- paths: [
797
- { path: "undefined.billingInfo.address" },
798
- {
799
- path: "undefined.shippingInfo.logistics.shippingDestination.address"
800
- },
801
- { path: "undefined.shippingInfo.logistics.pickupDetails.address" },
802
- { path: "undefined.recipientInfo.address" }
803
- ]
804
- }
805
- ])
806
- )
807
- )();
808
- var onSubscriptionContractUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
809
- "wix.ecom.subscription_contracts.v1.subscription_contract_updated",
810
- true,
811
- (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
812
- (0, import_transform_paths3.transformPaths)(event, [
813
- {
814
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
815
- paths: [
816
- { path: "entity.createdDate" },
817
- { path: "entity.updatedDate" },
818
- { path: "entity.subscriptionSettings.startDate" },
819
- { path: "entity.lineItems.digitalFile.expirationDate" },
820
- {
821
- path: "entity.lineItems.subscriptionInfo.subscriptionSettings.startDate"
822
- },
823
- { path: "entity.lineItems.serviceProperties.scheduledDate" },
824
- { path: "entity.lineItems.serviceProperties.endDate" },
825
- { path: "entity.shippingInfo.logistics.deliverByDate" },
826
- { path: "entity.shippingInfo.logistics.deliveryTimeSlot.from" },
827
- { path: "entity.shippingInfo.logistics.deliveryTimeSlot.to" },
828
- { path: "entity.activities.createdDate" },
829
- { path: "metadata.eventTime" },
830
- { path: "modifiedFields.createdDate" },
831
- { path: "modifiedFields.updatedDate" },
832
- { path: "modifiedFields.subscriptionSettings.startDate" },
833
- { path: "modifiedFields.lineItems.digitalFile.expirationDate" },
834
- {
835
- path: "modifiedFields.lineItems.subscriptionInfo.subscriptionSettings.startDate"
836
- },
837
- {
838
- path: "modifiedFields.lineItems.serviceProperties.scheduledDate"
839
- },
840
- { path: "modifiedFields.lineItems.serviceProperties.endDate" },
841
- { path: "modifiedFields.shippingInfo.logistics.deliverByDate" },
842
- {
843
- path: "modifiedFields.shippingInfo.logistics.deliveryTimeSlot.from"
844
- },
845
- {
846
- path: "modifiedFields.shippingInfo.logistics.deliveryTimeSlot.to"
847
- },
848
- { path: "modifiedFields.activities.createdDate" }
849
- ]
850
- },
851
- {
852
- transformFn: import_image2.transformRESTImageToSDKImage,
853
- paths: [
854
- { path: "entity.lineItems.image" },
855
- { path: "modifiedFields.lineItems.image" }
856
- ]
857
- },
858
- {
859
- transformFn: import_float2.transformRESTFloatToSDKFloat,
860
- paths: [
861
- { path: "entity.lineItems.physicalProperties.weight" },
862
- { path: "modifiedFields.lineItems.physicalProperties.weight" }
863
- ]
864
- },
865
- {
866
- transformFn: import_address2.transformRESTAddressToSDKAddress,
867
- paths: [
868
- { path: "entity.billingInfo.address" },
869
- {
870
- path: "entity.shippingInfo.logistics.shippingDestination.address"
871
- },
872
- { path: "entity.shippingInfo.logistics.pickupDetails.address" },
873
- { path: "entity.recipientInfo.address" },
874
- { path: "modifiedFields.billingInfo.address" },
875
- {
876
- path: "modifiedFields.shippingInfo.logistics.shippingDestination.address"
877
- },
878
- {
879
- path: "modifiedFields.shippingInfo.logistics.pickupDetails.address"
880
- },
881
- { path: "modifiedFields.recipientInfo.address" }
882
- ]
883
- }
884
- ])
885
- )
886
- )();
887
-
888
- // src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.context.ts
889
- var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
890
- var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
891
- var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
892
- function customQuerySubscriptionContracts(httpClient) {
893
- const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
894
- builderQueryFunction: () => querySubscriptionContracts3(httpClient)(),
895
- typedQueryFunction: (query) => typedQuerySubscriptionContracts2(httpClient)(query),
896
- hasOptionsParameter: false
897
- });
898
- function overloadedQuery(query) {
899
- return router(...arguments);
900
- }
901
- return overloadedQuery;
902
- }
903
- var getSubscriptionContract4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getSubscriptionContract3);
904
- var querySubscriptionContracts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQuerySubscriptionContracts);
905
- var onSubscriptionContractCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
906
- onSubscriptionContractCreated
907
- );
908
- var onSubscriptionContractDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
909
- onSubscriptionContractDeleted
910
- );
911
- var onSubscriptionContractUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
912
- onSubscriptionContractUpdated
913
- );
914
- // Annotate the CommonJS export names for ESM import in node:
915
- 0 && (module.exports = {
916
- ActionInitiator,
917
- ActivityType,
918
- AdditionalFeeSource,
919
- AdjustmentType,
920
- ChangeType,
921
- ChannelType,
922
- ChargeType,
923
- DescriptionLineType,
924
- DimensionsUnit,
925
- DiscountReason,
926
- DiscountType,
927
- ItemTypePreset,
928
- JurisdictionType,
929
- LineItemQuantityChangeType,
930
- MeasurementUnit,
931
- PaymentOptionType,
932
- PickupMethod,
933
- ProductPeriodAlignment,
934
- SortOrder,
935
- SpecificItemsCouponBehavior,
936
- SubscriptionFrequency,
937
- SubscriptionSettingsProductPeriodAlignment,
938
- TaxableAddressType,
939
- V2SubscriptionFrequency,
940
- VatType,
941
- WebhookIdentityType,
942
- WeightUnit,
943
- getSubscriptionContract,
944
- onSubscriptionContractCreated,
945
- onSubscriptionContractDeleted,
946
- onSubscriptionContractUpdated,
947
- querySubscriptionContracts,
948
- utils
949
- });
950
- //# sourceMappingURL=index.js.map