@voyant-travel/inventory 0.1.0 → 0.2.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-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 +10 -10
package/dist/extras.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export declare const operatedExtrasService: {
|
|
|
29
29
|
code: string | null;
|
|
30
30
|
name: string;
|
|
31
31
|
description: string | null;
|
|
32
|
-
selectionType: "optional" | "required" | "
|
|
33
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
32
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected";
|
|
33
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free";
|
|
34
34
|
pricedPerPerson: boolean;
|
|
35
35
|
collectionMode: "none" | "external" | "included" | "booking_total" | "cash_on_trip";
|
|
36
36
|
showOnSlotManifest: boolean;
|
|
@@ -54,8 +54,8 @@ export declare const operatedExtrasService: {
|
|
|
54
54
|
code: string | null;
|
|
55
55
|
name: string;
|
|
56
56
|
description: string | null;
|
|
57
|
-
selectionType: "optional" | "required" | "
|
|
58
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
57
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected";
|
|
58
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free";
|
|
59
59
|
pricedPerPerson: boolean;
|
|
60
60
|
collectionMode: "none" | "external" | "included" | "booking_total" | "cash_on_trip";
|
|
61
61
|
showOnSlotManifest: boolean;
|
|
@@ -71,8 +71,8 @@ export declare const operatedExtrasService: {
|
|
|
71
71
|
createProductExtra(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, data: {
|
|
72
72
|
productId: string;
|
|
73
73
|
name: string;
|
|
74
|
-
selectionType: "optional" | "required" | "
|
|
75
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
74
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected";
|
|
75
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free";
|
|
76
76
|
pricedPerPerson: boolean;
|
|
77
77
|
collectionMode: "none" | "external" | "included" | "booking_total" | "cash_on_trip";
|
|
78
78
|
showOnSlotManifest: boolean;
|
|
@@ -88,19 +88,19 @@ export declare const operatedExtrasService: {
|
|
|
88
88
|
}): Promise<{
|
|
89
89
|
id: string;
|
|
90
90
|
name: string;
|
|
91
|
-
|
|
91
|
+
createdAt: Date;
|
|
92
92
|
description: string | null;
|
|
93
|
+
active: boolean;
|
|
93
94
|
supplierId: string | null;
|
|
94
|
-
createdAt: Date;
|
|
95
95
|
updatedAt: Date;
|
|
96
|
-
metadata: Record<string, unknown> | null;
|
|
97
|
-
code: string | null;
|
|
98
96
|
productId: string;
|
|
97
|
+
code: string | null;
|
|
99
98
|
sortOrder: number;
|
|
100
99
|
minQuantity: number | null;
|
|
101
100
|
maxQuantity: number | null;
|
|
102
|
-
|
|
103
|
-
selectionType: "optional" | "required" | "
|
|
101
|
+
metadata: Record<string, unknown> | null;
|
|
102
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected";
|
|
103
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free";
|
|
104
104
|
pricedPerPerson: boolean;
|
|
105
105
|
collectionMode: "none" | "external" | "included" | "booking_total" | "cash_on_trip";
|
|
106
106
|
showOnSlotManifest: boolean;
|
|
@@ -112,8 +112,8 @@ export declare const operatedExtrasService: {
|
|
|
112
112
|
code?: string | null | undefined;
|
|
113
113
|
name?: string | undefined;
|
|
114
114
|
description?: string | null | undefined;
|
|
115
|
-
selectionType?: "optional" | "required" | "
|
|
116
|
-
pricingMode?: "on_request" | "per_booking" | "
|
|
115
|
+
selectionType?: "optional" | "required" | "unavailable" | "default_selected" | undefined;
|
|
116
|
+
pricingMode?: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | undefined;
|
|
117
117
|
pricedPerPerson?: boolean | undefined;
|
|
118
118
|
collectionMode?: "none" | "external" | "included" | "booking_total" | "cash_on_trip" | undefined;
|
|
119
119
|
showOnSlotManifest?: boolean | undefined;
|
|
@@ -130,8 +130,8 @@ export declare const operatedExtrasService: {
|
|
|
130
130
|
code: string | null;
|
|
131
131
|
name: string;
|
|
132
132
|
description: string | null;
|
|
133
|
-
selectionType: "optional" | "required" | "
|
|
134
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
133
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected";
|
|
134
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free";
|
|
135
135
|
pricedPerPerson: boolean;
|
|
136
136
|
collectionMode: "none" | "external" | "included" | "booking_total" | "cash_on_trip";
|
|
137
137
|
showOnSlotManifest: boolean;
|
|
@@ -158,8 +158,8 @@ export declare const operatedExtrasService: {
|
|
|
158
158
|
id: string;
|
|
159
159
|
optionId: string;
|
|
160
160
|
productExtraId: string;
|
|
161
|
-
selectionType: "optional" | "required" | "
|
|
162
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
161
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected" | null;
|
|
162
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null;
|
|
163
163
|
pricedPerPerson: boolean | null;
|
|
164
164
|
minQuantity: number | null;
|
|
165
165
|
maxQuantity: number | null;
|
|
@@ -180,8 +180,8 @@ export declare const operatedExtrasService: {
|
|
|
180
180
|
id: string;
|
|
181
181
|
optionId: string;
|
|
182
182
|
productExtraId: string;
|
|
183
|
-
selectionType: "optional" | "required" | "
|
|
184
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
183
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected" | null;
|
|
184
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null;
|
|
185
185
|
pricedPerPerson: boolean | null;
|
|
186
186
|
minQuantity: number | null;
|
|
187
187
|
maxQuantity: number | null;
|
|
@@ -200,8 +200,8 @@ export declare const operatedExtrasService: {
|
|
|
200
200
|
isDefault: boolean;
|
|
201
201
|
active: boolean;
|
|
202
202
|
sortOrder: number;
|
|
203
|
-
selectionType?: "optional" | "required" | "
|
|
204
|
-
pricingMode?: "on_request" | "per_booking" | "
|
|
203
|
+
selectionType?: "optional" | "required" | "unavailable" | "default_selected" | null | undefined;
|
|
204
|
+
pricingMode?: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null | undefined;
|
|
205
205
|
pricedPerPerson?: boolean | null | undefined;
|
|
206
206
|
minQuantity?: number | null | undefined;
|
|
207
207
|
maxQuantity?: number | null | undefined;
|
|
@@ -210,18 +210,18 @@ export declare const operatedExtrasService: {
|
|
|
210
210
|
metadata?: Record<string, unknown> | null | undefined;
|
|
211
211
|
}): Promise<{
|
|
212
212
|
id: string;
|
|
213
|
-
active: boolean;
|
|
214
213
|
createdAt: Date;
|
|
214
|
+
active: boolean;
|
|
215
215
|
updatedAt: Date;
|
|
216
|
-
metadata: Record<string, unknown> | null;
|
|
217
|
-
notes: string | null;
|
|
218
216
|
isDefault: boolean;
|
|
219
217
|
sortOrder: number;
|
|
220
218
|
optionId: string;
|
|
221
219
|
minQuantity: number | null;
|
|
222
220
|
maxQuantity: number | null;
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
notes: string | null;
|
|
222
|
+
metadata: Record<string, unknown> | null;
|
|
223
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected" | null;
|
|
224
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null;
|
|
225
225
|
pricedPerPerson: boolean | null;
|
|
226
226
|
defaultQuantity: number | null;
|
|
227
227
|
productExtraId: string;
|
|
@@ -229,8 +229,8 @@ export declare const operatedExtrasService: {
|
|
|
229
229
|
updateOptionExtraConfig(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string, data: {
|
|
230
230
|
optionId?: string | undefined;
|
|
231
231
|
productExtraId?: string | undefined;
|
|
232
|
-
selectionType?: "optional" | "required" | "
|
|
233
|
-
pricingMode?: "on_request" | "per_booking" | "
|
|
232
|
+
selectionType?: "optional" | "required" | "unavailable" | "default_selected" | null | undefined;
|
|
233
|
+
pricingMode?: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null | undefined;
|
|
234
234
|
pricedPerPerson?: boolean | null | undefined;
|
|
235
235
|
minQuantity?: number | null | undefined;
|
|
236
236
|
maxQuantity?: number | null | undefined;
|
|
@@ -244,8 +244,8 @@ export declare const operatedExtrasService: {
|
|
|
244
244
|
id: string;
|
|
245
245
|
optionId: string;
|
|
246
246
|
productExtraId: string;
|
|
247
|
-
selectionType: "optional" | "required" | "
|
|
248
|
-
pricingMode: "on_request" | "per_booking" | "
|
|
247
|
+
selectionType: "optional" | "required" | "unavailable" | "default_selected" | null;
|
|
248
|
+
pricingMode: "on_request" | "per_booking" | "included" | "per_person" | "quantity_based" | "free" | null;
|
|
249
249
|
pricedPerPerson: boolean | null;
|
|
250
250
|
minQuantity: number | null;
|
|
251
251
|
maxQuantity: number | null;
|