@wix/auto_sdk_ecom_cart-v-2 1.0.58 → 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 +6 -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 +6 -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/index.js
CHANGED
|
@@ -193,6 +193,7 @@ function createCart(payload) {
|
|
|
193
193
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
194
194
|
},
|
|
195
195
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
196
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
196
197
|
{
|
|
197
198
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
198
199
|
},
|
|
@@ -200,7 +201,8 @@ function createCart(payload) {
|
|
|
200
201
|
{
|
|
201
202
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
202
203
|
},
|
|
203
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
204
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
205
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
204
206
|
]
|
|
205
207
|
},
|
|
206
208
|
{
|
|
@@ -250,7 +252,8 @@ function createCart(payload) {
|
|
|
250
252
|
},
|
|
251
253
|
{
|
|
252
254
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
253
|
-
}
|
|
255
|
+
},
|
|
256
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
254
257
|
]
|
|
255
258
|
},
|
|
256
259
|
{
|
|
@@ -303,7 +306,8 @@ function getCart(payload) {
|
|
|
303
306
|
},
|
|
304
307
|
{
|
|
305
308
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
306
|
-
}
|
|
309
|
+
},
|
|
310
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
307
311
|
]
|
|
308
312
|
},
|
|
309
313
|
{
|
|
@@ -344,7 +348,8 @@ function updateCart(payload) {
|
|
|
344
348
|
{
|
|
345
349
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
346
350
|
},
|
|
347
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
351
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
352
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
348
353
|
]
|
|
349
354
|
},
|
|
350
355
|
{
|
|
@@ -390,7 +395,8 @@ function updateCart(payload) {
|
|
|
390
395
|
},
|
|
391
396
|
{
|
|
392
397
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
393
|
-
}
|
|
398
|
+
},
|
|
399
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
394
400
|
]
|
|
395
401
|
},
|
|
396
402
|
{
|
|
@@ -464,7 +470,8 @@ function refreshCart(payload) {
|
|
|
464
470
|
},
|
|
465
471
|
{
|
|
466
472
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
467
|
-
}
|
|
473
|
+
},
|
|
474
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
468
475
|
]
|
|
469
476
|
},
|
|
470
477
|
{
|
|
@@ -518,6 +525,7 @@ function calculateCart(payload) {
|
|
|
518
525
|
{
|
|
519
526
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
520
527
|
},
|
|
528
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
521
529
|
{
|
|
522
530
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
523
531
|
}
|
|
@@ -606,7 +614,8 @@ function addLineItems(payload) {
|
|
|
606
614
|
{
|
|
607
615
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
608
616
|
},
|
|
609
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
617
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
618
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
610
619
|
]
|
|
611
620
|
}
|
|
612
621
|
]);
|
|
@@ -639,7 +648,8 @@ function addLineItems(payload) {
|
|
|
639
648
|
},
|
|
640
649
|
{
|
|
641
650
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
642
|
-
}
|
|
651
|
+
},
|
|
652
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
643
653
|
]
|
|
644
654
|
},
|
|
645
655
|
{
|
|
@@ -692,7 +702,8 @@ function removeLineItems(payload) {
|
|
|
692
702
|
},
|
|
693
703
|
{
|
|
694
704
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
695
|
-
}
|
|
705
|
+
},
|
|
706
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
696
707
|
]
|
|
697
708
|
},
|
|
698
709
|
{
|
|
@@ -745,7 +756,8 @@ function updateLineItems(payload) {
|
|
|
745
756
|
},
|
|
746
757
|
{
|
|
747
758
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
748
|
-
}
|
|
759
|
+
},
|
|
760
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
749
761
|
]
|
|
750
762
|
},
|
|
751
763
|
{
|
|
@@ -798,7 +810,8 @@ function addCoupon(payload) {
|
|
|
798
810
|
},
|
|
799
811
|
{
|
|
800
812
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
801
|
-
}
|
|
813
|
+
},
|
|
814
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
802
815
|
]
|
|
803
816
|
},
|
|
804
817
|
{
|
|
@@ -851,7 +864,8 @@ function removeCoupon(payload) {
|
|
|
851
864
|
},
|
|
852
865
|
{
|
|
853
866
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
854
|
-
}
|
|
867
|
+
},
|
|
868
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
855
869
|
]
|
|
856
870
|
},
|
|
857
871
|
{
|
|
@@ -904,7 +918,8 @@ function setDeliveryMethod(payload) {
|
|
|
904
918
|
},
|
|
905
919
|
{
|
|
906
920
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
907
|
-
}
|
|
921
|
+
},
|
|
922
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
908
923
|
]
|
|
909
924
|
},
|
|
910
925
|
{
|
|
@@ -957,7 +972,8 @@ function addGiftCard(payload) {
|
|
|
957
972
|
},
|
|
958
973
|
{
|
|
959
974
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
960
|
-
}
|
|
975
|
+
},
|
|
976
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
961
977
|
]
|
|
962
978
|
},
|
|
963
979
|
{
|
|
@@ -1010,7 +1026,8 @@ function removeGiftCard(payload) {
|
|
|
1010
1026
|
},
|
|
1011
1027
|
{
|
|
1012
1028
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1013
|
-
}
|
|
1029
|
+
},
|
|
1030
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1014
1031
|
]
|
|
1015
1032
|
},
|
|
1016
1033
|
{
|
|
@@ -1063,7 +1080,8 @@ function markCartAsCompleted(payload) {
|
|
|
1063
1080
|
},
|
|
1064
1081
|
{
|
|
1065
1082
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1066
|
-
}
|
|
1083
|
+
},
|
|
1084
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1067
1085
|
]
|
|
1068
1086
|
},
|
|
1069
1087
|
{
|
|
@@ -1143,7 +1161,8 @@ function updateFormSubmissions(payload) {
|
|
|
1143
1161
|
},
|
|
1144
1162
|
{
|
|
1145
1163
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1146
|
-
}
|
|
1164
|
+
},
|
|
1165
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1147
1166
|
]
|
|
1148
1167
|
},
|
|
1149
1168
|
{
|