@wix/auto_sdk_ecom_draft-orders 1.0.105 → 1.0.107
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -4912,6 +4912,10 @@ type CreateOrderFromDraftApplicationErrors = {
|
|
|
4912
4912
|
code?: 'DRAFT_ORDER_ALREADY_COMMITTED';
|
|
4913
4913
|
description?: string;
|
|
4914
4914
|
data?: Record<string, any>;
|
|
4915
|
+
} | {
|
|
4916
|
+
code?: 'DRAFT_ORDER_DEPOSIT_AMOUNT_EXCEEDS_ORDER_TOTAL';
|
|
4917
|
+
description?: string;
|
|
4918
|
+
data?: Record<string, any>;
|
|
4915
4919
|
};
|
|
4916
4920
|
/** @docsIgnore */
|
|
4917
4921
|
type DeleteDraftOrderApplicationErrors = {
|
|
@@ -5000,6 +5004,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
5000
5004
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
5001
5005
|
*/
|
|
5002
5006
|
entityEventSequence?: string | null;
|
|
5007
|
+
accountInfo?: AccountInfoMetadata;
|
|
5008
|
+
}
|
|
5009
|
+
interface AccountInfoMetadata {
|
|
5010
|
+
/** ID of the Wix account associated with the event */
|
|
5011
|
+
accountId: string;
|
|
5012
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
5013
|
+
siteId?: string;
|
|
5014
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
5015
|
+
parentAccountId?: string;
|
|
5003
5016
|
}
|
|
5004
5017
|
interface DraftOrderCreatedEnvelope {
|
|
5005
5018
|
entity: DraftOrder;
|