@wix/auto_sdk_bookings_bookings 1.0.58 → 1.0.60
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.d.ts +5 -5
- package/build/cjs/index.js +7 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +199 -111
- package/build/cjs/index.typings.js +7 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +70 -70
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs +7 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +199 -111
- package/build/es/index.typings.mjs +7 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +70 -70
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.js +7 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +199 -111
- package/build/internal/cjs/index.typings.js +7 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +70 -70
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.mjs +7 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +199 -111
- package/build/internal/es/index.typings.mjs +7 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +70 -70
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -809,68 +809,162 @@ interface BookingFormFilled {
|
|
|
809
809
|
*/
|
|
810
810
|
formId?: string | null;
|
|
811
811
|
}
|
|
812
|
-
|
|
812
|
+
/** Request for GetAnonymousActionDetails */
|
|
813
|
+
interface GetAnonymousActionDetailsRequest {
|
|
814
|
+
/** @format GUID */
|
|
815
|
+
bookingId?: string | null;
|
|
816
|
+
}
|
|
817
|
+
/** Response for GetAnonymousActionDetails */
|
|
818
|
+
interface GetAnonymousActionDetailsResponse {
|
|
813
819
|
/**
|
|
814
|
-
*
|
|
815
|
-
*
|
|
820
|
+
* Token for anonymous access to manage the booking.
|
|
821
|
+
* It represents a symmetrically encrypted and URL-safe string containing the booking ID.
|
|
822
|
+
* This token is required for canceling or rescheduling the booking without authentication.
|
|
823
|
+
* @minLength 32
|
|
824
|
+
* @maxLength 2048
|
|
816
825
|
*/
|
|
817
|
-
|
|
826
|
+
token?: string | null;
|
|
827
|
+
/** @format GUID */
|
|
828
|
+
clientId?: string | null;
|
|
829
|
+
anonymousBookingUrls?: AnonymousBookingUrls;
|
|
830
|
+
}
|
|
831
|
+
interface AnonymousBookingUrls {
|
|
818
832
|
/**
|
|
819
|
-
* The
|
|
820
|
-
* @
|
|
833
|
+
* The base URL for the booking links
|
|
834
|
+
* @maxLength 2048
|
|
821
835
|
*/
|
|
822
|
-
|
|
836
|
+
baseUrl?: string | null;
|
|
823
837
|
/**
|
|
824
|
-
* The
|
|
825
|
-
* @
|
|
838
|
+
* The cancellation URL for the booking, which contains an anonymous token and AOth clientId
|
|
839
|
+
* @maxLength 2048
|
|
826
840
|
*/
|
|
827
|
-
|
|
841
|
+
anonymousCancellationUrl?: string | null;
|
|
828
842
|
/**
|
|
829
|
-
*
|
|
830
|
-
* @
|
|
843
|
+
* The reschedule URL for the booking, which contains an anonymous token and AOth clientId
|
|
844
|
+
* @maxLength 2048
|
|
831
845
|
*/
|
|
832
|
-
|
|
846
|
+
anonymousRescheduleUrl?: string | null;
|
|
847
|
+
}
|
|
848
|
+
/** Request for CancelBookingAnonymously */
|
|
849
|
+
interface CancelBookingAnonymouslyRequest {
|
|
833
850
|
/**
|
|
834
|
-
*
|
|
835
|
-
* @
|
|
851
|
+
* The token provided in the booking links for anonymous access
|
|
852
|
+
* @maxLength 2048
|
|
836
853
|
*/
|
|
837
|
-
|
|
854
|
+
token?: string | null;
|
|
838
855
|
/**
|
|
839
|
-
*
|
|
840
|
-
*
|
|
856
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
857
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
858
|
+
* managing the booking.
|
|
841
859
|
*/
|
|
842
|
-
|
|
860
|
+
revision?: string | null;
|
|
861
|
+
}
|
|
862
|
+
/** Response for CancelBookingAnonymously */
|
|
863
|
+
interface CancelBookingAnonymouslyResponse {
|
|
864
|
+
/** Canceled booking. */
|
|
865
|
+
booking?: Booking;
|
|
866
|
+
}
|
|
867
|
+
/** Request for RescheduleBookingAnonymously */
|
|
868
|
+
interface RescheduleBookingAnonymouslyRequest {
|
|
843
869
|
/**
|
|
844
|
-
*
|
|
845
|
-
* @
|
|
870
|
+
* The token provided in the booking links for anonymous access
|
|
871
|
+
* @maxLength 2048
|
|
846
872
|
*/
|
|
847
|
-
|
|
873
|
+
token?: string | null;
|
|
874
|
+
/** New slot of the booking. */
|
|
875
|
+
slot?: V2Slot;
|
|
848
876
|
/**
|
|
849
|
-
*
|
|
850
|
-
*
|
|
877
|
+
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
878
|
+
* To prevent conflicting changes, the current revision must be passed when
|
|
879
|
+
* rescheduling the booking.
|
|
851
880
|
*/
|
|
852
|
-
|
|
881
|
+
revision?: string | null;
|
|
853
882
|
}
|
|
854
|
-
|
|
855
|
-
|
|
883
|
+
interface V2Slot {
|
|
884
|
+
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
885
|
+
sessionId?: string | null;
|
|
886
|
+
/** Service identifier. Required. */
|
|
887
|
+
serviceId?: string;
|
|
888
|
+
/** Schedule identifier. Required. */
|
|
889
|
+
scheduleId?: string;
|
|
890
|
+
/** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
891
|
+
startDate?: string | null;
|
|
892
|
+
/** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
893
|
+
endDate?: string | null;
|
|
894
|
+
/** The timezone according to which the slot is calculated and presented. */
|
|
895
|
+
timezone?: string | null;
|
|
856
896
|
/**
|
|
857
|
-
* The
|
|
858
|
-
*
|
|
897
|
+
* The resource required for this slot.
|
|
898
|
+
* When populated, the specified resource will be assigned to the slot upon confirmation according to its availability.
|
|
899
|
+
* When empty, if `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation.
|
|
900
|
+
* Otherwise, one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
859
901
|
*/
|
|
860
|
-
|
|
902
|
+
resource?: SlotSlotResource;
|
|
903
|
+
/** Geographic location of the slot. */
|
|
904
|
+
location?: SlotLocation;
|
|
861
905
|
/**
|
|
862
|
-
*
|
|
906
|
+
* Calendar event ID - not supported.
|
|
907
|
+
* If not empty, on all write flows (create/update), it takes priority over `sessionId`.
|
|
908
|
+
* So if both `sessionId` and `eventId` are provided, the `sessionId` will be based on the `eventId`.
|
|
909
|
+
* Otherwise, if `eventId` is empty on write flow,
|
|
910
|
+
* @minLength 36
|
|
911
|
+
* @maxLength 250
|
|
912
|
+
*/
|
|
913
|
+
eventId?: string | null;
|
|
914
|
+
}
|
|
915
|
+
declare enum LocationLocationType {
|
|
916
|
+
/** Undefined location type. */
|
|
917
|
+
UNDEFINED = "UNDEFINED",
|
|
918
|
+
/** The business address as set in the site’s general settings. */
|
|
919
|
+
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
920
|
+
/** The address set when creating the service. */
|
|
921
|
+
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
922
|
+
/** The address set for the individual session. */
|
|
923
|
+
CUSTOM = "CUSTOM"
|
|
924
|
+
}
|
|
925
|
+
/** @enumType */
|
|
926
|
+
type LocationLocationTypeWithLiterals = LocationLocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
927
|
+
interface SlotSlotResource {
|
|
928
|
+
/**
|
|
929
|
+
* Resource ID.
|
|
863
930
|
* @format GUID
|
|
931
|
+
* @readonly
|
|
864
932
|
*/
|
|
865
|
-
|
|
933
|
+
_id?: string | null;
|
|
866
934
|
/**
|
|
867
|
-
*
|
|
935
|
+
* Resource name.
|
|
936
|
+
* @maxLength 1200
|
|
937
|
+
*/
|
|
938
|
+
name?: string | null;
|
|
939
|
+
}
|
|
940
|
+
interface SlotLocation {
|
|
941
|
+
/**
|
|
942
|
+
* Business Location ID. Present if the location is a business location.
|
|
868
943
|
* @format GUID
|
|
869
944
|
*/
|
|
870
|
-
|
|
945
|
+
_id?: string | null;
|
|
946
|
+
/** Location name. */
|
|
947
|
+
name?: string | null;
|
|
948
|
+
/** A string containing the full address of this location. */
|
|
949
|
+
formattedAddress?: string | null;
|
|
950
|
+
/** Location type. */
|
|
951
|
+
locationType?: LocationLocationTypeWithLiterals;
|
|
871
952
|
}
|
|
872
|
-
|
|
873
|
-
|
|
953
|
+
/** Response for RescheduleBookingAnonymously */
|
|
954
|
+
interface RescheduleBookingAnonymouslyResponse {
|
|
955
|
+
/** Rescheduled booking. */
|
|
956
|
+
booking?: Booking;
|
|
957
|
+
}
|
|
958
|
+
/** Request for GetBookingAnonymously */
|
|
959
|
+
interface GetBookingAnonymouslyRequest {
|
|
960
|
+
/**
|
|
961
|
+
* The token provided in the booking links for anonymous access
|
|
962
|
+
* @maxLength 2048
|
|
963
|
+
*/
|
|
964
|
+
token?: string | null;
|
|
965
|
+
}
|
|
966
|
+
/** Response for GetBookingAnonymously */
|
|
967
|
+
interface GetBookingAnonymouslyResponse {
|
|
874
968
|
booking?: Booking;
|
|
875
969
|
}
|
|
876
970
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -1007,6 +1101,70 @@ declare enum WebhookIdentityType {
|
|
|
1007
1101
|
}
|
|
1008
1102
|
/** @enumType */
|
|
1009
1103
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1104
|
+
interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
1105
|
+
/**
|
|
1106
|
+
* The visitor who created the booking.
|
|
1107
|
+
* @format GUID
|
|
1108
|
+
*/
|
|
1109
|
+
visitorId?: string | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* The member that created the booking.
|
|
1112
|
+
* @format GUID
|
|
1113
|
+
*/
|
|
1114
|
+
memberId?: string | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* The app that created the booking.
|
|
1117
|
+
* @format GUID
|
|
1118
|
+
*/
|
|
1119
|
+
appId?: string | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* ID of the booking to set `formId` and `submissionId` for.
|
|
1122
|
+
* @format GUID
|
|
1123
|
+
*/
|
|
1124
|
+
bookingId?: string | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* ID of the form to set on the booking.
|
|
1127
|
+
* @format GUID
|
|
1128
|
+
*/
|
|
1129
|
+
formId?: string | null;
|
|
1130
|
+
/**
|
|
1131
|
+
* ID of the form submission to set on the booking.
|
|
1132
|
+
* @format GUID
|
|
1133
|
+
*/
|
|
1134
|
+
submissionId?: string | null;
|
|
1135
|
+
/**
|
|
1136
|
+
* MetaSite ID
|
|
1137
|
+
* @format GUID
|
|
1138
|
+
*/
|
|
1139
|
+
msid?: string | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* Instance ID
|
|
1142
|
+
* @format GUID
|
|
1143
|
+
*/
|
|
1144
|
+
instanceId?: string | null;
|
|
1145
|
+
}
|
|
1146
|
+
/** @oneof */
|
|
1147
|
+
interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
1148
|
+
/**
|
|
1149
|
+
* The visitor who created the booking.
|
|
1150
|
+
* @format GUID
|
|
1151
|
+
*/
|
|
1152
|
+
visitorId?: string | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The member that created the booking.
|
|
1155
|
+
* @format GUID
|
|
1156
|
+
*/
|
|
1157
|
+
memberId?: string | null;
|
|
1158
|
+
/**
|
|
1159
|
+
* The app that created the booking.
|
|
1160
|
+
* @format GUID
|
|
1161
|
+
*/
|
|
1162
|
+
appId?: string | null;
|
|
1163
|
+
}
|
|
1164
|
+
interface SetBookingFormAndSubmissionIdResponse {
|
|
1165
|
+
/** Updated booking. */
|
|
1166
|
+
booking?: Booking;
|
|
1167
|
+
}
|
|
1010
1168
|
interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1011
1169
|
/**
|
|
1012
1170
|
* Information about the slot to create a booking for.
|
|
@@ -1664,76 +1822,6 @@ interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
|
1664
1822
|
*/
|
|
1665
1823
|
participantsChoices?: ParticipantChoices;
|
|
1666
1824
|
}
|
|
1667
|
-
interface V2Slot {
|
|
1668
|
-
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
1669
|
-
sessionId?: string | null;
|
|
1670
|
-
/** Service identifier. Required. */
|
|
1671
|
-
serviceId?: string;
|
|
1672
|
-
/** Schedule identifier. Required. */
|
|
1673
|
-
scheduleId?: string;
|
|
1674
|
-
/** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1675
|
-
startDate?: string | null;
|
|
1676
|
-
/** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1677
|
-
endDate?: string | null;
|
|
1678
|
-
/** The timezone according to which the slot is calculated and presented. */
|
|
1679
|
-
timezone?: string | null;
|
|
1680
|
-
/**
|
|
1681
|
-
* The resource required for this slot.
|
|
1682
|
-
* When populated, the specified resource will be assigned to the slot upon confirmation according to its availability.
|
|
1683
|
-
* When empty, if `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation.
|
|
1684
|
-
* Otherwise, one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
1685
|
-
*/
|
|
1686
|
-
resource?: SlotSlotResource;
|
|
1687
|
-
/** Geographic location of the slot. */
|
|
1688
|
-
location?: SlotLocation;
|
|
1689
|
-
/**
|
|
1690
|
-
* Calendar event ID - not supported.
|
|
1691
|
-
* If not empty, on all write flows (create/update), it takes priority over `sessionId`.
|
|
1692
|
-
* So if both `sessionId` and `eventId` are provided, the `sessionId` will be based on the `eventId`.
|
|
1693
|
-
* Otherwise, if `eventId` is empty on write flow,
|
|
1694
|
-
* @minLength 36
|
|
1695
|
-
* @maxLength 250
|
|
1696
|
-
*/
|
|
1697
|
-
eventId?: string | null;
|
|
1698
|
-
}
|
|
1699
|
-
declare enum LocationLocationType {
|
|
1700
|
-
/** Undefined location type. */
|
|
1701
|
-
UNDEFINED = "UNDEFINED",
|
|
1702
|
-
/** The business address as set in the site’s general settings. */
|
|
1703
|
-
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
1704
|
-
/** The address set when creating the service. */
|
|
1705
|
-
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
1706
|
-
/** The address set for the individual session. */
|
|
1707
|
-
CUSTOM = "CUSTOM"
|
|
1708
|
-
}
|
|
1709
|
-
/** @enumType */
|
|
1710
|
-
type LocationLocationTypeWithLiterals = LocationLocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
1711
|
-
interface SlotSlotResource {
|
|
1712
|
-
/**
|
|
1713
|
-
* Resource ID.
|
|
1714
|
-
* @format GUID
|
|
1715
|
-
* @readonly
|
|
1716
|
-
*/
|
|
1717
|
-
_id?: string | null;
|
|
1718
|
-
/**
|
|
1719
|
-
* Resource name.
|
|
1720
|
-
* @maxLength 1200
|
|
1721
|
-
*/
|
|
1722
|
-
name?: string | null;
|
|
1723
|
-
}
|
|
1724
|
-
interface SlotLocation {
|
|
1725
|
-
/**
|
|
1726
|
-
* Business Location ID. Present if the location is a business location.
|
|
1727
|
-
* @format GUID
|
|
1728
|
-
*/
|
|
1729
|
-
_id?: string | null;
|
|
1730
|
-
/** Location name. */
|
|
1731
|
-
name?: string | null;
|
|
1732
|
-
/** A string containing the full address of this location. */
|
|
1733
|
-
formattedAddress?: string | null;
|
|
1734
|
-
/** Location type. */
|
|
1735
|
-
locationType?: LocationLocationTypeWithLiterals;
|
|
1736
|
-
}
|
|
1737
1825
|
interface RescheduleBookingFlowControlSettings {
|
|
1738
1826
|
/**
|
|
1739
1827
|
* Whether the rescheduling policy applies when rescheduling the booking.
|
|
@@ -3807,7 +3895,7 @@ declare function onBookingUpdated(handler: (event: BookingUpdatedEnvelope) => vo
|
|
|
3807
3895
|
* on the `paymentStatus` you provide, double booking conflicts, and whether
|
|
3808
3896
|
* the service requires business approval.
|
|
3809
3897
|
*
|
|
3810
|
-
*
|
|
3898
|
+
* ### eCommerce checkout restriction
|
|
3811
3899
|
*
|
|
3812
3900
|
* Call this method only when using a custom checkout page. Don't
|
|
3813
3901
|
* call it when using a *Wix eCommerce checkout*
|
|
@@ -3816,7 +3904,7 @@ declare function onBookingUpdated(handler: (event: BookingUpdatedEnvelope) => vo
|
|
|
3816
3904
|
* the `paymentStatus` of the corresponding *Wix eCommerce order*
|
|
3817
3905
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
|
|
3818
3906
|
*
|
|
3819
|
-
*
|
|
3907
|
+
* ### New booking status
|
|
3820
3908
|
*
|
|
3821
3909
|
* The booking `status` is set to `DECLINED` if both of the following conditions
|
|
3822
3910
|
* are met:
|
|
@@ -3826,13 +3914,13 @@ declare function onBookingUpdated(handler: (event: BookingUpdatedEnvelope) => vo
|
|
|
3826
3914
|
* If only one or none of these conditions is met, `status` is set to `PENDING`
|
|
3827
3915
|
* or `CONFIRMED` depending on whether the service requires business approval.
|
|
3828
3916
|
*
|
|
3829
|
-
*
|
|
3917
|
+
* ### Double bookings
|
|
3830
3918
|
*
|
|
3831
3919
|
* If there is a double booking conflict, but the booking has already been at least
|
|
3832
3920
|
* partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
|
|
3833
3921
|
* Then, it also sets `doubleBooked` to `true`.
|
|
3834
3922
|
*
|
|
3835
|
-
*
|
|
3923
|
+
* ### Admin overwrites
|
|
3836
3924
|
*
|
|
3837
3925
|
* There are small but important differences in confirmation behavior if the
|
|
3838
3926
|
* booking was created with special `flowControlSettings`:
|
|
@@ -5077,4 +5165,4 @@ interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
5077
5165
|
returnFullEntity?: boolean;
|
|
5078
5166
|
}
|
|
5079
5167
|
|
|
5080
|
-
export { type ActionEvent, Actor, type ActorWithLiterals, type AddBookingsToMultiServiceBookingApplicationErrors, type AddBookingsToMultiServiceBookingOptions, type AddBookingsToMultiServiceBookingRequest, type AddBookingsToMultiServiceBookingResponse, type Address, type AddressLocation, type AddressStreetOneOf, type AllowedActions, type ApplicationError, type AvailableResources, type BaseEventMetadata, type BookedAddOn, type BookedEntity, type BookedEntityItemOneOf, type BookedResource, type BookedSchedule, type BookedSlot, type Booking, type BookingCanceled, type BookingCanceledEnvelope, type BookingChanged, type BookingConfirmed, type BookingConfirmedEnvelope, type BookingCreatedEnvelope, type BookingDeclined, type BookingDeclinedEnvelope, type BookingDetails, type BookingFormFilled, type BookingIdAndRevision, type BookingInfo, type BookingMarkedAsPending, type BookingNumberOfParticipantsUpdatedEnvelope, type BookingParticipantsInfoOneOf, type BookingPolicySettings, type BookingPolicyViolations, type BookingRescheduled, type BookingRescheduledEnvelope, type BookingRescheduledPreviousParticipantsInfoOneOf, type BookingResult, type BookingSource, BookingStatus, type BookingStatusWithLiterals, type BookingUpdatedEnvelope, type BulkActionMetadata, type BulkBookingResult, type BulkCalculateAllowedActionsRequest, type BulkCalculateAllowedActionsResponse, type BulkCalculateAllowedActionsResult, type BulkConfirmOrDeclineBookingApplicationErrors, type BulkConfirmOrDeclineBookingOptions, type BulkConfirmOrDeclineBookingRequest, type BulkConfirmOrDeclineBookingRequestBookingDetails, type BulkConfirmOrDeclineBookingResponse, type BulkCreateBookingApplicationErrors, type BulkCreateBookingOptions, type BulkCreateBookingRequest, type BulkCreateBookingResponse, type BulkGetMultiServiceBookingAllowedActionsRequest, type BulkGetMultiServiceBookingAllowedActionsResponse, type BulkRescheduleBookingRequest, type BulkRescheduleBookingRequestBooking, type BulkRescheduleBookingResponse, type BulkUpdateBookedScheduleRequest, type BulkUpdateBookedScheduleResponse, type BulkUpdateBookingRequest, type BulkUpdateBookingResponse, type CancelBookingApplicationErrors, type CancelBookingFlowControlSettings, type CancelBookingOptions, type CancelBookingRequest, type CancelBookingRequestFlowControlSettings, type CancelBookingResponse, type CancelMultiServiceBookingApplicationErrors, type CancelMultiServiceBookingOptions, type CancelMultiServiceBookingRequest, type CancelMultiServiceBookingResponse, type Clash, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type ConfirmBookingApplicationErrors, type ConfirmBookingFlowControlSettings, type ConfirmBookingOptions, type ConfirmBookingRequest, type ConfirmBookingResponse, type ConfirmMultiServiceBookingApplicationErrors, type ConfirmMultiServiceBookingOptions, type ConfirmMultiServiceBookingRequest, type ConfirmMultiServiceBookingResponse, type ConfirmOrDeclineBookingApplicationErrors, type ConfirmOrDeclineBookingOptions, type ConfirmOrDeclineBookingRequest, type ConfirmOrDeclineBookingResponse, type ConfirmRequest, type ConfirmResponse, type ConsistentQueryBookingsRequest, type ConsistentQueryBookingsResponse, type ContactDetails, type CountBookingsRequest, type CountBookingsResponse, type CreateBookingApplicationErrors, type CreateBookingFlowControlSettings, type CreateBookingInfo, type CreateBookingOptions, type CreateBookingRequest, type CreateBookingRequestFlowControlSettings, type CreateBookingResponse, type CreateMultiServiceBookingApplicationErrors, type CreateMultiServiceBookingOptions, type CreateMultiServiceBookingRequest, type CreateMultiServiceBookingResponse, type CursorPaging, type Cursors, type CustomFormField, type DeclineBookingApplicationErrors, type DeclineBookingFlowControlSettings, type DeclineBookingOptions, type DeclineBookingRequest, type DeclineBookingResponse, type DeclineMultiServiceBookingApplicationErrors, type DeclineMultiServiceBookingOptions, type DeclineMultiServiceBookingRequest, type DeclineMultiServiceBookingResponse, type DomainEvent, type DomainEventBodyOneOf, type Duration, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FlowControlSettings, type GetMultiServiceBookingAvailabilityApplicationErrors, type GetMultiServiceBookingAvailabilityRequest, type GetMultiServiceBookingAvailabilityResponse, type GetMultiServiceBookingAvailabilityResponseBookingInfo, type GetMultiServiceBookingRequest, type GetMultiServiceBookingResponse, type GetScheduleAvailabilityRequest, type GetScheduleAvailabilityResponse, type GetSlotAvailabilityRequest, type GetSlotAvailabilityResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationDataIdentityType, type IdentificationDataIdentityTypeWithLiterals, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type LegacyCreateBookingRequest, type LegacyCreateBookingResponse, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MarkBookingAsPendingApplicationErrors, type MarkBookingAsPendingFlowControlSettings, type MarkBookingAsPendingOptions, type MarkBookingAsPendingRequest, type MarkBookingAsPendingResponse, type MarkMultiServiceBookingAsPendingApplicationErrors, type MarkMultiServiceBookingAsPendingOptions, type MarkMultiServiceBookingAsPendingRequest, type MarkMultiServiceBookingAsPendingResponse, type MaskedBooking, type MessageEnvelope, type MigrationCheckIfClashesWithBlockedTimeRequest, type MigrationCheckIfClashesWithBlockedTimeResponse, type MsidAndBookingId, type MultiServiceBooking, type MultiServiceBookingInfo, type MultiServiceBookingMetadata, MultiServiceBookingType, type MultiServiceBookingTypeWithLiterals, type NumberOfParticipantsUpdated, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, type Paging, type PagingMetadataV2, type ParticipantChoices, type ParticipantNotification, PaymentStatus, type PaymentStatusWithLiterals, Platform, type PlatformWithLiterals, type QueryBookingsRequest, type QueryBookingsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RemoveBookingsFromMultiServiceBookingApplicationErrors, type RemoveBookingsFromMultiServiceBookingOptions, type RemoveBookingsFromMultiServiceBookingRequest, type RemoveBookingsFromMultiServiceBookingResponse, type RescheduleBookingApplicationErrors, type RescheduleBookingFlowControlSettings, type RescheduleBookingInfo, type RescheduleBookingInfoParticipantsInfoOneOf, type RescheduleBookingOptions, type RescheduleBookingOptionsParticipantsInfoOneOf, type RescheduleBookingRequest, type RescheduleBookingRequestFlowControlSettings, type RescheduleBookingRequestParticipantsInfoOneOf, type RescheduleBookingResponse, type RescheduleMultiServiceBookingApplicationErrors, type RescheduleMultiServiceBookingOptions, type RescheduleMultiServiceBookingRequest, type RescheduleMultiServiceBookingResponse, type RestoreInfo, type ScheduleAvailability, SelectedPaymentOption, type SelectedPaymentOptionWithLiterals, type ServiceChoice, type ServiceChoiceChoiceOneOf, type ServiceChoices, type SetBookingFormAndSubmissionIdRequest, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf, type SetBookingFormAndSubmissionIdResponse, type SetBookingSessionIdRequest, type SetBookingSessionIdResponse, type SetBookingSubmissionIdApplicationErrors, type SetBookingSubmissionIdRequest, type SetBookingSubmissionIdResponse, type Slot, type SlotAvailability, type SlotBookings, type SlotLocation, type SlotResource, type SlotSlotResource, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type Subdivision, type UpdateBookingRequest, type UpdateBookingResponse, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateNumberOfParticipantsApplicationErrors, type UpdateNumberOfParticipantsOptions, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf, type UpdateNumberOfParticipantsRequest, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type UpdateNumberOfParticipantsResponse, type V2CancelBookingRequest, type V2CancelBookingResponse, type V2ConfirmBookingRequest, type V2ConfirmBookingResponse, type V2CreateBookingRequest, type V2CreateBookingRequestBookableItemOneOf, type V2CreateBookingRequestParticipantsInfoOneOf, type V2CreateBookingResponse, type V2DeclineBookingRequest, type V2DeclineBookingResponse, type V2RescheduleBookingRequest, type V2RescheduleBookingRequestParticipantsInfoOneOf, type V2RescheduleBookingResponse, type V2Slot, type V2UpdateNumberOfParticipantsRequest, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type V2UpdateNumberOfParticipantsResponse, ValueType, type ValueTypeWithLiterals, type WaitingList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WebhooksIdentificationData, type WebhooksIdentificationDataIdOneOf, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|
|
5168
|
+
export { type ActionEvent, Actor, type ActorWithLiterals, type AddBookingsToMultiServiceBookingApplicationErrors, type AddBookingsToMultiServiceBookingOptions, type AddBookingsToMultiServiceBookingRequest, type AddBookingsToMultiServiceBookingResponse, type Address, type AddressLocation, type AddressStreetOneOf, type AllowedActions, type AnonymousBookingUrls, type ApplicationError, type AvailableResources, type BaseEventMetadata, type BookedAddOn, type BookedEntity, type BookedEntityItemOneOf, type BookedResource, type BookedSchedule, type BookedSlot, type Booking, type BookingCanceled, type BookingCanceledEnvelope, type BookingChanged, type BookingConfirmed, type BookingConfirmedEnvelope, type BookingCreatedEnvelope, type BookingDeclined, type BookingDeclinedEnvelope, type BookingDetails, type BookingFormFilled, type BookingIdAndRevision, type BookingInfo, type BookingMarkedAsPending, type BookingNumberOfParticipantsUpdatedEnvelope, type BookingParticipantsInfoOneOf, type BookingPolicySettings, type BookingPolicyViolations, type BookingRescheduled, type BookingRescheduledEnvelope, type BookingRescheduledPreviousParticipantsInfoOneOf, type BookingResult, type BookingSource, BookingStatus, type BookingStatusWithLiterals, type BookingUpdatedEnvelope, type BulkActionMetadata, type BulkBookingResult, type BulkCalculateAllowedActionsRequest, type BulkCalculateAllowedActionsResponse, type BulkCalculateAllowedActionsResult, type BulkConfirmOrDeclineBookingApplicationErrors, type BulkConfirmOrDeclineBookingOptions, type BulkConfirmOrDeclineBookingRequest, type BulkConfirmOrDeclineBookingRequestBookingDetails, type BulkConfirmOrDeclineBookingResponse, type BulkCreateBookingApplicationErrors, type BulkCreateBookingOptions, type BulkCreateBookingRequest, type BulkCreateBookingResponse, type BulkGetMultiServiceBookingAllowedActionsRequest, type BulkGetMultiServiceBookingAllowedActionsResponse, type BulkRescheduleBookingRequest, type BulkRescheduleBookingRequestBooking, type BulkRescheduleBookingResponse, type BulkUpdateBookedScheduleRequest, type BulkUpdateBookedScheduleResponse, type BulkUpdateBookingRequest, type BulkUpdateBookingResponse, type CancelBookingAnonymouslyRequest, type CancelBookingAnonymouslyResponse, type CancelBookingApplicationErrors, type CancelBookingFlowControlSettings, type CancelBookingOptions, type CancelBookingRequest, type CancelBookingRequestFlowControlSettings, type CancelBookingResponse, type CancelMultiServiceBookingApplicationErrors, type CancelMultiServiceBookingOptions, type CancelMultiServiceBookingRequest, type CancelMultiServiceBookingResponse, type Clash, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type ConfirmBookingApplicationErrors, type ConfirmBookingFlowControlSettings, type ConfirmBookingOptions, type ConfirmBookingRequest, type ConfirmBookingResponse, type ConfirmMultiServiceBookingApplicationErrors, type ConfirmMultiServiceBookingOptions, type ConfirmMultiServiceBookingRequest, type ConfirmMultiServiceBookingResponse, type ConfirmOrDeclineBookingApplicationErrors, type ConfirmOrDeclineBookingOptions, type ConfirmOrDeclineBookingRequest, type ConfirmOrDeclineBookingResponse, type ConfirmRequest, type ConfirmResponse, type ConsistentQueryBookingsRequest, type ConsistentQueryBookingsResponse, type ContactDetails, type CountBookingsRequest, type CountBookingsResponse, type CreateBookingApplicationErrors, type CreateBookingFlowControlSettings, type CreateBookingInfo, type CreateBookingOptions, type CreateBookingRequest, type CreateBookingRequestFlowControlSettings, type CreateBookingResponse, type CreateMultiServiceBookingApplicationErrors, type CreateMultiServiceBookingOptions, type CreateMultiServiceBookingRequest, type CreateMultiServiceBookingResponse, type CursorPaging, type Cursors, type CustomFormField, type DeclineBookingApplicationErrors, type DeclineBookingFlowControlSettings, type DeclineBookingOptions, type DeclineBookingRequest, type DeclineBookingResponse, type DeclineMultiServiceBookingApplicationErrors, type DeclineMultiServiceBookingOptions, type DeclineMultiServiceBookingRequest, type DeclineMultiServiceBookingResponse, type DomainEvent, type DomainEventBodyOneOf, type Duration, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FlowControlSettings, type GetAnonymousActionDetailsRequest, type GetAnonymousActionDetailsResponse, type GetBookingAnonymouslyRequest, type GetBookingAnonymouslyResponse, type GetMultiServiceBookingAvailabilityApplicationErrors, type GetMultiServiceBookingAvailabilityRequest, type GetMultiServiceBookingAvailabilityResponse, type GetMultiServiceBookingAvailabilityResponseBookingInfo, type GetMultiServiceBookingRequest, type GetMultiServiceBookingResponse, type GetScheduleAvailabilityRequest, type GetScheduleAvailabilityResponse, type GetSlotAvailabilityRequest, type GetSlotAvailabilityResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationDataIdentityType, type IdentificationDataIdentityTypeWithLiterals, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type LegacyCreateBookingRequest, type LegacyCreateBookingResponse, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MarkBookingAsPendingApplicationErrors, type MarkBookingAsPendingFlowControlSettings, type MarkBookingAsPendingOptions, type MarkBookingAsPendingRequest, type MarkBookingAsPendingResponse, type MarkMultiServiceBookingAsPendingApplicationErrors, type MarkMultiServiceBookingAsPendingOptions, type MarkMultiServiceBookingAsPendingRequest, type MarkMultiServiceBookingAsPendingResponse, type MaskedBooking, type MessageEnvelope, type MigrationCheckIfClashesWithBlockedTimeRequest, type MigrationCheckIfClashesWithBlockedTimeResponse, type MsidAndBookingId, type MultiServiceBooking, type MultiServiceBookingInfo, type MultiServiceBookingMetadata, MultiServiceBookingType, type MultiServiceBookingTypeWithLiterals, type NumberOfParticipantsUpdated, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, type Paging, type PagingMetadataV2, type ParticipantChoices, type ParticipantNotification, PaymentStatus, type PaymentStatusWithLiterals, Platform, type PlatformWithLiterals, type QueryBookingsRequest, type QueryBookingsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RemoveBookingsFromMultiServiceBookingApplicationErrors, type RemoveBookingsFromMultiServiceBookingOptions, type RemoveBookingsFromMultiServiceBookingRequest, type RemoveBookingsFromMultiServiceBookingResponse, type RescheduleBookingAnonymouslyRequest, type RescheduleBookingAnonymouslyResponse, type RescheduleBookingApplicationErrors, type RescheduleBookingFlowControlSettings, type RescheduleBookingInfo, type RescheduleBookingInfoParticipantsInfoOneOf, type RescheduleBookingOptions, type RescheduleBookingOptionsParticipantsInfoOneOf, type RescheduleBookingRequest, type RescheduleBookingRequestFlowControlSettings, type RescheduleBookingRequestParticipantsInfoOneOf, type RescheduleBookingResponse, type RescheduleMultiServiceBookingApplicationErrors, type RescheduleMultiServiceBookingOptions, type RescheduleMultiServiceBookingRequest, type RescheduleMultiServiceBookingResponse, type RestoreInfo, type ScheduleAvailability, SelectedPaymentOption, type SelectedPaymentOptionWithLiterals, type ServiceChoice, type ServiceChoiceChoiceOneOf, type ServiceChoices, type SetBookingFormAndSubmissionIdRequest, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf, type SetBookingFormAndSubmissionIdResponse, type SetBookingSessionIdRequest, type SetBookingSessionIdResponse, type SetBookingSubmissionIdApplicationErrors, type SetBookingSubmissionIdRequest, type SetBookingSubmissionIdResponse, type Slot, type SlotAvailability, type SlotBookings, type SlotLocation, type SlotResource, type SlotSlotResource, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type Subdivision, type UpdateBookingRequest, type UpdateBookingResponse, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateNumberOfParticipantsApplicationErrors, type UpdateNumberOfParticipantsOptions, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf, type UpdateNumberOfParticipantsRequest, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type UpdateNumberOfParticipantsResponse, type V2CancelBookingRequest, type V2CancelBookingResponse, type V2ConfirmBookingRequest, type V2ConfirmBookingResponse, type V2CreateBookingRequest, type V2CreateBookingRequestBookableItemOneOf, type V2CreateBookingRequestParticipantsInfoOneOf, type V2CreateBookingResponse, type V2DeclineBookingRequest, type V2DeclineBookingResponse, type V2RescheduleBookingRequest, type V2RescheduleBookingRequestParticipantsInfoOneOf, type V2RescheduleBookingResponse, type V2Slot, type V2UpdateNumberOfParticipantsRequest, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type V2UpdateNumberOfParticipantsResponse, ValueType, type ValueTypeWithLiterals, type WaitingList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WebhooksIdentificationData, type WebhooksIdentificationDataIdOneOf, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|
|
@@ -1279,6 +1279,13 @@ var IdentificationDataIdentityType = /* @__PURE__ */ ((IdentificationDataIdentit
|
|
|
1279
1279
|
IdentificationDataIdentityType2["APP"] = "APP";
|
|
1280
1280
|
return IdentificationDataIdentityType2;
|
|
1281
1281
|
})(IdentificationDataIdentityType || {});
|
|
1282
|
+
var LocationLocationType = /* @__PURE__ */ ((LocationLocationType2) => {
|
|
1283
|
+
LocationLocationType2["UNDEFINED"] = "UNDEFINED";
|
|
1284
|
+
LocationLocationType2["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
1285
|
+
LocationLocationType2["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
1286
|
+
LocationLocationType2["CUSTOM"] = "CUSTOM";
|
|
1287
|
+
return LocationLocationType2;
|
|
1288
|
+
})(LocationLocationType || {});
|
|
1282
1289
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1283
1290
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1284
1291
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -1287,13 +1294,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1287
1294
|
WebhookIdentityType2["APP"] = "APP";
|
|
1288
1295
|
return WebhookIdentityType2;
|
|
1289
1296
|
})(WebhookIdentityType || {});
|
|
1290
|
-
var LocationLocationType = /* @__PURE__ */ ((LocationLocationType2) => {
|
|
1291
|
-
LocationLocationType2["UNDEFINED"] = "UNDEFINED";
|
|
1292
|
-
LocationLocationType2["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
1293
|
-
LocationLocationType2["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
1294
|
-
LocationLocationType2["CUSTOM"] = "CUSTOM";
|
|
1295
|
-
return LocationLocationType2;
|
|
1296
|
-
})(LocationLocationType || {});
|
|
1297
1297
|
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
1298
1298
|
IdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1299
1299
|
IdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|