@wix/auto_sdk_ecom_checkout 1.0.120 → 1.0.122
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 +2 -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 +2 -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 +2 -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 +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3198,6 +3198,8 @@ interface MessageEnvelope {
|
|
|
3198
3198
|
identity?: IdentificationData;
|
|
3199
3199
|
/** Stringify payload. */
|
|
3200
3200
|
data?: string;
|
|
3201
|
+
/** Details related to the account */
|
|
3202
|
+
accountInfo?: AccountInfo;
|
|
3201
3203
|
}
|
|
3202
3204
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3203
3205
|
/**
|
|
@@ -3573,6 +3575,8 @@ interface BaseEventMetadata {
|
|
|
3573
3575
|
eventType?: string;
|
|
3574
3576
|
/** The identification type and identity data. */
|
|
3575
3577
|
identity?: IdentificationData;
|
|
3578
|
+
/** Details related to the account */
|
|
3579
|
+
accountInfo?: AccountInfo;
|
|
3576
3580
|
}
|
|
3577
3581
|
interface EventMetadata extends BaseEventMetadata {
|
|
3578
3582
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -3603,6 +3607,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
3603
3607
|
* 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.
|
|
3604
3608
|
*/
|
|
3605
3609
|
entityEventSequence?: string | null;
|
|
3610
|
+
accountInfo?: AccountInfoMetadata;
|
|
3611
|
+
}
|
|
3612
|
+
interface AccountInfoMetadata {
|
|
3613
|
+
/** ID of the Wix account associated with the event */
|
|
3614
|
+
accountId: string;
|
|
3615
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
3616
|
+
siteId?: string;
|
|
3617
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
3618
|
+
parentAccountId?: string;
|
|
3606
3619
|
}
|
|
3607
3620
|
interface CheckoutCompletedEnvelope {
|
|
3608
3621
|
data: CheckoutMarkedAsCompleted;
|