@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.
@@ -4419,10 +4419,6 @@ type UpdateCartApplicationErrors = {
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;
@@ -121,6 +121,7 @@ function createCart(payload) {
121
121
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
122
122
  },
123
123
  { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
124
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
124
125
  {
125
126
  path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
126
127
  },
@@ -128,7 +129,8 @@ function createCart(payload) {
128
129
  {
129
130
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
130
131
  },
131
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
132
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
133
+ { path: "customItems.attributes.serviceProperties.endDate" }
132
134
  ]
133
135
  },
134
136
  {
@@ -178,7 +180,8 @@ function createCart(payload) {
178
180
  },
179
181
  {
180
182
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
181
- }
183
+ },
184
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
182
185
  ]
183
186
  },
184
187
  {
@@ -231,7 +234,8 @@ function getCart(payload) {
231
234
  },
232
235
  {
233
236
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
234
- }
237
+ },
238
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
235
239
  ]
236
240
  },
237
241
  {
@@ -272,7 +276,8 @@ function updateCart(payload) {
272
276
  {
273
277
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
274
278
  },
275
- { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
279
+ { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
280
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
276
281
  ]
277
282
  },
278
283
  {
@@ -318,7 +323,8 @@ function updateCart(payload) {
318
323
  },
319
324
  {
320
325
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
321
- }
326
+ },
327
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
322
328
  ]
323
329
  },
324
330
  {
@@ -392,7 +398,8 @@ function refreshCart(payload) {
392
398
  },
393
399
  {
394
400
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
395
- }
401
+ },
402
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
396
403
  ]
397
404
  },
398
405
  {
@@ -446,6 +453,7 @@ function calculateCart(payload) {
446
453
  {
447
454
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
448
455
  },
456
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
449
457
  {
450
458
  path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
451
459
  }
@@ -534,7 +542,8 @@ function addLineItems(payload) {
534
542
  {
535
543
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
536
544
  },
537
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
545
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
546
+ { path: "customItems.attributes.serviceProperties.endDate" }
538
547
  ]
539
548
  }
540
549
  ]);
@@ -567,7 +576,8 @@ function addLineItems(payload) {
567
576
  },
568
577
  {
569
578
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
570
- }
579
+ },
580
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
571
581
  ]
572
582
  },
573
583
  {
@@ -620,7 +630,8 @@ function removeLineItems(payload) {
620
630
  },
621
631
  {
622
632
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
623
- }
633
+ },
634
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
624
635
  ]
625
636
  },
626
637
  {
@@ -673,7 +684,8 @@ function updateLineItems(payload) {
673
684
  },
674
685
  {
675
686
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
676
- }
687
+ },
688
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
677
689
  ]
678
690
  },
679
691
  {
@@ -726,7 +738,8 @@ function addCoupon(payload) {
726
738
  },
727
739
  {
728
740
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
729
- }
741
+ },
742
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
730
743
  ]
731
744
  },
732
745
  {
@@ -779,7 +792,8 @@ function removeCoupon(payload) {
779
792
  },
780
793
  {
781
794
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
782
- }
795
+ },
796
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
783
797
  ]
784
798
  },
785
799
  {
@@ -832,7 +846,8 @@ function setDeliveryMethod(payload) {
832
846
  },
833
847
  {
834
848
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
835
- }
849
+ },
850
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
836
851
  ]
837
852
  },
838
853
  {
@@ -885,7 +900,8 @@ function addGiftCard(payload) {
885
900
  },
886
901
  {
887
902
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
888
- }
903
+ },
904
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
889
905
  ]
890
906
  },
891
907
  {
@@ -938,7 +954,8 @@ function removeGiftCard(payload) {
938
954
  },
939
955
  {
940
956
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
941
- }
957
+ },
958
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
942
959
  ]
943
960
  },
944
961
  {
@@ -991,7 +1008,8 @@ function markCartAsCompleted(payload) {
991
1008
  },
992
1009
  {
993
1010
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
994
- }
1011
+ },
1012
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
995
1013
  ]
996
1014
  },
997
1015
  {
@@ -1071,7 +1089,8 @@ function updateFormSubmissions(payload) {
1071
1089
  },
1072
1090
  {
1073
1091
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
1074
- }
1092
+ },
1093
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
1075
1094
  ]
1076
1095
  },
1077
1096
  {