@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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -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;
|
package/build/cjs/meta.js
CHANGED
|
@@ -189,6 +189,7 @@ function createCart(payload) {
|
|
|
189
189
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
190
190
|
},
|
|
191
191
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
192
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
192
193
|
{
|
|
193
194
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
194
195
|
},
|
|
@@ -196,7 +197,8 @@ function createCart(payload) {
|
|
|
196
197
|
{
|
|
197
198
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
198
199
|
},
|
|
199
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
200
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
201
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
200
202
|
]
|
|
201
203
|
},
|
|
202
204
|
{
|
|
@@ -246,7 +248,8 @@ function createCart(payload) {
|
|
|
246
248
|
},
|
|
247
249
|
{
|
|
248
250
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
249
|
-
}
|
|
251
|
+
},
|
|
252
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
250
253
|
]
|
|
251
254
|
},
|
|
252
255
|
{
|
|
@@ -299,7 +302,8 @@ function getCart(payload) {
|
|
|
299
302
|
},
|
|
300
303
|
{
|
|
301
304
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
302
|
-
}
|
|
305
|
+
},
|
|
306
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
303
307
|
]
|
|
304
308
|
},
|
|
305
309
|
{
|
|
@@ -340,7 +344,8 @@ function updateCart(payload) {
|
|
|
340
344
|
{
|
|
341
345
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
342
346
|
},
|
|
343
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
347
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
348
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
344
349
|
]
|
|
345
350
|
},
|
|
346
351
|
{
|
|
@@ -386,7 +391,8 @@ function updateCart(payload) {
|
|
|
386
391
|
},
|
|
387
392
|
{
|
|
388
393
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
389
|
-
}
|
|
394
|
+
},
|
|
395
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
390
396
|
]
|
|
391
397
|
},
|
|
392
398
|
{
|
|
@@ -460,7 +466,8 @@ function refreshCart(payload) {
|
|
|
460
466
|
},
|
|
461
467
|
{
|
|
462
468
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
463
|
-
}
|
|
469
|
+
},
|
|
470
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
464
471
|
]
|
|
465
472
|
},
|
|
466
473
|
{
|
|
@@ -514,6 +521,7 @@ function calculateCart(payload) {
|
|
|
514
521
|
{
|
|
515
522
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
516
523
|
},
|
|
524
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
517
525
|
{
|
|
518
526
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
519
527
|
}
|
|
@@ -602,7 +610,8 @@ function addLineItems(payload) {
|
|
|
602
610
|
{
|
|
603
611
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
604
612
|
},
|
|
605
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
613
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
614
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
606
615
|
]
|
|
607
616
|
}
|
|
608
617
|
]);
|
|
@@ -635,7 +644,8 @@ function addLineItems(payload) {
|
|
|
635
644
|
},
|
|
636
645
|
{
|
|
637
646
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
638
|
-
}
|
|
647
|
+
},
|
|
648
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
639
649
|
]
|
|
640
650
|
},
|
|
641
651
|
{
|
|
@@ -688,7 +698,8 @@ function removeLineItems(payload) {
|
|
|
688
698
|
},
|
|
689
699
|
{
|
|
690
700
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
691
|
-
}
|
|
701
|
+
},
|
|
702
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
692
703
|
]
|
|
693
704
|
},
|
|
694
705
|
{
|
|
@@ -741,7 +752,8 @@ function updateLineItems(payload) {
|
|
|
741
752
|
},
|
|
742
753
|
{
|
|
743
754
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
744
|
-
}
|
|
755
|
+
},
|
|
756
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
745
757
|
]
|
|
746
758
|
},
|
|
747
759
|
{
|
|
@@ -794,7 +806,8 @@ function addCoupon(payload) {
|
|
|
794
806
|
},
|
|
795
807
|
{
|
|
796
808
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
797
|
-
}
|
|
809
|
+
},
|
|
810
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
798
811
|
]
|
|
799
812
|
},
|
|
800
813
|
{
|
|
@@ -847,7 +860,8 @@ function removeCoupon(payload) {
|
|
|
847
860
|
},
|
|
848
861
|
{
|
|
849
862
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
850
|
-
}
|
|
863
|
+
},
|
|
864
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
851
865
|
]
|
|
852
866
|
},
|
|
853
867
|
{
|
|
@@ -900,7 +914,8 @@ function setDeliveryMethod(payload) {
|
|
|
900
914
|
},
|
|
901
915
|
{
|
|
902
916
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
903
|
-
}
|
|
917
|
+
},
|
|
918
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
904
919
|
]
|
|
905
920
|
},
|
|
906
921
|
{
|
|
@@ -953,7 +968,8 @@ function addGiftCard(payload) {
|
|
|
953
968
|
},
|
|
954
969
|
{
|
|
955
970
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
956
|
-
}
|
|
971
|
+
},
|
|
972
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
957
973
|
]
|
|
958
974
|
},
|
|
959
975
|
{
|
|
@@ -1006,7 +1022,8 @@ function removeGiftCard(payload) {
|
|
|
1006
1022
|
},
|
|
1007
1023
|
{
|
|
1008
1024
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1009
|
-
}
|
|
1025
|
+
},
|
|
1026
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1010
1027
|
]
|
|
1011
1028
|
},
|
|
1012
1029
|
{
|
|
@@ -1059,7 +1076,8 @@ function markCartAsCompleted(payload) {
|
|
|
1059
1076
|
},
|
|
1060
1077
|
{
|
|
1061
1078
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1062
|
-
}
|
|
1079
|
+
},
|
|
1080
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1063
1081
|
]
|
|
1064
1082
|
},
|
|
1065
1083
|
{
|
|
@@ -1139,7 +1157,8 @@ function updateFormSubmissions(payload) {
|
|
|
1139
1157
|
},
|
|
1140
1158
|
{
|
|
1141
1159
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1142
|
-
}
|
|
1160
|
+
},
|
|
1161
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1143
1162
|
]
|
|
1144
1163
|
},
|
|
1145
1164
|
{
|