@wix/auto_sdk_ecom_cart 1.0.13 → 1.0.15

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 (133) hide show
  1. package/build/{cjs/src/ecom-v1-cart-cart.types.d.ts → ecom-v1-cart-cart.universal-BIIZxJYL.d.mts} +504 -269
  2. package/build/{internal/cjs/src/ecom-v1-cart-cart.types.d.ts → ecom-v1-cart-cart.universal-BIIZxJYL.d.ts} +504 -269
  3. package/build/index.d.mts +149 -0
  4. package/build/index.d.ts +149 -0
  5. package/build/index.js +1938 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1875 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/ecom-v1-cart-cart.types.d.ts → ecom-v1-cart-cart.universal-CJdmyIWv.d.mts} +668 -269
  10. package/build/{es/src/ecom-v1-cart-cart.types.d.ts → internal/ecom-v1-cart-cart.universal-CJdmyIWv.d.ts} +668 -269
  11. package/build/internal/index.d.mts +160 -0
  12. package/build/internal/index.d.ts +160 -0
  13. package/build/internal/index.js +1938 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1875 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +2050 -0
  18. package/build/internal/meta.d.ts +2050 -0
  19. package/build/internal/meta.js +1027 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +989 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +2050 -0
  24. package/build/meta.d.ts +2050 -0
  25. package/build/meta.js +1027 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +989 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-cart-cart.context.d.ts +0 -29
  40. package/build/cjs/src/ecom-v1-cart-cart.context.js +0 -59
  41. package/build/cjs/src/ecom-v1-cart-cart.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-cart-cart.http.d.ts +0 -60
  43. package/build/cjs/src/ecom-v1-cart-cart.http.js +0 -818
  44. package/build/cjs/src/ecom-v1-cart-cart.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  46. package/build/cjs/src/ecom-v1-cart-cart.meta.js +0 -256
  47. package/build/cjs/src/ecom-v1-cart-cart.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-cart-cart.public.d.ts +0 -129
  49. package/build/cjs/src/ecom-v1-cart-cart.public.js +0 -227
  50. package/build/cjs/src/ecom-v1-cart-cart.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-cart-cart.types.js +0 -255
  52. package/build/cjs/src/ecom-v1-cart-cart.types.js.map +0 -1
  53. package/build/cjs/src/ecom-v1-cart-cart.universal.d.ts +0 -3263
  54. package/build/cjs/src/ecom-v1-cart-cart.universal.js +0 -1192
  55. package/build/cjs/src/ecom-v1-cart-cart.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/ecom-v1-cart-cart.context.d.ts +0 -29
  66. package/build/es/src/ecom-v1-cart-cart.context.js +0 -31
  67. package/build/es/src/ecom-v1-cart-cart.context.js.map +0 -1
  68. package/build/es/src/ecom-v1-cart-cart.http.d.ts +0 -60
  69. package/build/es/src/ecom-v1-cart-cart.http.js +0 -803
  70. package/build/es/src/ecom-v1-cart-cart.http.js.map +0 -1
  71. package/build/es/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  72. package/build/es/src/ecom-v1-cart-cart.meta.js +0 -218
  73. package/build/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
  74. package/build/es/src/ecom-v1-cart-cart.public.d.ts +0 -129
  75. package/build/es/src/ecom-v1-cart-cart.public.js +0 -187
  76. package/build/es/src/ecom-v1-cart-cart.public.js.map +0 -1
  77. package/build/es/src/ecom-v1-cart-cart.types.js +0 -252
  78. package/build/es/src/ecom-v1-cart-cart.types.js.map +0 -1
  79. package/build/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3263
  80. package/build/es/src/ecom-v1-cart-cart.universal.js +0 -1154
  81. package/build/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/ecom-v1-cart-cart.context.d.ts +0 -31
  92. package/build/internal/cjs/src/ecom-v1-cart-cart.context.js +0 -59
  93. package/build/internal/cjs/src/ecom-v1-cart-cart.context.js.map +0 -1
  94. package/build/internal/cjs/src/ecom-v1-cart-cart.http.d.ts +0 -60
  95. package/build/internal/cjs/src/ecom-v1-cart-cart.http.js +0 -818
  96. package/build/internal/cjs/src/ecom-v1-cart-cart.http.js.map +0 -1
  97. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  98. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.js +0 -256
  99. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.js.map +0 -1
  100. package/build/internal/cjs/src/ecom-v1-cart-cart.public.d.ts +0 -138
  101. package/build/internal/cjs/src/ecom-v1-cart-cart.public.js +0 -227
  102. package/build/internal/cjs/src/ecom-v1-cart-cart.public.js.map +0 -1
  103. package/build/internal/cjs/src/ecom-v1-cart-cart.types.js +0 -255
  104. package/build/internal/cjs/src/ecom-v1-cart-cart.types.js.map +0 -1
  105. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.d.ts +0 -3457
  106. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.js +0 -1192
  107. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/ecom-v1-cart-cart.context.d.ts +0 -31
  118. package/build/internal/es/src/ecom-v1-cart-cart.context.js +0 -31
  119. package/build/internal/es/src/ecom-v1-cart-cart.context.js.map +0 -1
  120. package/build/internal/es/src/ecom-v1-cart-cart.http.d.ts +0 -60
  121. package/build/internal/es/src/ecom-v1-cart-cart.http.js +0 -803
  122. package/build/internal/es/src/ecom-v1-cart-cart.http.js.map +0 -1
  123. package/build/internal/es/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  124. package/build/internal/es/src/ecom-v1-cart-cart.meta.js +0 -218
  125. package/build/internal/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
  126. package/build/internal/es/src/ecom-v1-cart-cart.public.d.ts +0 -138
  127. package/build/internal/es/src/ecom-v1-cart-cart.public.js +0 -187
  128. package/build/internal/es/src/ecom-v1-cart-cart.public.js.map +0 -1
  129. package/build/internal/es/src/ecom-v1-cart-cart.types.js +0 -252
  130. package/build/internal/es/src/ecom-v1-cart-cart.types.js.map +0 -1
  131. package/build/internal/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3457
  132. package/build/internal/es/src/ecom-v1-cart-cart.universal.js +0 -1154
  133. package/build/internal/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
