@wix/auto_sdk_ecom_orders 1.0.72 → 1.0.74

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 (33) hide show
  1. package/build/cjs/{ecom-v1-order-orders.universal-C73TYoI7.d.ts → ecom-v1-order-orders.universal-DEsVhQRb.d.ts} +650 -428
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +18 -8
  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 +18 -8
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +83 -78
  9. package/build/es/{ecom-v1-order-orders.universal-C73TYoI7.d.mts → ecom-v1-order-orders.universal-DEsVhQRb.d.mts} +650 -428
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs +17 -8
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs +17 -8
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +83 -78
  17. package/build/internal/cjs/{ecom-v1-order-orders.universal-KCtJReRk.d.ts → ecom-v1-order-orders.universal-CemYMxWp.d.ts} +610 -388
  18. package/build/internal/cjs/index.d.ts +2 -2
  19. package/build/internal/cjs/index.js +18 -8
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js +18 -8
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +83 -78
  25. package/build/internal/es/{ecom-v1-order-orders.universal-KCtJReRk.d.mts → ecom-v1-order-orders.universal-CemYMxWp.d.mts} +610 -388
  26. package/build/internal/es/index.d.mts +2 -2
  27. package/build/internal/es/index.mjs +17 -8
  28. package/build/internal/es/index.mjs.map +1 -1
  29. package/build/internal/es/index.typings.d.mts +2 -2
  30. package/build/internal/es/index.typings.mjs +17 -8
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +83 -78
  33. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { cT as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, cX as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, cY as RecordManuallyCollectedPaymentRequest$1, cZ as RecordManuallyCollectedPaymentResponse$1, c_ as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, c$ as BulkMarkOrdersAsPaidRequest$1, B as BulkMarkOrdersAsPaidResponse$1, d4 as GetRefundabilityStatusRequest$1, e as GetRefundabilityStatusResponse$1, d7 as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, d9 as ChargeMembershipsRequest$1, dd as ChargeMembershipsResponse$1, de as TriggerRefundRequest$1, j as TriggerRefundResponse$1, dP as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, dQ as CaptureAuthorizedPaymentsRequest$1, n as CaptureAuthorizedPaymentsResponse$1, em as GetOrderRequest$1, en as GetOrderResponse$1, ez as SearchOrdersRequest$1, S as SearchOrdersResponse$1, eD as CreateOrderRequest$1, eG as CreateOrderResponse$1, eH as UpdateOrderRequest$1, eI as UpdateOrderResponse$1, eJ as BulkUpdateOrdersRequest$1, w as BulkUpdateOrdersResponse$1, eK as CommitDeltasRequest$1, y as CommitDeltasResponse$1, fo as UpdateOrderLineItemRequest$1, E as UpdateOrderLineItemResponse$1, fP as AddActivityRequest$1, H as AddActivityResponse$1, fT as UpdateActivityRequest$1, J as UpdateActivityResponse$1, fU as DeleteActivityRequest$1, L as DeleteActivityResponse$1, f_ as CancelOrderRequest$1, Q as CancelOrderResponse$1, g0 as UpdateOrderStatusRequest$1, Y as UpdateOrderStatusResponse$1, gq as AggregateOrdersRequest$1, $ as AggregateOrdersResponse$1, gu as BulkUpdateOrderTagsRequest$1, a1 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-KCtJReRk.mjs';
1
+ import { dL as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dP as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dQ as RecordManuallyCollectedPaymentRequest$1, dR as RecordManuallyCollectedPaymentResponse$1, dS as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, dT as BulkMarkOrdersAsPaidRequest$1, B as BulkMarkOrdersAsPaidResponse$1, dY as GetRefundabilityStatusRequest$1, e as GetRefundabilityStatusResponse$1, d$ as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, e1 as ChargeMembershipsRequest$1, e5 as ChargeMembershipsResponse$1, e6 as TriggerRefundRequest$1, j as TriggerRefundResponse$1, eB as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eC as CaptureAuthorizedPaymentsRequest$1, n as CaptureAuthorizedPaymentsResponse$1, eZ as GetOrderRequest$1, e_ as GetOrderResponse$1, fa as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fe as CreateOrderRequest$1, fh as CreateOrderResponse$1, fi as UpdateOrderRequest$1, fj as UpdateOrderResponse$1, fk as BulkUpdateOrdersRequest$1, w as BulkUpdateOrdersResponse$1, fl as CommitDeltasRequest$1, y as CommitDeltasResponse$1, f$ as UpdateOrderLineItemRequest$1, E as UpdateOrderLineItemResponse$1, gq as AddActivityRequest$1, H as AddActivityResponse$1, gu as UpdateActivityRequest$1, J as UpdateActivityResponse$1, gv as DeleteActivityRequest$1, L as DeleteActivityResponse$1, gB as CancelOrderRequest$1, Q as CancelOrderResponse$1, gD as UpdateOrderStatusRequest$1, Y as UpdateOrderStatusResponse$1, h1 as AggregateOrdersRequest$1, $ as AggregateOrdersResponse$1, h5 as BulkUpdateOrderTagsRequest$1, a1 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CemYMxWp.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Order {
@@ -482,10 +482,15 @@ declare enum PaymentOptionType {
482
482
  /** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
483
483
  DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
484
484
  /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
485
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
485
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE",
486
+ /**
487
+ * Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
488
+ * @documentationMaturity preview
489
+ */
490
+ MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"
486
491
  }
487
492
  /** @enumType */
488
- type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE';
493
+ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP' | 'DEPOSIT_ONLINE' | 'MEMBERSHIP_OFFLINE' | 'MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER';
489
494
  interface ItemTaxFullDetails {
490
495
  /** Taxable amount of this line item. */
491
496
  taxableAmount?: Price;
@@ -1692,6 +1697,81 @@ interface Location {
1692
1697
  */
1693
1698
  name?: string;
1694
1699
  }
1700
+ /** Business model of a refund request */
1701
+ interface RefundDetails {
1702
+ /**
1703
+ * Order line item IDs and quantities that were refunded.
1704
+ * @maxSize 300
1705
+ */
1706
+ items?: RefundItem[];
1707
+ /** Whether the shipping fee was also refunded. */
1708
+ shippingIncluded?: boolean;
1709
+ /**
1710
+ * Reason for the refund, provided by customer (optional).
1711
+ * @maxLength 200
1712
+ */
1713
+ reason?: string | null;
1714
+ /**
1715
+ * Line items that were refunded.
1716
+ * @maxSize 300
1717
+ */
1718
+ lineItems?: LineItemRefund[];
1719
+ /**
1720
+ * Additional fees that were refunded.
1721
+ * @maxSize 100
1722
+ */
1723
+ additionalFees?: AdditionalFeeRefund[];
1724
+ /** Shipping amount that was refunded. */
1725
+ shipping?: ShippingRefund;
1726
+ }
1727
+ interface RefundItem {
1728
+ /**
1729
+ * Line item ID the refunded line item.
1730
+ * @format GUID
1731
+ */
1732
+ lineItemId?: string;
1733
+ /**
1734
+ * Line item quantity refunded.
1735
+ * @min 1
1736
+ * @max 100000
1737
+ */
1738
+ quantity?: number;
1739
+ }
1740
+ interface LineItemRefund {
1741
+ /**
1742
+ * Line item ID.
1743
+ * @format GUID
1744
+ * @immutable
1745
+ */
1746
+ lineItemId?: string;
1747
+ /**
1748
+ * Refund quantity.
1749
+ * @min 1
1750
+ * @max 100000
1751
+ * @immutable
1752
+ */
1753
+ quantity?: number;
1754
+ }
1755
+ interface AdditionalFeeRefund {
1756
+ /**
1757
+ * Additional fee ID.
1758
+ * @format GUID
1759
+ * @immutable
1760
+ */
1761
+ additionalFeeId?: string;
1762
+ /**
1763
+ * Refund amount.
1764
+ * @immutable
1765
+ */
1766
+ amount?: Price;
1767
+ }
1768
+ interface ShippingRefund {
1769
+ /**
1770
+ * Refund amount.
1771
+ * @immutable
1772
+ */
1773
+ amount?: Price;
1774
+ }
1695
1775
  interface PreparePaymentCollectionRequest {
1696
1776
  /**
1697
1777
  * Ecom order ID.
@@ -2073,81 +2153,6 @@ interface PaymentRefund {
2073
2153
  */
2074
2154
  externalRefund?: boolean;
2075
2155
  }
2076
- /** Business model of a refund request */
2077
- interface RefundDetails {
2078
- /**
2079
- * Order line item IDs and quantities that were refunded.
2080
- * @maxSize 300
2081
- */
2082
- items?: RefundItem[];
2083
- /** Whether the shipping fee was also refunded. */
2084
- shippingIncluded?: boolean;
2085
- /**
2086
- * Reason for the refund, provided by customer (optional).
2087
- * @maxLength 200
2088
- */
2089
- reason?: string | null;
2090
- /**
2091
- * Line items that were refunded.
2092
- * @maxSize 300
2093
- */
2094
- lineItems?: LineItemRefund[];
2095
- /**
2096
- * Additional fees that were refunded.
2097
- * @maxSize 100
2098
- */
2099
- additionalFees?: AdditionalFeeRefund[];
2100
- /** Shipping amount that was refunded. */
2101
- shipping?: ShippingRefund;
2102
- }
2103
- interface RefundItem {
2104
- /**
2105
- * Line item ID the refunded line item.
2106
- * @format GUID
2107
- */
2108
- lineItemId?: string;
2109
- /**
2110
- * Line item quantity refunded.
2111
- * @min 1
2112
- * @max 100000
2113
- */
2114
- quantity?: number;
2115
- }
2116
- interface LineItemRefund {
2117
- /**
2118
- * Line item ID.
2119
- * @format GUID
2120
- * @immutable
2121
- */
2122
- lineItemId?: string;
2123
- /**
2124
- * Refund quantity.
2125
- * @min 1
2126
- * @max 100000
2127
- * @immutable
2128
- */
2129
- quantity?: number;
2130
- }
2131
- interface AdditionalFeeRefund {
2132
- /**
2133
- * Additional fee ID.
2134
- * @format GUID
2135
- * @immutable
2136
- */
2137
- additionalFeeId?: string;
2138
- /**
2139
- * Refund amount.
2140
- * @immutable
2141
- */
2142
- amount?: Price;
2143
- }
2144
- interface ShippingRefund {
2145
- /**
2146
- * Refund amount.
2147
- * @immutable
2148
- */
2149
- amount?: Price;
2150
- }
2151
2156
  interface RefundSideEffects {
2152
2157
  /** Inventory restock details as part of this refund. */
2153
2158
  restockInfo?: RestockInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_orders",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.order"
51
51
  }
52
52
  },
53
- "falconPackageHash": "751f1edc7b63d839c47de127c74567bad33876587675057d18017b6a"
53
+ "falconPackageHash": "985365ed2bd8bbbb292414f8e2c70d4eb6e8939d38f85e1c27eaac19"
54
54
  }