@wix/auto_sdk_members_member-privacy-settings 1.0.29 → 1.0.31

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.
@@ -47,6 +47,24 @@ interface GetMemberPrivacySettingsResponse {
47
47
  /** Retrieved member privacy settings. */
48
48
  memberPrivacySettings?: MemberPrivacySettings;
49
49
  }
50
+ interface BulkGetMemberPrivacySettingsRequest {
51
+ /**
52
+ * List of tenants to retrieve privacy settings for.
53
+ * @minSize 1
54
+ * @maxSize 100
55
+ */
56
+ siteMemberInstanceIds?: string[];
57
+ }
58
+ interface BulkGetMemberPrivacySettingsResponse {
59
+ /** List of member privacy settings per site member instance ID. */
60
+ siteMemberInstanceMemberPrivacySettings?: SiteMemberInstanceMemberPrivacySettings[];
61
+ }
62
+ interface SiteMemberInstanceMemberPrivacySettings {
63
+ /** The site member instance ID. */
64
+ siteMemberInstanceId?: string;
65
+ /** The member privacy settings for the site member instance. */
66
+ memberPrivacySettings?: MemberPrivacySettings;
67
+ }
50
68
  interface SetMemberPrivacySettingsRequest {
51
69
  /** Member privacy settings details. */
52
70
  memberPrivacySettings: MemberPrivacySettings;
@@ -55,6 +73,625 @@ interface SetMemberPrivacySettingsResponse {
55
73
  /** Member privacy settings. */
56
74
  memberPrivacySettings?: MemberPrivacySettings;
57
75
  }
76
+ interface InvalidRevisionPayload {
77
+ /** Provided revision number. */
78
+ revision?: string | null;
79
+ }
80
+ interface InvalidSettingsPayload {
81
+ /** Provided public member visibility value. */
82
+ publicMemberVisibility?: VisibilityWithLiterals;
83
+ /** Provided public member candidates value. */
84
+ publicMemberCandidates?: CandidatesWithLiterals;
85
+ }
86
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
87
+ /** Emitted on a meta site creation. */
88
+ siteCreated?: SiteCreated;
89
+ /** Emitted on a meta site transfer completion. */
90
+ siteTransferred?: SiteTransferred;
91
+ /** Emitted on a meta site deletion. */
92
+ siteDeleted?: SiteDeleted;
93
+ /** Emitted on a meta site restoration. */
94
+ siteUndeleted?: SiteUndeleted;
95
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
96
+ sitePublished?: SitePublished;
97
+ /** Emitted on a meta site unpublish. */
98
+ siteUnpublished?: SiteUnpublished;
99
+ /** Emitted when meta site is marked as template. */
100
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
101
+ /** Emitted when meta site is marked as a WixSite. */
102
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
103
+ /** Emitted when an application is provisioned (installed). */
104
+ serviceProvisioned?: ServiceProvisioned;
105
+ /** Emitted when an application is removed (uninstalled). */
106
+ serviceRemoved?: ServiceRemoved;
107
+ /** Emitted when meta site name (URL slug) is changed. */
108
+ siteRenamedPayload?: SiteRenamed;
109
+ /** Emitted when meta site was permanently deleted. */
110
+ hardDeleted?: SiteHardDeleted;
111
+ /** Emitted on a namespace change. */
112
+ namespaceChanged?: NamespaceChanged;
113
+ /** Emitted when Studio is attached. */
114
+ studioAssigned?: StudioAssigned;
115
+ /** Emitted when Studio is detached. */
116
+ studioUnassigned?: StudioUnassigned;
117
+ /**
118
+ * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
119
+ * the actual URL.
120
+ *
121
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
122
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
123
+ */
124
+ urlChanged?: SiteUrlChanged;
125
+ /** Site is marked as PurgedExternally */
126
+ sitePurgedExternally?: SitePurgedExternally;
127
+ /** Emitted when Odeditor is attached. */
128
+ odeditorAssigned?: OdeditorAssigned;
129
+ /** Emitted when Odeditor is detached. */
130
+ odeditorUnassigned?: OdeditorUnassigned;
131
+ /** Emitted when Picasso is attached. */
132
+ picassoAssigned?: PicassoAssigned;
133
+ /** Emitted when Picasso is detached. */
134
+ picassoUnassigned?: PicassoUnassigned;
135
+ /**
136
+ * A meta site id.
137
+ * @format GUID
138
+ */
139
+ metaSiteId?: string;
140
+ /** A meta site version. Monotonically increasing. */
141
+ version?: string;
142
+ /** A timestamp of the event. */
143
+ timestamp?: string;
144
+ /**
145
+ * TODO(meta-site): Change validation once validations are disabled for consumers
146
+ * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
147
+ * @maxSize 4000
148
+ */
149
+ assets?: Asset[];
150
+ }
151
+ /** @oneof */
152
+ interface MetaSiteSpecialEventPayloadOneOf {
153
+ /** Emitted on a meta site creation. */
154
+ siteCreated?: SiteCreated;
155
+ /** Emitted on a meta site transfer completion. */
156
+ siteTransferred?: SiteTransferred;
157
+ /** Emitted on a meta site deletion. */
158
+ siteDeleted?: SiteDeleted;
159
+ /** Emitted on a meta site restoration. */
160
+ siteUndeleted?: SiteUndeleted;
161
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
162
+ sitePublished?: SitePublished;
163
+ /** Emitted on a meta site unpublish. */
164
+ siteUnpublished?: SiteUnpublished;
165
+ /** Emitted when meta site is marked as template. */
166
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
167
+ /** Emitted when meta site is marked as a WixSite. */
168
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
169
+ /** Emitted when an application is provisioned (installed). */
170
+ serviceProvisioned?: ServiceProvisioned;
171
+ /** Emitted when an application is removed (uninstalled). */
172
+ serviceRemoved?: ServiceRemoved;
173
+ /** Emitted when meta site name (URL slug) is changed. */
174
+ siteRenamedPayload?: SiteRenamed;
175
+ /** Emitted when meta site was permanently deleted. */
176
+ hardDeleted?: SiteHardDeleted;
177
+ /** Emitted on a namespace change. */
178
+ namespaceChanged?: NamespaceChanged;
179
+ /** Emitted when Studio is attached. */
180
+ studioAssigned?: StudioAssigned;
181
+ /** Emitted when Studio is detached. */
182
+ studioUnassigned?: StudioUnassigned;
183
+ /**
184
+ * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
185
+ * the actual URL.
186
+ *
187
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
188
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
189
+ */
190
+ urlChanged?: SiteUrlChanged;
191
+ /** Site is marked as PurgedExternally */
192
+ sitePurgedExternally?: SitePurgedExternally;
193
+ /** Emitted when Odeditor is attached. */
194
+ odeditorAssigned?: OdeditorAssigned;
195
+ /** Emitted when Odeditor is detached. */
196
+ odeditorUnassigned?: OdeditorUnassigned;
197
+ /** Emitted when Picasso is attached. */
198
+ picassoAssigned?: PicassoAssigned;
199
+ /** Emitted when Picasso is detached. */
200
+ picassoUnassigned?: PicassoUnassigned;
201
+ }
202
+ interface Asset {
203
+ /**
204
+ * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
205
+ * @maxLength 36
206
+ */
207
+ appDefId?: string;
208
+ /**
209
+ * An instance id. For legacy reasons may be UUID or a string.
210
+ * @maxLength 200
211
+ */
212
+ instanceId?: string;
213
+ /** An application state. */
214
+ state?: StateWithLiterals;
215
+ }
216
+ declare enum State {
217
+ UNKNOWN = "UNKNOWN",
218
+ ENABLED = "ENABLED",
219
+ DISABLED = "DISABLED",
220
+ PENDING = "PENDING",
221
+ DEMO = "DEMO"
222
+ }
223
+ /** @enumType */
224
+ type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
225
+ interface SiteCreated {
226
+ /**
227
+ * A template identifier (empty if not created from a template).
228
+ * @maxLength 36
229
+ */
230
+ originTemplateId?: string;
231
+ /**
232
+ * An account id of the owner.
233
+ * @format GUID
234
+ */
235
+ ownerId?: string;
236
+ /** A context in which meta site was created. */
237
+ context?: SiteCreatedContextWithLiterals;
238
+ /**
239
+ * A meta site id from which this site was created.
240
+ *
241
+ * In case of a creation from a template it's a template id.
242
+ * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
243
+ * @format GUID
244
+ */
245
+ originMetaSiteId?: string | null;
246
+ /**
247
+ * A meta site name (URL slug).
248
+ * @maxLength 20
249
+ */
250
+ siteName?: string;
251
+ /** A namespace. */
252
+ namespace?: NamespaceWithLiterals;
253
+ }
254
+ declare enum SiteCreatedContext {
255
+ /** A valid option, we don't expose all reasons why site might be created. */
256
+ OTHER = "OTHER",
257
+ /** A meta site was created from template. */
258
+ FROM_TEMPLATE = "FROM_TEMPLATE",
259
+ /** A meta site was created by copying of the transfferred meta site. */
260
+ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
261
+ /** A copy of existing meta site. */
262
+ DUPLICATE = "DUPLICATE",
263
+ /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
264
+ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
265
+ /** deprecated A meta site was created for Flash editor. */
266
+ FLASH = "FLASH"
267
+ }
268
+ /** @enumType */
269
+ type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
270
+ declare enum Namespace {
271
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
272
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
273
+ WIX = "WIX",
274
+ /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
275
+ SHOUT_OUT = "SHOUT_OUT",
276
+ /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
277
+ ALBUMS = "ALBUMS",
278
+ /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
279
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
280
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
281
+ HOTELS = "HOTELS",
282
+ /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
283
+ CLUBS = "CLUBS",
284
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
285
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
286
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
287
+ DEV_SITE = "DEV_SITE",
288
+ /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
289
+ LOGOS = "LOGOS",
290
+ /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
291
+ VIDEO_MAKER = "VIDEO_MAKER",
292
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
293
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
294
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
295
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
296
+ /**
297
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
298
+ *
299
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
300
+ */
301
+ HTML_DRAFT = "HTML_DRAFT",
302
+ /**
303
+ * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
304
+ * Will be accessible from Site List and will not have a website app.
305
+ * Once the user attaches a site, the site will become a regular wixsite.
306
+ */
307
+ SITELESS_BUSINESS = "SITELESS_BUSINESS",
308
+ /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
309
+ CREATOR_ECONOMY = "CREATOR_ECONOMY",
310
+ /** It is to be used in the Business First efforts. */
311
+ DASHBOARD_FIRST = "DASHBOARD_FIRST",
312
+ /** Bookings business flow with no site. */
313
+ ANYWHERE = "ANYWHERE",
314
+ /** Namespace for Headless Backoffice with no editor */
315
+ HEADLESS = "HEADLESS",
316
+ /**
317
+ * Namespace for master site that will exist in parent account that will be referenced by subaccounts
318
+ * The site will be used for account level CSM feature for enterprise
319
+ */
320
+ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
321
+ /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
322
+ RISE = "RISE",
323
+ /**
324
+ * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
325
+ * There's a blank site behind the scene but it's blank).
326
+ * The Mobile company will be the owner of this namespace.
327
+ */
328
+ BRANDED_FIRST = "BRANDED_FIRST",
329
+ /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
330
+ NOWNIA = "NOWNIA",
331
+ /**
332
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
333
+ * The Partners company owns this namespace.
334
+ */
335
+ UGC_TEMPLATE = "UGC_TEMPLATE",
336
+ /** Codux Headless Sites */
337
+ CODUX = "CODUX",
338
+ /** Bobb - AI Design Creator. */
339
+ MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
340
+ /**
341
+ * Shared Blog Site is a unique single site across Enterprise account,
342
+ * This site will hold all Blog posts related to the Marketing product.
343
+ */
344
+ SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
345
+ /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
346
+ STANDALONE_FORMS = "STANDALONE_FORMS",
347
+ /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
348
+ STANDALONE_EVENTS = "STANDALONE_EVENTS",
349
+ /** MIMIR - Siteless account for MIMIR Ai Job runner. */
350
+ MIMIR = "MIMIR",
351
+ /** Wix Twins platform. */
352
+ TWINS = "TWINS",
353
+ /** Wix Nano. */
354
+ NANO = "NANO"
355
+ }
356
+ /** @enumType */
357
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
358
+ /** Site transferred to another user. */
359
+ interface SiteTransferred {
360
+ /**
361
+ * A previous owner id (user that transfers meta site).
362
+ * @format GUID
363
+ */
364
+ oldOwnerId?: string;
365
+ /**
366
+ * A new owner id (user that accepts meta site).
367
+ * @format GUID
368
+ */
369
+ newOwnerId?: string;
370
+ }
371
+ /** Soft deletion of the meta site. Could be restored. */
372
+ interface SiteDeleted {
373
+ /** A deletion context. */
374
+ deleteContext?: DeleteContext;
375
+ }
376
+ interface DeleteContext {
377
+ /** When the meta site was deleted. */
378
+ dateDeleted?: Date | null;
379
+ /** A status. */
380
+ deleteStatus?: DeleteStatusWithLiterals;
381
+ /**
382
+ * A reason (flow).
383
+ * @maxLength 255
384
+ */
385
+ deleteOrigin?: string;
386
+ /**
387
+ * A service that deleted it.
388
+ * @maxLength 255
389
+ */
390
+ initiatorId?: string | null;
391
+ }
392
+ declare enum DeleteStatus {
393
+ UNKNOWN = "UNKNOWN",
394
+ TRASH = "TRASH",
395
+ DELETED = "DELETED",
396
+ PENDING_PURGE = "PENDING_PURGE",
397
+ PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
398
+ }
399
+ /** @enumType */
400
+ type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
401
+ /** Restoration of the meta site. */
402
+ interface SiteUndeleted {
403
+ }
404
+ /** First publish of a meta site. Or subsequent publish after unpublish. */
405
+ interface SitePublished {
406
+ }
407
+ interface SiteUnpublished {
408
+ /**
409
+ * A list of URLs previously associated with the meta site.
410
+ * @maxLength 4000
411
+ * @maxSize 10000
412
+ */
413
+ urls?: string[];
414
+ }
415
+ interface SiteMarkedAsTemplate {
416
+ }
417
+ interface SiteMarkedAsWixSite {
418
+ }
419
+ /**
420
+ * Represents a service provisioned a site.
421
+ *
422
+ * Note on `origin_instance_id`:
423
+ * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
424
+ * This is because of the following scenario:
425
+ *
426
+ * Imagine you have a template where a third-party application (TPA) includes some stub data,
427
+ * such as a product catalog. When you create a site from this template, you inherit this
428
+ * default product catalog. However, if the template's product catalog is modified,
429
+ * your site will retain the catalog as it was at the time of site creation. This ensures that
430
+ * your site remains consistent with what you initially received and does not include any
431
+ * changes made to the original template afterward.
432
+ * To ensure this, the TPA on the template gets a new instance_id.
433
+ */
434
+ interface ServiceProvisioned {
435
+ /**
436
+ * Either UUID or EmbeddedServiceType.
437
+ * @maxLength 36
438
+ */
439
+ appDefId?: string;
440
+ /**
441
+ * Not only UUID. Something here could be something weird.
442
+ * @maxLength 36
443
+ */
444
+ instanceId?: string;
445
+ /**
446
+ * An instance id from which this instance is originated.
447
+ * @maxLength 36
448
+ */
449
+ originInstanceId?: string;
450
+ /**
451
+ * A version.
452
+ * @maxLength 500
453
+ */
454
+ version?: string | null;
455
+ /**
456
+ * The origin meta site id
457
+ * @format GUID
458
+ */
459
+ originMetaSiteId?: string | null;
460
+ }
461
+ interface ServiceRemoved {
462
+ /**
463
+ * Either UUID or EmbeddedServiceType.
464
+ * @maxLength 36
465
+ */
466
+ appDefId?: string;
467
+ /**
468
+ * Not only UUID. Something here could be something weird.
469
+ * @maxLength 36
470
+ */
471
+ instanceId?: string;
472
+ /**
473
+ * A version.
474
+ * @maxLength 500
475
+ */
476
+ version?: string | null;
477
+ }
478
+ /** Rename of the site. Meaning, free public url has been changed as well. */
479
+ interface SiteRenamed {
480
+ /**
481
+ * A new meta site name (URL slug).
482
+ * @maxLength 20
483
+ */
484
+ newSiteName?: string;
485
+ /**
486
+ * A previous meta site name (URL slug).
487
+ * @maxLength 255
488
+ */
489
+ oldSiteName?: string;
490
+ }
491
+ /**
492
+ * Hard deletion of the meta site.
493
+ *
494
+ * Could not be restored. Therefore it's desirable to cleanup data.
495
+ */
496
+ interface SiteHardDeleted {
497
+ /** A deletion context. */
498
+ deleteContext?: DeleteContext;
499
+ }
500
+ interface NamespaceChanged {
501
+ /** A previous namespace. */
502
+ oldNamespace?: NamespaceWithLiterals;
503
+ /** A new namespace. */
504
+ newNamespace?: NamespaceWithLiterals;
505
+ }
506
+ /** Assigned Studio editor */
507
+ interface StudioAssigned {
508
+ }
509
+ /** Unassigned Studio editor */
510
+ interface StudioUnassigned {
511
+ }
512
+ /**
513
+ * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
514
+ *
515
+ * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
516
+ * with sites and its urls, you need to listen to another topic/event. Read about it:
517
+ *
518
+ * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
519
+ */
520
+ interface SiteUrlChanged {
521
+ }
522
+ /**
523
+ * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
524
+ * Consumed by other teams to remove relevant data.
525
+ */
526
+ interface SitePurgedExternally {
527
+ /**
528
+ * @maxLength 2048
529
+ * @maxSize 100
530
+ * @deprecated
531
+ * @targetRemovalDate 2025-04-15
532
+ */
533
+ appDefId?: string[];
534
+ }
535
+ /** Assigned Odeditor */
536
+ interface OdeditorAssigned {
537
+ }
538
+ /** Unassigned Odeditor */
539
+ interface OdeditorUnassigned {
540
+ }
541
+ /** Assigned Picasso editor */
542
+ interface PicassoAssigned {
543
+ }
544
+ /** Unassigned Picasso */
545
+ interface PicassoUnassigned {
546
+ }
547
+ interface Empty {
548
+ }
549
+ interface DomainEvent extends DomainEventBodyOneOf {
550
+ createdEvent?: EntityCreatedEvent;
551
+ updatedEvent?: EntityUpdatedEvent;
552
+ deletedEvent?: EntityDeletedEvent;
553
+ actionEvent?: ActionEvent;
554
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
555
+ id?: string;
556
+ /**
557
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
558
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
559
+ */
560
+ entityFqdn?: string;
561
+ /**
562
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
563
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
564
+ */
565
+ slug?: string;
566
+ /** ID of the entity associated with the event. */
567
+ entityId?: string;
568
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
569
+ eventTime?: Date | null;
570
+ /**
571
+ * Whether the event was triggered as a result of a privacy regulation application
572
+ * (for example, GDPR).
573
+ */
574
+ triggeredByAnonymizeRequest?: boolean | null;
575
+ /** If present, indicates the action that triggered the event. */
576
+ originatedFrom?: string | null;
577
+ /**
578
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
579
+ * 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.
580
+ */
581
+ entityEventSequence?: string | null;
582
+ }
583
+ /** @oneof */
584
+ interface DomainEventBodyOneOf {
585
+ createdEvent?: EntityCreatedEvent;
586
+ updatedEvent?: EntityUpdatedEvent;
587
+ deletedEvent?: EntityDeletedEvent;
588
+ actionEvent?: ActionEvent;
589
+ }
590
+ interface EntityCreatedEvent {
591
+ entityAsJson?: string;
592
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
593
+ restoreInfo?: RestoreInfo;
594
+ }
595
+ interface RestoreInfo {
596
+ deletedDate?: Date | null;
597
+ }
598
+ interface EntityUpdatedEvent {
599
+ /**
600
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
601
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
602
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
603
+ */
604
+ currentEntityAsJson?: string;
605
+ }
606
+ interface EntityDeletedEvent {
607
+ /** Entity that was deleted. */
608
+ deletedEntityAsJson?: string | null;
609
+ }
610
+ interface ActionEvent {
611
+ bodyAsJson?: string;
612
+ }
613
+ interface MessageEnvelope {
614
+ /**
615
+ * App instance ID.
616
+ * @format GUID
617
+ */
618
+ instanceId?: string | null;
619
+ /**
620
+ * Event type.
621
+ * @maxLength 150
622
+ */
623
+ eventType?: string;
624
+ /** The identification type and identity data. */
625
+ identity?: IdentificationData;
626
+ /** Stringify payload. */
627
+ data?: string;
628
+ }
629
+ interface IdentificationData extends IdentificationDataIdOneOf {
630
+ /**
631
+ * ID of a site visitor that has not logged in to the site.
632
+ * @format GUID
633
+ */
634
+ anonymousVisitorId?: string;
635
+ /**
636
+ * ID of a site visitor that has logged in to the site.
637
+ * @format GUID
638
+ */
639
+ memberId?: string;
640
+ /**
641
+ * ID of a Wix user (site owner, contributor, etc.).
642
+ * @format GUID
643
+ */
644
+ wixUserId?: string;
645
+ /**
646
+ * ID of an app.
647
+ * @format GUID
648
+ */
649
+ appId?: string;
650
+ /** @readonly */
651
+ identityType?: WebhookIdentityTypeWithLiterals;
652
+ }
653
+ /** @oneof */
654
+ interface IdentificationDataIdOneOf {
655
+ /**
656
+ * ID of a site visitor that has not logged in to the site.
657
+ * @format GUID
658
+ */
659
+ anonymousVisitorId?: string;
660
+ /**
661
+ * ID of a site visitor that has logged in to the site.
662
+ * @format GUID
663
+ */
664
+ memberId?: string;
665
+ /**
666
+ * ID of a Wix user (site owner, contributor, etc.).
667
+ * @format GUID
668
+ */
669
+ wixUserId?: string;
670
+ /**
671
+ * ID of an app.
672
+ * @format GUID
673
+ */
674
+ appId?: string;
675
+ }
676
+ declare enum WebhookIdentityType {
677
+ UNKNOWN = "UNKNOWN",
678
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
679
+ MEMBER = "MEMBER",
680
+ WIX_USER = "WIX_USER",
681
+ APP = "APP"
682
+ }
683
+ /** @enumType */
684
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
685
+ /** @docsIgnore */
686
+ type SetMemberPrivacySettingsApplicationErrors = {
687
+ code?: 'INVALID_REVISION';
688
+ description?: string;
689
+ data?: InvalidRevisionPayload;
690
+ } | {
691
+ code?: 'INVALID_SETTINGS';
692
+ description?: string;
693
+ data?: InvalidSettingsPayload;
694
+ };
58
695
 
