@wix/bookings 1.0.229 → 1.0.230
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.http.d.ts +2 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.public.d.ts +2 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +19 -0
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.http.d.ts +6 -6
- package/build/cjs/src/bookings-calendar-v1-session.http.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +146 -5
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +450 -0
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +254 -4
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.http.d.ts +9 -9
- package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +9 -9
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +93 -0
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +96 -8
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +7 -7
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +70 -6
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +210 -0
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +215 -5
- 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.http.d.ts +2 -2
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +89 -0
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +72 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.http.d.ts +5 -5
- package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +397 -4
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +768 -0
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +539 -3
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.http.d.ts +4 -4
- package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.public.d.ts +6 -3
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +21 -0
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +20 -2
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.http.d.ts +11 -11
- package/build/cjs/src/bookings-v2-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.public.d.ts +12 -12
- package/build/cjs/src/bookings-v2-booking.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +735 -0
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +592 -13
- package/build/cjs/src/bookings-v2-booking.universal.js +0 -3
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.http.d.ts +3 -3
- package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.public.d.ts +3 -3
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +24 -0
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +26 -2
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.http.d.ts +2 -2
- package/build/es/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.public.d.ts +2 -2
- package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +19 -0
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -1
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.http.d.ts +6 -6
- package/build/es/src/bookings-calendar-v1-session.http.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +146 -5
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +450 -0
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +254 -4
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.http.d.ts +9 -9
- package/build/es/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +9 -9
- package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +93 -0
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +96 -8
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +7 -7
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +70 -6
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +210 -0
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +215 -5
- 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.http.d.ts +2 -2
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +89 -0
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +72 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.http.d.ts +5 -5
- package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +397 -4
- package/build/es/src/bookings-services-v2-service.types.d.ts +768 -0
- package/build/es/src/bookings-services-v2-service.universal.d.ts +539 -3
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.http.d.ts +4 -4
- package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.public.d.ts +6 -3
- package/build/es/src/bookings-v2-attendance.types.d.ts +21 -0
- package/build/es/src/bookings-v2-attendance.universal.d.ts +20 -2
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.http.d.ts +11 -11
- package/build/es/src/bookings-v2-booking.http.js.map +1 -1
- package/build/es/src/bookings-v2-booking.public.d.ts +12 -12
- package/build/es/src/bookings-v2-booking.public.js.map +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +735 -0
- package/build/es/src/bookings-v2-booking.universal.d.ts +592 -13
- package/build/es/src/bookings-v2-booking.universal.js +0 -3
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.http.d.ts +3 -3
- package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.public.d.ts +3 -3
- package/build/es/src/bookings-v2-price-info.types.d.ts +24 -0
- package/build/es/src/bookings-v2-price-info.universal.d.ts +26 -2
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,10 +3,403 @@ import { Service, UpdateService, DeleteServiceOptions, QueryServicesOptions } fr
|
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function createService(httpClient: HttpClient): (service: Service) => Promise<Service
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export declare function createService(httpClient: HttpClient): (service: Service) => Promise<Service & {
|
|
7
|
+
type: import("./bookings-services-v2-service.universal").ServiceType;
|
|
8
|
+
media?: {
|
|
9
|
+
items: {
|
|
10
|
+
image: string;
|
|
11
|
+
}[];
|
|
12
|
+
mainMedia?: {
|
|
13
|
+
image: string;
|
|
14
|
+
} | undefined;
|
|
15
|
+
coverMedia?: {
|
|
16
|
+
image: string;
|
|
17
|
+
} | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
category?: {
|
|
20
|
+
_id: string;
|
|
21
|
+
} | undefined;
|
|
22
|
+
form?: {
|
|
23
|
+
_id: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
payment?: {
|
|
26
|
+
fixed?: {
|
|
27
|
+
price?: {
|
|
28
|
+
value: string;
|
|
29
|
+
currency: string;
|
|
30
|
+
} | undefined;
|
|
31
|
+
deposit?: {
|
|
32
|
+
value: string;
|
|
33
|
+
currency: string;
|
|
34
|
+
} | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
varied?: {
|
|
37
|
+
defaultPrice?: {
|
|
38
|
+
value: string;
|
|
39
|
+
currency: string;
|
|
40
|
+
} | undefined;
|
|
41
|
+
deposit?: {
|
|
42
|
+
value: string;
|
|
43
|
+
currency: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
minPrice?: {
|
|
46
|
+
value: string;
|
|
47
|
+
currency: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
maxPrice?: {
|
|
50
|
+
value: string;
|
|
51
|
+
currency: string;
|
|
52
|
+
} | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
rateType: import("./bookings-services-v2-service.universal").RateType;
|
|
55
|
+
pricingPlanIds: string[];
|
|
56
|
+
} | undefined;
|
|
57
|
+
locations: {
|
|
58
|
+
business?: {
|
|
59
|
+
_id: string;
|
|
60
|
+
name: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
type: import("./bookings-services-v2-service.universal").LocationType;
|
|
63
|
+
}[];
|
|
64
|
+
bookingPolicy?: {
|
|
65
|
+
_id: string;
|
|
66
|
+
customPolicyDescription?: {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
description: string;
|
|
69
|
+
} | undefined;
|
|
70
|
+
limitEarlyBookingPolicy?: {
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
earliestBookingInMinutes: number;
|
|
73
|
+
} | undefined;
|
|
74
|
+
limitLateBookingPolicy?: {
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
latestBookingInMinutes: number;
|
|
77
|
+
} | undefined;
|
|
78
|
+
bookAfterStartPolicy?: {
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
} | undefined;
|
|
81
|
+
cancellationPolicy?: {
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
limitLatestCancellation: boolean;
|
|
84
|
+
latestCancellationInMinutes: number;
|
|
85
|
+
} | undefined;
|
|
86
|
+
reschedulePolicy?: {
|
|
87
|
+
enabled: boolean;
|
|
88
|
+
limitLatestReschedule: boolean;
|
|
89
|
+
latestRescheduleInMinutes: number;
|
|
90
|
+
} | undefined;
|
|
91
|
+
waitlistPolicy?: {
|
|
92
|
+
enabled: boolean;
|
|
93
|
+
capacity: number;
|
|
94
|
+
reservationTimeInMinutes: number;
|
|
95
|
+
} | undefined;
|
|
96
|
+
participantsPolicy?: {
|
|
97
|
+
maxParticipantsPerBooking: number;
|
|
98
|
+
} | undefined;
|
|
99
|
+
resourcesPolicy?: {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
autoAssignAllowed: boolean;
|
|
102
|
+
} | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
schedule?: {
|
|
105
|
+
availabilityConstraints?: {
|
|
106
|
+
sessionDurations: number[];
|
|
107
|
+
timeBetweenSessions: number;
|
|
108
|
+
} | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
staffMemberIds: string[];
|
|
111
|
+
supportedSlugs: {
|
|
112
|
+
name: string;
|
|
113
|
+
}[];
|
|
114
|
+
mainSlug?: {
|
|
115
|
+
name: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
urls?: {
|
|
118
|
+
servicePage: string;
|
|
119
|
+
bookingPage: string;
|
|
120
|
+
calendarPage: string;
|
|
121
|
+
} | undefined;
|
|
122
|
+
seoData?: {
|
|
123
|
+
tags: {
|
|
124
|
+
type: string;
|
|
125
|
+
children: string;
|
|
126
|
+
custom: boolean;
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
}[];
|
|
129
|
+
settings?: {
|
|
130
|
+
preventAutoRedirect: boolean;
|
|
131
|
+
keywords: {
|
|
132
|
+
term: string;
|
|
133
|
+
isMain: boolean;
|
|
134
|
+
}[];
|
|
135
|
+
} | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
export declare function getService(httpClient: HttpClient): (serviceId: string) => Promise<Service & {
|
|
139
|
+
type: import("./bookings-services-v2-service.universal").ServiceType;
|
|
140
|
+
media?: {
|
|
141
|
+
items: {
|
|
142
|
+
image: string;
|
|
143
|
+
}[];
|
|
144
|
+
mainMedia?: {
|
|
145
|
+
image: string;
|
|
146
|
+
} | undefined;
|
|
147
|
+
coverMedia?: {
|
|
148
|
+
image: string;
|
|
149
|
+
} | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
category?: {
|
|
152
|
+
_id: string;
|
|
153
|
+
} | undefined;
|
|
154
|
+
form?: {
|
|
155
|
+
_id: string;
|
|
156
|
+
} | undefined;
|
|
157
|
+
payment?: {
|
|
158
|
+
fixed?: {
|
|
159
|
+
price?: {
|
|
160
|
+
value: string;
|
|
161
|
+
currency: string;
|
|
162
|
+
} | undefined;
|
|
163
|
+
deposit?: {
|
|
164
|
+
value: string;
|
|
165
|
+
currency: string;
|
|
166
|
+
} | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
varied?: {
|
|
169
|
+
defaultPrice?: {
|
|
170
|
+
value: string;
|
|
171
|
+
currency: string;
|
|
172
|
+
} | undefined;
|
|
173
|
+
deposit?: {
|
|
174
|
+
value: string;
|
|
175
|
+
currency: string;
|
|
176
|
+
} | undefined;
|
|
177
|
+
minPrice?: {
|
|
178
|
+
value: string;
|
|
179
|
+
currency: string;
|
|
180
|
+
} | undefined;
|
|
181
|
+
maxPrice?: {
|
|
182
|
+
value: string;
|
|
183
|
+
currency: string;
|
|
184
|
+
} | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
rateType: import("./bookings-services-v2-service.universal").RateType;
|
|
187
|
+
pricingPlanIds: string[];
|
|
188
|
+
} | undefined;
|
|
189
|
+
locations: {
|
|
190
|
+
business?: {
|
|
191
|
+
_id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
} | undefined;
|
|
194
|
+
type: import("./bookings-services-v2-service.universal").LocationType;
|
|
195
|
+
}[];
|
|
196
|
+
bookingPolicy?: {
|
|
197
|
+
_id: string;
|
|
198
|
+
customPolicyDescription?: {
|
|
199
|
+
enabled: boolean;
|
|
200
|
+
description: string;
|
|
201
|
+
} | undefined;
|
|
202
|
+
limitEarlyBookingPolicy?: {
|
|
203
|
+
enabled: boolean;
|
|
204
|
+
earliestBookingInMinutes: number;
|
|
205
|
+
} | undefined;
|
|
206
|
+
limitLateBookingPolicy?: {
|
|
207
|
+
enabled: boolean;
|
|
208
|
+
latestBookingInMinutes: number;
|
|
209
|
+
} | undefined;
|
|
210
|
+
bookAfterStartPolicy?: {
|
|
211
|
+
enabled: boolean;
|
|
212
|
+
} | undefined;
|
|
213
|
+
cancellationPolicy?: {
|
|
214
|
+
enabled: boolean;
|
|
215
|
+
limitLatestCancellation: boolean;
|
|
216
|
+
latestCancellationInMinutes: number;
|
|
217
|
+
} | undefined;
|
|
218
|
+
reschedulePolicy?: {
|
|
219
|
+
enabled: boolean;
|
|
220
|
+
limitLatestReschedule: boolean;
|
|
221
|
+
latestRescheduleInMinutes: number;
|
|
222
|
+
} | undefined;
|
|
223
|
+
waitlistPolicy?: {
|
|
224
|
+
enabled: boolean;
|
|
225
|
+
capacity: number;
|
|
226
|
+
reservationTimeInMinutes: number;
|
|
227
|
+
} | undefined;
|
|
228
|
+
participantsPolicy?: {
|
|
229
|
+
maxParticipantsPerBooking: number;
|
|
230
|
+
} | undefined;
|
|
231
|
+
resourcesPolicy?: {
|
|
232
|
+
enabled: boolean;
|
|
233
|
+
autoAssignAllowed: boolean;
|
|
234
|
+
} | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
schedule?: {
|
|
237
|
+
availabilityConstraints?: {
|
|
238
|
+
sessionDurations: number[];
|
|
239
|
+
timeBetweenSessions: number;
|
|
240
|
+
} | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
staffMemberIds: string[];
|
|
243
|
+
supportedSlugs: {
|
|
244
|
+
name: string;
|
|
245
|
+
}[];
|
|
246
|
+
mainSlug?: {
|
|
247
|
+
name: string;
|
|
248
|
+
} | undefined;
|
|
249
|
+
urls?: {
|
|
250
|
+
servicePage: string;
|
|
251
|
+
bookingPage: string;
|
|
252
|
+
calendarPage: string;
|
|
253
|
+
} | undefined;
|
|
254
|
+
seoData?: {
|
|
255
|
+
tags: {
|
|
256
|
+
type: string;
|
|
257
|
+
children: string;
|
|
258
|
+
custom: boolean;
|
|
259
|
+
disabled: boolean;
|
|
260
|
+
}[];
|
|
261
|
+
settings?: {
|
|
262
|
+
preventAutoRedirect: boolean;
|
|
263
|
+
keywords: {
|
|
264
|
+
term: string;
|
|
265
|
+
isMain: boolean;
|
|
266
|
+
}[];
|
|
267
|
+
} | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
}>;
|
|
270
|
+
export declare function updateService(httpClient: HttpClient): (_id: string | null, service: UpdateService) => Promise<Service & {
|
|
271
|
+
type: import("./bookings-services-v2-service.universal").ServiceType;
|
|
272
|
+
media?: {
|
|
273
|
+
items: {
|
|
274
|
+
image: string;
|
|
275
|
+
}[];
|
|
276
|
+
mainMedia?: {
|
|
277
|
+
image: string;
|
|
278
|
+
} | undefined;
|
|
279
|
+
coverMedia?: {
|
|
280
|
+
image: string;
|
|
281
|
+
} | undefined;
|
|
282
|
+
} | undefined;
|
|
283
|
+
category?: {
|
|
284
|
+
_id: string;
|
|
285
|
+
} | undefined;
|
|
286
|
+
form?: {
|
|
287
|
+
_id: string;
|
|
288
|
+
} | undefined;
|
|
289
|
+
payment?: {
|
|
290
|
+
fixed?: {
|
|
291
|
+
price?: {
|
|
292
|
+
value: string;
|
|
293
|
+
currency: string;
|
|
294
|
+
} | undefined;
|
|
295
|
+
deposit?: {
|
|
296
|
+
value: string;
|
|
297
|
+
currency: string;
|
|
298
|
+
} | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
varied?: {
|
|
301
|
+
defaultPrice?: {
|
|
302
|
+
value: string;
|
|
303
|
+
currency: string;
|
|
304
|
+
} | undefined;
|
|
305
|
+
deposit?: {
|
|
306
|
+
value: string;
|
|
307
|
+
currency: string;
|
|
308
|
+
} | undefined;
|
|
309
|
+
minPrice?: {
|
|
310
|
+
value: string;
|
|
311
|
+
currency: string;
|
|
312
|
+
} | undefined;
|
|
313
|
+
maxPrice?: {
|
|
314
|
+
value: string;
|
|
315
|
+
currency: string;
|
|
316
|
+
} | undefined;
|
|
317
|
+
} | undefined;
|
|
318
|
+
rateType: import("./bookings-services-v2-service.universal").RateType;
|
|
319
|
+
pricingPlanIds: string[];
|
|
320
|
+
} | undefined;
|
|
321
|
+
locations: {
|
|
322
|
+
business?: {
|
|
323
|
+
_id: string;
|
|
324
|
+
name: string;
|
|
325
|
+
} | undefined;
|
|
326
|
+
type: import("./bookings-services-v2-service.universal").LocationType;
|
|
327
|
+
}[];
|
|
328
|
+
bookingPolicy?: {
|
|
329
|
+
_id: string;
|
|
330
|
+
customPolicyDescription?: {
|
|
331
|
+
enabled: boolean;
|
|
332
|
+
description: string;
|
|
333
|
+
} | undefined;
|
|
334
|
+
limitEarlyBookingPolicy?: {
|
|
335
|
+
enabled: boolean;
|
|
336
|
+
earliestBookingInMinutes: number;
|
|
337
|
+
} | undefined;
|
|
338
|
+
limitLateBookingPolicy?: {
|
|
339
|
+
enabled: boolean;
|
|
340
|
+
latestBookingInMinutes: number;
|
|
341
|
+
} | undefined;
|
|
342
|
+
bookAfterStartPolicy?: {
|
|
343
|
+
enabled: boolean;
|
|
344
|
+
} | undefined;
|
|
345
|
+
cancellationPolicy?: {
|
|
346
|
+
enabled: boolean;
|
|
347
|
+
limitLatestCancellation: boolean;
|
|
348
|
+
latestCancellationInMinutes: number;
|
|
349
|
+
} | undefined;
|
|
350
|
+
reschedulePolicy?: {
|
|
351
|
+
enabled: boolean;
|
|
352
|
+
limitLatestReschedule: boolean;
|
|
353
|
+
latestRescheduleInMinutes: number;
|
|
354
|
+
} | undefined;
|
|
355
|
+
waitlistPolicy?: {
|
|
356
|
+
enabled: boolean;
|
|
357
|
+
capacity: number;
|
|
358
|
+
reservationTimeInMinutes: number;
|
|
359
|
+
} | undefined;
|
|
360
|
+
participantsPolicy?: {
|
|
361
|
+
maxParticipantsPerBooking: number;
|
|
362
|
+
} | undefined;
|
|
363
|
+
resourcesPolicy?: {
|
|
364
|
+
enabled: boolean;
|
|
365
|
+
autoAssignAllowed: boolean;
|
|
366
|
+
} | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
schedule?: {
|
|
369
|
+
availabilityConstraints?: {
|
|
370
|
+
sessionDurations: number[];
|
|
371
|
+
timeBetweenSessions: number;
|
|
372
|
+
} | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
staffMemberIds: string[];
|
|
375
|
+
supportedSlugs: {
|
|
376
|
+
name: string;
|
|
377
|
+
}[];
|
|
378
|
+
mainSlug?: {
|
|
379
|
+
name: string;
|
|
380
|
+
} | undefined;
|
|
381
|
+
urls?: {
|
|
382
|
+
servicePage: string;
|
|
383
|
+
bookingPage: string;
|
|
384
|
+
calendarPage: string;
|
|
385
|
+
} | undefined;
|
|
386
|
+
seoData?: {
|
|
387
|
+
tags: {
|
|
388
|
+
type: string;
|
|
389
|
+
children: string;
|
|
390
|
+
custom: boolean;
|
|
391
|
+
disabled: boolean;
|
|
392
|
+
}[];
|
|
393
|
+
settings?: {
|
|
394
|
+
preventAutoRedirect: boolean;
|
|
395
|
+
keywords: {
|
|
396
|
+
term: string;
|
|
397
|
+
isMain: boolean;
|
|
398
|
+
}[];
|
|
399
|
+
} | undefined;
|
|
400
|
+
} | undefined;
|
|
401
|
+
}>;
|
|
9
402
|
export declare function deleteService(httpClient: HttpClient): (serviceId: string, options?: DeleteServiceOptions | undefined) => Promise<void>;
|
|
10
403
|
export declare function queryServices(httpClient: HttpClient): (options?: QueryServicesOptions | undefined) => import("./bookings-services-v2-service.universal").ServicesQueryBuilder;
|
|
11
404
|
export { ServiceType, RateType, LocationType, RequestedFields, SortOrder, Status, Event, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, BenefitType, BenefitNotificationEvent, Action, InvalidSlugError, CloneErrors, } from './bookings-services-v2-service.universal';
|
|
12
|
-
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, ResourcesPolicy, Schedule, AvailabilityConstraints, StaffMember, ResourceGroup, ResourceIds, ServiceResource, ServiceResourceSelectionOneOf, ResourceType, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, SetCustomSlugEvent, DiffmatokyPayload, ErrorInformation, CreateServiceRequest, CreateServiceResponse, BulkCreateServicesRequest, BulkCreateServicesResponse, BulkServiceResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetServiceRequest, GetServiceResponse, GetServiceAvailabilityConstraintsRequest, GetServiceAvailabilityConstraintsResponse, ServiceAvailabilityConstraints, V1SplitInterval, UpdateServiceRequest, UpdateServiceResponse, BulkUpdateServicesRequest, MaskedService, BulkUpdateServicesResponse, DeleteServiceRequest, ParticipantNotification, DeleteServiceResponse, BulkDeleteServicesRequest, BulkDeleteServicesResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, SearchServicesRequest, SearchServicesResponse, QueryPoliciesRequest, CursorQuery, CursorQueryPagingMethodOneOf, QueryPoliciesResponse, BookingPolicyWithServices, CursorPagingMetadata, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, BusinessLocation, BenefitNotification, Benefit, EntryPass, Discount, DiscountDiscountOneOf, Behavior, BehaviorBehaviorOneOf, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, SetServiceLocationsResponse, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, InvalidPricingPlan, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, CloneServiceRequest, CloneServiceResponse, UpdateService, DeleteServiceOptions, QueryServicesOptions, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
405
|
+
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, ResourcesPolicy, Schedule, AvailabilityConstraints, StaffMember, ResourceGroup, ResourceIds, ServiceResource, ServiceResourceSelectionOneOf, ResourceType, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, SetCustomSlugEvent, DiffmatokyPayload, ErrorInformation, CreateServiceRequest, CreateServiceResponse, BulkCreateServicesRequest, BulkCreateServicesResponse, BulkServiceResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetServiceRequest, GetServiceResponse, GetServiceAvailabilityConstraintsRequest, GetServiceAvailabilityConstraintsResponse, ServiceAvailabilityConstraints, V1SplitInterval, UpdateServiceRequest, UpdateServiceResponse, BulkUpdateServicesRequest, MaskedService, BulkUpdateServicesResponse, DeleteServiceRequest, ParticipantNotification, DeleteServiceResponse, BulkDeleteServicesRequest, BulkDeleteServicesResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, SearchServicesRequest, SearchServicesResponse, QueryPoliciesRequest, CursorQuery, CursorQueryPagingMethodOneOf, QueryPoliciesResponse, BookingPolicyWithServices, CursorPagingMetadata, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, BusinessLocation, BenefitNotification, Benefit, EntryPass, Discount, DiscountDiscountOneOf, Behavior, BehaviorBehaviorOneOf, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, SetServiceLocationsResponse, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, InvalidPricingPlan, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, CloneServiceRequest, CloneServiceResponse, CreateServiceResponseNonNullableFields, GetServiceResponseNonNullableFields, UpdateServiceResponseNonNullableFields, QueryServicesResponseNonNullableFields, UpdateService, DeleteServiceOptions, QueryServicesOptions, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|