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