@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.
@@ -4419,10 +4419,6 @@ type UpdateCurrentCartApplicationErrors = {
4419
4419
  code?: 'CART_ALREADY_ORDERED';
4420
4420
  description?: string;
4421
4421
  data?: CartAlreadyOrderedErrorData;
4422
- } | {
4423
- code?: 'ADDRESS_MISSING_COUNTRY';
4424
- description?: string;
4425
- data?: Record<string, any>;
4426
4422
  } | {
4427
4423
  code?: 'BUSINESS_LOCATION_NOT_FOUND';
4428
4424
  description?: string;
@@ -120,6 +120,7 @@ function createCurrentCart(payload) {
120
120
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
121
121
  },
122
122
  { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
123
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
123
124
  {
124
125
  path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
125
126
  },
@@ -127,7 +128,8 @@ function createCurrentCart(payload) {
127
128
  {
128
129
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
129
130
  },
130
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
131
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
132
+ { path: "customItems.attributes.serviceProperties.endDate" }
131
133
  ]
132
134
  },
133
135
  {
@@ -177,7 +179,8 @@ function createCurrentCart(payload) {
177
179
  },
178
180
  {
179
181
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
180
- }
182
+ },
183
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
181
184
  ]
182
185
  },
183
186
  {
@@ -230,7 +233,8 @@ function getCurrentCart(payload) {
230
233
  },
231
234
  {
232
235
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
233
- }
236
+ },
237
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
234
238
  ]
235
239
  },
236
240
  {
@@ -271,7 +275,8 @@ function updateCurrentCart(payload) {
271
275
  {
272
276
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
273
277
  },
274
- { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
278
+ { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
279
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
275
280
  ]
276
281
  },
277
282
  {
@@ -317,7 +322,8 @@ function updateCurrentCart(payload) {
317
322
  },
318
323
  {
319
324
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
320
- }
325
+ },
326
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
321
327
  ]
322
328
  },
323
329
  {
@@ -391,7 +397,8 @@ function refreshCurrentCart(payload) {
391
397
  },
392
398
  {
393
399
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
394
- }
400
+ },
401
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
395
402
  ]
396
403
  },
397
404
  {
@@ -445,6 +452,7 @@ function calculateCurrentCart(payload) {
445
452
  {
446
453
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
447
454
  },
455
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
448
456
  {
449
457
  path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
450
458
  }
@@ -491,7 +499,8 @@ function addLineItemsToCurrentCart(payload) {
491
499
  {
492
500
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
493
501
  },
494
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
502
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
503
+ { path: "customItems.attributes.serviceProperties.endDate" }
495
504
  ]
496
505
  }
497
506
  ]);
@@ -524,7 +533,8 @@ function addLineItemsToCurrentCart(payload) {
524
533
  },
525
534
  {
526
535
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
527
- }
536
+ },
537
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
528
538
  ]
529
539
  },
530
540
  {
@@ -577,7 +587,8 @@ function removeLineItemsFromCurrentCart(payload) {
577
587
  },
578
588
  {
579
589
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
580
- }
590
+ },
591
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
581
592
  ]
582
593
  },
583
594
  {
@@ -630,7 +641,8 @@ function updateLineItemsInCurrentCart(payload) {
630
641
  },
631
642
  {
632
643
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
633
- }
644
+ },
645
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
634
646
  ]
635
647
  },
636
648
  {
@@ -683,7 +695,8 @@ function addCouponToCurrentCart(payload) {
683
695
  },
684
696
  {
685
697
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
686
- }
698
+ },
699
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
687
700
  ]
688
701
  },
689
702
  {
@@ -736,7 +749,8 @@ function removeCouponFromCurrentCart(payload) {
736
749
  },
737
750
  {
738
751
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
739
- }
752
+ },
753
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
740
754
  ]
741
755
  },
742
756
  {
@@ -789,7 +803,8 @@ function setDeliveryMethodForCurrentCart(payload) {
789
803
  },
790
804
  {
791
805
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
792
- }
806
+ },
807
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
793
808
  ]
794
809
  },
795
810
  {
@@ -842,7 +857,8 @@ function addGiftCardToCurrentCart(payload) {
842
857
  },
843
858
  {
844
859
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
845
- }
860
+ },
861
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
846
862
  ]
847
863
  },
848
864
  {
@@ -895,7 +911,8 @@ function removeGiftCardFromCurrentCart(payload) {
895
911
  },
896
912
  {
897
913
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
898
- }
914
+ },
915
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
899
916
  ]
900
917
  },
901
918
  {
@@ -948,7 +965,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
948
965
  },
949
966
  {
950
967
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
951
- }
968
+ },
969
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
952
970
  ]
953
971
  },
954
972
  {