@wix/auto_sdk_ecom_orders 1.0.72 → 1.0.73
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.
- package/build/cjs/{ecom-v1-order-orders.universal-C73TYoI7.d.ts → ecom-v1-order-orders.universal-DepMBjXB.d.ts} +429 -212
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +17 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +17 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +76 -76
- package/build/es/{ecom-v1-order-orders.universal-C73TYoI7.d.mts → ecom-v1-order-orders.universal-DepMBjXB.d.mts} +429 -212
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +16 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +16 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +76 -76
- package/build/internal/cjs/{ecom-v1-order-orders.universal-KCtJReRk.d.ts → ecom-v1-order-orders.universal-CHeSUY50.d.ts} +429 -212
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +17 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +17 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +76 -76
- package/build/internal/es/{ecom-v1-order-orders.universal-KCtJReRk.d.mts → ecom-v1-order-orders.universal-CHeSUY50.d.mts} +429 -212
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +16 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +16 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +76 -76
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dg as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dk as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dl as RecordManuallyCollectedPaymentRequest$1, dm as RecordManuallyCollectedPaymentResponse$1, dn as MarkOrderAsPaidRequest$1, dp as MarkOrderAsPaidResponse$1, dq as BulkMarkOrdersAsPaidRequest$1, dr as BulkMarkOrdersAsPaidResponse$1, dw as GetRefundabilityStatusRequest$1, dx as GetRefundabilityStatusResponse$1, dA as CreatePaymentGatewayOrderRequest$1, dC as CreatePaymentGatewayOrderResponse$1, dD as ChargeMembershipsRequest$1, dH as ChargeMembershipsResponse$1, dI as TriggerRefundRequest$1, dN as TriggerRefundResponse$1, ed as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, ee as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, eB as GetOrderRequest$1, eC as GetOrderResponse$1, eO as SearchOrdersRequest$1, S as SearchOrdersResponse$1, eS as CreateOrderRequest$1, eV as CreateOrderResponse$1, eW as UpdateOrderRequest$1, eX as UpdateOrderResponse$1, eY as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, eZ as CommitDeltasRequest$1, fd as CommitDeltasResponse$1, fE as UpdateOrderLineItemRequest$1, fF as UpdateOrderLineItemResponse$1, g4 as AddActivityRequest$1, g7 as AddActivityResponse$1, ga as UpdateActivityRequest$1, gb as UpdateActivityResponse$1, gc as DeleteActivityRequest$1, gd as DeleteActivityResponse$1, gj as CancelOrderRequest$1, n as CancelOrderResponse$1, gl as UpdateOrderStatusRequest$1, gm as UpdateOrderStatusResponse$1, gM as AggregateOrdersRequest$1, gN as AggregateOrdersResponse$1, gR as BulkUpdateOrderTagsRequest$1, q as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-DepMBjXB.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Order {
|
|
@@ -1692,6 +1692,81 @@ interface Location {
|
|
|
1692
1692
|
*/
|
|
1693
1693
|
name?: string;
|
|
1694
1694
|
}
|
|
1695
|
+
/** Business model of a refund request */
|
|
1696
|
+
interface RefundDetails {
|
|
1697
|
+
/**
|
|
1698
|
+
* Order line item IDs and quantities that were refunded.
|
|
1699
|
+
* @maxSize 300
|
|
1700
|
+
*/
|
|
1701
|
+
items?: RefundItem[];
|
|
1702
|
+
/** Whether the shipping fee was also refunded. */
|
|
1703
|
+
shippingIncluded?: boolean;
|
|
1704
|
+
/**
|
|
1705
|
+
* Reason for the refund, provided by customer (optional).
|
|
1706
|
+
* @maxLength 200
|
|
1707
|
+
*/
|
|
1708
|
+
reason?: string | null;
|
|
1709
|
+
/**
|
|
1710
|
+
* Line items that were refunded.
|
|
1711
|
+
* @maxSize 300
|
|
1712
|
+
*/
|
|
1713
|
+
lineItems?: LineItemRefund[];
|
|
1714
|
+
/**
|
|
1715
|
+
* Additional fees that were refunded.
|
|
1716
|
+
* @maxSize 100
|
|
1717
|
+
*/
|
|
1718
|
+
additionalFees?: AdditionalFeeRefund[];
|
|
1719
|
+
/** Shipping amount that was refunded. */
|
|
1720
|
+
shipping?: ShippingRefund;
|
|
1721
|
+
}
|
|
1722
|
+
interface RefundItem {
|
|
1723
|
+
/**
|
|
1724
|
+
* Line item ID the refunded line item.
|
|
1725
|
+
* @format GUID
|
|
1726
|
+
*/
|
|
1727
|
+
lineItemId?: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* Line item quantity refunded.
|
|
1730
|
+
* @min 1
|
|
1731
|
+
* @max 100000
|
|
1732
|
+
*/
|
|
1733
|
+
quantity?: number;
|
|
1734
|
+
}
|
|
1735
|
+
interface LineItemRefund {
|
|
1736
|
+
/**
|
|
1737
|
+
* Line item ID.
|
|
1738
|
+
* @format GUID
|
|
1739
|
+
* @immutable
|
|
1740
|
+
*/
|
|
1741
|
+
lineItemId?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Refund quantity.
|
|
1744
|
+
* @min 1
|
|
1745
|
+
* @max 100000
|
|
1746
|
+
* @immutable
|
|
1747
|
+
*/
|
|
1748
|
+
quantity?: number;
|
|
1749
|
+
}
|
|
1750
|
+
interface AdditionalFeeRefund {
|
|
1751
|
+
/**
|
|
1752
|
+
* Additional fee ID.
|
|
1753
|
+
* @format GUID
|
|
1754
|
+
* @immutable
|
|
1755
|
+
*/
|
|
1756
|
+
additionalFeeId?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Refund amount.
|
|
1759
|
+
* @immutable
|
|
1760
|
+
*/
|
|
1761
|
+
amount?: Price;
|
|
1762
|
+
}
|
|
1763
|
+
interface ShippingRefund {
|
|
1764
|
+
/**
|
|
1765
|
+
* Refund amount.
|
|
1766
|
+
* @immutable
|
|
1767
|
+
*/
|
|
1768
|
+
amount?: Price;
|
|
1769
|
+
}
|
|
1695
1770
|
interface PreparePaymentCollectionRequest {
|
|
1696
1771
|
/**
|
|
1697
1772
|
* Ecom order ID.
|
|
@@ -2073,81 +2148,6 @@ interface PaymentRefund {
|
|
|
2073
2148
|
*/
|
|
2074
2149
|
externalRefund?: boolean;
|
|
2075
2150
|
}
|
|
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
2151
|
interface RefundSideEffects {
|
|
2152
2152
|
/** Inventory restock details as part of this refund. */
|
|
2153
2153
|
restockInfo?: RestockInfo;
|