@ventrata/octo-types 0.0.5 → 0.0.6
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 +10 -1
- package/dist/models/Availability.d.ts +1 -1
- package/dist/models/AvailabilityCalendar.d.ts +1 -1
- package/dist/models/AvailabilityCalendarPricing.d.ts +1 -1
- package/dist/models/AvailabilityPricing.d.ts +1 -1
- package/dist/models/Capability.d.ts +23 -23
- package/dist/models/CapabilityId.d.ts +23 -0
- package/dist/models/CreateWebhookBody.d.ts +2 -2
- package/dist/models/ListCapabilitiesRequest.d.ts +1 -0
- package/dist/models/ListCapabilitiesRequestHeaders.d.ts +1 -0
- package/dist/models/Octo_CapabilityId.d.ts +10 -0
- package/dist/models/Option.d.ts +2 -0
- package/dist/models/Product.d.ts +2 -0
- package/dist/models/ProductContent.d.ts +2 -0
- package/dist/models/Webhook.d.ts +2 -2
- package/dist/schemas/Availability.d.ts +4 -4
- package/dist/schemas/AvailabilityCalendar.d.ts +4 -4
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +4 -4
- package/dist/schemas/AvailabilityPricing.d.ts +4 -4
- package/dist/schemas/AvailabilityUpdate.d.ts +11 -11
- package/dist/schemas/BookingUpdate.d.ts +5 -5
- package/dist/schemas/Capability.d.ts +19 -2
- package/dist/schemas/CapabilityId.d.ts +3 -0
- package/dist/schemas/CreateWebhookBody.d.ts +3 -3
- package/dist/schemas/CreateWebhookRequest.d.ts +5 -5
- package/dist/schemas/ListCapabilitiesRequest.d.ts +2 -0
- package/dist/schemas/ListCapabilitiesRequestHeaders.d.ts +2 -0
- package/dist/schemas/Octo_Capability.d.ts +20 -0
- package/dist/schemas/Octo_CapabilityId.d.ts +3 -0
- package/dist/schemas/ProductContent.d.ts +6 -0
- package/dist/schemas/Webhook.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,8 @@ export type { BookingUpdateBody } from './models/BookingUpdateBody';
|
|
|
51
51
|
export type { BookingUpdateRequest } from './models/BookingUpdateRequest';
|
|
52
52
|
export type { Brand } from './models/Brand';
|
|
53
53
|
export type { BrandContact } from './models/BrandContact';
|
|
54
|
-
export { Capability } from './models/Capability';
|
|
54
|
+
export type { Capability } from './models/Capability';
|
|
55
|
+
export { CapabilityId } from './models/CapabilityId';
|
|
55
56
|
export type { Category } from './models/Category';
|
|
56
57
|
export { ContactField } from './models/ContactField';
|
|
57
58
|
export type { CreateWaitlistRequest } from './models/CreateWaitlistRequest';
|
|
@@ -104,6 +105,8 @@ export type { Include } from './models/Include';
|
|
|
104
105
|
export type { ItineraryItem } from './models/ItineraryItem';
|
|
105
106
|
export { ItineraryItemType } from './models/ItineraryItemType';
|
|
106
107
|
export type { Label } from './models/Label';
|
|
108
|
+
export type { ListCapabilitiesRequest } from './models/ListCapabilitiesRequest';
|
|
109
|
+
export type { ListCapabilitiesRequestHeaders } from './models/ListCapabilitiesRequestHeaders';
|
|
107
110
|
export type { ListOrdersRequest } from './models/ListOrdersRequest';
|
|
108
111
|
export type { ListWebhooksRequest } from './models/ListWebhooksRequest';
|
|
109
112
|
export type { ListWebhooksRequestHeaders_octoCapabilities } from './models/ListWebhooksRequestHeaders_octoCapabilities';
|
|
@@ -121,6 +124,7 @@ export type { Octo_BookingCancellationRequest } from './models/Octo_BookingCance
|
|
|
121
124
|
export type { Octo_BookingCancellationRequest_uuid } from './models/Octo_BookingCancellationRequest_uuid';
|
|
122
125
|
export type { Octo_BookingConfirmationErrorResponse } from './models/Octo_BookingConfirmationErrorResponse';
|
|
123
126
|
export type { Octo_BookingReservationErrorResponse } from './models/Octo_BookingReservationErrorResponse';
|
|
127
|
+
export { Octo_CapabilityId } from './models/Octo_CapabilityId';
|
|
124
128
|
export type { Octo_ErrorBadRequest } from './models/Octo_ErrorBadRequest';
|
|
125
129
|
export type { Octo_ErrorForbidden } from './models/Octo_ErrorForbidden';
|
|
126
130
|
export type { Octo_ErrorInternalServerError } from './models/Octo_ErrorInternalServerError';
|
|
@@ -358,6 +362,8 @@ export { octo_ErrorInvalidAvailabilityIDSchema } from './schemas/Octo_ErrorInval
|
|
|
358
362
|
export { octo_ErrorInternalServerErrorSchema } from './schemas/Octo_ErrorInternalServerError';
|
|
359
363
|
export { octo_ErrorForbiddenSchema } from './schemas/Octo_ErrorForbidden';
|
|
360
364
|
export { octo_ErrorBadRequestSchema } from './schemas/Octo_ErrorBadRequest';
|
|
365
|
+
export { octo_CapabilityIdSchema } from './schemas/Octo_CapabilityId';
|
|
366
|
+
export { octo_CapabilitySchema } from './schemas/Octo_Capability';
|
|
361
367
|
export { octo_BookingUnitItemSchema } from './schemas/Octo_BookingUnitItem';
|
|
362
368
|
export { octo_BookingReservationRequestSchema } from './schemas/Octo_BookingReservationRequest';
|
|
363
369
|
export { octo_BookingReservationErrorResponseSchema } from './schemas/Octo_BookingReservationErrorResponse';
|
|
@@ -388,6 +394,8 @@ export { mappingSchema } from './schemas/Mapping';
|
|
|
388
394
|
export { listWebhooksRequestHeaders_octoCapabilitiesSchema } from './schemas/ListWebhooksRequestHeaders_octoCapabilities';
|
|
389
395
|
export { listWebhooksRequestSchema } from './schemas/ListWebhooksRequest';
|
|
390
396
|
export { listOrdersRequestSchema } from './schemas/ListOrdersRequest';
|
|
397
|
+
export { listCapabilitiesRequestHeadersSchema } from './schemas/ListCapabilitiesRequestHeaders';
|
|
398
|
+
export { listCapabilitiesRequestSchema } from './schemas/ListCapabilitiesRequest';
|
|
391
399
|
export { labelSchema } from './schemas/Label';
|
|
392
400
|
export { itineraryItemTypeSchema } from './schemas/ItineraryItemType';
|
|
393
401
|
export { itineraryItemSchema } from './schemas/ItineraryItem';
|
|
@@ -441,6 +449,7 @@ export { createWebhookBodySchema } from './schemas/CreateWebhookBody';
|
|
|
441
449
|
export { createWaitlistRequestSchema } from './schemas/CreateWaitlistRequest';
|
|
442
450
|
export { contactFieldSchema } from './schemas/ContactField';
|
|
443
451
|
export { categorySchema } from './schemas/Category';
|
|
452
|
+
export { capabilityIdSchema } from './schemas/CapabilityId';
|
|
444
453
|
export { capabilitySchema } from './schemas/Capability';
|
|
445
454
|
export { brandContactSchema } from './schemas/BrandContact';
|
|
446
455
|
export { brandSchema } from './schemas/Brand';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
1
|
+
import type { Octo_CapabilityId } from './Octo_CapabilityId';
|
|
2
|
+
export type Capability = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier of the capability.
|
|
5
|
+
*/
|
|
6
|
+
id: Octo_CapabilityId;
|
|
7
|
+
/**
|
|
8
|
+
* Revision number for the capability.
|
|
9
|
+
*/
|
|
10
|
+
revision: number;
|
|
11
|
+
/**
|
|
12
|
+
* Whether this capability is required.
|
|
13
|
+
*/
|
|
14
|
+
required: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* List of dependent capability IDs.
|
|
17
|
+
*/
|
|
18
|
+
dependencies: Array<Octo_CapabilityId>;
|
|
19
|
+
/**
|
|
20
|
+
* Optional documentation or description for this capability.
|
|
21
|
+
*/
|
|
22
|
+
docs: string | null;
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum CapabilityId {
|
|
2
|
+
OCTO_CONTENT = "octo/content",
|
|
3
|
+
OCTO_PRICING = "octo/pricing",
|
|
4
|
+
OCTO_PICKUPS = "octo/pickups",
|
|
5
|
+
OCTO_ADJUSTMENTS = "octo/adjustments",
|
|
6
|
+
OCTO_OFFERS = "octo/offers",
|
|
7
|
+
OCTO_CART = "octo/cart",
|
|
8
|
+
OCTO_CARD_PAYMENTS = "octo/cardPayments",
|
|
9
|
+
OCTO_CHECKIN = "octo/checkin",
|
|
10
|
+
OCTO_WEBHOOKS = "octo/webhooks",
|
|
11
|
+
OCTO_MAPPINGS = "octo/mappings",
|
|
12
|
+
OCTO_REDEMPTION = "octo/redemption",
|
|
13
|
+
OCTO_GOOGLE = "octo/google",
|
|
14
|
+
OCTO_QUESTIONS = "octo/questions",
|
|
15
|
+
OCTO_RESOURCES = "octo/resources",
|
|
16
|
+
OCTO_GIFTS = "octo/gifts",
|
|
17
|
+
OCTO_EXTRAS = "octo/extras",
|
|
18
|
+
OCTO_PACKAGES = "octo/packages",
|
|
19
|
+
OCTO_IDENTITIES = "octo/identities",
|
|
20
|
+
VENTRATA_CONTENT = "ventrata/content",
|
|
21
|
+
VENTRATA_GETYOURGUIDE = "ventrata/getyourguide",
|
|
22
|
+
VENTRATA_PARTNERS = "ventrata/partners"
|
|
23
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CapabilityId } from './CapabilityId';
|
|
2
2
|
import type { WebhookEvent } from './WebhookEvent';
|
|
3
3
|
export type CreateWebhookBody = {
|
|
4
4
|
/**
|
|
@@ -31,5 +31,5 @@ export type CreateWebhookBody = {
|
|
|
31
31
|
/**
|
|
32
32
|
* A list of capabilities that will be activated before triggering the webhook which will affect the data included in the webhook body.
|
|
33
33
|
*/
|
|
34
|
-
capabilities?: Array<
|
|
34
|
+
capabilities?: Array<CapabilityId>;
|
|
35
35
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ListCapabilitiesRequest = Record<string, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ListCapabilitiesRequestHeaders = Record<string, any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum Octo_CapabilityId {
|
|
2
|
+
OCTO_ADJUSTMENTS = "octo/adjustments",
|
|
3
|
+
OCTO_CART = "octo/cart",
|
|
4
|
+
OCTO_CONTENT = "octo/content",
|
|
5
|
+
OCTO_MAPPINGS = "octo/mappings",
|
|
6
|
+
OCTO_PACKAGES = "octo/packages",
|
|
7
|
+
OCTO_PICKUPS = "octo/pickups",
|
|
8
|
+
OCTO_PRICING = "octo/pricing",
|
|
9
|
+
OCTO_QUESTIONS = "octo/questions"
|
|
10
|
+
}
|
package/dist/models/Option.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export type Option = {
|
|
|
32
32
|
* An array containing all possible start times for the option that can be returned during availability. For example a tour with multiple departure times may have multiple:["09:00", "14:00", "17:00"].
|
|
33
33
|
*/
|
|
34
34
|
availabilityLocalStartTimes: Array<string>;
|
|
35
|
+
availabilityLocalDateStart: string;
|
|
36
|
+
availabilityLocalDateEnd: string | null;
|
|
35
37
|
/**
|
|
36
38
|
* A text description of the option's cancellation policy, providing clear guidelines to customers.
|
|
37
39
|
*/
|
package/dist/models/Product.d.ts
CHANGED
package/dist/models/Webhook.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CapabilityId } from './CapabilityId';
|
|
2
2
|
import type { WebhookEvent } from './WebhookEvent';
|
|
3
3
|
export type Webhook = {
|
|
4
4
|
/**
|
|
@@ -28,5 +28,5 @@ export type Webhook = {
|
|
|
28
28
|
/**
|
|
29
29
|
* List of capability identifiers associated with this webhook.
|
|
30
30
|
*/
|
|
31
|
-
capabilities: Array<
|
|
31
|
+
capabilities: Array<CapabilityId>;
|
|
32
32
|
};
|
|
@@ -318,7 +318,7 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
318
318
|
extraId?: string[] | undefined;
|
|
319
319
|
}[] | undefined;
|
|
320
320
|
}>, "many">>;
|
|
321
|
-
pricing: z.ZodOptional<z.
|
|
321
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
322
322
|
original: z.ZodNumber;
|
|
323
323
|
retail: z.ZodNumber;
|
|
324
324
|
net: z.ZodNullable<z.ZodNumber>;
|
|
@@ -437,7 +437,7 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
437
437
|
}[];
|
|
438
438
|
} | null | undefined;
|
|
439
439
|
extraId?: string[] | undefined;
|
|
440
|
-
}
|
|
440
|
+
}>>;
|
|
441
441
|
offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
442
442
|
offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
443
443
|
offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -690,7 +690,7 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
690
690
|
}[];
|
|
691
691
|
} | null | undefined;
|
|
692
692
|
extraId?: string[] | undefined;
|
|
693
|
-
}
|
|
693
|
+
} | undefined;
|
|
694
694
|
offerCode?: string | null | undefined;
|
|
695
695
|
offerTitle?: string | null | undefined;
|
|
696
696
|
offers?: {
|
|
@@ -849,7 +849,7 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
849
849
|
}[];
|
|
850
850
|
} | null | undefined;
|
|
851
851
|
extraId?: string[] | undefined;
|
|
852
|
-
}
|
|
852
|
+
} | undefined;
|
|
853
853
|
offerCode?: string | null | undefined;
|
|
854
854
|
offerTitle?: string | null | undefined;
|
|
855
855
|
offers?: {
|
|
@@ -261,7 +261,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
261
261
|
extraId?: string[] | undefined;
|
|
262
262
|
}[] | undefined;
|
|
263
263
|
}>, "many">>;
|
|
264
|
-
pricingFrom: z.ZodOptional<z.
|
|
264
|
+
pricingFrom: z.ZodOptional<z.ZodObject<{
|
|
265
265
|
original: z.ZodNumber;
|
|
266
266
|
retail: z.ZodNumber;
|
|
267
267
|
net: z.ZodNullable<z.ZodNumber>;
|
|
@@ -380,7 +380,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
380
380
|
}[];
|
|
381
381
|
} | null | undefined;
|
|
382
382
|
extraId?: string[] | undefined;
|
|
383
|
-
}
|
|
383
|
+
}>>;
|
|
384
384
|
offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
385
385
|
offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
386
386
|
offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -604,7 +604,7 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
604
604
|
}[];
|
|
605
605
|
} | null | undefined;
|
|
606
606
|
extraId?: string[] | undefined;
|
|
607
|
-
}
|
|
607
|
+
} | undefined;
|
|
608
608
|
}, {
|
|
609
609
|
status: import("..").AvailabilityStatus;
|
|
610
610
|
utcCutoffAt: string;
|
|
@@ -722,5 +722,5 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
722
722
|
}[];
|
|
723
723
|
} | null | undefined;
|
|
724
724
|
extraId?: string[] | undefined;
|
|
725
|
-
}
|
|
725
|
+
} | undefined;
|
|
726
726
|
}>;
|
|
@@ -230,7 +230,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
230
230
|
extraId?: string[] | undefined;
|
|
231
231
|
}[] | undefined;
|
|
232
232
|
}>, "many">>;
|
|
233
|
-
pricingFrom: z.ZodOptional<z.
|
|
233
|
+
pricingFrom: z.ZodOptional<z.ZodObject<{
|
|
234
234
|
original: z.ZodNumber;
|
|
235
235
|
retail: z.ZodNumber;
|
|
236
236
|
net: z.ZodNullable<z.ZodNumber>;
|
|
@@ -349,7 +349,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
349
349
|
}[];
|
|
350
350
|
} | null | undefined;
|
|
351
351
|
extraId?: string[] | undefined;
|
|
352
|
-
}
|
|
352
|
+
}>>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
unitPricingFrom?: {
|
|
355
355
|
retail: number;
|
|
@@ -418,7 +418,7 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
418
418
|
}[];
|
|
419
419
|
} | null | undefined;
|
|
420
420
|
extraId?: string[] | undefined;
|
|
421
|
-
}
|
|
421
|
+
} | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
unitPricingFrom?: {
|
|
424
424
|
retail: number;
|
|
@@ -487,5 +487,5 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
487
487
|
}[];
|
|
488
488
|
} | null | undefined;
|
|
489
489
|
extraId?: string[] | undefined;
|
|
490
|
-
}
|
|
490
|
+
} | undefined;
|
|
491
491
|
}>;
|
|
@@ -230,7 +230,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
230
230
|
extraId?: string[] | undefined;
|
|
231
231
|
}[] | undefined;
|
|
232
232
|
}>, "many">>;
|
|
233
|
-
pricing: z.ZodOptional<z.
|
|
233
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
234
234
|
original: z.ZodNumber;
|
|
235
235
|
retail: z.ZodNumber;
|
|
236
236
|
net: z.ZodNullable<z.ZodNumber>;
|
|
@@ -349,7 +349,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
349
349
|
}[];
|
|
350
350
|
} | null | undefined;
|
|
351
351
|
extraId?: string[] | undefined;
|
|
352
|
-
}
|
|
352
|
+
}>>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
unitPricing?: {
|
|
355
355
|
retail: number;
|
|
@@ -418,7 +418,7 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
418
418
|
}[];
|
|
419
419
|
} | null | undefined;
|
|
420
420
|
extraId?: string[] | undefined;
|
|
421
|
-
}
|
|
421
|
+
} | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
unitPricing?: {
|
|
424
424
|
retail: number;
|
|
@@ -487,5 +487,5 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
487
487
|
}[];
|
|
488
488
|
} | null | undefined;
|
|
489
489
|
extraId?: string[] | undefined;
|
|
490
|
-
}
|
|
490
|
+
} | undefined;
|
|
491
491
|
}>;
|
|
@@ -7,7 +7,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
7
7
|
retryOnError: z.ZodBoolean;
|
|
8
8
|
useContactLanguage: z.ZodBoolean;
|
|
9
9
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10
|
-
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").
|
|
10
|
+
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
13
|
event: import("..").WebhookEvent;
|
|
@@ -15,7 +15,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
15
15
|
retryOnError: boolean;
|
|
16
16
|
useContactLanguage: boolean;
|
|
17
17
|
headers: Record<string, string>;
|
|
18
|
-
capabilities: import("..").
|
|
18
|
+
capabilities: import("..").CapabilityId[];
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
event: import("..").WebhookEvent;
|
|
@@ -23,7 +23,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
23
23
|
retryOnError: boolean;
|
|
24
24
|
useContactLanguage: boolean;
|
|
25
25
|
headers: Record<string, string>;
|
|
26
|
-
capabilities: import("..").
|
|
26
|
+
capabilities: import("..").CapabilityId[];
|
|
27
27
|
}>;
|
|
28
28
|
availability: z.ZodObject<{
|
|
29
29
|
id: z.ZodString;
|
|
@@ -344,7 +344,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
344
344
|
extraId?: string[] | undefined;
|
|
345
345
|
}[] | undefined;
|
|
346
346
|
}>, "many">>;
|
|
347
|
-
pricing: z.ZodOptional<z.
|
|
347
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
348
348
|
original: z.ZodNumber;
|
|
349
349
|
retail: z.ZodNumber;
|
|
350
350
|
net: z.ZodNullable<z.ZodNumber>;
|
|
@@ -463,7 +463,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
463
463
|
}[];
|
|
464
464
|
} | null | undefined;
|
|
465
465
|
extraId?: string[] | undefined;
|
|
466
|
-
}
|
|
466
|
+
}>>;
|
|
467
467
|
offerCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
468
468
|
offerTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
469
469
|
offers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -716,7 +716,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
716
716
|
}[];
|
|
717
717
|
} | null | undefined;
|
|
718
718
|
extraId?: string[] | undefined;
|
|
719
|
-
}
|
|
719
|
+
} | undefined;
|
|
720
720
|
offerCode?: string | null | undefined;
|
|
721
721
|
offerTitle?: string | null | undefined;
|
|
722
722
|
offers?: {
|
|
@@ -875,7 +875,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
875
875
|
}[];
|
|
876
876
|
} | null | undefined;
|
|
877
877
|
extraId?: string[] | undefined;
|
|
878
|
-
}
|
|
878
|
+
} | undefined;
|
|
879
879
|
offerCode?: string | null | undefined;
|
|
880
880
|
offerTitle?: string | null | undefined;
|
|
881
881
|
offers?: {
|
|
@@ -1641,7 +1641,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
1641
1641
|
retryOnError: boolean;
|
|
1642
1642
|
useContactLanguage: boolean;
|
|
1643
1643
|
headers: Record<string, string>;
|
|
1644
|
-
capabilities: import("..").
|
|
1644
|
+
capabilities: import("..").CapabilityId[];
|
|
1645
1645
|
};
|
|
1646
1646
|
availability: {
|
|
1647
1647
|
id: string;
|
|
@@ -1755,7 +1755,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
1755
1755
|
}[];
|
|
1756
1756
|
} | null | undefined;
|
|
1757
1757
|
extraId?: string[] | undefined;
|
|
1758
|
-
}
|
|
1758
|
+
} | undefined;
|
|
1759
1759
|
offerCode?: string | null | undefined;
|
|
1760
1760
|
offerTitle?: string | null | undefined;
|
|
1761
1761
|
offers?: {
|
|
@@ -1923,7 +1923,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
1923
1923
|
retryOnError: boolean;
|
|
1924
1924
|
useContactLanguage: boolean;
|
|
1925
1925
|
headers: Record<string, string>;
|
|
1926
|
-
capabilities: import("..").
|
|
1926
|
+
capabilities: import("..").CapabilityId[];
|
|
1927
1927
|
};
|
|
1928
1928
|
availability: {
|
|
1929
1929
|
id: string;
|
|
@@ -2037,7 +2037,7 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
2037
2037
|
}[];
|
|
2038
2038
|
} | null | undefined;
|
|
2039
2039
|
extraId?: string[] | undefined;
|
|
2040
|
-
}
|
|
2040
|
+
} | undefined;
|
|
2041
2041
|
offerCode?: string | null | undefined;
|
|
2042
2042
|
offerTitle?: string | null | undefined;
|
|
2043
2043
|
offers?: {
|
|
@@ -7,7 +7,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
|
|
|
7
7
|
retryOnError: z.ZodBoolean;
|
|
8
8
|
useContactLanguage: z.ZodBoolean;
|
|
9
9
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10
|
-
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").
|
|
10
|
+
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
13
|
event: import("..").WebhookEvent;
|
|
@@ -15,7 +15,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
|
|
|
15
15
|
retryOnError: boolean;
|
|
16
16
|
useContactLanguage: boolean;
|
|
17
17
|
headers: Record<string, string>;
|
|
18
|
-
capabilities: import("..").
|
|
18
|
+
capabilities: import("..").CapabilityId[];
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
event: import("..").WebhookEvent;
|
|
@@ -23,7 +23,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
|
|
|
23
23
|
retryOnError: boolean;
|
|
24
24
|
useContactLanguage: boolean;
|
|
25
25
|
headers: Record<string, string>;
|
|
26
|
-
capabilities: import("..").
|
|
26
|
+
capabilities: import("..").CapabilityId[];
|
|
27
27
|
}>;
|
|
28
28
|
booking: z.ZodType<import("..").Booking, z.ZodTypeDef, import("..").Booking>;
|
|
29
29
|
diff: z.ZodArray<z.ZodObject<{
|
|
@@ -756,7 +756,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
|
|
|
756
756
|
retryOnError: boolean;
|
|
757
757
|
useContactLanguage: boolean;
|
|
758
758
|
headers: Record<string, string>;
|
|
759
|
-
capabilities: import("..").
|
|
759
|
+
capabilities: import("..").CapabilityId[];
|
|
760
760
|
};
|
|
761
761
|
supplier: {
|
|
762
762
|
id: string;
|
|
@@ -883,7 +883,7 @@ export declare const bookingUpdateSchema: z.ZodObject<{
|
|
|
883
883
|
retryOnError: boolean;
|
|
884
884
|
useContactLanguage: boolean;
|
|
885
885
|
headers: Record<string, string>;
|
|
886
|
-
capabilities: import("..").
|
|
886
|
+
capabilities: import("..").CapabilityId[];
|
|
887
887
|
};
|
|
888
888
|
supplier: {
|
|
889
889
|
id: string;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export declare const capabilitySchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>;
|
|
4
|
+
revision: z.ZodNumber;
|
|
5
|
+
required: z.ZodBoolean;
|
|
6
|
+
dependencies: z.ZodArray<z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>, "many">;
|
|
7
|
+
docs: z.ZodNullable<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: import("..").Octo_CapabilityId;
|
|
10
|
+
required: boolean;
|
|
11
|
+
revision: number;
|
|
12
|
+
dependencies: import("..").Octo_CapabilityId[];
|
|
13
|
+
docs: string | null;
|
|
14
|
+
}, {
|
|
15
|
+
id: import("..").Octo_CapabilityId;
|
|
16
|
+
required: boolean;
|
|
17
|
+
revision: number;
|
|
18
|
+
dependencies: import("..").Octo_CapabilityId[];
|
|
19
|
+
docs: string | null;
|
|
20
|
+
}>;
|
|
@@ -5,19 +5,19 @@ export declare const createWebhookBodySchema: z.ZodObject<{
|
|
|
5
5
|
retryOnError: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
useContactLanguage: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").
|
|
8
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
event: import("..").WebhookEvent;
|
|
11
11
|
url: string;
|
|
12
12
|
retryOnError?: boolean | undefined;
|
|
13
13
|
useContactLanguage?: boolean | undefined;
|
|
14
14
|
headers?: Record<string, string> | undefined;
|
|
15
|
-
capabilities?: import("..").
|
|
15
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
event: import("..").WebhookEvent;
|
|
18
18
|
url: string;
|
|
19
19
|
retryOnError?: boolean | undefined;
|
|
20
20
|
useContactLanguage?: boolean | undefined;
|
|
21
21
|
headers?: Record<string, string> | undefined;
|
|
22
|
-
capabilities?: import("..").
|
|
22
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
23
23
|
}>;
|
|
@@ -6,21 +6,21 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
|
|
|
6
6
|
retryOnError: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
useContactLanguage: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").
|
|
9
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
event: import("..").WebhookEvent;
|
|
12
12
|
url: string;
|
|
13
13
|
retryOnError?: boolean | undefined;
|
|
14
14
|
useContactLanguage?: boolean | undefined;
|
|
15
15
|
headers?: Record<string, string> | undefined;
|
|
16
|
-
capabilities?: import("..").
|
|
16
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
event: import("..").WebhookEvent;
|
|
19
19
|
url: string;
|
|
20
20
|
retryOnError?: boolean | undefined;
|
|
21
21
|
useContactLanguage?: boolean | undefined;
|
|
22
22
|
headers?: Record<string, string> | undefined;
|
|
23
|
-
capabilities?: import("..").
|
|
23
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
body: {
|
|
@@ -29,7 +29,7 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
|
|
|
29
29
|
retryOnError?: boolean | undefined;
|
|
30
30
|
useContactLanguage?: boolean | undefined;
|
|
31
31
|
headers?: Record<string, string> | undefined;
|
|
32
|
-
capabilities?: import("..").
|
|
32
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
35
35
|
body: {
|
|
@@ -38,6 +38,6 @@ export declare const createWebhookRequestSchema: z.ZodObject<{
|
|
|
38
38
|
retryOnError?: boolean | undefined;
|
|
39
39
|
useContactLanguage?: boolean | undefined;
|
|
40
40
|
headers?: Record<string, string> | undefined;
|
|
41
|
-
capabilities?: import("..").
|
|
41
|
+
capabilities?: import("..").CapabilityId[] | undefined;
|
|
42
42
|
};
|
|
43
43
|
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const octo_CapabilitySchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>;
|
|
4
|
+
revision: z.ZodNumber;
|
|
5
|
+
required: z.ZodBoolean;
|
|
6
|
+
dependencies: z.ZodArray<z.ZodNativeEnum<typeof import("..").Octo_CapabilityId>, "many">;
|
|
7
|
+
docs: z.ZodNullable<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: import("..").Octo_CapabilityId;
|
|
10
|
+
required: boolean;
|
|
11
|
+
revision: number;
|
|
12
|
+
dependencies: import("..").Octo_CapabilityId[];
|
|
13
|
+
docs: string | null;
|
|
14
|
+
}, {
|
|
15
|
+
id: import("..").Octo_CapabilityId;
|
|
16
|
+
required: boolean;
|
|
17
|
+
revision: number;
|
|
18
|
+
dependencies: import("..").Octo_CapabilityId[];
|
|
19
|
+
docs: string | null;
|
|
20
|
+
}>;
|
|
@@ -529,6 +529,8 @@ export declare const productContentSchema: z.ZodObject<{
|
|
|
529
529
|
caption: string | null;
|
|
530
530
|
}>, "many">>;
|
|
531
531
|
googlePlaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
532
|
+
latitude: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
longitude: z.ZodOptional<z.ZodNumber>;
|
|
532
534
|
address: z.ZodOptional<z.ZodString>;
|
|
533
535
|
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
534
536
|
tagline: z.ZodOptional<z.ZodString>;
|
|
@@ -713,6 +715,8 @@ export declare const productContentSchema: z.ZodObject<{
|
|
|
713
715
|
}, "strip", z.ZodTypeAny, {
|
|
714
716
|
country?: string | undefined;
|
|
715
717
|
address?: string | undefined;
|
|
718
|
+
latitude?: number | undefined;
|
|
719
|
+
longitude?: number | undefined;
|
|
716
720
|
googlePlaceId?: string | null | undefined;
|
|
717
721
|
shortDescription?: string | undefined;
|
|
718
722
|
title?: string | undefined;
|
|
@@ -892,6 +896,8 @@ export declare const productContentSchema: z.ZodObject<{
|
|
|
892
896
|
}, {
|
|
893
897
|
country?: string | undefined;
|
|
894
898
|
address?: string | undefined;
|
|
899
|
+
latitude?: number | undefined;
|
|
900
|
+
longitude?: number | undefined;
|
|
895
901
|
googlePlaceId?: string | null | undefined;
|
|
896
902
|
shortDescription?: string | undefined;
|
|
897
903
|
title?: string | undefined;
|
|
@@ -6,7 +6,7 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
6
6
|
retryOnError: z.ZodBoolean;
|
|
7
7
|
useContactLanguage: z.ZodBoolean;
|
|
8
8
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
9
|
-
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").
|
|
9
|
+
capabilities: z.ZodArray<z.ZodNativeEnum<typeof import("..").CapabilityId>, "many">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
id: string;
|
|
12
12
|
event: import("..").WebhookEvent;
|
|
@@ -14,7 +14,7 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
14
14
|
retryOnError: boolean;
|
|
15
15
|
useContactLanguage: boolean;
|
|
16
16
|
headers: Record<string, string>;
|
|
17
|
-
capabilities: import("..").
|
|
17
|
+
capabilities: import("..").CapabilityId[];
|
|
18
18
|
}, {
|
|
19
19
|
id: string;
|
|
20
20
|
event: import("..").WebhookEvent;
|
|
@@ -22,5 +22,5 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
22
22
|
retryOnError: boolean;
|
|
23
23
|
useContactLanguage: boolean;
|
|
24
24
|
headers: Record<string, string>;
|
|
25
|
-
capabilities: import("..").
|
|
25
|
+
capabilities: import("..").CapabilityId[];
|
|
26
26
|
}>;
|