@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/cjs/index.js
CHANGED
|
@@ -188,6 +188,7 @@ function createCurrentCart(payload) {
|
|
|
188
188
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
189
189
|
},
|
|
190
190
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
191
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
191
192
|
{
|
|
192
193
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
193
194
|
},
|
|
@@ -195,7 +196,8 @@ function createCurrentCart(payload) {
|
|
|
195
196
|
{
|
|
196
197
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
197
198
|
},
|
|
198
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
199
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
200
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
199
201
|
]
|
|
200
202
|
},
|
|
201
203
|
{
|
|
@@ -245,7 +247,8 @@ function createCurrentCart(payload) {
|
|
|
245
247
|
},
|
|
246
248
|
{
|
|
247
249
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
248
|
-
}
|
|
250
|
+
},
|
|
251
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
249
252
|
]
|
|
250
253
|
},
|
|
251
254
|
{
|
|
@@ -298,7 +301,8 @@ function getCurrentCart(payload) {
|
|
|
298
301
|
},
|
|
299
302
|
{
|
|
300
303
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
301
|
-
}
|
|
304
|
+
},
|
|
305
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
302
306
|
]
|
|
303
307
|
},
|
|
304
308
|
{
|
|
@@ -339,7 +343,8 @@ function updateCurrentCart(payload) {
|
|
|
339
343
|
{
|
|
340
344
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
341
345
|
},
|
|
342
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
346
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
347
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
343
348
|
]
|
|
344
349
|
},
|
|
345
350
|
{
|
|
@@ -385,7 +390,8 @@ function updateCurrentCart(payload) {
|
|
|
385
390
|
},
|
|
386
391
|
{
|
|
387
392
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
388
|
-
}
|
|
393
|
+
},
|
|
394
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
389
395
|
]
|
|
390
396
|
},
|
|
391
397
|
{
|
|
@@ -459,7 +465,8 @@ function refreshCurrentCart(payload) {
|
|
|
459
465
|
},
|
|
460
466
|
{
|
|
461
467
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
462
|
-
}
|
|
468
|
+
},
|
|
469
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
463
470
|
]
|
|
464
471
|
},
|
|
465
472
|
{
|
|
@@ -513,6 +520,7 @@ function calculateCurrentCart(payload) {
|
|
|
513
520
|
{
|
|
514
521
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
515
522
|
},
|
|
523
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
516
524
|
{
|
|
517
525
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
518
526
|
}
|
|
@@ -559,7 +567,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
559
567
|
{
|
|
560
568
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
561
569
|
},
|
|
562
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
570
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
571
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
563
572
|
]
|
|
564
573
|
}
|
|
565
574
|
]);
|
|
@@ -592,7 +601,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
592
601
|
},
|
|
593
602
|
{
|
|
594
603
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
595
|
-
}
|
|
604
|
+
},
|
|
605
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
596
606
|
]
|
|
597
607
|
},
|
|
598
608
|
{
|
|
@@ -645,7 +655,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
645
655
|
},
|
|
646
656
|
{
|
|
647
657
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
648
|
-
}
|
|
658
|
+
},
|
|
659
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
649
660
|
]
|
|
650
661
|
},
|
|
651
662
|
{
|
|
@@ -698,7 +709,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
698
709
|
},
|
|
699
710
|
{
|
|
700
711
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
701
|
-
}
|
|
712
|
+
},
|
|
713
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
702
714
|
]
|
|
703
715
|
},
|
|
704
716
|
{
|
|
@@ -751,7 +763,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
751
763
|
},
|
|
752
764
|
{
|
|
753
765
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
754
|
-
}
|
|
766
|
+
},
|
|
767
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
755
768
|
]
|
|
756
769
|
},
|
|
757
770
|
{
|
|
@@ -804,7 +817,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
804
817
|
},
|
|
805
818
|
{
|
|
806
819
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
807
|
-
}
|
|
820
|
+
},
|
|
821
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
808
822
|
]
|
|
809
823
|
},
|
|
810
824
|
{
|
|
@@ -857,7 +871,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
857
871
|
},
|
|
858
872
|
{
|
|
859
873
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
860
|
-
}
|
|
874
|
+
},
|
|
875
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
861
876
|
]
|
|
862
877
|
},
|
|
863
878
|
{
|
|
@@ -910,7 +925,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
910
925
|
},
|
|
911
926
|
{
|
|
912
927
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
913
|
-
}
|
|
928
|
+
},
|
|
929
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
914
930
|
]
|
|
915
931
|
},
|
|
916
932
|
{
|
|
@@ -963,7 +979,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
963
979
|
},
|
|
964
980
|
{
|
|
965
981
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
966
|
-
}
|
|
982
|
+
},
|
|
983
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
967
984
|
]
|
|
968
985
|
},
|
|
969
986
|
{
|
|
@@ -1016,7 +1033,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
1016
1033
|
},
|
|
1017
1034
|
{
|
|
1018
1035
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1019
|
-
}
|
|
1036
|
+
},
|
|
1037
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1020
1038
|
]
|
|
1021
1039
|
},
|
|
1022
1040
|
{
|