@voyant-travel/cruises 0.118.2 → 0.119.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/booking-extension.d.ts +48 -48
- package/dist/routes-booking-payloads.d.ts +4 -4
- package/dist/routes-public.d.ts +91 -91
- package/dist/schema-cabins.d.ts +4 -4
- package/dist/schema-content.d.ts +2 -2
- package/dist/schema-search.d.ts +1 -1
- package/dist/service-core.d.ts +3 -3
- package/dist/service-prices.d.ts +1 -1
- package/dist/service.d.ts +4 -4
- package/dist/validation-cabins.d.ts +14 -14
- package/dist/validation-content.d.ts +6 -6
- package/dist/validation-itinerary.d.ts +12 -12
- package/dist/validation-shared.d.ts +4 -4
- package/package.json +7 -7
|
@@ -37,7 +37,7 @@ export declare const bookingCruiseDetails: import("drizzle-orm/pg-core").PgTable
|
|
|
37
37
|
tableName: "booking_cruise_details";
|
|
38
38
|
dataType: "string";
|
|
39
39
|
columnType: "PgEnumColumn";
|
|
40
|
-
data: "
|
|
40
|
+
data: "external" | "local";
|
|
41
41
|
driverParam: string;
|
|
42
42
|
notNull: true;
|
|
43
43
|
hasDefault: true;
|
|
@@ -226,7 +226,7 @@ export declare const bookingCruiseDetails: import("drizzle-orm/pg-core").PgTable
|
|
|
226
226
|
tableName: "booking_cruise_details";
|
|
227
227
|
dataType: "string";
|
|
228
228
|
columnType: "PgEnumColumn";
|
|
229
|
-
data: "
|
|
229
|
+
data: "reserve" | "inquiry";
|
|
230
230
|
driverParam: string;
|
|
231
231
|
notNull: true;
|
|
232
232
|
hasDefault: true;
|
|
@@ -498,7 +498,7 @@ export declare const bookingGroupCruiseDetails: import("drizzle-orm/pg-core").Pg
|
|
|
498
498
|
tableName: "booking_group_cruise_details";
|
|
499
499
|
dataType: "string";
|
|
500
500
|
columnType: "PgEnumColumn";
|
|
501
|
-
data: "
|
|
501
|
+
data: "external" | "local";
|
|
502
502
|
driverParam: string;
|
|
503
503
|
notNull: true;
|
|
504
504
|
hasDefault: true;
|
|
@@ -727,8 +727,8 @@ export type BookingGroupCruiseDetail = typeof bookingGroupCruiseDetails.$inferSe
|
|
|
727
727
|
export type NewBookingGroupCruiseDetail = typeof bookingGroupCruiseDetails.$inferInsert;
|
|
728
728
|
declare const cruiseDetailUpsertSchema: z.ZodObject<{
|
|
729
729
|
source: z.ZodDefault<z.ZodEnum<{
|
|
730
|
-
local: "local";
|
|
731
730
|
external: "external";
|
|
731
|
+
local: "local";
|
|
732
732
|
}>>;
|
|
733
733
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
734
734
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -747,8 +747,8 @@ declare const cruiseDetailUpsertSchema: z.ZodObject<{
|
|
|
747
747
|
air_inclusive: "air_inclusive";
|
|
748
748
|
}>>;
|
|
749
749
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
750
|
-
inquiry: "inquiry";
|
|
751
750
|
reserve: "reserve";
|
|
751
|
+
inquiry: "inquiry";
|
|
752
752
|
}>>;
|
|
753
753
|
quotedPricePerPerson: z.ZodString;
|
|
754
754
|
quotedTotalForCabin: z.ZodString;
|
|
@@ -774,8 +774,8 @@ declare const cruiseDetailUpsertSchema: z.ZodObject<{
|
|
|
774
774
|
}, z.core.$strip>;
|
|
775
775
|
declare const groupCruiseDetailUpsertSchema: z.ZodObject<{
|
|
776
776
|
source: z.ZodDefault<z.ZodEnum<{
|
|
777
|
-
local: "local";
|
|
778
777
|
external: "external";
|
|
778
|
+
local: "local";
|
|
779
779
|
}>>;
|
|
780
780
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
781
781
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -828,25 +828,27 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
828
828
|
};
|
|
829
829
|
output: {
|
|
830
830
|
data: {
|
|
831
|
-
|
|
832
|
-
|
|
831
|
+
source: "external" | "local";
|
|
832
|
+
mode: "reserve" | "inquiry";
|
|
833
|
+
createdAt: string;
|
|
834
|
+
updatedAt: string;
|
|
835
|
+
notes: string | null;
|
|
836
|
+
bookingId: string;
|
|
837
|
+
sailingId: string | null;
|
|
833
838
|
cabinCategoryId: string | null;
|
|
834
839
|
occupancy: number;
|
|
835
|
-
sailingId: string | null;
|
|
836
840
|
fareCode: string | null;
|
|
837
|
-
|
|
838
|
-
source: "local" | "external";
|
|
841
|
+
fareVariant: "cruise_only" | "air_inclusive";
|
|
839
842
|
sourceProvider: string | null;
|
|
840
843
|
sourceRef: {
|
|
841
844
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
842
845
|
connectionId?: string | undefined;
|
|
843
846
|
externalId: string;
|
|
844
847
|
} | null;
|
|
848
|
+
airArrangement: "none" | "cruise_line" | "independent" | null;
|
|
845
849
|
cabinId: string | null;
|
|
846
850
|
sailingDisplayName: string | null;
|
|
847
851
|
cabinDisplayName: string | null;
|
|
848
|
-
fareVariant: "cruise_only" | "air_inclusive";
|
|
849
|
-
mode: "inquiry" | "reserve";
|
|
850
852
|
quotedPricePerPerson: string;
|
|
851
853
|
quotedTotalForCabin: string;
|
|
852
854
|
quotedCurrency: string;
|
|
@@ -894,11 +896,9 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
894
896
|
infants?: number | undefined;
|
|
895
897
|
seniors?: number | undefined;
|
|
896
898
|
} | null;
|
|
897
|
-
|
|
899
|
+
connectorBookingRef: string | null;
|
|
900
|
+
connectorStatus: string | null;
|
|
898
901
|
linkedFlightBookingId: string | null;
|
|
899
|
-
notes: string | null;
|
|
900
|
-
createdAt: string;
|
|
901
|
-
updatedAt: string;
|
|
902
902
|
};
|
|
903
903
|
};
|
|
904
904
|
outputFormat: "json";
|
|
@@ -915,25 +915,27 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
915
915
|
};
|
|
916
916
|
output: {
|
|
917
917
|
data: {
|
|
918
|
-
|
|
919
|
-
|
|
918
|
+
source: "external" | "local";
|
|
919
|
+
mode: "reserve" | "inquiry";
|
|
920
|
+
createdAt: string;
|
|
921
|
+
updatedAt: string;
|
|
922
|
+
notes: string | null;
|
|
923
|
+
bookingId: string;
|
|
924
|
+
sailingId: string | null;
|
|
920
925
|
cabinCategoryId: string | null;
|
|
921
926
|
occupancy: number;
|
|
922
|
-
sailingId: string | null;
|
|
923
927
|
fareCode: string | null;
|
|
924
|
-
|
|
925
|
-
source: "local" | "external";
|
|
928
|
+
fareVariant: "cruise_only" | "air_inclusive";
|
|
926
929
|
sourceProvider: string | null;
|
|
927
930
|
sourceRef: {
|
|
928
931
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
929
932
|
connectionId?: string | undefined;
|
|
930
933
|
externalId: string;
|
|
931
934
|
} | null;
|
|
935
|
+
airArrangement: "none" | "cruise_line" | "independent" | null;
|
|
932
936
|
cabinId: string | null;
|
|
933
937
|
sailingDisplayName: string | null;
|
|
934
938
|
cabinDisplayName: string | null;
|
|
935
|
-
fareVariant: "cruise_only" | "air_inclusive";
|
|
936
|
-
mode: "inquiry" | "reserve";
|
|
937
939
|
quotedPricePerPerson: string;
|
|
938
940
|
quotedTotalForCabin: string;
|
|
939
941
|
quotedCurrency: string;
|
|
@@ -981,11 +983,9 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
981
983
|
infants?: number | undefined;
|
|
982
984
|
seniors?: number | undefined;
|
|
983
985
|
} | null;
|
|
984
|
-
|
|
986
|
+
connectorBookingRef: string | null;
|
|
987
|
+
connectorStatus: string | null;
|
|
985
988
|
linkedFlightBookingId: string | null;
|
|
986
|
-
notes: string | null;
|
|
987
|
-
createdAt: string;
|
|
988
|
-
updatedAt: string;
|
|
989
989
|
};
|
|
990
990
|
};
|
|
991
991
|
outputFormat: "json";
|
|
@@ -1000,20 +1000,20 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
1000
1000
|
bookingId: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
};
|
|
1003
|
-
output:
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
outputFormat: "json";
|
|
1007
|
-
status: 404;
|
|
1003
|
+
output: null;
|
|
1004
|
+
outputFormat: "body";
|
|
1005
|
+
status: 204;
|
|
1008
1006
|
} | {
|
|
1009
1007
|
input: {
|
|
1010
1008
|
param: {
|
|
1011
1009
|
bookingId: string;
|
|
1012
1010
|
};
|
|
1013
1011
|
};
|
|
1014
|
-
output:
|
|
1015
|
-
|
|
1016
|
-
|
|
1012
|
+
output: {
|
|
1013
|
+
error: string;
|
|
1014
|
+
};
|
|
1015
|
+
outputFormat: "json";
|
|
1016
|
+
status: 404;
|
|
1017
1017
|
};
|
|
1018
1018
|
};
|
|
1019
1019
|
} & {
|
|
@@ -1037,9 +1037,12 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
1037
1037
|
};
|
|
1038
1038
|
output: {
|
|
1039
1039
|
data: {
|
|
1040
|
-
|
|
1040
|
+
source: "external" | "local";
|
|
1041
|
+
createdAt: string;
|
|
1042
|
+
updatedAt: string;
|
|
1043
|
+
notes: string | null;
|
|
1044
|
+
cabinCount: number;
|
|
1041
1045
|
sailingId: string | null;
|
|
1042
|
-
source: "local" | "external";
|
|
1043
1046
|
sourceProvider: string | null;
|
|
1044
1047
|
sourceRef: {
|
|
1045
1048
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1076,11 +1079,8 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
1076
1079
|
supplierTermsUrl?: string | null | undefined;
|
|
1077
1080
|
notes?: string | null | undefined;
|
|
1078
1081
|
} | null;
|
|
1079
|
-
|
|
1080
|
-
createdAt: string;
|
|
1081
|
-
updatedAt: string;
|
|
1082
|
+
connectorBookingRef: string | null;
|
|
1082
1083
|
bookingGroupId: string;
|
|
1083
|
-
cabinCount: number;
|
|
1084
1084
|
totalQuotedAmount: string;
|
|
1085
1085
|
};
|
|
1086
1086
|
};
|
|
@@ -1098,9 +1098,12 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
1098
1098
|
};
|
|
1099
1099
|
output: {
|
|
1100
1100
|
data: {
|
|
1101
|
-
|
|
1101
|
+
source: "external" | "local";
|
|
1102
|
+
createdAt: string;
|
|
1103
|
+
updatedAt: string;
|
|
1104
|
+
notes: string | null;
|
|
1105
|
+
cabinCount: number;
|
|
1102
1106
|
sailingId: string | null;
|
|
1103
|
-
source: "local" | "external";
|
|
1104
1107
|
sourceProvider: string | null;
|
|
1105
1108
|
sourceRef: {
|
|
1106
1109
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1137,11 +1140,8 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
1137
1140
|
supplierTermsUrl?: string | null | undefined;
|
|
1138
1141
|
notes?: string | null | undefined;
|
|
1139
1142
|
} | null;
|
|
1140
|
-
|
|
1141
|
-
createdAt: string;
|
|
1142
|
-
updatedAt: string;
|
|
1143
|
+
connectorBookingRef: string | null;
|
|
1143
1144
|
bookingGroupId: string;
|
|
1144
|
-
cabinCount: number;
|
|
1145
1145
|
totalQuotedAmount: string;
|
|
1146
1146
|
};
|
|
1147
1147
|
};
|
|
@@ -19,8 +19,8 @@ export declare const createBookingPayloadSchema: z.ZodObject<{
|
|
|
19
19
|
air_inclusive: "air_inclusive";
|
|
20
20
|
}>>>;
|
|
21
21
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
inquiry: "inquiry";
|
|
23
22
|
reserve: "reserve";
|
|
23
|
+
inquiry: "inquiry";
|
|
24
24
|
}>>;
|
|
25
25
|
personId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
26
|
organizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -42,9 +42,9 @@ export declare const createBookingPayloadSchema: z.ZodObject<{
|
|
|
42
42
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
43
|
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
44
44
|
travelerCategory: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
child: "child";
|
|
45
46
|
other: "other";
|
|
46
47
|
adult: "adult";
|
|
47
|
-
child: "child";
|
|
48
48
|
infant: "infant";
|
|
49
49
|
senior: "senior";
|
|
50
50
|
}>>>;
|
|
@@ -73,9 +73,9 @@ export declare const createPartyBookingPayloadSchema: z.ZodObject<{
|
|
|
73
73
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
74
74
|
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
75
75
|
travelerCategory: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
76
|
+
child: "child";
|
|
76
77
|
other: "other";
|
|
77
78
|
adult: "adult";
|
|
78
|
-
child: "child";
|
|
79
79
|
infant: "infant";
|
|
80
80
|
senior: "senior";
|
|
81
81
|
}>>>;
|
|
@@ -102,8 +102,8 @@ export declare const createPartyBookingPayloadSchema: z.ZodObject<{
|
|
|
102
102
|
postalCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
103
103
|
}, z.core.$strip>;
|
|
104
104
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
inquiry: "inquiry";
|
|
106
105
|
reserve: "reserve";
|
|
106
|
+
inquiry: "inquiry";
|
|
107
107
|
}>>;
|
|
108
108
|
label: z.ZodOptional<z.ZodString>;
|
|
109
109
|
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
package/dist/routes-public.d.ts
CHANGED
|
@@ -20,34 +20,34 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
20
20
|
input: {};
|
|
21
21
|
output: {
|
|
22
22
|
data: {
|
|
23
|
-
|
|
23
|
+
source: "external" | "local";
|
|
24
24
|
id: string;
|
|
25
25
|
name: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
updatedAt: string;
|
|
26
28
|
slug: string;
|
|
27
29
|
nights: number;
|
|
28
|
-
heroImageUrl: string | null;
|
|
29
30
|
embarkPortCanonicalPlaceId: string | null;
|
|
30
31
|
disembarkPortCanonicalPlaceId: string | null;
|
|
31
32
|
regions: string[] | null;
|
|
33
|
+
themes: string[] | null;
|
|
34
|
+
heroImageUrl: string | null;
|
|
35
|
+
cruiseType: "ocean" | "river" | "expedition" | "coastal";
|
|
36
|
+
regionIds: string[] | null;
|
|
37
|
+
waterwayIds: string[] | null;
|
|
38
|
+
portIds: string[] | null;
|
|
39
|
+
countryIso: string[] | null;
|
|
32
40
|
waterways: string[] | null;
|
|
33
41
|
ports: string[] | null;
|
|
34
42
|
countries: string[] | null;
|
|
35
|
-
|
|
36
|
-
departureCount: number | null;
|
|
37
|
-
source: "local" | "external";
|
|
43
|
+
salesStatus: string | null;
|
|
38
44
|
sourceProvider: string | null;
|
|
39
45
|
sourceRef: {
|
|
40
46
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
41
47
|
connectionId?: string | undefined;
|
|
42
48
|
externalId: string;
|
|
43
49
|
} | null;
|
|
44
|
-
|
|
45
|
-
updatedAt: string;
|
|
46
|
-
regionIds: string[] | null;
|
|
47
|
-
waterwayIds: string[] | null;
|
|
48
|
-
portIds: string[] | null;
|
|
49
|
-
countryIso: string[] | null;
|
|
50
|
-
salesStatus: string | null;
|
|
50
|
+
departureCount: number | null;
|
|
51
51
|
localCruiseId: string | null;
|
|
52
52
|
lineName: string;
|
|
53
53
|
shipName: string;
|
|
@@ -92,34 +92,34 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
92
92
|
sourceProvider: null;
|
|
93
93
|
sourceRef: null;
|
|
94
94
|
summary: {
|
|
95
|
-
|
|
95
|
+
source: "external" | "local";
|
|
96
96
|
id: string;
|
|
97
97
|
name: string;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
updatedAt: string;
|
|
98
100
|
slug: string;
|
|
99
101
|
nights: number;
|
|
100
|
-
heroImageUrl: string | null;
|
|
101
102
|
embarkPortCanonicalPlaceId: string | null;
|
|
102
103
|
disembarkPortCanonicalPlaceId: string | null;
|
|
103
104
|
regions: string[] | null;
|
|
105
|
+
themes: string[] | null;
|
|
106
|
+
heroImageUrl: string | null;
|
|
107
|
+
cruiseType: "ocean" | "river" | "expedition" | "coastal";
|
|
108
|
+
regionIds: string[] | null;
|
|
109
|
+
waterwayIds: string[] | null;
|
|
110
|
+
portIds: string[] | null;
|
|
111
|
+
countryIso: string[] | null;
|
|
104
112
|
waterways: string[] | null;
|
|
105
113
|
ports: string[] | null;
|
|
106
114
|
countries: string[] | null;
|
|
107
|
-
|
|
108
|
-
departureCount: number | null;
|
|
109
|
-
source: "local" | "external";
|
|
115
|
+
salesStatus: string | null;
|
|
110
116
|
sourceProvider: string | null;
|
|
111
117
|
sourceRef: {
|
|
112
118
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
113
119
|
connectionId?: string | undefined;
|
|
114
120
|
externalId: string;
|
|
115
121
|
} | null;
|
|
116
|
-
|
|
117
|
-
updatedAt: string;
|
|
118
|
-
regionIds: string[] | null;
|
|
119
|
-
waterwayIds: string[] | null;
|
|
120
|
-
portIds: string[] | null;
|
|
121
|
-
countryIso: string[] | null;
|
|
122
|
-
salesStatus: string | null;
|
|
122
|
+
departureCount: number | null;
|
|
123
123
|
localCruiseId: string | null;
|
|
124
124
|
lineName: string;
|
|
125
125
|
shipName: string;
|
|
@@ -132,58 +132,58 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
132
132
|
refreshedAt: string;
|
|
133
133
|
};
|
|
134
134
|
cruise: {
|
|
135
|
-
cruiseType: "ocean" | "river" | "expedition" | "coastal";
|
|
136
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
137
135
|
id: string;
|
|
138
136
|
name: string;
|
|
137
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
138
|
+
createdAt: string;
|
|
139
139
|
description: string | null;
|
|
140
|
-
|
|
140
|
+
updatedAt: string;
|
|
141
141
|
slug: string;
|
|
142
|
-
nights: number;
|
|
143
142
|
lineSupplierId: string | null;
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
externalRefs: {
|
|
144
|
+
[x: string]: string;
|
|
145
|
+
} | null;
|
|
146
|
+
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
147
|
+
nights: number;
|
|
146
148
|
embarkPortFacilityId: string | null;
|
|
147
149
|
embarkPortCanonicalPlaceId: string | null;
|
|
148
150
|
disembarkPortFacilityId: string | null;
|
|
149
151
|
disembarkPortCanonicalPlaceId: string | null;
|
|
152
|
+
shortDescription: string | null;
|
|
153
|
+
highlights: string[] | null;
|
|
150
154
|
regions: string[] | null;
|
|
151
|
-
waterways: string[] | null;
|
|
152
|
-
ports: string[] | null;
|
|
153
|
-
countries: string[] | null;
|
|
154
155
|
themes: string[] | null;
|
|
156
|
+
heroImageUrl: string | null;
|
|
157
|
+
mapImageUrl: string | null;
|
|
155
158
|
lowestPriceCached: string | null;
|
|
156
159
|
lowestPriceCurrencyCached: string | null;
|
|
157
160
|
earliestDepartureCached: string | null;
|
|
158
161
|
latestDepartureCached: string | null;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
externalRefs: {
|
|
162
|
-
[x: string]: string;
|
|
163
|
-
} | null;
|
|
164
|
-
shortDescription: string | null;
|
|
162
|
+
cruiseType: "ocean" | "river" | "expedition" | "coastal";
|
|
163
|
+
defaultShipId: string | null;
|
|
165
164
|
inclusionsHtml: string | null;
|
|
166
165
|
exclusionsHtml: string | null;
|
|
167
166
|
regionIds: string[] | null;
|
|
168
167
|
waterwayIds: string[] | null;
|
|
169
168
|
portIds: string[] | null;
|
|
170
169
|
countryIso: string[] | null;
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
waterways: string[] | null;
|
|
171
|
+
ports: string[] | null;
|
|
172
|
+
countries: string[] | null;
|
|
173
173
|
sailings?: {
|
|
174
174
|
id: string;
|
|
175
|
-
embarkPortFacilityId: string | null;
|
|
176
|
-
embarkPortCanonicalPlaceId: string | null;
|
|
177
|
-
disembarkPortFacilityId: string | null;
|
|
178
|
-
disembarkPortCanonicalPlaceId: string | null;
|
|
179
175
|
createdAt: string;
|
|
180
176
|
updatedAt: string;
|
|
181
177
|
externalRefs: {
|
|
182
178
|
[x: string]: string;
|
|
183
179
|
} | null;
|
|
180
|
+
shipId: string;
|
|
184
181
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
182
|
+
embarkPortFacilityId: string | null;
|
|
183
|
+
embarkPortCanonicalPlaceId: string | null;
|
|
184
|
+
disembarkPortFacilityId: string | null;
|
|
185
|
+
disembarkPortCanonicalPlaceId: string | null;
|
|
185
186
|
cruiseId: string;
|
|
186
|
-
shipId: string;
|
|
187
187
|
departureDate: string;
|
|
188
188
|
returnDate: string;
|
|
189
189
|
direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
|
|
@@ -193,22 +193,22 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
193
193
|
lastSyncedAt: string | null;
|
|
194
194
|
}[] | undefined;
|
|
195
195
|
days?: {
|
|
196
|
+
id: string;
|
|
197
|
+
createdAt: string;
|
|
198
|
+
description: string | null;
|
|
199
|
+
updatedAt: string;
|
|
196
200
|
meals: {
|
|
197
201
|
breakfast?: boolean | undefined;
|
|
198
202
|
lunch?: boolean | undefined;
|
|
199
203
|
dinner?: boolean | undefined;
|
|
200
204
|
} | null;
|
|
201
|
-
id: string;
|
|
202
|
-
description: string | null;
|
|
203
|
-
createdAt: string;
|
|
204
|
-
updatedAt: string;
|
|
205
|
-
title: string | null;
|
|
206
205
|
cruiseId: string;
|
|
207
|
-
|
|
206
|
+
title: string | null;
|
|
207
|
+
departureTime: string | null;
|
|
208
208
|
dayNumber: number;
|
|
209
209
|
portFacilityId: string | null;
|
|
210
|
+
portCanonicalPlaceId: string | null;
|
|
210
211
|
arrivalTime: string | null;
|
|
211
|
-
departureTime: string | null;
|
|
212
212
|
isOvernight: boolean;
|
|
213
213
|
isSeaDay: boolean;
|
|
214
214
|
isExpeditionLanding: boolean;
|
|
@@ -245,34 +245,34 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
245
245
|
connectionId?: string | undefined;
|
|
246
246
|
};
|
|
247
247
|
summary: {
|
|
248
|
-
|
|
248
|
+
source: "external" | "local";
|
|
249
249
|
id: string;
|
|
250
250
|
name: string;
|
|
251
|
+
createdAt: string;
|
|
252
|
+
updatedAt: string;
|
|
251
253
|
slug: string;
|
|
252
254
|
nights: number;
|
|
253
|
-
heroImageUrl: string | null;
|
|
254
255
|
embarkPortCanonicalPlaceId: string | null;
|
|
255
256
|
disembarkPortCanonicalPlaceId: string | null;
|
|
256
257
|
regions: string[] | null;
|
|
258
|
+
themes: string[] | null;
|
|
259
|
+
heroImageUrl: string | null;
|
|
260
|
+
cruiseType: "ocean" | "river" | "expedition" | "coastal";
|
|
261
|
+
regionIds: string[] | null;
|
|
262
|
+
waterwayIds: string[] | null;
|
|
263
|
+
portIds: string[] | null;
|
|
264
|
+
countryIso: string[] | null;
|
|
257
265
|
waterways: string[] | null;
|
|
258
266
|
ports: string[] | null;
|
|
259
267
|
countries: string[] | null;
|
|
260
|
-
|
|
261
|
-
departureCount: number | null;
|
|
262
|
-
source: "local" | "external";
|
|
268
|
+
salesStatus: string | null;
|
|
263
269
|
sourceProvider: string | null;
|
|
264
270
|
sourceRef: {
|
|
265
271
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
266
272
|
connectionId?: string | undefined;
|
|
267
273
|
externalId: string;
|
|
268
274
|
} | null;
|
|
269
|
-
|
|
270
|
-
updatedAt: string;
|
|
271
|
-
regionIds: string[] | null;
|
|
272
|
-
waterwayIds: string[] | null;
|
|
273
|
-
portIds: string[] | null;
|
|
274
|
-
countryIso: string[] | null;
|
|
275
|
-
salesStatus: string | null;
|
|
275
|
+
departureCount: number | null;
|
|
276
276
|
localCruiseId: string | null;
|
|
277
277
|
lineName: string;
|
|
278
278
|
shipName: string;
|
|
@@ -392,18 +392,18 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
392
392
|
source: string;
|
|
393
393
|
sailing: {
|
|
394
394
|
id: string;
|
|
395
|
-
embarkPortFacilityId: string | null;
|
|
396
|
-
embarkPortCanonicalPlaceId: string | null;
|
|
397
|
-
disembarkPortFacilityId: string | null;
|
|
398
|
-
disembarkPortCanonicalPlaceId: string | null;
|
|
399
395
|
createdAt: string;
|
|
400
396
|
updatedAt: string;
|
|
401
397
|
externalRefs: {
|
|
402
398
|
[x: string]: string;
|
|
403
399
|
} | null;
|
|
400
|
+
shipId: string;
|
|
404
401
|
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
402
|
+
embarkPortFacilityId: string | null;
|
|
403
|
+
embarkPortCanonicalPlaceId: string | null;
|
|
404
|
+
disembarkPortFacilityId: string | null;
|
|
405
|
+
disembarkPortCanonicalPlaceId: string | null;
|
|
405
406
|
cruiseId: string;
|
|
406
|
-
shipId: string;
|
|
407
407
|
departureDate: string;
|
|
408
408
|
returnDate: string;
|
|
409
409
|
direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
|
|
@@ -413,26 +413,26 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
413
413
|
lastSyncedAt: string | null;
|
|
414
414
|
prices?: {
|
|
415
415
|
id: string;
|
|
416
|
-
currency: string;
|
|
417
|
-
cabinCategoryId: string;
|
|
418
|
-
occupancy: number;
|
|
419
|
-
sailingId: string;
|
|
420
|
-
fareCode: string | null;
|
|
421
|
-
fareVariant: "cruise_only" | "air_inclusive";
|
|
422
|
-
notes: string | null;
|
|
423
416
|
createdAt: string;
|
|
424
417
|
updatedAt: string;
|
|
418
|
+
currency: string;
|
|
419
|
+
notes: string | null;
|
|
420
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
425
421
|
externalRefs: {
|
|
426
422
|
[x: string]: string;
|
|
427
423
|
} | null;
|
|
428
424
|
lastSyncedAt: string | null;
|
|
425
|
+
sailingId: string;
|
|
426
|
+
cabinCategoryId: string;
|
|
427
|
+
occupancy: number;
|
|
428
|
+
fareCode: string | null;
|
|
429
429
|
fareCodeName: string | null;
|
|
430
|
+
fareVariant: "cruise_only" | "air_inclusive";
|
|
430
431
|
pricePerPerson: string;
|
|
431
432
|
originalPricePerPerson: string | null;
|
|
432
433
|
secondGuestPricePerPerson: string | null;
|
|
433
434
|
singlePricePerPerson: string | null;
|
|
434
435
|
singleSupplementPercent: string | null;
|
|
435
|
-
availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
|
|
436
436
|
availabilityCount: number | null;
|
|
437
437
|
priceCatalogId: string | null;
|
|
438
438
|
priceScheduleId: string | null;
|
|
@@ -442,11 +442,11 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
442
442
|
requiresRequest: boolean;
|
|
443
443
|
}[] | undefined;
|
|
444
444
|
priceComponents?: {
|
|
445
|
-
kind: "insurance" | "tax" | "port_charge" | "gratuity" | "onboard_credit" | "airfare" | "transfer" | "ncf";
|
|
446
445
|
id: string;
|
|
447
|
-
currency: string;
|
|
448
446
|
createdAt: string;
|
|
449
447
|
updatedAt: string;
|
|
448
|
+
currency: string;
|
|
449
|
+
kind: "transfer" | "gratuity" | "onboard_credit" | "port_charge" | "tax" | "ncf" | "airfare" | "insurance";
|
|
450
450
|
direction: "addition" | "inclusion" | "credit";
|
|
451
451
|
priceId: string;
|
|
452
452
|
label: string | null;
|
|
@@ -756,27 +756,25 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
756
756
|
decks: {
|
|
757
757
|
id: string;
|
|
758
758
|
name: string;
|
|
759
|
-
level: number | null;
|
|
760
759
|
createdAt: string;
|
|
761
760
|
updatedAt: string;
|
|
762
761
|
shipId: string;
|
|
762
|
+
level: number | null;
|
|
763
763
|
planImageUrl: string | null;
|
|
764
764
|
}[];
|
|
765
765
|
categories: {
|
|
766
|
-
roomType: "inside" | "oceanview" | "balcony" | "suite" | "penthouse" | "single";
|
|
767
766
|
id: string;
|
|
768
767
|
name: string;
|
|
769
|
-
description: string | null;
|
|
770
|
-
code: string;
|
|
771
|
-
images: string[] | null;
|
|
772
768
|
createdAt: string;
|
|
769
|
+
code: string;
|
|
770
|
+
description: string | null;
|
|
773
771
|
updatedAt: string;
|
|
774
772
|
amenities: string[] | null;
|
|
775
773
|
externalRefs: {
|
|
776
774
|
[x: string]: string;
|
|
777
775
|
} | null;
|
|
778
|
-
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
779
776
|
shipId: string;
|
|
777
|
+
roomType: "single" | "oceanview" | "balcony" | "inside" | "suite" | "penthouse";
|
|
780
778
|
minOccupancy: number;
|
|
781
779
|
maxOccupancy: number;
|
|
782
780
|
squareFeet: string | null;
|
|
@@ -784,22 +782,23 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
784
782
|
featureCodes: string[] | null;
|
|
785
783
|
bedConfigurations: ("single" | "twin" | "double" | "queen" | "king" | "convertible_twins" | "sofa_bed" | "pullman" | "bunk" | "murphy")[] | null;
|
|
786
784
|
accessibilityFeatures: ("wheelchair_accessible" | "step_free_access" | "roll_in_shower" | "grab_bars" | "visual_alarm" | "hearing_loop" | "accessible_balcony" | "accessible_bathroom")[] | null;
|
|
787
|
-
viewType: "
|
|
785
|
+
viewType: "virtual" | "window" | "none" | "interior" | "porthole" | "oceanview" | "river_view" | "balcony" | "french_balcony" | "promenade" | "obstructed" | null;
|
|
786
|
+
images: string[] | null;
|
|
788
787
|
floorplanImages: string[] | null;
|
|
789
788
|
gradeCodes: string[] | null;
|
|
789
|
+
customerPaymentPolicy: import("hono/utils/types").JSONValue;
|
|
790
790
|
}[];
|
|
791
791
|
id: string;
|
|
792
792
|
name: string;
|
|
793
|
+
createdAt: string;
|
|
793
794
|
description: string | null;
|
|
794
|
-
|
|
795
|
+
updatedAt: string;
|
|
795
796
|
slug: string;
|
|
796
797
|
lineSupplierId: string | null;
|
|
797
|
-
createdAt: string;
|
|
798
|
-
updatedAt: string;
|
|
799
|
-
cabinCount: number | null;
|
|
800
798
|
shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
|
|
801
799
|
capacityGuests: number | null;
|
|
802
800
|
capacityCrew: number | null;
|
|
801
|
+
cabinCount: number | null;
|
|
803
802
|
deckCount: number | null;
|
|
804
803
|
lengthMeters: string | null;
|
|
805
804
|
cruisingSpeedKnots: string | null;
|
|
@@ -807,6 +806,7 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
807
806
|
yearRefurbished: number | null;
|
|
808
807
|
imo: string | null;
|
|
809
808
|
deckPlanUrl: string | null;
|
|
809
|
+
gallery: string[] | null;
|
|
810
810
|
amenities: {
|
|
811
811
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
812
812
|
} | null;
|
package/dist/schema-cabins.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const cruiseShips: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
75
75
|
tableName: "cruise_ships";
|
|
76
76
|
dataType: "string";
|
|
77
77
|
columnType: "PgEnumColumn";
|
|
78
|
-
data: "ocean" | "river" | "expedition" | "
|
|
78
|
+
data: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
|
|
79
79
|
driverParam: string;
|
|
80
80
|
notNull: true;
|
|
81
81
|
hasDefault: false;
|
|
@@ -592,7 +592,7 @@ export declare const cruiseCabinCategories: import("drizzle-orm/pg-core").PgTabl
|
|
|
592
592
|
tableName: "cruise_cabin_categories";
|
|
593
593
|
dataType: "string";
|
|
594
594
|
columnType: "PgEnumColumn";
|
|
595
|
-
data: "single" | "
|
|
595
|
+
data: "single" | "oceanview" | "balcony" | "inside" | "suite" | "penthouse";
|
|
596
596
|
driverParam: string;
|
|
597
597
|
notNull: true;
|
|
598
598
|
hasDefault: false;
|
|
@@ -770,7 +770,7 @@ export declare const cruiseCabinCategories: import("drizzle-orm/pg-core").PgTabl
|
|
|
770
770
|
tableName: "cruise_cabin_categories";
|
|
771
771
|
dataType: "string";
|
|
772
772
|
columnType: "PgText";
|
|
773
|
-
data: "virtual" | "
|
|
773
|
+
data: "virtual" | "window" | "none" | "interior" | "porthole" | "oceanview" | "river_view" | "balcony" | "french_balcony" | "promenade" | "obstructed";
|
|
774
774
|
driverParam: string;
|
|
775
775
|
notNull: false;
|
|
776
776
|
hasDefault: false;
|
|
@@ -782,7 +782,7 @@ export declare const cruiseCabinCategories: import("drizzle-orm/pg-core").PgTabl
|
|
|
782
782
|
identity: undefined;
|
|
783
783
|
generated: undefined;
|
|
784
784
|
}, {}, {
|
|
785
|
-
$type: "virtual" | "
|
|
785
|
+
$type: "virtual" | "window" | "none" | "interior" | "porthole" | "oceanview" | "river_view" | "balcony" | "french_balcony" | "promenade" | "obstructed";
|
|
786
786
|
}>;
|
|
787
787
|
images: import("drizzle-orm/pg-core").PgColumn<{
|
|
788
788
|
name: "images";
|
package/dist/schema-content.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare const cruiseMedia: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
58
58
|
tableName: "cruise_media";
|
|
59
59
|
dataType: "string";
|
|
60
60
|
columnType: "PgEnumColumn";
|
|
61
|
-
data: "
|
|
61
|
+
data: "image" | "document" | "video";
|
|
62
62
|
driverParam: string;
|
|
63
63
|
notNull: true;
|
|
64
64
|
hasDefault: false;
|
|
@@ -288,7 +288,7 @@ export declare const cruiseInclusions: import("drizzle-orm/pg-core").PgTableWith
|
|
|
288
288
|
tableName: "cruise_inclusions";
|
|
289
289
|
dataType: "string";
|
|
290
290
|
columnType: "PgEnumColumn";
|
|
291
|
-
data: "other" | "
|
|
291
|
+
data: "other" | "meals" | "drinks" | "gratuities" | "transfers" | "excursions" | "wifi";
|
|
292
292
|
driverParam: string;
|
|
293
293
|
notNull: true;
|
|
294
294
|
hasDefault: false;
|
package/dist/schema-search.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const cruiseSearchIndex: import("drizzle-orm/pg-core").PgTableWit
|
|
|
25
25
|
tableName: "cruise_search_index";
|
|
26
26
|
dataType: "string";
|
|
27
27
|
columnType: "PgEnumColumn";
|
|
28
|
-
data: "
|
|
28
|
+
data: "external" | "local";
|
|
29
29
|
driverParam: string;
|
|
30
30
|
notNull: true;
|
|
31
31
|
hasDefault: false;
|
package/dist/service-core.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const cruiseCoreService: {
|
|
|
23
23
|
themes: string[] | null;
|
|
24
24
|
heroImageUrl: string | null;
|
|
25
25
|
mapImageUrl: string | null;
|
|
26
|
-
status: "
|
|
26
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
27
27
|
lowestPriceCached: string | null;
|
|
28
28
|
lowestPriceCurrencyCached: string | null;
|
|
29
29
|
earliestDepartureCached: string | null;
|
|
@@ -49,7 +49,7 @@ export declare const cruiseCoreService: {
|
|
|
49
49
|
id: string;
|
|
50
50
|
voyageGroupId: string;
|
|
51
51
|
sortOrder: number;
|
|
52
|
-
segmentKind: "
|
|
52
|
+
segmentKind: "other" | "cruise" | "land" | "hotel" | "transfer" | "rail" | "air";
|
|
53
53
|
segmentRole: "core" | "pre_extension" | "post_extension";
|
|
54
54
|
title: string;
|
|
55
55
|
description: string | null;
|
|
@@ -105,7 +105,7 @@ export declare const cruiseCoreService: {
|
|
|
105
105
|
themes: string[] | null;
|
|
106
106
|
heroImageUrl: string | null;
|
|
107
107
|
mapImageUrl: string | null;
|
|
108
|
-
status: "
|
|
108
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
109
109
|
lowestPriceCached: string | null;
|
|
110
110
|
lowestPriceCurrencyCached: string | null;
|
|
111
111
|
earliestDepartureCached: string | null;
|
package/dist/service-prices.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const cruisePriceRowsService: {
|
|
|
17
17
|
secondGuestPricePerPerson: string | null;
|
|
18
18
|
singlePricePerPerson: string | null;
|
|
19
19
|
singleSupplementPercent: string | null;
|
|
20
|
-
availability: "
|
|
20
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
21
21
|
availabilityCount: number | null;
|
|
22
22
|
priceCatalogId: string | null;
|
|
23
23
|
priceScheduleId: string | null;
|
package/dist/service.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const cruisesService: {
|
|
|
21
21
|
secondGuestPricePerPerson: string | null;
|
|
22
22
|
singlePricePerPerson: string | null;
|
|
23
23
|
singleSupplementPercent: string | null;
|
|
24
|
-
availability: "
|
|
24
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
25
25
|
availabilityCount: number | null;
|
|
26
26
|
priceCatalogId: string | null;
|
|
27
27
|
priceScheduleId: string | null;
|
|
@@ -144,7 +144,7 @@ export declare const cruisesService: {
|
|
|
144
144
|
themes: string[] | null;
|
|
145
145
|
heroImageUrl: string | null;
|
|
146
146
|
mapImageUrl: string | null;
|
|
147
|
-
status: "
|
|
147
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
148
148
|
lowestPriceCached: string | null;
|
|
149
149
|
lowestPriceCurrencyCached: string | null;
|
|
150
150
|
earliestDepartureCached: string | null;
|
|
@@ -170,7 +170,7 @@ export declare const cruisesService: {
|
|
|
170
170
|
id: string;
|
|
171
171
|
voyageGroupId: string;
|
|
172
172
|
sortOrder: number;
|
|
173
|
-
segmentKind: "
|
|
173
|
+
segmentKind: "other" | "cruise" | "land" | "hotel" | "transfer" | "rail" | "air";
|
|
174
174
|
segmentRole: "core" | "pre_extension" | "post_extension";
|
|
175
175
|
title: string;
|
|
176
176
|
description: string | null;
|
|
@@ -226,7 +226,7 @@ export declare const cruisesService: {
|
|
|
226
226
|
themes: string[] | null;
|
|
227
227
|
heroImageUrl: string | null;
|
|
228
228
|
mapImageUrl: string | null;
|
|
229
|
-
status: "
|
|
229
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
230
230
|
lowestPriceCached: string | null;
|
|
231
231
|
lowestPriceCurrencyCached: string | null;
|
|
232
232
|
earliestDepartureCached: string | null;
|
|
@@ -24,13 +24,13 @@ export declare const cabinAccessibilityFeatureSchema: z.ZodEnum<{
|
|
|
24
24
|
}>;
|
|
25
25
|
export declare const cabinViewTypeSchema: z.ZodEnum<{
|
|
26
26
|
virtual: "virtual";
|
|
27
|
-
|
|
28
|
-
balcony: "balcony";
|
|
27
|
+
window: "window";
|
|
29
28
|
none: "none";
|
|
30
29
|
interior: "interior";
|
|
31
30
|
porthole: "porthole";
|
|
32
|
-
|
|
31
|
+
oceanview: "oceanview";
|
|
33
32
|
river_view: "river_view";
|
|
33
|
+
balcony: "balcony";
|
|
34
34
|
french_balcony: "french_balcony";
|
|
35
35
|
promenade: "promenade";
|
|
36
36
|
obstructed: "obstructed";
|
|
@@ -43,9 +43,9 @@ export declare const insertShipSchema: z.ZodObject<{
|
|
|
43
43
|
ocean: "ocean";
|
|
44
44
|
river: "river";
|
|
45
45
|
expedition: "expedition";
|
|
46
|
+
coastal: "coastal";
|
|
46
47
|
yacht: "yacht";
|
|
47
48
|
sailing: "sailing";
|
|
48
|
-
coastal: "coastal";
|
|
49
49
|
}>;
|
|
50
50
|
capacityGuests: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
51
51
|
capacityCrew: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -71,9 +71,9 @@ export declare const updateShipSchema: z.ZodObject<{
|
|
|
71
71
|
ocean: "ocean";
|
|
72
72
|
river: "river";
|
|
73
73
|
expedition: "expedition";
|
|
74
|
+
coastal: "coastal";
|
|
74
75
|
yacht: "yacht";
|
|
75
76
|
sailing: "sailing";
|
|
76
|
-
coastal: "coastal";
|
|
77
77
|
}>>;
|
|
78
78
|
capacityGuests: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
79
79
|
capacityCrew: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
@@ -97,9 +97,9 @@ export declare const shipListQuerySchema: z.ZodObject<{
|
|
|
97
97
|
ocean: "ocean";
|
|
98
98
|
river: "river";
|
|
99
99
|
expedition: "expedition";
|
|
100
|
+
coastal: "coastal";
|
|
100
101
|
yacht: "yacht";
|
|
101
102
|
sailing: "sailing";
|
|
102
|
-
coastal: "coastal";
|
|
103
103
|
}>>;
|
|
104
104
|
isActive: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
105
105
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -129,9 +129,9 @@ export declare const insertCabinCategorySchema: z.ZodObject<{
|
|
|
129
129
|
name: z.ZodString;
|
|
130
130
|
roomType: z.ZodEnum<{
|
|
131
131
|
single: "single";
|
|
132
|
-
inside: "inside";
|
|
133
132
|
oceanview: "oceanview";
|
|
134
133
|
balcony: "balcony";
|
|
134
|
+
inside: "inside";
|
|
135
135
|
suite: "suite";
|
|
136
136
|
penthouse: "penthouse";
|
|
137
137
|
}>;
|
|
@@ -166,13 +166,13 @@ export declare const insertCabinCategorySchema: z.ZodObject<{
|
|
|
166
166
|
}>>>;
|
|
167
167
|
viewType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
168
168
|
virtual: "virtual";
|
|
169
|
-
|
|
170
|
-
balcony: "balcony";
|
|
169
|
+
window: "window";
|
|
171
170
|
none: "none";
|
|
172
171
|
interior: "interior";
|
|
173
172
|
porthole: "porthole";
|
|
174
|
-
|
|
173
|
+
oceanview: "oceanview";
|
|
175
174
|
river_view: "river_view";
|
|
175
|
+
balcony: "balcony";
|
|
176
176
|
french_balcony: "french_balcony";
|
|
177
177
|
promenade: "promenade";
|
|
178
178
|
obstructed: "obstructed";
|
|
@@ -188,9 +188,9 @@ export declare const updateCabinCategorySchema: z.ZodObject<{
|
|
|
188
188
|
name: z.ZodOptional<z.ZodString>;
|
|
189
189
|
roomType: z.ZodOptional<z.ZodEnum<{
|
|
190
190
|
single: "single";
|
|
191
|
-
inside: "inside";
|
|
192
191
|
oceanview: "oceanview";
|
|
193
192
|
balcony: "balcony";
|
|
193
|
+
inside: "inside";
|
|
194
194
|
suite: "suite";
|
|
195
195
|
penthouse: "penthouse";
|
|
196
196
|
}>>;
|
|
@@ -225,13 +225,13 @@ export declare const updateCabinCategorySchema: z.ZodObject<{
|
|
|
225
225
|
}>>>>;
|
|
226
226
|
viewType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
227
227
|
virtual: "virtual";
|
|
228
|
-
|
|
229
|
-
balcony: "balcony";
|
|
228
|
+
window: "window";
|
|
230
229
|
none: "none";
|
|
231
230
|
interior: "interior";
|
|
232
231
|
porthole: "porthole";
|
|
233
|
-
|
|
232
|
+
oceanview: "oceanview";
|
|
234
233
|
river_view: "river_view";
|
|
234
|
+
balcony: "balcony";
|
|
235
235
|
french_balcony: "french_balcony";
|
|
236
236
|
promenade: "promenade";
|
|
237
237
|
obstructed: "obstructed";
|
|
@@ -3,8 +3,8 @@ export declare const insertCruiseMediaSchema: z.ZodObject<{
|
|
|
3
3
|
cruiseId: z.ZodString;
|
|
4
4
|
sailingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
5
|
mediaType: z.ZodEnum<{
|
|
6
|
-
document: "document";
|
|
7
6
|
image: "image";
|
|
7
|
+
document: "document";
|
|
8
8
|
video: "video";
|
|
9
9
|
}>;
|
|
10
10
|
name: z.ZodString;
|
|
@@ -20,8 +20,8 @@ export declare const updateCruiseMediaSchema: z.ZodObject<{
|
|
|
20
20
|
cruiseId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
sailingId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
22
22
|
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
document: "document";
|
|
24
23
|
image: "image";
|
|
24
|
+
document: "document";
|
|
25
25
|
video: "video";
|
|
26
26
|
}>>;
|
|
27
27
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -39,11 +39,11 @@ export declare const insertCruiseInclusionSchema: z.ZodObject<{
|
|
|
39
39
|
cruiseId: z.ZodString;
|
|
40
40
|
kind: z.ZodEnum<{
|
|
41
41
|
other: "other";
|
|
42
|
-
excursions: "excursions";
|
|
43
42
|
meals: "meals";
|
|
44
43
|
drinks: "drinks";
|
|
45
44
|
gratuities: "gratuities";
|
|
46
45
|
transfers: "transfers";
|
|
46
|
+
excursions: "excursions";
|
|
47
47
|
wifi: "wifi";
|
|
48
48
|
}>;
|
|
49
49
|
label: z.ZodString;
|
|
@@ -54,11 +54,11 @@ export declare const updateCruiseInclusionSchema: z.ZodObject<{
|
|
|
54
54
|
cruiseId: z.ZodOptional<z.ZodString>;
|
|
55
55
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
56
56
|
other: "other";
|
|
57
|
-
excursions: "excursions";
|
|
58
57
|
meals: "meals";
|
|
59
58
|
drinks: "drinks";
|
|
60
59
|
gratuities: "gratuities";
|
|
61
60
|
transfers: "transfers";
|
|
61
|
+
excursions: "excursions";
|
|
62
62
|
wifi: "wifi";
|
|
63
63
|
}>>;
|
|
64
64
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -104,8 +104,6 @@ export declare const replaceEnrichmentProgramsSchema: z.ZodObject<{
|
|
|
104
104
|
programs: z.ZodArray<z.ZodObject<{
|
|
105
105
|
name: z.ZodString;
|
|
106
106
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
107
|
-
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
108
|
-
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
107
|
kind: z.ZodEnum<{
|
|
110
108
|
other: "other";
|
|
111
109
|
naturalist: "naturalist";
|
|
@@ -114,6 +112,8 @@ export declare const replaceEnrichmentProgramsSchema: z.ZodObject<{
|
|
|
114
112
|
lecturer: "lecturer";
|
|
115
113
|
expert: "expert";
|
|
116
114
|
}>;
|
|
115
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
116
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
117
117
|
bioImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
}, z.core.$strip>;
|
|
@@ -39,20 +39,20 @@ export declare const replaceCruiseDaysSchema: z.ZodObject<{
|
|
|
39
39
|
cruiseId: z.ZodString;
|
|
40
40
|
days: z.ZodArray<z.ZodObject<{
|
|
41
41
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
meals: z.ZodDefault<z.ZodObject<{
|
|
43
|
+
breakfast: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
lunch: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
dinner: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
42
47
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
49
|
dayNumber: z.ZodNumber;
|
|
44
50
|
portFacilityId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
45
51
|
portCanonicalPlaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
46
52
|
arrivalTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
47
|
-
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
48
53
|
isOvernight: z.ZodDefault<z.ZodBoolean>;
|
|
49
54
|
isSeaDay: z.ZodDefault<z.ZodBoolean>;
|
|
50
55
|
isExpeditionLanding: z.ZodDefault<z.ZodBoolean>;
|
|
51
|
-
meals: z.ZodDefault<z.ZodObject<{
|
|
52
|
-
breakfast: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
lunch: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
dinner: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
-
}, z.core.$strip>>;
|
|
56
56
|
}, z.core.$strip>>;
|
|
57
57
|
}, z.core.$strip>;
|
|
58
58
|
export type InsertCruiseDay = z.infer<typeof insertCruiseDaySchema>;
|
|
@@ -100,20 +100,20 @@ export declare const replaceSailingDaysSchema: z.ZodObject<{
|
|
|
100
100
|
sailingId: z.ZodString;
|
|
101
101
|
days: z.ZodArray<z.ZodObject<{
|
|
102
102
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
103
|
+
meals: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
104
|
+
breakfast: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
lunch: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
dinner: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
103
108
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
|
+
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
104
110
|
dayNumber: z.ZodNumber;
|
|
105
111
|
portFacilityId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
106
112
|
portCanonicalPlaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
107
113
|
arrivalTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
108
|
-
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
114
|
isOvernight: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
110
115
|
isSeaDay: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
111
116
|
isExpeditionLanding: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
112
|
-
meals: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
113
|
-
breakfast: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
-
lunch: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
-
dinner: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
}, z.core.$strip>>>;
|
|
117
117
|
isSkipped: z.ZodDefault<z.ZodBoolean>;
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
}, z.core.$strip>;
|
|
@@ -42,15 +42,15 @@ export declare const shipTypeSchema: z.ZodEnum<{
|
|
|
42
42
|
ocean: "ocean";
|
|
43
43
|
river: "river";
|
|
44
44
|
expedition: "expedition";
|
|
45
|
+
coastal: "coastal";
|
|
45
46
|
yacht: "yacht";
|
|
46
47
|
sailing: "sailing";
|
|
47
|
-
coastal: "coastal";
|
|
48
48
|
}>;
|
|
49
49
|
export declare const cabinRoomTypeSchema: z.ZodEnum<{
|
|
50
50
|
single: "single";
|
|
51
|
-
inside: "inside";
|
|
52
51
|
oceanview: "oceanview";
|
|
53
52
|
balcony: "balcony";
|
|
53
|
+
inside: "inside";
|
|
54
54
|
suite: "suite";
|
|
55
55
|
penthouse: "penthouse";
|
|
56
56
|
}>;
|
|
@@ -88,17 +88,17 @@ export declare const priceComponentDirectionSchema: z.ZodEnum<{
|
|
|
88
88
|
credit: "credit";
|
|
89
89
|
}>;
|
|
90
90
|
export declare const cruiseMediaTypeSchema: z.ZodEnum<{
|
|
91
|
-
document: "document";
|
|
92
91
|
image: "image";
|
|
92
|
+
document: "document";
|
|
93
93
|
video: "video";
|
|
94
94
|
}>;
|
|
95
95
|
export declare const cruiseInclusionKindSchema: z.ZodEnum<{
|
|
96
96
|
other: "other";
|
|
97
|
-
excursions: "excursions";
|
|
98
97
|
meals: "meals";
|
|
99
98
|
drinks: "drinks";
|
|
100
99
|
gratuities: "gratuities";
|
|
101
100
|
transfers: "transfers";
|
|
101
|
+
excursions: "excursions";
|
|
102
102
|
wifi: "wifi";
|
|
103
103
|
}>;
|
|
104
104
|
export declare const enrichmentProgramKindSchema: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/cruises",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.119.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -104,18 +104,18 @@
|
|
|
104
104
|
"drizzle-orm": "^0.45.2",
|
|
105
105
|
"hono": "^4.12.10",
|
|
106
106
|
"zod": "^4.3.6",
|
|
107
|
-
"@voyant-travel/bookings": "^0.
|
|
107
|
+
"@voyant-travel/bookings": "^0.120.0",
|
|
108
108
|
"@voyant-travel/core": "^0.109.0",
|
|
109
109
|
"@voyant-travel/db": "^0.108.0",
|
|
110
|
-
"@voyant-travel/
|
|
111
|
-
"@voyant-travel/
|
|
112
|
-
"@voyant-travel/
|
|
110
|
+
"@voyant-travel/hono": "^0.110.0",
|
|
111
|
+
"@voyant-travel/catalog": "^0.118.0",
|
|
112
|
+
"@voyant-travel/cruises-contracts": "^0.105.2"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"typescript": "^6.0.2",
|
|
116
116
|
"vitest": "^4.0.0",
|
|
117
|
-
"@voyant-travel/voyant-
|
|
118
|
-
"@voyant-travel/voyant-
|
|
117
|
+
"@voyant-travel/voyant-test-utils": "^0.1.0",
|
|
118
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
119
119
|
},
|
|
120
120
|
"files": [
|
|
121
121
|
"dist"
|