@wix/auto_sdk_ecom_current-cart-v-2 1.0.57 → 1.0.59
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.
- package/build/cjs/index.js +34 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +0 -4
- package/build/cjs/index.typings.js +34 -16
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +0 -4
- package/build/cjs/meta.js +34 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +34 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +0 -4
- package/build/es/index.typings.mjs +34 -16
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +0 -4
- package/build/es/meta.mjs +34 -16
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +34 -16
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -4
- package/build/internal/cjs/index.typings.js +34 -16
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +0 -4
- package/build/internal/cjs/meta.js +34 -16
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +34 -16
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +12 -4
- package/build/internal/es/index.typings.mjs +34 -16
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +0 -4
- package/build/internal/es/meta.mjs +34 -16
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -4467,10 +4467,6 @@ type UpdateCurrentCartApplicationErrors = {
|
|
|
4467
4467
|
code?: 'CART_ALREADY_ORDERED';
|
|
4468
4468
|
description?: string;
|
|
4469
4469
|
data?: CartAlreadyOrderedErrorData;
|
|
4470
|
-
} | {
|
|
4471
|
-
code?: 'ADDRESS_MISSING_COUNTRY';
|
|
4472
|
-
description?: string;
|
|
4473
|
-
data?: Record<string, any>;
|
|
4474
4470
|
} | {
|
|
4475
4471
|
code?: 'BUSINESS_LOCATION_NOT_FOUND';
|
|
4476
4472
|
description?: string;
|
package/build/es/meta.mjs
CHANGED
|
@@ -113,6 +113,7 @@ function createCurrentCart(payload) {
|
|
|
113
113
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
114
114
|
},
|
|
115
115
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
116
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
116
117
|
{
|
|
117
118
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
118
119
|
},
|
|
@@ -120,7 +121,8 @@ function createCurrentCart(payload) {
|
|
|
120
121
|
{
|
|
121
122
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
122
123
|
},
|
|
123
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
124
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
125
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
124
126
|
]
|
|
125
127
|
},
|
|
126
128
|
{
|
|
@@ -170,7 +172,8 @@ function createCurrentCart(payload) {
|
|
|
170
172
|
},
|
|
171
173
|
{
|
|
172
174
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
173
|
-
}
|
|
175
|
+
},
|
|
176
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
174
177
|
]
|
|
175
178
|
},
|
|
176
179
|
{
|
|
@@ -223,7 +226,8 @@ function getCurrentCart(payload) {
|
|
|
223
226
|
},
|
|
224
227
|
{
|
|
225
228
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
226
|
-
}
|
|
229
|
+
},
|
|
230
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
227
231
|
]
|
|
228
232
|
},
|
|
229
233
|
{
|
|
@@ -264,7 +268,8 @@ function updateCurrentCart(payload) {
|
|
|
264
268
|
{
|
|
265
269
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
266
270
|
},
|
|
267
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
271
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
272
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
268
273
|
]
|
|
269
274
|
},
|
|
270
275
|
{
|
|
@@ -310,7 +315,8 @@ function updateCurrentCart(payload) {
|
|
|
310
315
|
},
|
|
311
316
|
{
|
|
312
317
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
313
|
-
}
|
|
318
|
+
},
|
|
319
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
314
320
|
]
|
|
315
321
|
},
|
|
316
322
|
{
|
|
@@ -384,7 +390,8 @@ function refreshCurrentCart(payload) {
|
|
|
384
390
|
},
|
|
385
391
|
{
|
|
386
392
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
387
|
-
}
|
|
393
|
+
},
|
|
394
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
388
395
|
]
|
|
389
396
|
},
|
|
390
397
|
{
|
|
@@ -438,6 +445,7 @@ function calculateCurrentCart(payload) {
|
|
|
438
445
|
{
|
|
439
446
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
440
447
|
},
|
|
448
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
441
449
|
{
|
|
442
450
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
443
451
|
}
|
|
@@ -484,7 +492,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
484
492
|
{
|
|
485
493
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
486
494
|
},
|
|
487
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
495
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
496
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
488
497
|
]
|
|
489
498
|
}
|
|
490
499
|
]);
|
|
@@ -517,7 +526,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
517
526
|
},
|
|
518
527
|
{
|
|
519
528
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
520
|
-
}
|
|
529
|
+
},
|
|
530
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
521
531
|
]
|
|
522
532
|
},
|
|
523
533
|
{
|
|
@@ -570,7 +580,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
570
580
|
},
|
|
571
581
|
{
|
|
572
582
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
573
|
-
}
|
|
583
|
+
},
|
|
584
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
574
585
|
]
|
|
575
586
|
},
|
|
576
587
|
{
|
|
@@ -623,7 +634,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
623
634
|
},
|
|
624
635
|
{
|
|
625
636
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
626
|
-
}
|
|
637
|
+
},
|
|
638
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
627
639
|
]
|
|
628
640
|
},
|
|
629
641
|
{
|
|
@@ -676,7 +688,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
676
688
|
},
|
|
677
689
|
{
|
|
678
690
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
679
|
-
}
|
|
691
|
+
},
|
|
692
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
680
693
|
]
|
|
681
694
|
},
|
|
682
695
|
{
|
|
@@ -729,7 +742,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
729
742
|
},
|
|
730
743
|
{
|
|
731
744
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
732
|
-
}
|
|
745
|
+
},
|
|
746
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
733
747
|
]
|
|
734
748
|
},
|
|
735
749
|
{
|
|
@@ -782,7 +796,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
782
796
|
},
|
|
783
797
|
{
|
|
784
798
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
785
|
-
}
|
|
799
|
+
},
|
|
800
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
786
801
|
]
|
|
787
802
|
},
|
|
788
803
|
{
|
|
@@ -835,7 +850,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
835
850
|
},
|
|
836
851
|
{
|
|
837
852
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
838
|
-
}
|
|
853
|
+
},
|
|
854
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
839
855
|
]
|
|
840
856
|
},
|
|
841
857
|
{
|
|
@@ -888,7 +904,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
888
904
|
},
|
|
889
905
|
{
|
|
890
906
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
891
|
-
}
|
|
907
|
+
},
|
|
908
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
892
909
|
]
|
|
893
910
|
},
|
|
894
911
|
{
|
|
@@ -941,7 +958,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
941
958
|
},
|
|
942
959
|
{
|
|
943
960
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
944
|
-
}
|
|
961
|
+
},
|
|
962
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
945
963
|
]
|
|
946
964
|
},
|
|
947
965
|
{
|