@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/meta.d.ts
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/cjs/meta.js
CHANGED
|
@@ -184,6 +184,7 @@ function createCurrentCart(payload) {
|
|
|
184
184
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
185
185
|
},
|
|
186
186
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
187
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
187
188
|
{
|
|
188
189
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
189
190
|
},
|
|
@@ -191,7 +192,8 @@ function createCurrentCart(payload) {
|
|
|
191
192
|
{
|
|
192
193
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
193
194
|
},
|
|
194
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
195
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
196
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
195
197
|
]
|
|
196
198
|
},
|
|
197
199
|
{
|
|
@@ -241,7 +243,8 @@ function createCurrentCart(payload) {
|
|
|
241
243
|
},
|
|
242
244
|
{
|
|
243
245
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
244
|
-
}
|
|
246
|
+
},
|
|
247
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
245
248
|
]
|
|
246
249
|
},
|
|
247
250
|
{
|
|
@@ -294,7 +297,8 @@ function getCurrentCart(payload) {
|
|
|
294
297
|
},
|
|
295
298
|
{
|
|
296
299
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
297
|
-
}
|
|
300
|
+
},
|
|
301
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
298
302
|
]
|
|
299
303
|
},
|
|
300
304
|
{
|
|
@@ -335,7 +339,8 @@ function updateCurrentCart(payload) {
|
|
|
335
339
|
{
|
|
336
340
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
337
341
|
},
|
|
338
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
342
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
343
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
339
344
|
]
|
|
340
345
|
},
|
|
341
346
|
{
|
|
@@ -381,7 +386,8 @@ function updateCurrentCart(payload) {
|
|
|
381
386
|
},
|
|
382
387
|
{
|
|
383
388
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
384
|
-
}
|
|
389
|
+
},
|
|
390
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
385
391
|
]
|
|
386
392
|
},
|
|
387
393
|
{
|
|
@@ -455,7 +461,8 @@ function refreshCurrentCart(payload) {
|
|
|
455
461
|
},
|
|
456
462
|
{
|
|
457
463
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
458
|
-
}
|
|
464
|
+
},
|
|
465
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
459
466
|
]
|
|
460
467
|
},
|
|
461
468
|
{
|
|
@@ -509,6 +516,7 @@ function calculateCurrentCart(payload) {
|
|
|
509
516
|
{
|
|
510
517
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
511
518
|
},
|
|
519
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
512
520
|
{
|
|
513
521
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
514
522
|
}
|
|
@@ -555,7 +563,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
555
563
|
{
|
|
556
564
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
557
565
|
},
|
|
558
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
566
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
567
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
559
568
|
]
|
|
560
569
|
}
|
|
561
570
|
]);
|
|
@@ -588,7 +597,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
588
597
|
},
|
|
589
598
|
{
|
|
590
599
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
591
|
-
}
|
|
600
|
+
},
|
|
601
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
592
602
|
]
|
|
593
603
|
},
|
|
594
604
|
{
|
|
@@ -641,7 +651,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
641
651
|
},
|
|
642
652
|
{
|
|
643
653
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
644
|
-
}
|
|
654
|
+
},
|
|
655
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
645
656
|
]
|
|
646
657
|
},
|
|
647
658
|
{
|
|
@@ -694,7 +705,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
694
705
|
},
|
|
695
706
|
{
|
|
696
707
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
697
|
-
}
|
|
708
|
+
},
|
|
709
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
698
710
|
]
|
|
699
711
|
},
|
|
700
712
|
{
|
|
@@ -747,7 +759,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
747
759
|
},
|
|
748
760
|
{
|
|
749
761
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
750
|
-
}
|
|
762
|
+
},
|
|
763
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
751
764
|
]
|
|
752
765
|
},
|
|
753
766
|
{
|
|
@@ -800,7 +813,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
800
813
|
},
|
|
801
814
|
{
|
|
802
815
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
803
|
-
}
|
|
816
|
+
},
|
|
817
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
804
818
|
]
|
|
805
819
|
},
|
|
806
820
|
{
|
|
@@ -853,7 +867,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
853
867
|
},
|
|
854
868
|
{
|
|
855
869
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
856
|
-
}
|
|
870
|
+
},
|
|
871
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
857
872
|
]
|
|
858
873
|
},
|
|
859
874
|
{
|
|
@@ -906,7 +921,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
906
921
|
},
|
|
907
922
|
{
|
|
908
923
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
909
|
-
}
|
|
924
|
+
},
|
|
925
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
910
926
|
]
|
|
911
927
|
},
|
|
912
928
|
{
|
|
@@ -959,7 +975,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
959
975
|
},
|
|
960
976
|
{
|
|
961
977
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
962
|
-
}
|
|
978
|
+
},
|
|
979
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
963
980
|
]
|
|
964
981
|
},
|
|
965
982
|
{
|
|
@@ -1012,7 +1029,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
1012
1029
|
},
|
|
1013
1030
|
{
|
|
1014
1031
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1015
|
-
}
|
|
1032
|
+
},
|
|
1033
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1016
1034
|
]
|
|
1017
1035
|
},
|
|
1018
1036
|
{
|