@voyant-travel/inventory 0.1.0 → 0.3.0
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/action-ledger.d.ts +9 -9
- package/dist/authoring/extension.d.ts +4 -4
- package/dist/authoring/spec.d.ts +16 -16
- package/dist/booking-extension.d.ts +1 -1
- package/dist/extras/routes.d.ts +27 -27
- package/dist/extras/schema.d.ts +2 -2
- package/dist/extras/service.d.ts +8 -8
- package/dist/extras/validation.d.ts +11 -11
- package/dist/extras.d.ts +31 -31
- package/dist/interface.d.ts +102 -102
- package/dist/routes-brochure.d.ts +56 -0
- package/dist/routes-brochure.d.ts.map +1 -0
- package/dist/routes-brochure.js +73 -0
- package/dist/routes-brochure.test.d.ts +2 -0
- package/dist/routes-brochure.test.d.ts.map +1 -0
- package/dist/routes-brochure.test.js +92 -0
- package/dist/routes-catalog.d.ts +8 -8
- package/dist/routes-configuration.d.ts +1 -1
- package/dist/routes-core.d.ts +14 -14
- package/dist/routes-itinerary.d.ts +24 -24
- package/dist/routes-media.d.ts +12 -12
- package/dist/routes-merchandising.d.ts +19 -19
- package/dist/routes-options.d.ts +7 -7
- package/dist/routes-public.d.ts +12 -12
- package/dist/routes-translations.d.ts +5 -5
- package/dist/routes.d.ts +90 -90
- package/dist/schema-core.d.ts +2 -2
- package/dist/schema-itinerary.d.ts +1 -1
- package/dist/schema-settings.d.ts +1 -1
- package/dist/service-catalog.d.ts +4 -4
- package/dist/service-configuration.d.ts +1 -1
- package/dist/service-core.d.ts +6 -6
- package/dist/service-destinations.d.ts +8 -8
- package/dist/service-itinerary-history.d.ts +1 -1
- package/dist/service-itinerary.d.ts +15 -15
- package/dist/service-media.d.ts +10 -10
- package/dist/service-merchandising.d.ts +9 -9
- package/dist/service-option-translations.d.ts +8 -8
- package/dist/service-options.d.ts +8 -8
- package/dist/service-public.d.ts +12 -12
- package/dist/service-taxonomy.d.ts +8 -8
- package/dist/service.d.ts +86 -86
- package/dist/tasks/brochures.d.ts +2 -2
- package/package.json +16 -11
|
@@ -79,13 +79,13 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
79
79
|
output: {
|
|
80
80
|
data: {
|
|
81
81
|
id: string;
|
|
82
|
-
description: string | null;
|
|
83
82
|
createdAt: string;
|
|
83
|
+
description: string | null;
|
|
84
84
|
updatedAt: string;
|
|
85
|
-
title: string;
|
|
86
85
|
productId: string;
|
|
87
|
-
featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
|
|
88
86
|
sortOrder: number;
|
|
87
|
+
title: string;
|
|
88
|
+
featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
outputFormat: "json";
|
|
@@ -311,7 +311,7 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
311
311
|
data: {
|
|
312
312
|
id: string;
|
|
313
313
|
productId: string;
|
|
314
|
-
locationType: "
|
|
314
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
315
315
|
title: string;
|
|
316
316
|
address: string | null;
|
|
317
317
|
city: string | null;
|
|
@@ -356,7 +356,7 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
356
356
|
data: {
|
|
357
357
|
id: string;
|
|
358
358
|
productId: string;
|
|
359
|
-
locationType: "
|
|
359
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
360
360
|
title: string;
|
|
361
361
|
address: string | null;
|
|
362
362
|
city: string | null;
|
|
@@ -399,13 +399,13 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
399
399
|
id: string;
|
|
400
400
|
createdAt: string;
|
|
401
401
|
updatedAt: string;
|
|
402
|
-
title: string;
|
|
403
402
|
productId: string;
|
|
404
403
|
sortOrder: number;
|
|
405
|
-
|
|
404
|
+
title: string;
|
|
405
|
+
countryCode: string | null;
|
|
406
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
406
407
|
address: string | null;
|
|
407
408
|
city: string | null;
|
|
408
|
-
countryCode: string | null;
|
|
409
409
|
latitude: number | null;
|
|
410
410
|
longitude: number | null;
|
|
411
411
|
googlePlaceId: string | null;
|
|
@@ -440,7 +440,7 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
440
440
|
data: {
|
|
441
441
|
id: string;
|
|
442
442
|
productId: string;
|
|
443
|
-
locationType: "
|
|
443
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
444
444
|
title: string;
|
|
445
445
|
address: string | null;
|
|
446
446
|
city: string | null;
|
|
@@ -586,20 +586,20 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
586
586
|
output: {
|
|
587
587
|
data: {
|
|
588
588
|
id: string;
|
|
589
|
-
active: boolean;
|
|
590
589
|
createdAt: string;
|
|
590
|
+
active: boolean;
|
|
591
591
|
updatedAt: string;
|
|
592
|
-
metadata: {
|
|
593
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
594
|
-
} | null;
|
|
595
592
|
code: string | null;
|
|
596
593
|
sortOrder: number;
|
|
597
594
|
latitude: number | null;
|
|
598
595
|
longitude: number | null;
|
|
596
|
+
slug: string;
|
|
597
|
+
metadata: {
|
|
598
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
599
|
+
} | null;
|
|
599
600
|
parentId: string | null;
|
|
600
|
-
destinationType: string;
|
|
601
601
|
canonicalPlaceId: string | null;
|
|
602
|
-
|
|
602
|
+
destinationType: string;
|
|
603
603
|
} | null;
|
|
604
604
|
};
|
|
605
605
|
outputFormat: "json";
|
|
@@ -721,13 +721,13 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
721
721
|
data: {
|
|
722
722
|
id: string;
|
|
723
723
|
name: string;
|
|
724
|
-
description: string | null;
|
|
725
724
|
createdAt: string;
|
|
725
|
+
description: string | null;
|
|
726
726
|
updatedAt: string;
|
|
727
727
|
languageTag: string;
|
|
728
|
-
destinationId: string;
|
|
729
728
|
seoTitle: string | null;
|
|
730
729
|
seoDescription: string | null;
|
|
730
|
+
destinationId: string;
|
|
731
731
|
};
|
|
732
732
|
};
|
|
733
733
|
outputFormat: "json";
|
|
@@ -843,13 +843,13 @@ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBa
|
|
|
843
843
|
data: {
|
|
844
844
|
id: string;
|
|
845
845
|
name: string;
|
|
846
|
-
description: string | null;
|
|
847
846
|
createdAt: string;
|
|
847
|
+
description: string | null;
|
|
848
848
|
updatedAt: string;
|
|
849
|
-
categoryId: string;
|
|
850
849
|
languageTag: string;
|
|
851
850
|
seoTitle: string | null;
|
|
852
851
|
seoDescription: string | null;
|
|
852
|
+
categoryId: string;
|
|
853
853
|
};
|
|
854
854
|
};
|
|
855
855
|
outputFormat: "json";
|
package/dist/routes-options.d.ts
CHANGED
|
@@ -89,11 +89,11 @@ export declare const productOptionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
89
89
|
id: string;
|
|
90
90
|
name: string;
|
|
91
91
|
status: "draft" | "active" | "archived";
|
|
92
|
-
description: string | null;
|
|
93
92
|
createdAt: string;
|
|
93
|
+
description: string | null;
|
|
94
94
|
updatedAt: string;
|
|
95
|
-
code: string | null;
|
|
96
95
|
productId: string;
|
|
96
|
+
code: string | null;
|
|
97
97
|
isDefault: boolean;
|
|
98
98
|
sortOrder: number;
|
|
99
99
|
availableFrom: string | null;
|
|
@@ -180,7 +180,7 @@ export declare const productOptionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
180
180
|
name: string;
|
|
181
181
|
code: string | null;
|
|
182
182
|
description: string | null;
|
|
183
|
-
unitType: "
|
|
183
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
184
184
|
minQuantity: number | null;
|
|
185
185
|
maxQuantity: number | null;
|
|
186
186
|
minAge: number | null;
|
|
@@ -227,7 +227,7 @@ export declare const productOptionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
227
227
|
name: string;
|
|
228
228
|
code: string | null;
|
|
229
229
|
description: string | null;
|
|
230
|
-
unitType: "
|
|
230
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
231
231
|
minQuantity: number | null;
|
|
232
232
|
maxQuantity: number | null;
|
|
233
233
|
minAge: number | null;
|
|
@@ -268,13 +268,13 @@ export declare const productOptionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
268
268
|
data: {
|
|
269
269
|
id: string;
|
|
270
270
|
name: string;
|
|
271
|
-
description: string | null;
|
|
272
271
|
createdAt: string;
|
|
272
|
+
description: string | null;
|
|
273
273
|
updatedAt: string;
|
|
274
274
|
code: string | null;
|
|
275
275
|
sortOrder: number;
|
|
276
276
|
optionId: string;
|
|
277
|
-
unitType: "
|
|
277
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
278
278
|
minQuantity: number | null;
|
|
279
279
|
maxQuantity: number | null;
|
|
280
280
|
minAge: number | null;
|
|
@@ -315,7 +315,7 @@ export declare const productOptionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
315
315
|
name: string;
|
|
316
316
|
code: string | null;
|
|
317
317
|
description: string | null;
|
|
318
|
-
unitType: "
|
|
318
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
319
319
|
minQuantity: number | null;
|
|
320
320
|
maxQuantity: number | null;
|
|
321
321
|
minAge: number | null;
|
package/dist/routes-public.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
27
27
|
shortDescription: string | null;
|
|
28
28
|
seoTitle: string | null;
|
|
29
29
|
seoDescription: string | null;
|
|
30
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
30
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
31
31
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
32
32
|
visibility: "public" | "private" | "hidden";
|
|
33
33
|
sellCurrency: string;
|
|
@@ -71,7 +71,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
71
71
|
}[];
|
|
72
72
|
locations: {
|
|
73
73
|
id: string;
|
|
74
|
-
locationType: "
|
|
74
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
75
75
|
title: string;
|
|
76
76
|
address: string | null;
|
|
77
77
|
city: string | null;
|
|
@@ -145,7 +145,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
145
145
|
shortDescription: string | null;
|
|
146
146
|
seoTitle: string | null;
|
|
147
147
|
seoDescription: string | null;
|
|
148
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
148
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
149
149
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
150
150
|
visibility: "public" | "private" | "hidden";
|
|
151
151
|
sellCurrency: string;
|
|
@@ -189,7 +189,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
189
189
|
}[];
|
|
190
190
|
locations: {
|
|
191
191
|
id: string;
|
|
192
|
-
locationType: "
|
|
192
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
193
193
|
title: string;
|
|
194
194
|
address: string | null;
|
|
195
195
|
city: string | null;
|
|
@@ -253,7 +253,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
253
253
|
shortDescription: string | null;
|
|
254
254
|
seoTitle: string | null;
|
|
255
255
|
seoDescription: string | null;
|
|
256
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
256
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
257
257
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
258
258
|
visibility: "public" | "private" | "hidden";
|
|
259
259
|
sellCurrency: string;
|
|
@@ -297,7 +297,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
297
297
|
}[];
|
|
298
298
|
locations: {
|
|
299
299
|
id: string;
|
|
300
|
-
locationType: "
|
|
300
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
301
301
|
title: string;
|
|
302
302
|
address: string | null;
|
|
303
303
|
city: string | null;
|
|
@@ -371,7 +371,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
371
371
|
shortDescription: string | null;
|
|
372
372
|
seoTitle: string | null;
|
|
373
373
|
seoDescription: string | null;
|
|
374
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
374
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
375
375
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
376
376
|
visibility: "public" | "private" | "hidden";
|
|
377
377
|
sellCurrency: string;
|
|
@@ -415,7 +415,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
415
415
|
}[];
|
|
416
416
|
locations: {
|
|
417
417
|
id: string;
|
|
418
|
-
locationType: "
|
|
418
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
419
419
|
title: string;
|
|
420
420
|
address: string | null;
|
|
421
421
|
city: string | null;
|
|
@@ -541,7 +541,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
541
541
|
shortDescription: string | null;
|
|
542
542
|
seoTitle: string | null;
|
|
543
543
|
seoDescription: string | null;
|
|
544
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
544
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
545
545
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
546
546
|
visibility: "public" | "private" | "hidden";
|
|
547
547
|
sellCurrency: string;
|
|
@@ -585,7 +585,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
585
585
|
}[];
|
|
586
586
|
locations: {
|
|
587
587
|
id: string;
|
|
588
|
-
locationType: "
|
|
588
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
589
589
|
title: string;
|
|
590
590
|
address: string | null;
|
|
591
591
|
city: string | null;
|
|
@@ -659,7 +659,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
659
659
|
shortDescription: string | null;
|
|
660
660
|
seoTitle: string | null;
|
|
661
661
|
seoDescription: string | null;
|
|
662
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
662
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
663
663
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
664
664
|
visibility: "public" | "private" | "hidden";
|
|
665
665
|
sellCurrency: string;
|
|
@@ -703,7 +703,7 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
703
703
|
}[];
|
|
704
704
|
locations: {
|
|
705
705
|
id: string;
|
|
706
|
-
locationType: "
|
|
706
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
707
707
|
title: string;
|
|
708
708
|
address: string | null;
|
|
709
709
|
city: string | null;
|
|
@@ -92,18 +92,18 @@ export declare const productTranslationRoutes: import("hono/hono-base").HonoBase
|
|
|
92
92
|
data: {
|
|
93
93
|
id: string;
|
|
94
94
|
name: string;
|
|
95
|
+
createdAt: string;
|
|
95
96
|
description: string | null;
|
|
96
97
|
inclusionsHtml: string | null;
|
|
97
98
|
exclusionsHtml: string | null;
|
|
98
99
|
termsHtml: string | null;
|
|
99
|
-
createdAt: string;
|
|
100
100
|
updatedAt: string;
|
|
101
101
|
productId: string;
|
|
102
102
|
languageTag: string;
|
|
103
103
|
slug: string | null;
|
|
104
|
+
shortDescription: string | null;
|
|
104
105
|
seoTitle: string | null;
|
|
105
106
|
seoDescription: string | null;
|
|
106
|
-
shortDescription: string | null;
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
outputFormat: "json";
|
|
@@ -258,11 +258,11 @@ export declare const productTranslationRoutes: import("hono/hono-base").HonoBase
|
|
|
258
258
|
data: {
|
|
259
259
|
id: string;
|
|
260
260
|
name: string;
|
|
261
|
-
description: string | null;
|
|
262
261
|
createdAt: string;
|
|
262
|
+
description: string | null;
|
|
263
263
|
updatedAt: string;
|
|
264
|
-
languageTag: string;
|
|
265
264
|
optionId: string;
|
|
265
|
+
languageTag: string;
|
|
266
266
|
shortDescription: string | null;
|
|
267
267
|
};
|
|
268
268
|
};
|
|
@@ -412,8 +412,8 @@ export declare const productTranslationRoutes: import("hono/hono-base").HonoBase
|
|
|
412
412
|
data: {
|
|
413
413
|
id: string;
|
|
414
414
|
name: string;
|
|
415
|
-
description: string | null;
|
|
416
415
|
createdAt: string;
|
|
416
|
+
description: string | null;
|
|
417
417
|
updatedAt: string;
|
|
418
418
|
languageTag: string;
|
|
419
419
|
shortDescription: string | null;
|