@wix/auto_sdk_ecom_orders 1.0.278 → 1.0.280

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.
Files changed (41) hide show
  1. package/build/cjs/{ecom-v1-order-orders.universal-CYkv7meU.d.ts → ecom-v1-order-orders.universal-C2f_s28J.d.ts} +14 -16
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +67 -1
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +45 -1
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +14 -14
  9. package/build/cjs/meta.js +45 -1
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{ecom-v1-order-orders.universal-CYkv7meU.d.mts → ecom-v1-order-orders.universal-C2f_s28J.d.mts} +14 -16
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +67 -1
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +45 -1
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +14 -14
  19. package/build/es/meta.mjs +45 -1
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{ecom-v1-order-orders.universal-zyzgJncJ.d.ts → ecom-v1-order-orders.universal-Dv8amMHl.d.ts} +32 -22
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +67 -1
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +45 -1
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +26 -20
  29. package/build/internal/cjs/meta.js +45 -1
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{ecom-v1-order-orders.universal-zyzgJncJ.d.mts → ecom-v1-order-orders.universal-Dv8amMHl.d.mts} +32 -22
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +67 -1
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +45 -1
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +26 -20
  39. package/build/internal/es/meta.mjs +45 -1
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { dV as ImportOrderRequest$1, I as ImportOrderResponse$1, dW as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, dX as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, fg as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, fk as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fl as RecordManuallyCollectedPaymentRequest$1, fo as RecordManuallyCollectedPaymentResponse$1, fp as MarkOrderAsPaidRequest$1, fq as MarkOrderAsPaidResponse$1, fr as BulkMarkOrdersAsPaidRequest$1, fs as BulkMarkOrdersAsPaidResponse$1, fx as GetRefundabilityStatusRequest$1, fy as GetRefundabilityStatusResponse$1, fB as CreatePaymentGatewayOrderRequest$1, fD as CreatePaymentGatewayOrderResponse$1, fE as ChargeMembershipsRequest$1, fI as ChargeMembershipsResponse$1, fJ as TriggerRefundRequest$1, fO as TriggerRefundResponse$1, gn as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, go as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, gw as GetOrderRequest$1, gx as GetOrderResponse$1, gJ as SearchOrdersRequest$1, l as SearchOrdersResponse$1, gN as CreateOrderRequest$1, gR as CreateOrderResponse$1, gS as UpdateOrderRequest$1, gT as UpdateOrderResponse$1, gU as BulkUpdateOrdersRequest$1, q as BulkUpdateOrdersResponse$1, hn as UpdateOrderLineItemRequest$1, ho as UpdateOrderLineItemResponse$1, hP as AddActivityRequest$1, hS as AddActivityResponse$1, hT as AddActivitiesRequest$1, r as AddActivitiesResponse$1, hU as UpdateActivityRequest$1, hV as UpdateActivityResponse$1, hW as DeleteActivityRequest$1, hX as DeleteActivityResponse$1, i1 as CancelOrderRequest$1, t as CancelOrderResponse$1, i2 as UpdateOrderStatusRequest$1, i3 as UpdateOrderStatusResponse$1, it as AggregateOrdersRequest$1, iu as AggregateOrdersResponse$1, iy as BulkUpdateOrderTagsRequest$1, w as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CYkv7meU.mjs';
1
+ import { dW as ImportOrderRequest$1, I as ImportOrderResponse$1, dX as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, dY as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, fh as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, fl as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fm as RecordManuallyCollectedPaymentRequest$1, fp as RecordManuallyCollectedPaymentResponse$1, fq as MarkOrderAsPaidRequest$1, fr as MarkOrderAsPaidResponse$1, fs as BulkMarkOrdersAsPaidRequest$1, ft as BulkMarkOrdersAsPaidResponse$1, fy as GetRefundabilityStatusRequest$1, fz as GetRefundabilityStatusResponse$1, fC as CreatePaymentGatewayOrderRequest$1, fE as CreatePaymentGatewayOrderResponse$1, fF as ChargeMembershipsRequest$1, fI as ChargeMembershipsResponse$1, fJ as TriggerRefundRequest$1, fO as TriggerRefundResponse$1, gn as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, go as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, gw as GetOrderRequest$1, gx as GetOrderResponse$1, gJ as SearchOrdersRequest$1, l as SearchOrdersResponse$1, gN as CreateOrderRequest$1, gR as CreateOrderResponse$1, gS as UpdateOrderRequest$1, gT as UpdateOrderResponse$1, gU as BulkUpdateOrdersRequest$1, q as BulkUpdateOrdersResponse$1, hn as UpdateOrderLineItemRequest$1, ho as UpdateOrderLineItemResponse$1, hP as AddActivityRequest$1, hS as AddActivityResponse$1, hT as AddActivitiesRequest$1, r as AddActivitiesResponse$1, hU as UpdateActivityRequest$1, hV as UpdateActivityResponse$1, hW as DeleteActivityRequest$1, hX as DeleteActivityResponse$1, i1 as CancelOrderRequest$1, t as CancelOrderResponse$1, i2 as UpdateOrderStatusRequest$1, i3 as UpdateOrderStatusResponse$1, it as AggregateOrdersRequest$1, iu as AggregateOrdersResponse$1, iy as BulkUpdateOrderTagsRequest$1, w as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-C2f_s28J.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -1071,6 +1071,19 @@ interface ItemModifier {
1071
1071
  /** The price of the modifier. */
1072
1072
  price?: Price;
1073
1073
  }
1074
+ interface ServiceProperties {
1075
+ /**
1076
+ * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
1077
+ * For example, the start time of a class.
1078
+ */
1079
+ scheduledDate?: Date | null;
1080
+ /**
1081
+ * The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
1082
+ * @min 1
1083
+ * @max 10000
1084
+ */
1085
+ numberOfParticipants?: number | null;
1086
+ }
1074
1087
  /** Buyer information. */
1075
1088
  interface BuyerInfo extends BuyerInfoIdOneOf {
1076
1089
  /**
@@ -5159,19 +5172,6 @@ interface MembershipName {
5159
5172
  */
5160
5173
  translated?: string | null;
5161
5174
  }
5162
- interface ServiceProperties {
5163
- /**
5164
- * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
5165
- * For example, the start time of a class.
5166
- */
5167
- scheduledDate?: Date | null;
5168
- /**
5169
- * The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
5170
- * @min 1
5171
- * @max 10000
5172
- */
5173
- numberOfParticipants?: number | null;
5174
- }
5175
5175
  interface ChargeMembershipsResponse {
5176
5176
  }
5177
5177
  interface TriggerRefundRequest {
package/build/es/meta.mjs CHANGED
@@ -179,6 +179,8 @@ function importOrder(payload) {
179
179
  {
180
180
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
181
181
  },
182
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
183
+ { path: "order.lineItems.serviceProperties.endDate" },
182
184
  { path: "order.shippingInfo.logistics.deliverByDate" },
183
185
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
184
186
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -236,6 +238,8 @@ function importOrder(payload) {
236
238
  {
237
239
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
238
240
  },
241
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
242
+ { path: "order.lineItems.serviceProperties.endDate" },
239
243
  { path: "order.shippingInfo.logistics.deliverByDate" },
240
244
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
241
245
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -405,6 +409,8 @@ function paymentCollectionMarkOrderAsPaid(payload) {
405
409
  {
406
410
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
407
411
  },
412
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
413
+ { path: "order.lineItems.serviceProperties.endDate" },
408
414
  { path: "order.shippingInfo.logistics.deliverByDate" },
409
415
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
410
416
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -469,6 +475,10 @@ function paymentCollectionBulkMarkOrdersAsPaid(payload) {
469
475
  {
470
476
  path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
471
477
  },
478
+ {
479
+ path: "results.item.lineItems.serviceProperties.scheduledDate"
480
+ },
481
+ { path: "results.item.lineItems.serviceProperties.endDate" },
472
482
  { path: "results.item.shippingInfo.logistics.deliverByDate" },
473
483
  {
474
484
  path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -756,6 +766,8 @@ function getOrder(payload) {
756
766
  {
757
767
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
758
768
  },
769
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
770
+ { path: "order.lineItems.serviceProperties.endDate" },
759
771
  { path: "order.shippingInfo.logistics.deliverByDate" },
760
772
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
761
773
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -829,6 +841,8 @@ function searchOrders(payload) {
829
841
  {
830
842
  path: "orders.lineItems.subscriptionInfo.subscriptionSettings.startDate"
831
843
  },
844
+ { path: "orders.lineItems.serviceProperties.scheduledDate" },
845
+ { path: "orders.lineItems.serviceProperties.endDate" },
832
846
  { path: "orders.shippingInfo.logistics.deliverByDate" },
833
847
  { path: "orders.shippingInfo.logistics.deliveryTimeSlot.from" },
834
848
  { path: "orders.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -879,6 +893,8 @@ function createOrder(payload) {
879
893
  {
880
894
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
881
895
  },
896
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
897
+ { path: "order.lineItems.serviceProperties.endDate" },
882
898
  { path: "order.shippingInfo.logistics.deliverByDate" },
883
899
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
884
900
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -936,6 +952,8 @@ function createOrder(payload) {
936
952
  {
937
953
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
938
954
  },
955
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
956
+ { path: "order.lineItems.serviceProperties.endDate" },
939
957
  { path: "order.shippingInfo.logistics.deliverByDate" },
940
958
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
941
959
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -990,6 +1008,8 @@ function updateOrder(payload) {
990
1008
  {
991
1009
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
992
1010
  },
1011
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1012
+ { path: "order.lineItems.serviceProperties.endDate" },
993
1013
  { path: "order.shippingInfo.logistics.deliverByDate" },
994
1014
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
995
1015
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1047,6 +1067,8 @@ function updateOrder(payload) {
1047
1067
  {
1048
1068
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1049
1069
  },
1070
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1071
+ { path: "order.lineItems.serviceProperties.endDate" },
1050
1072
  { path: "order.shippingInfo.logistics.deliverByDate" },
1051
1073
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1052
1074
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1101,6 +1123,8 @@ function bulkUpdateOrders(payload) {
1101
1123
  {
1102
1124
  path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1103
1125
  },
1126
+ { path: "orders.order.lineItems.serviceProperties.scheduledDate" },
1127
+ { path: "orders.order.lineItems.serviceProperties.endDate" },
1104
1128
  { path: "orders.order.shippingInfo.logistics.deliverByDate" },
1105
1129
  { path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
1106
1130
  { path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1158,6 +1182,10 @@ function bulkUpdateOrders(payload) {
1158
1182
  {
1159
1183
  path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1160
1184
  },
1185
+ {
1186
+ path: "results.item.lineItems.serviceProperties.scheduledDate"
1187
+ },
1188
+ { path: "results.item.lineItems.serviceProperties.endDate" },
1161
1189
  { path: "results.item.shippingInfo.logistics.deliverByDate" },
1162
1190
  {
1163
1191
  path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -1210,7 +1238,9 @@ function updateOrderLineItem(payload) {
1210
1238
  paths: [
1211
1239
  { path: "lineItem.image.urlExpirationDate" },
1212
1240
  { path: "lineItem.digitalFile.expirationDate" },
1213
- { path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" }
1241
+ { path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" },
1242
+ { path: "lineItem.serviceProperties.scheduledDate" },
1243
+ { path: "lineItem.serviceProperties.endDate" }
1214
1244
  ]
1215
1245
  },
1216
1246
  {
@@ -1248,6 +1278,8 @@ function updateOrderLineItem(payload) {
1248
1278
  {
1249
1279
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1250
1280
  },
1281
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1282
+ { path: "order.lineItems.serviceProperties.endDate" },
1251
1283
  { path: "order.shippingInfo.logistics.deliverByDate" },
1252
1284
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1253
1285
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1312,6 +1344,8 @@ function addActivity(payload) {
1312
1344
  {
1313
1345
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1314
1346
  },
1347
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1348
+ { path: "order.lineItems.serviceProperties.endDate" },
1315
1349
  { path: "order.shippingInfo.logistics.deliverByDate" },
1316
1350
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1317
1351
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1382,6 +1416,8 @@ function addActivities(payload) {
1382
1416
  {
1383
1417
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1384
1418
  },
1419
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1420
+ { path: "order.lineItems.serviceProperties.endDate" },
1385
1421
  { path: "order.shippingInfo.logistics.deliverByDate" },
1386
1422
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1387
1423
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1446,6 +1482,8 @@ function updateActivity(payload) {
1446
1482
  {
1447
1483
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1448
1484
  },
1485
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1486
+ { path: "order.lineItems.serviceProperties.endDate" },
1449
1487
  { path: "order.shippingInfo.logistics.deliverByDate" },
1450
1488
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1451
1489
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1510,6 +1548,8 @@ function deleteActivity(payload) {
1510
1548
  {
1511
1549
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1512
1550
  },
1551
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1552
+ { path: "order.lineItems.serviceProperties.endDate" },
1513
1553
  { path: "order.shippingInfo.logistics.deliverByDate" },
1514
1554
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1515
1555
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1574,6 +1614,8 @@ function cancelOrder(payload) {
1574
1614
  {
1575
1615
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1576
1616
  },
1617
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1618
+ { path: "order.lineItems.serviceProperties.endDate" },
1577
1619
  { path: "order.shippingInfo.logistics.deliverByDate" },
1578
1620
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1579
1621
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1638,6 +1680,8 @@ function updateOrderStatus(payload) {
1638
1680
  {
1639
1681
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1640
1682
  },
1683
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1684
+ { path: "order.lineItems.serviceProperties.endDate" },
1641
1685
  { path: "order.shippingInfo.logistics.deliverByDate" },
1642
1686
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1643
1687
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },