@ventrata/octo-types 0.0.2 → 0.0.4
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 +28 -2
- package/dist/models/{Octo_AvailabilityCalendar.d.ts → AvailabilityCalendar.d.ts} +37 -7
- package/dist/models/AvailabilityCalendarOffers.d.ts +19 -0
- package/dist/models/AvailabilityCalendarPricing.d.ts +12 -0
- package/dist/models/AvailabilityUpdate.d.ts +25 -0
- package/dist/models/BookingUpdate.d.ts +19 -0
- package/dist/models/CreateWebhookBody.d.ts +35 -0
- package/dist/models/CreateWebhookRequest.d.ts +4 -0
- package/dist/models/CreateWebhookRequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/DeleteWebhookPathParams.d.ts +6 -0
- package/dist/models/DeleteWebhookRequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/DeleteWebhookRequest_id.d.ts +4 -0
- package/dist/models/Diff.d.ts +18 -0
- package/dist/models/ListWebhooksRequest.d.ts +1 -0
- package/dist/models/ListWebhooksRequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/OptionRestrictions.d.ts +1 -1
- package/dist/models/PricingUnit.d.ts +2 -0
- package/dist/models/Webhook.d.ts +1 -1
- package/dist/schemas/Availability.d.ts +5 -0
- package/dist/schemas/AvailabilityCalendar.d.ts +726 -0
- package/dist/schemas/AvailabilityCalendarOffers.d.ts +171 -0
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +491 -0
- package/dist/schemas/AvailabilityPricing.d.ts +5 -0
- package/dist/schemas/AvailabilityUpdate.d.ts +1768 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +4 -4
- package/dist/schemas/BookingConfirmationRequest.d.ts +6 -6
- package/dist/schemas/BookingExtras.d.ts +8 -8
- package/dist/schemas/BookingOffers.d.ts +10 -10
- package/dist/schemas/BookingReservationBody.d.ts +4 -4
- package/dist/schemas/BookingReservationRequest.d.ts +6 -6
- package/dist/schemas/BookingUpdate.d.ts +575 -0
- package/dist/schemas/BookingUpdateBody.d.ts +4 -4
- package/dist/schemas/BookingUpdateRequest.d.ts +6 -6
- package/dist/schemas/Brand.d.ts +4 -4
- package/dist/schemas/BrandContact.d.ts +2 -2
- package/dist/schemas/CreateWaitlistRequest.d.ts +2 -2
- package/dist/schemas/CreateWebhookBody.d.ts +23 -0
- package/dist/schemas/CreateWebhookRequest.d.ts +43 -0
- package/dist/schemas/CreateWebhookRequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/DeleteWebhookPathParams.d.ts +8 -0
- package/dist/schemas/DeleteWebhookRequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/DeleteWebhookRequest_id.d.ts +2 -0
- package/dist/schemas/Destination.d.ts +4 -4
- package/dist/schemas/DestinationContact.d.ts +2 -2
- package/dist/schemas/Diff.d.ts +17 -0
- package/dist/schemas/Extra.d.ts +4 -4
- package/dist/schemas/ExtraItem.d.ts +6 -6
- package/dist/schemas/ExtraRestrictions.d.ts +2 -2
- package/dist/schemas/GetBookingsRequest.d.ts +2 -2
- package/dist/schemas/Gift.d.ts +2 -2
- package/dist/schemas/ListWebhooksRequest.d.ts +2 -0
- package/dist/schemas/ListWebhooksRequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/Octo_AvailabilityCalendar.d.ts +12 -12
- package/dist/schemas/Octo_GetBookingsRequest.d.ts +2 -2
- package/dist/schemas/Octo_Media.d.ts +2 -2
- package/dist/schemas/OfferCombination.d.ts +8 -8
- package/dist/schemas/OfferComparison.d.ts +8 -8
- package/dist/schemas/OptionExtras.d.ts +6 -6
- package/dist/schemas/OptionRestrictions.d.ts +3 -3
- package/dist/schemas/Order.d.ts +10 -10
- package/dist/schemas/OrderOffers.d.ts +10 -10
- package/dist/schemas/PartnersListConnection.d.ts +20 -20
- package/dist/schemas/PricingUnit.d.ts +3 -0
- package/dist/schemas/ProductContent.d.ts +14 -14
- package/dist/schemas/Supplier.d.ts +14 -14
- package/dist/schemas/SupplierContact.d.ts +2 -2
- package/dist/schemas/SupplierContent.d.ts +6 -6
- package/dist/schemas/Unit.d.ts +6 -6
- package/dist/schemas/UnitExtras.d.ts +6 -6
- package/dist/schemas/UnitItem.d.ts +14 -14
- package/dist/schemas/UnitItemIdentifier.d.ts +2 -2
- package/dist/schemas/Waitlist.d.ts +2 -2
- package/dist/schemas/Webhook.d.ts +3 -3
- package/dist/schemas/WhoIAm.d.ts +32 -32
- package/package.json +2 -2
- package/dist/models/Octo_OpeningHours.d.ts +0 -13
package/dist/schemas/Brand.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export declare const brandSchema: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
name: string | null;
|
|
13
13
|
address: string | null;
|
|
14
|
+
website: string | null;
|
|
14
15
|
email: string | null;
|
|
15
16
|
telephone: string | null;
|
|
16
|
-
website: string | null;
|
|
17
17
|
}, {
|
|
18
18
|
name: string | null;
|
|
19
19
|
address: string | null;
|
|
20
|
+
website: string | null;
|
|
20
21
|
email: string | null;
|
|
21
22
|
telephone: string | null;
|
|
22
|
-
website: string | null;
|
|
23
23
|
}>>;
|
|
24
24
|
color: z.ZodNullable<z.ZodString>;
|
|
25
25
|
secondaryColor: z.ZodNullable<z.ZodString>;
|
|
@@ -100,9 +100,9 @@ export declare const brandSchema: z.ZodObject<{
|
|
|
100
100
|
contact: {
|
|
101
101
|
name: string | null;
|
|
102
102
|
address: string | null;
|
|
103
|
+
website: string | null;
|
|
103
104
|
email: string | null;
|
|
104
105
|
telephone: string | null;
|
|
105
|
-
website: string | null;
|
|
106
106
|
} | null;
|
|
107
107
|
color: string | null;
|
|
108
108
|
secondaryColor: string | null;
|
|
@@ -141,9 +141,9 @@ export declare const brandSchema: z.ZodObject<{
|
|
|
141
141
|
contact: {
|
|
142
142
|
name: string | null;
|
|
143
143
|
address: string | null;
|
|
144
|
+
website: string | null;
|
|
144
145
|
email: string | null;
|
|
145
146
|
telephone: string | null;
|
|
146
|
-
website: string | null;
|
|
147
147
|
} | null;
|
|
148
148
|
color: string | null;
|
|
149
149
|
secondaryColor: string | null;
|
|
@@ -8,13 +8,13 @@ export declare const brandContactSchema: z.ZodObject<{
|
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
name: string | null;
|
|
10
10
|
address: string | null;
|
|
11
|
+
website: string | null;
|
|
11
12
|
email: string | null;
|
|
12
13
|
telephone: string | null;
|
|
13
|
-
website: string | null;
|
|
14
14
|
}, {
|
|
15
15
|
name: string | null;
|
|
16
16
|
address: string | null;
|
|
17
|
+
website: string | null;
|
|
17
18
|
email: string | null;
|
|
18
19
|
telephone: string | null;
|
|
19
|
-
website: string | null;
|
|
20
20
|
}>;
|
|
@@ -61,6 +61,7 @@ export declare const createWaitlistRequestSchema: z.ZodObject<{
|
|
|
61
61
|
quantity?: number | undefined;
|
|
62
62
|
}>, "many">;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
localDate: string;
|
|
64
65
|
productId: string;
|
|
65
66
|
optionId: string;
|
|
66
67
|
units: {
|
|
@@ -83,9 +84,9 @@ export declare const createWaitlistRequestSchema: z.ZodObject<{
|
|
|
83
84
|
streetAddress?: string | null | undefined;
|
|
84
85
|
city?: string | null | undefined;
|
|
85
86
|
};
|
|
86
|
-
localDate: string;
|
|
87
87
|
returnUrl?: string | undefined;
|
|
88
88
|
}, {
|
|
89
|
+
localDate: string;
|
|
89
90
|
productId: string;
|
|
90
91
|
optionId: string;
|
|
91
92
|
units: {
|
|
@@ -108,6 +109,5 @@ export declare const createWaitlistRequestSchema: z.ZodObject<{
|
|
|
108
109
|
streetAddress?: string | null | undefined;
|
|
109
110
|
city?: string | null | undefined;
|
|
110
111
|
};
|
|
111
|
-
localDate: string;
|
|
112
112
|
returnUrl?: string | undefined;
|
|
113
113
|
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const createWebhookBodySchema: z.ZodObject<{
|
|
3
|
+
url: z.ZodString;
|
|
4
|
+
event: z.ZodNativeEnum<typeof import("..").WebhookEvent>;
|
|
5
|
+
retryOnError: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
useContactLanguage: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
event: import("..").WebhookEvent;
|
|
11
|
+
url: string;
|
|
12
|
+
retryOnError?: boolean | undefined;
|
|
13
|
+
useContactLanguage?: boolean | undefined;
|
|
14
|
+
headers?: Record<string, string> | undefined;
|
|
15
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
event: import("..").WebhookEvent;
|
|
18
|
+
url: string;
|
|
19
|
+
retryOnError?: boolean | undefined;
|
|
20
|
+
useContactLanguage?: boolean | undefined;
|
|
21
|
+
headers?: Record<string, string> | undefined;
|
|
22
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const createWebhookRequestSchema: z.ZodObject<{
|
|
3
|
+
body: z.ZodObject<{
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
event: z.ZodNativeEnum<typeof import("..").WebhookEvent>;
|
|
6
|
+
retryOnError: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
useContactLanguage: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").Capability>, "many">>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
event: import("..").WebhookEvent;
|
|
12
|
+
url: string;
|
|
13
|
+
retryOnError?: boolean | undefined;
|
|
14
|
+
useContactLanguage?: boolean | undefined;
|
|
15
|
+
headers?: Record<string, string> | undefined;
|
|
16
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
event: import("..").WebhookEvent;
|
|
19
|
+
url: string;
|
|
20
|
+
retryOnError?: boolean | undefined;
|
|
21
|
+
useContactLanguage?: boolean | undefined;
|
|
22
|
+
headers?: Record<string, string> | undefined;
|
|
23
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
body: {
|
|
27
|
+
event: import("..").WebhookEvent;
|
|
28
|
+
url: string;
|
|
29
|
+
retryOnError?: boolean | undefined;
|
|
30
|
+
useContactLanguage?: boolean | undefined;
|
|
31
|
+
headers?: Record<string, string> | undefined;
|
|
32
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
body: {
|
|
36
|
+
event: import("..").WebhookEvent;
|
|
37
|
+
url: string;
|
|
38
|
+
retryOnError?: boolean | undefined;
|
|
39
|
+
useContactLanguage?: boolean | undefined;
|
|
40
|
+
headers?: Record<string, string> | undefined;
|
|
41
|
+
capabilities?: import("..").Capability[] | undefined;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
@@ -16,15 +16,15 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
name: string | null;
|
|
18
18
|
address: string | null;
|
|
19
|
+
website: string | null;
|
|
19
20
|
email: string | null;
|
|
20
21
|
telephone: string | null;
|
|
21
|
-
website: string | null;
|
|
22
22
|
}, {
|
|
23
23
|
name: string | null;
|
|
24
24
|
address: string | null;
|
|
25
|
+
website: string | null;
|
|
25
26
|
email: string | null;
|
|
26
27
|
telephone: string | null;
|
|
27
|
-
website: string | null;
|
|
28
28
|
}>;
|
|
29
29
|
latitude: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
longitude: z.ZodNullable<z.ZodNumber>;
|
|
@@ -111,9 +111,9 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
111
111
|
contact: {
|
|
112
112
|
name: string | null;
|
|
113
113
|
address: string | null;
|
|
114
|
+
website: string | null;
|
|
114
115
|
email: string | null;
|
|
115
116
|
telephone: string | null;
|
|
116
|
-
website: string | null;
|
|
117
117
|
};
|
|
118
118
|
videoUrl: string | null;
|
|
119
119
|
facebookUrl: string | null;
|
|
@@ -157,9 +157,9 @@ export declare const destinationSchema: z.ZodObject<{
|
|
|
157
157
|
contact: {
|
|
158
158
|
name: string | null;
|
|
159
159
|
address: string | null;
|
|
160
|
+
website: string | null;
|
|
160
161
|
email: string | null;
|
|
161
162
|
telephone: string | null;
|
|
162
|
-
website: string | null;
|
|
163
163
|
};
|
|
164
164
|
videoUrl: string | null;
|
|
165
165
|
facebookUrl: string | null;
|
|
@@ -8,13 +8,13 @@ export declare const destinationContactSchema: z.ZodObject<{
|
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
name: string | null;
|
|
10
10
|
address: string | null;
|
|
11
|
+
website: string | null;
|
|
11
12
|
email: string | null;
|
|
12
13
|
telephone: string | null;
|
|
13
|
-
website: string | null;
|
|
14
14
|
}, {
|
|
15
15
|
name: string | null;
|
|
16
16
|
address: string | null;
|
|
17
|
+
website: string | null;
|
|
17
18
|
email: string | null;
|
|
18
19
|
telephone: string | null;
|
|
19
|
-
website: string | null;
|
|
20
20
|
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const diffSchema: z.ZodObject<{
|
|
3
|
+
op: z.ZodString;
|
|
4
|
+
path: z.ZodString;
|
|
5
|
+
was: z.ZodString;
|
|
6
|
+
value: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
value: string;
|
|
9
|
+
path: string;
|
|
10
|
+
op: string;
|
|
11
|
+
was: string;
|
|
12
|
+
}, {
|
|
13
|
+
value: string;
|
|
14
|
+
path: string;
|
|
15
|
+
op: string;
|
|
16
|
+
was: string;
|
|
17
|
+
}>;
|
package/dist/schemas/Extra.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export declare const extraSchema: z.ZodObject<{
|
|
|
11
11
|
minQuantity: z.ZodNumber;
|
|
12
12
|
maxQuantity: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
default: boolean;
|
|
14
15
|
minQuantity: number;
|
|
15
16
|
maxQuantity: number | null;
|
|
16
17
|
required: boolean;
|
|
17
|
-
default: boolean;
|
|
18
18
|
}, {
|
|
19
|
+
default: boolean;
|
|
19
20
|
minQuantity: number;
|
|
20
21
|
maxQuantity: number | null;
|
|
21
22
|
required: boolean;
|
|
22
|
-
default: boolean;
|
|
23
23
|
}>;
|
|
24
24
|
pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
25
|
original: z.ZodNumber;
|
|
@@ -269,10 +269,10 @@ export declare const extraSchema: z.ZodObject<{
|
|
|
269
269
|
title: string | null;
|
|
270
270
|
description: string | null;
|
|
271
271
|
restrictions: {
|
|
272
|
+
default: boolean;
|
|
272
273
|
minQuantity: number;
|
|
273
274
|
maxQuantity: number | null;
|
|
274
275
|
required: boolean;
|
|
275
|
-
default: boolean;
|
|
276
276
|
};
|
|
277
277
|
internalName: string | null;
|
|
278
278
|
pricing?: {
|
|
@@ -334,10 +334,10 @@ export declare const extraSchema: z.ZodObject<{
|
|
|
334
334
|
title: string | null;
|
|
335
335
|
description: string | null;
|
|
336
336
|
restrictions: {
|
|
337
|
+
default: boolean;
|
|
337
338
|
minQuantity: number;
|
|
338
339
|
maxQuantity: number | null;
|
|
339
340
|
required: boolean;
|
|
340
|
-
default: boolean;
|
|
341
341
|
};
|
|
342
342
|
internalName: string | null;
|
|
343
343
|
pricing?: {
|
|
@@ -14,15 +14,15 @@ export declare const extraItemSchema: z.ZodObject<{
|
|
|
14
14
|
minQuantity: z.ZodNumber;
|
|
15
15
|
maxQuantity: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
default: boolean;
|
|
17
18
|
minQuantity: number;
|
|
18
19
|
maxQuantity: number | null;
|
|
19
20
|
required: boolean;
|
|
20
|
-
default: boolean;
|
|
21
21
|
}, {
|
|
22
|
+
default: boolean;
|
|
22
23
|
minQuantity: number;
|
|
23
24
|
maxQuantity: number | null;
|
|
24
25
|
required: boolean;
|
|
25
|
-
default: boolean;
|
|
26
26
|
}>;
|
|
27
27
|
pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
28
|
original: z.ZodNumber;
|
|
@@ -272,10 +272,10 @@ export declare const extraItemSchema: z.ZodObject<{
|
|
|
272
272
|
title: string | null;
|
|
273
273
|
description: string | null;
|
|
274
274
|
restrictions: {
|
|
275
|
+
default: boolean;
|
|
275
276
|
minQuantity: number;
|
|
276
277
|
maxQuantity: number | null;
|
|
277
278
|
required: boolean;
|
|
278
|
-
default: boolean;
|
|
279
279
|
};
|
|
280
280
|
internalName: string | null;
|
|
281
281
|
pricing?: {
|
|
@@ -337,10 +337,10 @@ export declare const extraItemSchema: z.ZodObject<{
|
|
|
337
337
|
title: string | null;
|
|
338
338
|
description: string | null;
|
|
339
339
|
restrictions: {
|
|
340
|
+
default: boolean;
|
|
340
341
|
minQuantity: number;
|
|
341
342
|
maxQuantity: number | null;
|
|
342
343
|
required: boolean;
|
|
343
|
-
default: boolean;
|
|
344
344
|
};
|
|
345
345
|
internalName: string | null;
|
|
346
346
|
pricing?: {
|
|
@@ -552,10 +552,10 @@ export declare const extraItemSchema: z.ZodObject<{
|
|
|
552
552
|
title: string | null;
|
|
553
553
|
description: string | null;
|
|
554
554
|
restrictions: {
|
|
555
|
+
default: boolean;
|
|
555
556
|
minQuantity: number;
|
|
556
557
|
maxQuantity: number | null;
|
|
557
558
|
required: boolean;
|
|
558
|
-
default: boolean;
|
|
559
559
|
};
|
|
560
560
|
internalName: string | null;
|
|
561
561
|
pricing?: {
|
|
@@ -647,10 +647,10 @@ export declare const extraItemSchema: z.ZodObject<{
|
|
|
647
647
|
title: string | null;
|
|
648
648
|
description: string | null;
|
|
649
649
|
restrictions: {
|
|
650
|
+
default: boolean;
|
|
650
651
|
minQuantity: number;
|
|
651
652
|
maxQuantity: number | null;
|
|
652
653
|
required: boolean;
|
|
653
|
-
default: boolean;
|
|
654
654
|
};
|
|
655
655
|
internalName: string | null;
|
|
656
656
|
pricing?: {
|
|
@@ -5,13 +5,13 @@ export declare const extraRestrictionsSchema: z.ZodObject<{
|
|
|
5
5
|
minQuantity: z.ZodNumber;
|
|
6
6
|
maxQuantity: z.ZodNullable<z.ZodNumber>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
default: boolean;
|
|
8
9
|
minQuantity: number;
|
|
9
10
|
maxQuantity: number | null;
|
|
10
11
|
required: boolean;
|
|
11
|
-
default: boolean;
|
|
12
12
|
}, {
|
|
13
|
+
default: boolean;
|
|
13
14
|
minQuantity: number;
|
|
14
15
|
maxQuantity: number | null;
|
|
15
16
|
required: boolean;
|
|
16
|
-
default: boolean;
|
|
17
17
|
}>;
|
|
@@ -7,19 +7,19 @@ export declare const getBookingsRequestSchema: import("zod").ZodObject<{
|
|
|
7
7
|
productId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
8
|
optionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
9
|
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
localDate?: string | undefined;
|
|
10
11
|
productId?: string | undefined;
|
|
11
12
|
optionId?: string | undefined;
|
|
12
13
|
localDateStart?: string | undefined;
|
|
13
14
|
localDateEnd?: string | undefined;
|
|
14
15
|
resellerReference?: string | undefined;
|
|
15
16
|
supplierReference?: string | undefined;
|
|
16
|
-
localDate?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
+
localDate?: string | undefined;
|
|
18
19
|
productId?: string | undefined;
|
|
19
20
|
optionId?: string | undefined;
|
|
20
21
|
localDateStart?: string | undefined;
|
|
21
22
|
localDateEnd?: string | undefined;
|
|
22
23
|
resellerReference?: string | undefined;
|
|
23
24
|
supplierReference?: string | undefined;
|
|
24
|
-
localDate?: string | undefined;
|
|
25
25
|
}>;
|
package/dist/schemas/Gift.d.ts
CHANGED
|
@@ -399,7 +399,6 @@ export declare const giftSchema: z.ZodObject<{
|
|
|
399
399
|
status: import("..").BookingStatus;
|
|
400
400
|
message: string | null;
|
|
401
401
|
currency: string;
|
|
402
|
-
requiredContactFields: import("..").ContactField[];
|
|
403
402
|
contact: {
|
|
404
403
|
firstName: string | null;
|
|
405
404
|
lastName: string | null;
|
|
@@ -417,6 +416,7 @@ export declare const giftSchema: z.ZodObject<{
|
|
|
417
416
|
streetAddress: string | null;
|
|
418
417
|
city: string | null;
|
|
419
418
|
} | null;
|
|
419
|
+
requiredContactFields: import("..").ContactField[];
|
|
420
420
|
deliveryMethods: import("..").DeliveryMethod[];
|
|
421
421
|
utcRedeemedAt: string | null;
|
|
422
422
|
uuid: string;
|
|
@@ -534,7 +534,6 @@ export declare const giftSchema: z.ZodObject<{
|
|
|
534
534
|
status: import("..").BookingStatus;
|
|
535
535
|
message: string | null;
|
|
536
536
|
currency: string;
|
|
537
|
-
requiredContactFields: import("..").ContactField[];
|
|
538
537
|
contact: {
|
|
539
538
|
firstName: string | null;
|
|
540
539
|
lastName: string | null;
|
|
@@ -552,6 +551,7 @@ export declare const giftSchema: z.ZodObject<{
|
|
|
552
551
|
streetAddress: string | null;
|
|
553
552
|
city: string | null;
|
|
554
553
|
} | null;
|
|
554
|
+
requiredContactFields: import("..").ContactField[];
|
|
555
555
|
deliveryMethods: import("..").DeliveryMethod[];
|
|
556
556
|
utcRedeemedAt: string | null;
|
|
557
557
|
uuid: string;
|
|
@@ -125,7 +125,7 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
125
125
|
to: string;
|
|
126
126
|
}[];
|
|
127
127
|
localDate: string;
|
|
128
|
-
|
|
128
|
+
unitPricingFrom?: ({
|
|
129
129
|
retail: number;
|
|
130
130
|
original: number;
|
|
131
131
|
net: number | null;
|
|
@@ -137,8 +137,10 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
137
137
|
}[];
|
|
138
138
|
currency: string;
|
|
139
139
|
currencyPrecision: number;
|
|
140
|
-
}
|
|
141
|
-
|
|
140
|
+
} & {
|
|
141
|
+
unitId: string;
|
|
142
|
+
})[] | undefined;
|
|
143
|
+
pricingFrom?: {
|
|
142
144
|
retail: number;
|
|
143
145
|
original: number;
|
|
144
146
|
net: number | null;
|
|
@@ -150,9 +152,7 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
150
152
|
}[];
|
|
151
153
|
currency: string;
|
|
152
154
|
currencyPrecision: number;
|
|
153
|
-
}
|
|
154
|
-
unitId: string;
|
|
155
|
-
})[] | undefined;
|
|
155
|
+
}[] | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
status: import("..").AvailabilityStatus;
|
|
158
158
|
available: boolean;
|
|
@@ -163,7 +163,7 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
163
163
|
to: string;
|
|
164
164
|
}[];
|
|
165
165
|
localDate: string;
|
|
166
|
-
|
|
166
|
+
unitPricingFrom?: ({
|
|
167
167
|
retail: number;
|
|
168
168
|
original: number;
|
|
169
169
|
net: number | null;
|
|
@@ -175,8 +175,10 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
175
175
|
}[];
|
|
176
176
|
currency: string;
|
|
177
177
|
currencyPrecision: number;
|
|
178
|
-
}
|
|
179
|
-
|
|
178
|
+
} & {
|
|
179
|
+
unitId: string;
|
|
180
|
+
})[] | undefined;
|
|
181
|
+
pricingFrom?: {
|
|
180
182
|
retail: number;
|
|
181
183
|
original: number;
|
|
182
184
|
net: number | null;
|
|
@@ -188,7 +190,5 @@ export declare const octo_AvailabilityCalendarSchema: z.ZodObject<{
|
|
|
188
190
|
}[];
|
|
189
191
|
currency: string;
|
|
190
192
|
currencyPrecision: number;
|
|
191
|
-
}
|
|
192
|
-
unitId: string;
|
|
193
|
-
})[] | undefined;
|
|
193
|
+
}[] | undefined;
|
|
194
194
|
}>;
|
|
@@ -8,19 +8,19 @@ export declare const octo_GetBookingsRequestSchema: z.ZodObject<{
|
|
|
8
8
|
productId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
optionId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
localDate?: string | undefined;
|
|
11
12
|
productId?: string | undefined;
|
|
12
13
|
optionId?: string | undefined;
|
|
13
14
|
localDateStart?: string | undefined;
|
|
14
15
|
localDateEnd?: string | undefined;
|
|
15
16
|
resellerReference?: string | undefined;
|
|
16
17
|
supplierReference?: string | undefined;
|
|
17
|
-
localDate?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
+
localDate?: string | undefined;
|
|
19
20
|
productId?: string | undefined;
|
|
20
21
|
optionId?: string | undefined;
|
|
21
22
|
localDateStart?: string | undefined;
|
|
22
23
|
localDateEnd?: string | undefined;
|
|
23
24
|
resellerReference?: string | undefined;
|
|
24
25
|
supplierReference?: string | undefined;
|
|
25
|
-
localDate?: string | undefined;
|
|
26
26
|
}>;
|
|
@@ -9,15 +9,15 @@ export declare const octo_MediaSchema: z.ZodObject<{
|
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
type: import("..").MediaType;
|
|
11
11
|
title: string | null;
|
|
12
|
-
caption: string | null;
|
|
13
12
|
src: string;
|
|
14
13
|
rel: import("..").MediaRel;
|
|
14
|
+
caption: string | null;
|
|
15
15
|
copyright: string | null;
|
|
16
16
|
}, {
|
|
17
17
|
type: import("..").MediaType;
|
|
18
18
|
title: string | null;
|
|
19
|
-
caption: string | null;
|
|
20
19
|
src: string;
|
|
21
20
|
rel: import("..").MediaRel;
|
|
21
|
+
caption: string | null;
|
|
22
22
|
copyright: string | null;
|
|
23
23
|
}>;
|
|
@@ -492,15 +492,15 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
492
492
|
minQuantity: z.ZodNumber;
|
|
493
493
|
maxQuantity: z.ZodNullable<z.ZodNumber>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
default: boolean;
|
|
495
496
|
minQuantity: number;
|
|
496
497
|
maxQuantity: number | null;
|
|
497
498
|
required: boolean;
|
|
498
|
-
default: boolean;
|
|
499
499
|
}, {
|
|
500
|
+
default: boolean;
|
|
500
501
|
minQuantity: number;
|
|
501
502
|
maxQuantity: number | null;
|
|
502
503
|
required: boolean;
|
|
503
|
-
default: boolean;
|
|
504
504
|
}>;
|
|
505
505
|
pricingFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
506
|
original: z.ZodNumber;
|
|
@@ -750,10 +750,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
750
750
|
title: string | null;
|
|
751
751
|
description: string | null;
|
|
752
752
|
restrictions: {
|
|
753
|
+
default: boolean;
|
|
753
754
|
minQuantity: number;
|
|
754
755
|
maxQuantity: number | null;
|
|
755
756
|
required: boolean;
|
|
756
|
-
default: boolean;
|
|
757
757
|
};
|
|
758
758
|
internalName: string | null;
|
|
759
759
|
pricing?: {
|
|
@@ -815,10 +815,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
815
815
|
title: string | null;
|
|
816
816
|
description: string | null;
|
|
817
817
|
restrictions: {
|
|
818
|
+
default: boolean;
|
|
818
819
|
minQuantity: number;
|
|
819
820
|
maxQuantity: number | null;
|
|
820
821
|
required: boolean;
|
|
821
|
-
default: boolean;
|
|
822
822
|
};
|
|
823
823
|
internalName: string | null;
|
|
824
824
|
pricing?: {
|
|
@@ -978,10 +978,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
978
978
|
title: string | null;
|
|
979
979
|
description: string | null;
|
|
980
980
|
restrictions: {
|
|
981
|
+
default: boolean;
|
|
981
982
|
minQuantity: number;
|
|
982
983
|
maxQuantity: number | null;
|
|
983
984
|
required: boolean;
|
|
984
|
-
default: boolean;
|
|
985
985
|
};
|
|
986
986
|
internalName: string | null;
|
|
987
987
|
pricing?: {
|
|
@@ -1141,10 +1141,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
1141
1141
|
title: string | null;
|
|
1142
1142
|
description: string | null;
|
|
1143
1143
|
restrictions: {
|
|
1144
|
+
default: boolean;
|
|
1144
1145
|
minQuantity: number;
|
|
1145
1146
|
maxQuantity: number | null;
|
|
1146
1147
|
required: boolean;
|
|
1147
|
-
default: boolean;
|
|
1148
1148
|
};
|
|
1149
1149
|
internalName: string | null;
|
|
1150
1150
|
pricing?: {
|
|
@@ -1337,10 +1337,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
1337
1337
|
title: string | null;
|
|
1338
1338
|
description: string | null;
|
|
1339
1339
|
restrictions: {
|
|
1340
|
+
default: boolean;
|
|
1340
1341
|
minQuantity: number;
|
|
1341
1342
|
maxQuantity: number | null;
|
|
1342
1343
|
required: boolean;
|
|
1343
|
-
default: boolean;
|
|
1344
1344
|
};
|
|
1345
1345
|
internalName: string | null;
|
|
1346
1346
|
pricing?: {
|
|
@@ -1534,10 +1534,10 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
1534
1534
|
title: string | null;
|
|
1535
1535
|
description: string | null;
|
|
1536
1536
|
restrictions: {
|
|
1537
|
+
default: boolean;
|
|
1537
1538
|
minQuantity: number;
|
|
1538
1539
|
maxQuantity: number | null;
|
|
1539
1540
|
required: boolean;
|
|
1540
|
-
default: boolean;
|
|
1541
1541
|
};
|
|
1542
1542
|
internalName: string | null;
|
|
1543
1543
|
pricing?: {
|