@wix/auto_sdk_calendar_schedules 1.0.41 → 1.0.43

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.
Files changed (21) hide show
  1. package/build/cjs/src/calendar-v3-schedule-schedules.types.d.ts +50 -18
  2. package/build/cjs/src/calendar-v3-schedule-schedules.types.js.map +1 -1
  3. package/build/cjs/src/calendar-v3-schedule-schedules.universal.d.ts +65 -21
  4. package/build/cjs/src/calendar-v3-schedule-schedules.universal.js +4 -0
  5. package/build/cjs/src/calendar-v3-schedule-schedules.universal.js.map +1 -1
  6. package/build/es/src/calendar-v3-schedule-schedules.types.d.ts +50 -18
  7. package/build/es/src/calendar-v3-schedule-schedules.types.js.map +1 -1
  8. package/build/es/src/calendar-v3-schedule-schedules.universal.d.ts +65 -21
  9. package/build/es/src/calendar-v3-schedule-schedules.universal.js +4 -0
  10. package/build/es/src/calendar-v3-schedule-schedules.universal.js.map +1 -1
  11. package/build/internal/cjs/src/calendar-v3-schedule-schedules.types.d.ts +50 -18
  12. package/build/internal/cjs/src/calendar-v3-schedule-schedules.types.js.map +1 -1
  13. package/build/internal/cjs/src/calendar-v3-schedule-schedules.universal.d.ts +65 -21
  14. package/build/internal/cjs/src/calendar-v3-schedule-schedules.universal.js +4 -0
  15. package/build/internal/cjs/src/calendar-v3-schedule-schedules.universal.js.map +1 -1
  16. package/build/internal/es/src/calendar-v3-schedule-schedules.types.d.ts +50 -18
  17. package/build/internal/es/src/calendar-v3-schedule-schedules.types.js.map +1 -1
  18. package/build/internal/es/src/calendar-v3-schedule-schedules.universal.d.ts +65 -21
  19. package/build/internal/es/src/calendar-v3-schedule-schedules.universal.js +4 -0
  20. package/build/internal/es/src/calendar-v3-schedule-schedules.universal.js.map +1 -1
  21. package/package.json +3 -3
@@ -43,7 +43,7 @@ export interface Schedule {
43
43
  * Default: `ACTIVE`
44
44
  * @readonly
45
45
  */
46
- status?: Status;
46
+ status?: StatusWithLiterals;
47
47
  /**
48
48
  * Time zone the schedule is associated with in
49
49
  * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
@@ -138,6 +138,8 @@ export declare enum Status {
138
138
  /** You can't add events to the schedule or update its fields. */
139
139
  CANCELLED = "CANCELLED"
140
140
  }
141
+ /** @enumType */
142
+ export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'ACTIVE' | 'CANCELLED';
141
143
  export interface Location {
142
144
  /**
143
145
  * [Location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
@@ -153,7 +155,7 @@ export interface Location {
153
155
  * + `CUSTOMER`: The event is held at the customer's location, such as their home or office.
154
156
  * + `CUSTOM`: The event is held at an address or venue not tied to the business or customer.
155
157
  */
156
- type?: LocationType;
158
+ type?: LocationTypeWithLiterals;
157
159
  /**
158
160
  * Location name. For `BUSINESS` locations, it's identical to the
159
161
  * [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
@@ -183,9 +185,11 @@ export declare enum LocationType {
183
185
  /** The event is held at an address or venue not tied to the business or customer. */
184
186
  CUSTOM = "CUSTOM"
185
187
  }
