@ventrata/octo-types 0.0.6 → 0.0.7
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/BookingCancellationPathParams.d.ts +6 -0
- package/dist/models/BookingCancellationRequest_uuid.d.ts +4 -0
- package/dist/models/BookingConfirmationPathParams.d.ts +6 -0
- package/dist/models/BookingConfirmationRequest_uuid.d.ts +1 -1
- 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/BookingCancellationPathParams.d.ts +8 -0
- package/dist/schemas/BookingCancellationRequest_uuid.d.ts +2 -0
- package/dist/schemas/BookingConfirmationPathParams.d.ts +8 -0
- package/dist/schemas/BookingUpdatePathParams.d.ts +8 -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';
|
|
@@ -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,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
|
-
};
|