@ventrata/octo-types 0.0.6 → 0.0.8
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/dist/index.d.ts +14 -7
- package/dist/models/BookingCancellationBody.d.ts +3 -1
- package/dist/models/BookingCancellationPathParams.d.ts +6 -0
- package/dist/models/BookingCancellationRequest_uuid.d.ts +4 -0
- package/dist/models/BookingConfirmationBody.d.ts +2 -0
- package/dist/models/BookingConfirmationPathParams.d.ts +6 -0
- package/dist/models/BookingConfirmationRequest_uuid.d.ts +1 -1
- package/dist/models/BookingReservationBody.d.ts +1 -0
- package/dist/models/BookingUpdateBody.d.ts +1 -0
- package/dist/models/BookingUpdatePathParams.d.ts +6 -0
- package/dist/models/BookingUpdateRequest_uuid.d.ts +4 -0
- package/dist/models/Capability.d.ts +2 -1
- package/dist/models/DeleteWebhookPathParams.d.ts +1 -1
- package/dist/models/DeleteWebhookRequest_id.d.ts +1 -1
- package/dist/models/ExtendReservationPathParams.d.ts +6 -0
- package/dist/models/ExtendReservationRequest_uuid.d.ts +4 -0
- package/dist/schemas/BookingCancellationBody.d.ts +12 -5
- package/dist/schemas/BookingCancellationPathParams.d.ts +8 -0
- package/dist/schemas/BookingCancellationRequest.d.ts +12 -2
- package/dist/schemas/BookingCancellationRequest_uuid.d.ts +2 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +6 -0
- package/dist/schemas/BookingConfirmationPathParams.d.ts +8 -0
- package/dist/schemas/BookingConfirmationRequest.d.ts +10 -0
- package/dist/schemas/BookingReservationBody.d.ts +3 -0
- package/dist/schemas/BookingReservationRequest.d.ts +5 -0
- package/dist/schemas/BookingUpdateBody.d.ts +3 -0
- package/dist/schemas/BookingUpdatePathParams.d.ts +8 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +5 -0
- package/dist/schemas/BookingUpdateRequest_uuid.d.ts +2 -0
- package/dist/schemas/Capability.d.ts +3 -3
- package/dist/schemas/ExtendReservationPathParams.d.ts +8 -0
- package/dist/schemas/ExtendReservationRequest_uuid.d.ts +2 -0
- package/package.json +1 -1
- package/dist/models/BookingCancellationRequest.d.ts +0 -5
- package/dist/models/BookingUpdateRequest.d.ts +0 -4
- package/dist/models/ExtendReservationRequest.d.ts +0 -5
- package/dist/models/Octo_BookingCancellationRequest.d.ts +0 -8
- package/dist/models/Octo_BookingCancellationRequest_uuid.d.ts +0 -4
- package/dist/models/Octo_ExtendReservationRequest.d.ts +0 -8
- package/dist/models/Octo_ExtendReservationRequest_uuid.d.ts +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -25,10 +25,12 @@ export type { BookingAdjustments } from './models/BookingAdjustments';
|
|
|
25
25
|
export type { BookingCancellation } from './models/BookingCancellation';
|
|
26
26
|
export type { BookingCancellationBody } from './models/BookingCancellationBody';
|
|
27
27
|
export type { BookingCancellationErrorResponse } from './models/BookingCancellationErrorResponse';
|
|
28
|
-
export type {
|
|
28
|
+
export type { BookingCancellationPathParams } from './models/BookingCancellationPathParams';
|
|
29
|
+
export type { BookingCancellationRequest_uuid } from './models/BookingCancellationRequest_uuid';
|
|
29
30
|
export type { BookingCart } from './models/BookingCart';
|
|
30
31
|
export type { BookingConfirmationBody } from './models/BookingConfirmationBody';
|
|
31
32
|
export type { BookingConfirmationErrorResponse } from './models/BookingConfirmationErrorResponse';
|
|
33
|
+
export type { BookingConfirmationPathParams } from './models/BookingConfirmationPathParams';
|
|
32
34
|
export type { BookingConfirmationRequest_uuid } from './models/BookingConfirmationRequest_uuid';
|
|
33
35
|
export type { BookingContact } from './models/BookingContact';
|
|
34
36
|
export type { BookingContent } from './models/BookingContent';
|
|
@@ -48,7 +50,8 @@ export type { BookingResources } from './models/BookingResources';
|
|
|
48
50
|
export { BookingStatus } from './models/BookingStatus';
|
|
49
51
|
export type { BookingUpdate } from './models/BookingUpdate';
|
|
50
52
|
export type { BookingUpdateBody } from './models/BookingUpdateBody';
|
|
51
|
-
export type {
|
|
53
|
+
export type { BookingUpdatePathParams } from './models/BookingUpdatePathParams';
|
|
54
|
+
export type { BookingUpdateRequest_uuid } from './models/BookingUpdateRequest_uuid';
|
|
52
55
|
export type { Brand } from './models/Brand';
|
|
53
56
|
export type { BrandContact } from './models/BrandContact';
|
|
54
57
|
export type { Capability } from './models/Capability';
|
|
@@ -73,7 +76,8 @@ export type { Diff } from './models/Diff';
|
|
|
73
76
|
export { DurationUnit } from './models/DurationUnit';
|
|
74
77
|
export type { ExtendReservationBody } from './models/ExtendReservationBody';
|
|
75
78
|
export type { ExtendReservationErrorResponse } from './models/ExtendReservationErrorResponse';
|
|
76
|
-
export type {
|
|
79
|
+
export type { ExtendReservationPathParams } from './models/ExtendReservationPathParams';
|
|
80
|
+
export type { ExtendReservationRequest_uuid } from './models/ExtendReservationRequest_uuid';
|
|
77
81
|
export type { Extra } from './models/Extra';
|
|
78
82
|
export type { ExtraItem } from './models/ExtraItem';
|
|
79
83
|
export type { ExtraRestrictions } from './models/ExtraRestrictions';
|
|
@@ -120,8 +124,6 @@ export type { Octo_AvailabilityCheckErrorResponse } from './models/Octo_Availabi
|
|
|
120
124
|
export type { Octo_BaseError } from './models/Octo_BaseError';
|
|
121
125
|
export type { Octo_BookingCancellationBody } from './models/Octo_BookingCancellationBody';
|
|
122
126
|
export type { Octo_BookingCancellationErrorResponse } from './models/Octo_BookingCancellationErrorResponse';
|
|
123
|
-
export type { Octo_BookingCancellationRequest } from './models/Octo_BookingCancellationRequest';
|
|
124
|
-
export type { Octo_BookingCancellationRequest_uuid } from './models/Octo_BookingCancellationRequest_uuid';
|
|
125
127
|
export type { Octo_BookingConfirmationErrorResponse } from './models/Octo_BookingConfirmationErrorResponse';
|
|
126
128
|
export type { Octo_BookingReservationErrorResponse } from './models/Octo_BookingReservationErrorResponse';
|
|
127
129
|
export { Octo_CapabilityId } from './models/Octo_CapabilityId';
|
|
@@ -137,8 +139,6 @@ export type { Octo_ErrorUnauthorized } from './models/Octo_ErrorUnauthorized';
|
|
|
137
139
|
export type { Octo_ErrorUnprocessableEntity } from './models/Octo_ErrorUnprocessableEntity';
|
|
138
140
|
export type { Octo_ExtendReservationBody } from './models/Octo_ExtendReservationBody';
|
|
139
141
|
export type { Octo_ExtendReservationErrorResponse } from './models/Octo_ExtendReservationErrorResponse';
|
|
140
|
-
export type { Octo_ExtendReservationRequest } from './models/Octo_ExtendReservationRequest';
|
|
141
|
-
export type { Octo_ExtendReservationRequest_uuid } from './models/Octo_ExtendReservationRequest_uuid';
|
|
142
142
|
export type { Octo_GetBookingRequest } from './models/Octo_GetBookingRequest';
|
|
143
143
|
export type { Octo_GetBookingRequest_uuid } from './models/Octo_GetBookingRequest_uuid';
|
|
144
144
|
export type { Octo_GetBookingsRequest } from './models/Octo_GetBookingsRequest';
|
|
@@ -428,7 +428,9 @@ export { fAQSchema } from './schemas/FAQ';
|
|
|
428
428
|
export { extraRestrictionsSchema } from './schemas/ExtraRestrictions';
|
|
429
429
|
export { extraItemSchema } from './schemas/ExtraItem';
|
|
430
430
|
export { extraSchema } from './schemas/Extra';
|
|
431
|
+
export { extendReservationRequest_uuidSchema } from './schemas/ExtendReservationRequest_uuid';
|
|
431
432
|
export { extendReservationRequestSchema } from './schemas/ExtendReservationRequest';
|
|
433
|
+
export { extendReservationPathParamsSchema } from './schemas/ExtendReservationPathParams';
|
|
432
434
|
export { extendReservationErrorResponseSchema } from './schemas/ExtendReservationErrorResponse';
|
|
433
435
|
export { extendReservationBodySchema } from './schemas/ExtendReservationBody';
|
|
434
436
|
export { durationUnitSchema } from './schemas/DurationUnit';
|
|
@@ -453,7 +455,9 @@ export { capabilityIdSchema } from './schemas/CapabilityId';
|
|
|
453
455
|
export { capabilitySchema } from './schemas/Capability';
|
|
454
456
|
export { brandContactSchema } from './schemas/BrandContact';
|
|
455
457
|
export { brandSchema } from './schemas/Brand';
|
|
458
|
+
export { bookingUpdateRequest_uuidSchema } from './schemas/BookingUpdateRequest_uuid';
|
|
456
459
|
export { bookingUpdateRequestSchema } from './schemas/BookingUpdateRequest';
|
|
460
|
+
export { bookingUpdatePathParamsSchema } from './schemas/BookingUpdatePathParams';
|
|
457
461
|
export { bookingUpdateBodySchema } from './schemas/BookingUpdateBody';
|
|
458
462
|
export { bookingUpdateSchema } from './schemas/BookingUpdate';
|
|
459
463
|
export { bookingStatusSchema } from './schemas/BookingStatus';
|
|
@@ -474,10 +478,13 @@ export { bookingContentSchema } from './schemas/BookingContent';
|
|
|
474
478
|
export { bookingContactSchema } from './schemas/BookingContact';
|
|
475
479
|
export { bookingConfirmationRequest_uuidSchema } from './schemas/BookingConfirmationRequest_uuid';
|
|
476
480
|
export { bookingConfirmationRequestSchema } from './schemas/BookingConfirmationRequest';
|
|
481
|
+
export { bookingConfirmationPathParamsSchema } from './schemas/BookingConfirmationPathParams';
|
|
477
482
|
export { bookingConfirmationErrorResponseSchema } from './schemas/BookingConfirmationErrorResponse';
|
|
478
483
|
export { bookingConfirmationBodySchema } from './schemas/BookingConfirmationBody';
|
|
479
484
|
export { bookingCartSchema } from './schemas/BookingCart';
|
|
485
|
+
export { bookingCancellationRequest_uuidSchema } from './schemas/BookingCancellationRequest_uuid';
|
|
480
486
|
export { bookingCancellationRequestSchema } from './schemas/BookingCancellationRequest';
|
|
487
|
+
export { bookingCancellationPathParamsSchema } from './schemas/BookingCancellationPathParams';
|
|
481
488
|
export { bookingCancellationErrorResponseSchema } from './schemas/BookingCancellationErrorResponse';
|
|
482
489
|
export { bookingCancellationBodySchema } from './schemas/BookingCancellationBody';
|
|
483
490
|
export { bookingCancellationSchema } from './schemas/BookingCancellation';
|
|
@@ -17,4 +17,6 @@ export type BookingConfirmationBody = {
|
|
|
17
17
|
* Contact details for the main guest who will attend the tour/attraction. Contact Body can be applied to both the booking object (the main reservation) or the unit object (individual ticket holders - if the supplier requires this information).
|
|
18
18
|
*/
|
|
19
19
|
contact: BookingContact;
|
|
20
|
+
notes?: string;
|
|
21
|
+
metadata?: Record<string, string>;
|
|
20
22
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { CapabilityId } from './CapabilityId';
|
|
1
2
|
import type { Octo_CapabilityId } from './Octo_CapabilityId';
|
|
2
3
|
export type Capability = {
|
|
3
4
|
/**
|
|
4
5
|
* Unique identifier of the capability.
|
|
5
6
|
*/
|
|
6
|
-
id:
|
|
7
|
+
id: CapabilityId;
|
|
7
8
|
/**
|
|
8
9
|
* Revision number for the capability.
|
|
9
10
|
*/
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bookingCancellationBodySchema: z.ZodIntersection<z.ZodObject<{
|
|
3
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
6
|
reason?: string | undefined;
|
|
6
7
|
force?: boolean | undefined;
|
|
7
8
|
}, {
|
|
8
9
|
reason?: string | undefined;
|
|
9
10
|
force?: boolean | undefined;
|
|
10
|
-
}
|
|
11
|
+
}>, z.ZodObject<{
|
|
12
|
+
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
emailReceipt?: boolean | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
emailReceipt?: boolean | undefined;
|
|
17
|
+
}>>;
|
|
@@ -24,7 +24,7 @@ export declare const bookingCancellationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
24
24
|
};
|
|
25
25
|
uuid: string;
|
|
26
26
|
}>, z.ZodObject<{
|
|
27
|
-
body: z.ZodObject<{
|
|
27
|
+
body: z.ZodIntersection<z.ZodObject<{
|
|
28
28
|
reason: z.ZodOptional<z.ZodString>;
|
|
29
29
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -33,15 +33,25 @@ export declare const bookingCancellationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
33
33
|
}, {
|
|
34
34
|
reason?: string | undefined;
|
|
35
35
|
force?: boolean | undefined;
|
|
36
|
-
}
|
|
36
|
+
}>, z.ZodObject<{
|
|
37
|
+
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
emailReceipt?: boolean | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
emailReceipt?: boolean | undefined;
|
|
42
|
+
}>>;
|
|
37
43
|
}, "strip", z.ZodTypeAny, {
|
|
38
44
|
body: {
|
|
39
45
|
reason?: string | undefined;
|
|
40
46
|
force?: boolean | undefined;
|
|
47
|
+
} & {
|
|
48
|
+
emailReceipt?: boolean | undefined;
|
|
41
49
|
};
|
|
42
50
|
}, {
|
|
43
51
|
body: {
|
|
44
52
|
reason?: string | undefined;
|
|
45
53
|
force?: boolean | undefined;
|
|
54
|
+
} & {
|
|
55
|
+
emailReceipt?: boolean | undefined;
|
|
46
56
|
};
|
|
47
57
|
}>>;
|
|
@@ -67,6 +67,8 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
|
|
|
67
67
|
streetAddress?: string | null | undefined;
|
|
68
68
|
city?: string | null | undefined;
|
|
69
69
|
}>;
|
|
70
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
71
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
70
72
|
}, "strip", z.ZodTypeAny, {
|
|
71
73
|
contact: {
|
|
72
74
|
firstName?: string | undefined;
|
|
@@ -91,8 +93,10 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
|
|
|
91
93
|
resellerReference?: string | undefined;
|
|
92
94
|
alias?: string | undefined;
|
|
93
95
|
}[];
|
|
96
|
+
notes?: string | undefined;
|
|
94
97
|
resellerReference?: string | undefined;
|
|
95
98
|
emailReceipt?: boolean | undefined;
|
|
99
|
+
metadata?: Record<string, string> | undefined;
|
|
96
100
|
}, {
|
|
97
101
|
contact: {
|
|
98
102
|
firstName?: string | undefined;
|
|
@@ -117,6 +121,8 @@ export declare const bookingConfirmationBodySchema: z.ZodObject<{
|
|
|
117
121
|
resellerReference?: string | undefined;
|
|
118
122
|
alias?: string | undefined;
|
|
119
123
|
}[];
|
|
124
|
+
notes?: string | undefined;
|
|
120
125
|
resellerReference?: string | undefined;
|
|
121
126
|
emailReceipt?: boolean | undefined;
|
|
127
|
+
metadata?: Record<string, string> | undefined;
|
|
122
128
|
}>;
|
|
@@ -193,6 +193,8 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
193
193
|
streetAddress?: string | null | undefined;
|
|
194
194
|
city?: string | null | undefined;
|
|
195
195
|
}>;
|
|
196
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
197
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
196
198
|
}, "strip", z.ZodTypeAny, {
|
|
197
199
|
contact: {
|
|
198
200
|
firstName?: string | undefined;
|
|
@@ -217,8 +219,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
217
219
|
resellerReference?: string | undefined;
|
|
218
220
|
alias?: string | undefined;
|
|
219
221
|
}[];
|
|
222
|
+
notes?: string | undefined;
|
|
220
223
|
resellerReference?: string | undefined;
|
|
221
224
|
emailReceipt?: boolean | undefined;
|
|
225
|
+
metadata?: Record<string, string> | undefined;
|
|
222
226
|
}, {
|
|
223
227
|
contact: {
|
|
224
228
|
firstName?: string | undefined;
|
|
@@ -243,8 +247,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
243
247
|
resellerReference?: string | undefined;
|
|
244
248
|
alias?: string | undefined;
|
|
245
249
|
}[];
|
|
250
|
+
notes?: string | undefined;
|
|
246
251
|
resellerReference?: string | undefined;
|
|
247
252
|
emailReceipt?: boolean | undefined;
|
|
253
|
+
metadata?: Record<string, string> | undefined;
|
|
248
254
|
}>;
|
|
249
255
|
}, "strip", z.ZodTypeAny, {
|
|
250
256
|
body: {
|
|
@@ -271,8 +277,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
271
277
|
resellerReference?: string | undefined;
|
|
272
278
|
alias?: string | undefined;
|
|
273
279
|
}[];
|
|
280
|
+
notes?: string | undefined;
|
|
274
281
|
resellerReference?: string | undefined;
|
|
275
282
|
emailReceipt?: boolean | undefined;
|
|
283
|
+
metadata?: Record<string, string> | undefined;
|
|
276
284
|
};
|
|
277
285
|
}, {
|
|
278
286
|
body: {
|
|
@@ -299,7 +307,9 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
299
307
|
resellerReference?: string | undefined;
|
|
300
308
|
alias?: string | undefined;
|
|
301
309
|
}[];
|
|
310
|
+
notes?: string | undefined;
|
|
302
311
|
resellerReference?: string | undefined;
|
|
303
312
|
emailReceipt?: boolean | undefined;
|
|
313
|
+
metadata?: Record<string, string> | undefined;
|
|
304
314
|
};
|
|
305
315
|
}>>;
|
|
@@ -81,6 +81,7 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
81
81
|
uuid: z.ZodOptional<z.ZodString>;
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
83
|
orderId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
84
85
|
}, "strip", z.ZodTypeAny, {
|
|
85
86
|
productId: string;
|
|
86
87
|
optionId: string;
|
|
@@ -119,6 +120,7 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
119
120
|
quote?: boolean | undefined;
|
|
120
121
|
emailReceipt?: boolean | undefined;
|
|
121
122
|
orderId?: string | undefined;
|
|
123
|
+
metadata?: Record<string, string> | undefined;
|
|
122
124
|
expirationMinutes?: number | undefined;
|
|
123
125
|
redeemed?: boolean | undefined;
|
|
124
126
|
}, {
|
|
@@ -159,6 +161,7 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
159
161
|
quote?: boolean | undefined;
|
|
160
162
|
emailReceipt?: boolean | undefined;
|
|
161
163
|
orderId?: string | undefined;
|
|
164
|
+
metadata?: Record<string, string> | undefined;
|
|
162
165
|
expirationMinutes?: number | undefined;
|
|
163
166
|
redeemed?: boolean | undefined;
|
|
164
167
|
}>;
|
|
@@ -82,6 +82,7 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
82
82
|
uuid: z.ZodOptional<z.ZodString>;
|
|
83
83
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
84
|
orderId: z.ZodOptional<z.ZodString>;
|
|
85
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
85
86
|
}, "strip", z.ZodTypeAny, {
|
|
86
87
|
productId: string;
|
|
87
88
|
optionId: string;
|
|
@@ -120,6 +121,7 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
120
121
|
quote?: boolean | undefined;
|
|
121
122
|
emailReceipt?: boolean | undefined;
|
|
122
123
|
orderId?: string | undefined;
|
|
124
|
+
metadata?: Record<string, string> | undefined;
|
|
123
125
|
expirationMinutes?: number | undefined;
|
|
124
126
|
redeemed?: boolean | undefined;
|
|
125
127
|
}, {
|
|
@@ -160,6 +162,7 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
160
162
|
quote?: boolean | undefined;
|
|
161
163
|
emailReceipt?: boolean | undefined;
|
|
162
164
|
orderId?: string | undefined;
|
|
165
|
+
metadata?: Record<string, string> | undefined;
|
|
163
166
|
expirationMinutes?: number | undefined;
|
|
164
167
|
redeemed?: boolean | undefined;
|
|
165
168
|
}>;
|
|
@@ -202,6 +205,7 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
202
205
|
quote?: boolean | undefined;
|
|
203
206
|
emailReceipt?: boolean | undefined;
|
|
204
207
|
orderId?: string | undefined;
|
|
208
|
+
metadata?: Record<string, string> | undefined;
|
|
205
209
|
expirationMinutes?: number | undefined;
|
|
206
210
|
redeemed?: boolean | undefined;
|
|
207
211
|
};
|
|
@@ -244,6 +248,7 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
244
248
|
quote?: boolean | undefined;
|
|
245
249
|
emailReceipt?: boolean | undefined;
|
|
246
250
|
orderId?: string | undefined;
|
|
251
|
+
metadata?: Record<string, string> | undefined;
|
|
247
252
|
expirationMinutes?: number | undefined;
|
|
248
253
|
redeemed?: boolean | undefined;
|
|
249
254
|
};
|
|
@@ -79,6 +79,7 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
79
79
|
redeemed: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
uuid: z.ZodOptional<z.ZodString>;
|
|
81
81
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
82
83
|
}, "strip", z.ZodTypeAny, {
|
|
83
84
|
notes?: string | undefined;
|
|
84
85
|
tags?: string[] | undefined;
|
|
@@ -115,6 +116,7 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
115
116
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
116
117
|
quote?: boolean | undefined;
|
|
117
118
|
emailReceipt?: boolean | undefined;
|
|
119
|
+
metadata?: Record<string, string> | undefined;
|
|
118
120
|
expirationMinutes?: number | undefined;
|
|
119
121
|
redeemed?: boolean | undefined;
|
|
120
122
|
}, {
|
|
@@ -153,6 +155,7 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
153
155
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
154
156
|
quote?: boolean | undefined;
|
|
155
157
|
emailReceipt?: boolean | undefined;
|
|
158
|
+
metadata?: Record<string, string> | undefined;
|
|
156
159
|
expirationMinutes?: number | undefined;
|
|
157
160
|
redeemed?: boolean | undefined;
|
|
158
161
|
}>;
|
|
@@ -80,6 +80,7 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
80
80
|
redeemed: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
uuid: z.ZodOptional<z.ZodString>;
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
83
84
|
}, "strip", z.ZodTypeAny, {
|
|
84
85
|
notes?: string | undefined;
|
|
85
86
|
tags?: string[] | undefined;
|
|
@@ -116,6 +117,7 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
116
117
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
117
118
|
quote?: boolean | undefined;
|
|
118
119
|
emailReceipt?: boolean | undefined;
|
|
120
|
+
metadata?: Record<string, string> | undefined;
|
|
119
121
|
expirationMinutes?: number | undefined;
|
|
120
122
|
redeemed?: boolean | undefined;
|
|
121
123
|
}, {
|
|
@@ -154,6 +156,7 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
154
156
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
155
157
|
quote?: boolean | undefined;
|
|
156
158
|
emailReceipt?: boolean | undefined;
|
|
159
|
+
metadata?: Record<string, string> | undefined;
|
|
157
160
|
expirationMinutes?: number | undefined;
|
|
158
161
|
redeemed?: boolean | undefined;
|
|
159
162
|
}>;
|
|
@@ -194,6 +197,7 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
194
197
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
195
198
|
quote?: boolean | undefined;
|
|
196
199
|
emailReceipt?: boolean | undefined;
|
|
200
|
+
metadata?: Record<string, string> | undefined;
|
|
197
201
|
expirationMinutes?: number | undefined;
|
|
198
202
|
redeemed?: boolean | undefined;
|
|
199
203
|
};
|
|
@@ -234,6 +238,7 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
234
238
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
235
239
|
quote?: boolean | undefined;
|
|
236
240
|
emailReceipt?: boolean | undefined;
|
|
241
|
+
metadata?: Record<string, string> | undefined;
|
|
237
242
|
expirationMinutes?: number | undefined;
|
|
238
243
|
redeemed?: boolean | undefined;
|
|
239
244
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const capabilitySchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodNativeEnum<typeof import("..").
|
|
3
|
+
id: z.ZodNativeEnum<typeof import("..").CapabilityId>;
|
|
4
4
|
revision: z.ZodNumber;
|
|
5
5
|
required: z.ZodBoolean;
|
|
6
6
|
dependencies: z.ZodArray<z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>, "many">;
|
|
7
7
|
docs: z.ZodNullable<z.ZodString>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
id: import("..").
|
|
9
|
+
id: import("..").CapabilityId;
|
|
10
10
|
required: boolean;
|
|
11
11
|
revision: number;
|
|
12
12
|
dependencies: import("..").Octo_CapabilityId[];
|
|
13
13
|
docs: string | null;
|
|
14
14
|
}, {
|
|
15
|
-
id: import("..").
|
|
15
|
+
id: import("..").CapabilityId;
|
|
16
16
|
required: boolean;
|
|
17
17
|
revision: number;
|
|
18
18
|
dependencies: import("..").Octo_CapabilityId[];
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BookingCancellationBody } from './BookingCancellationBody';
|
|
2
|
-
import type { Octo_BookingCancellationRequest } from './Octo_BookingCancellationRequest';
|
|
3
|
-
export type BookingCancellationRequest = Octo_BookingCancellationRequest & {
|
|
4
|
-
body: BookingCancellationBody;
|
|
5
|
-
};
|