@wix/auto_sdk_ecom_draft-orders 1.0.180 → 1.0.182
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/index.d.ts +4 -4
- package/build/cjs/index.js +103 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +80 -2
- package/build/cjs/index.typings.js +92 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +81 -2
- package/build/cjs/meta.js +51 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +102 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +80 -2
- package/build/es/index.typings.mjs +91 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +81 -2
- package/build/es/meta.mjs +50 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +34 -4
- package/build/internal/cjs/index.typings.d.ts +174 -8
- package/build/internal/cjs/meta.d.ts +111 -7
- package/build/internal/es/index.d.mts +34 -4
- package/build/internal/es/index.typings.d.mts +174 -8
- package/build/internal/es/meta.d.mts +111 -7
- package/package.json +2 -2
|
@@ -165,6 +165,19 @@ interface DraftOrder {
|
|
|
165
165
|
* @internal
|
|
166
166
|
*/
|
|
167
167
|
specificItemsCouponBehavior?: SpecificItemsCouponBehaviorWithLiterals;
|
|
168
|
+
/**
|
|
169
|
+
* The currency the draft order was priced in when it was created. Three-letter currency code in
|
|
170
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
171
|
+
*
|
|
172
|
+
* Set at creation and never changed, so validation keys on it rather than on the site's
|
|
173
|
+
* current currency. When `currency` differs from this value, calls that carry a `currency`
|
|
174
|
+
* field must state the currency of their amounts.
|
|
175
|
+
* @internal
|
|
176
|
+
* @format CURRENCY
|
|
177
|
+
* @readonly
|
|
178
|
+
* @immutable
|
|
179
|
+
*/
|
|
180
|
+
originalCurrency?: string | null;
|
|
168
181
|
}
|
|
169
182
|
interface ItemDetails extends ItemDetailsChangeTypeOneOf {
|
|
170
183
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -2320,6 +2333,16 @@ interface DepositDetails extends DepositDetailsDepositOneOf {
|
|
|
2320
2333
|
* @readonly
|
|
2321
2334
|
*/
|
|
2322
2335
|
priceSummary?: PriceSummary;
|
|
2336
|
+
/**
|
|
2337
|
+
* Currency of `amount`, which must match the draft order's currency.
|
|
2338
|
+
* Three-letter currency code in
|
|
2339
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2340
|
+
*
|
|
2341
|
+
* Required if the draft order's currency differs from the site currency.
|
|
2342
|
+
* Doesn't apply when the deposit is set as a `percentage`.
|
|
2343
|
+
* @format CURRENCY
|
|
2344
|
+
*/
|
|
2345
|
+
currency?: string | null;
|
|
2323
2346
|
}
|
|
2324
2347
|
/** @oneof */
|
|
2325
2348
|
interface DepositDetailsDepositOneOf {
|
|
@@ -2470,6 +2493,18 @@ interface DraftOrderInput {
|
|
|
2470
2493
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
2471
2494
|
*/
|
|
2472
2495
|
extendedFields?: ExtendedFields;
|
|
2496
|
+
/**
|
|
2497
|
+
* Currency to create the draft order in. Three-letter currency code in
|
|
2498
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2499
|
+
*
|
|
2500
|
+
* Optional. When omitted, the draft order is created in the site's currency.
|
|
2501
|
+
*
|
|
2502
|
+
* Must be a currency the site can accept payment in. Amounts in this request are treated
|
|
2503
|
+
* as already in this currency.
|
|
2504
|
+
* @internal
|
|
2505
|
+
* @format CURRENCY
|
|
2506
|
+
*/
|
|
2507
|
+
currency?: string | null;
|
|
2473
2508
|
}
|
|
2474
2509
|
interface CatalogReferenceLineItem {
|
|
2475
2510
|
/**
|
|
@@ -3055,7 +3090,7 @@ interface AddLineItemsToDraftOrderRequest {
|
|
|
3055
3090
|
/**
|
|
3056
3091
|
* Currency of the provided amounts, which must match the draft order's currency.
|
|
3057
3092
|
*
|
|
3058
|
-
* Required if the draft order's currency differs from
|
|
3093
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
3059
3094
|
* @internal
|
|
3060
3095
|
* @format CURRENCY
|
|
3061
3096
|
*/
|
|
@@ -3080,7 +3115,7 @@ interface UpdateLineItemsRequest {
|
|
|
3080
3115
|
/**
|
|
3081
3116
|
* Currency of the provided amounts, which must match the draft order's currency.
|
|
3082
3117
|
*
|
|
3083
|
-
* Required if the draft order's currency differs from
|
|
3118
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
3084
3119
|
* @internal
|
|
3085
3120
|
* @format CURRENCY
|
|
3086
3121
|
*/
|
|
@@ -3212,6 +3247,34 @@ interface SetDepositResponse {
|
|
|
3212
3247
|
/** Draft order calculated with the latest changes. */
|
|
3213
3248
|
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
3214
3249
|
}
|
|
3250
|
+
interface ChangeDraftOrderCurrencyRequest {
|
|
3251
|
+
/**
|
|
3252
|
+
* Draft order ID.
|
|
3253
|
+
* @format GUID
|
|
3254
|
+
*/
|
|
3255
|
+
draftOrderId: string;
|
|
3256
|
+
/**
|
|
3257
|
+
* The currency to change the draft order to. Three-letter currency code in
|
|
3258
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3259
|
+
*
|
|
3260
|
+
* This is the target currency only. Wix derives the source currency from the draft order's
|
|
3261
|
+
* stored currency.
|
|
3262
|
+
* @format CURRENCY
|
|
3263
|
+
*/
|
|
3264
|
+
targetCurrency: string;
|
|
3265
|
+
}
|
|
3266
|
+
interface ChangeDraftOrderCurrencyResponse {
|
|
3267
|
+
/** Draft order calculated with the latest changes. */
|
|
3268
|
+
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
3269
|
+
/**
|
|
3270
|
+
* The draft order's currency before this call. Three-letter currency code in
|
|
3271
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
3272
|
+
*
|
|
3273
|
+
* This is the currency that the returned `calculatedDraftOrder` was converted from.
|
|
3274
|
+
* @format CURRENCY
|
|
3275
|
+
*/
|
|
3276
|
+
previousCurrency?: string;
|
|
3277
|
+
}
|
|
3215
3278
|
interface SetDiscountsRequest {
|
|
3216
3279
|
/**
|
|
3217
3280
|
* Draft order ID.
|
|
@@ -3259,7 +3322,7 @@ interface CreateCustomDiscountsRequest {
|
|
|
3259
3322
|
/**
|
|
3260
3323
|
* Currency of the provided amounts, which must match the draft order's currency.
|
|
3261
3324
|
*
|
|
3262
|
-
* Required if the draft order's currency differs from
|
|
3325
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
3263
3326
|
* @internal
|
|
3264
3327
|
* @format CURRENCY
|
|
3265
3328
|
*/
|
|
@@ -3323,7 +3386,7 @@ interface CreateCustomAdditionalFeesRequest {
|
|
|
3323
3386
|
/**
|
|
3324
3387
|
* Currency of the provided fee amounts, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) alphabetic format. Must match the draft order's currency.
|
|
3325
3388
|
*
|
|
3326
|
-
* Required if the draft order's currency differs from
|
|
3389
|
+
* Required if the draft order's currency differs from its `originalCurrency` and a fee's amount is non-zero.
|
|
3327
3390
|
* May be omitted when every fee's amount is `0`.
|
|
3328
3391
|
* @internal
|
|
3329
3392
|
* @format CURRENCY
|
|
@@ -3367,7 +3430,7 @@ interface SetShippingInfoRequest {
|
|
|
3367
3430
|
/**
|
|
3368
3431
|
* Currency of the provided amounts, which must match the draft order's currency.
|
|
3369
3432
|
*
|
|
3370
|
-
* Required if the draft order's currency differs from
|
|
3433
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
3371
3434
|
* @internal
|
|
3372
3435
|
* @format CURRENCY
|
|
3373
3436
|
*/
|
|
@@ -5865,6 +5928,14 @@ type CreateDraftOrderApplicationErrors = {
|
|
|
5865
5928
|
code?: 'NOT_AUTHORIZED_TO_READ_DRAFT_ORDERS';
|
|
5866
5929
|
description?: string;
|
|
5867
5930
|
data?: Record<string, any>;
|
|
5931
|
+
} | {
|
|
5932
|
+
code?: 'CURRENCY_NOT_PAYABLE';
|
|
5933
|
+
description?: string;
|
|
5934
|
+
data?: Record<string, any>;
|
|
5935
|
+
} | {
|
|
5936
|
+
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
5937
|
+
description?: string;
|
|
5938
|
+
data?: Record<string, any>;
|
|
5868
5939
|
};
|
|
5869
5940
|
/** @docsIgnore */
|
|
5870
5941
|
type CreateEmptyDraftOrderApplicationErrors = {
|
|
@@ -6037,6 +6108,32 @@ type SetDepositApplicationErrors = {
|
|
|
6037
6108
|
code?: 'DRAFT_ORDER_HAS_DEPOSIT_LINE_ITEMS';
|
|
6038
6109
|
description?: string;
|
|
6039
6110
|
data?: Record<string, any>;
|
|
6111
|
+
} | {
|
|
6112
|
+
code?: 'CURRENCY_REQUIRED';
|
|
6113
|
+
description?: string;
|
|
6114
|
+
data?: Record<string, any>;
|
|
6115
|
+
} | {
|
|
6116
|
+
code?: 'CURRENCY_DOES_NOT_MATCH_DRAFT_ORDER_CURRENCY';
|
|
6117
|
+
description?: string;
|
|
6118
|
+
data?: Record<string, any>;
|
|
6119
|
+
};
|
|
6120
|
+
/** @docsIgnore */
|
|
6121
|
+
type ChangeDraftOrderCurrencyApplicationErrors = {
|
|
6122
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
6123
|
+
description?: string;
|
|
6124
|
+
data?: Record<string, any>;
|
|
6125
|
+
} | {
|
|
6126
|
+
code?: 'DRAFT_ORDER_ALREADY_COMMITTED';
|
|
6127
|
+
description?: string;
|
|
6128
|
+
data?: Record<string, any>;
|
|
6129
|
+
} | {
|
|
6130
|
+
code?: 'CURRENCY_NOT_PAYABLE';
|
|
6131
|
+
description?: string;
|
|
6132
|
+
data?: Record<string, any>;
|
|
6133
|
+
} | {
|
|
6134
|
+
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
6135
|
+
description?: string;
|
|
6136
|
+
data?: Record<string, any>;
|
|
6040
6137
|
};
|
|
6041
6138
|
/** @docsIgnore */
|
|
6042
6139
|
type SetDiscountsApplicationErrors = {
|
|
@@ -6267,6 +6364,10 @@ type CreateOrderFromDraftApplicationErrors = {
|
|
|
6267
6364
|
code?: 'SUBSCRIPTION_ACTIVATION_INCOMPATIBLE_WITH_ORDER_STATUS';
|
|
6268
6365
|
description?: string;
|
|
6269
6366
|
data?: Record<string, any>;
|
|
6367
|
+
} | {
|
|
6368
|
+
code?: 'DRAFT_ORDER_CURRENCY_NOT_PAYABLE';
|
|
6369
|
+
description?: string;
|
|
6370
|
+
data?: Record<string, any>;
|
|
6270
6371
|
};
|
|
6271
6372
|
/** @docsIgnore */
|
|
6272
6373
|
type DeleteDraftOrderApplicationErrors = {
|
|
@@ -6541,6 +6642,14 @@ interface AddLineItemsToDraftOrderOptions {
|
|
|
6541
6642
|
* @maxSize 300
|
|
6542
6643
|
*/
|
|
6543
6644
|
customLineItems?: CustomLineItem[];
|
|
6645
|
+
/**
|
|
6646
|
+
* Currency of the provided amounts, which must match the draft order's currency.
|
|
6647
|
+
*
|
|
6648
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
6649
|
+
* @internal
|
|
6650
|
+
* @format CURRENCY
|
|
6651
|
+
*/
|
|
6652
|
+
currency?: string | null;
|
|
6544
6653
|
}
|
|
6545
6654
|
/**
|
|
6546
6655
|
* Updates a draft order's line items.
|
|
@@ -6562,9 +6671,19 @@ interface AddLineItemsToDraftOrderOptions {
|
|
|
6562
6671
|
* @applicableIdentity APP
|
|
6563
6672
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.UpdateLineItems
|
|
6564
6673
|
*/
|
|
6565
|
-
declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId` | `newModifierGroups.modifierGroups.${number}._id` | `newModifierGroups.modifierGroups.${number}.modifiers.${number}._id`, 5>[]): Promise<NonNullablePaths<UpdateLineItemsResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.fixedQuantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.measurementUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.otherUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.value` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.name.original` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.chargeType` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.percentageRate` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors`, 9> & {
|
|
6674
|
+
declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId` | `newModifierGroups.modifierGroups.${number}._id` | `newModifierGroups.modifierGroups.${number}.modifiers.${number}._id`, 5>[], options?: UpdateLineItemsOptions): Promise<NonNullablePaths<UpdateLineItemsResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.fixedQuantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.measurementUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.otherUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.value` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.name.original` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.chargeType` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.percentageRate` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors`, 9> & {
|
|
6566
6675
|
__applicationErrorsType?: UpdateLineItemsApplicationErrors;
|
|
6567
6676
|
}>;
|
|
6677
|
+
interface UpdateLineItemsOptions {
|
|
6678
|
+
/**
|
|
6679
|
+
* Currency of the provided amounts, which must match the draft order's currency.
|
|
6680
|
+
*
|
|
6681
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
6682
|
+
* @internal
|
|
6683
|
+
* @format CURRENCY
|
|
6684
|
+
*/
|
|
6685
|
+
currency?: string | null;
|
|
6686
|
+
}
|
|
6568
6687
|
/**
|
|
6569
6688
|
* Sets deposit requirements on a draft order.
|
|
6570
6689
|
*
|
|
@@ -6592,6 +6711,37 @@ interface SetDepositOptions {
|
|
|
6592
6711
|
*/
|
|
6593
6712
|
depositDetails?: DepositDetails;
|
|
6594
6713
|
}
|
|
6714
|
+
/**
|
|
6715
|
+
* Changes a draft order's currency and converts every stored amount to that currency.
|
|
6716
|
+
*
|
|
6717
|
+
* You can change the currency only while the draft order is uncommitted, and only to a
|
|
6718
|
+
* currency the site can accept payment in.
|
|
6719
|
+
*
|
|
6720
|
+
* The draft order stores the converted amounts only. It doesn't store the original amounts
|
|
6721
|
+
* or the exchange rate. Each change converts the amounts at their stored values and replaces
|
|
6722
|
+
* the previous currency, so you can't reconstruct the earlier amounts from the draft order.
|
|
6723
|
+
*
|
|
6724
|
+
* Because each conversion rounds to the target currency's minor unit, changing back to a
|
|
6725
|
+
* previous currency may not reproduce the original amounts.
|
|
6726
|
+
*
|
|
6727
|
+
* To retrieve a draft order's currency before changing it, call Get Draft Order.
|
|
6728
|
+
* @param draftOrderId - Draft order ID.
|
|
6729
|
+
* @param targetCurrency - The currency to change the draft order to. Three-letter currency code in
|
|
6730
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
6731
|
+
*
|
|
6732
|
+
* This is the target currency only. Wix derives the source currency from the draft order's
|
|
6733
|
+
* stored currency.
|
|
6734
|
+
* @internal
|
|
6735
|
+
* @documentationMaturity preview
|
|
6736
|
+
* @requiredField draftOrderId
|
|
6737
|
+
* @requiredField targetCurrency
|
|
6738
|
+
* @permissionId ecom:v1:draft_order:change_draft_order_currency
|
|
6739
|
+
* @applicableIdentity APP
|
|
6740
|
+
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.ChangeDraftOrderCurrency
|
|
6741
|
+
*/
|
|
6742
|
+
declare function changeDraftOrderCurrency(draftOrderId: string, targetCurrency: string): Promise<NonNullablePaths<ChangeDraftOrderCurrencyResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.fixedQuantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.measurementUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.otherUnit` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.decimalQuantity.value` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.cashRoundingAdjustment.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.name.original` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.chargeType` | `calculatedDraftOrder.draftOrder.platformFeeSummary.fees.${number}.percentageRate` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors` | `previousCurrency`, 9> & {
|
|
6743
|
+
__applicationErrorsType?: ChangeDraftOrderCurrencyApplicationErrors;
|
|
6744
|
+
}>;
|
|
6595
6745
|
/**
|
|
6596
6746
|
* Applies or unapplies discounts on a draft order.
|
|
6597
6747
|
*
|
|
@@ -6640,6 +6790,14 @@ interface CreateCustomDiscountsOptions {
|
|
|
6640
6790
|
* @maxSize 100
|
|
6641
6791
|
*/
|
|
6642
6792
|
discounts?: DiscountOption[];
|
|
6793
|
+
/**
|
|
6794
|
+
* Currency of the provided amounts, which must match the draft order's currency.
|
|
6795
|
+
*
|
|
6796
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
6797
|
+
* @internal
|
|
6798
|
+
* @format CURRENCY
|
|
6799
|
+
*/
|
|
6800
|
+
currency?: string | null;
|
|
6643
6801
|
}
|
|
6644
6802
|
/**
|
|
6645
6803
|
* Removes custom discounts from a draft order.
|
|
@@ -6706,7 +6864,7 @@ interface CreateCustomAdditionalFeesOptions {
|
|
|
6706
6864
|
/**
|
|
6707
6865
|
* Currency of the provided fee amounts, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) alphabetic format. Must match the draft order's currency.
|
|
6708
6866
|
*
|
|
6709
|
-
* Required if the draft order's currency differs from
|
|
6867
|
+
* Required if the draft order's currency differs from its `originalCurrency` and a fee's amount is non-zero.
|
|
6710
6868
|
* May be omitted when every fee's amount is `0`.
|
|
6711
6869
|
* @internal
|
|
6712
6870
|
* @format CURRENCY
|
|
@@ -6746,6 +6904,14 @@ interface SetShippingInfoOptions {
|
|
|
6746
6904
|
* > **Note:** Passing an empty object will remove the existing shipping info.
|
|
6747
6905
|
*/
|
|
6748
6906
|
shippingInfo?: V1ShippingInformation;
|
|
6907
|
+
/**
|
|
6908
|
+
* Currency of the provided amounts, which must match the draft order's currency.
|
|
6909
|
+
*
|
|
6910
|
+
* Required if the draft order's currency differs from its `originalCurrency`.
|
|
6911
|
+
* @internal
|
|
6912
|
+
* @format CURRENCY
|
|
6913
|
+
*/
|
|
6914
|
+
currency?: string | null;
|
|
6749
6915
|
}
|
|
6750
6916
|
/**
|
|
6751
6917
|
* Sets buyer info on a draft order.
|
|
@@ -7132,4 +7298,4 @@ interface SetBusinessLocationOptions {
|
|
|
7132
7298
|
businessLocation?: Location;
|
|
7133
7299
|
}
|
|
7134
7300
|
|
|
7135
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|
|
7301
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChangeDraftOrderCurrencyApplicationErrors, type ChangeDraftOrderCurrencyRequest, type ChangeDraftOrderCurrencyResponse, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, changeDraftOrderCurrency, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|