@wix/auto_sdk_ecom_checkout-templates 1.0.100 → 1.0.102
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
|
@@ -2953,6 +2953,8 @@ interface MessageEnvelope {
|
|
|
2953
2953
|
identity?: IdentificationData;
|
|
2954
2954
|
/** Stringify payload. */
|
|
2955
2955
|
data?: string;
|
|
2956
|
+
/** Details related to the account */
|
|
2957
|
+
accountInfo?: AccountInfo;
|
|
2956
2958
|
}
|
|
2957
2959
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2958
2960
|
/**
|
|
@@ -3076,6 +3078,8 @@ interface BaseEventMetadata {
|
|
|
3076
3078
|
eventType?: string;
|
|
3077
3079
|
/** The identification type and identity data. */
|
|
3078
3080
|
identity?: IdentificationData;
|
|
3081
|
+
/** Details related to the account */
|
|
3082
|
+
accountInfo?: AccountInfo;
|
|
3079
3083
|
}
|
|
3080
3084
|
interface EventMetadata extends BaseEventMetadata {
|
|
3081
3085
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -3106,6 +3110,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
3106
3110
|
* 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.
|
|
3107
3111
|
*/
|
|
3108
3112
|
entityEventSequence?: string | null;
|
|
3113
|
+
accountInfo?: AccountInfoMetadata;
|
|
3114
|
+
}
|
|
3115
|
+
interface AccountInfoMetadata {
|
|
3116
|
+
/** ID of the Wix account associated with the event */
|
|
3117
|
+
accountId: string;
|
|
3118
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
3119
|
+
siteId?: string;
|
|
3120
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
3121
|
+
parentAccountId?: string;
|
|
3109
3122
|
}
|
|
3110
3123
|
interface CheckoutTemplateCreatedEnvelope {
|
|
3111
3124
|
entity: CheckoutTemplate;
|