59
696
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
60
697
  getUrl: (context: any) => string;
@@ -69,4 +706,4 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
69
706
  declare function getMemberPrivacySettings(): __PublicMethodMetaInfo<'GET', {}, GetMemberPrivacySettingsRequest$1, GetMemberPrivacySettingsRequest, GetMemberPrivacySettingsResponse$1, GetMemberPrivacySettingsResponse>;
70
707
  declare function setMemberPrivacySettings(): __PublicMethodMetaInfo<'POST', {}, SetMemberPrivacySettingsRequest$1, SetMemberPrivacySettingsRequest, SetMemberPrivacySettingsResponse$1, SetMemberPrivacySettingsResponse>;
71
708
 
72
- export { type __PublicMethodMetaInfo, getMemberPrivacySettings, setMemberPrivacySettings };
709
+ export { type ActionEvent as ActionEventOriginal, type Asset as AssetOriginal, type BulkGetMemberPrivacySettingsRequest as BulkGetMemberPrivacySettingsRequestOriginal, type BulkGetMemberPrivacySettingsResponse as BulkGetMemberPrivacySettingsResponseOriginal, Candidates as CandidatesOriginal, type CandidatesWithLiterals as CandidatesWithLiteralsOriginal, type DeleteContext as DeleteContextOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetMemberPrivacySettingsRequest as GetMemberPrivacySettingsRequestOriginal, type GetMemberPrivacySettingsResponse as GetMemberPrivacySettingsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidRevisionPayload as InvalidRevisionPayloadOriginal, type InvalidSettingsPayload as InvalidSettingsPayloadOriginal, type MemberPrivacySettings as MemberPrivacySettingsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, type RestoreInfo as RestoreInfoOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type SetMemberPrivacySettingsApplicationErrors as SetMemberPrivacySettingsApplicationErrorsOriginal, type SetMemberPrivacySettingsRequest as SetMemberPrivacySettingsRequestOriginal, type SetMemberPrivacySettingsResponse as SetMemberPrivacySettingsResponseOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SiteMemberInstanceMemberPrivacySettings as SiteMemberInstanceMemberPrivacySettingsOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, Visibility as VisibilityOriginal, type VisibilityWithLiterals as VisibilityWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getMemberPrivacySettings, setMemberPrivacySettings };