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