@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
package/dist/routes.d.ts
CHANGED
|
@@ -576,9 +576,9 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
576
576
|
createdAt: string;
|
|
577
577
|
updatedAt: string;
|
|
578
578
|
productId: string;
|
|
579
|
+
notes: string | null;
|
|
579
580
|
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
580
581
|
enabled: boolean;
|
|
581
|
-
notes: string | null;
|
|
582
582
|
};
|
|
583
583
|
};
|
|
584
584
|
outputFormat: "json";
|
|
@@ -871,13 +871,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
871
871
|
output: {
|
|
872
872
|
data: {
|
|
873
873
|
id: string;
|
|
874
|
-
description: string | null;
|
|
875
874
|
createdAt: string;
|
|
875
|
+
description: string | null;
|
|
876
876
|
updatedAt: string;
|
|
877
|
-
title: string;
|
|
878
877
|
productId: string;
|
|
879
|
-
featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
|
|
880
878
|
sortOrder: number;
|
|
879
|
+
title: string;
|
|
880
|
+
featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
|
|
881
881
|
};
|
|
882
882
|
};
|
|
883
883
|
outputFormat: "json";
|
|
@@ -1103,7 +1103,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1103
1103
|
data: {
|
|
1104
1104
|
id: string;
|
|
1105
1105
|
productId: string;
|
|
1106
|
-
locationType: "
|
|
1106
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
1107
1107
|
title: string;
|
|
1108
1108
|
address: string | null;
|
|
1109
1109
|
city: string | null;
|
|
@@ -1148,7 +1148,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1148
1148
|
data: {
|
|
1149
1149
|
id: string;
|
|
1150
1150
|
productId: string;
|
|
1151
|
-
locationType: "
|
|
1151
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
1152
1152
|
title: string;
|
|
1153
1153
|
address: string | null;
|
|
1154
1154
|
city: string | null;
|
|
@@ -1191,13 +1191,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1191
1191
|
id: string;
|
|
1192
1192
|
createdAt: string;
|
|
1193
1193
|
updatedAt: string;
|
|
1194
|
-
title: string;
|
|
1195
1194
|
productId: string;
|
|
1196
1195
|
sortOrder: number;
|
|
1197
|
-
|
|
1196
|
+
title: string;
|
|
1197
|
+
countryCode: string | null;
|
|
1198
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
1198
1199
|
address: string | null;
|
|
1199
1200
|
city: string | null;
|
|
1200
|
-
countryCode: string | null;
|
|
1201
1201
|
latitude: number | null;
|
|
1202
1202
|
longitude: number | null;
|
|
1203
1203
|
googlePlaceId: string | null;
|
|
@@ -1232,7 +1232,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1232
1232
|
data: {
|
|
1233
1233
|
id: string;
|
|
1234
1234
|
productId: string;
|
|
1235
|
-
locationType: "
|
|
1235
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
1236
1236
|
title: string;
|
|
1237
1237
|
address: string | null;
|
|
1238
1238
|
city: string | null;
|
|
@@ -1378,20 +1378,20 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1378
1378
|
output: {
|
|
1379
1379
|
data: {
|
|
1380
1380
|
id: string;
|
|
1381
|
-
active: boolean;
|
|
1382
1381
|
createdAt: string;
|
|
1382
|
+
active: boolean;
|
|
1383
1383
|
updatedAt: string;
|
|
1384
|
-
metadata: {
|
|
1385
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1386
|
-
} | null;
|
|
1387
1384
|
code: string | null;
|
|
1388
1385
|
sortOrder: number;
|
|
1389
1386
|
latitude: number | null;
|
|
1390
1387
|
longitude: number | null;
|
|
1388
|
+
slug: string;
|
|
1389
|
+
metadata: {
|
|
1390
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1391
|
+
} | null;
|
|
1391
1392
|
parentId: string | null;
|
|
1392
|
-
destinationType: string;
|
|
1393
1393
|
canonicalPlaceId: string | null;
|
|
1394
|
-
|
|
1394
|
+
destinationType: string;
|
|
1395
1395
|
} | null;
|
|
1396
1396
|
};
|
|
1397
1397
|
outputFormat: "json";
|
|
@@ -1513,13 +1513,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1513
1513
|
data: {
|
|
1514
1514
|
id: string;
|
|
1515
1515
|
name: string;
|
|
1516
|
-
description: string | null;
|
|
1517
1516
|
createdAt: string;
|
|
1517
|
+
description: string | null;
|
|
1518
1518
|
updatedAt: string;
|
|
1519
1519
|
languageTag: string;
|
|
1520
|
-
destinationId: string;
|
|
1521
1520
|
seoTitle: string | null;
|
|
1522
1521
|
seoDescription: string | null;
|
|
1522
|
+
destinationId: string;
|
|
1523
1523
|
};
|
|
1524
1524
|
};
|
|
1525
1525
|
outputFormat: "json";
|
|
@@ -1635,13 +1635,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1635
1635
|
data: {
|
|
1636
1636
|
id: string;
|
|
1637
1637
|
name: string;
|
|
1638
|
-
description: string | null;
|
|
1639
1638
|
createdAt: string;
|
|
1639
|
+
description: string | null;
|
|
1640
1640
|
updatedAt: string;
|
|
1641
|
-
categoryId: string;
|
|
1642
1641
|
languageTag: string;
|
|
1643
1642
|
seoTitle: string | null;
|
|
1644
1643
|
seoDescription: string | null;
|
|
1644
|
+
categoryId: string;
|
|
1645
1645
|
};
|
|
1646
1646
|
};
|
|
1647
1647
|
outputFormat: "json";
|
|
@@ -1998,11 +1998,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
1998
1998
|
id: string;
|
|
1999
1999
|
name: string;
|
|
2000
2000
|
status: "draft" | "active" | "archived";
|
|
2001
|
-
description: string | null;
|
|
2002
2001
|
createdAt: string;
|
|
2002
|
+
description: string | null;
|
|
2003
2003
|
updatedAt: string;
|
|
2004
|
-
code: string | null;
|
|
2005
2004
|
productId: string;
|
|
2005
|
+
code: string | null;
|
|
2006
2006
|
isDefault: boolean;
|
|
2007
2007
|
sortOrder: number;
|
|
2008
2008
|
availableFrom: string | null;
|
|
@@ -2089,7 +2089,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2089
2089
|
name: string;
|
|
2090
2090
|
code: string | null;
|
|
2091
2091
|
description: string | null;
|
|
2092
|
-
unitType: "
|
|
2092
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
2093
2093
|
minQuantity: number | null;
|
|
2094
2094
|
maxQuantity: number | null;
|
|
2095
2095
|
minAge: number | null;
|
|
@@ -2136,7 +2136,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2136
2136
|
name: string;
|
|
2137
2137
|
code: string | null;
|
|
2138
2138
|
description: string | null;
|
|
2139
|
-
unitType: "
|
|
2139
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
2140
2140
|
minQuantity: number | null;
|
|
2141
2141
|
maxQuantity: number | null;
|
|
2142
2142
|
minAge: number | null;
|
|
@@ -2177,13 +2177,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2177
2177
|
data: {
|
|
2178
2178
|
id: string;
|
|
2179
2179
|
name: string;
|
|
2180
|
-
description: string | null;
|
|
2181
2180
|
createdAt: string;
|
|
2181
|
+
description: string | null;
|
|
2182
2182
|
updatedAt: string;
|
|
2183
2183
|
code: string | null;
|
|
2184
2184
|
sortOrder: number;
|
|
2185
2185
|
optionId: string;
|
|
2186
|
-
unitType: "
|
|
2186
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
2187
2187
|
minQuantity: number | null;
|
|
2188
2188
|
maxQuantity: number | null;
|
|
2189
2189
|
minAge: number | null;
|
|
@@ -2224,7 +2224,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2224
2224
|
name: string;
|
|
2225
2225
|
code: string | null;
|
|
2226
2226
|
description: string | null;
|
|
2227
|
-
unitType: "
|
|
2227
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
2228
2228
|
minQuantity: number | null;
|
|
2229
2229
|
maxQuantity: number | null;
|
|
2230
2230
|
minAge: number | null;
|
|
@@ -2361,18 +2361,18 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2361
2361
|
data: {
|
|
2362
2362
|
id: string;
|
|
2363
2363
|
name: string;
|
|
2364
|
+
createdAt: string;
|
|
2364
2365
|
description: string | null;
|
|
2365
2366
|
inclusionsHtml: string | null;
|
|
2366
2367
|
exclusionsHtml: string | null;
|
|
2367
2368
|
termsHtml: string | null;
|
|
2368
|
-
createdAt: string;
|
|
2369
2369
|
updatedAt: string;
|
|
2370
2370
|
productId: string;
|
|
2371
2371
|
languageTag: string;
|
|
2372
2372
|
slug: string | null;
|
|
2373
|
+
shortDescription: string | null;
|
|
2373
2374
|
seoTitle: string | null;
|
|
2374
2375
|
seoDescription: string | null;
|
|
2375
|
-
shortDescription: string | null;
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
2378
2378
|
outputFormat: "json";
|
|
@@ -2527,11 +2527,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2527
2527
|
data: {
|
|
2528
2528
|
id: string;
|
|
2529
2529
|
name: string;
|
|
2530
|
-
description: string | null;
|
|
2531
2530
|
createdAt: string;
|
|
2531
|
+
description: string | null;
|
|
2532
2532
|
updatedAt: string;
|
|
2533
|
-
languageTag: string;
|
|
2534
2533
|
optionId: string;
|
|
2534
|
+
languageTag: string;
|
|
2535
2535
|
shortDescription: string | null;
|
|
2536
2536
|
};
|
|
2537
2537
|
};
|
|
@@ -2681,8 +2681,8 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2681
2681
|
data: {
|
|
2682
2682
|
id: string;
|
|
2683
2683
|
name: string;
|
|
2684
|
-
description: string | null;
|
|
2685
2684
|
createdAt: string;
|
|
2685
|
+
description: string | null;
|
|
2686
2686
|
updatedAt: string;
|
|
2687
2687
|
languageTag: string;
|
|
2688
2688
|
shortDescription: string | null;
|
|
@@ -2826,15 +2826,15 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2826
2826
|
data: {
|
|
2827
2827
|
id: string;
|
|
2828
2828
|
name: string;
|
|
2829
|
-
active: boolean;
|
|
2830
|
-
description: string | null;
|
|
2831
2829
|
createdAt: string;
|
|
2830
|
+
description: string | null;
|
|
2831
|
+
active: boolean;
|
|
2832
2832
|
updatedAt: string;
|
|
2833
|
+
code: string;
|
|
2834
|
+
sortOrder: number;
|
|
2833
2835
|
metadata: {
|
|
2834
2836
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2835
2837
|
} | null;
|
|
2836
|
-
code: string;
|
|
2837
|
-
sortOrder: number;
|
|
2838
2838
|
} | undefined;
|
|
2839
2839
|
};
|
|
2840
2840
|
outputFormat: "json";
|
|
@@ -2981,17 +2981,17 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
2981
2981
|
data: {
|
|
2982
2982
|
id: string;
|
|
2983
2983
|
name: string;
|
|
2984
|
-
|
|
2984
|
+
createdAt: string;
|
|
2985
2985
|
description: string | null;
|
|
2986
|
+
active: boolean;
|
|
2986
2987
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
2987
|
-
createdAt: string;
|
|
2988
2988
|
updatedAt: string;
|
|
2989
|
+
sortOrder: number;
|
|
2990
|
+
slug: string;
|
|
2989
2991
|
metadata: {
|
|
2990
2992
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2991
2993
|
} | null;
|
|
2992
|
-
sortOrder: number;
|
|
2993
2994
|
parentId: string | null;
|
|
2994
|
-
slug: string;
|
|
2995
2995
|
} | undefined;
|
|
2996
2996
|
};
|
|
2997
2997
|
outputFormat: "json";
|
|
@@ -3359,14 +3359,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3359
3359
|
sortOrder: number;
|
|
3360
3360
|
dayId: string | null;
|
|
3361
3361
|
mediaType: "image" | "video" | "document";
|
|
3362
|
-
isBrochure: boolean;
|
|
3363
|
-
isBrochureCurrent: boolean;
|
|
3364
3362
|
url: string;
|
|
3365
3363
|
storageKey: string | null;
|
|
3366
3364
|
mimeType: string | null;
|
|
3367
3365
|
fileSize: number | null;
|
|
3368
3366
|
altText: string | null;
|
|
3369
3367
|
isCover: boolean;
|
|
3368
|
+
isBrochure: boolean;
|
|
3369
|
+
isBrochureCurrent: boolean;
|
|
3370
3370
|
brochureVersion: number | null;
|
|
3371
3371
|
};
|
|
3372
3372
|
};
|
|
@@ -3480,14 +3480,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3480
3480
|
sortOrder: number;
|
|
3481
3481
|
dayId: string | null;
|
|
3482
3482
|
mediaType: "image" | "video" | "document";
|
|
3483
|
-
isBrochure: boolean;
|
|
3484
|
-
isBrochureCurrent: boolean;
|
|
3485
3483
|
url: string;
|
|
3486
3484
|
storageKey: string | null;
|
|
3487
3485
|
mimeType: string | null;
|
|
3488
3486
|
fileSize: number | null;
|
|
3489
3487
|
altText: string | null;
|
|
3490
3488
|
isCover: boolean;
|
|
3489
|
+
isBrochure: boolean;
|
|
3490
|
+
isBrochureCurrent: boolean;
|
|
3491
3491
|
brochureVersion: number | null;
|
|
3492
3492
|
};
|
|
3493
3493
|
};
|
|
@@ -3524,14 +3524,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3524
3524
|
sortOrder: number;
|
|
3525
3525
|
dayId: string | null;
|
|
3526
3526
|
mediaType: "image" | "video" | "document";
|
|
3527
|
-
isBrochure: boolean;
|
|
3528
|
-
isBrochureCurrent: boolean;
|
|
3529
3527
|
url: string;
|
|
3530
3528
|
storageKey: string | null;
|
|
3531
3529
|
mimeType: string | null;
|
|
3532
3530
|
fileSize: number | null;
|
|
3533
3531
|
altText: string | null;
|
|
3534
3532
|
isCover: boolean;
|
|
3533
|
+
isBrochure: boolean;
|
|
3534
|
+
isBrochureCurrent: boolean;
|
|
3535
3535
|
brochureVersion: number | null;
|
|
3536
3536
|
};
|
|
3537
3537
|
};
|
|
@@ -3620,14 +3620,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3620
3620
|
sortOrder: number;
|
|
3621
3621
|
dayId: string | null;
|
|
3622
3622
|
mediaType: "image" | "video" | "document";
|
|
3623
|
-
isBrochure: boolean;
|
|
3624
|
-
isBrochureCurrent: boolean;
|
|
3625
3623
|
url: string;
|
|
3626
3624
|
storageKey: string | null;
|
|
3627
3625
|
mimeType: string | null;
|
|
3628
3626
|
fileSize: number | null;
|
|
3629
3627
|
altText: string | null;
|
|
3630
3628
|
isCover: boolean;
|
|
3629
|
+
isBrochure: boolean;
|
|
3630
|
+
isBrochureCurrent: boolean;
|
|
3631
3631
|
brochureVersion: number | null;
|
|
3632
3632
|
};
|
|
3633
3633
|
};
|
|
@@ -3700,14 +3700,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3700
3700
|
sortOrder: number;
|
|
3701
3701
|
dayId: string | null;
|
|
3702
3702
|
mediaType: "image" | "video" | "document";
|
|
3703
|
-
isBrochure: boolean;
|
|
3704
|
-
isBrochureCurrent: boolean;
|
|
3705
3703
|
url: string;
|
|
3706
3704
|
storageKey: string | null;
|
|
3707
3705
|
mimeType: string | null;
|
|
3708
3706
|
fileSize: number | null;
|
|
3709
3707
|
altText: string | null;
|
|
3710
3708
|
isCover: boolean;
|
|
3709
|
+
isBrochure: boolean;
|
|
3710
|
+
isBrochureCurrent: boolean;
|
|
3711
3711
|
brochureVersion: number | null;
|
|
3712
3712
|
};
|
|
3713
3713
|
};
|
|
@@ -3803,14 +3803,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
3803
3803
|
sortOrder: number;
|
|
3804
3804
|
dayId: string | null;
|
|
3805
3805
|
mediaType: "image" | "video" | "document";
|
|
3806
|
-
isBrochure: boolean;
|
|
3807
|
-
isBrochureCurrent: boolean;
|
|
3808
3806
|
url: string;
|
|
3809
3807
|
storageKey: string | null;
|
|
3810
3808
|
mimeType: string | null;
|
|
3811
3809
|
fileSize: number | null;
|
|
3812
3810
|
altText: string | null;
|
|
3813
3811
|
isCover: boolean;
|
|
3812
|
+
isBrochure: boolean;
|
|
3813
|
+
isBrochureCurrent: boolean;
|
|
3814
3814
|
brochureVersion: number | null;
|
|
3815
3815
|
};
|
|
3816
3816
|
};
|
|
@@ -4021,13 +4021,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4021
4021
|
output: {
|
|
4022
4022
|
data: {
|
|
4023
4023
|
id: string;
|
|
4024
|
-
description: string | null;
|
|
4025
4024
|
createdAt: string;
|
|
4025
|
+
description: string | null;
|
|
4026
4026
|
updatedAt: string;
|
|
4027
|
+
itineraryId: string;
|
|
4028
|
+
dayNumber: number;
|
|
4027
4029
|
title: string | null;
|
|
4028
4030
|
location: string | null;
|
|
4029
|
-
dayNumber: number;
|
|
4030
|
-
itineraryId: string;
|
|
4031
4031
|
};
|
|
4032
4032
|
};
|
|
4033
4033
|
outputFormat: "json";
|
|
@@ -4080,13 +4080,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4080
4080
|
output: {
|
|
4081
4081
|
data: {
|
|
4082
4082
|
id: string;
|
|
4083
|
-
description: string | null;
|
|
4084
4083
|
createdAt: string;
|
|
4084
|
+
description: string | null;
|
|
4085
4085
|
updatedAt: string;
|
|
4086
|
+
itineraryId: string;
|
|
4087
|
+
dayNumber: number;
|
|
4086
4088
|
title: string | null;
|
|
4087
4089
|
location: string | null;
|
|
4088
|
-
dayNumber: number;
|
|
4089
|
-
itineraryId: string;
|
|
4090
4090
|
};
|
|
4091
4091
|
};
|
|
4092
4092
|
outputFormat: "json";
|
|
@@ -4177,7 +4177,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4177
4177
|
id: string;
|
|
4178
4178
|
dayId: string;
|
|
4179
4179
|
supplierServiceId: string | null;
|
|
4180
|
-
serviceType: "
|
|
4180
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
4181
4181
|
name: string;
|
|
4182
4182
|
description: string | null;
|
|
4183
4183
|
countryCode: string | null;
|
|
@@ -4220,17 +4220,17 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4220
4220
|
data: {
|
|
4221
4221
|
id: string;
|
|
4222
4222
|
name: string;
|
|
4223
|
+
createdAt: string;
|
|
4223
4224
|
description: string | null;
|
|
4224
4225
|
costAmountCents: number;
|
|
4225
|
-
createdAt: string;
|
|
4226
|
-
notes: string | null;
|
|
4227
4226
|
sortOrder: number | null;
|
|
4228
|
-
countryCode: string | null;
|
|
4229
4227
|
dayId: string;
|
|
4230
|
-
serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
|
|
4231
4228
|
supplierServiceId: string | null;
|
|
4229
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
4230
|
+
countryCode: string | null;
|
|
4232
4231
|
costCurrency: string;
|
|
4233
4232
|
quantity: number;
|
|
4233
|
+
notes: string | null;
|
|
4234
4234
|
};
|
|
4235
4235
|
};
|
|
4236
4236
|
outputFormat: "json";
|
|
@@ -4269,7 +4269,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4269
4269
|
id: string;
|
|
4270
4270
|
dayId: string;
|
|
4271
4271
|
supplierServiceId: string | null;
|
|
4272
|
-
serviceType: "
|
|
4272
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
4273
4273
|
name: string;
|
|
4274
4274
|
description: string | null;
|
|
4275
4275
|
countryCode: string | null;
|
|
@@ -4374,13 +4374,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4374
4374
|
output: {
|
|
4375
4375
|
data: {
|
|
4376
4376
|
id: string;
|
|
4377
|
-
description: string | null;
|
|
4378
4377
|
createdAt: string;
|
|
4378
|
+
description: string | null;
|
|
4379
4379
|
updatedAt: string;
|
|
4380
4380
|
title: string | null;
|
|
4381
|
-
languageTag: string;
|
|
4382
|
-
dayId: string;
|
|
4383
4381
|
location: string | null;
|
|
4382
|
+
dayId: string;
|
|
4383
|
+
languageTag: string;
|
|
4384
4384
|
};
|
|
4385
4385
|
};
|
|
4386
4386
|
outputFormat: "json";
|
|
@@ -4393,10 +4393,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4393
4393
|
input: {
|
|
4394
4394
|
param: {
|
|
4395
4395
|
id: string;
|
|
4396
|
-
} & {
|
|
4397
|
-
translationId: string;
|
|
4398
4396
|
} & {
|
|
4399
4397
|
dayId: string;
|
|
4398
|
+
} & {
|
|
4399
|
+
translationId: string;
|
|
4400
4400
|
};
|
|
4401
4401
|
};
|
|
4402
4402
|
output: {
|
|
@@ -4408,10 +4408,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4408
4408
|
input: {
|
|
4409
4409
|
param: {
|
|
4410
4410
|
id: string;
|
|
4411
|
-
} & {
|
|
4412
|
-
translationId: string;
|
|
4413
4411
|
} & {
|
|
4414
4412
|
dayId: string;
|
|
4413
|
+
} & {
|
|
4414
|
+
translationId: string;
|
|
4415
4415
|
};
|
|
4416
4416
|
};
|
|
4417
4417
|
output: {
|
|
@@ -4436,10 +4436,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4436
4436
|
input: {
|
|
4437
4437
|
param: {
|
|
4438
4438
|
id: string;
|
|
4439
|
-
} & {
|
|
4440
|
-
translationId: string;
|
|
4441
4439
|
} & {
|
|
4442
4440
|
dayId: string;
|
|
4441
|
+
} & {
|
|
4442
|
+
translationId: string;
|
|
4443
4443
|
};
|
|
4444
4444
|
};
|
|
4445
4445
|
output: {
|
|
@@ -4451,10 +4451,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4451
4451
|
input: {
|
|
4452
4452
|
param: {
|
|
4453
4453
|
id: string;
|
|
4454
|
-
} & {
|
|
4455
|
-
translationId: string;
|
|
4456
4454
|
} & {
|
|
4457
4455
|
dayId: string;
|
|
4456
|
+
} & {
|
|
4457
|
+
translationId: string;
|
|
4458
4458
|
};
|
|
4459
4459
|
};
|
|
4460
4460
|
output: {
|
|
@@ -4566,8 +4566,8 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4566
4566
|
id: string;
|
|
4567
4567
|
createdAt: string;
|
|
4568
4568
|
productId: string;
|
|
4569
|
-
content: string;
|
|
4570
4569
|
authorId: string;
|
|
4570
|
+
content: string;
|
|
4571
4571
|
};
|
|
4572
4572
|
};
|
|
4573
4573
|
outputFormat: "json";
|
|
@@ -4801,7 +4801,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4801
4801
|
exclusionsHtml: string | null;
|
|
4802
4802
|
termsHtml: string | null;
|
|
4803
4803
|
termsShowOnContract: boolean;
|
|
4804
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
4804
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
4805
4805
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
4806
4806
|
timezone: string | null;
|
|
4807
4807
|
defaultLanguageTag: string | null;
|
|
@@ -4842,12 +4842,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4842
4842
|
id: string;
|
|
4843
4843
|
name: string;
|
|
4844
4844
|
status: "draft" | "active" | "archived";
|
|
4845
|
+
createdAt: string;
|
|
4845
4846
|
description: string | null;
|
|
4846
4847
|
inclusionsHtml: string | null;
|
|
4847
4848
|
exclusionsHtml: string | null;
|
|
4848
4849
|
termsHtml: string | null;
|
|
4849
4850
|
termsShowOnContract: boolean;
|
|
4850
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
4851
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
4851
4852
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
4852
4853
|
timezone: string | null;
|
|
4853
4854
|
defaultLanguageTag: string | null;
|
|
@@ -4868,7 +4869,6 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4868
4869
|
taxClassId: string | null;
|
|
4869
4870
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
4870
4871
|
tags: string[] | null;
|
|
4871
|
-
createdAt: string;
|
|
4872
4872
|
updatedAt: string;
|
|
4873
4873
|
};
|
|
4874
4874
|
};
|
|
@@ -4910,7 +4910,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4910
4910
|
exclusionsHtml: string | null;
|
|
4911
4911
|
termsHtml: string | null;
|
|
4912
4912
|
termsShowOnContract: boolean;
|
|
4913
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
4913
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
4914
4914
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
4915
4915
|
timezone: string | null;
|
|
4916
4916
|
defaultLanguageTag: string | null;
|
|
@@ -4960,27 +4960,27 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
4960
4960
|
};
|
|
4961
4961
|
output: {
|
|
4962
4962
|
data: {
|
|
4963
|
-
principalSubtype: string | null;
|
|
4964
|
-
sessionId: string | null;
|
|
4965
|
-
apiTokenId: string | null;
|
|
4966
|
-
callerType: string | null;
|
|
4967
|
-
organizationId: string | null;
|
|
4968
|
-
workflowRunId: string | null;
|
|
4969
|
-
workflowStepId: string | null;
|
|
4970
4963
|
id: string;
|
|
4971
|
-
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
4972
4964
|
actionName: string;
|
|
4973
4965
|
actionVersion: string;
|
|
4974
|
-
actionKind: "
|
|
4966
|
+
actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
|
|
4967
|
+
status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
|
|
4975
4968
|
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
4976
4969
|
actorType: string | null;
|
|
4977
4970
|
principalType: "user" | "api_key" | "agent" | "workflow" | "system";
|
|
4978
4971
|
principalId: string;
|
|
4972
|
+
principalSubtype: string | null;
|
|
4973
|
+
sessionId: string | null;
|
|
4974
|
+
apiTokenId: string | null;
|
|
4979
4975
|
internalRequest: boolean;
|
|
4980
4976
|
delegatedByPrincipalType: "user" | "api_key" | "agent" | "workflow" | "system" | null;
|
|
4981
4977
|
delegatedByPrincipalId: string | null;
|
|
4982
4978
|
delegationId: string | null;
|
|
4979
|
+
callerType: string | null;
|
|
4980
|
+
organizationId: string | null;
|
|
4983
4981
|
routeOrToolName: string | null;
|
|
4982
|
+
workflowRunId: string | null;
|
|
4983
|
+
workflowStepId: string | null;
|
|
4984
4984
|
correlationId: string | null;
|
|
4985
4985
|
causationActionId: string | null;
|
|
4986
4986
|
idempotencyScope: string | null;
|
|
@@ -5037,7 +5037,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
|
|
|
5037
5037
|
exclusionsHtml: string | null;
|
|
5038
5038
|
termsHtml: string | null;
|
|
5039
5039
|
termsShowOnContract: boolean;
|
|
5040
|
-
bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
5040
|
+
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
5041
5041
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
5042
5042
|
timezone: string | null;
|
|
5043
5043
|
defaultLanguageTag: string | null;
|
package/dist/schema-core.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export declare const products: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
143
143
|
tableName: "products";
|
|
144
144
|
dataType: "string";
|
|
145
145
|
columnType: "PgEnumColumn";
|
|
146
|
-
data: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary"
|
|
146
|
+
data: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
147
147
|
driverParam: string;
|
|
148
148
|
notNull: true;
|
|
149
149
|
hasDefault: true;
|
|
@@ -843,7 +843,7 @@ export declare const optionUnits: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
843
843
|
tableName: "option_units";
|
|
844
844
|
dataType: "string";
|
|
845
845
|
columnType: "PgEnumColumn";
|
|
846
|
-
data: "
|
|
846
|
+
data: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
847
847
|
driverParam: string;
|
|
848
848
|
notNull: true;
|
|
849
849
|
hasDefault: true;
|
|
@@ -476,7 +476,7 @@ export declare const productDayServices: import("drizzle-orm/pg-core").PgTableWi
|
|
|
476
476
|
tableName: "product_day_services";
|
|
477
477
|
dataType: "string";
|
|
478
478
|
columnType: "PgEnumColumn";
|
|
479
|
-
data: "
|
|
479
|
+
data: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
480
480
|
driverParam: string;
|
|
481
481
|
notNull: true;
|
|
482
482
|
hasDefault: false;
|
|
@@ -521,7 +521,7 @@ export declare const productCapabilities: import("drizzle-orm/pg-core").PgTableW
|
|
|
521
521
|
tableName: "product_capabilities";
|
|
522
522
|
dataType: "string";
|
|
523
523
|
columnType: "PgEnumColumn";
|
|
524
|
-
data: "on_request" | "private" | "
|
|
524
|
+
data: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
525
525
|
driverParam: string;
|
|
526
526
|
notNull: true;
|
|
527
527
|
hasDefault: false;
|