188
+ /** @enumType */
189
+ export type LocationTypeWithLiterals = LocationType | 'UNKNOWN_TYPE' | 'BUSINESS' | 'CUSTOMER' | 'CUSTOM';
186
190
  export interface ConferencingDetails {
187
191
  /** Conference type. For example, `Zoom`. */
188
- type?: Type;
192
+ type?: TypeWithLiterals;
189
193
  /**
190
194
  * URL used by the host to start the conference.
191
195
  *
@@ -228,6 +232,8 @@ export declare enum Type {
228
232
  ZOOM = "ZOOM",
229
233
  CUSTOM = "CUSTOM"
230
234
  }
235
+ /** @enumType */
236
+ export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'ZOOM' | 'CUSTOM';
231
237
  export interface Permission {
232
238
  /**
233
239
  * [Wix user](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities#wix-users)
@@ -241,7 +247,7 @@ export interface Permission {
241
247
  * + `WRITER`: Full read and write access.
242
248
  * + `COMMENTER`: Full read access, write access limited to `event.notes`.
243
249
  */
244
- role?: Role;
250
+ role?: RoleWithLiterals;
245
251
  }
246
252
  export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
247
253
  /**
@@ -264,6 +270,8 @@ export declare enum IdentityType {
264
270
  UNKNOWN = "UNKNOWN",
265
271
  WIX_USER = "WIX_USER"
266
272
  }
273
+ /** @enumType */
274
+ export type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'WIX_USER';
267
275
  export declare enum Role {
268
276
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
269
277
  /** Full read and write access. */
@@ -271,6 +279,8 @@ export declare enum Role {
271
279
  /** Full read access, write access limited to `event.notes`. */
272
280
  COMMENTER = "COMMENTER"
273
281
  }
282
+ /** @enumType */
283
+ export type RoleWithLiterals = Role | 'UNKNOWN_ROLE' | 'WRITER' | 'COMMENTER';
274
284
  export interface ExtendedFields {
275
285
  /**
276
286
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -301,7 +311,7 @@ export interface GetScheduleRequest {
301
311
  * Default: No personal data is returned.
302
312
  * @maxSize 1
303
313
  */
304
- fields?: RequestedFields[];
314
+ fields?: RequestedFieldsWithLiterals[];
305
315
  }
306
316
  export declare enum RequestedFields {
307
317
  UNKNOWN_REQUESTED_FIELDS = "UNKNOWN_REQUESTED_FIELDS",
@@ -310,6 +320,8 @@ export declare enum RequestedFields {
310
320
  /** Returns only fields containing your own personal data. */
311
321
  OWN_PI_FIELDS = "OWN_PI_FIELDS"
312
322
  }
323
+ /** @enumType */
324
+ export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELDS' | 'PI_FIELDS' | 'OWN_PI_FIELDS';
313
325
  export interface GetScheduleResponse {
314
326
  /** Retrieved schedule. */
315
327
  schedule?: Schedule;
@@ -330,7 +342,7 @@ export interface QuerySchedulesRequest {
330
342
  * Default: No personal data is returned.
331
343
  * @maxSize 1
332
344
  */
333
- fields?: RequestedFields[];
345
+ fields?: RequestedFieldsWithLiterals[];
334
346
  }
335
347
  /** TODO Diverge */
336
348
  export interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -466,7 +478,7 @@ export interface ScheduleCloned {
466
478
  /** New cloned schedule. */
467
479
  schedule?: Schedule;
468
480
  /** The clone trigger. */
469
- trigger?: Trigger;
481
+ trigger?: TriggerWithLiterals;
470
482
  /**
471
483
  * The original Meta Site ID if different.
472
484
  * @format GUID
@@ -490,6 +502,8 @@ export declare enum Trigger {
490
502
  /** Other. */
491
503
  OTHER = "OTHER"
492
504
  }
505
+ /** @enumType */
506
+ export type TriggerWithLiterals = Trigger | 'SCHEDULE_CLONED' | 'SITE_DUPLICATED_FROM_SAME_ACCOUNT' | 'SITE_DUPLICATED_FROM_DIFFERENT_ACCOUNT' | 'SITE_CREATED_FROM_TEMPLATE' | 'OTHER';
493
507
  export interface CancelScheduleRequest {
494
508
  /**
495
509
  * ID of the schedule to cancel.
@@ -645,7 +659,7 @@ export interface Asset {
645
659
  */
646
660
  instanceId?: string;
647
661
  /** An application state. */
648
- state?: State;
662
+ state?: StateWithLiterals;
649
663
  }
650
664
  export declare enum State {
651
665
  UNKNOWN = "UNKNOWN",
@@ -654,6 +668,8 @@ export declare enum State {
654
668
  PENDING = "PENDING",
655
669
  DEMO = "DEMO"
656
670
  }
671
+ /** @enumType */
672
+ export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
657
673
  export interface SiteCreated {
658
674
  /**
659
675
  * A template identifier (empty if not created from a template).
@@ -666,7 +682,7 @@ export interface SiteCreated {
666
682
  */
667
683
  ownerId?: string;
668
684
  /** A context in which meta site was created. */
669
- context?: SiteCreatedContext;
685
+ context?: SiteCreatedContextWithLiterals;
670
686
  /**
671
687
  * A meta site id from which this site was created.
672
688
  *
@@ -681,7 +697,7 @@ export interface SiteCreated {
681
697
  */
682
698
  siteName?: string;
683
699
  /** A namespace. */
684
- namespace?: Namespace;
700
+ namespace?: NamespaceWithLiterals;
685
701
  }
686
702
  export declare enum SiteCreatedContext {
687
703
  /** A valid option, we don't expose all reasons why site might be created. */
@@ -697,6 +713,8 @@ export declare enum SiteCreatedContext {
697
713
  /** deprecated A meta site was created for Flash editor. */
698
714
  FLASH = "FLASH"
699
715
  }
716
+ /** @enumType */
717
+ export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
700
718
  export declare enum Namespace {
701
719
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
702
720
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
@@ -779,6 +797,8 @@ export declare enum Namespace {
779
797
  /** MIMIR - Siteless account for MIMIR Ai Job runner. */
780
798
  MIMIR = "MIMIR"
781
799
  }
800
+ /** @enumType */
801
+ export 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';
782
802
  /** Site transferred to another user. */
783
803
  export interface SiteTransferred {
784
804
  /**
@@ -801,7 +821,7 @@ export interface DeleteContext {
801
821
  /** When the meta site was deleted. */
802
822
  dateDeleted?: Date | null;
803
823
  /** A status. */
804
- deleteStatus?: DeleteStatus;
824
+ deleteStatus?: DeleteStatusWithLiterals;
805
825
  /**
806
826
  * A reason (flow).
807
827
  * @maxLength 255
@@ -820,6 +840,8 @@ export declare enum DeleteStatus {
820
840
  PENDING_PURGE = "PENDING_PURGE",
821
841
  PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
822
842
  }
843
+ /** @enumType */
844
+ export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
823
845
  /** Restoration of the meta site. */
824
846
  export interface SiteUndeleted {
825
847
  }
@@ -921,9 +943,9 @@ export interface SiteHardDeleted {
921
943
  }
922
944
  export interface NamespaceChanged {
923
945
  /** A previous namespace. */
924
- oldNamespace?: Namespace;
946
+ oldNamespace?: NamespaceWithLiterals;
925
947
  /** A new namespace. */
926
- newNamespace?: Namespace;
948
+ newNamespace?: NamespaceWithLiterals;
927
949
  }
928
950
  /** Assigned Studio editor */
929
951
  export interface StudioAssigned {
@@ -1100,7 +1122,7 @@ export interface AddressHint {
1100
1122
  /** Extra text displayed next to, or instead of, the actual address. */
1101
1123
  text?: string;
1102
1124
  /** Where the extra text should be displayed. */
1103
- placement?: PlacementType;
1125
+ placement?: PlacementTypeWithLiterals;
1104
1126
  }
1105
1127
  /** Where the extra text should be displayed: before, after or instead of the actual address. */
1106
1128
  export declare enum PlacementType {
@@ -1108,6 +1130,8 @@ export declare enum PlacementType {
1108
1130
  AFTER = "AFTER",
1109
1131
  REPLACE = "REPLACE"
1110
1132
  }
1133
+ /** @enumType */
1134
+ export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
1111
1135
  /** Geocoordinates for a particular address. */
1112
1136
  export interface GeoCoordinates {
1113
1137
  /** Latitude of the location. Must be between -90 and 90. */
@@ -1131,14 +1155,14 @@ export interface BusinessSchedule {
1131
1155
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
1132
1156
  export interface TimePeriod {
1133
1157
  /** Day of the week the period starts on. */
1134
- openDay?: DayOfWeek;
1158
+ openDay?: DayOfWeekWithLiterals;
1135
1159
  /**
1136
1160
  * 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
1137
1161
  * midnight at the end of the specified day.
1138
1162
  */
1139
1163
  openTime?: string;
1140
1164
  /** Day of the week the period ends on. */
1141
- closeDay?: DayOfWeek;
1165
+ closeDay?: DayOfWeekWithLiterals;
1142
1166
  /**
1143
1167
  * 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
1144
1168
  * midnight at the end of the specified day.
@@ -1157,6 +1181,8 @@ export declare enum DayOfWeek {
1157
1181
  SATURDAY = "SATURDAY",
1158
1182
  SUNDAY = "SUNDAY"
1159
1183
  }
1184
+ /** @enumType */
1185
+ export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
1160
1186
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
1161
1187
  export interface SpecialHourPeriod {
1162
1188
  /** 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). */
@@ -1191,13 +1217,17 @@ export interface SupportedLanguage {
1191
1217
  /** Language icon. */
1192
1218
  countryCode?: string;
1193
1219
  /** How the language will be resolved. For internal use. */
1194
- resolutionMethod?: ResolutionMethod;
1220
+ resolutionMethod?: ResolutionMethodWithLiterals;
1221
+ /** Whether the supported language is the primary language for site visitors. */
1222
+ isVisitorPrimary?: boolean | null;
1195
1223
  }
1196
1224
  export declare enum ResolutionMethod {
1197
1225
  QUERY_PARAM = "QUERY_PARAM",
1198
1226
  SUBDOMAIN = "SUBDOMAIN",
1199
1227
  SUBDIRECTORY = "SUBDIRECTORY"
1200
1228
  }
1229
+ /** @enumType */
1230
+ export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
1201
1231
  export interface ConsentPolicy {
1202
1232
  /** Whether the site uses cookies that are essential to site operation. Always `true`. */
1203
1233
  essential?: boolean | null;
@@ -1348,7 +1378,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1348
1378
  */
1349
1379
  appId?: string;
1350
1380
  /** @readonly */
1351
- identityType?: WebhookIdentityType;
1381
+ identityType?: WebhookIdentityTypeWithLiterals;
1352
1382
  }
1353
1383
  /** @oneof */
1354
1384
  export interface IdentificationDataIdOneOf {
@@ -1380,3 +1410,5 @@ export declare enum WebhookIdentityType {
1380
1410
  WIX_USER = "WIX_USER",
1381
1411
  APP = "APP"
1382
1412
  }
1413
+ /** @enumType */
1414
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-schedules.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-schedules.types.ts"],"names":[],"mappings":";;;AAsIA,IAAY,MAMX;AAND,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+DAA+D;IAC/D,2BAAiB,CAAA;IACjB,iEAAiE;IACjE,iCAAuB,CAAA;AACzB,CAAC,EANW,MAAM,sBAAN,MAAM,QAMjB;AAuCD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,gDAAgD;IAChD,qCAAqB,CAAA;IACrB,kFAAkF;IAClF,qCAAqB,CAAA;IACrB,qFAAqF;IACrF,iCAAiB,CAAA;AACnB,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AA2CD,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,qCAA6B,CAAA;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ACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AA0SD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAyCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAiMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"calendar-v3-schedule-schedules.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-schedules.types.ts"],"names":[],"mappings":";;;AAsIA,IAAY,MAMX;AAND,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+DAA+D;IAC/D,2BAAiB,CAAA;IACjB,iEAAiE;IACjE,iCAAuB,CAAA;AACzB,CAAC,EANW,MAAM,sBAAN,MAAM,QAMjB;AA8CD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,gDAAgD;IAChD,qCAAqB,CAAA;I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ACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAyED,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAmTD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAsDD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAwMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -44,7 +44,7 @@ export interface Schedule {
44
44
  * Default: `ACTIVE`
45
45
  * @readonly
46
46
  */
47
- status?: Status;
47
+ status?: StatusWithLiterals;
48
48
  /**
49
49
  * Time zone the schedule is associated with in
50
50
  * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
@@ -139,6 +139,8 @@ export declare enum Status {
139
139
  /** You can't add events to the schedule or update its fields. */
140
140
  CANCELLED = "CANCELLED"
141
141
  }
142
+ /** @enumType */
143
+ export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'ACTIVE' | 'CANCELLED';
142
144
  export interface Location {
143
145
  /**
144
146
  * [Location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
@@ -154,7 +156,7 @@ export interface Location {
154
156
  * + `CUSTOMER`: The event is held at the customer's location, such as their home or office.
155
157
  * + `CUSTOM`: The event is held at an address or venue not tied to the business or customer.
156
158
  */
157
- type?: LocationType;
159
+ type?: LocationTypeWithLiterals;
158
160
  /**
159
161
  * Location name. For `BUSINESS` locations, it's identical to the
160
162
  * [location](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction)
@@ -184,9 +186,11 @@ export declare enum LocationType {
184
186
  /** The event is held at an address or venue not tied to the business or customer. */
185
187
  CUSTOM = "CUSTOM"
186
188
  }
189
+ /** @enumType */
190
+ export type LocationTypeWithLiterals = LocationType | 'UNKNOWN_TYPE' | 'BUSINESS' | 'CUSTOMER' | 'CUSTOM';
187
191
  export interface ConferencingDetails {
188
192
  /** Conference type. For example, `Zoom`. */
189
- type?: Type;
193
+ type?: TypeWithLiterals;
190
194
  /**
191
195
  * URL used by the host to start the conference.
192
196
  *
@@ -229,6 +233,8 @@ export declare enum Type {
229
233
  ZOOM = "ZOOM",
230
234
  CUSTOM = "CUSTOM"
231
235
  }
236
+ /** @enumType */
237
+ export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'ZOOM' | 'CUSTOM';
232
238
  export interface Permission {
233
239
  /**
234
240
  * [Wix user](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities#wix-users)
@@ -242,7 +248,7 @@ export interface Permission {
242
248
  * + `WRITER`: Full read and write access.
243
249
  * + `COMMENTER`: Full read access, write access limited to `event.notes`.
244
250
  */
245
- role?: Role;
251
+ role?: RoleWithLiterals;
246
252
  }
247
253
  export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
248
254
  /**
@@ -265,6 +271,8 @@ export declare enum IdentityType {
265
271
  UNKNOWN = "UNKNOWN",
266
272
  WIX_USER = "WIX_USER"
267
273
  }
274
+ /** @enumType */
275
+ export type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'WIX_USER';
268
276
  export declare enum Role {
269
277
  UNKNOWN_ROLE = "UNKNOWN_ROLE",
270
278
  /** Full read and write access. */
@@ -272,6 +280,8 @@ export declare enum Role {
272
280
  /** Full read access, write access limited to `event.notes`. */
273
281
  COMMENTER = "COMMENTER"
274
282
  }
283
+ /** @enumType */
284
+ export type RoleWithLiterals = Role | 'UNKNOWN_ROLE' | 'WRITER' | 'COMMENTER';
275
285
  export interface ExtendedFields {
276
286
  /**
277
287
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -302,7 +312,7 @@ export interface GetScheduleRequest {
302
312
  * Default: No personal data is returned.
303
313
  * @maxSize 1
304
314
  */
305
- fields?: RequestedFields[];
315
+ fields?: RequestedFieldsWithLiterals[];
306
316
  }
307
317
  export declare enum RequestedFields {
308
318
  UNKNOWN_REQUESTED_FIELDS = "UNKNOWN_REQUESTED_FIELDS",
@@ -311,6 +321,8 @@ export declare enum RequestedFields {
311
321
  /** Returns only fields containing your own personal data. */
312
322
  OWN_PI_FIELDS = "OWN_PI_FIELDS"
313
323
  }
324
+ /** @enumType */
325
+ export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELDS' | 'PI_FIELDS' | 'OWN_PI_FIELDS';
314
326
  export interface GetScheduleResponse {
315
327
  /** Retrieved schedule. */
316
328
  schedule?: Schedule;
@@ -331,7 +343,7 @@ export interface QuerySchedulesRequest {
331
343
  * Default: No personal data is returned.
332
344
  * @maxSize 1
333
345
  */
334
- fields?: RequestedFields[];
346
+ fields?: RequestedFieldsWithLiterals[];
335
347
  }
336
348
  /** TODO Diverge */
337
349
  export interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -467,7 +479,7 @@ export interface ScheduleCloned {
467
479
  /** New cloned schedule. */
468
480
  schedule?: Schedule;
469
481
  /** The clone trigger. */
470
- trigger?: Trigger;
482
+ trigger?: TriggerWithLiterals;
471
483
  /**
472
484
  * The original Meta Site ID if different.
473
485
  * @format GUID
@@ -491,6 +503,8 @@ export declare enum Trigger {
491
503
  /** Other. */
492
504
  OTHER = "OTHER"
493
505
  }
506
+ /** @enumType */
507
+ export type TriggerWithLiterals = Trigger | 'SCHEDULE_CLONED' | 'SITE_DUPLICATED_FROM_SAME_ACCOUNT' | 'SITE_DUPLICATED_FROM_DIFFERENT_ACCOUNT' | 'SITE_CREATED_FROM_TEMPLATE' | 'OTHER';
494
508
  export interface CancelScheduleRequest {
495
509
  /**
496
510
  * ID of the schedule to cancel.
@@ -646,7 +660,7 @@ export interface Asset {
646
660
  */
647
661
  instanceId?: string;
648
662
  /** An application state. */
649
- state?: State;
663
+ state?: StateWithLiterals;
650
664
  }
651
665
  export declare enum State {
652
666
  UNKNOWN = "UNKNOWN",
@@ -655,6 +669,8 @@ export declare enum State {
655
669
  PENDING = "PENDING",
656
670
  DEMO = "DEMO"
657
671
  }
672
+ /** @enumType */
673
+ export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
658
674
  export interface SiteCreated {
659
675
  /**
660
676
  * A template identifier (empty if not created from a template).
@@ -667,7 +683,7 @@ export interface SiteCreated {
667
683
  */
668
684
  ownerId?: string;
669
685
  /** A context in which meta site was created. */
670
- context?: SiteCreatedContext;
686
+ context?: SiteCreatedContextWithLiterals;
671
687
  /**
672
688
  * A meta site id from which this site was created.
673
689
  *
@@ -682,7 +698,7 @@ export interface SiteCreated {
682
698
  */
683
699
  siteName?: string;
684
700
  /** A namespace. */
685
- namespace?: Namespace;
701
+ namespace?: NamespaceWithLiterals;
686
702
  }
687
703
  export declare enum SiteCreatedContext {
688
704
  /** A valid option, we don't expose all reasons why site might be created. */
@@ -698,6 +714,8 @@ export declare enum SiteCreatedContext {
698
714
  /** deprecated A meta site was created for Flash editor. */
699
715
  FLASH = "FLASH"
700
716
  }
717
+ /** @enumType */
718
+ export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
701
719
  export declare enum Namespace {
702
720
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
703
721
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
@@ -780,6 +798,8 @@ export declare enum Namespace {
780
798
  /** MIMIR - Siteless account for MIMIR Ai Job runner. */
781
799
  MIMIR = "MIMIR"
782
800
  }
801
+ /** @enumType */
802
+ export 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';
783
803
  /** Site transferred to another user. */
784
804
  export interface SiteTransferred {
785
805
  /**
@@ -802,7 +822,7 @@ export interface DeleteContext {
802
822
  /** When the meta site was deleted. */
803
823
  dateDeleted?: Date | null;
804
824
  /** A status. */
805
- deleteStatus?: DeleteStatus;
825
+ deleteStatus?: DeleteStatusWithLiterals;
806
826
  /**
807
827
  * A reason (flow).
808
828
  * @maxLength 255
@@ -821,6 +841,8 @@ export declare enum DeleteStatus {
821
841
  PENDING_PURGE = "PENDING_PURGE",
822
842
  PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
823
843
  }
844
+ /** @enumType */
845
+ export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
824
846
  /** Restoration of the meta site. */
825
847
  export interface SiteUndeleted {
826
848
  }
@@ -922,9 +944,9 @@ export interface SiteHardDeleted {
922
944
  }
923
945
  export interface NamespaceChanged {
924
946
  /** A previous namespace. */
925
- oldNamespace?: Namespace;
947
+ oldNamespace?: NamespaceWithLiterals;
926
948
  /** A new namespace. */
927
- newNamespace?: Namespace;
949
+ newNamespace?: NamespaceWithLiterals;
928
950
  }
929
951
  /** Assigned Studio editor */
930
952
  export interface StudioAssigned {
@@ -1101,7 +1123,7 @@ export interface AddressHint {
1101
1123
  /** Extra text displayed next to, or instead of, the actual address. */
1102
1124
  text?: string;
1103
1125
  /** Where the extra text should be displayed. */
1104
- placement?: PlacementType;
1126
+ placement?: PlacementTypeWithLiterals;
1105
1127
  }
1106
1128
  /** Where the extra text should be displayed: before, after or instead of the actual address. */
1107
1129
  export declare enum PlacementType {
@@ -1109,6 +1131,8 @@ export declare enum PlacementType {
1109
1131
  AFTER = "AFTER",
1110
1132
  REPLACE = "REPLACE"
1111
1133
  }
1134
+ /** @enumType */
1135
+ export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
1112
1136
  /** Geocoordinates for a particular address. */
1113
1137
  export interface GeoCoordinates {
1114
1138
  /** Latitude of the location. Must be between -90 and 90. */
@@ -1132,14 +1156,14 @@ export interface BusinessSchedule {
1132
1156
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
1133
1157
  export interface TimePeriod {
1134
1158
  /** Day of the week the period starts on. */
1135
- openDay?: DayOfWeek;
1159
+ openDay?: DayOfWeekWithLiterals;
1136
1160
  /**
1137
1161
  * 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
1138
1162
  * midnight at the end of the specified day.
1139
1163
  */
1140
1164
  openTime?: string;
1141
1165
  /** Day of the week the period ends on. */
1142
- closeDay?: DayOfWeek;
1166
+ closeDay?: DayOfWeekWithLiterals;
1143
1167
  /**
1144
1168
  * 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
1145
1169
  * midnight at the end of the specified day.
@@ -1158,6 +1182,8 @@ export declare enum DayOfWeek {
1158
1182
  SATURDAY = "SATURDAY",
1159
1183
  SUNDAY = "SUNDAY"
1160
1184
  }
1185
+ /** @enumType */
1186
+ export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
1161
1187
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
1162
1188
  export interface SpecialHourPeriod {
1163
1189
  /** 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). */
@@ -1192,13 +1218,17 @@ export interface SupportedLanguage {
1192
1218
  /** Language icon. */
1193
1219
  countryCode?: string;
1194
1220
  /** How the language will be resolved. For internal use. */
1195
- resolutionMethod?: ResolutionMethod;
1221
+ resolutionMethod?: ResolutionMethodWithLiterals;
1222
+ /** Whether the supported language is the primary language for site visitors. */
1223
+ isVisitorPrimary?: boolean | null;
1196
1224
  }
1197
1225
  export declare enum ResolutionMethod {
1198
1226
  QUERY_PARAM = "QUERY_PARAM",
1199
1227
  SUBDOMAIN = "SUBDOMAIN",
1200
1228
  SUBDIRECTORY = "SUBDIRECTORY"
1201
1229
  }
1230
+ /** @enumType */
1231
+ export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
1202
1232
  export interface ConsentPolicy {
1203
1233
  /** Whether the site uses cookies that are essential to site operation. Always `true`. */
1204
1234
  essential?: boolean | null;
@@ -1347,7 +1377,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1347
1377
  */
1348
1378
  appId?: string;
1349
1379
  /** @readonly */
1350
- identityType?: WebhookIdentityType;
1380
+ identityType?: WebhookIdentityTypeWithLiterals;
1351
1381
  }
1352
1382
  /** @oneof */
1353
1383
  export interface IdentificationDataIdOneOf {
@@ -1379,6 +1409,8 @@ export declare enum WebhookIdentityType {
1379
1409
  WIX_USER = "WIX_USER",
1380
1410
  APP = "APP"
1381
1411
  }
1412
+ /** @enumType */
1413
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1382
1414
  export interface BaseEventMetadata {
1383
1415
  /**
1384
1416
  * App instance ID.
@@ -1437,6 +1469,8 @@ export interface ScheduleCancelledEnvelope {
1437
1469
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1438
1470
  * @permissionScope Read Bookings - Including Participants
1439
1471
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1472
+ * @permissionScope Read Bookings - all read permissions
1473
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1440
1474
  * @permissionScope Manage Bookings - all permissions
1441
1475
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1442
1476
  * @permissionScope Read bookings calendar - including participants
@@ -1462,6 +1496,8 @@ export interface ScheduleClonedEnvelope {
1462
1496
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1463
1497
  * @permissionScope Read Bookings - Including Participants
1464
1498
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1499
+ * @permissionScope Read Bookings - all read permissions
1500
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1465
1501
  * @permissionScope Manage Bookings - all permissions
1466
1502
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1467
1503
  * @permissionScope Read bookings calendar - including participants
@@ -1487,6 +1523,8 @@ export interface ScheduleCreatedEnvelope {
1487
1523
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1488
1524
  * @permissionScope Read Bookings - Including Participants
1489
1525
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1526
+ * @permissionScope Read Bookings - all read permissions
1527
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1490
1528
  * @permissionScope Manage Bookings - all permissions
1491
1529
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1492
1530
  * @permissionScope Read bookings calendar - including participants
@@ -1512,6 +1550,8 @@ export interface ScheduleUpdatedEnvelope {
1512
1550
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1513
1551
  * @permissionScope Read Bookings - Including Participants
1514
1552
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1553
+ * @permissionScope Read Bookings - all read permissions
1554
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1515
1555
  * @permissionScope Manage Bookings - all permissions
1516
1556
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1517
1557
  * @permissionScope Read bookings calendar - including participants
@@ -1561,6 +1601,8 @@ type ScheduleNonNullablePaths = `status` | `defaultLocation.type` | `defaultConf
1561
1601
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1562
1602
  * @permissionScope Read Bookings - Including Participants
1563
1603
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1604
+ * @permissionScope Read Bookings - all read permissions
1605
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1564
1606
  * @permissionScope Manage Bookings - all permissions
1565
1607
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1566
1608
  * @permissionScope Read bookings calendar - including participants
@@ -1585,7 +1627,7 @@ export interface GetScheduleOptions {
1585
1627
  * Default: No personal data is returned.
1586
1628
  * @maxSize 1
1587
1629
  */
1588
- fields?: RequestedFields[];
1630
+ fields?: RequestedFieldsWithLiterals[];
1589
1631
  }
1590
1632
  /**
1591
1633
  * Creates a query to retrieve a list of schedules.
@@ -1635,6 +1677,8 @@ export interface GetScheduleOptions {
1635
1677
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1636
1678
  * @permissionScope Read Bookings - Including Participants
1637
1679
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1680
+ * @permissionScope Read Bookings - all read permissions
1681
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1638
1682
  * @permissionScope Manage Bookings - all permissions
1639
1683
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1640
1684
  * @permissionScope Read bookings calendar - including participants
@@ -1660,7 +1704,7 @@ export interface QuerySchedulesOptions {
1660
1704
  * Default: No personal data is returned.
1661
1705
  * @maxSize 1
1662
1706
  */
1663
- fields?: RequestedFields[] | undefined;
1707
+ fields?: RequestedFieldsWithLiterals[] | undefined;
1664
1708
  }
1665
1709
  interface QueryCursorResult {
1666
1710
  cursors: Cursors;
@@ -1789,7 +1833,7 @@ export interface UpdateSchedule {
1789
1833
  * Default: `ACTIVE`
1790
1834
  * @readonly
1791
1835
  */
1792
- status?: Status;
1836
+ status?: StatusWithLiterals;
1793
1837
  /**
1794
1838
  * Time zone the schedule is associated with in
1795
1839
  * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
@@ -271,6 +271,8 @@ var WebhookIdentityType;
271
271
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
272
272
  * @permissionScope Read Bookings - Including Participants
273
273
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
274
+ * @permissionScope Read Bookings - all read permissions
275
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
274
276
  * @permissionScope Manage Bookings - all permissions
275
277
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
276
278
  * @permissionScope Read bookings calendar - including participants
@@ -353,6 +355,8 @@ exports.getSchedule = getSchedule;
353
355
  * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
354
356
  * @permissionScope Read Bookings - Including Participants
355
357
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
358
+ * @permissionScope Read Bookings - all read permissions
359
+ * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
356
360
  * @permissionScope Manage Bookings - all permissions
357
361
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
358
362
  * @permissionScope Read bookings calendar - including participants