@wix/bookings 1.0.294 → 1.0.296
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.d.ts +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js +5 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.public.d.ts +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +12 -14
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +17 -15
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +9 -9
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +12 -39
- package/build/cjs/src/bookings-calendar-v1-session.types.js +88 -100
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +14 -40
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +93 -101
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +2 -2
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +141 -160
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +146 -161
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js +13 -13
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js +18 -14
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js +98 -111
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +103 -112
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.d.ts +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.js +5 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +3 -3
- package/build/cjs/src/bookings-catalog-v1-resource.types.js +13 -13
- package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +18 -14
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js +5 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +3 -3
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -169
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +153 -170
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.d.ts +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js +5 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +76 -87
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +81 -88
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.meta.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service.meta.js +5 -1
- package/build/cjs/src/bookings-services-v2-service.meta.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +11 -11
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +27 -83
- package/build/cjs/src/bookings-services-v2-service.types.js +190 -217
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +28 -83
- package/build/cjs/src/bookings-services-v2-service.universal.js +195 -218
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v1-category.meta.js +5 -1
- package/build/cjs/src/bookings-v1-category.meta.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.public.d.ts +2 -2
- package/build/cjs/src/bookings-v1-category.types.js +2 -2
- package/build/cjs/src/bookings-v1-category.types.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.universal.js +7 -3
- package/build/cjs/src/bookings-v1-category.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-attendance.meta.js +5 -1
- package/build/cjs/src/bookings-v2-attendance.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.public.d.ts +2 -2
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +2 -11
- package/build/cjs/src/bookings-v2-attendance.types.js +11 -13
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +3 -11
- package/build/cjs/src/bookings-v2-attendance.universal.js +16 -14
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-booking.meta.js +5 -1
- package/build/cjs/src/bookings-v2-booking.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.public.d.ts +9 -9
- package/build/cjs/src/bookings-v2-booking.types.d.ts +12 -46
- package/build/cjs/src/bookings-v2-booking.types.js +85 -97
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +12 -45
- package/build/cjs/src/bookings-v2-booking.universal.js +90 -98
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-price-info.meta.js +5 -1
- package/build/cjs/src/bookings-v2-price-info.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +9 -37
- package/build/cjs/src/bookings-v2-price-info.types.js +65 -74
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +9 -37
- package/build/cjs/src/bookings-v2-price-info.universal.js +70 -75
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.meta.d.ts +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.public.d.ts +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
- package/build/es/src/bookings-availability-v1-slot-availability.types.js +12 -14
- package/build/es/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +12 -14
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +9 -9
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +12 -39
- package/build/es/src/bookings-calendar-v1-session.types.js +88 -100
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +14 -40
- package/build/es/src/bookings-calendar-v1-session.universal.js +88 -100
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +2 -2
- package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js +141 -160
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +141 -160
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-feed-event.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
- package/build/es/src/bookings-calendar-v2-session-view.types.js +98 -111
- package/build/es/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
- package/build/es/src/bookings-calendar-v2-session-view.universal.js +98 -111
- package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.meta.d.ts +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +3 -3
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +3 -3
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -169
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +148 -169
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.meta.d.ts +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +76 -87
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +76 -87
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.meta.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +11 -11
- package/build/es/src/bookings-services-v2-service.types.d.ts +27 -83
- package/build/es/src/bookings-services-v2-service.types.js +190 -217
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +28 -83
- package/build/es/src/bookings-services-v2-service.universal.js +190 -217
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-v1-category.meta.d.ts +1 -1
- package/build/es/src/bookings-v1-category.public.d.ts +2 -2
- package/build/es/src/bookings-v1-category.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-attendance.public.d.ts +2 -2
- package/build/es/src/bookings-v2-attendance.types.d.ts +2 -11
- package/build/es/src/bookings-v2-attendance.types.js +11 -13
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +3 -11
- package/build/es/src/bookings-v2-attendance.universal.js +11 -13
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-booking.public.d.ts +9 -9
- package/build/es/src/bookings-v2-booking.types.d.ts +12 -46
- package/build/es/src/bookings-v2-booking.types.js +85 -97
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +12 -45
- package/build/es/src/bookings-v2-booking.universal.js +85 -97
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +9 -37
- package/build/es/src/bookings-v2-price-info.types.js +65 -74
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +9 -37
- package/build/es/src/bookings-v2-price-info.universal.js +65 -74
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -54,13 +54,11 @@ export interface ServiceOptionOptionSpecificDataOneOf {
|
|
|
54
54
|
/** Details about the custom option. Available only for `CUSTOM` options. */
|
|
55
55
|
customData?: CustomServiceOption;
|
|
56
56
|
}
|
|
57
|
-
declare enum
|
|
57
|
+
export declare enum ServiceOptionType {
|
|
58
58
|
UNKNOWN = "UNKNOWN",
|
|
59
59
|
CUSTOM = "CUSTOM",
|
|
60
60
|
STAFF_MEMBER = "STAFF_MEMBER"
|
|
61
61
|
}
|
|
62
|
-
declare type ServiceOptionType = `${ServiceOptionTypeEnum}`;
|
|
63
|
-
export { ServiceOptionTypeEnum as ServiceOptionType };
|
|
64
62
|
export interface CustomServiceOption {
|
|
65
63
|
/**
|
|
66
64
|
* Name of the service option. For example, `Age group`, `Location`, `Equipment`,
|
|
@@ -232,12 +230,10 @@ export interface Sorting {
|
|
|
232
230
|
/** Sort order. */
|
|
233
231
|
order?: SortOrder;
|
|
234
232
|
}
|
|
235
|
-
declare enum
|
|
233
|
+
export declare enum SortOrder {
|
|
236
234
|
ASC = "ASC",
|
|
237
235
|
DESC = "DESC"
|
|
238
236
|
}
|
|
239
|
-
declare type SortOrder = `${SortOrderEnum}`;
|
|
240
|
-
export { SortOrderEnum as SortOrder };
|
|
241
237
|
export interface Paging {
|
|
242
238
|
/** Number of items to load. */
|
|
243
239
|
limit?: number | null;
|
|
@@ -453,7 +449,7 @@ export interface Interval {
|
|
|
453
449
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. minimum: 1, maximum: 86400. */
|
|
454
450
|
duration?: number;
|
|
455
451
|
}
|
|
456
|
-
declare enum
|
|
452
|
+
export declare enum Day {
|
|
457
453
|
/** Undefined. */
|
|
458
454
|
UNDEFINED = "UNDEFINED",
|
|
459
455
|
/** Monday. */
|
|
@@ -471,8 +467,6 @@ declare enum DayEnum {
|
|
|
471
467
|
/** Sunday. */
|
|
472
468
|
SUN = "SUN"
|
|
473
469
|
}
|
|
474
|
-
declare type Day = `${DayEnum}`;
|
|
475
|
-
export { DayEnum as Day };
|
|
476
470
|
export interface Frequency {
|
|
477
471
|
/** The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52. */
|
|
478
472
|
repetition?: number | null;
|
|
@@ -500,16 +494,14 @@ export interface LinkedSchedule {
|
|
|
500
494
|
*/
|
|
501
495
|
scheduleOwnerId?: string;
|
|
502
496
|
}
|
|
503
|
-
declare enum
|
|
497
|
+
export declare enum Transparency {
|
|
504
498
|
UNDEFINED = "UNDEFINED",
|
|
505
499
|
/** The schedule can have available slots during the session. */
|
|
506
500
|
FREE = "FREE",
|
|
507
501
|
/** The schedule cannot have available slots during the session. Default value. */
|
|
508
502
|
BUSY = "BUSY"
|
|
509
503
|
}
|
|
510
|
-
declare
|
|
511
|
-
export { TransparencyEnum as Transparency };
|
|
512
|
-
declare enum RecurringIntervalTypeEnum {
|
|
504
|
+
export declare enum RecurringIntervalType {
|
|
513
505
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
514
506
|
UNDEFINED = "UNDEFINED",
|
|
515
507
|
/** A recurring interval of events */
|
|
@@ -519,8 +511,6 @@ declare enum RecurringIntervalTypeEnum {
|
|
|
519
511
|
/** A recurring interval for availability */
|
|
520
512
|
AVAILABILITY = "AVAILABILITY"
|
|
521
513
|
}
|
|
522
|
-
declare type RecurringIntervalType = `${RecurringIntervalTypeEnum}`;
|
|
523
|
-
export { RecurringIntervalTypeEnum as RecurringIntervalType };
|
|
524
514
|
export interface Location {
|
|
525
515
|
/**
|
|
526
516
|
* Location type.
|
|
@@ -535,14 +525,12 @@ export interface Location {
|
|
|
535
525
|
/** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
|
|
536
526
|
customAddress?: Address;
|
|
537
527
|
}
|
|
538
|
-
declare enum
|
|
528
|
+
export declare enum LocationType {
|
|
539
529
|
UNDEFINED = "UNDEFINED",
|
|
540
530
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
541
531
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
542
532
|
CUSTOM = "CUSTOM"
|
|
543
533
|
}
|
|
544
|
-
declare type LocationType = `${LocationTypeEnum}`;
|
|
545
|
-
export { LocationTypeEnum as LocationType };
|
|
546
534
|
/** Physical address */
|
|
547
535
|
export interface Address extends AddressStreetOneOf {
|
|
548
536
|
/** Street name, number and apartment number. */
|
|
@@ -656,15 +644,12 @@ export interface LocationsLocation {
|
|
|
656
644
|
locationTypes?: LocationsLocationType[];
|
|
657
645
|
}
|
|
658
646
|
/** For future use */
|
|
659
|
-
declare enum
|
|
647
|
+
export declare enum LocationStatus {
|
|
660
648
|
ACTIVE = "ACTIVE",
|
|
661
649
|
INACTIVE = "INACTIVE"
|
|
662
650
|
}
|
|
663
651
|
/** For future use */
|
|
664
|
-
declare
|
|
665
|
-
export { LocationStatusEnum as LocationStatus };
|
|
666
|
-
/** For future use */
|
|
667
|
-
declare enum LocationsLocationTypeEnum {
|
|
652
|
+
export declare enum LocationsLocationType {
|
|
668
653
|
UNKNOWN = "UNKNOWN",
|
|
669
654
|
BRANCH = "BRANCH",
|
|
670
655
|
OFFICES = "OFFICES",
|
|
@@ -672,9 +657,6 @@ declare enum LocationsLocationTypeEnum {
|
|
|
672
657
|
HEADQUARTERS = "HEADQUARTERS",
|
|
673
658
|
INVENTORY = "INVENTORY"
|
|
674
659
|
}
|
|
675
|
-
/** For future use */
|
|
676
|
-
declare type LocationsLocationType = `${LocationsLocationTypeEnum}`;
|
|
677
|
-
export { LocationsLocationTypeEnum as LocationsLocationType };
|
|
678
660
|
export interface LocationsAddress {
|
|
679
661
|
/** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
680
662
|
country?: string | null;
|
|
@@ -734,7 +716,7 @@ export interface TimePeriod {
|
|
|
734
716
|
closeTime?: string;
|
|
735
717
|
}
|
|
736
718
|
/** Enumerates the days of the week. */
|
|
737
|
-
declare enum
|
|
719
|
+
export declare enum DayOfWeek {
|
|
738
720
|
MONDAY = "MONDAY",
|
|
739
721
|
TUESDAY = "TUESDAY",
|
|
740
722
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -743,9 +725,6 @@ declare enum DayOfWeekEnum {
|
|
|
743
725
|
SATURDAY = "SATURDAY",
|
|
744
726
|
SUNDAY = "SUNDAY"
|
|
745
727
|
}
|
|
746
|
-
/** Enumerates the days of the week. */
|
|
747
|
-
declare type DayOfWeek = `${DayOfWeekEnum}`;
|
|
748
|
-
export { DayOfWeekEnum as DayOfWeek };
|
|
749
728
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
750
729
|
export interface SpecialHourPeriod {
|
|
751
730
|
/** 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). */
|
|
@@ -862,7 +841,7 @@ export interface Participant {
|
|
|
862
841
|
*/
|
|
863
842
|
inherited?: boolean;
|
|
864
843
|
}
|
|
865
|
-
declare enum
|
|
844
|
+
export declare enum ApprovalStatus {
|
|
866
845
|
/** Default. */
|
|
867
846
|
UNDEFINED = "UNDEFINED",
|
|
868
847
|
/** Pending business approval. */
|
|
@@ -872,23 +851,19 @@ declare enum ApprovalStatusEnum {
|
|
|
872
851
|
/** Declined by the business. */
|
|
873
852
|
DECLINED = "DECLINED"
|
|
874
853
|
}
|
|
875
|
-
declare type ApprovalStatus = `${ApprovalStatusEnum}`;
|
|
876
|
-
export { ApprovalStatusEnum as ApprovalStatus };
|
|
877
854
|
export interface ExternalCalendarOverrides {
|
|
878
855
|
/** Synced title of the external calendar event. */
|
|
879
856
|
title?: string | null;
|
|
880
857
|
/** Synced description of the external calendar event. */
|
|
881
858
|
description?: string | null;
|
|
882
859
|
}
|
|
883
|
-
declare enum
|
|
860
|
+
export declare enum ScheduleStatus {
|
|
884
861
|
UNDEFINED = "UNDEFINED",
|
|
885
862
|
/** The default value when the schedule is created. */
|
|
886
863
|
CREATED = "CREATED",
|
|
887
864
|
/** The schedule has been canceled. */
|
|
888
865
|
CANCELLED = "CANCELLED"
|
|
889
866
|
}
|
|
890
|
-
declare type ScheduleStatus = `${ScheduleStatusEnum}`;
|
|
891
|
-
export { ScheduleStatusEnum as ScheduleStatus };
|
|
892
867
|
export interface Version {
|
|
893
868
|
/** Schedule version number, updated each time the schedule is updated. */
|
|
894
869
|
scheduleVersion?: number | null;
|
|
@@ -926,16 +901,14 @@ export interface CalendarConference {
|
|
|
926
901
|
/** ID of the account owner in the video conferencing service. */
|
|
927
902
|
accountOwnerId?: string | null;
|
|
928
903
|
}
|
|
929
|
-
declare enum
|
|
904
|
+
export declare enum ConferenceType {
|
|
930
905
|
UNDEFINED = "UNDEFINED",
|
|
931
906
|
/** API-generated online meeting. */
|
|
932
907
|
ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
|
|
933
908
|
/** User-defined meeting. */
|
|
934
909
|
CUSTOM = "CUSTOM"
|
|
935
910
|
}
|
|
936
|
-
declare
|
|
937
|
-
export { ConferenceTypeEnum as ConferenceType };
|
|
938
|
-
declare enum ResourceStatusEnum {
|
|
911
|
+
export declare enum ResourceStatus {
|
|
939
912
|
UNDEFINED = "UNDEFINED",
|
|
940
913
|
/** Default status. */
|
|
941
914
|
CREATED = "CREATED",
|
|
@@ -944,21 +917,17 @@ declare enum ResourceStatusEnum {
|
|
|
944
917
|
/** The resource was updated. */
|
|
945
918
|
UPDATED = "UPDATED"
|
|
946
919
|
}
|
|
947
|
-
declare type ResourceStatus = `${ResourceStatusEnum}`;
|
|
948
|
-
export { ResourceStatusEnum as ResourceStatus };
|
|
949
920
|
export interface BusinessLocation {
|
|
950
921
|
/** The ID of the business location. Has to be non-empty */
|
|
951
922
|
locationId?: string;
|
|
952
923
|
}
|
|
953
|
-
declare enum
|
|
924
|
+
export declare enum Event {
|
|
954
925
|
UNDEFINED = "UNDEFINED",
|
|
955
926
|
Updated = "Updated",
|
|
956
927
|
Deleted = "Deleted",
|
|
957
928
|
Created = "Created",
|
|
958
929
|
Schedule_Updated = "Schedule_Updated"
|
|
959
930
|
}
|
|
960
|
-
declare type Event = `${EventEnum}`;
|
|
961
|
-
export { EventEnum as Event };
|
|
962
931
|
export interface Empty {
|
|
963
932
|
}
|
|
964
933
|
/** An event sent in the system once the service is changed. */
|
|
@@ -1108,14 +1077,12 @@ export interface PaymentOptions {
|
|
|
1108
1077
|
/** Whether a booking made for the service can be paid using Wix Pricing Plans. */
|
|
1109
1078
|
wixPaidPlan?: boolean | null;
|
|
1110
1079
|
}
|
|
1111
|
-
declare enum
|
|
1080
|
+
export declare enum ServiceStatus {
|
|
1112
1081
|
/** The default service status. */
|
|
1113
1082
|
CREATED = "CREATED",
|
|
1114
1083
|
/** The service is deleted. */
|
|
1115
1084
|
DELETED = "DELETED"
|
|
1116
1085
|
}
|
|
1117
|
-
declare type ServiceStatus = `${ServiceStatusEnum}`;
|
|
1118
|
-
export { ServiceStatusEnum as ServiceStatus };
|
|
1119
1086
|
/**
|
|
1120
1087
|
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
1121
1088
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
@@ -1166,14 +1133,12 @@ export interface Settings {
|
|
|
1166
1133
|
/** User-selected keyword terms for a specific page. */
|
|
1167
1134
|
keywords?: Keyword[];
|
|
1168
1135
|
}
|
|
1169
|
-
declare enum
|
|
1136
|
+
export declare enum ServiceNotificationEvent {
|
|
1170
1137
|
Unspecified = "Unspecified",
|
|
1171
1138
|
Updated = "Updated",
|
|
1172
1139
|
Deleted = "Deleted",
|
|
1173
1140
|
Created = "Created"
|
|
1174
1141
|
}
|
|
1175
|
-
declare type ServiceNotificationEvent = `${ServiceNotificationEventEnum}`;
|
|
1176
|
-
export { ServiceNotificationEventEnum as ServiceNotificationEvent };
|
|
1177
1142
|
/**
|
|
1178
1143
|
* Defines the Bookings Policy applied to the business's services. The policy can be overridden for a service when setting the `Service.BookingsPolicy` property.
|
|
1179
1144
|
* Unless overridden, each service inherits the settings in the business policy.
|
|
@@ -1465,7 +1430,7 @@ export interface ExternalCalendarInfo {
|
|
|
1465
1430
|
/** The external calendar type (e.g. Google Calendar, iCal, etc). */
|
|
1466
1431
|
calendarType?: CalendarType;
|
|
1467
1432
|
}
|
|
1468
|
-
declare enum
|
|
1433
|
+
export declare enum CalendarType {
|
|
1469
1434
|
UNDEFINED = "UNDEFINED",
|
|
1470
1435
|
GOOGLE = "GOOGLE",
|
|
1471
1436
|
I_CAL = "I_CAL",
|
|
@@ -1476,9 +1441,7 @@ declare enum CalendarTypeEnum {
|
|
|
1476
1441
|
MICROSOFT = "MICROSOFT",
|
|
1477
1442
|
OTHER = "OTHER"
|
|
1478
1443
|
}
|
|
1479
|
-
declare
|
|
1480
|
-
export { CalendarTypeEnum as CalendarType };
|
|
1481
|
-
declare enum StatusEnum {
|
|
1444
|
+
export declare enum Status {
|
|
1482
1445
|
UNDEFINED = "UNDEFINED",
|
|
1483
1446
|
/** The session is confirmed. Default status. */
|
|
1484
1447
|
CONFIRMED = "CONFIRMED",
|
|
@@ -1489,9 +1452,7 @@ declare enum StatusEnum {
|
|
|
1489
1452
|
*/
|
|
1490
1453
|
CANCELLED = "CANCELLED"
|
|
1491
1454
|
}
|
|
1492
|
-
declare
|
|
1493
|
-
export { StatusEnum as Status };
|
|
1494
|
-
declare enum SessionTypeEnum {
|
|
1455
|
+
export declare enum SessionType {
|
|
1495
1456
|
UNDEFINED = "UNDEFINED",
|
|
1496
1457
|
/**
|
|
1497
1458
|
* The session creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
@@ -1505,8 +1466,6 @@ declare enum SessionTypeEnum {
|
|
|
1505
1466
|
/** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
|
|
1506
1467
|
AVAILABILITY = "AVAILABILITY"
|
|
1507
1468
|
}
|
|
1508
|
-
declare type SessionType = `${SessionTypeEnum}`;
|
|
1509
|
-
export { SessionTypeEnum as SessionType };
|
|
1510
1469
|
export interface SessionVersion {
|
|
1511
1470
|
/** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
|
|
1512
1471
|
number?: string | null;
|
|
@@ -1782,14 +1741,11 @@ export interface AddressHint {
|
|
|
1782
1741
|
placement?: PlacementType;
|
|
1783
1742
|
}
|
|
1784
1743
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
1785
|
-
declare enum
|
|
1744
|
+
export declare enum PlacementType {
|
|
1786
1745
|
BEFORE = "BEFORE",
|
|
1787
1746
|
AFTER = "AFTER",
|
|
1788
1747
|
REPLACE = "REPLACE"
|
|
1789
1748
|
}
|
|
1790
|
-
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
1791
|
-
declare type PlacementType = `${PlacementTypeEnum}`;
|
|
1792
|
-
export { PlacementTypeEnum as PlacementType };
|
|
1793
1749
|
/** Geocoordinates for a particular address. */
|
|
1794
1750
|
export interface GeoCoordinates {
|
|
1795
1751
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -1815,13 +1771,11 @@ export interface SupportedLanguage {
|
|
|
1815
1771
|
/** How the language will be resolved. For internal use. */
|
|
1816
1772
|
resolutionMethod?: ResolutionMethod;
|
|
1817
1773
|
}
|
|
1818
|
-
declare enum
|
|
1774
|
+
export declare enum ResolutionMethod {
|
|
1819
1775
|
QUERY_PARAM = "QUERY_PARAM",
|
|
1820
1776
|
SUBDOMAIN = "SUBDOMAIN",
|
|
1821
1777
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
1822
1778
|
}
|
|
1823
|
-
declare type ResolutionMethod = `${ResolutionMethodEnum}`;
|
|
1824
|
-
export { ResolutionMethodEnum as ResolutionMethod };
|
|
1825
1779
|
export interface ConsentPolicy {
|
|
1826
1780
|
/** Whether the site uses cookies that are essential to site operation. */
|
|
1827
1781
|
essential?: boolean | null;
|
|
@@ -2307,3 +2261,4 @@ export interface ServiceOptionsAndVariantsListQueryBuilder {
|
|
|
2307
2261
|
/** @documentationMaturity preview */
|
|
2308
2262
|
find: () => Promise<ServiceOptionsAndVariantsListQueryResult>;
|
|
2309
2263
|
}
|
|
2264
|
+
export {};
|