@@ -1,227 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WeightUnit = exports.WebhookIdentityType = exports.VatType = exports.TaxableAddressType = exports.SuggestedFix = exports.SubscriptionFrequency = exports.Severity = exports.RuleType = exports.RateType = exports.PickupMethod = exports.PaymentOptionType = exports.NameInOther = exports.NameInLineItem = exports.ManualCalculationReason = exports.JurisdictionType = exports.ItemTypeItemType = exports.ItemAvailabilityStatus = exports.FileType = exports.FallbackReason = exports.DiscountType = exports.DescriptionLineType = exports.ChargeType = exports.ChannelType = exports.AppliedDiscountDiscountType = exports.AdditionalFeeSource = exports.onCartCreated = exports.onCartUpdated = exports.onCartDeleted = exports.removeBusinessLocation = exports.deleteCart = exports.estimateTotals = exports.updateLineItemsQuantity = exports.removeCoupon = exports.createCheckout = exports.removeLineItems = exports.addToCart = exports.getCartByCheckoutId = exports.getCart = exports.updateCart = exports.createCart = exports.__metadata = void 0;
4
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
- const address_1 = require("@wix/sdk-runtime/transformations/address");
6
- const float_1 = require("@wix/sdk-runtime/transformations/float");
7
- const image_1 = require("@wix/sdk-runtime/transformations/image");
8
- const page_url_v2_1 = require("@wix/sdk-runtime/transformations/page-url-v2");
9
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
10
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
11
- const sdk_types_1 = require("@wix/sdk-types");
12
- const ecom_v1_cart_cart_universal_js_1 = require("./ecom-v1-cart-cart.universal.js");
13
- exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
14
- function createCart(httpClient) {
15
- return (options) => (0, ecom_v1_cart_cart_universal_js_1.createCart)(options,
16
- // @ts-ignore
17
- { httpClient });
18
- }
19
- exports.createCart = createCart;
20
- function updateCart(httpClient) {
21
- return (_id, options) => (0, ecom_v1_cart_cart_universal_js_1.updateCart)(_id, options,
22
- // @ts-ignore
23
- { httpClient });
24
- }
25
- exports.updateCart = updateCart;
26
- function getCart(httpClient) {
27
- return (_id) => (0, ecom_v1_cart_cart_universal_js_1.getCart)(_id,
28
- // @ts-ignore
29
- { httpClient });
30
- }
31
- exports.getCart = getCart;
32
- /** @internal */
33
- function getCartByCheckoutId(httpClient) {
34
- return (_id) => (0, ecom_v1_cart_cart_universal_js_1.getCartByCheckoutId)(_id,
35
- // @ts-ignore
36
- { httpClient });
37
- }
38
- exports.getCartByCheckoutId = getCartByCheckoutId;
39
- function addToCart(httpClient) {
40
- return (_id, options) => (0, ecom_v1_cart_cart_universal_js_1.addToCart)(_id, options,
41
- // @ts-ignore
42
- { httpClient });
43
- }
44
- exports.addToCart = addToCart;
45
- function removeLineItems(httpClient) {
46
- return (_id, lineItemIds) => (0, ecom_v1_cart_cart_universal_js_1.removeLineItems)(_id, lineItemIds,
47
- // @ts-ignore
48
- { httpClient });
49
- }
50
- exports.removeLineItems = removeLineItems;
51
- function createCheckout(httpClient) {
52
- return (_id, options) => (0, ecom_v1_cart_cart_universal_js_1.createCheckout)(_id, options,
53
- // @ts-ignore
54
- { httpClient });
55
- }
56
- exports.createCheckout = createCheckout;
57
- function removeCoupon(httpClient) {
58
- return (_id) => (0, ecom_v1_cart_cart_universal_js_1.removeCoupon)(_id,
59
- // @ts-ignore
60
- { httpClient });
61
- }
62
- exports.removeCoupon = removeCoupon;
63
- function updateLineItemsQuantity(httpClient) {
64
- return (_id, lineItems) => (0, ecom_v1_cart_cart_universal_js_1.updateLineItemsQuantity)(_id, lineItems,
65
- // @ts-ignore
66
- { httpClient });
67
- }
68
- exports.updateLineItemsQuantity = updateLineItemsQuantity;
69
- function estimateTotals(httpClient) {
70
- return (_id, options) => (0, ecom_v1_cart_cart_universal_js_1.estimateTotals)(_id, options,
71
- // @ts-ignore
72
- { httpClient });
73
- }
74
- exports.estimateTotals = estimateTotals;
75
- function deleteCart(httpClient) {
76
- return (_id) => (0, ecom_v1_cart_cart_universal_js_1.deleteCart)(_id,
77
- // @ts-ignore
78
- { httpClient });
79
- }
80
- exports.deleteCart = deleteCart;
81
- function removeBusinessLocation(httpClient) {
82
- return (_id) => (0, ecom_v1_cart_cart_universal_js_1.removeBusinessLocation)(_id,
83
- // @ts-ignore
84
- { httpClient });
85
- }
86
- exports.removeBusinessLocation = removeBusinessLocation;
87
- exports.onCartDeleted = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.cart_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
88
- {
89
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
90
- paths: [
91
- { path: 'undefined.createdDate' },
92
- { path: 'undefined.updatedDate' },
93
- {
94
- path: 'undefined.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
95
- },
96
- { path: 'undefined.lineItems.serviceProperties.scheduledDate' },
97
- { path: 'metadata.eventTime' },
98
- ],
99
- },
100
- {
101
- transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
102
- paths: [{ path: 'undefined.lineItems.url' }],
103
- },
104
- {
105
- transformFn: image_1.transformRESTImageToSDKImage,
106
- paths: [
107
- { path: 'undefined.lineItems.image' },
108
- { path: 'undefined.lineItems.catalogOverrideFields.image' },
109
- ],
110
- },
111
- {
112
- transformFn: float_1.transformRESTFloatToSDKFloat,
113
- paths: [
114
- { path: 'undefined.lineItems.physicalProperties.weight' },
115
- {
116
- path: 'undefined.lineItems.catalogOverrideFields.physicalProperties.weight',
117
- },
118
- ],
119
- },
120
- {
121
- transformFn: address_1.transformRESTAddressToSDKAddress,
122
- paths: [{ path: 'undefined.contactInfo.address' }],
123
- },
124
- ])))();
125
- exports.onCartUpdated = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.cart_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
126
- {
127
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
128
- paths: [
129
- { path: 'entity.createdDate' },
130
- { path: 'entity.updatedDate' },
131
- {
132
- path: 'entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
133
- },
134
- { path: 'entity.lineItems.serviceProperties.scheduledDate' },
135
- { path: 'metadata.eventTime' },
136
- ],
137
- },
138
- {
139
- transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
140
- paths: [{ path: 'entity.lineItems.url' }],
141
- },
142
- {
143
- transformFn: image_1.transformRESTImageToSDKImage,
144
- paths: [
145
- { path: 'entity.lineItems.image' },
146
- { path: 'entity.lineItems.catalogOverrideFields.image' },
147
- ],
148
- },
149
- {
150
- transformFn: float_1.transformRESTFloatToSDKFloat,
151
- paths: [
152
- { path: 'entity.lineItems.physicalProperties.weight' },
153
- {
154
- path: 'entity.lineItems.catalogOverrideFields.physicalProperties.weight',
155
- },
156
- ],
157
- },
158
- {
159
- transformFn: address_1.transformRESTAddressToSDKAddress,
160
- paths: [{ path: 'entity.contactInfo.address' }],
161
- },
162
- ])))();
163
- exports.onCartCreated = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.cart_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
164
- {
165
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
166
- paths: [
167
- { path: 'entity.createdDate' },
168
- { path: 'entity.updatedDate' },
169
- {
170
- path: 'entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
171
- },
172
- { path: 'entity.lineItems.serviceProperties.scheduledDate' },
173
- { path: 'metadata.eventTime' },
174
- ],
175
- },
176
- {
177
- transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
178
- paths: [{ path: 'entity.lineItems.url' }],
179
- },
180
- {
181
- transformFn: image_1.transformRESTImageToSDKImage,
182
- paths: [
183
- { path: 'entity.lineItems.image' },
184
- { path: 'entity.lineItems.catalogOverrideFields.image' },
185
- ],
186
- },
187
- {
188
- transformFn: float_1.transformRESTFloatToSDKFloat,
189
- paths: [
190
- { path: 'entity.lineItems.physicalProperties.weight' },
191
- {
192
- path: 'entity.lineItems.catalogOverrideFields.physicalProperties.weight',
193
- },
194
- ],
195
- },
196
- {
197
- transformFn: address_1.transformRESTAddressToSDKAddress,
198
- paths: [{ path: 'entity.contactInfo.address' }],
199
- },
200
- ])))();
201
- var ecom_v1_cart_cart_universal_js_2 = require("./ecom-v1-cart-cart.universal.js");
202
- Object.defineProperty(exports, "AdditionalFeeSource", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.AdditionalFeeSource; } });
203
- Object.defineProperty(exports, "AppliedDiscountDiscountType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.AppliedDiscountDiscountType; } });
204
- Object.defineProperty(exports, "ChannelType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.ChannelType; } });
205
- Object.defineProperty(exports, "ChargeType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.ChargeType; } });
206
- Object.defineProperty(exports, "DescriptionLineType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.DescriptionLineType; } });
207
- Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.DiscountType; } });
208
- Object.defineProperty(exports, "FallbackReason", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.FallbackReason; } });
209
- Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.FileType; } });
210
- Object.defineProperty(exports, "ItemAvailabilityStatus", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.ItemAvailabilityStatus; } });
211
- Object.defineProperty(exports, "ItemTypeItemType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.ItemTypeItemType; } });
212
- Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.JurisdictionType; } });
213
- Object.defineProperty(exports, "ManualCalculationReason", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.ManualCalculationReason; } });
214
- Object.defineProperty(exports, "NameInLineItem", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.NameInLineItem; } });
215
- Object.defineProperty(exports, "NameInOther", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.NameInOther; } });
216
- Object.defineProperty(exports, "PaymentOptionType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.PaymentOptionType; } });
217
- Object.defineProperty(exports, "PickupMethod", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.PickupMethod; } });
218
- Object.defineProperty(exports, "RateType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.RateType; } });
219
- Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.RuleType; } });
220
- Object.defineProperty(exports, "Severity", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.Severity; } });
221
- Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.SubscriptionFrequency; } });
222
- Object.defineProperty(exports, "SuggestedFix", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.SuggestedFix; } });
223
- Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.TaxableAddressType; } });
224
- Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.VatType; } });
225
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.WebhookIdentityType; } });
226
- Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function () { return ecom_v1_cart_cart_universal_js_2.WeightUnit; } });
227
- //# sourceMappingURL=ecom-v1-cart-cart.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ecom-v1-cart-cart.public.js","sourceRoot":"","sources":["../../../../src/ecom-v1-cart-cart.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,sEAA4F;AAC5F,kEAAsF;AACtF,kEAAsF;AACtF,8EAAoG;AACpG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,qFA+B0C;AAE7B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CACL,OAYC,EACD,EAAE,CACF,IAAA,2CAAmB,EACjB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AArBD,gCAqBC;AAaD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CACL,GAAW,EACX,OAOC,EACD,EAAE,CACF,IAAA,2CAAmB,EACjB,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAlBD,gCAkBC;AAcD,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,wCAAgB,EACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0BAOC;AAWD,gBAAgB;AAChB,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,oDAA4B,EAC1B,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,kDASC;AAUD,SAAgB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
@@ -1,255 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.ChannelType = exports.SuggestedFix = exports.NameInLineItem = exports.NameInOther = exports.Severity = exports.AdditionalFeeSource = exports.RuleType = exports.AppliedDiscountDiscountType = exports.ChargeType = exports.PickupMethod = exports.FallbackReason = exports.ManualCalculationReason = exports.RateType = exports.JurisdictionType = exports.VatType = exports.DiscountType = exports.WeightUnit = exports.TaxableAddressType = exports.PaymentOptionType = exports.FileType = exports.SubscriptionFrequency = exports.ItemTypeItemType = exports.ItemAvailabilityStatus = exports.DescriptionLineType = void 0;
4
- var DescriptionLineType;
5
- (function (DescriptionLineType) {
6
- /** Unrecognized type. */
7
- DescriptionLineType["UNRECOGNISED"] = "UNRECOGNISED";
8
- /** Plain text type. */
9
- DescriptionLineType["PLAIN_TEXT"] = "PLAIN_TEXT";
10
- /** Color type. */
11
- DescriptionLineType["COLOR"] = "COLOR";
12
- })(DescriptionLineType || (exports.DescriptionLineType = DescriptionLineType = {}));
13
- var ItemAvailabilityStatus;
14
- (function (ItemAvailabilityStatus) {
15
- ItemAvailabilityStatus["AVAILABLE"] = "AVAILABLE";
16
- /** Item does not exist. */
17
- ItemAvailabilityStatus["NOT_FOUND"] = "NOT_FOUND";
18
- /** Item is not in stock. */
19
- ItemAvailabilityStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
20
- /** Available quantity is less than requested. */
21
- ItemAvailabilityStatus["PARTIALLY_AVAILABLE"] = "PARTIALLY_AVAILABLE";
22
- })(ItemAvailabilityStatus || (exports.ItemAvailabilityStatus = ItemAvailabilityStatus = {}));
23
- var ItemTypeItemType;
24
- (function (ItemTypeItemType) {
25
- ItemTypeItemType["UNRECOGNISED"] = "UNRECOGNISED";
26
- ItemTypeItemType["PHYSICAL"] = "PHYSICAL";
27
- ItemTypeItemType["DIGITAL"] = "DIGITAL";
28
- ItemTypeItemType["GIFT_CARD"] = "GIFT_CARD";
29
- ItemTypeItemType["SERVICE"] = "SERVICE";
30
- })(ItemTypeItemType || (exports.ItemTypeItemType = ItemTypeItemType = {}));
31
- /** Frequency unit of recurring payment */
32
- var SubscriptionFrequency;
33
- (function (SubscriptionFrequency) {
34
- SubscriptionFrequency["UNDEFINED"] = "UNDEFINED";
35
- SubscriptionFrequency["DAY"] = "DAY";
36
- SubscriptionFrequency["WEEK"] = "WEEK";
37
- SubscriptionFrequency["MONTH"] = "MONTH";
38
- SubscriptionFrequency["YEAR"] = "YEAR";
39
- })(SubscriptionFrequency || (exports.SubscriptionFrequency = SubscriptionFrequency = {}));
40
- var FileType;
41
- (function (FileType) {
42
- FileType["UNSPECIFIED"] = "UNSPECIFIED";
43
- FileType["SECURE_PICTURE"] = "SECURE_PICTURE";
44
- FileType["SECURE_VIDEO"] = "SECURE_VIDEO";
45
- FileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
46
- FileType["SECURE_MUSIC"] = "SECURE_MUSIC";
47
- FileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
48
- })(FileType || (exports.FileType = FileType = {}));
49
- /** Type of selected payment option for catalog item */
50
- var PaymentOptionType;
51
- (function (PaymentOptionType) {
52
- /** The entire payment for this item happens as part of the checkout. */
53
- PaymentOptionType["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
54
- /** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
55
- PaymentOptionType["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
56
- /** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
57
- PaymentOptionType["MEMBERSHIP"] = "MEMBERSHIP";
58
- /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
59
- PaymentOptionType["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
60
- /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
61
- PaymentOptionType["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
62
- })(PaymentOptionType || (exports.PaymentOptionType = PaymentOptionType = {}));
63
- var TaxableAddressType;
64
- (function (TaxableAddressType) {
65
- TaxableAddressType["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
66
- TaxableAddressType["BUSINESS"] = "BUSINESS";
67
- TaxableAddressType["BILLING"] = "BILLING";
68
- TaxableAddressType["SHIPPING"] = "SHIPPING";
69
- })(TaxableAddressType || (exports.TaxableAddressType = TaxableAddressType = {}));
70
- var WeightUnit;
71
- (function (WeightUnit) {
72
- /** Weight unit can't be classified due to an error. */
73
- WeightUnit["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
74
- /** Kilograms. */
75
- WeightUnit["KG"] = "KG";
76
- /** Pounds. */
77
- WeightUnit["LB"] = "LB";
78
- })(WeightUnit || (exports.WeightUnit = WeightUnit = {}));
79
- var DiscountType;
80
- (function (DiscountType) {
81
- /** "GLOBAL" - discount applies to entire order. */
82
- DiscountType["GLOBAL"] = "GLOBAL";
83
- /** "SPECIFIC-ITEMS" - discount applies to specific items. */
84
- DiscountType["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
85
- /** "SHIPPING" - discount applies to shipping. For example, free shipping. */
86
- DiscountType["SHIPPING"] = "SHIPPING";
87
- })(DiscountType || (exports.DiscountType = DiscountType = {}));
88
- /** tax info types */
89
- var VatType;
90
- (function (VatType) {
91
- VatType["UNSPECIFIED"] = "UNSPECIFIED";
92
- /** CPF - for individual tax payers. */
93
- VatType["CPF"] = "CPF";
94
- /** CNPJ - for corporations */
95
- VatType["CNPJ"] = "CNPJ";
96
- })(VatType || (exports.VatType = VatType = {}));
97
- /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
98
- var JurisdictionType;
99
- (function (JurisdictionType) {
100
- JurisdictionType["UNDEFINED"] = "UNDEFINED";
101
- JurisdictionType["COUNTRY"] = "COUNTRY";
102
- JurisdictionType["STATE"] = "STATE";
103
- JurisdictionType["COUNTY"] = "COUNTY";
104
- JurisdictionType["CITY"] = "CITY";
105
- JurisdictionType["SPECIAL"] = "SPECIAL";
106
- })(JurisdictionType || (exports.JurisdictionType = JurisdictionType = {}));
107
- var RateType;
108
- (function (RateType) {
109
- /** no tax being collected for this request due to location of purchase */
110
- RateType["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
111
- /** manual rate used for calculation */
112
- RateType["MANUAL_RATE"] = "MANUAL_RATE";
113
- /** autotax rate used for calculation */
114
- RateType["AUTO_RATE"] = "AUTO_RATE";
115
- /** fallback rate used for calculation */
116
- RateType["FALLBACK_RATE"] = "FALLBACK_RATE";
117
- })(RateType || (exports.RateType = RateType = {}));
118
- var ManualCalculationReason;
119
- (function (ManualCalculationReason) {
120
- /** user set calculator in Business Manager to be Manual */
121
- ManualCalculationReason["GLOBAL_SETTING_TO_MANUAL"] = "GLOBAL_SETTING_TO_MANUAL";
122
- /** specific region is on manual even though Global setting is Auto-tax */
123
- ManualCalculationReason["REGION_SETTING_TO_MANUAL"] = "REGION_SETTING_TO_MANUAL";
124
- })(ManualCalculationReason || (exports.ManualCalculationReason = ManualCalculationReason = {}));
125
- var FallbackReason;
126
- (function (FallbackReason) {
127
- /** auto-tax failed to be calculated */
128
- FallbackReason["AUTO_TAX_FAILED"] = "AUTO_TAX_FAILED";
129
- /** auto-tax was temporarily deactivated on a system-level */
130
- FallbackReason["AUTO_TAX_DEACTIVATED"] = "AUTO_TAX_DEACTIVATED";
131
- })(FallbackReason || (exports.FallbackReason = FallbackReason = {}));
132
- var PickupMethod;
133
- (function (PickupMethod) {
134
- PickupMethod["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
135
- PickupMethod["STORE_PICKUP"] = "STORE_PICKUP";
136
- PickupMethod["PICKUP_POINT"] = "PICKUP_POINT";
137
- })(PickupMethod || (exports.PickupMethod = PickupMethod = {}));
138
- var ChargeType;
139
- (function (ChargeType) {
140
- ChargeType["HANDLING_FEE"] = "HANDLING_FEE";
141
- ChargeType["INSURANCE"] = "INSURANCE";
142
- })(ChargeType || (exports.ChargeType = ChargeType = {}));
143
- var AppliedDiscountDiscountType;
144
- (function (AppliedDiscountDiscountType) {
145
- AppliedDiscountDiscountType["GLOBAL"] = "GLOBAL";
146
- AppliedDiscountDiscountType["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
147
- AppliedDiscountDiscountType["SHIPPING"] = "SHIPPING";
148
- })(AppliedDiscountDiscountType || (exports.AppliedDiscountDiscountType = AppliedDiscountDiscountType = {}));
149
- var RuleType;
150
- (function (RuleType) {
151
- RuleType["VALIDATION"] = "VALIDATION";
152
- RuleType["OTHER"] = "OTHER";
153
- RuleType["MAX"] = "MAX";
154
- RuleType["MIN"] = "MIN";
155
- RuleType["MAX_LENGTH"] = "MAX_LENGTH";
156
- RuleType["MIN_LENGTH"] = "MIN_LENGTH";
157
- RuleType["MAX_SIZE"] = "MAX_SIZE";
158
- RuleType["MIN_SIZE"] = "MIN_SIZE";
159
- RuleType["FORMAT"] = "FORMAT";
160
- RuleType["DECIMAL_LTE"] = "DECIMAL_LTE";
161
- RuleType["DECIMAL_GTE"] = "DECIMAL_GTE";
162
- RuleType["DECIMAL_LT"] = "DECIMAL_LT";
163
- RuleType["DECIMAL_GT"] = "DECIMAL_GT";
164
- RuleType["DECIMAL_MAX_SCALE"] = "DECIMAL_MAX_SCALE";
165
- RuleType["INVALID_ENUM_VALUE"] = "INVALID_ENUM_VALUE";
166
- RuleType["REQUIRED_FIELD"] = "REQUIRED_FIELD";
167
- RuleType["FIELD_NOT_ALLOWED"] = "FIELD_NOT_ALLOWED";
168
- RuleType["ONE_OF_ALIGNMENT"] = "ONE_OF_ALIGNMENT";
169
- RuleType["EXACT_LENGTH"] = "EXACT_LENGTH";
170
- RuleType["EXACT_SIZE"] = "EXACT_SIZE";
171
- RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
172
- })(RuleType || (exports.RuleType = RuleType = {}));
173
- var AdditionalFeeSource;
174
- (function (AdditionalFeeSource) {
175
- AdditionalFeeSource["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
176
- /** The additional fee was added by an additional fee service plugin */
177
- AdditionalFeeSource["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
178
- /** The additional fee was added on the item either via the catalog or on custom line item */
179
- AdditionalFeeSource["ITEM"] = "ITEM";
180
- /** The additional fee was added manually on the request */
181
- AdditionalFeeSource["MANUAL"] = "MANUAL";
182
- })(AdditionalFeeSource || (exports.AdditionalFeeSource = AdditionalFeeSource = {}));
183
- var Severity;
184
- (function (Severity) {
185
- /** The user is allowed to move forward in the flow. */
186
- Severity["WARNING"] = "WARNING";
187
- /**
188
- * The user is blocked from moving forward in the flow.
189
- * For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
190
- */
191
- Severity["ERROR"] = "ERROR";
192
- })(Severity || (exports.Severity = Severity = {}));
193
- /** Available locations on the webpage */
194
- var NameInOther;
195
- (function (NameInOther) {
196
- /** Default location, in case no specific location is specified. */
197
- NameInOther["OTHER_DEFAULT"] = "OTHER_DEFAULT";
198
- })(NameInOther || (exports.NameInOther = NameInOther = {}));
199
- /** Available locations on the line item */
200
- var NameInLineItem;
201
- (function (NameInLineItem) {
202
- /** Default location, in case no specific location is specified. */
203
- NameInLineItem["LINE_ITEM_DEFAULT"] = "LINE_ITEM_DEFAULT";
204
- })(NameInLineItem || (exports.NameInLineItem = NameInLineItem = {}));
205
- var SuggestedFix;
206
- (function (SuggestedFix) {
207
- /** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
208
- SuggestedFix["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
209
- /** The line item should be removed from the cart or checkout to resolve the violation. */
210
- SuggestedFix["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
211
- })(SuggestedFix || (exports.SuggestedFix = SuggestedFix = {}));
212
- var ChannelType;
213
- (function (ChannelType) {
214
- /** Unspecified sales channel. This value is not supported. */
215
- ChannelType["UNSPECIFIED"] = "UNSPECIFIED";
216
- /** A web client. */
217
- ChannelType["WEB"] = "WEB";
218
- /** [Point of sale solutions](https://support.wix.com/en/wix-mobile-pos-2196395). */
219
- ChannelType["POS"] = "POS";
220
- /** [eBay shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-ebay-shop). */
221
- ChannelType["EBAY"] = "EBAY";
222
- /** [Amazon shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-amazon-shop). */
223
- ChannelType["AMAZON"] = "AMAZON";
224
- /** Other sales platform. */
225
- ChannelType["OTHER_PLATFORM"] = "OTHER_PLATFORM";
226
- /** [Wix Owner app](https://support.wix.com/article/wix-owner-app-an-overview). */
227
- ChannelType["WIX_APP_STORE"] = "WIX_APP_STORE";
228
- /** Wix Invoices app in [your dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Finvoices/settings/general-settings) */
229
- ChannelType["WIX_INVOICES"] = "WIX_INVOICES";
230
- /** Wix merchant backoffice. */
231
- ChannelType["BACKOFFICE_MERCHANT"] = "BACKOFFICE_MERCHANT";
232
- /** Wish sales channel. */
233
- ChannelType["WISH"] = "WISH";
234
- /** [ClassPass sales channel](https://support.wix.com/en/article/wix-bookings-letting-clients-book-your-services-with-classpass). */
235
- ChannelType["CLASS_PASS"] = "CLASS_PASS";
236
- /** Global-E sales channel. */
237
- ChannelType["GLOBAL_E"] = "GLOBAL_E";
238
- /** [Facebook shop](https://support.wix.com/en/article/wix-stores-changes-to-facebook-shops). */
239
- ChannelType["FACEBOOK"] = "FACEBOOK";
240
- /** [Etsy sales channel](https://support.wix.com/en/article/wix-stores-request-adding-etsy-as-a-sales-channel). */
241
- ChannelType["ETSY"] = "ETSY";
242
- /** [TikTok sales channel](https://support.wix.com/en/article/wix-stores-request-adding-tiktok-as-a-sales-channel). */
243
- ChannelType["TIKTOK"] = "TIKTOK";
244
- /** [Faire marketplace integration](https://support.wix.com/en/article/wix-stores-creating-a-faire-store-using-the-faire-integration-app). */
245
- ChannelType["FAIRE_COM"] = "FAIRE_COM";
246
- })(ChannelType || (exports.ChannelType = ChannelType = {}));
247
- var WebhookIdentityType;
248
- (function (WebhookIdentityType) {
249
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
250
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
251
- WebhookIdentityType["MEMBER"] = "MEMBER";
252
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
253
- WebhookIdentityType["APP"] = "APP";
254
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
255
- //# sourceMappingURL=ecom-v1-cart-cart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ecom-v1-cart-cart.types.js","sourceRoot":"","sources":["../../../../src/ecom-v1-cart-cart.types.ts"],"names":[],"mappings":";;;AA2YA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AA4CD,IAAY,sBAQX;AARD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,2BAA2B;IAC3B,iDAAuB,CAAA;IACvB,4BAA4B;IAC5B,yDAA+B,CAAA;IAC/B,iDAAiD;IACjD,qEAA2C,CAAA;AAC7C,CAAC,EARW,sBAAsB,sCAAtB,sBAAsB,QAQjC;AA2CD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CA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