@ventrata/octo-types 0.0.7 → 0.0.9
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 +46 -0
- package/dist/models/BookingCancellationBody.d.ts +3 -1
- package/dist/models/BookingConfirmationBody.d.ts +19 -1
- package/dist/models/BookingPickupBody.d.ts +18 -0
- package/dist/models/BookingReservationBody.d.ts +17 -0
- package/dist/models/BookingUpdateBody.d.ts +17 -0
- package/dist/models/CancelOrderBody.d.ts +6 -0
- package/dist/models/CancelOrderRequest_id.d.ts +4 -0
- package/dist/models/ConfirmOrderBody.d.ts +19 -0
- package/dist/models/ConfirmOrderPricingBody.d.ts +6 -0
- package/dist/models/ConfirmOrderRequest_id.d.ts +4 -0
- package/dist/models/CreateOrderBody.d.ts +19 -0
- package/dist/models/CreateOrderPricingBody.d.ts +6 -0
- package/dist/models/CreateOrderRequest_id.d.ts +4 -0
- package/dist/models/ExtendOrderBody.d.ts +3 -0
- package/dist/models/ExtendOrderRequest_id.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_optionId.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_productId.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_resellerReference.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts +5 -0
- package/dist/models/GetMappingsRequest.d.ts +19 -0
- package/dist/models/GetOrderRequest_id.d.ts +4 -0
- package/dist/models/MappingToUpdate.d.ts +31 -0
- package/dist/models/OrderPathParams.d.ts +6 -0
- package/dist/models/UpdateMappingsRequest.d.ts +4 -0
- package/dist/models/UpdateOrderBody.d.ts +19 -0
- package/dist/models/UpdateOrderPricingBody.d.ts +6 -0
- package/dist/models/UpdateOrderRequest_id.d.ts +4 -0
- package/dist/schemas/BookingCancellationBody.d.ts +12 -5
- package/dist/schemas/BookingCancellationRequest.d.ts +12 -2
- package/dist/schemas/BookingConfirmationBody.d.ts +26 -8
- package/dist/schemas/BookingConfirmationRequest.d.ts +44 -14
- package/dist/schemas/BookingPickupBody.d.ts +17 -0
- package/dist/schemas/BookingReservationBody.d.ts +15 -0
- package/dist/schemas/BookingReservationRequest.d.ts +25 -0
- package/dist/schemas/BookingUpdateBody.d.ts +15 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +25 -0
- package/dist/schemas/CancelOrderBody.d.ts +8 -0
- package/dist/schemas/CancelOrderRequest_id.d.ts +2 -0
- package/dist/schemas/ConfirmOrderBody.d.ts +92 -0
- package/dist/schemas/ConfirmOrderPricingBody.d.ts +8 -0
- package/dist/schemas/ConfirmOrderRequest_id.d.ts +2 -0
- package/dist/schemas/CreateOrderBody.d.ts +92 -0
- package/dist/schemas/CreateOrderPricingBody.d.ts +8 -0
- package/dist/schemas/CreateOrderRequest_id.d.ts +2 -0
- package/dist/schemas/ExtendOrderBody.d.ts +8 -0
- package/dist/schemas/ExtendOrderRequest_id.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_optionId.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_productId.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_resellerReference.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_resellerStatus.d.ts +1 -0
- package/dist/schemas/GetMappingsRequest.d.ts +17 -0
- package/dist/schemas/GetOrderRequest_id.d.ts +2 -0
- package/dist/schemas/MappingToUpdate.d.ts +26 -0
- package/dist/schemas/OrderPathParams.d.ts +8 -0
- package/dist/schemas/UpdateMappingsRequest.d.ts +48 -0
- package/dist/schemas/UpdateOrderBody.d.ts +92 -0
- package/dist/schemas/UpdateOrderPricingBody.d.ts +8 -0
- package/dist/schemas/UpdateOrderRequest_id.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const updateMappingsRequestSchema: z.ZodObject<{
|
|
3
|
+
body: z.ZodArray<z.ZodObject<{
|
|
4
|
+
resellerReference: z.ZodString;
|
|
5
|
+
resellerStatus: z.ZodNativeEnum<typeof import("..").ResellerStatus>;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
url: z.ZodString;
|
|
8
|
+
webhookUrl: z.ZodNullable<z.ZodString>;
|
|
9
|
+
optionRequired: z.ZodBoolean;
|
|
10
|
+
unitRequired: z.ZodBoolean;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
resellerReference: string;
|
|
15
|
+
resellerStatus: import("..").ResellerStatus;
|
|
16
|
+
webhookUrl: string | null;
|
|
17
|
+
optionRequired: boolean;
|
|
18
|
+
unitRequired: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
title: string;
|
|
21
|
+
url: string;
|
|
22
|
+
resellerReference: string;
|
|
23
|
+
resellerStatus: import("..").ResellerStatus;
|
|
24
|
+
webhookUrl: string | null;
|
|
25
|
+
optionRequired: boolean;
|
|
26
|
+
unitRequired: boolean;
|
|
27
|
+
}>, "many">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
body: {
|
|
30
|
+
title: string;
|
|
31
|
+
url: string;
|
|
32
|
+
resellerReference: string;
|
|
33
|
+
resellerStatus: import("..").ResellerStatus;
|
|
34
|
+
webhookUrl: string | null;
|
|
35
|
+
optionRequired: boolean;
|
|
36
|
+
unitRequired: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
}, {
|
|
39
|
+
body: {
|
|
40
|
+
title: string;
|
|
41
|
+
url: string;
|
|
42
|
+
resellerReference: string;
|
|
43
|
+
resellerStatus: import("..").ResellerStatus;
|
|
44
|
+
webhookUrl: string | null;
|
|
45
|
+
optionRequired: boolean;
|
|
46
|
+
unitRequired: boolean;
|
|
47
|
+
}[];
|
|
48
|
+
}>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const updateOrderBodySchema: z.ZodObject<{
|
|
3
|
+
expirationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
contact: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
13
|
+
country: z.ZodOptional<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
15
|
+
taxId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
streetAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
allowMarketing: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
firstName?: string | undefined;
|
|
22
|
+
lastName?: string | undefined;
|
|
23
|
+
emailAddress?: string | undefined;
|
|
24
|
+
phoneNumber?: string | undefined;
|
|
25
|
+
country?: string | undefined;
|
|
26
|
+
notes?: string | undefined;
|
|
27
|
+
locales?: string[] | undefined;
|
|
28
|
+
allowMarketing?: boolean | undefined;
|
|
29
|
+
postalCode?: string | undefined;
|
|
30
|
+
state?: string | null | undefined;
|
|
31
|
+
fullName?: string | undefined;
|
|
32
|
+
taxId?: string | null | undefined;
|
|
33
|
+
streetAddress?: string | null | undefined;
|
|
34
|
+
city?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
firstName?: string | undefined;
|
|
37
|
+
lastName?: string | undefined;
|
|
38
|
+
emailAddress?: string | undefined;
|
|
39
|
+
phoneNumber?: string | undefined;
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
notes?: string | undefined;
|
|
42
|
+
locales?: string[] | undefined;
|
|
43
|
+
allowMarketing?: boolean | undefined;
|
|
44
|
+
postalCode?: string | undefined;
|
|
45
|
+
state?: string | null | undefined;
|
|
46
|
+
fullName?: string | undefined;
|
|
47
|
+
taxId?: string | null | undefined;
|
|
48
|
+
streetAddress?: string | null | undefined;
|
|
49
|
+
city?: string | null | undefined;
|
|
50
|
+
}>>;
|
|
51
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
currency?: string | undefined;
|
|
54
|
+
contact?: {
|
|
55
|
+
firstName?: string | undefined;
|
|
56
|
+
lastName?: string | undefined;
|
|
57
|
+
emailAddress?: string | undefined;
|
|
58
|
+
phoneNumber?: string | undefined;
|
|
59
|
+
country?: string | undefined;
|
|
60
|
+
notes?: string | undefined;
|
|
61
|
+
locales?: string[] | undefined;
|
|
62
|
+
allowMarketing?: boolean | undefined;
|
|
63
|
+
postalCode?: string | undefined;
|
|
64
|
+
state?: string | null | undefined;
|
|
65
|
+
fullName?: string | undefined;
|
|
66
|
+
taxId?: string | null | undefined;
|
|
67
|
+
streetAddress?: string | null | undefined;
|
|
68
|
+
city?: string | null | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
emailReceipt?: boolean | undefined;
|
|
71
|
+
expirationMinutes?: number | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
currency?: string | undefined;
|
|
74
|
+
contact?: {
|
|
75
|
+
firstName?: string | undefined;
|
|
76
|
+
lastName?: string | undefined;
|
|
77
|
+
emailAddress?: string | undefined;
|
|
78
|
+
phoneNumber?: string | undefined;
|
|
79
|
+
country?: string | undefined;
|
|
80
|
+
notes?: string | undefined;
|
|
81
|
+
locales?: string[] | undefined;
|
|
82
|
+
allowMarketing?: boolean | undefined;
|
|
83
|
+
postalCode?: string | undefined;
|
|
84
|
+
state?: string | null | undefined;
|
|
85
|
+
fullName?: string | undefined;
|
|
86
|
+
taxId?: string | null | undefined;
|
|
87
|
+
streetAddress?: string | null | undefined;
|
|
88
|
+
city?: string | null | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
emailReceipt?: boolean | undefined;
|
|
91
|
+
expirationMinutes?: number | undefined;
|
|
92
|
+
}>;
|