@wix/auto_sdk_comments_comments 1.0.43 → 1.0.45
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
|
@@ -2460,6 +2460,8 @@ interface MessageEnvelope {
|
|
|
2460
2460
|
identity?: IdentificationData;
|
|
2461
2461
|
/** Stringify payload. */
|
|
2462
2462
|
data?: string;
|
|
2463
|
+
/** Details related to the account */
|
|
2464
|
+
accountInfo?: AccountInfo;
|
|
2463
2465
|
}
|
|
2464
2466
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2465
2467
|
/**
|
|
@@ -3211,6 +3213,8 @@ interface BaseEventMetadata {
|
|
|
3211
3213
|
eventType?: string;
|
|
3212
3214
|
/** The identification type and identity data. */
|
|
3213
3215
|
identity?: IdentificationData;
|
|
3216
|
+
/** Details related to the account */
|
|
3217
|
+
accountInfo?: AccountInfo;
|
|
3214
3218
|
}
|
|
3215
3219
|
interface EventMetadata extends BaseEventMetadata {
|
|
3216
3220
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -3241,6 +3245,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
3241
3245
|
* 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.
|
|
3242
3246
|
*/
|
|
3243
3247
|
entityEventSequence?: string | null;
|
|
3248
|
+
accountInfo?: AccountInfoMetadata;
|
|
3249
|
+
}
|
|
3250
|
+
interface AccountInfoMetadata {
|
|
3251
|
+
/** ID of the Wix account associated with the event */
|
|
3252
|
+
accountId: string;
|
|
3253
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
3254
|
+
siteId?: string;
|
|
3255
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
3256
|
+
parentAccountId?: string;
|
|
3244
3257
|
}
|
|
3245
3258
|
interface CommentDeletedEnvelope {
|
|
3246
3259
|
metadata: EventMetadata;
|