@wix/auto_sdk_ecom_cart 1.0.13 → 1.0.14

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 (134) 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/package.json +0 -3
  66. package/build/es/src/ecom-v1-cart-cart.context.d.ts +0 -29
  67. package/build/es/src/ecom-v1-cart-cart.context.js +0 -31
  68. package/build/es/src/ecom-v1-cart-cart.context.js.map +0 -1
  69. package/build/es/src/ecom-v1-cart-cart.http.d.ts +0 -60
  70. package/build/es/src/ecom-v1-cart-cart.http.js +0 -803
  71. package/build/es/src/ecom-v1-cart-cart.http.js.map +0 -1
  72. package/build/es/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  73. package/build/es/src/ecom-v1-cart-cart.meta.js +0 -218
  74. package/build/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
  75. package/build/es/src/ecom-v1-cart-cart.public.d.ts +0 -129
  76. package/build/es/src/ecom-v1-cart-cart.public.js +0 -187
  77. package/build/es/src/ecom-v1-cart-cart.public.js.map +0 -1
  78. package/build/es/src/ecom-v1-cart-cart.types.js +0 -252
  79. package/build/es/src/ecom-v1-cart-cart.types.js.map +0 -1
  80. package/build/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3263
  81. package/build/es/src/ecom-v1-cart-cart.universal.js +0 -1154
  82. package/build/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-cart-cart.context.d.ts +0 -31
  93. package/build/internal/cjs/src/ecom-v1-cart-cart.context.js +0 -59
  94. package/build/internal/cjs/src/ecom-v1-cart-cart.context.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-cart-cart.http.d.ts +0 -60
  96. package/build/internal/cjs/src/ecom-v1-cart-cart.http.js +0 -818
  97. package/build/internal/cjs/src/ecom-v1-cart-cart.http.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  99. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.js +0 -256
  100. package/build/internal/cjs/src/ecom-v1-cart-cart.meta.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-cart-cart.public.d.ts +0 -138
  102. package/build/internal/cjs/src/ecom-v1-cart-cart.public.js +0 -227
  103. package/build/internal/cjs/src/ecom-v1-cart-cart.public.js.map +0 -1
  104. package/build/internal/cjs/src/ecom-v1-cart-cart.types.js +0 -255
  105. package/build/internal/cjs/src/ecom-v1-cart-cart.types.js.map +0 -1
  106. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.d.ts +0 -3457
  107. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.js +0 -1192
  108. package/build/internal/cjs/src/ecom-v1-cart-cart.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/ecom-v1-cart-cart.context.d.ts +0 -31
  119. package/build/internal/es/src/ecom-v1-cart-cart.context.js +0 -31
  120. package/build/internal/es/src/ecom-v1-cart-cart.context.js.map +0 -1
  121. package/build/internal/es/src/ecom-v1-cart-cart.http.d.ts +0 -60
  122. package/build/internal/es/src/ecom-v1-cart-cart.http.js +0 -803
  123. package/build/internal/es/src/ecom-v1-cart-cart.http.js.map +0 -1
  124. package/build/internal/es/src/ecom-v1-cart-cart.meta.d.ts +0 -46
  125. package/build/internal/es/src/ecom-v1-cart-cart.meta.js +0 -218
  126. package/build/internal/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
  127. package/build/internal/es/src/ecom-v1-cart-cart.public.d.ts +0 -138
  128. package/build/internal/es/src/ecom-v1-cart-cart.public.js +0 -187
  129. package/build/internal/es/src/ecom-v1-cart-cart.public.js.map +0 -1
  130. package/build/internal/es/src/ecom-v1-cart-cart.types.js +0 -252
  131. package/build/internal/es/src/ecom-v1-cart-cart.types.js.map +0 -1
  132. package/build/internal/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3457
  133. package/build/internal/es/src/ecom-v1-cart-cart.universal.js +0 -1154
  134. package/build/internal/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
