@wix/table-reservations 1.0.35 → 1.0.37
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/table-reservations-v1-reservation.http.d.ts +15 -5
- package/build/cjs/src/table-reservations-v1-reservation.http.js +15 -5
- package/build/cjs/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.types.d.ts +17 -17
- package/build/cjs/src/table-reservations-v1-reservation.universal.d.ts +46 -36
- package/build/cjs/src/table-reservations-v1-reservation.universal.js +17 -7
- package/build/cjs/src/table-reservations-v1-reservation.universal.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.http.d.ts +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.http.js +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.types.d.ts +8 -2
- package/build/cjs/src/table-reservations-v1-time-slot.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.universal.d.ts +9 -3
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.http.d.ts +15 -5
- package/build/es/src/table-reservations-v1-reservation.http.js +15 -5
- package/build/es/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.types.d.ts +17 -17
- package/build/es/src/table-reservations-v1-reservation.universal.d.ts +46 -36
- package/build/es/src/table-reservations-v1-reservation.universal.js +17 -7
- package/build/es/src/table-reservations-v1-reservation.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.http.d.ts +1 -1
- package/build/es/src/table-reservations-v1-time-slot.http.js +1 -1
- package/build/es/src/table-reservations-v1-time-slot.types.d.ts +8 -2
- package/build/es/src/table-reservations-v1-time-slot.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.universal.d.ts +9 -3
- package/build/es/src/table-reservations-v1-time-slot.universal.js +1 -1
- package/build/es/src/table-reservations-v1-time-slot.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -22,21 +22,31 @@ export declare function getReservation(payload: GetReservationRequest): RequestO
|
|
|
22
22
|
/**
|
|
23
23
|
* Updates a reservation.
|
|
24
24
|
*
|
|
25
|
+
* The fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` should only be included in the request if the call is made by a user with the `MANAGE RESERVATIONS (FULL)` permission scope.
|
|
26
|
+
* Including these fields in the request without the required permissions results in an application error.
|
|
27
|
+
*
|
|
25
28
|
* Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
|
|
26
29
|
*/
|
|
27
30
|
export declare function updateReservation(payload: UpdateReservationRequest): RequestOptionsFactory<UpdateReservationResponse & UpdateReservationResponseNonNullableFields>;
|
|
28
31
|
/**
|
|
29
|
-
* Creates a new reservation
|
|
32
|
+
* Creates a new temporary reservation and holds it for the customer for 10 minutes.
|
|
33
|
+
*
|
|
34
|
+
* Creates a new reservation with the `HELD` status. `HELD` reservations are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to change a `HELD` reservation’s status after 10 minutes returns an error.
|
|
30
35
|
*
|
|
31
|
-
*
|
|
36
|
+
* You cannot call [`Update Reservation`](#update-reservation) to change a reservation’s status from `HELD`. Trying to do so returns an error. Instead, you should use [`Reserve Reservation`](#reserve-reservation).
|
|
32
37
|
*
|
|
33
|
-
*
|
|
38
|
+
* If you do not wish to have `HELD` reservations in your flow, you can create a reservation with all required details using [`Create Reservation`](#create-reservation).
|
|
34
39
|
*/
|
|
35
40
|
export declare function createHeldReservation(payload: CreateHeldReservationRequest): RequestOptionsFactory<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
|
|
36
41
|
/**
|
|
37
|
-
* Reserves or requests a
|
|
42
|
+
* Reserves or requests a held reservation.
|
|
43
|
+
*
|
|
44
|
+
* Held reservations are temporary reservations with the `HELD` status created by the [`Create Held Reservation`](#create-held-reservation) endpoint.
|
|
45
|
+
* They are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to call `Reserve Reservation` with a held reservation older than 10 minutes returns an error.
|
|
38
46
|
*
|
|
39
|
-
* `Reserve Reservation` changes a reservation's `HELD` status to
|
|
47
|
+
* `Reserve Reservation` changes a reservation's `HELD` status to:
|
|
48
|
+
* * `RESERVED` if the reservation's reservation location does not require manual approval.
|
|
49
|
+
* * `REQUESTED` if the reservation's reservation location requires manual approval.
|
|
40
50
|
*/
|
|
41
51
|
export declare function reserveReservation(payload: ReserveReservationRequest): RequestOptionsFactory<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
|
|
42
52
|
/**
|
|
@@ -181,6 +181,9 @@ exports.getReservation = getReservation;
|
|
|
181
181
|
/**
|
|
182
182
|
* Updates a reservation.
|
|
183
183
|
*
|
|
184
|
+
* The fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` should only be included in the request if the call is made by a user with the `MANAGE RESERVATIONS (FULL)` permission scope.
|
|
185
|
+
* Including these fields in the request without the required permissions results in an application error.
|
|
186
|
+
*
|
|
184
187
|
* Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
|
|
185
188
|
*/
|
|
186
189
|
function updateReservation(payload) {
|
|
@@ -210,11 +213,13 @@ function updateReservation(payload) {
|
|
|
210
213
|
}
|
|
211
214
|
exports.updateReservation = updateReservation;
|
|
212
215
|
/**
|
|
213
|
-
* Creates a new reservation
|
|
216
|
+
* Creates a new temporary reservation and holds it for the customer for 10 minutes.
|
|
217
|
+
*
|
|
218
|
+
* Creates a new reservation with the `HELD` status. `HELD` reservations are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to change a `HELD` reservation’s status after 10 minutes returns an error.
|
|
214
219
|
*
|
|
215
|
-
*
|
|
220
|
+
* You cannot call [`Update Reservation`](#update-reservation) to change a reservation’s status from `HELD`. Trying to do so returns an error. Instead, you should use [`Reserve Reservation`](#reserve-reservation).
|
|
216
221
|
*
|
|
217
|
-
*
|
|
222
|
+
* If you do not wish to have `HELD` reservations in your flow, you can create a reservation with all required details using [`Create Reservation`](#create-reservation).
|
|
218
223
|
*/
|
|
219
224
|
function createHeldReservation(payload) {
|
|
220
225
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createHeldReservationRequest, { _heldReservationDetails });
|
|
@@ -243,9 +248,14 @@ function createHeldReservation(payload) {
|
|
|
243
248
|
}
|
|
244
249
|
exports.createHeldReservation = createHeldReservation;
|
|
245
250
|
/**
|
|
246
|
-
* Reserves or requests a
|
|
251
|
+
* Reserves or requests a held reservation.
|
|
252
|
+
*
|
|
253
|
+
* Held reservations are temporary reservations with the `HELD` status created by the [`Create Held Reservation`](#create-held-reservation) endpoint.
|
|
254
|
+
* They are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to call `Reserve Reservation` with a held reservation older than 10 minutes returns an error.
|
|
247
255
|
*
|
|
248
|
-
* `Reserve Reservation` changes a reservation's `HELD` status to
|
|
256
|
+
* `Reserve Reservation` changes a reservation's `HELD` status to:
|
|
257
|
+
* * `RESERVED` if the reservation's reservation location does not require manual approval.
|
|
258
|
+
* * `REQUESTED` if the reservation's reservation location requires manual approval.
|
|
249
259
|
*/
|
|
250
260
|
function reserveReservation(payload) {
|
|
251
261
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_reserveReservationRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-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C,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,uCAAuC;YACnD,MAAM,EAAE,KAAY;YACpB,SAAS,EACP,0EAA0E;YAC5E,GAAG,EAAE,8DAA8D,CAAC;gBAClE,SAAS,EAAE,kCAAkC;gBAC7C,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,iCAAiB,EAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AApCD,wCAoCC;AAED
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-reservation.http.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AA8BhD,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACnE,MAAM,6BAA6B,GAAG;IACpC,kBAAkB,EAAE,yBAAyB;CAC9C,CAAC;AACF,MAAM,8BAA8B,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACvE,MAAM,yBAAyB,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAClE,MAAM,0BAA0B,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACnE,MAAM,QAAQ,GAAG;IACf,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAChE,MAAM,uBAAuB,GAAG,EAAE,SAAS,EAAE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AC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AApCD,4CAoCC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAC/B,OAAiC;IAIjC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,yBAAyB,EACzB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,0BAA0B,EAAE;QACnE,QAAQ;QACR,YAAY;KACb,CAAC,CAAC;IAEH,SAAS,mBAAmB,CAAC,EAAE,IAAI,EAAO;QACxC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,uCAAuC;YACnD,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,6EAA6E;YAC/E,GAAG,EAAE,8DAA8D,CAAC;gBAClE,SAAS,EAAE,wBAAwB;gBACnC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEtC,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AApCD,8CAoCC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** The reservation domain object. */
|
|
2
2
|
export interface Reservation {
|
|
3
3
|
/**
|
|
4
|
-
* Reservation ID. Read-
|
|
4
|
+
* Reservation ID. Read-only.
|
|
5
5
|
* @readonly
|
|
6
6
|
*/
|
|
7
7
|
id?: string | null;
|
|
@@ -11,9 +11,9 @@ export interface Reservation {
|
|
|
11
11
|
* Reservation source.
|
|
12
12
|
*
|
|
13
13
|
* This indicates how the reservation was made.
|
|
14
|
-
* `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
15
|
-
* `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
16
|
-
* `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
14
|
+
* * `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
15
|
+
* * `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
16
|
+
* * `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
17
17
|
*/
|
|
18
18
|
source?: Source;
|
|
19
19
|
/** Reservation details. */
|
|
@@ -86,7 +86,7 @@ export declare enum Source {
|
|
|
86
86
|
export interface Details {
|
|
87
87
|
/** ID of the reservation location at which this reservation will be made. */
|
|
88
88
|
reservationLocationId?: string | null;
|
|
89
|
-
/**
|
|
89
|
+
/** IDs of tables used for this reservation. */
|
|
90
90
|
tableIds?: string[] | null;
|
|
91
91
|
/** Start date and time of the reservation. */
|
|
92
92
|
startDate?: Date;
|
|
@@ -110,17 +110,17 @@ export interface Reservee {
|
|
|
110
110
|
/**
|
|
111
111
|
* Phone number.
|
|
112
112
|
*
|
|
113
|
-
*
|
|
113
|
+
* This property should begin with a +, followed by the country code, and then the rest of the phone number.
|
|
114
114
|
*
|
|
115
115
|
* This field is required if the reservation's `status` is anything other than `WALK_IN`.
|
|
116
116
|
*/
|
|
117
117
|
phone?: string | null;
|
|
118
|
-
/** Whether the
|
|
118
|
+
/** Whether the reservee has given marketing consent. */
|
|
119
119
|
marketingConsent?: boolean | null;
|
|
120
120
|
/**
|
|
121
121
|
* Custom fields for the reservee in key-value pairs.
|
|
122
122
|
*
|
|
123
|
-
* The key is the custom field's ID, and the value is the custom field's value.
|
|
123
|
+
* The key is the custom field's ID, and the value is the custom field's value. For example, a custom field for allergies might have the key-value pair `f4283b2d-6340-4cf9-bae7-8769e6b62127 : "Nuts, Seafood"`.
|
|
124
124
|
*
|
|
125
125
|
* Empty fields are not returned.
|
|
126
126
|
*/
|
|
@@ -145,9 +145,9 @@ export interface MigrationNote {
|
|
|
145
145
|
export interface CreateReservationRequest {
|
|
146
146
|
/** Reservation details. */
|
|
147
147
|
reservation: Reservation;
|
|
148
|
-
/** Ignore table combination conflicts. This
|
|
148
|
+
/** Ignore table combination conflicts. This ensures that the reservation is created even if the required tables are already reserved. */
|
|
149
149
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
150
|
-
/** Ignore reservation location conflicts. This
|
|
150
|
+
/** Ignore reservation location conflicts. This ensures that the reservation is created even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
151
151
|
ignoreReservationLocationConflicts?: Type[];
|
|
152
152
|
}
|
|
153
153
|
export declare enum TableCombinationConflictType {
|
|
@@ -201,9 +201,9 @@ export interface GetReservationResponse {
|
|
|
201
201
|
export interface UpdateReservationRequest {
|
|
202
202
|
/** Reservation information to update. */
|
|
203
203
|
reservation: Reservation;
|
|
204
|
-
/** Ignored table combination conflicts. This
|
|
204
|
+
/** Ignored table combination conflicts. This ensures that the reservation is updated even if the required tables are already reserved. */
|
|
205
205
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
206
|
-
/** Ignored reservation location conflicts. This
|
|
206
|
+
/** Ignored reservation location conflicts. This ensures that the reservation is updated even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
207
207
|
ignoreReservationLocationConflicts?: Type[];
|
|
208
208
|
}
|
|
209
209
|
export interface UpdateReservationResponse {
|
|
@@ -217,7 +217,7 @@ export interface ReservationDataUpdated {
|
|
|
217
217
|
oldReservation?: Reservation;
|
|
218
218
|
}
|
|
219
219
|
export interface CreateHeldReservationRequest {
|
|
220
|
-
/**
|
|
220
|
+
/** Held reservation information to update. */
|
|
221
221
|
reservationDetails: HeldReservationDetails;
|
|
222
222
|
}
|
|
223
223
|
/** Reservation details when create reservation in status HELD. */
|
|
@@ -283,13 +283,13 @@ export interface DeleteReservationResponse {
|
|
|
283
283
|
export interface ListReservationsRequest {
|
|
284
284
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
285
285
|
paging?: CursorPaging;
|
|
286
|
-
/**
|
|
286
|
+
/** Defines how reservations in the response are sorted. */
|
|
287
287
|
sort?: Sorting;
|
|
288
|
-
/**
|
|
288
|
+
/** Only reservations starting after this date are returned. */
|
|
289
289
|
startDateFrom?: Date;
|
|
290
|
-
/**
|
|
290
|
+
/** Only reservations starting before this date are returned. */
|
|
291
291
|
startDateTo?: Date;
|
|
292
|
-
/** Only reservations with this status
|
|
292
|
+
/** Only reservations with this status are returned. */
|
|
293
293
|
status?: Status;
|
|
294
294
|
}
|
|
295
295
|
export interface CursorPaging {
|
|
@@ -7,7 +7,7 @@ export declare const __debug: {
|
|
|
7
7
|
/** The reservation domain object. */
|
|
8
8
|
export interface Reservation {
|
|
9
9
|
/**
|
|
10
|
-
* Reservation ID. Read-
|
|
10
|
+
* Reservation ID. Read-only.
|
|
11
11
|
* @readonly
|
|
12
12
|
*/
|
|
13
13
|
_id?: string | null;
|
|
@@ -21,9 +21,9 @@ export interface Reservation {
|
|
|
21
21
|
* Reservation source.
|
|
22
22
|
*
|
|
23
23
|
* This indicates how the reservation was made.
|
|
24
|
-
* `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
25
|
-
* `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
26
|
-
* `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
24
|
+
* * `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
25
|
+
* * `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
26
|
+
* * `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
27
27
|
*/
|
|
28
28
|
source?: Source;
|
|
29
29
|
/** Reservation details. */
|
|
@@ -96,7 +96,7 @@ export declare enum Source {
|
|
|
96
96
|
export interface Details {
|
|
97
97
|
/** ID of the reservation location at which this reservation will be made. */
|
|
98
98
|
reservationLocationId?: string | null;
|
|
99
|
-
/**
|
|
99
|
+
/** IDs of tables used for this reservation. */
|
|
100
100
|
tableIds?: string[] | null;
|
|
101
101
|
/** Start date and time of the reservation. */
|
|
102
102
|
startDate?: Date;
|
|
@@ -120,17 +120,17 @@ export interface Reservee {
|
|
|
120
120
|
/**
|
|
121
121
|
* Phone number.
|
|
122
122
|
*
|
|
123
|
-
*
|
|
123
|
+
* This property should begin with a +, followed by the country code, and then the rest of the phone number.
|
|
124
124
|
*
|
|
125
125
|
* This field is required if the reservation's `status` is anything other than `WALK_IN`.
|
|
126
126
|
*/
|
|
127
127
|
phone?: string | null;
|
|
128
|
-
/** Whether the
|
|
128
|
+
/** Whether the reservee has given marketing consent. */
|
|
129
129
|
marketingConsent?: boolean | null;
|
|
130
130
|
/**
|
|
131
131
|
* Custom fields for the reservee in key-value pairs.
|
|
132
132
|
*
|
|
133
|
-
* The key is the custom field's ID, and the value is the custom field's value.
|
|
133
|
+
* The key is the custom field's ID, and the value is the custom field's value. For example, a custom field for allergies might have the key-value pair `f4283b2d-6340-4cf9-bae7-8769e6b62127 : "Nuts, Seafood"`.
|
|
134
134
|
*
|
|
135
135
|
* Empty fields are not returned.
|
|
136
136
|
*/
|
|
@@ -155,9 +155,9 @@ export interface MigrationNote {
|
|
|
155
155
|
export interface CreateReservationRequest {
|
|
156
156
|
/** Reservation details. */
|
|
157
157
|
reservation: Reservation;
|
|
158
|
-
/** Ignore table combination conflicts. This
|
|
158
|
+
/** Ignore table combination conflicts. This ensures that the reservation is created even if the required tables are already reserved. */
|
|
159
159
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
160
|
-
/** Ignore reservation location conflicts. This
|
|
160
|
+
/** Ignore reservation location conflicts. This ensures that the reservation is created even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
161
161
|
ignoreReservationLocationConflicts?: Type[];
|
|
162
162
|
}
|
|
163
163
|
export declare enum TableCombinationConflictType {
|
|
@@ -213,9 +213,9 @@ export interface GetReservationResponse {
|
|
|
213
213
|
export interface UpdateReservationRequest {
|
|
214
214
|
/** Reservation information to update. */
|
|
215
215
|
reservation: Reservation;
|
|
216
|
-
/** Ignored table combination conflicts. This
|
|
216
|
+
/** Ignored table combination conflicts. This ensures that the reservation is updated even if the required tables are already reserved. */
|
|
217
217
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
218
|
-
/** Ignored reservation location conflicts. This
|
|
218
|
+
/** Ignored reservation location conflicts. This ensures that the reservation is updated even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
219
219
|
ignoreReservationLocationConflicts?: Type[];
|
|
220
220
|
}
|
|
221
221
|
export interface UpdateReservationResponse {
|
|
@@ -229,7 +229,7 @@ export interface ReservationDataUpdated {
|
|
|
229
229
|
oldReservation?: Reservation;
|
|
230
230
|
}
|
|
231
231
|
export interface CreateHeldReservationRequest {
|
|
232
|
-
/**
|
|
232
|
+
/** Held reservation information to update. */
|
|
233
233
|
reservationDetails: HeldReservationDetails;
|
|
234
234
|
}
|
|
235
235
|
/** Reservation details when create reservation in status HELD. */
|
|
@@ -295,13 +295,13 @@ export interface DeleteReservationResponse {
|
|
|
295
295
|
export interface ListReservationsRequest {
|
|
296
296
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
297
297
|
paging?: CursorPaging;
|
|
298
|
-
/**
|
|
298
|
+
/** Defines how reservations in the response are sorted. */
|
|
299
299
|
sort?: Sorting;
|
|
300
|
-
/**
|
|
300
|
+
/** Only reservations starting after this date are returned. */
|
|
301
301
|
startDateFrom?: Date;
|
|
302
|
-
/**
|
|
302
|
+
/** Only reservations starting before this date are returned. */
|
|
303
303
|
startDateTo?: Date;
|
|
304
|
-
/** Only reservations with this status
|
|
304
|
+
/** Only reservations with this status are returned. */
|
|
305
305
|
status?: Status;
|
|
306
306
|
}
|
|
307
307
|
export interface CursorPaging {
|
|
@@ -534,9 +534,9 @@ export interface QueryReservationsResponseNonNullableFields {
|
|
|
534
534
|
*/
|
|
535
535
|
export declare function createReservation(reservation: Reservation, options?: CreateReservationOptions): Promise<CreateReservationResponse & CreateReservationResponseNonNullableFields>;
|
|
536
536
|
export interface CreateReservationOptions {
|
|
537
|
-
/** Ignore table combination conflicts. This
|
|
537
|
+
/** Ignore table combination conflicts. This ensures that the reservation is created even if the required tables are already reserved. */
|
|
538
538
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
539
|
-
/** Ignore reservation location conflicts. This
|
|
539
|
+
/** Ignore reservation location conflicts. This ensures that the reservation is created even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
540
540
|
ignoreReservationLocationConflicts?: Type[];
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
@@ -569,8 +569,11 @@ export interface GetReservationOptions {
|
|
|
569
569
|
/**
|
|
570
570
|
* Updates a reservation.
|
|
571
571
|
*
|
|
572
|
+
* The fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` should only be included in the request if the call is made by a user with the `MANAGE RESERVATIONS (FULL)` permission scope.
|
|
573
|
+
* Including these fields in the request without the required permissions results in an application error.
|
|
574
|
+
*
|
|
572
575
|
* Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
|
|
573
|
-
* @param _id - Reservation ID. Read-
|
|
576
|
+
* @param _id - Reservation ID. Read-only.
|
|
574
577
|
* @public
|
|
575
578
|
* @documentationMaturity preview
|
|
576
579
|
* @requiredField _id
|
|
@@ -584,7 +587,7 @@ export interface GetReservationOptions {
|
|
|
584
587
|
export declare function updateReservation(_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions): Promise<UpdateReservationResponse & UpdateReservationResponseNonNullableFields>;
|
|
585
588
|
export interface UpdateReservation {
|
|
586
589
|
/**
|
|
587
|
-
* Reservation ID. Read-
|
|
590
|
+
* Reservation ID. Read-only.
|
|
588
591
|
* @readonly
|
|
589
592
|
*/
|
|
590
593
|
_id?: string | null;
|
|
@@ -598,9 +601,9 @@ export interface UpdateReservation {
|
|
|
598
601
|
* Reservation source.
|
|
599
602
|
*
|
|
600
603
|
* This indicates how the reservation was made.
|
|
601
|
-
* `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
602
|
-
* `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
603
|
-
* `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
604
|
+
* * `ONLINE` indicates that the customer made the reservation through a website or app.
|
|
605
|
+
* * `OFFLINE` indicates that the reservation was made by a restaurant employee, for example when a customer calls to make a reservation.
|
|
606
|
+
* * `WALK-IN` indicates that the customer did not make a reservation beforehand, and the reservation was entered into the system by a restaurant employee when the customer arrived at the restaurant.
|
|
604
607
|
*/
|
|
605
608
|
source?: Source;
|
|
606
609
|
/** Reservation details. */
|
|
@@ -642,18 +645,20 @@ export interface UpdateReservation {
|
|
|
642
645
|
declineReason?: string | null;
|
|
643
646
|
}
|
|
644
647
|
export interface UpdateReservationOptions {
|
|
645
|
-
/** Ignored table combination conflicts. This
|
|
648
|
+
/** Ignored table combination conflicts. This ensures that the reservation is updated even if the required tables are already reserved. */
|
|
646
649
|
ignoreTableCombinationConflicts?: TableCombinationConflictType[];
|
|
647
|
-
/** Ignored reservation location conflicts. This
|
|
650
|
+
/** Ignored reservation location conflicts. This ensures that the reservation is updated even if the required seats or tables are unavailable according to the reservation location's business schedule or its pacing settings. */
|
|
648
651
|
ignoreReservationLocationConflicts?: Type[];
|
|
649
652
|
}
|
|
650
653
|
/**
|
|
651
|
-
* Creates a new reservation
|
|
654
|
+
* Creates a new temporary reservation and holds it for the customer for 10 minutes.
|
|
655
|
+
*
|
|
656
|
+
* Creates a new reservation with the `HELD` status. `HELD` reservations are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to change a `HELD` reservation’s status after 10 minutes returns an error.
|
|
652
657
|
*
|
|
653
|
-
*
|
|
658
|
+
* You cannot call [`Update Reservation`](#update-reservation) to change a reservation’s status from `HELD`. Trying to do so returns an error. Instead, you should use [`Reserve Reservation`](#reserve-reservation).
|
|
654
659
|
*
|
|
655
|
-
*
|
|
656
|
-
* @param reservationDetails -
|
|
660
|
+
* If you do not wish to have `HELD` reservations in your flow, you can create a reservation with all required details using [`Create Reservation`](#create-reservation).
|
|
661
|
+
* @param reservationDetails - Held reservation information to update.
|
|
657
662
|
* @public
|
|
658
663
|
* @documentationMaturity preview
|
|
659
664
|
* @requiredField reservationDetails
|
|
@@ -669,9 +674,14 @@ export interface UpdateReservationOptions {
|
|
|
669
674
|
*/
|
|
670
675
|
export declare function createHeldReservation(reservationDetails: HeldReservationDetails): Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
|
|
671
676
|
/**
|
|
672
|
-
* Reserves or requests a
|
|
677
|
+
* Reserves or requests a held reservation.
|
|
678
|
+
*
|
|
679
|
+
* Held reservations are temporary reservations with the `HELD` status created by the [`Create Held Reservation`](#create-held-reservation) endpoint.
|
|
680
|
+
* They are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to call `Reserve Reservation` with a held reservation older than 10 minutes returns an error.
|
|
673
681
|
*
|
|
674
|
-
* `Reserve Reservation` changes a reservation's `HELD` status to
|
|
682
|
+
* `Reserve Reservation` changes a reservation's `HELD` status to:
|
|
683
|
+
* * `RESERVED` if the reservation's reservation location does not require manual approval.
|
|
684
|
+
* * `REQUESTED` if the reservation's reservation location requires manual approval.
|
|
675
685
|
* @param reservationId - Reservation ID.
|
|
676
686
|
* @param reservee - Reservee details.
|
|
677
687
|
* @param revision - Revision number.
|
|
@@ -730,13 +740,13 @@ export declare function listReservations(options?: ListReservationsOptions): Pro
|
|
|
730
740
|
export interface ListReservationsOptions {
|
|
731
741
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
732
742
|
paging?: CursorPaging;
|
|
733
|
-
/**
|
|
743
|
+
/** Defines how reservations in the response are sorted. */
|
|
734
744
|
sort?: Sorting;
|
|
735
|
-
/**
|
|
745
|
+
/** Only reservations starting after this date are returned. */
|
|
736
746
|
startDateFrom?: Date;
|
|
737
|
-
/**
|
|
747
|
+
/** Only reservations starting before this date are returned. */
|
|
738
748
|
startDateTo?: Date;
|
|
739
|
-
/** Only reservations with this status
|
|
749
|
+
/** Only reservations with this status are returned. */
|
|
740
750
|
status?: Status;
|
|
741
751
|
}
|
|
742
752
|
/**
|
|
@@ -265,8 +265,11 @@ exports.getReservation = getReservation;
|
|
|
265
265
|
/**
|
|
266
266
|
* Updates a reservation.
|
|
267
267
|
*
|
|
268
|
+
* The fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` should only be included in the request if the call is made by a user with the `MANAGE RESERVATIONS (FULL)` permission scope.
|
|
269
|
+
* Including these fields in the request without the required permissions results in an application error.
|
|
270
|
+
*
|
|
268
271
|
* Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
|
|
269
|
-
* @param _id - Reservation ID. Read-
|
|
272
|
+
* @param _id - Reservation ID. Read-only.
|
|
270
273
|
* @public
|
|
271
274
|
* @documentationMaturity preview
|
|
272
275
|
* @requiredField _id
|
|
@@ -328,12 +331,14 @@ function updateReservation(_id, reservation, options) {
|
|
|
328
331
|
}
|
|
329
332
|
exports.updateReservation = updateReservation;
|
|
330
333
|
/**
|
|
331
|
-
* Creates a new reservation
|
|
334
|
+
* Creates a new temporary reservation and holds it for the customer for 10 minutes.
|
|
335
|
+
*
|
|
336
|
+
* Creates a new reservation with the `HELD` status. `HELD` reservations are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to change a `HELD` reservation’s status after 10 minutes returns an error.
|
|
332
337
|
*
|
|
333
|
-
*
|
|
338
|
+
* You cannot call [`Update Reservation`](#update-reservation) to change a reservation’s status from `HELD`. Trying to do so returns an error. Instead, you should use [`Reserve Reservation`](#reserve-reservation).
|
|
334
339
|
*
|
|
335
|
-
*
|
|
336
|
-
* @param reservationDetails -
|
|
340
|
+
* If you do not wish to have `HELD` reservations in your flow, you can create a reservation with all required details using [`Create Reservation`](#create-reservation).
|
|
341
|
+
* @param reservationDetails - Held reservation information to update.
|
|
337
342
|
* @public
|
|
338
343
|
* @documentationMaturity preview
|
|
339
344
|
* @requiredField reservationDetails
|
|
@@ -392,9 +397,14 @@ function createHeldReservation(reservationDetails) {
|
|
|
392
397
|
}
|
|
393
398
|
exports.createHeldReservation = createHeldReservation;
|
|
394
399
|
/**
|
|
395
|
-
* Reserves or requests a
|
|
400
|
+
* Reserves or requests a held reservation.
|
|
401
|
+
*
|
|
402
|
+
* Held reservations are temporary reservations with the `HELD` status created by the [`Create Held Reservation`](#create-held-reservation) endpoint.
|
|
403
|
+
* They are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to call `Reserve Reservation` with a held reservation older than 10 minutes returns an error.
|
|
396
404
|
*
|
|
397
|
-
* `Reserve Reservation` changes a reservation's `HELD` status to
|
|
405
|
+
* `Reserve Reservation` changes a reservation's `HELD` status to:
|
|
406
|
+
* * `RESERVED` if the reservation's reservation location does not require manual approval.
|
|
407
|
+
* * `REQUESTED` if the reservation's reservation location requires manual approval.
|
|
398
408
|
* @param reservationId - Reservation ID.
|
|
399
409
|
* @param reservee - Reservee details.
|
|
400
410
|
* @param revision - Revision number.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation.universal.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,sHAAwG;AACxG,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA+D5B,IAAY,MAkBX;AAlBD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,2GAA2G;IAC3G,uBAAa,CAAA;IACb,yCAAyC;IACzC,+BAAqB,CAAA;IACrB,yCAAyC;IACzC,+BAAqB,CAAA;IACrB,iDAAiD;IACjD,+BAAqB,CAAA;IACrB,kCAAkC;IAClC,6BAAmB,CAAA;IACnB,uCAAuC;IACvC,2BAAiB,CAAA;IACjB,+EAA+E;IAC/E,iCAAuB,CAAA;IACvB,+CAA+C;IAC/C,+BAA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gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AA1DD,8CA0DC"}
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-reservation.universal.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,sHAAwG;AACxG,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA+D5B,IAAY,MAkBX;AAlBD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,2GAA2G;IAC3G,uBAAa,CAAA;IACb,yCAAyC;IACzC,+BAAqB,CAAA;IACrB,yCAAyC;IACzC,+BAAqB,CAAA;IACrB,iDAAiD;IACjD,+BAAqB,CAAA;IACrB,kCAAkC;IAClC,6BAAmB,CAAA;IACnB,uCAAuC;IACvC,2BAAiB,CAAA;IACjB,+EAA+E;IAC/E,iCAAuB,CAAA;IACvB,+CAA+C;IAC/C,+BAAqB,CAAA;AACvB,C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AgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AA1DD,8CA0DC"}
|
|
@@ -6,7 +6,7 @@ import { GetTimeSlotsRequest, GetTimeSlotsResponse, GetTimeSlotsResponseNonNulla
|
|
|
6
6
|
* Without passing optional parameters, the list will contain a single time slot at the given `date`.
|
|
7
7
|
* Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the given `date`.
|
|
8
8
|
*
|
|
9
|
-
* If you do not provide a `duration`,
|
|
9
|
+
* If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.
|
|
10
10
|
* The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a given size.
|
|
11
11
|
*/
|
|
12
12
|
export declare function getTimeSlots(payload: GetTimeSlotsRequest): RequestOptionsFactory<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
|
|
@@ -83,7 +83,7 @@ function resolveWixTableReservationsTimeSlotV1TimeSlotsServiceUrl(opts) {
|
|
|
83
83
|
* Without passing optional parameters, the list will contain a single time slot at the given `date`.
|
|
84
84
|
* Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the given `date`.
|
|
85
85
|
*
|
|
86
|
-
* If you do not provide a `duration`,
|
|
86
|
+
* If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.
|
|
87
87
|
* The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a given size.
|
|
88
88
|
*/
|
|
89
89
|
function getTimeSlots(payload) {
|
|
@@ -3,7 +3,13 @@ export interface TimeSlot {
|
|
|
3
3
|
startDate?: Date;
|
|
4
4
|
/** Duration in minutes of this time slot. */
|
|
5
5
|
duration?: number;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Availability status of this time slot.
|
|
8
|
+
*
|
|
9
|
+
* * `AVAILABLE`: The restaurant can accommodate a party of the given size in this time slot.
|
|
10
|
+
* * `UNAVAILABLE`: The restaurant can't accommodate a party of the given size in this time slot.
|
|
11
|
+
* * `NON_WORKING_HOURS`: The restaurant is not open during this time slot.
|
|
12
|
+
*/
|
|
7
13
|
status?: Status;
|
|
8
14
|
/** Whether manual approval is required to make a reservation in this time slot. */
|
|
9
15
|
manualApproval?: boolean | null;
|
|
@@ -41,7 +47,7 @@ export interface GetTimeSlotsRequest {
|
|
|
41
47
|
slotsAfter?: number | null;
|
|
42
48
|
}
|
|
43
49
|
export interface GetTimeSlotsResponse {
|
|
44
|
-
/** A list of time slots and their
|
|
50
|
+
/** A list of time slots and their availability according to the given party size. */
|
|
45
51
|
timeSlots?: TimeSlot[];
|
|
46
52
|
}
|
|
47
53
|
export interface CheckReservationDetailsRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-time-slot.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-time-slot.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.types.ts"],"names":[],"mappings":";;;AAiBA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,iCAAuB,CAAA;IACvB,qCAA2B,CAAA;IAC3B,iDAAuC,CAAA;AACzC,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAyED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,sDAAiC,CAAA;IACjC,oDAA+B,CAAA;IAC/B,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;AAC/B,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAYD,IAAY,4BAMX;AAND,WAAY,4BAA4B;IACtC,mDAAmB,CAAA;IACnB,qDAAqB,CAAA;IACrB,mDAAmB,CAAA;IACnB,uDAAuB,CAAA;IACvB,6DAA6B,CAAA;AAC/B,CAAC,EANW,4BAA4B,4CAA5B,4BAA4B,QAMvC;AAOD,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,qCAA6B,CAAA;IAC7B,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,oBAAJ,IAAI,QAIf"}
|