@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.
Files changed (28) hide show
  1. package/dist/index.d.ts +14 -7
  2. package/dist/models/BookingCancellationPathParams.d.ts +6 -0
  3. package/dist/models/BookingCancellationRequest_uuid.d.ts +4 -0
  4. package/dist/models/BookingConfirmationPathParams.d.ts +6 -0
  5. package/dist/models/BookingConfirmationRequest_uuid.d.ts +1 -1
  6. package/dist/models/BookingUpdatePathParams.d.ts +6 -0
  7. package/dist/models/BookingUpdateRequest_uuid.d.ts +4 -0
  8. package/dist/models/Capability.d.ts +2 -1
  9. package/dist/models/DeleteWebhookPathParams.d.ts +1 -1
  10. package/dist/models/DeleteWebhookRequest_id.d.ts +1 -1
  11. package/dist/models/ExtendReservationPathParams.d.ts +6 -0
  12. package/dist/models/ExtendReservationRequest_uuid.d.ts +4 -0
  13. package/dist/schemas/BookingCancellationPathParams.d.ts +8 -0
  14. package/dist/schemas/BookingCancellationRequest_uuid.d.ts +2 -0
  15. package/dist/schemas/BookingConfirmationPathParams.d.ts +8 -0
  16. package/dist/schemas/BookingUpdatePathParams.d.ts +8 -0
  17. package/dist/schemas/BookingUpdateRequest_uuid.d.ts +2 -0
  18. package/dist/schemas/Capability.d.ts +3 -3
  19. package/dist/schemas/ExtendReservationPathParams.d.ts +8 -0
  20. package/dist/schemas/ExtendReservationRequest_uuid.d.ts +2 -0
  21. package/package.json +1 -1
  22. package/dist/models/BookingCancellationRequest.d.ts +0 -5
  23. package/dist/models/BookingUpdateRequest.d.ts +0 -4
  24. package/dist/models/ExtendReservationRequest.d.ts +0 -5
  25. package/dist/models/Octo_BookingCancellationRequest.d.ts +0 -8
  26. package/dist/models/Octo_BookingCancellationRequest_uuid.d.ts +0 -4
  27. package/dist/models/Octo_ExtendReservationRequest.d.ts +0 -8
  28. 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 { BookingCancellationRequest } from './models/BookingCancellationRequest';
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 { BookingUpdateRequest } from './models/BookingUpdateRequest';
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 { ExtendReservationRequest } from './models/ExtendReservationRequest';
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';
@@ -0,0 +1,6 @@
1
+ export type BookingCancellationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type BookingCancellationRequest_uuid = string;
@@ -0,0 +1,6 @@
1
+ export type BookingConfirmationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * The UUID of the booking
2
+ * The booking uuid
3
3
  */
4
4
  export type BookingConfirmationRequest_uuid = string;
@@ -0,0 +1,6 @@
1
+ export type BookingUpdatePathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type BookingUpdateRequest_uuid = string;
@@ -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: Octo_CapabilityId;
7
+ id: CapabilityId;
7
8
  /**
8
9
  * Revision number for the capability.
9
10
  */
@@ -1,6 +1,6 @@
1
1
  export type DeleteWebhookPathParams = {
2
2
  /**
3
- * The webhook id
3
+ * The booking uuid
4
4
  */
5
5
  id: string;
6
6
  };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * The webhook id
2
+ * The booking uuid
3
3
  */
4
4
  export type DeleteWebhookRequest_id = string;
@@ -0,0 +1,6 @@
1
+ export type ExtendReservationPathParams = {
2
+ /**
3
+ * The booking uuid
4
+ */
5
+ uuid: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The booking uuid
3
+ */
4
+ export type ExtendReservationRequest_uuid = string;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingCancellationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingCancellationRequest_uuidSchema: z.ZodString;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingConfirmationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingUpdatePathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const bookingUpdateRequest_uuidSchema: z.ZodString;
@@ -1,18 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const capabilitySchema: z.ZodObject<{
3
- id: z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>;
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("..").Octo_CapabilityId;
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("..").Octo_CapabilityId;
15
+ id: import("..").CapabilityId;
16
16
  required: boolean;
17
17
  revision: number;
18
18
  dependencies: import("..").Octo_CapabilityId[];
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const extendReservationPathParamsSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ uuid: string;
6
+ }, {
7
+ uuid: string;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const extendReservationRequest_uuidSchema: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ventrata/octo-types",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "license": "ISC",
6
6
  "files": [
@@ -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
- };
@@ -1,4 +0,0 @@
1
- import type { BookingUpdateBody } from './BookingUpdateBody';
2
- export type BookingUpdateRequest = {
3
- body: BookingUpdateBody;
4
- };
@@ -1,5 +0,0 @@
1
- import type { ExtendReservationBody } from './ExtendReservationBody';
2
- import type { Octo_ExtendReservationRequest } from './Octo_ExtendReservationRequest';
3
- export type ExtendReservationRequest = Octo_ExtendReservationRequest & {
4
- body: ExtendReservationBody;
5
- };
@@ -1,8 +0,0 @@
1
- import type { Octo_BookingCancellationBody } from './Octo_BookingCancellationBody';
2
- export type Octo_BookingCancellationRequest = {
3
- /**
4
- * The UUID of the booking
5
- */
6
- uuid: string;
7
- body: Octo_BookingCancellationBody;
8
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * The UUID of the booking
3
- */
4
- export type Octo_BookingCancellationRequest_uuid = string;
@@ -1,8 +0,0 @@
1
- import type { Octo_ExtendReservationBody } from './Octo_ExtendReservationBody';
2
- export type Octo_ExtendReservationRequest = {
3
- /**
4
- * The UUID of the booking
5
- */
6
- uuid: string;
7
- body: Octo_ExtendReservationBody;
8
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * The UUID of the booking
3
- */
4
- export type Octo_ExtendReservationRequest_uuid = string;