@@ -0,0 +1,989 @@
1
+ // src/ecom-v1-cart-cart.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
4
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
5
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
6
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
7
+ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
8
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
9
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
10
+ function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
11
+ const domainToMappings = {
12
+ "api._api_base_domain_": [
13
+ {
14
+ srcPath: "/cart",
15
+ destPath: ""
16
+ }
17
+ ],
18
+ "www.wixapis.com": [
19
+ {
20
+ srcPath: "/ecom/v1/carts",
21
+ destPath: "/v1/carts"
22
+ }
23
+ ],
24
+ "www.wixgateway.com": [
25
+ {
26
+ srcPath: "/ecom/v1/carts",
27
+ destPath: "/v1/carts"
28
+ }
29
+ ],
30
+ _: [
31
+ {
32
+ srcPath: "/_api/ecom-cart",
33
+ destPath: ""
34
+ },
35
+ {
36
+ srcPath: "/_api/cart",
37
+ destPath: ""
38
+ },
39
+ {
40
+ srcPath: "/ecom/v1/carts",
41
+ destPath: "/v1/carts"
42
+ }
43
+ ],
44
+ "manage._base_domain_": [
45
+ {
46
+ srcPath: "/ecom/v1/carts",
47
+ destPath: "/v1/carts"
48
+ }
49
+ ],
50
+ "editor._base_domain_": [
51
+ {
52
+ srcPath: "/_api/ecom-cart",
53
+ destPath: ""
54
+ }
55
+ ],
56
+ "blocks._base_domain_": [
57
+ {
58
+ srcPath: "/_api/ecom-cart",
59
+ destPath: ""
60
+ }
61
+ ],
62
+ "create.editorx": [
63
+ {
64
+ srcPath: "/_api/ecom-cart",
65
+ destPath: ""
66
+ }
67
+ ],
68
+ "*.dev.wix-code.com": [
69
+ {
70
+ srcPath: "/_api/ecom-cart",
71
+ destPath: ""
72
+ }
73
+ ],
74
+ "www._base_domain_": [
75
+ {
76
+ srcPath: "/_api/ecom-cart",
77
+ destPath: ""
78
+ }
79
+ ],
80
+ "bo._base_domain_": [
81
+ {
82
+ srcPath: "/ecom/v1/carts",
83
+ destPath: "/v1/carts"
84
+ }
85
+ ],
86
+ "wixbo.ai": [
87
+ {
88
+ srcPath: "/ecom/v1/carts",
89
+ destPath: "/v1/carts"
90
+ }
91
+ ],
92
+ "wix-bo.com": [
93
+ {
94
+ srcPath: "/ecom/v1/carts",
95
+ destPath: "/v1/carts"
96
+ }
97
+ ],
98
+ "editor.wixapps.net": [
99
+ {
100
+ srcPath: "/_api/ecom-cart",
101
+ destPath: ""
102
+ }
103
+ ]
104
+ };
105
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
106
+ }
107
+ var PACKAGE_NAME = "@wix/auto_sdk_ecom_cart";
108
+ function createCart(payload) {
109
+ function __createCart({ host }) {
110
+ const serializedData = transformPaths(payload, [
111
+ {
112
+ transformFn: transformSDKTimestampToRESTTimestamp,
113
+ paths: [
114
+ { path: "cartInfo.createdDate" },
115
+ { path: "cartInfo.updatedDate" },
116
+ { path: "cartInfo.lineItems.image.urlExpirationDate" },
117
+ {
118
+ path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
119
+ },
120
+ { path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
121
+ { path: "lineItems.image.urlExpirationDate" },
122
+ {
123
+ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
124
+ },
125
+ { path: "lineItems.serviceProperties.scheduledDate" },
126
+ {
127
+ path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
128
+ },
129
+ { path: "customLineItems.serviceProperties.scheduledDate" }
130
+ ]
131
+ },
132
+ {
133
+ transformFn: transformSDKFloatToRESTFloat,
134
+ paths: [
135
+ { path: "cartInfo.lineItems.image.focalPoint.x" },
136
+ { path: "cartInfo.lineItems.image.focalPoint.y" },
137
+ { path: "lineItems.image.focalPoint.x" },
138
+ { path: "lineItems.image.focalPoint.y" },
139
+ { path: "cartInfo.lineItems.physicalProperties.weight" },
140
+ {
141
+ path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
142
+ },
143
+ { path: "cartInfo.contactInfo.address.geocode.latitude" },
144
+ { path: "cartInfo.contactInfo.address.geocode.longitude" },
145
+ { path: "lineItems.physicalProperties.weight" },
146
+ { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
147
+ { path: "customLineItems.physicalProperties.weight" }
148
+ ]
149
+ }
150
+ ]);
151
+ const metadata = {
152
+ entityFqdn: "wix.ecom.v1.cart",
153
+ method: "POST",
154
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCart",
155
+ packageName: PACKAGE_NAME,
156
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
157
+ protoPath: "/v1/carts",
158
+ data: serializedData,
159
+ host
160
+ }),
161
+ data: serializedData,
162
+ transformResponse: (payload2) => transformPaths(payload2, [
163
+ {
164
+ transformFn: transformRESTTimestampToSDKTimestamp,
165
+ paths: [
166
+ { path: "cart.createdDate" },
167
+ { path: "cart.updatedDate" },
168
+ { path: "cart.lineItems.image.urlExpirationDate" },
169
+ {
170
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
171
+ },
172
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
173
+ ]
174
+ },
175
+ {
176
+ transformFn: transformRESTFloatToSDKFloat,
177
+ paths: [
178
+ { path: "cart.lineItems.image.focalPoint.x" },
179
+ { path: "cart.lineItems.image.focalPoint.y" },
180
+ { path: "cart.lineItems.physicalProperties.weight" },
181
+ {
182
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
183
+ },
184
+ { path: "cart.contactInfo.address.geocode.latitude" },
185
+ { path: "cart.contactInfo.address.geocode.longitude" }
186
+ ]
187
+ }
188
+ ])
189
+ };
190
+ return metadata;
191
+ }
192
+ return __createCart;
193
+ }
194
+ function updateCart(payload) {
195
+ function __updateCart({ host }) {
196
+ const serializedData = transformPaths(payload, [
197
+ {
198
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
199
+ paths: [{ path: "cartFieldmask" }]
200
+ },
201
+ {
202
+ transformFn: transformSDKTimestampToRESTTimestamp,
203
+ paths: [
204
+ { path: "cartInfo.createdDate" },
205
+ { path: "cartInfo.updatedDate" },
206
+ { path: "cartInfo.lineItems.image.urlExpirationDate" },
207
+ {
208
+ path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
209
+ },
210
+ { path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
211
+ { path: "lineItems.image.urlExpirationDate" },
212
+ {
213
+ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
214
+ },
215
+ { path: "lineItems.serviceProperties.scheduledDate" },
216
+ {
217
+ path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
218
+ },
219
+ { path: "customLineItems.serviceProperties.scheduledDate" }
220
+ ]
221
+ },
222
+ {
223
+ transformFn: transformSDKFloatToRESTFloat,
224
+ paths: [
225
+ { path: "cartInfo.lineItems.image.focalPoint.x" },
226
+ { path: "cartInfo.lineItems.image.focalPoint.y" },
227
+ { path: "lineItems.image.focalPoint.x" },
228
+ { path: "lineItems.image.focalPoint.y" },
229
+ { path: "cartInfo.lineItems.physicalProperties.weight" },
230
+ {
231
+ path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
232
+ },
233
+ { path: "cartInfo.contactInfo.address.geocode.latitude" },
234
+ { path: "cartInfo.contactInfo.address.geocode.longitude" },
235
+ { path: "lineItems.physicalProperties.weight" },
236
+ { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
237
+ { path: "customLineItems.physicalProperties.weight" }
238
+ ]
239
+ }
240
+ ]);
241
+ const metadata = {
242
+ entityFqdn: "wix.ecom.v1.cart",
243
+ method: "PATCH",
244
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateCart",
245
+ packageName: PACKAGE_NAME,
246
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
247
+ protoPath: "/v1/carts/{cartInfo.id}",
248
+ data: serializedData,
249
+ host
250
+ }),
251
+ data: serializedData,
252
+ transformResponse: (payload2) => transformPaths(payload2, [
253
+ {
254
+ transformFn: transformRESTTimestampToSDKTimestamp,
255
+ paths: [
256
+ { path: "cart.createdDate" },
257
+ { path: "cart.updatedDate" },
258
+ { path: "cart.lineItems.image.urlExpirationDate" },
259
+ {
260
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
261
+ },
262
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
263
+ ]
264
+ },
265
+ {
266
+ transformFn: transformRESTFloatToSDKFloat,
267
+ paths: [
268
+ { path: "cart.lineItems.image.focalPoint.x" },
269
+ { path: "cart.lineItems.image.focalPoint.y" },
270
+ { path: "cart.lineItems.physicalProperties.weight" },
271
+ {
272
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
273
+ },
274
+ { path: "cart.contactInfo.address.geocode.latitude" },
275
+ { path: "cart.contactInfo.address.geocode.longitude" }
276
+ ]
277
+ }
278
+ ])
279
+ };
280
+ return metadata;
281
+ }
282
+ return __updateCart;
283
+ }
284
+ function getCart(payload) {
285
+ function __getCart({ host }) {
286
+ const metadata = {
287
+ entityFqdn: "wix.ecom.v1.cart",
288
+ method: "GET",
289
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCart",
290
+ packageName: PACKAGE_NAME,
291
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
292
+ protoPath: "/v1/carts/{id}",
293
+ data: payload,
294
+ host
295
+ }),
296
+ params: toURLSearchParams(payload),
297
+ transformResponse: (payload2) => transformPaths(payload2, [
298
+ {
299
+ transformFn: transformRESTTimestampToSDKTimestamp,
300
+ paths: [
301
+ { path: "cart.createdDate" },
302
+ { path: "cart.updatedDate" },
303
+ { path: "cart.lineItems.image.urlExpirationDate" },
304
+ {
305
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
306
+ },
307
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
308
+ ]
309
+ },
310
+ {
311
+ transformFn: transformRESTFloatToSDKFloat,
312
+ paths: [
313
+ { path: "cart.lineItems.image.focalPoint.x" },
314
+ { path: "cart.lineItems.image.focalPoint.y" },
315
+ { path: "cart.lineItems.physicalProperties.weight" },
316
+ {
317
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
318
+ },
319
+ { path: "cart.contactInfo.address.geocode.latitude" },
320
+ { path: "cart.contactInfo.address.geocode.longitude" }
321
+ ]
322
+ }
323
+ ])
324
+ };
325
+ return metadata;
326
+ }
327
+ return __getCart;
328
+ }
329
+ function getCartByCheckoutId(payload) {
330
+ function __getCartByCheckoutId({ host }) {
331
+ const metadata = {
332
+ entityFqdn: "wix.ecom.v1.cart",
333
+ method: "GET",
334
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCartByCheckoutId",
335
+ packageName: PACKAGE_NAME,
336
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
337
+ protoPath: "/v1/carts/by-checkout-id/{id}",
338
+ data: payload,
339
+ host
340
+ }),
341
+ params: toURLSearchParams(payload),
342
+ transformResponse: (payload2) => transformPaths(payload2, [
343
+ {
344
+ transformFn: transformRESTTimestampToSDKTimestamp,
345
+ paths: [
346
+ { path: "cart.createdDate" },
347
+ { path: "cart.updatedDate" },
348
+ { path: "cart.lineItems.image.urlExpirationDate" },
349
+ {
350
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
351
+ },
352
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
353
+ ]
354
+ },
355
+ {
356
+ transformFn: transformRESTFloatToSDKFloat,
357
+ paths: [
358
+ { path: "cart.lineItems.image.focalPoint.x" },
359
+ { path: "cart.lineItems.image.focalPoint.y" },
360
+ { path: "cart.lineItems.physicalProperties.weight" },
361
+ {
362
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
363
+ },
364
+ { path: "cart.contactInfo.address.geocode.latitude" },
365
+ { path: "cart.contactInfo.address.geocode.longitude" }
366
+ ]
367
+ }
368
+ ])
369
+ };
370
+ return metadata;
371
+ }
372
+ return __getCartByCheckoutId;
373
+ }
374
+ function addToCart(payload) {
375
+ function __addToCart({ host }) {
376
+ const serializedData = transformPaths(payload, [
377
+ {
378
+ transformFn: transformSDKTimestampToRESTTimestamp,
379
+ paths: [
380
+ { path: "lineItems.image.urlExpirationDate" },
381
+ {
382
+ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
383
+ },
384
+ { path: "lineItems.serviceProperties.scheduledDate" },
385
+ {
386
+ path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
387
+ },
388
+ { path: "customLineItems.serviceProperties.scheduledDate" }
389
+ ]
390
+ },
391
+ {
392
+ transformFn: transformSDKFloatToRESTFloat,
393
+ paths: [
394
+ { path: "lineItems.image.focalPoint.x" },
395
+ { path: "lineItems.image.focalPoint.y" },
396
+ { path: "lineItems.physicalProperties.weight" },
397
+ { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
398
+ { path: "customLineItems.physicalProperties.weight" }
399
+ ]
400
+ }
401
+ ]);
402
+ const metadata = {
403
+ entityFqdn: "wix.ecom.v1.cart",
404
+ method: "POST",
405
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.AddToCart",
406
+ packageName: PACKAGE_NAME,
407
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
408
+ protoPath: "/v1/carts/{id}/add-to-cart",
409
+ data: serializedData,
410
+ host
411
+ }),
412
+ data: serializedData,
413
+ transformResponse: (payload2) => transformPaths(payload2, [
414
+ {
415
+ transformFn: transformRESTTimestampToSDKTimestamp,
416
+ paths: [
417
+ { path: "cart.createdDate" },
418
+ { path: "cart.updatedDate" },
419
+ { path: "cart.lineItems.image.urlExpirationDate" },
420
+ {
421
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
422
+ },
423
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
424
+ ]
425
+ },
426
+ {
427
+ transformFn: transformRESTFloatToSDKFloat,
428
+ paths: [
429
+ { path: "cart.lineItems.image.focalPoint.x" },
430
+ { path: "cart.lineItems.image.focalPoint.y" },
431
+ { path: "cart.lineItems.physicalProperties.weight" },
432
+ {
433
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
434
+ },
435
+ { path: "cart.contactInfo.address.geocode.latitude" },
436
+ { path: "cart.contactInfo.address.geocode.longitude" }
437
+ ]
438
+ }
439
+ ])
440
+ };
441
+ return metadata;
442
+ }
443
+ return __addToCart;
444
+ }
445
+ function removeLineItems(payload) {
446
+ function __removeLineItems({ host }) {
447
+ const metadata = {
448
+ entityFqdn: "wix.ecom.v1.cart",
449
+ method: "POST",
450
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveLineItems",
451
+ packageName: PACKAGE_NAME,
452
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
453
+ protoPath: "/v1/carts/{id}/remove-line-items",
454
+ data: payload,
455
+ host
456
+ }),
457
+ data: payload,
458
+ transformResponse: (payload2) => transformPaths(payload2, [
459
+ {
460
+ transformFn: transformRESTTimestampToSDKTimestamp,
461
+ paths: [
462
+ { path: "cart.createdDate" },
463
+ { path: "cart.updatedDate" },
464
+ { path: "cart.lineItems.image.urlExpirationDate" },
465
+ {
466
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
467
+ },
468
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
469
+ ]
470
+ },
471
+ {
472
+ transformFn: transformRESTFloatToSDKFloat,
473
+ paths: [
474
+ { path: "cart.lineItems.image.focalPoint.x" },
475
+ { path: "cart.lineItems.image.focalPoint.y" },
476
+ { path: "cart.lineItems.physicalProperties.weight" },
477
+ {
478
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
479
+ },
480
+ { path: "cart.contactInfo.address.geocode.latitude" },
481
+ { path: "cart.contactInfo.address.geocode.longitude" }
482
+ ]
483
+ }
484
+ ])
485
+ };
486
+ return metadata;
487
+ }
488
+ return __removeLineItems;
489
+ }
490
+ function createCheckout(payload) {
491
+ function __createCheckout({ host }) {
492
+ const serializedData = transformPaths(payload, [
493
+ {
494
+ transformFn: transformSDKFloatToRESTFloat,
495
+ paths: [
496
+ { path: "shippingAddress.geocode.latitude" },
497
+ { path: "shippingAddress.geocode.longitude" },
498
+ { path: "billingAddress.geocode.latitude" },
499
+ { path: "billingAddress.geocode.longitude" }
500
+ ]
501
+ }
502
+ ]);
503
+ const metadata = {
504
+ entityFqdn: "wix.ecom.v1.cart",
505
+ method: "POST",
506
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCheckout",
507
+ packageName: PACKAGE_NAME,
508
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
509
+ protoPath: "/v1/carts/{id}/create-checkout",
510
+ data: serializedData,
511
+ host
512
+ }),
513
+ data: serializedData
514
+ };
515
+ return metadata;
516
+ }
517
+ return __createCheckout;
518
+ }
519
+ function removeCoupon(payload) {
520
+ function __removeCoupon({ host }) {
521
+ const metadata = {
522
+ entityFqdn: "wix.ecom.v1.cart",
523
+ method: "POST",
524
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveCoupon",
525
+ packageName: PACKAGE_NAME,
526
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
527
+ protoPath: "/v1/carts/{id}/remove-coupon",
528
+ data: payload,
529
+ host
530
+ }),
531
+ data: payload,
532
+ transformResponse: (payload2) => transformPaths(payload2, [
533
+ {
534
+ transformFn: transformRESTTimestampToSDKTimestamp,
535
+ paths: [
536
+ { path: "cart.createdDate" },
537
+ { path: "cart.updatedDate" },
538
+ { path: "cart.lineItems.image.urlExpirationDate" },
539
+ {
540
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
541
+ },
542
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
543
+ ]
544
+ },
545
+ {
546
+ transformFn: transformRESTFloatToSDKFloat,
547
+ paths: [
548
+ { path: "cart.lineItems.image.focalPoint.x" },
549
+ { path: "cart.lineItems.image.focalPoint.y" },
550
+ { path: "cart.lineItems.physicalProperties.weight" },
551
+ {
552
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
553
+ },
554
+ { path: "cart.contactInfo.address.geocode.latitude" },
555
+ { path: "cart.contactInfo.address.geocode.longitude" }
556
+ ]
557
+ }
558
+ ])
559
+ };
560
+ return metadata;
561
+ }
562
+ return __removeCoupon;
563
+ }
564
+ function updateLineItemsQuantity(payload) {
565
+ function __updateLineItemsQuantity({ host }) {
566
+ const metadata = {
567
+ entityFqdn: "wix.ecom.v1.cart",
568
+ method: "POST",
569
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateLineItemsQuantity",
570
+ packageName: PACKAGE_NAME,
571
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
572
+ protoPath: "/v1/carts/{id}/update-line-items-quantity",
573
+ data: payload,
574
+ host
575
+ }),
576
+ data: payload,
577
+ transformResponse: (payload2) => transformPaths(payload2, [
578
+ {
579
+ transformFn: transformRESTTimestampToSDKTimestamp,
580
+ paths: [
581
+ { path: "cart.createdDate" },
582
+ { path: "cart.updatedDate" },
583
+ { path: "cart.lineItems.image.urlExpirationDate" },
584
+ {
585
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
586
+ },
587
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
588
+ ]
589
+ },
590
+ {
591
+ transformFn: transformRESTFloatToSDKFloat,
592
+ paths: [
593
+ { path: "cart.lineItems.image.focalPoint.x" },
594
+ { path: "cart.lineItems.image.focalPoint.y" },
595
+ { path: "cart.lineItems.physicalProperties.weight" },
596
+ {
597
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
598
+ },
599
+ { path: "cart.contactInfo.address.geocode.latitude" },
600
+ { path: "cart.contactInfo.address.geocode.longitude" }
601
+ ]
602
+ }
603
+ ])
604
+ };
605
+ return metadata;
606
+ }
607
+ return __updateLineItemsQuantity;
608
+ }
609
+ function estimateTotals(payload) {
610
+ function __estimateTotals({ host }) {
611
+ const serializedData = transformPaths(payload, [
612
+ {
613
+ transformFn: transformSDKFloatToRESTFloat,
614
+ paths: [
615
+ { path: "shippingAddress.geocode.latitude" },
616
+ { path: "shippingAddress.geocode.longitude" },
617
+ { path: "billingAddress.geocode.latitude" },
618
+ { path: "billingAddress.geocode.longitude" }
619
+ ]
620
+ }
621
+ ]);
622
+ const metadata = {
623
+ entityFqdn: "wix.ecom.v1.cart",
624
+ method: "POST",
625
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.EstimateTotals",
626
+ packageName: PACKAGE_NAME,
627
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
628
+ protoPath: "/v1/carts/{id}/estimate-totals",
629
+ data: serializedData,
630
+ host
631
+ }),
632
+ data: serializedData,
633
+ transformResponse: (payload2) => transformPaths(payload2, [
634
+ {
635
+ transformFn: transformRESTTimestampToSDKTimestamp,
636
+ paths: [
637
+ { path: "cart.createdDate" },
638
+ { path: "cart.updatedDate" },
639
+ { path: "cart.lineItems.image.urlExpirationDate" },
640
+ {
641
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
642
+ },
643
+ { path: "cart.lineItems.serviceProperties.scheduledDate" },
644
+ {
645
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
646
+ },
647
+ {
648
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
649
+ },
650
+ {
651
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
652
+ },
653
+ {
654
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
655
+ },
656
+ { path: "membershipOptions.eligibleMemberships.expirationDate" },
657
+ {
658
+ path: "membershipOptions.invalidMemberships.membership.expirationDate"
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ transformFn: transformRESTFloatToSDKFloat,
664
+ paths: [
665
+ { path: "cart.lineItems.image.focalPoint.x" },
666
+ { path: "cart.lineItems.image.focalPoint.y" },
667
+ { path: "cart.lineItems.physicalProperties.weight" },
668
+ {
669
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
670
+ },
671
+ { path: "cart.contactInfo.address.geocode.latitude" },
672
+ { path: "cart.contactInfo.address.geocode.longitude" },
673
+ {
674
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
675
+ },
676
+ {
677
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
678
+ },
679
+ {
680
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
681
+ },
682
+ {
683
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
684
+ },
685
+ { path: "appliedDiscounts.merchantDiscount.percentage" }
686
+ ]
687
+ }
688
+ ])
689
+ };
690
+ return metadata;
691
+ }
692
+ return __estimateTotals;
693
+ }
694
+ function deleteCart(payload) {
695
+ function __deleteCart({ host }) {
696
+ const metadata = {
697
+ entityFqdn: "wix.ecom.v1.cart",
698
+ method: "DELETE",
699
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.DeleteCart",
700
+ packageName: PACKAGE_NAME,
701
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
702
+ protoPath: "/v1/carts/{id}",
703
+ data: payload,
704
+ host
705
+ }),
706
+ params: toURLSearchParams(payload)
707
+ };
708
+ return metadata;
709
+ }
710
+ return __deleteCart;
711
+ }
712
+ function removeBusinessLocation(payload) {
713
+ function __removeBusinessLocation({ host }) {
714
+ const metadata = {
715
+ entityFqdn: "wix.ecom.v1.cart",
716
+ method: "POST",
717
+ methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveBusinessLocation",
718
+ packageName: PACKAGE_NAME,
719
+ url: resolveComWixEcomCartApiV1CartServiceUrl({
720
+ protoPath: "/v1/carts/{id}/remove-business-location",
721
+ data: payload,
722
+ host
723
+ }),
724
+ data: payload,
725
+ transformResponse: (payload2) => transformPaths(payload2, [
726
+ {
727
+ transformFn: transformRESTTimestampToSDKTimestamp,
728
+ paths: [
729
+ { path: "cart.createdDate" },
730
+ { path: "cart.updatedDate" },
731
+ { path: "cart.lineItems.image.urlExpirationDate" },
732
+ {
733
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
734
+ },
735
+ { path: "cart.lineItems.serviceProperties.scheduledDate" }
736
+ ]
737
+ },
738
+ {
739
+ transformFn: transformRESTFloatToSDKFloat,
740
+ paths: [
741
+ { path: "cart.lineItems.image.focalPoint.x" },
742
+ { path: "cart.lineItems.image.focalPoint.y" },
743
+ { path: "cart.lineItems.physicalProperties.weight" },
744
+ {
745
+ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
746
+ },
747
+ { path: "cart.contactInfo.address.geocode.latitude" },
748
+ { path: "cart.contactInfo.address.geocode.longitude" }
749
+ ]
750
+ }
751
+ ])
752
+ };
753
+ return metadata;
754
+ }
755
+ return __removeBusinessLocation;
756
+ }
757
+
758
+ // src/ecom-v1-cart-cart.meta.ts
759
+ function createCart2() {
760
+ const payload = {};
761
+ const getRequestOptions = createCart(payload);
762
+ const getUrl = (context) => {
763
+ const { url } = getRequestOptions(context);
764
+ return url;
765
+ };
766
+ return {
767
+ getUrl,
768
+ httpMethod: "POST",
769
+ path: "/v1/carts",
770
+ pathParams: {},
771
+ __requestType: null,
772
+ __originalRequestType: null,
773
+ __responseType: null,
774
+ __originalResponseType: null
775
+ };
776
+ }
777
+ function updateCart2() {
778
+ const payload = { cartInfo: { id: ":cartInfoId" } };
779
+ const getRequestOptions = updateCart(payload);
780
+ const getUrl = (context) => {
781
+ const { url } = getRequestOptions(context);
782
+ return url;
783
+ };
784
+ return {
785
+ getUrl,
786
+ httpMethod: "PATCH",
787
+ path: "/v1/carts/{cartInfo.id}",
788
+ pathParams: { cartInfoId: "cartInfoId" },
789
+ __requestType: null,
790
+ __originalRequestType: null,
791
+ __responseType: null,
792
+ __originalResponseType: null
793
+ };
794
+ }
795
+ function getCart2() {
796
+ const payload = { id: ":id" };
797
+ const getRequestOptions = getCart(payload);
798
+ const getUrl = (context) => {
799
+ const { url } = getRequestOptions(context);
800
+ return url;
801
+ };
802
+ return {
803
+ getUrl,
804
+ httpMethod: "GET",
805
+ path: "/v1/carts/{id}",
806
+ pathParams: { id: "id" },
807
+ __requestType: null,
808
+ __originalRequestType: null,
809
+ __responseType: null,
810
+ __originalResponseType: null
811
+ };
812
+ }
813
+ function getCartByCheckoutId2() {
814
+ const payload = { id: ":id" };
815
+ const getRequestOptions = getCartByCheckoutId(payload);
816
+ const getUrl = (context) => {
817
+ const { url } = getRequestOptions(context);
818
+ return url;
819
+ };
820
+ return {
821
+ getUrl,
822
+ httpMethod: "GET",
823
+ path: "/v1/carts/by-checkout-id/{id}",
824
+ pathParams: { id: "id" },
825
+ __requestType: null,
826
+ __originalRequestType: null,
827
+ __responseType: null,
828
+ __originalResponseType: null
829
+ };
830
+ }
831
+ function addToCart2() {
832
+ const payload = { id: ":id" };
833
+ const getRequestOptions = addToCart(payload);
834
+ const getUrl = (context) => {
835
+ const { url } = getRequestOptions(context);
836
+ return url;
837
+ };
838
+ return {
839
+ getUrl,
840
+ httpMethod: "POST",
841
+ path: "/v1/carts/{id}/add-to-cart",
842
+ pathParams: { id: "id" },
843
+ __requestType: null,
844
+ __originalRequestType: null,
845
+ __responseType: null,
846
+ __originalResponseType: null
847
+ };
848
+ }
849
+ function removeLineItems2() {
850
+ const payload = { id: ":id" };
851
+ const getRequestOptions = removeLineItems(payload);
852
+ const getUrl = (context) => {
853
+ const { url } = getRequestOptions(context);
854
+ return url;
855
+ };
856
+ return {
857
+ getUrl,
858
+ httpMethod: "POST",
859
+ path: "/v1/carts/{id}/remove-line-items",
860
+ pathParams: { id: "id" },
861
+ __requestType: null,
862
+ __originalRequestType: null,
863
+ __responseType: null,
864
+ __originalResponseType: null
865
+ };
866
+ }
867
+ function createCheckout2() {
868
+ const payload = { id: ":id" };
869
+ const getRequestOptions = createCheckout(payload);
870
+ const getUrl = (context) => {
871
+ const { url } = getRequestOptions(context);
872
+ return url;
873
+ };
874
+ return {
875
+ getUrl,
876
+ httpMethod: "POST",
877
+ path: "/v1/carts/{id}/create-checkout",
878
+ pathParams: { id: "id" },
879
+ __requestType: null,
880
+ __originalRequestType: null,
881
+ __responseType: null,
882
+ __originalResponseType: null
883
+ };
884
+ }
885
+ function removeCoupon2() {
886
+ const payload = { id: ":id" };
887
+ const getRequestOptions = removeCoupon(payload);
888
+ const getUrl = (context) => {
889
+ const { url } = getRequestOptions(context);
890
+ return url;
891
+ };
892
+ return {
893
+ getUrl,
894
+ httpMethod: "POST",
895
+ path: "/v1/carts/{id}/remove-coupon",
896
+ pathParams: { id: "id" },
897
+ __requestType: null,
898
+ __originalRequestType: null,
899
+ __responseType: null,
900
+ __originalResponseType: null
901
+ };
902
+ }
903
+ function updateLineItemsQuantity2() {
904
+ const payload = { id: ":id" };
905
+ const getRequestOptions = updateLineItemsQuantity(payload);
906
+ const getUrl = (context) => {
907
+ const { url } = getRequestOptions(context);
908
+ return url;
909
+ };
910
+ return {
911
+ getUrl,
912
+ httpMethod: "POST",
913
+ path: "/v1/carts/{id}/update-line-items-quantity",
914
+ pathParams: { id: "id" },
915
+ __requestType: null,
916
+ __originalRequestType: null,
917
+ __responseType: null,
918
+ __originalResponseType: null
919
+ };
920
+ }
921
+ function estimateTotals2() {
922
+ const payload = { id: ":id" };
923
+ const getRequestOptions = estimateTotals(payload);
924
+ const getUrl = (context) => {
925
+ const { url } = getRequestOptions(context);
926
+ return url;
927
+ };
928
+ return {
929
+ getUrl,
930
+ httpMethod: "POST",
931
+ path: "/v1/carts/{id}/estimate-totals",
932
+ pathParams: { id: "id" },
933
+ __requestType: null,
934
+ __originalRequestType: null,
935
+ __responseType: null,
936
+ __originalResponseType: null
937
+ };
938
+ }
939
+ function deleteCart2() {
940
+ const payload = { id: ":id" };
941
+ const getRequestOptions = deleteCart(payload);
942
+ const getUrl = (context) => {
943
+ const { url } = getRequestOptions(context);
944
+ return url;
945
+ };
946
+ return {
947
+ getUrl,
948
+ httpMethod: "DELETE",
949
+ path: "/v1/carts/{id}",
950
+ pathParams: { id: "id" },
951
+ __requestType: null,
952
+ __originalRequestType: null,
953
+ __responseType: null,
954
+ __originalResponseType: null
955
+ };
956
+ }
957
+ function removeBusinessLocation2() {
958
+ const payload = { id: ":id" };
959
+ const getRequestOptions = removeBusinessLocation(payload);
960
+ const getUrl = (context) => {
961
+ const { url } = getRequestOptions(context);
962
+ return url;
963
+ };
964
+ return {
965
+ getUrl,
966
+ httpMethod: "POST",
967
+ path: "/v1/carts/{id}/remove-business-location",
968
+ pathParams: { id: "id" },
969
+ __requestType: null,
970
+ __originalRequestType: null,
971
+ __responseType: null,
972
+ __originalResponseType: null
973
+ };
974
+ }
975
+ export {
976
+ addToCart2 as addToCart,
977
+ createCart2 as createCart,
978
+ createCheckout2 as createCheckout,
979
+ deleteCart2 as deleteCart,
980
+ estimateTotals2 as estimateTotals,
981
+ getCart2 as getCart,
982
+ getCartByCheckoutId2 as getCartByCheckoutId,
983
+ removeBusinessLocation2 as removeBusinessLocation,
984
+ removeCoupon2 as removeCoupon,
985
+ removeLineItems2 as removeLineItems,
986
+ updateCart2 as updateCart,
987
+ updateLineItemsQuantity2 as updateLineItemsQuantity
988
+ };
989
+ //# sourceMappingURL=meta.mjs.map