@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
|
@@ -5199,6 +5199,10 @@ type CreateOrderFromDraftApplicationErrors = {
|
|
|
5199
5199
|
code?: 'DRAFT_ORDER_ALREADY_COMMITTED';
|
|
5200
5200
|
description?: string;
|
|
5201
5201
|
data?: Record<string, any>;
|
|
5202
|
+
} | {
|
|
5203
|
+
code?: 'DRAFT_ORDER_DEPOSIT_AMOUNT_EXCEEDS_ORDER_TOTAL';
|
|
5204
|
+
description?: string;
|
|
5205
|
+
data?: Record<string, any>;
|
|
5202
5206
|
};
|
|
5203
5207
|
/** @docsIgnore */
|
|
5204
5208
|
type DeleteDraftOrderApplicationErrors = {
|
|
@@ -5287,6 +5291,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
5287
5291
|
* 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.
|
|
5288
5292
|
*/
|
|
5289
5293
|
entityEventSequence?: string | null;
|
|
5294
|
+
accountInfo?: AccountInfoMetadata;
|
|
5295
|
+
}
|
|
5296
|
+
interface AccountInfoMetadata {
|
|
5297
|
+
/** ID of the Wix account associated with the event */
|
|
5298
|
+
accountId: string;
|
|
5299
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
5300
|
+
siteId?: string;
|
|
5301
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
5302
|
+
parentAccountId?: string;
|
|
5290
5303
|
}
|
|
5291
5304
|
interface DraftOrderCreatedEnvelope {
|
|
5292
5305
|
entity: DraftOrder;
|