@wix/calendar 1.0.0

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.
@@ -0,0 +1,1557 @@
1
+ interface Schedule {
2
+ /**
3
+ * The schedule ID.
4
+ * @readonly
5
+ */
6
+ _id?: string | null;
7
+ /**
8
+ * Optional external ID. Cannot change.
9
+ *
10
+ * For instance, might be the ID of the Bookings Resource or Service.
11
+ */
12
+ externalId?: string | null;
13
+ /**
14
+ * The name of the schedule.
15
+ *
16
+ * For instance, might be the name of the Bookings Resource or Service.
17
+ */
18
+ name?: string | null;
19
+ /**
20
+ * The schedule status.
21
+ *
22
+ * The possible values are:
23
+ * - `"ACTIVE"` Schedule is active. Default value.
24
+ * - `"CANCELLED"` Schedule has been cancelled.
25
+ * @readonly
26
+ */
27
+ status?: Status;
28
+ /**
29
+ * The schedule time zone, formatted according to the IANA time zone format.
30
+ * Must be a regional time zone (Area/Location) or UTC.
31
+ *
32
+ * By default the time zone is derived from the Wix Business, and can be overridden by setting `businessTimeZoneEnabled` to false.
33
+ */
34
+ timeZone?: string | null;
35
+ /**
36
+ * Whether to use the time zone of the Wix Business.
37
+ * Default is true.
38
+ */
39
+ businessTimeZoneEnabled?: boolean | null;
40
+ /** Default title for the schedule's events. */
41
+ defaultTitle?: string | null;
42
+ /** Default location for the schedule's events. */
43
+ defaultLocation?: Location;
44
+ /**
45
+ * Default capacity for the schedule's events.
46
+ *
47
+ * The capacity of an event is the max number of participants that can participate in an event.
48
+ */
49
+ defaultCapacity?: number | null;
50
+ /** Default conferencing details for the schedule's events. */
51
+ defaultConferencingDetails?: ConferencingDetails;
52
+ /**
53
+ * Optional ID of the Wix app owning the schedule.
54
+ * Cannot change once set.
55
+ *
56
+ * For example, to create a schedule in the Wix Bookings App Calendar, provide `13d21c63-b5ec-5912-8397-c3a5ddb27a97`.
57
+ */
58
+ appId?: string | null;
59
+ /**
60
+ * List of granted permissions for this schedule.
61
+ *
62
+ * E.g, a Bookings Staff Member has full write access to its schedule and limited access to events it provides.
63
+ */
64
+ permissions?: Permission[];
65
+ /** Extensions enabling applications or users to save custom data related to the schedule. */
66
+ extendedFields?: ExtendedFields;
67
+ /**
68
+ * The schedule revision number, which incremented on updates.
69
+ *
70
+ * The current revision should be provided on updates to prevent conflicting changes.
71
+ * @readonly
72
+ */
73
+ revision?: string | null;
74
+ /**
75
+ * Date the schedule was created.
76
+ * @readonly
77
+ */
78
+ _createdDate?: Date;
79
+ /**
80
+ * Date the schedule was last updated.
81
+ * @readonly
82
+ */
83
+ _updatedDate?: Date;
84
+ }
85
+ declare enum Status {
86
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
87
+ /** Schedule is active. Default value. */
88
+ ACTIVE = "ACTIVE",
89
+ /** Schedule has been cancelled. */
90
+ CANCELLED = "CANCELLED"
91
+ }
92
+ interface Location {
93
+ /**
94
+ * The location ID. Optional.
95
+ * Currently only supported for locations of type `BUSINESS`, and used to reference the Wix Business Location.
96
+ */
97
+ _id?: string | null;
98
+ /**
99
+ * The location type.
100
+ * The possible values are:
101
+ * - `"BUSINESS"` event takes place at the business location.
102
+ * - `"CUSTOM"` event takes place at the custom location.
103
+ */
104
+ type?: LocationType;
105
+ /**
106
+ * The location name. Optional.
107
+ * Derived from the Wix Business Location if the location is of type `BUSINESS`.
108
+ */
109
+ name?: string | null;
110
+ /**
111
+ * The location address. Optional.
112
+ * Derived from the Wix Business Location if the location is of type `BUSINESS`.
113
+ */
114
+ address?: string | null;
115
+ }
116
+ declare enum LocationType {
117
+ UNKNOWN_TYPE = "UNKNOWN_TYPE",
118
+ /** The event takes place at the business location. */
119
+ BUSINESS = "BUSINESS",
120
+ /** The event takes place at the customer location. */
121
+ CUSTOMER = "CUSTOMER",
122
+ /** The event takes place at the custom location. */
123
+ CUSTOM = "CUSTOM"
124
+ }
125
+ interface ConferencingDetails {
126
+ /** World known conference type, such as Zoom. */
127
+ type?: Type;
128
+ /** URL used by the host to start the conference. */
129
+ hostUrl?: string | null;
130
+ /** URL used by a guest to join the conference. */
131
+ guestUrl?: string | null;
132
+ /** Optional conference password. */
133
+ password?: string | null;
134
+ /** Optional conference ID in an external system. */
135
+ externalId?: string | null;
136
+ }
137
+ declare enum Type {
138
+ UNKNOWN_TYPE = "UNKNOWN_TYPE",
139
+ ZOOM = "ZOOM",
140
+ CUSTOM = "CUSTOM"
141
+ }
142
+ interface Permission {
143
+ /** The identity granted the permission. */
144
+ identity?: CommonIdentificationData;
145
+ /**
146
+ * The permission role.
147
+ *
148
+ * The possible values are:
149
+ * - `"WRITER"` Role grants full write and read access.
150
+ * - `"COMMENTER"` Role grants full read access and permission to edit notes.
151
+ */
152
+ role?: Role;
153
+ }
154
+ interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
155
+ /** ID of a Wix user (site owner, contributor, etc.). */
156
+ wixUserId?: string;
157
+ }
158
+ /** @oneof */
159
+ interface CommonIdentificationDataIdOneOf {
160
+ /** ID of a Wix user (site owner, contributor, etc.). */
161
+ wixUserId?: string;
162
+ }
163
+ declare enum IdentityType {
164
+ UNKNOWN = "UNKNOWN",
165
+ WIX_USER = "WIX_USER"
166
+ }
167
+ declare enum Role {
168
+ UNKNOWN_ROLE = "UNKNOWN_ROLE",
169
+ /** Role grants full write and read access. */
170
+ WRITER = "WRITER",
171
+ /** Role grants full read access and permission to edit notes. */
172
+ COMMENTER = "COMMENTER"
173
+ }
174
+ interface ExtendedFields {
175
+ /**
176
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
177
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
178
+ *
179
+ * You can only access fields for which you have the appropriate permissions.
180
+ *
181
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
182
+ */
183
+ namespaces?: Record<string, Record<string, any>>;
184
+ }
185
+ interface GetScheduleRequest {
186
+ /** The ID of the schedule to retrieve. */
187
+ scheduleId: string | null;
188
+ /** List of additional fields to be included in the response. */
189
+ fields?: RequestedFields[];
190
+ }
191
+ declare enum RequestedFields {
192
+ UNKNOWN_REQUESTED_FIELDS = "UNKNOWN_REQUESTED_FIELDS",
193
+ /**
194
+ * Include fields containing personal information.
195
+ * Requires the `CALENDAR.SCHEDULE_READ_PI` additional permission.
196
+ */
197
+ PI_FIELDS = "PI_FIELDS",
198
+ /**
199
+ * Include fields containing personal information for schedules the current caller has access to.
200
+ * See `schedule.permissions` for more details.
201
+ */
202
+ OWN_PI_FIELDS = "OWN_PI_FIELDS"
203
+ }
204
+ interface GetScheduleResponse {
205
+ /** The schedule. */
206
+ schedule?: Schedule;
207
+ }
208
+ interface QuerySchedulesRequest {
209
+ /** Query containing filters and paging. */
210
+ query?: CursorQuery;
211
+ /** List of additional fields to be included in the response. */
212
+ fields?: RequestedFields[];
213
+ }
214
+ /** TODO Diverge */
215
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
216
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
217
+ cursorPaging?: CursorPaging;
218
+ /**
219
+ * Filter object.
220
+ * See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
221
+ * for more information.
222
+ *
223
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
224
+ *
225
+ * For a detailed list of supported filters, see Supported Filters.
226
+ */
227
+ filter?: Record<string, any> | null;
228
+ }
229
+ /** @oneof */
230
+ interface CursorQueryPagingMethodOneOf {
231
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
232
+ cursorPaging?: CursorPaging;
233
+ }
234
+ /** TODO Diverge */
235
+ interface CursorPaging {
236
+ /**
237
+ * Number of events to return.
238
+ * Defaults to `50`. Maximum `1000`.
239
+ */
240
+ limit?: number | null;
241
+ /**
242
+ * Pointer to the next or previous page in the list of results.
243
+ *
244
+ * You can get the relevant cursor token
245
+ * from the `pagingMetadata` object in the previous call's response.
246
+ * Not relevant for the first request.
247
+ */
248
+ cursor?: string | null;
249
+ }
250
+ interface QuerySchedulesResponse {
251
+ /** The schedules matching the provided query. */
252
+ schedules?: Schedule[];
253
+ /** Paging metadata. */
254
+ pagingMetadata?: CursorPagingMetadata;
255
+ }
256
+ /** TODO Diverge */
257
+ interface CursorPagingMetadata {
258
+ /** Number of items returned in the response. */
259
+ count?: number | null;
260
+ /** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
261
+ cursors?: Cursors;
262
+ /**
263
+ * Indicates if there are more results after the current page.
264
+ * If `true`, another page of results can be retrieved.
265
+ * If `false`, this is the last page.
266
+ */
267
+ hasNext?: boolean | null;
268
+ }
269
+ interface Cursors {
270
+ /** Cursor pointing to next page in the list of results. */
271
+ next?: string | null;
272
+ /** Cursor pointing to previous page in the list of results. */
273
+ prev?: string | null;
274
+ }
275
+ interface CreateScheduleRequest {
276
+ /** The schedule to create. */
277
+ schedule: Schedule;
278
+ /** Optional Idempotency key. */
279
+ idempotencyKey?: string | null;
280
+ }
281
+ interface CreateScheduleResponse {
282
+ /** The created schedule. */
283
+ schedule?: Schedule;
284
+ }
285
+ interface UpdateScheduleRequest {
286
+ /** The schedule to update. */
287
+ schedule: Schedule;
288
+ /** Whether to notify participants regarding the changes. */
289
+ participantNotification?: ParticipantNotification;
290
+ }
291
+ interface ParticipantNotification {
292
+ /**
293
+ * Whether to notify the participant/s about changes made to the schedule or event.
294
+ * Default is false.
295
+ */
296
+ notifyParticipants?: boolean | null;
297
+ /** Optional custom message to send. */
298
+ message?: string | null;
299
+ }
300
+ interface UpdateScheduleResponse {
301
+ /** The updated schedule. */
302
+ schedule?: Schedule;
303
+ }
304
+ /** `PRIVATE` until we'll have standard events metadata from Infra. */
305
+ interface ScheduleUpdatedWithMetadata {
306
+ /** The updated schedule. */
307
+ schedule?: Schedule;
308
+ /** Whether to notify participants regarding the changes. */
309
+ participantNotification?: ParticipantNotification;
310
+ }
311
+ interface CloneScheduleRequest {
312
+ /** The ID of the schedule to clone. */
313
+ scheduleId: string | null;
314
+ /** Optional values to override. */
315
+ schedule?: Schedule;
316
+ }
317
+ interface CloneScheduleResponse {
318
+ /** The new cloned schedule. */
319
+ schedule?: Schedule;
320
+ }
321
+ interface ScheduleCloned {
322
+ /** The new cloned schedule. */
323
+ schedule?: Schedule;
324
+ /** The clone trigger. */
325
+ trigger?: Trigger;
326
+ /** The original Meta Site ID if different. */
327
+ originalMetaSiteId?: string | null;
328
+ /** The original schedule ID if different. */
329
+ originalScheduleId?: string | null;
330
+ }
331
+ declare enum Trigger {
332
+ UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
333
+ /** Schedule cloned using the `CloneSchedule` API. */
334
+ SCHEDULE_CLONED = "SCHEDULE_CLONED",
335
+ /** Site duplicated from the same account. */
336
+ SITE_DUPLICATED_FROM_SAME_ACCOUNT = "SITE_DUPLICATED_FROM_SAME_ACCOUNT",
337
+ /** Site duplicated from a different account. */
338
+ SITE_DUPLICATED_FROM_DIFFERENT_ACCOUNT = "SITE_DUPLICATED_FROM_DIFFERENT_ACCOUNT",
339
+ /** Site created from template. */
340
+ SITE_CREATED_FROM_TEMPLATE = "SITE_CREATED_FROM_TEMPLATE",
341
+ /** Other. */
342
+ OTHER = "OTHER"
343
+ }
344
+ interface CancelScheduleRequest {
345
+ /** The ID of the schedule to cancel. */
346
+ scheduleId: string | null;
347
+ /**
348
+ * Whether to preserve future events with participants.
349
+ * Default is false.
350
+ */
351
+ preserveFutureEventsWithParticipants?: boolean | null;
352
+ /** Whether to notify participants regarding the changes. */
353
+ participantNotification?: ParticipantNotification;
354
+ }
355
+ interface CancelScheduleResponse {
356
+ /** The cancelled schedule. */
357
+ schedule?: Schedule;
358
+ }
359
+ interface ScheduleCancelled {
360
+ /** The cancelled schedule. */
361
+ schedule?: Schedule;
362
+ /** Whether to preserve future events with participants. */
363
+ preserveFutureEventsWithParticipants?: boolean | null;
364
+ }
365
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
366
+ /** Emitted on a meta site creation. */
367
+ siteCreated?: SiteCreated;
368
+ /** Emitted on a meta site transfer completion. */
369
+ siteTransferred?: SiteTransferred;
370
+ /** Emitted on a meta site deletion. */
371
+ siteDeleted?: SiteDeleted;
372
+ /** Emitted on a meta site restoration. */
373
+ siteUndeleted?: SiteUndeleted;
374
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
375
+ sitePublished?: SitePublished;
376
+ /** Emitted on a meta site unpublish. */
377
+ siteUnpublished?: SiteUnpublished;
378
+ /** Emitted when meta site is marked as template. */
379
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
380
+ /** Emitted when meta site is marked as a WixSite. */
381
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
382
+ /** Emitted when an application is provisioned (installed). */
383
+ serviceProvisioned?: ServiceProvisioned;
384
+ /** Emitted when an application is removed (uninstalled). */
385
+ serviceRemoved?: ServiceRemoved;
386
+ /** Emitted when meta site name (URL slug) is changed. */
387
+ siteRenamedPayload?: SiteRenamed;
388
+ /** Emitted when meta site was permanently deleted. */
389
+ hardDeleted?: SiteHardDeleted;
390
+ /** Emitted on a namespace change. */
391
+ namespaceChanged?: NamespaceChanged;
392
+ /** Emitted when Studio is attached. */
393
+ studioAssigned?: StudioAssigned;
394
+ /** Emitted when Studio is detached. */
395
+ studioUnassigned?: StudioUnassigned;
396
+ /** A meta site id. */
397
+ metaSiteId?: string;
398
+ /** A meta site version. Monotonically increasing. */
399
+ version?: string;
400
+ /** A timestamp of the event. */
401
+ timestamp?: string;
402
+ /** A list of "assets" (applications). The same as MetaSiteContext. */
403
+ assets?: Asset[];
404
+ }
405
+ /** @oneof */
406
+ interface MetaSiteSpecialEventPayloadOneOf {
407
+ /** Emitted on a meta site creation. */
408
+ siteCreated?: SiteCreated;
409
+ /** Emitted on a meta site transfer completion. */
410
+ siteTransferred?: SiteTransferred;
411
+ /** Emitted on a meta site deletion. */
412
+ siteDeleted?: SiteDeleted;
413
+ /** Emitted on a meta site restoration. */
414
+ siteUndeleted?: SiteUndeleted;
415
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
416
+ sitePublished?: SitePublished;
417
+ /** Emitted on a meta site unpublish. */
418
+ siteUnpublished?: SiteUnpublished;
419
+ /** Emitted when meta site is marked as template. */
420
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
421
+ /** Emitted when meta site is marked as a WixSite. */
422
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
423
+ /** Emitted when an application is provisioned (installed). */
424
+ serviceProvisioned?: ServiceProvisioned;
425
+ /** Emitted when an application is removed (uninstalled). */
426
+ serviceRemoved?: ServiceRemoved;
427
+ /** Emitted when meta site name (URL slug) is changed. */
428
+ siteRenamedPayload?: SiteRenamed;
429
+ /** Emitted when meta site was permanently deleted. */
430
+ hardDeleted?: SiteHardDeleted;
431
+ /** Emitted on a namespace change. */
432
+ namespaceChanged?: NamespaceChanged;
433
+ /** Emitted when Studio is attached. */
434
+ studioAssigned?: StudioAssigned;
435
+ /** Emitted when Studio is detached. */
436
+ studioUnassigned?: StudioUnassigned;
437
+ }
438
+ interface Asset {
439
+ /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
440
+ appDefId?: string;
441
+ /** An instance id. For legacy reasons may be UUID or a string. */
442
+ instanceId?: string;
443
+ /** An application state. */
444
+ state?: State;
445
+ }
446
+ declare enum State {
447
+ UNKNOWN = "UNKNOWN",
448
+ ENABLED = "ENABLED",
449
+ DISABLED = "DISABLED",
450
+ PENDING = "PENDING",
451
+ DEMO = "DEMO"
452
+ }
453
+ interface SiteCreated {
454
+ /** A template identifier (empty if not created from a template). */
455
+ originTemplateId?: string;
456
+ /** An account id of the owner. */
457
+ ownerId?: string;
458
+ /** A context in which meta site was created. */
459
+ context?: SiteCreatedContext;
460
+ /**
461
+ * A meta site id from which this site was created.
462
+ *
463
+ * In case of a creation from a template it's a template id.
464
+ * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
465
+ */
466
+ originMetaSiteId?: string | null;
467
+ /** A meta site name (URL slug). */
468
+ siteName?: string;
469
+ /** A namespace. */
470
+ namespace?: Namespace;
471
+ }
472
+ declare enum SiteCreatedContext {
473
+ /** A valid option, we don't expose all reasons why site might be created. */
474
+ OTHER = "OTHER",
475
+ /** A meta site was created from template. */
476
+ FROM_TEMPLATE = "FROM_TEMPLATE",
477
+ /** A meta site was created by copying of the transfferred meta site. */
478
+ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
479
+ /** A copy of existing meta site. */
480
+ DUPLICATE = "DUPLICATE",
481
+ /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
482
+ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
483
+ /** deprecated A meta site was created for Flash editor. */
484
+ FLASH = "FLASH"
485
+ }
486
+ declare enum Namespace {
487
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
488
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
489
+ WIX = "WIX",
490
+ /** 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. */
491
+ SHOUT_OUT = "SHOUT_OUT",
492
+ /** 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. */
493
+ ALBUMS = "ALBUMS",
494
+ /** 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. */
495
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
496
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
497
+ HOTELS = "HOTELS",
498
+ /** 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. */
499
+ CLUBS = "CLUBS",
500
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
501
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
502
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
503
+ DEV_SITE = "DEV_SITE",
504
+ /** 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. */
505
+ LOGOS = "LOGOS",
506
+ /** 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. */
507
+ VIDEO_MAKER = "VIDEO_MAKER",
508
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
509
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
510
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
511
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
512
+ /**
513
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
514
+ *
515
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
516
+ */
517
+ HTML_DRAFT = "HTML_DRAFT",
518
+ /**
519
+ * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
520
+ * Will be accessible from Site List and will not have a website app.
521
+ * Once the user attaches a site, the site will become a regular wixsite.
522
+ */
523
+ SITELESS_BUSINESS = "SITELESS_BUSINESS",
524
+ /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
525
+ CREATOR_ECONOMY = "CREATOR_ECONOMY",
526
+ /** It is to be used in the Business First efforts. */
527
+ DASHBOARD_FIRST = "DASHBOARD_FIRST",
528
+ /** Bookings business flow with no site. */
529
+ ANYWHERE = "ANYWHERE",
530
+ /** Namespace for Headless Backoffice with no editor */
531
+ HEADLESS = "HEADLESS",
532
+ /**
533
+ * Namespace for master site that will exist in parent account that will be referenced by subaccounts
534
+ * The site will be used for account level CSM feature for enterprise
535
+ */
536
+ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
537
+ /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
538
+ RISE = "RISE",
539
+ /**
540
+ * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
541
+ * There's a blank site behind the scene but it's blank).
542
+ * The Mobile company will be the owner of this namespace.
543
+ */
544
+ BRANDED_FIRST = "BRANDED_FIRST"
545
+ }
546
+ /** Site transferred to another user. */
547
+ interface SiteTransferred {
548
+ /** A previous owner id (user that transfers meta site). */
549
+ oldOwnerId?: string;
550
+ /** A new owner id (user that accepts meta site). */
551
+ newOwnerId?: string;
552
+ }
553
+ /** Soft deletion of the meta site. Could be restored. */
554
+ interface SiteDeleted {
555
+ /** A deletion context. */
556
+ deleteContext?: DeleteContext;
557
+ }
558
+ interface DeleteContext {
559
+ /** When the meta site was deleted. */
560
+ dateDeleted?: Date;
561
+ /** A status. */
562
+ deleteStatus?: DeleteStatus;
563
+ /** A reason (flow). */
564
+ deleteOrigin?: string;
565
+ /** A service that deleted it. */
566
+ initiatorId?: string | null;
567
+ }
568
+ declare enum DeleteStatus {
569
+ UNKNOWN = "UNKNOWN",
570
+ TRASH = "TRASH",
571
+ DELETED = "DELETED",
572
+ PENDING_PURGE = "PENDING_PURGE"
573
+ }
574
+ /** Restoration of the meta site. */
575
+ interface SiteUndeleted {
576
+ }
577
+ /** First publish of a meta site. Or subsequent publish after unpublish. */
578
+ interface SitePublished {
579
+ }
580
+ interface SiteUnpublished {
581
+ /** A list of URLs previously associated with the meta site. */
582
+ urls?: string[];
583
+ }
584
+ interface SiteMarkedAsTemplate {
585
+ }
586
+ interface SiteMarkedAsWixSite {
587
+ }
588
+ interface ServiceProvisioned {
589
+ /** Either UUID or EmbeddedServiceType. */
590
+ appDefId?: string;
591
+ /** Not only UUID. Something here could be something weird. */
592
+ instanceId?: string;
593
+ /** An instance id from which this instance is originated. */
594
+ originInstanceId?: string;
595
+ /** A version. */
596
+ version?: string | null;
597
+ }
598
+ interface ServiceRemoved {
599
+ /** Either UUID or EmbeddedServiceType. */
600
+ appDefId?: string;
601
+ /** Not only UUID. Something here could be something weird. */
602
+ instanceId?: string;
603
+ /** A version. */
604
+ version?: string | null;
605
+ }
606
+ /** Rename of the site. Meaning, free public url has been changed as well. */
607
+ interface SiteRenamed {
608
+ /** A new meta site name (URL slug). */
609
+ newSiteName?: string;
610
+ /** A previous meta site name (URL slug). */
611
+ oldSiteName?: string;
612
+ }
613
+ /**
614
+ * Hard deletion of the meta site.
615
+ *
616
+ * Could not be restored. Therefore it's desirable to cleanup data.
617
+ */
618
+ interface SiteHardDeleted {
619
+ /** A deletion context. */
620
+ deleteContext?: DeleteContext;
621
+ }
622
+ interface NamespaceChanged {
623
+ /** A previous namespace. */
624
+ oldNamespace?: Namespace;
625
+ /** A new namespace. */
626
+ newNamespace?: Namespace;
627
+ }
628
+ /** Assigned Studio editor */
629
+ interface StudioAssigned {
630
+ }
631
+ /** Unassigned Studio editor */
632
+ interface StudioUnassigned {
633
+ }
634
+ interface Empty {
635
+ }
636
+ /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
637
+ interface SitePropertiesNotification {
638
+ /** The site ID for which this update notification applies. */
639
+ metasiteId?: string;
640
+ /** The actual update event. */
641
+ event?: SitePropertiesEvent;
642
+ /** A convenience set of mappings from the MetaSite ID to its constituent services. */
643
+ translations?: Translation[];
644
+ /** Context of the notification */
645
+ changeContext?: ChangeContext;
646
+ }
647
+ /** The actual update event for a particular notification. */
648
+ interface SitePropertiesEvent {
649
+ /** Version of the site's properties represented by this update. */
650
+ version?: number;
651
+ /** Updated properties. */
652
+ properties?: Properties;
653
+ }
654
+ interface Properties {
655
+ /** Site categories. */
656
+ categories?: Categories;
657
+ /** Site locale. */
658
+ locale?: Locale;
659
+ /**
660
+ * Site language.
661
+ *
662
+ * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
663
+ */
664
+ language?: string | null;
665
+ /**
666
+ * Site currency format used to bill customers.
667
+ *
668
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
669
+ */
670
+ paymentCurrency?: string | null;
671
+ /** Timezone in `America/New_York` format. */
672
+ timeZone?: string | null;
673
+ /** Email address. */
674
+ email?: string | null;
675
+ /** Phone number. */
676
+ phone?: string | null;
677
+ /** Fax number. */
678
+ fax?: string | null;
679
+ /** Address. */
680
+ address?: Address;
681
+ /** Site display name. */
682
+ siteDisplayName?: string | null;
683
+ /** Business name. */
684
+ businessName?: string | null;
685
+ /** Path to the site's logo in Wix Media (without Wix Media base URL). */
686
+ logo?: string | null;
687
+ /** Site description. */
688
+ description?: string | null;
689
+ /**
690
+ * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
691
+ *
692
+ * __Note:__ Not supported by Wix Bookings.
693
+ */
694
+ businessSchedule?: BusinessSchedule;
695
+ /** Supported languages of a site and the primary language. */
696
+ multilingual?: Multilingual;
697
+ /** Cookie policy the site owner defined for their site (before the users interacts with/limits it). */
698
+ consentPolicy?: ConsentPolicy;
699
+ /**
700
+ * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
701
+ *
702
+ * Site business type.
703
+ */
704
+ businessConfig?: string | null;
705
+ /** External site url that uses Wix as its headless business solution */
706
+ externalSiteUrl?: string | null;
707
+ /** Track clicks analytics */
708
+ trackClicksAnalytics?: boolean;
709
+ }
710
+ interface Categories {
711
+ /** Primary site category. */
712
+ primary?: string;
713
+ /** Secondary site category. */
714
+ secondary?: string[];
715
+ /** Business Term Id */
716
+ businessTermId?: string | null;
717
+ }
718
+ interface Locale {
719
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
720
+ languageCode?: string;
721
+ /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
722
+ country?: string;
723
+ }
724
+ interface Address {
725
+ /** Street name. */
726
+ street?: string;
727
+ /** City name. */
728
+ city?: string;
729
+ /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
730
+ country?: string;
731
+ /** State. */
732
+ state?: string;
733
+ /** Zip or postal code. */
734
+ zip?: string;
735
+ /** Extra information to be displayed in the address. */
736
+ hint?: AddressHint;
737
+ /** Whether this address represents a physical location. */
738
+ isPhysical?: boolean;
739
+ /** Google-formatted version of this address. */
740
+ googleFormattedAddress?: string;
741
+ /** Street number. */
742
+ streetNumber?: string;
743
+ /** Apartment number. */
744
+ apartmentNumber?: string;
745
+ /** Geographic coordinates of location. */
746
+ coordinates?: GeoCoordinates;
747
+ }
748
+ /**
749
+ * Extra information on displayed addresses.
750
+ * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
751
+ * Free text. In addition the user can state where he wants that additional description - before, after, or instead
752
+ * the address string.
753
+ */
754
+ interface AddressHint {
755
+ /** Extra text displayed next to, or instead of, the actual address. */
756
+ text?: string;
757
+ /** Where the extra text should be displayed. */
758
+ placement?: PlacementType;
759
+ }
760
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
761
+ declare enum PlacementType {
762
+ BEFORE = "BEFORE",
763
+ AFTER = "AFTER",
764
+ REPLACE = "REPLACE"
765
+ }
766
+ /** Geocoordinates for a particular address. */
767
+ interface GeoCoordinates {
768
+ /** Latitude of the location. Must be between -90 and 90. */
769
+ latitude?: number;
770
+ /** Longitude of the location. Must be between -180 and 180. */
771
+ longitude?: number;
772
+ }
773
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
774
+ interface BusinessSchedule {
775
+ /** Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods. */
776
+ periods?: TimePeriod[];
777
+ /** Exceptions to the business's regular hours. The business can be open or closed during the exception. */
778
+ specialHourPeriod?: SpecialHourPeriod[];
779
+ }
780
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
781
+ interface TimePeriod {
782
+ /** Day of the week the period starts on. */
783
+ openDay?: DayOfWeek;
784
+ /**
785
+ * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
786
+ * midnight at the end of the specified day.
787
+ */
788
+ openTime?: string;
789
+ /** Day of the week the period ends on. */
790
+ closeDay?: DayOfWeek;
791
+ /**
792
+ * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
793
+ * midnight at the end of the specified day.
794
+ *
795
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
796
+ */
797
+ closeTime?: string;
798
+ }
799
+ /** Enumerates the days of the week. */
800
+ declare enum DayOfWeek {
801
+ MONDAY = "MONDAY",
802
+ TUESDAY = "TUESDAY",
803
+ WEDNESDAY = "WEDNESDAY",
804
+ THURSDAY = "THURSDAY",
805
+ FRIDAY = "FRIDAY",
806
+ SATURDAY = "SATURDAY",
807
+ SUNDAY = "SUNDAY"
808
+ }
809
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
810
+ interface SpecialHourPeriod {
811
+ /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
812
+ startDate?: string;
813
+ /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
814
+ endDate?: string;
815
+ /**
816
+ * Whether the business is closed (or the service is not available) during the exception.
817
+ *
818
+ * Default: `true`.
819
+ */
820
+ isClosed?: boolean;
821
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
822
+ comment?: string;
823
+ }
824
+ interface Multilingual {
825
+ /** Supported languages list. */
826
+ supportedLanguages?: SupportedLanguage[];
827
+ /** Whether to redirect to user language. */
828
+ autoRedirect?: boolean;
829
+ }
830
+ interface SupportedLanguage {
831
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
832
+ languageCode?: string;
833
+ /** Locale. */
834
+ locale?: Locale;
835
+ /** Whether the supported language is the primary language for the site. */
836
+ isPrimary?: boolean;
837
+ /** Language icon. */
838
+ countryCode?: string;
839
+ /** How the language will be resolved. For internal use. */
840
+ resolutionMethod?: ResolutionMethod;
841
+ }
842
+ declare enum ResolutionMethod {
843
+ QUERY_PARAM = "QUERY_PARAM",
844
+ SUBDOMAIN = "SUBDOMAIN",
845
+ SUBDIRECTORY = "SUBDIRECTORY"
846
+ }
847
+ interface ConsentPolicy {
848
+ /** Whether the site uses cookies that are essential to site operation. */
849
+ essential?: boolean | null;
850
+ /** Whether the site uses cookies that affect site performance and other functional measurements. */
851
+ functional?: boolean | null;
852
+ /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
853
+ analytics?: boolean | null;
854
+ /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
855
+ advertising?: boolean | null;
856
+ /** CCPA compliance flag. */
857
+ dataToThirdParty?: boolean | null;
858
+ }
859
+ /** A single mapping from the MetaSite ID to a particular service. */
860
+ interface Translation {
861
+ /** The service type. */
862
+ serviceType?: string;
863
+ /** The application definition ID; this only applies to services of type ThirdPartyApps. */
864
+ appDefId?: string;
865
+ /** The instance ID of the service. */
866
+ instanceId?: string;
867
+ }
868
+ interface ChangeContext extends ChangeContextPayloadOneOf {
869
+ /** Properties were updated. */
870
+ propertiesChange?: PropertiesChange;
871
+ /** Default properties were created on site creation. */
872
+ siteCreated?: V4SiteCreated;
873
+ /** Properties were cloned on site cloning. */
874
+ siteCloned?: SiteCloned;
875
+ }
876
+ /** @oneof */
877
+ interface ChangeContextPayloadOneOf {
878
+ /** Properties were updated. */
879
+ propertiesChange?: PropertiesChange;
880
+ /** Default properties were created on site creation. */
881
+ siteCreated?: V4SiteCreated;
882
+ /** Properties were cloned on site cloning. */
883
+ siteCloned?: SiteCloned;
884
+ }
885
+ interface PropertiesChange {
886
+ }
887
+ interface V4SiteCreated {
888
+ /** Origin template site id. */
889
+ originTemplateId?: string | null;
890
+ }
891
+ interface SiteCloned {
892
+ /** Origin site id. */
893
+ originMetaSiteId?: string;
894
+ }
895
+ interface DomainEvent extends DomainEventBodyOneOf {
896
+ createdEvent?: EntityCreatedEvent;
897
+ updatedEvent?: EntityUpdatedEvent;
898
+ deletedEvent?: EntityDeletedEvent;
899
+ actionEvent?: ActionEvent;
900
+ /**
901
+ * Unique event ID.
902
+ * Allows clients to ignore duplicate webhooks.
903
+ */
904
+ _id?: string;
905
+ /**
906
+ * Assumes actions are also always typed to an entity_type
907
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
908
+ */
909
+ entityFqdn?: string;
910
+ /**
911
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
912
+ * This is although the created/updated/deleted notion is duplication of the oneof types
913
+ * Example: created/updated/deleted/started/completed/email_opened
914
+ */
915
+ slug?: string;
916
+ /** ID of the entity associated with the event. */
917
+ entityId?: string;
918
+ /** Event timestamp. */
919
+ eventTime?: Date;
920
+ /**
921
+ * Whether the event was triggered as a result of a privacy regulation application
922
+ * (for example, GDPR).
923
+ */
924
+ triggeredByAnonymizeRequest?: boolean | null;
925
+ /** If present, indicates the action that triggered the event. */
926
+ originatedFrom?: string | null;
927
+ /**
928
+ * A sequence number defining the order of updates to the underlying entity.
929
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
930
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
931
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
932
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
933
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
934
+ */
935
+ entityEventSequence?: string | null;
936
+ }
937
+ /** @oneof */
938
+ interface DomainEventBodyOneOf {
939
+ createdEvent?: EntityCreatedEvent;
940
+ updatedEvent?: EntityUpdatedEvent;
941
+ deletedEvent?: EntityDeletedEvent;
942
+ actionEvent?: ActionEvent;
943
+ }
944
+ interface EntityCreatedEvent {
945
+ entity?: string;
946
+ }
947
+ interface RestoreInfo {
948
+ deletedDate?: Date;
949
+ }
950
+ interface EntityUpdatedEvent {
951
+ /**
952
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
953
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
954
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
955
+ */
956
+ currentEntity?: string;
957
+ }
958
+ interface EntityDeletedEvent {
959
+ /** Entity that was deleted */
960
+ deletedEntity?: string | null;
961
+ }
962
+ interface ActionEvent {
963
+ body?: string;
964
+ }
965
+ interface MessageEnvelope {
966
+ /** App instance ID. */
967
+ instanceId?: string | null;
968
+ /** Event type. */
969
+ eventType?: string;
970
+ /** The identification type and identity data. */
971
+ identity?: IdentificationData;
972
+ /** Stringify payload. */
973
+ data?: string;
974
+ }
975
+ interface IdentificationData extends IdentificationDataIdOneOf {
976
+ /** ID of a site visitor that has not logged in to the site. */
977
+ anonymousVisitorId?: string;
978
+ /** ID of a site visitor that has logged in to the site. */
979
+ memberId?: string;
980
+ /** ID of a Wix user (site owner, contributor, etc.). */
981
+ wixUserId?: string;
982
+ /** ID of an app. */
983
+ appId?: string;
984
+ /** @readonly */
985
+ identityType?: WebhookIdentityType;
986
+ }
987
+ /** @oneof */
988
+ interface IdentificationDataIdOneOf {
989
+ /** ID of a site visitor that has not logged in to the site. */
990
+ anonymousVisitorId?: string;
991
+ /** ID of a site visitor that has logged in to the site. */
992
+ memberId?: string;
993
+ /** ID of a Wix user (site owner, contributor, etc.). */
994
+ wixUserId?: string;
995
+ /** ID of an app. */
996
+ appId?: string;
997
+ }
998
+ declare enum WebhookIdentityType {
999
+ UNKNOWN = "UNKNOWN",
1000
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1001
+ MEMBER = "MEMBER",
1002
+ WIX_USER = "WIX_USER",
1003
+ APP = "APP"
1004
+ }
1005
+ interface GetScheduleResponseNonNullableFields {
1006
+ schedule?: {
1007
+ status: Status;
1008
+ defaultLocation?: {
1009
+ type: LocationType;
1010
+ };
1011
+ defaultConferencingDetails?: {
1012
+ type: Type;
1013
+ };
1014
+ permissions: {
1015
+ identity?: {
1016
+ wixUserId: string;
1017
+ };
1018
+ role: Role;
1019
+ }[];
1020
+ };
1021
+ }
1022
+ interface QuerySchedulesResponseNonNullableFields {
1023
+ schedules: {
1024
+ status: Status;
1025
+ defaultLocation?: {
1026
+ type: LocationType;
1027
+ };
1028
+ defaultConferencingDetails?: {
1029
+ type: Type;
1030
+ };
1031
+ permissions: {
1032
+ identity?: {
1033
+ wixUserId: string;
1034
+ };
1035
+ role: Role;
1036
+ }[];
1037
+ }[];
1038
+ }
1039
+ interface CreateScheduleResponseNonNullableFields {
1040
+ schedule?: {
1041
+ status: Status;
1042
+ defaultLocation?: {
1043
+ type: LocationType;
1044
+ };
1045
+ defaultConferencingDetails?: {
1046
+ type: Type;
1047
+ };
1048
+ permissions: {
1049
+ identity?: {
1050
+ wixUserId: string;
1051
+ };
1052
+ role: Role;
1053
+ }[];
1054
+ };
1055
+ }
1056
+ interface UpdateScheduleResponseNonNullableFields {
1057
+ schedule?: {
1058
+ status: Status;
1059
+ defaultLocation?: {
1060
+ type: LocationType;
1061
+ };
1062
+ defaultConferencingDetails?: {
1063
+ type: Type;
1064
+ };
1065
+ permissions: {
1066
+ identity?: {
1067
+ wixUserId: string;
1068
+ };
1069
+ role: Role;
1070
+ }[];
1071
+ };
1072
+ }
1073
+ interface CloneScheduleResponseNonNullableFields {
1074
+ schedule?: {
1075
+ status: Status;
1076
+ defaultLocation?: {
1077
+ type: LocationType;
1078
+ };
1079
+ defaultConferencingDetails?: {
1080
+ type: Type;
1081
+ };
1082
+ permissions: {
1083
+ identity?: {
1084
+ wixUserId: string;
1085
+ };
1086
+ role: Role;
1087
+ }[];
1088
+ };
1089
+ }
1090
+ interface CancelScheduleResponseNonNullableFields {
1091
+ schedule?: {
1092
+ status: Status;
1093
+ defaultLocation?: {
1094
+ type: LocationType;
1095
+ };
1096
+ defaultConferencingDetails?: {
1097
+ type: Type;
1098
+ };
1099
+ permissions: {
1100
+ identity?: {
1101
+ wixUserId: string;
1102
+ };
1103
+ role: Role;
1104
+ }[];
1105
+ };
1106
+ }
1107
+ interface BaseEventMetadata {
1108
+ /** App instance ID. */
1109
+ instanceId?: string | null;
1110
+ /** Event type. */
1111
+ eventType?: string;
1112
+ /** The identification type and identity data. */
1113
+ identity?: IdentificationData;
1114
+ }
1115
+ interface EventMetadata extends BaseEventMetadata {
1116
+ /**
1117
+ * Unique event ID.
1118
+ * Allows clients to ignore duplicate webhooks.
1119
+ */
1120
+ _id?: string;
1121
+ /**
1122
+ * Assumes actions are also always typed to an entity_type
1123
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1124
+ */
1125
+ entityFqdn?: string;
1126
+ /**
1127
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1128
+ * This is although the created/updated/deleted notion is duplication of the oneof types
1129
+ * Example: created/updated/deleted/started/completed/email_opened
1130
+ */
1131
+ slug?: string;
1132
+ /** ID of the entity associated with the event. */
1133
+ entityId?: string;
1134
+ /** Event timestamp. */
1135
+ eventTime?: Date;
1136
+ /**
1137
+ * Whether the event was triggered as a result of a privacy regulation application
1138
+ * (for example, GDPR).
1139
+ */
1140
+ triggeredByAnonymizeRequest?: boolean | null;
1141
+ /** If present, indicates the action that triggered the event. */
1142
+ originatedFrom?: string | null;
1143
+ /**
1144
+ * A sequence number defining the order of updates to the underlying entity.
1145
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
1146
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1147
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1148
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
1149
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1150
+ */
1151
+ entityEventSequence?: string | null;
1152
+ }
1153
+ interface ScheduleCreatedEnvelope {
1154
+ entity: Schedule;
1155
+ metadata: EventMetadata;
1156
+ }
1157
+ interface ScheduleUpdatedEnvelope {
1158
+ entity: Schedule;
1159
+ metadata: EventMetadata;
1160
+ }
1161
+ interface ScheduleClonedEnvelope {
1162
+ data: ScheduleCloned;
1163
+ metadata: EventMetadata;
1164
+ }
1165
+ interface ScheduleCancelledEnvelope {
1166
+ data: ScheduleCancelled;
1167
+ metadata: EventMetadata;
1168
+ }
1169
+ interface GetScheduleOptions {
1170
+ /** List of additional fields to be included in the response. */
1171
+ fields?: RequestedFields[];
1172
+ }
1173
+ interface QuerySchedulesOptions {
1174
+ /** List of additional fields to be included in the response. */
1175
+ fields?: RequestedFields[] | undefined;
1176
+ }
1177
+ interface QueryCursorResult {
1178
+ cursors: Cursors;
1179
+ hasNext: () => boolean;
1180
+ hasPrev: () => boolean;
1181
+ length: number;
1182
+ pageSize: number;
1183
+ }
1184
+ interface SchedulesQueryResult extends QueryCursorResult {
1185
+ items: Schedule[];
1186
+ query: SchedulesQueryBuilder;
1187
+ next: () => Promise<SchedulesQueryResult>;
1188
+ prev: () => Promise<SchedulesQueryResult>;
1189
+ }
1190
+ interface SchedulesQueryBuilder {
1191
+ /** @param propertyName - Property whose value is compared with `value`.
1192
+ * @param value - Value to compare against.
1193
+ * @documentationMaturity preview
1194
+ */
1195
+ eq: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
1196
+ /** @documentationMaturity preview */
1197
+ in: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
1198
+ /** @documentationMaturity preview */
1199
+ exists: (propertyName: 'defaultLocation' | 'defaultConferencingDetails', value: boolean) => SchedulesQueryBuilder;
1200
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1201
+ * @documentationMaturity preview
1202
+ */
1203
+ limit: (limit: number) => SchedulesQueryBuilder;
1204
+ /** @param cursor - A pointer to specific record
1205
+ * @documentationMaturity preview
1206
+ */
1207
+ skipTo: (cursor: string) => SchedulesQueryBuilder;
1208
+ /** @documentationMaturity preview */
1209
+ find: () => Promise<SchedulesQueryResult>;
1210
+ }
1211
+ interface CreateScheduleOptions {
1212
+ /** Optional Idempotency key. */
1213
+ idempotencyKey?: string | null;
1214
+ }
1215
+ interface UpdateSchedule {
1216
+ /**
1217
+ * The schedule ID.
1218
+ * @readonly
1219
+ */
1220
+ _id?: string | null;
1221
+ /**
1222
+ * Optional external ID. Cannot change.
1223
+ *
1224
+ * For instance, might be the ID of the Bookings Resource or Service.
1225
+ */
1226
+ externalId?: string | null;
1227
+ /**
1228
+ * The name of the schedule.
1229
+ *
1230
+ * For instance, might be the name of the Bookings Resource or Service.
1231
+ */
1232
+ name?: string | null;
1233
+ /**
1234
+ * The schedule status.
1235
+ *
1236
+ * The possible values are:
1237
+ * - `"ACTIVE"` Schedule is active. Default value.
1238
+ * - `"CANCELLED"` Schedule has been cancelled.
1239
+ * @readonly
1240
+ */
1241
+ status?: Status;
1242
+ /**
1243
+ * The schedule time zone, formatted according to the IANA time zone format.
1244
+ * Must be a regional time zone (Area/Location) or UTC.
1245
+ *
1246
+ * By default the time zone is derived from the Wix Business, and can be overridden by setting `businessTimeZoneEnabled` to false.
1247
+ */
1248
+ timeZone?: string | null;
1249
+ /**
1250
+ * Whether to use the time zone of the Wix Business.
1251
+ * Default is true.
1252
+ */
1253
+ businessTimeZoneEnabled?: boolean | null;
1254
+ /** Default title for the schedule's events. */
1255
+ defaultTitle?: string | null;
1256
+ /** Default location for the schedule's events. */
1257
+ defaultLocation?: Location;
1258
+ /**
1259
+ * Default capacity for the schedule's events.
1260
+ *
1261
+ * The capacity of an event is the max number of participants that can participate in an event.
1262
+ */
1263
+ defaultCapacity?: number | null;
1264
+ /** Default conferencing details for the schedule's events. */
1265
+ defaultConferencingDetails?: ConferencingDetails;
1266
+ /**
1267
+ * Optional ID of the Wix app owning the schedule.
1268
+ * Cannot change once set.
1269
+ *
1270
+ * For example, to create a schedule in the Wix Bookings App Calendar, provide `13d21c63-b5ec-5912-8397-c3a5ddb27a97`.
1271
+ */
1272
+ appId?: string | null;
1273
+ /**
1274
+ * List of granted permissions for this schedule.
1275
+ *
1276
+ * E.g, a Bookings Staff Member has full write access to its schedule and limited access to events it provides.
1277
+ */
1278
+ permissions?: Permission[];
1279
+ /** Extensions enabling applications or users to save custom data related to the schedule. */
1280
+ extendedFields?: ExtendedFields;
1281
+ /**
1282
+ * The schedule revision number, which incremented on updates.
1283
+ *
1284
+ * The current revision should be provided on updates to prevent conflicting changes.
1285
+ * @readonly
1286
+ */
1287
+ revision?: string | null;
1288
+ /**
1289
+ * Date the schedule was created.
1290
+ * @readonly
1291
+ */
1292
+ _createdDate?: Date;
1293
+ /**
1294
+ * Date the schedule was last updated.
1295
+ * @readonly
1296
+ */
1297
+ _updatedDate?: Date;
1298
+ }
1299
+ interface UpdateScheduleOptions {
1300
+ /** Whether to notify participants regarding the changes. */
1301
+ participantNotification?: ParticipantNotification;
1302
+ }
1303
+ interface CloneScheduleOptions {
1304
+ /** Optional values to override. */
1305
+ schedule?: Schedule;
1306
+ }
1307
+ interface CancelScheduleOptions {
1308
+ /**
1309
+ * Whether to preserve future events with participants.
1310
+ * Default is false.
1311
+ */
1312
+ preserveFutureEventsWithParticipants?: boolean | null;
1313
+ /** Whether to notify participants regarding the changes. */
1314
+ participantNotification?: ParticipantNotification;
1315
+ }
1316
+
1317
+ interface HttpClient {
1318
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1319
+ fetchWithAuth: typeof fetch;
1320
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1321
+ }
1322
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1323
+ type HttpResponse<T = any> = {
1324
+ data: T;
1325
+ status: number;
1326
+ statusText: string;
1327
+ headers: any;
1328
+ request?: any;
1329
+ };
1330
+ type RequestOptions<_TResponse = any, Data = any> = {
1331
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1332
+ url: string;
1333
+ data?: Data;
1334
+ params?: URLSearchParams;
1335
+ } & APIMetadata;
1336
+ type APIMetadata = {
1337
+ methodFqn?: string;
1338
+ entityFqdn?: string;
1339
+ packageName?: string;
1340
+ };
1341
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
1342
+ __type: 'event-definition';
1343
+ type: Type;
1344
+ isDomainEvent?: boolean;
1345
+ transformations?: (envelope: unknown) => Payload;
1346
+ __payload: Payload;
1347
+ };
1348
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1349
+
1350
+ declare global {
1351
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1352
+ interface SymbolConstructor {
1353
+ readonly observable: symbol;
1354
+ }
1355
+ }
1356
+
1357
+ declare const __metadata: {
1358
+ PACKAGE_NAME: string;
1359
+ };
1360
+ declare function getSchedule(httpClient: HttpClient): (scheduleId: string | null, options?: GetScheduleOptions) => Promise<Schedule & {
1361
+ status: Status;
1362
+ defaultLocation?: {
1363
+ type: LocationType;
1364
+ } | undefined;
1365
+ defaultConferencingDetails?: {
1366
+ type: Type;
1367
+ } | undefined;
1368
+ permissions: {
1369
+ identity?: {
1370
+ wixUserId: string;
1371
+ } | undefined;
1372
+ role: Role;
1373
+ }[];
1374
+ }>;
1375
+ declare function querySchedules(httpClient: HttpClient): (options?: QuerySchedulesOptions) => SchedulesQueryBuilder;
1376
+ declare function createSchedule(httpClient: HttpClient): (schedule: Schedule, options?: CreateScheduleOptions) => Promise<Schedule & {
1377
+ status: Status;
1378
+ defaultLocation?: {
1379
+ type: LocationType;
1380
+ } | undefined;
1381
+ defaultConferencingDetails?: {
1382
+ type: Type;
1383
+ } | undefined;
1384
+ permissions: {
1385
+ identity?: {
1386
+ wixUserId: string;
1387
+ } | undefined;
1388
+ role: Role;
1389
+ }[];
1390
+ }>;
1391
+ declare function updateSchedule(httpClient: HttpClient): (_id: string | null, schedule: UpdateSchedule, options?: UpdateScheduleOptions) => Promise<Schedule & {
1392
+ status: Status;
1393
+ defaultLocation?: {
1394
+ type: LocationType;
1395
+ } | undefined;
1396
+ defaultConferencingDetails?: {
1397
+ type: Type;
1398
+ } | undefined;
1399
+ permissions: {
1400
+ identity?: {
1401
+ wixUserId: string;
1402
+ } | undefined;
1403
+ role: Role;
1404
+ }[];
1405
+ }>;
1406
+ declare function cloneSchedule(httpClient: HttpClient): (scheduleId: string | null, options?: CloneScheduleOptions) => Promise<CloneScheduleResponse & CloneScheduleResponseNonNullableFields>;
1407
+ declare function cancelSchedule(httpClient: HttpClient): (scheduleId: string | null, options?: CancelScheduleOptions) => Promise<CancelScheduleResponse & CancelScheduleResponseNonNullableFields>;
1408
+ declare const onScheduleCreated: EventDefinition<ScheduleCreatedEnvelope, "wix.calendar.v3.schedule_created">;
1409
+ declare const onScheduleUpdated: EventDefinition<ScheduleUpdatedEnvelope, "wix.calendar.v3.schedule_updated">;
1410
+ declare const onScheduleCloned: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
1411
+ declare const onScheduleCancelled: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
1412
+
1413
+ type index_d_ActionEvent = ActionEvent;
1414
+ type index_d_Address = Address;
1415
+ type index_d_AddressHint = AddressHint;
1416
+ type index_d_Asset = Asset;
1417
+ type index_d_BaseEventMetadata = BaseEventMetadata;
1418
+ type index_d_BusinessSchedule = BusinessSchedule;
1419
+ type index_d_CancelScheduleOptions = CancelScheduleOptions;
1420
+ type index_d_CancelScheduleRequest = CancelScheduleRequest;
1421
+ type index_d_CancelScheduleResponse = CancelScheduleResponse;
1422
+ type index_d_CancelScheduleResponseNonNullableFields = CancelScheduleResponseNonNullableFields;
1423
+ type index_d_Categories = Categories;
1424
+ type index_d_ChangeContext = ChangeContext;
1425
+ type index_d_ChangeContextPayloadOneOf = ChangeContextPayloadOneOf;
1426
+ type index_d_CloneScheduleOptions = CloneScheduleOptions;
1427
+ type index_d_CloneScheduleRequest = CloneScheduleRequest;
1428
+ type index_d_CloneScheduleResponse = CloneScheduleResponse;
1429
+ type index_d_CloneScheduleResponseNonNullableFields = CloneScheduleResponseNonNullableFields;
1430
+ type index_d_CommonIdentificationData = CommonIdentificationData;
1431
+ type index_d_CommonIdentificationDataIdOneOf = CommonIdentificationDataIdOneOf;
1432
+ type index_d_ConferencingDetails = ConferencingDetails;
1433
+ type index_d_ConsentPolicy = ConsentPolicy;
1434
+ type index_d_CreateScheduleOptions = CreateScheduleOptions;
1435
+ type index_d_CreateScheduleRequest = CreateScheduleRequest;
1436
+ type index_d_CreateScheduleResponse = CreateScheduleResponse;
1437
+ type index_d_CreateScheduleResponseNonNullableFields = CreateScheduleResponseNonNullableFields;
1438
+ type index_d_CursorPaging = CursorPaging;
1439
+ type index_d_CursorPagingMetadata = CursorPagingMetadata;
1440
+ type index_d_CursorQuery = CursorQuery;
1441
+ type index_d_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
1442
+ type index_d_Cursors = Cursors;
1443
+ type index_d_DayOfWeek = DayOfWeek;
1444
+ declare const index_d_DayOfWeek: typeof DayOfWeek;
1445
+ type index_d_DeleteContext = DeleteContext;
1446
+ type index_d_DeleteStatus = DeleteStatus;
1447
+ declare const index_d_DeleteStatus: typeof DeleteStatus;
1448
+ type index_d_DomainEvent = DomainEvent;
1449
+ type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
1450
+ type index_d_Empty = Empty;
1451
+ type index_d_EntityCreatedEvent = EntityCreatedEvent;
1452
+ type index_d_EntityDeletedEvent = EntityDeletedEvent;
1453
+ type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
1454
+ type index_d_EventMetadata = EventMetadata;
1455
+ type index_d_ExtendedFields = ExtendedFields;
1456
+ type index_d_GeoCoordinates = GeoCoordinates;
1457
+ type index_d_GetScheduleOptions = GetScheduleOptions;
1458
+ type index_d_GetScheduleRequest = GetScheduleRequest;
1459
+ type index_d_GetScheduleResponse = GetScheduleResponse;
1460
+ type index_d_GetScheduleResponseNonNullableFields = GetScheduleResponseNonNullableFields;
1461
+ type index_d_IdentificationData = IdentificationData;
1462
+ type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
1463
+ type index_d_IdentityType = IdentityType;
1464
+ declare const index_d_IdentityType: typeof IdentityType;
1465
+ type index_d_Locale = Locale;
1466
+ type index_d_Location = Location;
1467
+ type index_d_LocationType = LocationType;
1468
+ declare const index_d_LocationType: typeof LocationType;
1469
+ type index_d_MessageEnvelope = MessageEnvelope;
1470
+ type index_d_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
1471
+ type index_d_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
1472
+ type index_d_Multilingual = Multilingual;
1473
+ type index_d_Namespace = Namespace;
1474
+ declare const index_d_Namespace: typeof Namespace;
1475
+ type index_d_NamespaceChanged = NamespaceChanged;
1476
+ type index_d_ParticipantNotification = ParticipantNotification;
1477
+ type index_d_Permission = Permission;
1478
+ type index_d_PlacementType = PlacementType;
1479
+ declare const index_d_PlacementType: typeof PlacementType;
1480
+ type index_d_Properties = Properties;
1481
+ type index_d_PropertiesChange = PropertiesChange;
1482
+ type index_d_QuerySchedulesOptions = QuerySchedulesOptions;
1483
+ type index_d_QuerySchedulesRequest = QuerySchedulesRequest;
1484
+ type index_d_QuerySchedulesResponse = QuerySchedulesResponse;
1485
+ type index_d_QuerySchedulesResponseNonNullableFields = QuerySchedulesResponseNonNullableFields;
1486
+ type index_d_RequestedFields = RequestedFields;
1487
+ declare const index_d_RequestedFields: typeof RequestedFields;
1488
+ type index_d_ResolutionMethod = ResolutionMethod;
1489
+ declare const index_d_ResolutionMethod: typeof ResolutionMethod;
1490
+ type index_d_RestoreInfo = RestoreInfo;
1491
+ type index_d_Role = Role;
1492
+ declare const index_d_Role: typeof Role;
1493
+ type index_d_Schedule = Schedule;
1494
+ type index_d_ScheduleCancelled = ScheduleCancelled;
1495
+ type index_d_ScheduleCancelledEnvelope = ScheduleCancelledEnvelope;
1496
+ type index_d_ScheduleCloned = ScheduleCloned;
1497
+ type index_d_ScheduleClonedEnvelope = ScheduleClonedEnvelope;
1498
+ type index_d_ScheduleCreatedEnvelope = ScheduleCreatedEnvelope;
1499
+ type index_d_ScheduleUpdatedEnvelope = ScheduleUpdatedEnvelope;
1500
+ type index_d_ScheduleUpdatedWithMetadata = ScheduleUpdatedWithMetadata;
1501
+ type index_d_SchedulesQueryBuilder = SchedulesQueryBuilder;
1502
+ type index_d_SchedulesQueryResult = SchedulesQueryResult;
1503
+ type index_d_ServiceProvisioned = ServiceProvisioned;
1504
+ type index_d_ServiceRemoved = ServiceRemoved;
1505
+ type index_d_SiteCloned = SiteCloned;
1506
+ type index_d_SiteCreated = SiteCreated;
1507
+ type index_d_SiteCreatedContext = SiteCreatedContext;
1508
+ declare const index_d_SiteCreatedContext: typeof SiteCreatedContext;
1509
+ type index_d_SiteDeleted = SiteDeleted;
1510
+ type index_d_SiteHardDeleted = SiteHardDeleted;
1511
+ type index_d_SiteMarkedAsTemplate = SiteMarkedAsTemplate;
1512
+ type index_d_SiteMarkedAsWixSite = SiteMarkedAsWixSite;
1513
+ type index_d_SitePropertiesEvent = SitePropertiesEvent;
1514
+ type index_d_SitePropertiesNotification = SitePropertiesNotification;
1515
+ type index_d_SitePublished = SitePublished;
1516
+ type index_d_SiteRenamed = SiteRenamed;
1517
+ type index_d_SiteTransferred = SiteTransferred;
1518
+ type index_d_SiteUndeleted = SiteUndeleted;
1519
+ type index_d_SiteUnpublished = SiteUnpublished;
1520
+ type index_d_SpecialHourPeriod = SpecialHourPeriod;
1521
+ type index_d_State = State;
1522
+ declare const index_d_State: typeof State;
1523
+ type index_d_Status = Status;
1524
+ declare const index_d_Status: typeof Status;
1525
+ type index_d_StudioAssigned = StudioAssigned;
1526
+ type index_d_StudioUnassigned = StudioUnassigned;
1527
+ type index_d_SupportedLanguage = SupportedLanguage;
1528
+ type index_d_TimePeriod = TimePeriod;
1529
+ type index_d_Translation = Translation;
1530
+ type index_d_Trigger = Trigger;
1531
+ declare const index_d_Trigger: typeof Trigger;
1532
+ type index_d_Type = Type;
1533
+ declare const index_d_Type: typeof Type;
1534
+ type index_d_UpdateSchedule = UpdateSchedule;
1535
+ type index_d_UpdateScheduleOptions = UpdateScheduleOptions;
1536
+ type index_d_UpdateScheduleRequest = UpdateScheduleRequest;
1537
+ type index_d_UpdateScheduleResponse = UpdateScheduleResponse;
1538
+ type index_d_UpdateScheduleResponseNonNullableFields = UpdateScheduleResponseNonNullableFields;
1539
+ type index_d_V4SiteCreated = V4SiteCreated;
1540
+ type index_d_WebhookIdentityType = WebhookIdentityType;
1541
+ declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
1542
+ declare const index_d___metadata: typeof __metadata;
1543
+ declare const index_d_cancelSchedule: typeof cancelSchedule;
1544
+ declare const index_d_cloneSchedule: typeof cloneSchedule;
1545
+ declare const index_d_createSchedule: typeof createSchedule;
1546
+ declare const index_d_getSchedule: typeof getSchedule;
1547
+ declare const index_d_onScheduleCancelled: typeof onScheduleCancelled;
1548
+ declare const index_d_onScheduleCloned: typeof onScheduleCloned;
1549
+ declare const index_d_onScheduleCreated: typeof onScheduleCreated;
1550
+ declare const index_d_onScheduleUpdated: typeof onScheduleUpdated;
1551
+ declare const index_d_querySchedules: typeof querySchedules;
1552
+ declare const index_d_updateSchedule: typeof updateSchedule;
1553
+ declare namespace index_d {
1554
+ export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressHint as AddressHint, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BusinessSchedule as BusinessSchedule, type index_d_CancelScheduleOptions as CancelScheduleOptions, type index_d_CancelScheduleRequest as CancelScheduleRequest, type index_d_CancelScheduleResponse as CancelScheduleResponse, type index_d_CancelScheduleResponseNonNullableFields as CancelScheduleResponseNonNullableFields, type index_d_Categories as Categories, type index_d_ChangeContext as ChangeContext, type index_d_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d_CloneScheduleOptions as CloneScheduleOptions, type index_d_CloneScheduleRequest as CloneScheduleRequest, type index_d_CloneScheduleResponse as CloneScheduleResponse, type index_d_CloneScheduleResponseNonNullableFields as CloneScheduleResponseNonNullableFields, type index_d_CommonIdentificationData as CommonIdentificationData, type index_d_CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOf, type index_d_ConferencingDetails as ConferencingDetails, type index_d_ConsentPolicy as ConsentPolicy, type index_d_CreateScheduleOptions as CreateScheduleOptions, type index_d_CreateScheduleRequest as CreateScheduleRequest, type index_d_CreateScheduleResponse as CreateScheduleResponse, type index_d_CreateScheduleResponseNonNullableFields as CreateScheduleResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, index_d_DayOfWeek as DayOfWeek, type index_d_DeleteContext as DeleteContext, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_ExtendedFields as ExtendedFields, type index_d_GeoCoordinates as GeoCoordinates, type index_d_GetScheduleOptions as GetScheduleOptions, type index_d_GetScheduleRequest as GetScheduleRequest, type index_d_GetScheduleResponse as GetScheduleResponse, type index_d_GetScheduleResponseNonNullableFields as GetScheduleResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_Locale as Locale, type index_d_Location as Location, index_d_LocationType as LocationType, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d_Multilingual as Multilingual, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_ParticipantNotification as ParticipantNotification, type index_d_Permission as Permission, index_d_PlacementType as PlacementType, type index_d_Properties as Properties, type index_d_PropertiesChange as PropertiesChange, type index_d_QuerySchedulesOptions as QuerySchedulesOptions, type index_d_QuerySchedulesRequest as QuerySchedulesRequest, type index_d_QuerySchedulesResponse as QuerySchedulesResponse, type index_d_QuerySchedulesResponseNonNullableFields as QuerySchedulesResponseNonNullableFields, index_d_RequestedFields as RequestedFields, index_d_ResolutionMethod as ResolutionMethod, type index_d_RestoreInfo as RestoreInfo, index_d_Role as Role, type index_d_Schedule as Schedule, type index_d_ScheduleCancelled as ScheduleCancelled, type index_d_ScheduleCancelledEnvelope as ScheduleCancelledEnvelope, type index_d_ScheduleCloned as ScheduleCloned, type index_d_ScheduleClonedEnvelope as ScheduleClonedEnvelope, type index_d_ScheduleCreatedEnvelope as ScheduleCreatedEnvelope, type index_d_ScheduleUpdatedEnvelope as ScheduleUpdatedEnvelope, type index_d_ScheduleUpdatedWithMetadata as ScheduleUpdatedWithMetadata, type index_d_SchedulesQueryBuilder as SchedulesQueryBuilder, type index_d_SchedulesQueryResult as SchedulesQueryResult, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCloned as SiteCloned, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePropertiesEvent as SitePropertiesEvent, type index_d_SitePropertiesNotification as SitePropertiesNotification, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, type index_d_SpecialHourPeriod as SpecialHourPeriod, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_SupportedLanguage as SupportedLanguage, type index_d_TimePeriod as TimePeriod, type index_d_Translation as Translation, index_d_Trigger as Trigger, index_d_Type as Type, type index_d_UpdateSchedule as UpdateSchedule, type index_d_UpdateScheduleOptions as UpdateScheduleOptions, type index_d_UpdateScheduleRequest as UpdateScheduleRequest, type index_d_UpdateScheduleResponse as UpdateScheduleResponse, type index_d_UpdateScheduleResponseNonNullableFields as UpdateScheduleResponseNonNullableFields, type index_d_V4SiteCreated as V4SiteCreated, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_cancelSchedule as cancelSchedule, index_d_cloneSchedule as cloneSchedule, index_d_createSchedule as createSchedule, index_d_getSchedule as getSchedule, index_d_onScheduleCancelled as onScheduleCancelled, index_d_onScheduleCloned as onScheduleCloned, index_d_onScheduleCreated as onScheduleCreated, index_d_onScheduleUpdated as onScheduleUpdated, index_d_querySchedules as querySchedules, index_d_updateSchedule as updateSchedule };
1555
+ }
1556
+
1557
+ export { index_d as schedules };