@wix/auto_sdk_ecom_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 +36 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +0 -4
- package/build/cjs/index.typings.js +36 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +0 -4
- package/build/cjs/meta.js +36 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +36 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +0 -4
- package/build/es/index.typings.mjs +36 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +0 -4
- package/build/es/meta.mjs +36 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +36 -17
- 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 +36 -17
- 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 +36 -17
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +36 -17
- 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 +36 -17
- 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 +36 -17
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -4467,10 +4467,6 @@ type UpdateCartApplicationErrors = {
|
|
|
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;
|
|
@@ -114,6 +114,7 @@ function createCart(payload) {
|
|
|
114
114
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
115
115
|
},
|
|
116
116
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
117
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
117
118
|
{
|
|
118
119
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
119
120
|
},
|
|
@@ -121,7 +122,8 @@ function createCart(payload) {
|
|
|
121
122
|
{
|
|
122
123
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
123
124
|
},
|
|
124
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
125
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
126
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
125
127
|
]
|
|
126
128
|
},
|
|
127
129
|
{
|
|
@@ -171,7 +173,8 @@ function createCart(payload) {
|
|
|
171
173
|
},
|
|
172
174
|
{
|
|
173
175
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
174
|
-
}
|
|
176
|
+
},
|
|
177
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
175
178
|
]
|
|
176
179
|
},
|
|
177
180
|
{
|
|
@@ -224,7 +227,8 @@ function getCart(payload) {
|
|
|
224
227
|
},
|
|
225
228
|
{
|
|
226
229
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
227
|
-
}
|
|
230
|
+
},
|
|
231
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
228
232
|
]
|
|
229
233
|
},
|
|
230
234
|
{
|
|
@@ -265,7 +269,8 @@ function updateCart(payload) {
|
|
|
265
269
|
{
|
|
266
270
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
267
271
|
},
|
|
268
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
272
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
273
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
269
274
|
]
|
|
270
275
|
},
|
|
271
276
|
{
|
|
@@ -311,7 +316,8 @@ function updateCart(payload) {
|
|
|
311
316
|
},
|
|
312
317
|
{
|
|
313
318
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
314
|
-
}
|
|
319
|
+
},
|
|
320
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
315
321
|
]
|
|
316
322
|
},
|
|
317
323
|
{
|
|
@@ -385,7 +391,8 @@ function refreshCart(payload) {
|
|
|
385
391
|
},
|
|
386
392
|
{
|
|
387
393
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
388
|
-
}
|
|
394
|
+
},
|
|
395
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
389
396
|
]
|
|
390
397
|
},
|
|
391
398
|
{
|
|
@@ -439,6 +446,7 @@ function calculateCart(payload) {
|
|
|
439
446
|
{
|
|
440
447
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
441
448
|
},
|
|
449
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
442
450
|
{
|
|
443
451
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
444
452
|
}
|
|
@@ -527,7 +535,8 @@ function addLineItems(payload) {
|
|
|
527
535
|
{
|
|
528
536
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
529
537
|
},
|
|
530
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
538
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
539
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
531
540
|
]
|
|
532
541
|
}
|
|
533
542
|
]);
|
|
@@ -560,7 +569,8 @@ function addLineItems(payload) {
|
|
|
560
569
|
},
|
|
561
570
|
{
|
|
562
571
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
563
|
-
}
|
|
572
|
+
},
|
|
573
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
564
574
|
]
|
|
565
575
|
},
|
|
566
576
|
{
|
|
@@ -613,7 +623,8 @@ function removeLineItems(payload) {
|
|
|
613
623
|
},
|
|
614
624
|
{
|
|
615
625
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
616
|
-
}
|
|
626
|
+
},
|
|
627
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
617
628
|
]
|
|
618
629
|
},
|
|
619
630
|
{
|
|
@@ -666,7 +677,8 @@ function updateLineItems(payload) {
|
|
|
666
677
|
},
|
|
667
678
|
{
|
|
668
679
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
669
|
-
}
|
|
680
|
+
},
|
|
681
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
670
682
|
]
|
|
671
683
|
},
|
|
672
684
|
{
|
|
@@ -719,7 +731,8 @@ function addCoupon(payload) {
|
|
|
719
731
|
},
|
|
720
732
|
{
|
|
721
733
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
722
|
-
}
|
|
734
|
+
},
|
|
735
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
723
736
|
]
|
|
724
737
|
},
|
|
725
738
|
{
|
|
@@ -772,7 +785,8 @@ function removeCoupon(payload) {
|
|
|
772
785
|
},
|
|
773
786
|
{
|
|
774
787
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
775
|
-
}
|
|
788
|
+
},
|
|
789
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
776
790
|
]
|
|
777
791
|
},
|
|
778
792
|
{
|
|
@@ -825,7 +839,8 @@ function setDeliveryMethod(payload) {
|
|
|
825
839
|
},
|
|
826
840
|
{
|
|
827
841
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
828
|
-
}
|
|
842
|
+
},
|
|
843
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
829
844
|
]
|
|
830
845
|
},
|
|
831
846
|
{
|
|
@@ -878,7 +893,8 @@ function addGiftCard(payload) {
|
|
|
878
893
|
},
|
|
879
894
|
{
|
|
880
895
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
881
|
-
}
|
|
896
|
+
},
|
|
897
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
882
898
|
]
|
|
883
899
|
},
|
|
884
900
|
{
|
|
@@ -931,7 +947,8 @@ function removeGiftCard(payload) {
|
|
|
931
947
|
},
|
|
932
948
|
{
|
|
933
949
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
934
|
-
}
|
|
950
|
+
},
|
|
951
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
935
952
|
]
|
|
936
953
|
},
|
|
937
954
|
{
|
|
@@ -984,7 +1001,8 @@ function markCartAsCompleted(payload) {
|
|
|
984
1001
|
},
|
|
985
1002
|
{
|
|
986
1003
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
987
|
-
}
|
|
1004
|
+
},
|
|
1005
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
988
1006
|
]
|
|
989
1007
|
},
|
|
990
1008
|
{
|
|
@@ -1064,7 +1082,8 @@ function updateFormSubmissions(payload) {
|
|
|
1064
1082
|
},
|
|
1065
1083
|
{
|
|
1066
1084
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1067
|
-
}
|
|
1085
|
+
},
|
|
1086
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1068
1087
|
]
|
|
1069
1088
|
},
|
|
1070
1089
|
{
|