@wix/auto_sdk_ecom_current-cart 1.0.184 → 1.0.185

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.
@@ -1,1074 +0,0 @@
1
- // src/ecom-v1-cart-current-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 resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
11
- const domainToMappings = {
12
- "www.wixapis.com": [
13
- {
14
- srcPath: "/ecom/v1/carts",
15
- destPath: "/v1/carts"
16
- }
17
- ],
18
- "www.wixgateway.com": [
19
- {
20
- srcPath: "/ecom/v1/carts",
21
- destPath: "/v1/carts"
22
- }
23
- ],
24
- _: [
25
- {
26
- srcPath: "/_api/ecom-cart",
27
- destPath: ""
28
- },
29
- {
30
- srcPath: "/_api/cart",
31
- destPath: ""
32
- },
33
- {
34
- srcPath: "/ecom/v1/carts",
35
- destPath: "/v1/carts"
36
- }
37
- ],
38
- "manage._base_domain_": [
39
- {
40
- srcPath: "/ecom/v1/carts",
41
- destPath: "/v1/carts"
42
- }
43
- ],
44
- "editor._base_domain_": [
45
- {
46
- srcPath: "/_api/ecom-cart",
47
- destPath: ""
48
- }
49
- ],
50
- "blocks._base_domain_": [
51
- {
52
- srcPath: "/_api/ecom-cart",
53
- destPath: ""
54
- }
55
- ],
56
- "create.editorx": [
57
- {
58
- srcPath: "/_api/ecom-cart",
59
- destPath: ""
60
- }
61
- ],
62
- "*.dev.wix-code.com": [
63
- {
64
- srcPath: "/_api/ecom-cart",
65
- destPath: ""
66
- }
67
- ],
68
- "www._base_domain_": [
69
- {
70
- srcPath: "/_api/ecom-cart",
71
- destPath: ""
72
- }
73
- ],
74
- "bo._base_domain_": [
75
- {
76
- srcPath: "/ecom/v1/carts",
77
- destPath: "/v1/carts"
78
- }
79
- ],
80
- "wixbo.ai": [
81
- {
82
- srcPath: "/ecom/v1/carts",
83
- destPath: "/v1/carts"
84
- }
85
- ],
86
- "wix-bo.com": [
87
- {
88
- srcPath: "/ecom/v1/carts",
89
- destPath: "/v1/carts"
90
- }
91
- ],
92
- "editor.wixapps.net": [
93
- {
94
- srcPath: "/_api/ecom-cart",
95
- destPath: ""
96
- }
97
- ],
98
- "apps._base_domain_": [
99
- {
100
- srcPath: "/ecom/v1/carts",
101
- destPath: "/v1/carts"
102
- }
103
- ],
104
- "api._api_base_domain_": [
105
- {
106
- srcPath: "/cart-v1-proxy",
107
- destPath: ""
108
- }
109
- ],
110
- "ecom.wixapps.net": [
111
- {
112
- srcPath: "/_api/ecom-cart",
113
- destPath: ""
114
- }
115
- ]
116
- };
117
- return resolveUrl(Object.assign(opts, { domainToMappings }));
118
- }
119
- var PACKAGE_NAME = "@wix/auto_sdk_ecom_current-cart";
120
- function currentCartGetCurrentCart(payload) {
121
- function __currentCartGetCurrentCart({ host }) {
122
- const metadata = {
123
- entityFqdn: "wix.ecom.v1.cart",
124
- method: "GET",
125
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.GetCurrentCart",
126
- packageName: PACKAGE_NAME,
127
- migrationOptions: {
128
- optInTransformResponse: true
129
- },
130
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
131
- protoPath: "/v1/carts/current",
132
- data: payload,
133
- host
134
- }),
135
- params: toURLSearchParams(payload),
136
- transformResponse: (payload2) => transformPaths(payload2, [
137
- {
138
- transformFn: transformRESTTimestampToSDKTimestamp,
139
- paths: [
140
- { path: "cart.createdDate" },
141
- { path: "cart.updatedDate" },
142
- { path: "cart.lineItems.image.urlExpirationDate" },
143
- {
144
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
145
- },
146
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
147
- { path: "cart.lineItems.serviceProperties.endDate" }
148
- ]
149
- },
150
- {
151
- transformFn: transformRESTFloatToSDKFloat,
152
- paths: [
153
- { path: "cart.lineItems.image.focalPoint.x" },
154
- { path: "cart.lineItems.image.focalPoint.y" },
155
- { path: "cart.lineItems.physicalProperties.weight" },
156
- {
157
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
158
- },
159
- { path: "cart.contactInfo.address.geocode.latitude" },
160
- { path: "cart.contactInfo.address.geocode.longitude" }
161
- ]
162
- }
163
- ])
164
- };
165
- return metadata;
166
- }
167
- return __currentCartGetCurrentCart;
168
- }
169
- function updateCurrentCart(payload) {
170
- function __updateCurrentCart({ host }) {
171
- const serializedData = transformPaths(payload, [
172
- {
173
- transformFn: transformSDKFieldMaskToRESTFieldMask,
174
- paths: [{ path: "cartFieldmask" }]
175
- },
176
- {
177
- transformFn: transformSDKTimestampToRESTTimestamp,
178
- paths: [
179
- { path: "cartInfo.createdDate" },
180
- { path: "cartInfo.updatedDate" },
181
- { path: "cartInfo.lineItems.image.urlExpirationDate" },
182
- {
183
- path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
184
- },
185
- { path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
186
- { path: "cartInfo.lineItems.serviceProperties.endDate" },
187
- { path: "lineItems.image.urlExpirationDate" },
188
- {
189
- path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
190
- },
191
- { path: "lineItems.serviceProperties.scheduledDate" },
192
- { path: "lineItems.serviceProperties.endDate" },
193
- {
194
- path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
195
- },
196
- { path: "customLineItems.serviceProperties.scheduledDate" },
197
- { path: "customLineItems.serviceProperties.endDate" }
198
- ]
199
- },
200
- {
201
- transformFn: transformSDKFloatToRESTFloat,
202
- paths: [
203
- { path: "cartInfo.lineItems.image.focalPoint.x" },
204
- { path: "cartInfo.lineItems.image.focalPoint.y" },
205
- { path: "lineItems.image.focalPoint.x" },
206
- { path: "lineItems.image.focalPoint.y" },
207
- { path: "cartInfo.lineItems.physicalProperties.weight" },
208
- {
209
- path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
210
- },
211
- { path: "cartInfo.contactInfo.address.geocode.latitude" },
212
- { path: "cartInfo.contactInfo.address.geocode.longitude" },
213
- { path: "lineItems.physicalProperties.weight" },
214
- { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
215
- { path: "customLineItems.physicalProperties.weight" }
216
- ]
217
- }
218
- ]);
219
- const metadata = {
220
- entityFqdn: "wix.ecom.v1.cart",
221
- method: "PATCH",
222
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.UpdateCurrentCart",
223
- packageName: PACKAGE_NAME,
224
- migrationOptions: {
225
- optInTransformResponse: true
226
- },
227
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
228
- protoPath: "/v1/carts/current",
229
- data: serializedData,
230
- host
231
- }),
232
- data: serializedData,
233
- transformResponse: (payload2) => transformPaths(payload2, [
234
- {
235
- transformFn: transformRESTTimestampToSDKTimestamp,
236
- paths: [
237
- { path: "cart.createdDate" },
238
- { path: "cart.updatedDate" },
239
- { path: "cart.lineItems.image.urlExpirationDate" },
240
- {
241
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
242
- },
243
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
244
- { path: "cart.lineItems.serviceProperties.endDate" }
245
- ]
246
- },
247
- {
248
- transformFn: transformRESTFloatToSDKFloat,
249
- paths: [
250
- { path: "cart.lineItems.image.focalPoint.x" },
251
- { path: "cart.lineItems.image.focalPoint.y" },
252
- { path: "cart.lineItems.physicalProperties.weight" },
253
- {
254
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
255
- },
256
- { path: "cart.contactInfo.address.geocode.latitude" },
257
- { path: "cart.contactInfo.address.geocode.longitude" }
258
- ]
259
- }
260
- ])
261
- };
262
- return metadata;
263
- }
264
- return __updateCurrentCart;
265
- }
266
- function addToCurrentCart(payload) {
267
- function __addToCurrentCart({ host }) {
268
- const serializedData = transformPaths(payload, [
269
- {
270
- transformFn: transformSDKTimestampToRESTTimestamp,
271
- paths: [
272
- { path: "lineItems.image.urlExpirationDate" },
273
- {
274
- path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
275
- },
276
- { path: "lineItems.serviceProperties.scheduledDate" },
277
- { path: "lineItems.serviceProperties.endDate" },
278
- {
279
- path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
280
- },
281
- { path: "customLineItems.serviceProperties.scheduledDate" },
282
- { path: "customLineItems.serviceProperties.endDate" }
283
- ]
284
- },
285
- {
286
- transformFn: transformSDKFloatToRESTFloat,
287
- paths: [
288
- { path: "lineItems.image.focalPoint.x" },
289
- { path: "lineItems.image.focalPoint.y" },
290
- { path: "lineItems.physicalProperties.weight" },
291
- { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
292
- { path: "customLineItems.physicalProperties.weight" }
293
- ]
294
- }
295
- ]);
296
- const metadata = {
297
- entityFqdn: "wix.ecom.v1.cart",
298
- method: "POST",
299
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.AddToCurrentCart",
300
- packageName: PACKAGE_NAME,
301
- migrationOptions: {
302
- optInTransformResponse: true
303
- },
304
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
305
- protoPath: "/v1/carts/current/add-to-cart",
306
- data: serializedData,
307
- host
308
- }),
309
- data: serializedData,
310
- transformResponse: (payload2) => transformPaths(payload2, [
311
- {
312
- transformFn: transformRESTTimestampToSDKTimestamp,
313
- paths: [
314
- { path: "cart.createdDate" },
315
- { path: "cart.updatedDate" },
316
- { path: "cart.lineItems.image.urlExpirationDate" },
317
- {
318
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
319
- },
320
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
321
- { path: "cart.lineItems.serviceProperties.endDate" }
322
- ]
323
- },
324
- {
325
- transformFn: transformRESTFloatToSDKFloat,
326
- paths: [
327
- { path: "cart.lineItems.image.focalPoint.x" },
328
- { path: "cart.lineItems.image.focalPoint.y" },
329
- { path: "cart.lineItems.physicalProperties.weight" },
330
- {
331
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
332
- },
333
- { path: "cart.contactInfo.address.geocode.latitude" },
334
- { path: "cart.contactInfo.address.geocode.longitude" }
335
- ]
336
- }
337
- ])
338
- };
339
- return metadata;
340
- }
341
- return __addToCurrentCart;
342
- }
343
- function removeLineItemsFromCurrentCart(payload) {
344
- function __removeLineItemsFromCurrentCart({ host }) {
345
- const metadata = {
346
- entityFqdn: "wix.ecom.v1.cart",
347
- method: "POST",
348
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.RemoveLineItemsFromCurrentCart",
349
- packageName: PACKAGE_NAME,
350
- migrationOptions: {
351
- optInTransformResponse: true
352
- },
353
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
354
- protoPath: "/v1/carts/current/remove-line-items",
355
- data: payload,
356
- host
357
- }),
358
- data: payload,
359
- transformResponse: (payload2) => transformPaths(payload2, [
360
- {
361
- transformFn: transformRESTTimestampToSDKTimestamp,
362
- paths: [
363
- { path: "cart.createdDate" },
364
- { path: "cart.updatedDate" },
365
- { path: "cart.lineItems.image.urlExpirationDate" },
366
- {
367
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
368
- },
369
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
370
- { path: "cart.lineItems.serviceProperties.endDate" }
371
- ]
372
- },
373
- {
374
- transformFn: transformRESTFloatToSDKFloat,
375
- paths: [
376
- { path: "cart.lineItems.image.focalPoint.x" },
377
- { path: "cart.lineItems.image.focalPoint.y" },
378
- { path: "cart.lineItems.physicalProperties.weight" },
379
- {
380
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
381
- },
382
- { path: "cart.contactInfo.address.geocode.latitude" },
383
- { path: "cart.contactInfo.address.geocode.longitude" }
384
- ]
385
- }
386
- ])
387
- };
388
- return metadata;
389
- }
390
- return __removeLineItemsFromCurrentCart;
391
- }
392
- function createCheckoutFromCurrentCart(payload) {
393
- function __createCheckoutFromCurrentCart({ host }) {
394
- const serializedData = transformPaths(payload, [
395
- {
396
- transformFn: transformSDKFloatToRESTFloat,
397
- paths: [
398
- { path: "shippingAddress.geocode.latitude" },
399
- { path: "shippingAddress.geocode.longitude" },
400
- { path: "billingAddress.geocode.latitude" },
401
- { path: "billingAddress.geocode.longitude" }
402
- ]
403
- }
404
- ]);
405
- const metadata = {
406
- entityFqdn: "wix.ecom.v1.cart",
407
- method: "POST",
408
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.CreateCheckoutFromCurrentCart",
409
- packageName: PACKAGE_NAME,
410
- migrationOptions: {
411
- optInTransformResponse: true
412
- },
413
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
414
- protoPath: "/v1/carts/current/create-checkout",
415
- data: serializedData,
416
- host
417
- }),
418
- data: serializedData
419
- };
420
- return metadata;
421
- }
422
- return __createCheckoutFromCurrentCart;
423
- }
424
- function removeCouponFromCurrentCart(payload) {
425
- function __removeCouponFromCurrentCart({ host }) {
426
- const metadata = {
427
- entityFqdn: "wix.ecom.v1.cart",
428
- method: "POST",
429
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.RemoveCouponFromCurrentCart",
430
- packageName: PACKAGE_NAME,
431
- migrationOptions: {
432
- optInTransformResponse: true
433
- },
434
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
435
- protoPath: "/v1/carts/current/remove-coupon",
436
- data: payload,
437
- host
438
- }),
439
- data: payload,
440
- transformResponse: (payload2) => transformPaths(payload2, [
441
- {
442
- transformFn: transformRESTTimestampToSDKTimestamp,
443
- paths: [
444
- { path: "cart.createdDate" },
445
- { path: "cart.updatedDate" },
446
- { path: "cart.lineItems.image.urlExpirationDate" },
447
- {
448
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
449
- },
450
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
451
- { path: "cart.lineItems.serviceProperties.endDate" }
452
- ]
453
- },
454
- {
455
- transformFn: transformRESTFloatToSDKFloat,
456
- paths: [
457
- { path: "cart.lineItems.image.focalPoint.x" },
458
- { path: "cart.lineItems.image.focalPoint.y" },
459
- { path: "cart.lineItems.physicalProperties.weight" },
460
- {
461
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
462
- },
463
- { path: "cart.contactInfo.address.geocode.latitude" },
464
- { path: "cart.contactInfo.address.geocode.longitude" }
465
- ]
466
- }
467
- ])
468
- };
469
- return metadata;
470
- }
471
- return __removeCouponFromCurrentCart;
472
- }
473
- function updateCurrentCartLineItemQuantity(payload) {
474
- function __updateCurrentCartLineItemQuantity({ host }) {
475
- const metadata = {
476
- entityFqdn: "wix.ecom.v1.cart",
477
- method: "POST",
478
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.UpdateCurrentCartLineItemQuantity",
479
- packageName: PACKAGE_NAME,
480
- migrationOptions: {
481
- optInTransformResponse: true
482
- },
483
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
484
- protoPath: "/v1/carts/current/update-line-items-quantity",
485
- data: payload,
486
- host
487
- }),
488
- data: payload,
489
- transformResponse: (payload2) => transformPaths(payload2, [
490
- {
491
- transformFn: transformRESTTimestampToSDKTimestamp,
492
- paths: [
493
- { path: "cart.createdDate" },
494
- { path: "cart.updatedDate" },
495
- { path: "cart.lineItems.image.urlExpirationDate" },
496
- {
497
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
498
- },
499
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
500
- { path: "cart.lineItems.serviceProperties.endDate" }
501
- ]
502
- },
503
- {
504
- transformFn: transformRESTFloatToSDKFloat,
505
- paths: [
506
- { path: "cart.lineItems.image.focalPoint.x" },
507
- { path: "cart.lineItems.image.focalPoint.y" },
508
- { path: "cart.lineItems.physicalProperties.weight" },
509
- {
510
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
511
- },
512
- { path: "cart.contactInfo.address.geocode.latitude" },
513
- { path: "cart.contactInfo.address.geocode.longitude" }
514
- ]
515
- }
516
- ])
517
- };
518
- return metadata;
519
- }
520
- return __updateCurrentCartLineItemQuantity;
521
- }
522
- function estimateCurrentCartTotals(payload) {
523
- function __estimateCurrentCartTotals({ host }) {
524
- const serializedData = transformPaths(payload, [
525
- {
526
- transformFn: transformSDKFloatToRESTFloat,
527
- paths: [
528
- { path: "shippingAddress.geocode.latitude" },
529
- { path: "shippingAddress.geocode.longitude" },
530
- { path: "billingAddress.geocode.latitude" },
531
- { path: "billingAddress.geocode.longitude" }
532
- ]
533
- }
534
- ]);
535
- const metadata = {
536
- entityFqdn: "wix.ecom.v1.cart",
537
- method: "POST",
538
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.EstimateCurrentCartTotals",
539
- packageName: PACKAGE_NAME,
540
- migrationOptions: {
541
- optInTransformResponse: true
542
- },
543
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
544
- protoPath: "/v1/carts/current/estimate-totals",
545
- data: serializedData,
546
- host
547
- }),
548
- data: serializedData,
549
- transformResponse: (payload2) => transformPaths(payload2, [
550
- {
551
- transformFn: transformRESTTimestampToSDKTimestamp,
552
- paths: [
553
- { path: "cart.createdDate" },
554
- { path: "cart.updatedDate" },
555
- { path: "cart.lineItems.image.urlExpirationDate" },
556
- {
557
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
558
- },
559
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
560
- { path: "cart.lineItems.serviceProperties.endDate" },
561
- {
562
- path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
563
- },
564
- {
565
- path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
566
- },
567
- {
568
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
569
- },
570
- {
571
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
572
- },
573
- { path: "membershipOptions.eligibleMemberships.expirationDate" },
574
- {
575
- path: "membershipOptions.invalidMemberships.membership.expirationDate"
576
- },
577
- {
578
- path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
579
- }
580
- ]
581
- },
582
- {
583
- transformFn: transformRESTFloatToSDKFloat,
584
- paths: [
585
- { path: "cart.lineItems.image.focalPoint.x" },
586
- { path: "cart.lineItems.image.focalPoint.y" },
587
- { path: "cart.lineItems.physicalProperties.weight" },
588
- {
589
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
590
- },
591
- { path: "cart.contactInfo.address.geocode.latitude" },
592
- { path: "cart.contactInfo.address.geocode.longitude" },
593
- {
594
- path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
595
- },
596
- {
597
- path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
598
- },
599
- {
600
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
601
- },
602
- {
603
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
604
- },
605
- { path: "appliedDiscounts.merchantDiscount.percentage" }
606
- ]
607
- }
608
- ])
609
- };
610
- return metadata;
611
- }
612
- return __estimateCurrentCartTotals;
613
- }
614
- function deleteCurrentCart(payload) {
615
- function __deleteCurrentCart({ host }) {
616
- const metadata = {
617
- entityFqdn: "wix.ecom.v1.cart",
618
- method: "DELETE",
619
- methodFqn: "com.wix.ecom.cart.api.v1.CurrentCartService.DeleteCurrentCart",
620
- packageName: PACKAGE_NAME,
621
- migrationOptions: {
622
- optInTransformResponse: true
623
- },
624
- url: resolveComWixEcomCartApiV1CurrentCartServiceUrl({
625
- protoPath: "/v1/carts/current",
626
- data: payload,
627
- host
628
- }),
629
- params: toURLSearchParams(payload)
630
- };
631
- return metadata;
632
- }
633
- return __deleteCurrentCart;
634
- }
635
-
636
- // src/ecom-v1-cart-current-cart.types.ts
637
- var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
638
- DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
639
- DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
640
- DescriptionLineType2["COLOR"] = "COLOR";
641
- return DescriptionLineType2;
642
- })(DescriptionLineType || {});
643
- var ItemAvailabilityStatus = /* @__PURE__ */ ((ItemAvailabilityStatus2) => {
644
- ItemAvailabilityStatus2["AVAILABLE"] = "AVAILABLE";
645
- ItemAvailabilityStatus2["NOT_FOUND"] = "NOT_FOUND";
646
- ItemAvailabilityStatus2["NOT_AVAILABLE"] = "NOT_AVAILABLE";
647
- ItemAvailabilityStatus2["PARTIALLY_AVAILABLE"] = "PARTIALLY_AVAILABLE";
648
- return ItemAvailabilityStatus2;
649
- })(ItemAvailabilityStatus || {});
650
- var DimensionsUnit = /* @__PURE__ */ ((DimensionsUnit2) => {
651
- DimensionsUnit2["UNKNOWN_DIMENSIONS_UNIT"] = "UNKNOWN_DIMENSIONS_UNIT";
652
- DimensionsUnit2["MM"] = "MM";
653
- DimensionsUnit2["CM"] = "CM";
654
- DimensionsUnit2["M"] = "M";
655
- DimensionsUnit2["IN"] = "IN";
656
- DimensionsUnit2["FT"] = "FT";
657
- DimensionsUnit2["YD"] = "YD";
658
- return DimensionsUnit2;
659
- })(DimensionsUnit || {});
660
- var ItemTypePreset = /* @__PURE__ */ ((ItemTypePreset2) => {
661
- ItemTypePreset2["UNRECOGNISED"] = "UNRECOGNISED";
662
- ItemTypePreset2["PHYSICAL"] = "PHYSICAL";
663
- ItemTypePreset2["DIGITAL"] = "DIGITAL";
664
- ItemTypePreset2["GIFT_CARD"] = "GIFT_CARD";
665
- ItemTypePreset2["SERVICE"] = "SERVICE";
666
- return ItemTypePreset2;
667
- })(ItemTypePreset || {});
668
- var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
669
- SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
670
- SubscriptionFrequency2["DAY"] = "DAY";
671
- SubscriptionFrequency2["WEEK"] = "WEEK";
672
- SubscriptionFrequency2["MONTH"] = "MONTH";
673
- SubscriptionFrequency2["YEAR"] = "YEAR";
674
- return SubscriptionFrequency2;
675
- })(SubscriptionFrequency || {});
676
- var ProductPeriodAlignment = /* @__PURE__ */ ((ProductPeriodAlignment2) => {
677
- ProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
678
- ProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
679
- return ProductPeriodAlignment2;
680
- })(ProductPeriodAlignment || {});
681
- var FileType = /* @__PURE__ */ ((FileType2) => {
682
- FileType2["UNSPECIFIED"] = "UNSPECIFIED";
683
- FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
684
- FileType2["SECURE_VIDEO"] = "SECURE_VIDEO";
685
- FileType2["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
686
- FileType2["SECURE_MUSIC"] = "SECURE_MUSIC";
687
- FileType2["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
688
- FileType2["SECURE_RAW"] = "SECURE_RAW";
689
- return FileType2;
690
- })(FileType || {});
691
- var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
692
- PaymentOptionType2["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
693
- PaymentOptionType2["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
694
- PaymentOptionType2["MEMBERSHIP"] = "MEMBERSHIP";
695
- PaymentOptionType2["DEPOSIT_ONLINE"] = "DEPOSIT_ONLINE";
696
- PaymentOptionType2["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
697
- PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
698
- return PaymentOptionType2;
699
- })(PaymentOptionType || {});
700
- var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
701
- TaxableAddressType2["BUSINESS"] = "BUSINESS";
702
- TaxableAddressType2["BILLING"] = "BILLING";
703
- TaxableAddressType2["SHIPPING"] = "SHIPPING";
704
- return TaxableAddressType2;
705
- })(TaxableAddressType || {});
706
- var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
707
- PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
708
- PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
709
- return PlatformFeeChargeType2;
710
- })(PlatformFeeChargeType || {});
711
- var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
712
- WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
713
- WeightUnit2["KG"] = "KG";
714
- WeightUnit2["LB"] = "LB";
715
- return WeightUnit2;
716
- })(WeightUnit || {});
717
- var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
718
- DiscountType2["GLOBAL"] = "GLOBAL";
719
- DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
720
- DiscountType2["SHIPPING"] = "SHIPPING";
721
- return DiscountType2;
722
- })(DiscountType || {});
723
- var VatType = /* @__PURE__ */ ((VatType2) => {
724
- VatType2["UNSPECIFIED"] = "UNSPECIFIED";
725
- VatType2["CPF"] = "CPF";
726
- VatType2["CNPJ"] = "CNPJ";
727
- return VatType2;
728
- })(VatType || {});
729
- var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
730
- JurisdictionType2["UNDEFINED"] = "UNDEFINED";
731
- JurisdictionType2["COUNTRY"] = "COUNTRY";
732
- JurisdictionType2["STATE"] = "STATE";
733
- JurisdictionType2["COUNTY"] = "COUNTY";
734
- JurisdictionType2["CITY"] = "CITY";
735
- JurisdictionType2["SPECIAL"] = "SPECIAL";
736
- return JurisdictionType2;
737
- })(JurisdictionType || {});
738
- var RateType = /* @__PURE__ */ ((RateType2) => {
739
- RateType2["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
740
- RateType2["MANUAL_RATE"] = "MANUAL_RATE";
741
- RateType2["AUTO_RATE"] = "AUTO_RATE";
742
- RateType2["FALLBACK_RATE"] = "FALLBACK_RATE";
743
- return RateType2;
744
- })(RateType || {});
745
- var ManualCalculationReason = /* @__PURE__ */ ((ManualCalculationReason2) => {
746
- ManualCalculationReason2["GLOBAL_SETTING_TO_MANUAL"] = "GLOBAL_SETTING_TO_MANUAL";
747
- ManualCalculationReason2["REGION_SETTING_TO_MANUAL"] = "REGION_SETTING_TO_MANUAL";
748
- return ManualCalculationReason2;
749
- })(ManualCalculationReason || {});
750
- var FallbackReason = /* @__PURE__ */ ((FallbackReason2) => {
751
- FallbackReason2["AUTO_TAX_FAILED"] = "AUTO_TAX_FAILED";
752
- FallbackReason2["AUTO_TAX_DEACTIVATED"] = "AUTO_TAX_DEACTIVATED";
753
- return FallbackReason2;
754
- })(FallbackReason || {});
755
- var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
756
- PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
757
- PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
758
- return PickupMethod2;
759
- })(PickupMethod || {});
760
- var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
761
- ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
762
- ChargeType2["INSURANCE"] = "INSURANCE";
763
- return ChargeType2;
764
- })(ChargeType || {});
765
- var AppliedDiscountDiscountType = /* @__PURE__ */ ((AppliedDiscountDiscountType2) => {
766
- AppliedDiscountDiscountType2["GLOBAL"] = "GLOBAL";
767
- AppliedDiscountDiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
768
- AppliedDiscountDiscountType2["SHIPPING"] = "SHIPPING";
769
- return AppliedDiscountDiscountType2;
770
- })(AppliedDiscountDiscountType || {});
771
- var RuleType = /* @__PURE__ */ ((RuleType2) => {
772
- RuleType2["VALIDATION"] = "VALIDATION";
773
- RuleType2["OTHER"] = "OTHER";
774
- RuleType2["MAX"] = "MAX";
775
- RuleType2["MIN"] = "MIN";
776
- RuleType2["MAX_LENGTH"] = "MAX_LENGTH";
777
- RuleType2["MIN_LENGTH"] = "MIN_LENGTH";
778
- RuleType2["MAX_SIZE"] = "MAX_SIZE";
779
- RuleType2["MIN_SIZE"] = "MIN_SIZE";
780
- RuleType2["FORMAT"] = "FORMAT";
781
- RuleType2["DECIMAL_LTE"] = "DECIMAL_LTE";
782
- RuleType2["DECIMAL_GTE"] = "DECIMAL_GTE";
783
- RuleType2["DECIMAL_LT"] = "DECIMAL_LT";
784
- RuleType2["DECIMAL_GT"] = "DECIMAL_GT";
785
- RuleType2["DECIMAL_MAX_SCALE"] = "DECIMAL_MAX_SCALE";
786
- RuleType2["INVALID_ENUM_VALUE"] = "INVALID_ENUM_VALUE";
787
- RuleType2["REQUIRED_FIELD"] = "REQUIRED_FIELD";
788
- RuleType2["FIELD_NOT_ALLOWED"] = "FIELD_NOT_ALLOWED";
789
- RuleType2["ONE_OF_ALIGNMENT"] = "ONE_OF_ALIGNMENT";
790
- RuleType2["EXACT_LENGTH"] = "EXACT_LENGTH";
791
- RuleType2["EXACT_SIZE"] = "EXACT_SIZE";
792
- RuleType2["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
793
- return RuleType2;
794
- })(RuleType || {});
795
- var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
796
- BalanceType2["PUNCH_CARD"] = "PUNCH_CARD";
797
- BalanceType2["CREDIT"] = "CREDIT";
798
- return BalanceType2;
799
- })(BalanceType || {});
800
- var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
801
- QuotaType2["LIMITED"] = "LIMITED";
802
- QuotaType2["UNLIMITED"] = "UNLIMITED";
803
- return QuotaType2;
804
- })(QuotaType || {});
805
- var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
806
- LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
807
- LimitedQuotaType2["CREDIT"] = "CREDIT";
808
- return LimitedQuotaType2;
809
- })(LimitedQuotaType || {});
810
- var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
811
- AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
812
- AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
813
- AdditionalFeeSource2["ITEM"] = "ITEM";
814
- AdditionalFeeSource2["MANUAL"] = "MANUAL";
815
- AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
816
- AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
817
- return AdditionalFeeSource2;
818
- })(AdditionalFeeSource || {});
819
- var Severity = /* @__PURE__ */ ((Severity2) => {
820
- Severity2["WARNING"] = "WARNING";
821
- Severity2["ERROR"] = "ERROR";
822
- return Severity2;
823
- })(Severity || {});
824
- var NameInOther = /* @__PURE__ */ ((NameInOther2) => {
825
- NameInOther2["OTHER_DEFAULT"] = "OTHER_DEFAULT";
826
- return NameInOther2;
827
- })(NameInOther || {});
828
- var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
829
- NameInLineItem2["LINE_ITEM_DEFAULT"] = "LINE_ITEM_DEFAULT";
830
- return NameInLineItem2;
831
- })(NameInLineItem || {});
832
- var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
833
- SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
834
- SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
835
- return SuggestedFix2;
836
- })(SuggestedFix || {});
837
- var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
838
- ChannelType2["UNSPECIFIED"] = "UNSPECIFIED";
839
- ChannelType2["WEB"] = "WEB";
840
- ChannelType2["POS"] = "POS";
841
- ChannelType2["EBAY"] = "EBAY";
842
- ChannelType2["AMAZON"] = "AMAZON";
843
- ChannelType2["OTHER_PLATFORM"] = "OTHER_PLATFORM";
844
- ChannelType2["WIX_APP_STORE"] = "WIX_APP_STORE";
845
- ChannelType2["WIX_INVOICES"] = "WIX_INVOICES";
846
- ChannelType2["BACKOFFICE_MERCHANT"] = "BACKOFFICE_MERCHANT";
847
- ChannelType2["WISH"] = "WISH";
848
- ChannelType2["CLASS_PASS"] = "CLASS_PASS";
849
- ChannelType2["GLOBAL_E"] = "GLOBAL_E";
850
- ChannelType2["FACEBOOK"] = "FACEBOOK";
851
- ChannelType2["ETSY"] = "ETSY";
852
- ChannelType2["TIKTOK"] = "TIKTOK";
853
- ChannelType2["FAIRE_COM"] = "FAIRE_COM";
854
- ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
855
- ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
856
- ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
857
- ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
858
- return ChannelType2;
859
- })(ChannelType || {});
860
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
861
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
862
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
863
- WebhookIdentityType2["MEMBER"] = "MEMBER";
864
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
865
- WebhookIdentityType2["APP"] = "APP";
866
- return WebhookIdentityType2;
867
- })(WebhookIdentityType || {});
868
-
869
- // src/ecom-v1-cart-current-cart.meta.ts
870
- function getCurrentCart() {
871
- const payload = {};
872
- const getRequestOptions = currentCartGetCurrentCart(payload);
873
- const getUrl = (context) => {
874
- const { url } = getRequestOptions(context);
875
- return url;
876
- };
877
- return {
878
- getUrl,
879
- httpMethod: "GET",
880
- path: "/v1/carts/current",
881
- pathParams: {},
882
- __requestType: null,
883
- __originalRequestType: null,
884
- __responseType: null,
885
- __originalResponseType: null
886
- };
887
- }
888
- function updateCurrentCart2() {
889
- const payload = {};
890
- const getRequestOptions = updateCurrentCart(payload);
891
- const getUrl = (context) => {
892
- const { url } = getRequestOptions(context);
893
- return url;
894
- };
895
- return {
896
- getUrl,
897
- httpMethod: "PATCH",
898
- path: "/v1/carts/current",
899
- pathParams: {},
900
- __requestType: null,
901
- __originalRequestType: null,
902
- __responseType: null,
903
- __originalResponseType: null
904
- };
905
- }
906
- function addToCurrentCart2() {
907
- const payload = {};
908
- const getRequestOptions = addToCurrentCart(payload);
909
- const getUrl = (context) => {
910
- const { url } = getRequestOptions(context);
911
- return url;
912
- };
913
- return {
914
- getUrl,
915
- httpMethod: "POST",
916
- path: "/v1/carts/current/add-to-cart",
917
- pathParams: {},
918
- __requestType: null,
919
- __originalRequestType: null,
920
- __responseType: null,
921
- __originalResponseType: null
922
- };
923
- }
924
- function removeLineItemsFromCurrentCart2() {
925
- const payload = {};
926
- const getRequestOptions = removeLineItemsFromCurrentCart(payload);
927
- const getUrl = (context) => {
928
- const { url } = getRequestOptions(context);
929
- return url;
930
- };
931
- return {
932
- getUrl,
933
- httpMethod: "POST",
934
- path: "/v1/carts/current/remove-line-items",
935
- pathParams: {},
936
- __requestType: null,
937
- __originalRequestType: null,
938
- __responseType: null,
939
- __originalResponseType: null
940
- };
941
- }
942
- function createCheckoutFromCurrentCart2() {
943
- const payload = {};
944
- const getRequestOptions = createCheckoutFromCurrentCart(payload);
945
- const getUrl = (context) => {
946
- const { url } = getRequestOptions(context);
947
- return url;
948
- };
949
- return {
950
- getUrl,
951
- httpMethod: "POST",
952
- path: "/v1/carts/current/create-checkout",
953
- pathParams: {},
954
- __requestType: null,
955
- __originalRequestType: null,
956
- __responseType: null,
957
- __originalResponseType: null
958
- };
959
- }
960
- function removeCouponFromCurrentCart2() {
961
- const payload = {};
962
- const getRequestOptions = removeCouponFromCurrentCart(payload);
963
- const getUrl = (context) => {
964
- const { url } = getRequestOptions(context);
965
- return url;
966
- };
967
- return {
968
- getUrl,
969
- httpMethod: "POST",
970
- path: "/v1/carts/current/remove-coupon",
971
- pathParams: {},
972
- __requestType: null,
973
- __originalRequestType: null,
974
- __responseType: null,
975
- __originalResponseType: null
976
- };
977
- }
978
- function updateCurrentCartLineItemQuantity2() {
979
- const payload = {};
980
- const getRequestOptions = updateCurrentCartLineItemQuantity(payload);
981
- const getUrl = (context) => {
982
- const { url } = getRequestOptions(context);
983
- return url;
984
- };
985
- return {
986
- getUrl,
987
- httpMethod: "POST",
988
- path: "/v1/carts/current/update-line-items-quantity",
989
- pathParams: {},
990
- __requestType: null,
991
- __originalRequestType: null,
992
- __responseType: null,
993
- __originalResponseType: null
994
- };
995
- }
996
- function estimateCurrentCartTotals2() {
997
- const payload = {};
998
- const getRequestOptions = estimateCurrentCartTotals(payload);
999
- const getUrl = (context) => {
1000
- const { url } = getRequestOptions(context);
1001
- return url;
1002
- };
1003
- return {
1004
- getUrl,
1005
- httpMethod: "POST",
1006
- path: "/v1/carts/current/estimate-totals",
1007
- pathParams: {},
1008
- __requestType: null,
1009
- __originalRequestType: null,
1010
- __responseType: null,
1011
- __originalResponseType: null
1012
- };
1013
- }
1014
- function deleteCurrentCart2() {
1015
- const payload = {};
1016
- const getRequestOptions = deleteCurrentCart(payload);
1017
- const getUrl = (context) => {
1018
- const { url } = getRequestOptions(context);
1019
- return url;
1020
- };
1021
- return {
1022
- getUrl,
1023
- httpMethod: "DELETE",
1024
- path: "/v1/carts/current",
1025
- pathParams: {},
1026
- __requestType: null,
1027
- __originalRequestType: null,
1028
- __responseType: null,
1029
- __originalResponseType: null
1030
- };
1031
- }
1032
- export {
1033
- AdditionalFeeSource as AdditionalFeeSourceOriginal,
1034
- AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal,
1035
- BalanceType as BalanceTypeOriginal,
1036
- ChannelType as ChannelTypeOriginal,
1037
- ChargeType as ChargeTypeOriginal,
1038
- DescriptionLineType as DescriptionLineTypeOriginal,
1039
- DimensionsUnit as DimensionsUnitOriginal,
1040
- DiscountType as DiscountTypeOriginal,
1041
- FallbackReason as FallbackReasonOriginal,
1042
- FileType as FileTypeOriginal,
1043
- ItemAvailabilityStatus as ItemAvailabilityStatusOriginal,
1044
- ItemTypePreset as ItemTypePresetOriginal,
1045
- JurisdictionType as JurisdictionTypeOriginal,
1046
- LimitedQuotaType as LimitedQuotaTypeOriginal,
1047
- ManualCalculationReason as ManualCalculationReasonOriginal,
1048
- NameInLineItem as NameInLineItemOriginal,
1049
- NameInOther as NameInOtherOriginal,
1050
- PaymentOptionType as PaymentOptionTypeOriginal,
1051
- PickupMethod as PickupMethodOriginal,
1052
- PlatformFeeChargeType as PlatformFeeChargeTypeOriginal,
1053
- ProductPeriodAlignment as ProductPeriodAlignmentOriginal,
1054
- QuotaType as QuotaTypeOriginal,
1055
- RateType as RateTypeOriginal,
1056
- RuleType as RuleTypeOriginal,
1057
- Severity as SeverityOriginal,
1058
- SubscriptionFrequency as SubscriptionFrequencyOriginal,
1059
- SuggestedFix as SuggestedFixOriginal,
1060
- TaxableAddressType as TaxableAddressTypeOriginal,
1061
- VatType as VatTypeOriginal,
1062
- WebhookIdentityType as WebhookIdentityTypeOriginal,
1063
- WeightUnit as WeightUnitOriginal,
1064
- addToCurrentCart2 as addToCurrentCart,
1065
- createCheckoutFromCurrentCart2 as createCheckoutFromCurrentCart,
1066
- deleteCurrentCart2 as deleteCurrentCart,
1067
- estimateCurrentCartTotals2 as estimateCurrentCartTotals,
1068
- getCurrentCart,
1069
- removeCouponFromCurrentCart2 as removeCouponFromCurrentCart,
1070
- removeLineItemsFromCurrentCart2 as removeLineItemsFromCurrentCart,
1071
- updateCurrentCart2 as updateCurrentCart,
1072
- updateCurrentCartLineItemQuantity2 as updateCurrentCartLineItemQuantity
1073
- };
1074
- //# sourceMappingURL=meta.mjs.map