@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.js';
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.js';
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/cjs/meta.js CHANGED
@@ -298,6 +298,8 @@ function importOrder(payload) {
298
298
  {
299
299
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
300
300
  },
301
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
302
+ { path: "order.lineItems.serviceProperties.endDate" },
301
303
  { path: "order.shippingInfo.logistics.deliverByDate" },
302
304
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
303
305
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -355,6 +357,8 @@ function importOrder(payload) {
355
357
  {
356
358
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
357
359
  },
360
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
361
+ { path: "order.lineItems.serviceProperties.endDate" },
358
362
  { path: "order.shippingInfo.logistics.deliverByDate" },
359
363
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
360
364
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -524,6 +528,8 @@ function paymentCollectionMarkOrderAsPaid(payload) {
524
528
  {
525
529
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
526
530
  },
531
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
532
+ { path: "order.lineItems.serviceProperties.endDate" },
527
533
  { path: "order.shippingInfo.logistics.deliverByDate" },
528
534
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
529
535
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -588,6 +594,10 @@ function paymentCollectionBulkMarkOrdersAsPaid(payload) {
588
594
  {
589
595
  path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
590
596
  },
597
+ {
598
+ path: "results.item.lineItems.serviceProperties.scheduledDate"
599
+ },
600
+ { path: "results.item.lineItems.serviceProperties.endDate" },
591
601
  { path: "results.item.shippingInfo.logistics.deliverByDate" },
592
602
  {
593
603
  path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -875,6 +885,8 @@ function getOrder(payload) {
875
885
  {
876
886
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
877
887
  },
888
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
889
+ { path: "order.lineItems.serviceProperties.endDate" },
878
890
  { path: "order.shippingInfo.logistics.deliverByDate" },
879
891
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
880
892
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -948,6 +960,8 @@ function searchOrders(payload) {
948
960
  {
949
961
  path: "orders.lineItems.subscriptionInfo.subscriptionSettings.startDate"
950
962
  },
963
+ { path: "orders.lineItems.serviceProperties.scheduledDate" },
964
+ { path: "orders.lineItems.serviceProperties.endDate" },
951
965
  { path: "orders.shippingInfo.logistics.deliverByDate" },
952
966
  { path: "orders.shippingInfo.logistics.deliveryTimeSlot.from" },
953
967
  { path: "orders.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -998,6 +1012,8 @@ function createOrder(payload) {
998
1012
  {
999
1013
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1000
1014
  },
1015
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1016
+ { path: "order.lineItems.serviceProperties.endDate" },
1001
1017
  { path: "order.shippingInfo.logistics.deliverByDate" },
1002
1018
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1003
1019
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1055,6 +1071,8 @@ function createOrder(payload) {
1055
1071
  {
1056
1072
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1057
1073
  },
1074
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1075
+ { path: "order.lineItems.serviceProperties.endDate" },
1058
1076
  { path: "order.shippingInfo.logistics.deliverByDate" },
1059
1077
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1060
1078
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1109,6 +1127,8 @@ function updateOrder(payload) {
1109
1127
  {
1110
1128
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1111
1129
  },
1130
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1131
+ { path: "order.lineItems.serviceProperties.endDate" },
1112
1132
  { path: "order.shippingInfo.logistics.deliverByDate" },
1113
1133
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1114
1134
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1166,6 +1186,8 @@ function updateOrder(payload) {
1166
1186
  {
1167
1187
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1168
1188
  },
1189
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1190
+ { path: "order.lineItems.serviceProperties.endDate" },
1169
1191
  { path: "order.shippingInfo.logistics.deliverByDate" },
1170
1192
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1171
1193
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1220,6 +1242,8 @@ function bulkUpdateOrders(payload) {
1220
1242
  {
1221
1243
  path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1222
1244
  },
1245
+ { path: "orders.order.lineItems.serviceProperties.scheduledDate" },
1246
+ { path: "orders.order.lineItems.serviceProperties.endDate" },
1223
1247
  { path: "orders.order.shippingInfo.logistics.deliverByDate" },
1224
1248
  { path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
1225
1249
  { path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1277,6 +1301,10 @@ function bulkUpdateOrders(payload) {
1277
1301
  {
1278
1302
  path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1279
1303
  },
1304
+ {
1305
+ path: "results.item.lineItems.serviceProperties.scheduledDate"
1306
+ },
1307
+ { path: "results.item.lineItems.serviceProperties.endDate" },
1280
1308
  { path: "results.item.shippingInfo.logistics.deliverByDate" },
1281
1309
  {
1282
1310
  path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -1329,7 +1357,9 @@ function updateOrderLineItem(payload) {
1329
1357
  paths: [
1330
1358
  { path: "lineItem.image.urlExpirationDate" },
1331
1359
  { path: "lineItem.digitalFile.expirationDate" },
1332
- { path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" }
1360
+ { path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" },
1361
+ { path: "lineItem.serviceProperties.scheduledDate" },
1362
+ { path: "lineItem.serviceProperties.endDate" }
1333
1363
  ]
1334
1364
  },
1335
1365
  {
@@ -1367,6 +1397,8 @@ function updateOrderLineItem(payload) {
1367
1397
  {
1368
1398
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1369
1399
  },
1400
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1401
+ { path: "order.lineItems.serviceProperties.endDate" },
1370
1402
  { path: "order.shippingInfo.logistics.deliverByDate" },
1371
1403
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1372
1404
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1431,6 +1463,8 @@ function addActivity(payload) {
1431
1463
  {
1432
1464
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1433
1465
  },
1466
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1467
+ { path: "order.lineItems.serviceProperties.endDate" },
1434
1468
  { path: "order.shippingInfo.logistics.deliverByDate" },
1435
1469
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1436
1470
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1501,6 +1535,8 @@ function addActivities(payload) {
1501
1535
  {
1502
1536
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1503
1537
  },
1538
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1539
+ { path: "order.lineItems.serviceProperties.endDate" },
1504
1540
  { path: "order.shippingInfo.logistics.deliverByDate" },
1505
1541
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1506
1542
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1565,6 +1601,8 @@ function updateActivity(payload) {
1565
1601
  {
1566
1602
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1567
1603
  },
1604
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1605
+ { path: "order.lineItems.serviceProperties.endDate" },
1568
1606
  { path: "order.shippingInfo.logistics.deliverByDate" },
1569
1607
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1570
1608
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1629,6 +1667,8 @@ function deleteActivity(payload) {
1629
1667
  {
1630
1668
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1631
1669
  },
1670
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1671
+ { path: "order.lineItems.serviceProperties.endDate" },
1632
1672
  { path: "order.shippingInfo.logistics.deliverByDate" },
1633
1673
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1634
1674
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1693,6 +1733,8 @@ function cancelOrder(payload) {
1693
1733
  {
1694
1734
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1695
1735
  },
1736
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1737
+ { path: "order.lineItems.serviceProperties.endDate" },
1696
1738
  { path: "order.shippingInfo.logistics.deliverByDate" },
1697
1739
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1698
1740
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
@@ -1757,6 +1799,8 @@ function updateOrderStatus(payload) {
1757
1799
  {
1758
1800
  path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
1759
1801
  },
1802
+ { path: "order.lineItems.serviceProperties.scheduledDate" },
1803
+ { path: "order.lineItems.serviceProperties.endDate" },
1760
1804
  { path: "order.shippingInfo.logistics.deliverByDate" },
1761
1805
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
1762
1806
  { path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },