@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
|
@@ -48,13 +48,11 @@ export interface ServiceOptionOptionSpecificDataOneOf {
|
|
|
48
48
|
/** Details about the custom option. Available only for `CUSTOM` options. */
|
|
49
49
|
customData?: CustomServiceOption;
|
|
50
50
|
}
|
|
51
|
-
declare enum
|
|
51
|
+
export declare enum ServiceOptionType {
|
|
52
52
|
UNKNOWN = "UNKNOWN",
|
|
53
53
|
CUSTOM = "CUSTOM",
|
|
54
54
|
STAFF_MEMBER = "STAFF_MEMBER"
|
|
55
55
|
}
|
|
56
|
-
declare type ServiceOptionType = `${ServiceOptionTypeEnum}`;
|
|
57
|
-
export { ServiceOptionTypeEnum as ServiceOptionType };
|
|
58
56
|
export interface CustomServiceOption {
|
|
59
57
|
/**
|
|
60
58
|
* Name of the service option. For example, `Age group`, `Location`, `Equipment`,
|
|
@@ -226,12 +224,10 @@ export interface Sorting {
|
|
|
226
224
|
/** Sort order. */
|
|
227
225
|
order?: SortOrder;
|
|
228
226
|
}
|
|
229
|
-
declare enum
|
|
227
|
+
export declare enum SortOrder {
|
|
230
228
|
ASC = "ASC",
|
|
231
229
|
DESC = "DESC"
|
|
232
230
|
}
|
|
233
|
-
declare type SortOrder = `${SortOrderEnum}`;
|
|
234
|
-
export { SortOrderEnum as SortOrder };
|
|
235
231
|
export interface Paging {
|
|
236
232
|
/** Number of items to load. */
|
|
237
233
|
limit?: number | null;
|
|
@@ -470,7 +466,7 @@ export interface Interval {
|
|
|
470
466
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. minimum: 1, maximum: 86400. */
|
|
471
467
|
duration?: number;
|
|
472
468
|
}
|
|
473
|
-
declare enum
|
|
469
|
+
export declare enum Day {
|
|
474
470
|
/** Undefined. */
|
|
475
471
|
UNDEFINED = "UNDEFINED",
|
|
476
472
|
/** Monday. */
|
|
@@ -488,8 +484,6 @@ declare enum DayEnum {
|
|
|
488
484
|
/** Sunday. */
|
|
489
485
|
SUN = "SUN"
|
|
490
486
|
}
|
|
491
|
-
declare type Day = `${DayEnum}`;
|
|
492
|
-
export { DayEnum as Day };
|
|
493
487
|
export interface Frequency {
|
|
494
488
|
/** 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. */
|
|
495
489
|
repetition?: number | null;
|
|
@@ -517,16 +511,14 @@ export interface LinkedSchedule {
|
|
|
517
511
|
*/
|
|
518
512
|
scheduleOwnerId?: string;
|
|
519
513
|
}
|
|
520
|
-
declare enum
|
|
514
|
+
export declare enum Transparency {
|
|
521
515
|
UNDEFINED = "UNDEFINED",
|
|
522
516
|
/** The schedule can have available slots during the session. */
|
|
523
517
|
FREE = "FREE",
|
|
524
518
|
/** The schedule cannot have available slots during the session. Default value. */
|
|
525
519
|
BUSY = "BUSY"
|
|
526
520
|
}
|
|
527
|
-
declare
|
|
528
|
-
export { TransparencyEnum as Transparency };
|
|
529
|
-
declare enum RecurringIntervalTypeEnum {
|
|
521
|
+
export declare enum RecurringIntervalType {
|
|
530
522
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
531
523
|
UNDEFINED = "UNDEFINED",
|
|
532
524
|
/** A recurring interval of events */
|
|
@@ -536,8 +528,6 @@ declare enum RecurringIntervalTypeEnum {
|
|
|
536
528
|
/** A recurring interval for availability */
|
|
537
529
|
AVAILABILITY = "AVAILABILITY"
|
|
538
530
|
}
|
|
539
|
-
declare type RecurringIntervalType = `${RecurringIntervalTypeEnum}`;
|
|
540
|
-
export { RecurringIntervalTypeEnum as RecurringIntervalType };
|
|
541
531
|
export interface Location {
|
|
542
532
|
/**
|
|
543
533
|
* Location type.
|
|
@@ -552,14 +542,12 @@ export interface Location {
|
|
|
552
542
|
/** 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. */
|
|
553
543
|
customAddress?: Address;
|
|
554
544
|
}
|
|
555
|
-
declare enum
|
|
545
|
+
export declare enum LocationType {
|
|
556
546
|
UNDEFINED = "UNDEFINED",
|
|
557
547
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
558
548
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
559
549
|
CUSTOM = "CUSTOM"
|
|
560
550
|
}
|
|
561
|
-
declare type LocationType = `${LocationTypeEnum}`;
|
|
562
|
-
export { LocationTypeEnum as LocationType };
|
|
563
551
|
/** Physical address */
|
|
564
552
|
export interface Address extends AddressStreetOneOf {
|
|
565
553
|
/** Street name, number and apartment number. */
|
|
@@ -673,15 +661,12 @@ export interface LocationsLocation {
|
|
|
673
661
|
locationTypes?: LocationsLocationType[];
|
|
674
662
|
}
|
|
675
663
|
/** For future use */
|
|
676
|
-
declare enum
|
|
664
|
+
export declare enum LocationStatus {
|
|
677
665
|
ACTIVE = "ACTIVE",
|
|
678
666
|
INACTIVE = "INACTIVE"
|
|
679
667
|
}
|
|
680
668
|
/** For future use */
|
|
681
|
-
declare
|
|
682
|
-
export { LocationStatusEnum as LocationStatus };
|
|
683
|
-
/** For future use */
|
|
684
|
-
declare enum LocationsLocationTypeEnum {
|
|
669
|
+
export declare enum LocationsLocationType {
|
|
685
670
|
UNKNOWN = "UNKNOWN",
|
|
686
671
|
BRANCH = "BRANCH",
|
|
687
672
|
OFFICES = "OFFICES",
|
|
@@ -689,9 +674,6 @@ declare enum LocationsLocationTypeEnum {
|
|
|
689
674
|
HEADQUARTERS = "HEADQUARTERS",
|
|
690
675
|
INVENTORY = "INVENTORY"
|
|
691
676
|
}
|
|
692
|
-
/** For future use */
|
|
693
|
-
declare type LocationsLocationType = `${LocationsLocationTypeEnum}`;
|
|
694
|
-
export { LocationsLocationTypeEnum as LocationsLocationType };
|
|
695
677
|
export interface LocationsAddress {
|
|
696
678
|
/** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
697
679
|
country?: string | null;
|
|
@@ -753,7 +735,7 @@ export interface TimePeriod {
|
|
|
753
735
|
closeTime?: string;
|
|
754
736
|
}
|
|
755
737
|
/** Enumerates the days of the week. */
|
|
756
|
-
declare enum
|
|
738
|
+
export declare enum DayOfWeek {
|
|
757
739
|
MONDAY = "MONDAY",
|
|
758
740
|
TUESDAY = "TUESDAY",
|
|
759
741
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -762,9 +744,6 @@ declare enum DayOfWeekEnum {
|
|
|
762
744
|
SATURDAY = "SATURDAY",
|
|
763
745
|
SUNDAY = "SUNDAY"
|
|
764
746
|
}
|
|
765
|
-
/** Enumerates the days of the week. */
|
|
766
|
-
declare type DayOfWeek = `${DayOfWeekEnum}`;
|
|
767
|
-
export { DayOfWeekEnum as DayOfWeek };
|
|
768
747
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
769
748
|
export interface SpecialHourPeriod {
|
|
770
749
|
/** 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). */
|
|
@@ -881,7 +860,7 @@ export interface Participant {
|
|
|
881
860
|
*/
|
|
882
861
|
inherited?: boolean;
|
|
883
862
|
}
|
|
884
|
-
declare enum
|
|
863
|
+
export declare enum ApprovalStatus {
|
|
885
864
|
/** Default. */
|
|
886
865
|
UNDEFINED = "UNDEFINED",
|
|
887
866
|
/** Pending business approval. */
|
|
@@ -891,23 +870,19 @@ declare enum ApprovalStatusEnum {
|
|
|
891
870
|
/** Declined by the business. */
|
|
892
871
|
DECLINED = "DECLINED"
|
|
893
872
|
}
|
|
894
|
-
declare type ApprovalStatus = `${ApprovalStatusEnum}`;
|
|
895
|
-
export { ApprovalStatusEnum as ApprovalStatus };
|
|
896
873
|
export interface ExternalCalendarOverrides {
|
|
897
874
|
/** Synced title of the external calendar event. */
|
|
898
875
|
title?: string | null;
|
|
899
876
|
/** Synced description of the external calendar event. */
|
|
900
877
|
description?: string | null;
|
|
901
878
|
}
|
|
902
|
-
declare enum
|
|
879
|
+
export declare enum ScheduleStatus {
|
|
903
880
|
UNDEFINED = "UNDEFINED",
|
|
904
881
|
/** The default value when the schedule is created. */
|
|
905
882
|
CREATED = "CREATED",
|
|
906
883
|
/** The schedule has been canceled. */
|
|
907
884
|
CANCELLED = "CANCELLED"
|
|
908
885
|
}
|
|
909
|
-
declare type ScheduleStatus = `${ScheduleStatusEnum}`;
|
|
910
|
-
export { ScheduleStatusEnum as ScheduleStatus };
|
|
911
886
|
export interface Version {
|
|
912
887
|
/** Schedule version number, updated each time the schedule is updated. */
|
|
913
888
|
scheduleVersion?: number | null;
|
|
@@ -945,16 +920,14 @@ export interface CalendarConference {
|
|
|
945
920
|
/** ID of the account owner in the video conferencing service. */
|
|
946
921
|
accountOwnerId?: string | null;
|
|
947
922
|
}
|
|
948
|
-
declare enum
|
|
923
|
+
export declare enum ConferenceType {
|
|
949
924
|
UNDEFINED = "UNDEFINED",
|
|
950
925
|
/** API-generated online meeting. */
|
|
951
926
|
ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
|
|
952
927
|
/** User-defined meeting. */
|
|
953
928
|
CUSTOM = "CUSTOM"
|
|
954
929
|
}
|
|
955
|
-
declare
|
|
956
|
-
export { ConferenceTypeEnum as ConferenceType };
|
|
957
|
-
declare enum ResourceStatusEnum {
|
|
930
|
+
export declare enum ResourceStatus {
|
|
958
931
|
UNDEFINED = "UNDEFINED",
|
|
959
932
|
/** Default status. */
|
|
960
933
|
CREATED = "CREATED",
|
|
@@ -963,21 +936,17 @@ declare enum ResourceStatusEnum {
|
|
|
963
936
|
/** The resource was updated. */
|
|
964
937
|
UPDATED = "UPDATED"
|
|
965
938
|
}
|
|
966
|
-
declare type ResourceStatus = `${ResourceStatusEnum}`;
|
|
967
|
-
export { ResourceStatusEnum as ResourceStatus };
|
|
968
939
|
export interface BusinessLocation {
|
|
969
940
|
/** The ID of the business location. Has to be non-empty */
|
|
970
941
|
locationId?: string;
|
|
971
942
|
}
|
|
972
|
-
declare enum
|
|
943
|
+
export declare enum Event {
|
|
973
944
|
UNDEFINED = "UNDEFINED",
|
|
974
945
|
Updated = "Updated",
|
|
975
946
|
Deleted = "Deleted",
|
|
976
947
|
Created = "Created",
|
|
977
948
|
Schedule_Updated = "Schedule_Updated"
|
|
978
949
|
}
|
|
979
|
-
declare type Event = `${EventEnum}`;
|
|
980
|
-
export { EventEnum as Event };
|
|
981
950
|
export interface Empty {
|
|
982
951
|
}
|
|
983
952
|
/** An event sent in the system once the service is changed. */
|
|
@@ -1127,14 +1096,12 @@ export interface PaymentOptions {
|
|
|
1127
1096
|
/** Whether a booking made for the service can be paid using Wix Pricing Plans. */
|
|
1128
1097
|
wixPaidPlan?: boolean | null;
|
|
1129
1098
|
}
|
|
1130
|
-
declare enum
|
|
1099
|
+
export declare enum ServiceStatus {
|
|
1131
1100
|
/** The default service status. */
|
|
1132
1101
|
CREATED = "CREATED",
|
|
1133
1102
|
/** The service is deleted. */
|
|
1134
1103
|
DELETED = "DELETED"
|
|
1135
1104
|
}
|
|
1136
|
-
declare type ServiceStatus = `${ServiceStatusEnum}`;
|
|
1137
|
-
export { ServiceStatusEnum as ServiceStatus };
|
|
1138
1105
|
/**
|
|
1139
1106
|
* 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.
|
|
1140
1107
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
@@ -1185,14 +1152,12 @@ export interface Settings {
|
|
|
1185
1152
|
/** User-selected keyword terms for a specific page. */
|
|
1186
1153
|
keywords?: Keyword[];
|
|
1187
1154
|
}
|
|
1188
|
-
declare enum
|
|
1155
|
+
export declare enum ServiceNotificationEvent {
|
|
1189
1156
|
Unspecified = "Unspecified",
|
|
1190
1157
|
Updated = "Updated",
|
|
1191
1158
|
Deleted = "Deleted",
|
|
1192
1159
|
Created = "Created"
|
|
1193
1160
|
}
|
|
1194
|
-
declare type ServiceNotificationEvent = `${ServiceNotificationEventEnum}`;
|
|
1195
|
-
export { ServiceNotificationEventEnum as ServiceNotificationEvent };
|
|
1196
1161
|
/**
|
|
1197
1162
|
* Defines the Bookings Policy applied to the business's services. The policy can be overridden for a service when setting the `Service.BookingsPolicy` property.
|
|
1198
1163
|
* Unless overridden, each service inherits the settings in the business policy.
|
|
@@ -1484,7 +1449,7 @@ export interface ExternalCalendarInfo {
|
|
|
1484
1449
|
/** The external calendar type (e.g. Google Calendar, iCal, etc). */
|
|
1485
1450
|
calendarType?: CalendarType;
|
|
1486
1451
|
}
|
|
1487
|
-
declare enum
|
|
1452
|
+
export declare enum CalendarType {
|
|
1488
1453
|
UNDEFINED = "UNDEFINED",
|
|
1489
1454
|
GOOGLE = "GOOGLE",
|
|
1490
1455
|
I_CAL = "I_CAL",
|
|
@@ -1495,9 +1460,7 @@ declare enum CalendarTypeEnum {
|
|
|
1495
1460
|
MICROSOFT = "MICROSOFT",
|
|
1496
1461
|
OTHER = "OTHER"
|
|
1497
1462
|
}
|
|
1498
|
-
declare
|
|
1499
|
-
export { CalendarTypeEnum as CalendarType };
|
|
1500
|
-
declare enum StatusEnum {
|
|
1463
|
+
export declare enum Status {
|
|
1501
1464
|
UNDEFINED = "UNDEFINED",
|
|
1502
1465
|
/** The session is confirmed. Default status. */
|
|
1503
1466
|
CONFIRMED = "CONFIRMED",
|
|
@@ -1508,9 +1471,7 @@ declare enum StatusEnum {
|
|
|
1508
1471
|
*/
|
|
1509
1472
|
CANCELLED = "CANCELLED"
|
|
1510
1473
|
}
|
|
1511
|
-
declare
|
|
1512
|
-
export { StatusEnum as Status };
|
|
1513
|
-
declare enum SessionTypeEnum {
|
|
1474
|
+
export declare enum SessionType {
|
|
1514
1475
|
UNDEFINED = "UNDEFINED",
|
|
1515
1476
|
/**
|
|
1516
1477
|
* The session creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
@@ -1524,8 +1485,6 @@ declare enum SessionTypeEnum {
|
|
|
1524
1485
|
/** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
|
|
1525
1486
|
AVAILABILITY = "AVAILABILITY"
|
|
1526
1487
|
}
|
|
1527
|
-
declare type SessionType = `${SessionTypeEnum}`;
|
|
1528
|
-
export { SessionTypeEnum as SessionType };
|
|
1529
1488
|
export interface SessionVersion {
|
|
1530
1489
|
/** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
|
|
1531
1490
|
number?: string | null;
|
|
@@ -1801,14 +1760,11 @@ export interface AddressHint {
|
|
|
1801
1760
|
placement?: PlacementType;
|
|
1802
1761
|
}
|
|
1803
1762
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
1804
|
-
declare enum
|
|
1763
|
+
export declare enum PlacementType {
|
|
1805
1764
|
BEFORE = "BEFORE",
|
|
1806
1765
|
AFTER = "AFTER",
|
|
1807
1766
|
REPLACE = "REPLACE"
|
|
1808
1767
|
}
|
|
1809
|
-
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
1810
|
-
declare type PlacementType = `${PlacementTypeEnum}`;
|
|
1811
|
-
export { PlacementTypeEnum as PlacementType };
|
|
1812
1768
|
/** Geocoordinates for a particular address. */
|
|
1813
1769
|
export interface GeoCoordinates {
|
|
1814
1770
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -1834,13 +1790,11 @@ export interface SupportedLanguage {
|
|
|
1834
1790
|
/** How the language will be resolved. For internal use. */
|
|
1835
1791
|
resolutionMethod?: ResolutionMethod;
|
|
1836
1792
|
}
|
|
1837
|
-
declare enum
|
|
1793
|
+
export declare enum ResolutionMethod {
|
|
1838
1794
|
QUERY_PARAM = "QUERY_PARAM",
|
|
1839
1795
|
SUBDOMAIN = "SUBDOMAIN",
|
|
1840
1796
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
1841
1797
|
}
|
|
1842
|
-
declare type ResolutionMethod = `${ResolutionMethodEnum}`;
|
|
1843
|
-
export { ResolutionMethodEnum as ResolutionMethod };
|
|
1844
1798
|
export interface ConsentPolicy {
|
|
1845
1799
|
/** Whether the site uses cookies that are essential to site operation. */
|
|
1846
1800
|
essential?: boolean | null;
|