@voyantjs/booking-requirements 0.6.7 → 0.6.9
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/routes-public.d.ts +3 -3
- package/dist/routes.d.ts +20 -20
- package/dist/schema.d.ts +13 -13
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +30 -14
- package/dist/service-answers.d.ts +8 -8
- package/dist/service-answers.js +2 -2
- package/dist/service-public.d.ts +3 -3
- package/dist/service-public.js +2 -2
- package/dist/service-questions.d.ts +12 -12
- package/dist/validation.d.ts +26 -26
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +9 -9
- package/package.json +7 -7
package/dist/routes-public.d.ts
CHANGED
|
@@ -37,14 +37,14 @@ export declare const publicBookingRequirementsRoutes: import("hono/hono-base").H
|
|
|
37
37
|
fieldsByScope: {
|
|
38
38
|
booking: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
39
39
|
lead_traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
40
|
-
|
|
40
|
+
traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
41
41
|
booker: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
42
42
|
};
|
|
43
43
|
requirements: {
|
|
44
44
|
fieldKey: "nationality" | "date_of_birth" | "passport_number" | "passport_expiry";
|
|
45
|
-
scope: "booking" | "lead_traveler" | "
|
|
45
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
46
46
|
isRequired: boolean;
|
|
47
|
-
|
|
47
|
+
perTraveler: boolean;
|
|
48
48
|
notes: string | null;
|
|
49
49
|
}[];
|
|
50
50
|
};
|
package/dist/routes.d.ts
CHANGED
|
@@ -15,9 +15,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
15
15
|
productId: string;
|
|
16
16
|
optionId: string | null;
|
|
17
17
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
18
|
-
scope: "booking" | "lead_traveler" | "
|
|
18
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
19
19
|
isRequired: boolean;
|
|
20
|
-
|
|
20
|
+
perTraveler: boolean;
|
|
21
21
|
active: boolean;
|
|
22
22
|
sortOrder: number;
|
|
23
23
|
notes: string | null;
|
|
@@ -41,13 +41,13 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
41
41
|
id: string;
|
|
42
42
|
createdAt: string;
|
|
43
43
|
updatedAt: string;
|
|
44
|
-
scope: "booking" | "lead_traveler" | "
|
|
44
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
45
45
|
notes: string | null;
|
|
46
46
|
productId: string;
|
|
47
47
|
optionId: string | null;
|
|
48
48
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
49
49
|
isRequired: boolean;
|
|
50
|
-
|
|
50
|
+
perTraveler: boolean;
|
|
51
51
|
active: boolean;
|
|
52
52
|
sortOrder: number;
|
|
53
53
|
} | null;
|
|
@@ -81,9 +81,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
81
81
|
productId: string;
|
|
82
82
|
optionId: string | null;
|
|
83
83
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
84
|
-
scope: "booking" | "lead_traveler" | "
|
|
84
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
85
85
|
isRequired: boolean;
|
|
86
|
-
|
|
86
|
+
perTraveler: boolean;
|
|
87
87
|
active: boolean;
|
|
88
88
|
sortOrder: number;
|
|
89
89
|
notes: string | null;
|
|
@@ -120,9 +120,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
120
120
|
productId: string;
|
|
121
121
|
optionId: string | null;
|
|
122
122
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
123
|
-
scope: "booking" | "lead_traveler" | "
|
|
123
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
124
124
|
isRequired: boolean;
|
|
125
|
-
|
|
125
|
+
perTraveler: boolean;
|
|
126
126
|
active: boolean;
|
|
127
127
|
sortOrder: number;
|
|
128
128
|
notes: string | null;
|
|
@@ -171,7 +171,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
171
171
|
code: string | null;
|
|
172
172
|
label: string;
|
|
173
173
|
description: string | null;
|
|
174
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
174
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
175
175
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
176
176
|
placeholder: string | null;
|
|
177
177
|
helpText: string | null;
|
|
@@ -211,7 +211,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
211
211
|
active: boolean;
|
|
212
212
|
sortOrder: number;
|
|
213
213
|
label: string;
|
|
214
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
214
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
215
215
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
216
216
|
placeholder: string | null;
|
|
217
217
|
helpText: string | null;
|
|
@@ -247,7 +247,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
247
247
|
code: string | null;
|
|
248
248
|
label: string;
|
|
249
249
|
description: string | null;
|
|
250
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
250
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
251
251
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
252
252
|
placeholder: string | null;
|
|
253
253
|
helpText: string | null;
|
|
@@ -291,7 +291,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
291
291
|
code: string | null;
|
|
292
292
|
label: string;
|
|
293
293
|
description: string | null;
|
|
294
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
294
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
295
295
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
296
296
|
placeholder: string | null;
|
|
297
297
|
helpText: string | null;
|
|
@@ -1047,9 +1047,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
1047
1047
|
id: string;
|
|
1048
1048
|
bookingId: string;
|
|
1049
1049
|
productBookingQuestionId: string;
|
|
1050
|
-
|
|
1050
|
+
bookingTravelerId: string | null;
|
|
1051
1051
|
bookingExtraId: string | null;
|
|
1052
|
-
target: "booking" | "
|
|
1052
|
+
target: "booking" | "traveler" | "extra";
|
|
1053
1053
|
valueText: string | null;
|
|
1054
1054
|
valueNumber: number | null;
|
|
1055
1055
|
valueBoolean: boolean | null;
|
|
@@ -1078,10 +1078,10 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
1078
1078
|
createdAt: string;
|
|
1079
1079
|
updatedAt: string;
|
|
1080
1080
|
notes: string | null;
|
|
1081
|
-
target: "booking" | "
|
|
1081
|
+
target: "booking" | "traveler" | "extra";
|
|
1082
1082
|
productBookingQuestionId: string;
|
|
1083
1083
|
bookingId: string;
|
|
1084
|
-
|
|
1084
|
+
bookingTravelerId: string | null;
|
|
1085
1085
|
bookingExtraId: string | null;
|
|
1086
1086
|
valueText: string | null;
|
|
1087
1087
|
valueNumber: number | null;
|
|
@@ -1119,9 +1119,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
1119
1119
|
id: string;
|
|
1120
1120
|
bookingId: string;
|
|
1121
1121
|
productBookingQuestionId: string;
|
|
1122
|
-
|
|
1122
|
+
bookingTravelerId: string | null;
|
|
1123
1123
|
bookingExtraId: string | null;
|
|
1124
|
-
target: "booking" | "
|
|
1124
|
+
target: "booking" | "traveler" | "extra";
|
|
1125
1125
|
valueText: string | null;
|
|
1126
1126
|
valueNumber: number | null;
|
|
1127
1127
|
valueBoolean: boolean | null;
|
|
@@ -1161,9 +1161,9 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
|
|
|
1161
1161
|
id: string;
|
|
1162
1162
|
bookingId: string;
|
|
1163
1163
|
productBookingQuestionId: string;
|
|
1164
|
-
|
|
1164
|
+
bookingTravelerId: string | null;
|
|
1165
1165
|
bookingExtraId: string | null;
|
|
1166
|
-
target: "booking" | "
|
|
1166
|
+
target: "booking" | "traveler" | "extra";
|
|
1167
1167
|
valueText: string | null;
|
|
1168
1168
|
valueNumber: number | null;
|
|
1169
1169
|
valueBoolean: boolean | null;
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const contactRequirementFieldEnum: import("drizzle-orm/pg-core").PgEnum<["first_name", "last_name", "email", "phone", "date_of_birth", "nationality", "passport_number", "passport_expiry", "dietary_requirements", "accessibility_needs", "special_requests", "address", "other"]>;
|
|
2
|
-
export declare const contactRequirementScopeEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "lead_traveler", "
|
|
3
|
-
export declare const bookingQuestionTargetEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "
|
|
2
|
+
export declare const contactRequirementScopeEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "lead_traveler", "traveler", "booker"]>;
|
|
3
|
+
export declare const bookingQuestionTargetEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "traveler", "lead_traveler", "booker", "extra", "service"]>;
|
|
4
4
|
export declare const bookingQuestionFieldTypeEnum: import("drizzle-orm/pg-core").PgEnum<["text", "textarea", "number", "email", "phone", "date", "datetime", "boolean", "single_select", "multi_select", "file", "country", "other"]>;
|
|
5
5
|
export declare const bookingQuestionTriggerModeEnum: import("drizzle-orm/pg-core").PgEnum<["required", "optional", "hidden"]>;
|
|
6
|
-
export declare const bookingAnswerTargetEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "
|
|
6
|
+
export declare const bookingAnswerTargetEnum: import("drizzle-orm/pg-core").PgEnum<["booking", "traveler", "extra"]>;
|
|
7
7
|
export declare const productContactRequirements: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
8
8
|
name: "product_contact_requirements";
|
|
9
9
|
schema: undefined;
|
|
@@ -81,14 +81,14 @@ export declare const productContactRequirements: import("drizzle-orm/pg-core").P
|
|
|
81
81
|
tableName: "product_contact_requirements";
|
|
82
82
|
dataType: "string";
|
|
83
83
|
columnType: "PgEnumColumn";
|
|
84
|
-
data: "booking" | "lead_traveler" | "
|
|
84
|
+
data: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
85
85
|
driverParam: string;
|
|
86
86
|
notNull: true;
|
|
87
87
|
hasDefault: true;
|
|
88
88
|
isPrimaryKey: false;
|
|
89
89
|
isAutoincrement: false;
|
|
90
90
|
hasRuntimeDefault: false;
|
|
91
|
-
enumValues: ["booking", "lead_traveler", "
|
|
91
|
+
enumValues: ["booking", "lead_traveler", "traveler", "booker"];
|
|
92
92
|
baseColumn: never;
|
|
93
93
|
identity: undefined;
|
|
94
94
|
generated: undefined;
|
|
@@ -110,8 +110,8 @@ export declare const productContactRequirements: import("drizzle-orm/pg-core").P
|
|
|
110
110
|
identity: undefined;
|
|
111
111
|
generated: undefined;
|
|
112
112
|
}, {}, {}>;
|
|
113
|
-
|
|
114
|
-
name: "
|
|
113
|
+
perTraveler: import("drizzle-orm/pg-core").PgColumn<{
|
|
114
|
+
name: "per_traveler";
|
|
115
115
|
tableName: "product_contact_requirements";
|
|
116
116
|
dataType: "boolean";
|
|
117
117
|
columnType: "PgBoolean";
|
|
@@ -309,14 +309,14 @@ export declare const productBookingQuestions: import("drizzle-orm/pg-core").PgTa
|
|
|
309
309
|
tableName: "product_booking_questions";
|
|
310
310
|
dataType: "string";
|
|
311
311
|
columnType: "PgEnumColumn";
|
|
312
|
-
data: "service" | "booking" | "lead_traveler" | "
|
|
312
|
+
data: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
313
313
|
driverParam: string;
|
|
314
314
|
notNull: true;
|
|
315
315
|
hasDefault: true;
|
|
316
316
|
isPrimaryKey: false;
|
|
317
317
|
isAutoincrement: false;
|
|
318
318
|
hasRuntimeDefault: false;
|
|
319
|
-
enumValues: ["booking", "
|
|
319
|
+
enumValues: ["booking", "traveler", "lead_traveler", "booker", "extra", "service"];
|
|
320
320
|
baseColumn: never;
|
|
321
321
|
identity: undefined;
|
|
322
322
|
generated: undefined;
|
|
@@ -1283,8 +1283,8 @@ export declare const bookingAnswers: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
1283
1283
|
identity: undefined;
|
|
1284
1284
|
generated: undefined;
|
|
1285
1285
|
}, {}, {}>;
|
|
1286
|
-
|
|
1287
|
-
name: "
|
|
1286
|
+
bookingTravelerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
1287
|
+
name: "booking_traveler_id";
|
|
1288
1288
|
tableName: "booking_answers";
|
|
1289
1289
|
dataType: "string";
|
|
1290
1290
|
columnType: "PgText";
|
|
@@ -1322,14 +1322,14 @@ export declare const bookingAnswers: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
1322
1322
|
tableName: "booking_answers";
|
|
1323
1323
|
dataType: "string";
|
|
1324
1324
|
columnType: "PgEnumColumn";
|
|
1325
|
-
data: "booking" | "
|
|
1325
|
+
data: "booking" | "traveler" | "extra";
|
|
1326
1326
|
driverParam: string;
|
|
1327
1327
|
notNull: true;
|
|
1328
1328
|
hasDefault: true;
|
|
1329
1329
|
isPrimaryKey: false;
|
|
1330
1330
|
isAutoincrement: false;
|
|
1331
1331
|
hasRuntimeDefault: false;
|
|
1332
|
-
enumValues: ["booking", "
|
|
1332
|
+
enumValues: ["booking", "traveler", "extra"];
|
|
1333
1333
|
baseColumn: never;
|
|
1334
1334
|
identity: undefined;
|
|
1335
1335
|
generated: undefined;
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,2BAA2B,kPActC,CAAA;AAEF,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"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"}
|
package/dist/schema.js
CHANGED
|
@@ -19,12 +19,12 @@ export const contactRequirementFieldEnum = pgEnum("contact_requirement_field", [
|
|
|
19
19
|
export const contactRequirementScopeEnum = pgEnum("contact_requirement_scope", [
|
|
20
20
|
"booking",
|
|
21
21
|
"lead_traveler",
|
|
22
|
-
"
|
|
22
|
+
"traveler",
|
|
23
23
|
"booker",
|
|
24
24
|
]);
|
|
25
25
|
export const bookingQuestionTargetEnum = pgEnum("booking_question_target", [
|
|
26
26
|
"booking",
|
|
27
|
-
"
|
|
27
|
+
"traveler",
|
|
28
28
|
"lead_traveler",
|
|
29
29
|
"booker",
|
|
30
30
|
"extra",
|
|
@@ -52,7 +52,7 @@ export const bookingQuestionTriggerModeEnum = pgEnum("booking_question_trigger_m
|
|
|
52
52
|
]);
|
|
53
53
|
export const bookingAnswerTargetEnum = pgEnum("booking_answer_target", [
|
|
54
54
|
"booking",
|
|
55
|
-
"
|
|
55
|
+
"traveler",
|
|
56
56
|
"extra",
|
|
57
57
|
]);
|
|
58
58
|
export const productContactRequirements = pgTable("product_contact_requirements", {
|
|
@@ -60,17 +60,19 @@ export const productContactRequirements = pgTable("product_contact_requirements"
|
|
|
60
60
|
productId: text("product_id").notNull(),
|
|
61
61
|
optionId: text("option_id"),
|
|
62
62
|
fieldKey: contactRequirementFieldEnum("field_key").notNull(),
|
|
63
|
-
scope: contactRequirementScopeEnum("scope").notNull().default("
|
|
63
|
+
scope: contactRequirementScopeEnum("scope").notNull().default("traveler"),
|
|
64
64
|
isRequired: boolean("is_required").notNull().default(false),
|
|
65
|
-
|
|
65
|
+
perTraveler: boolean("per_traveler").notNull().default(false),
|
|
66
66
|
active: boolean("active").notNull().default(true),
|
|
67
67
|
sortOrder: integer("sort_order").notNull().default(0),
|
|
68
68
|
notes: text("notes"),
|
|
69
69
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
70
70
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
71
71
|
}, (table) => [
|
|
72
|
+
index("idx_product_contact_requirements_sort").on(table.sortOrder),
|
|
72
73
|
index("idx_product_contact_requirements_product_sort").on(table.productId, table.sortOrder),
|
|
73
74
|
index("idx_product_contact_requirements_option_sort").on(table.optionId, table.sortOrder),
|
|
75
|
+
index("idx_product_contact_requirements_active_sort").on(table.active, table.sortOrder),
|
|
74
76
|
uniqueIndex("uidx_product_contact_requirements_scope_field").on(table.productId, table.optionId, table.scope, table.fieldKey),
|
|
75
77
|
]);
|
|
76
78
|
export const productBookingQuestions = pgTable("product_booking_questions", {
|
|
@@ -90,8 +92,11 @@ export const productBookingQuestions = pgTable("product_booking_questions", {
|
|
|
90
92
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
91
93
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
92
94
|
}, (table) => [
|
|
95
|
+
index("idx_product_booking_questions_sort").on(table.sortOrder),
|
|
93
96
|
index("idx_product_booking_questions_product_sort").on(table.productId, table.sortOrder),
|
|
94
|
-
index("
|
|
97
|
+
index("idx_product_booking_questions_target_sort").on(table.target, table.sortOrder),
|
|
98
|
+
index("idx_product_booking_questions_field_type_sort").on(table.fieldType, table.sortOrder),
|
|
99
|
+
index("idx_product_booking_questions_active_sort").on(table.active, table.sortOrder),
|
|
95
100
|
uniqueIndex("uidx_product_booking_questions_product_code").on(table.productId, table.code),
|
|
96
101
|
]);
|
|
97
102
|
export const optionBookingQuestions = pgTable("option_booking_questions", {
|
|
@@ -107,8 +112,10 @@ export const optionBookingQuestions = pgTable("option_booking_questions", {
|
|
|
107
112
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
108
113
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
109
114
|
}, (table) => [
|
|
115
|
+
index("idx_option_booking_questions_sort").on(table.sortOrder),
|
|
110
116
|
index("idx_option_booking_questions_option_sort").on(table.optionId, table.sortOrder),
|
|
111
|
-
index("
|
|
117
|
+
index("idx_option_booking_questions_question_sort").on(table.productBookingQuestionId, table.sortOrder),
|
|
118
|
+
index("idx_option_booking_questions_active_sort").on(table.active, table.sortOrder),
|
|
112
119
|
uniqueIndex("uidx_option_booking_questions_option_question").on(table.optionId, table.productBookingQuestionId),
|
|
113
120
|
]);
|
|
114
121
|
export const bookingQuestionOptions = pgTable("booking_question_options", {
|
|
@@ -124,7 +131,9 @@ export const bookingQuestionOptions = pgTable("booking_question_options", {
|
|
|
124
131
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
125
132
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
126
133
|
}, (table) => [
|
|
134
|
+
index("idx_booking_question_options_sort").on(table.sortOrder),
|
|
127
135
|
index("idx_booking_question_options_question_sort").on(table.productBookingQuestionId, table.sortOrder),
|
|
136
|
+
index("idx_booking_question_options_active_sort").on(table.active, table.sortOrder),
|
|
128
137
|
uniqueIndex("uidx_booking_question_options_question_value").on(table.productBookingQuestionId, table.value),
|
|
129
138
|
]);
|
|
130
139
|
export const bookingQuestionUnitTriggers = pgTable("booking_question_unit_triggers", {
|
|
@@ -139,8 +148,10 @@ export const bookingQuestionUnitTriggers = pgTable("booking_question_unit_trigge
|
|
|
139
148
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
140
149
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
141
150
|
}, (table) => [
|
|
151
|
+
index("idx_booking_question_unit_triggers_created").on(table.createdAt),
|
|
142
152
|
index("idx_booking_question_unit_triggers_question_created").on(table.productBookingQuestionId, table.createdAt),
|
|
143
|
-
index("
|
|
153
|
+
index("idx_booking_question_unit_triggers_unit_created").on(table.unitId, table.createdAt),
|
|
154
|
+
index("idx_booking_question_unit_triggers_active_created").on(table.active, table.createdAt),
|
|
144
155
|
uniqueIndex("uidx_booking_question_unit_triggers_question_unit").on(table.productBookingQuestionId, table.unitId),
|
|
145
156
|
]);
|
|
146
157
|
export const bookingQuestionOptionTriggers = pgTable("booking_question_option_triggers", {
|
|
@@ -154,8 +165,10 @@ export const bookingQuestionOptionTriggers = pgTable("booking_question_option_tr
|
|
|
154
165
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
155
166
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
156
167
|
}, (table) => [
|
|
168
|
+
index("idx_booking_question_option_triggers_created").on(table.createdAt),
|
|
157
169
|
index("idx_booking_question_option_triggers_question_created").on(table.productBookingQuestionId, table.createdAt),
|
|
158
|
-
index("
|
|
170
|
+
index("idx_booking_question_option_triggers_option_created").on(table.optionId, table.createdAt),
|
|
171
|
+
index("idx_booking_question_option_triggers_active_created").on(table.active, table.createdAt),
|
|
159
172
|
uniqueIndex("uidx_booking_question_option_triggers_question_option").on(table.productBookingQuestionId, table.optionId),
|
|
160
173
|
]);
|
|
161
174
|
export const bookingQuestionExtraTriggers = pgTable("booking_question_extra_triggers", {
|
|
@@ -171,9 +184,11 @@ export const bookingQuestionExtraTriggers = pgTable("booking_question_extra_trig
|
|
|
171
184
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
172
185
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
173
186
|
}, (table) => [
|
|
187
|
+
index("idx_booking_question_extra_triggers_created").on(table.createdAt),
|
|
174
188
|
index("idx_booking_question_extra_triggers_question_created").on(table.productBookingQuestionId, table.createdAt),
|
|
175
|
-
index("
|
|
176
|
-
index("
|
|
189
|
+
index("idx_booking_question_extra_triggers_product_extra_created").on(table.productExtraId, table.createdAt),
|
|
190
|
+
index("idx_booking_question_extra_triggers_option_extra_config_created").on(table.optionExtraConfigId, table.createdAt),
|
|
191
|
+
index("idx_booking_question_extra_triggers_active_created").on(table.active, table.createdAt),
|
|
177
192
|
]);
|
|
178
193
|
export const bookingAnswers = pgTable("booking_answers", {
|
|
179
194
|
id: typeId("booking_answers"),
|
|
@@ -181,7 +196,7 @@ export const bookingAnswers = pgTable("booking_answers", {
|
|
|
181
196
|
productBookingQuestionId: typeIdRef("product_booking_question_id")
|
|
182
197
|
.notNull()
|
|
183
198
|
.references(() => productBookingQuestions.id, { onDelete: "cascade" }),
|
|
184
|
-
|
|
199
|
+
bookingTravelerId: text("booking_traveler_id"),
|
|
185
200
|
bookingExtraId: text("booking_extra_id"),
|
|
186
201
|
target: bookingAnswerTargetEnum("target").notNull().default("booking"),
|
|
187
202
|
valueText: text("value_text"),
|
|
@@ -193,9 +208,10 @@ export const bookingAnswers = pgTable("booking_answers", {
|
|
|
193
208
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
194
209
|
}, (table) => [
|
|
195
210
|
index("idx_booking_answers_booking_updated").on(table.bookingId, table.updatedAt),
|
|
196
|
-
index("
|
|
197
|
-
index("
|
|
211
|
+
index("idx_booking_answers_question_updated").on(table.productBookingQuestionId, table.updatedAt),
|
|
212
|
+
index("idx_booking_answers_traveler_updated").on(table.bookingTravelerId, table.updatedAt),
|
|
198
213
|
index("idx_booking_answers_booking_extra_updated").on(table.bookingExtraId, table.updatedAt),
|
|
214
|
+
index("idx_booking_answers_target_updated").on(table.target, table.updatedAt),
|
|
199
215
|
]);
|
|
200
216
|
export const productContactRequirementsRelations = relations(productContactRequirements, () => ({}));
|
|
201
217
|
export const productBookingQuestionsRelations = relations(productBookingQuestions, ({ many }) => ({
|
|
@@ -5,9 +5,9 @@ export declare function listBookingAnswers(db: PostgresJsDatabase, query: Bookin
|
|
|
5
5
|
id: string;
|
|
6
6
|
bookingId: string;
|
|
7
7
|
productBookingQuestionId: string;
|
|
8
|
-
|
|
8
|
+
bookingTravelerId: string | null;
|
|
9
9
|
bookingExtraId: string | null;
|
|
10
|
-
target: "booking" | "
|
|
10
|
+
target: "booking" | "traveler" | "extra";
|
|
11
11
|
valueText: string | null;
|
|
12
12
|
valueNumber: number | null;
|
|
13
13
|
valueBoolean: boolean | null;
|
|
@@ -24,9 +24,9 @@ export declare function getBookingAnswerById(db: PostgresJsDatabase, id: string)
|
|
|
24
24
|
id: string;
|
|
25
25
|
bookingId: string;
|
|
26
26
|
productBookingQuestionId: string;
|
|
27
|
-
|
|
27
|
+
bookingTravelerId: string | null;
|
|
28
28
|
bookingExtraId: string | null;
|
|
29
|
-
target: "booking" | "
|
|
29
|
+
target: "booking" | "traveler" | "extra";
|
|
30
30
|
valueText: string | null;
|
|
31
31
|
valueNumber: number | null;
|
|
32
32
|
valueBoolean: boolean | null;
|
|
@@ -40,10 +40,10 @@ export declare function createBookingAnswer(db: PostgresJsDatabase, data: Create
|
|
|
40
40
|
createdAt: Date;
|
|
41
41
|
updatedAt: Date;
|
|
42
42
|
notes: string | null;
|
|
43
|
-
target: "booking" | "
|
|
43
|
+
target: "booking" | "traveler" | "extra";
|
|
44
44
|
productBookingQuestionId: string;
|
|
45
45
|
bookingId: string;
|
|
46
|
-
|
|
46
|
+
bookingTravelerId: string | null;
|
|
47
47
|
bookingExtraId: string | null;
|
|
48
48
|
valueText: string | null;
|
|
49
49
|
valueNumber: number | null;
|
|
@@ -54,9 +54,9 @@ export declare function updateBookingAnswer(db: PostgresJsDatabase, id: string,
|
|
|
54
54
|
id: string;
|
|
55
55
|
bookingId: string;
|
|
56
56
|
productBookingQuestionId: string;
|
|
57
|
-
|
|
57
|
+
bookingTravelerId: string | null;
|
|
58
58
|
bookingExtraId: string | null;
|
|
59
|
-
target: "booking" | "
|
|
59
|
+
target: "booking" | "traveler" | "extra";
|
|
60
60
|
valueText: string | null;
|
|
61
61
|
valueNumber: number | null;
|
|
62
62
|
valueBoolean: boolean | null;
|
package/dist/service-answers.js
CHANGED
|
@@ -7,8 +7,8 @@ export async function listBookingAnswers(db, query) {
|
|
|
7
7
|
conditions.push(eq(bookingAnswers.bookingId, query.bookingId));
|
|
8
8
|
if (query.productBookingQuestionId)
|
|
9
9
|
conditions.push(eq(bookingAnswers.productBookingQuestionId, query.productBookingQuestionId));
|
|
10
|
-
if (query.
|
|
11
|
-
conditions.push(eq(bookingAnswers.
|
|
10
|
+
if (query.bookingTravelerId)
|
|
11
|
+
conditions.push(eq(bookingAnswers.bookingTravelerId, query.bookingTravelerId));
|
|
12
12
|
if (query.bookingExtraId)
|
|
13
13
|
conditions.push(eq(bookingAnswers.bookingExtraId, query.bookingExtraId));
|
|
14
14
|
if (query.target)
|
package/dist/service-public.d.ts
CHANGED
|
@@ -14,14 +14,14 @@ export declare function getPublicTransportRequirements(db: PostgresJsDatabase, p
|
|
|
14
14
|
fieldsByScope: {
|
|
15
15
|
booking: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
16
16
|
lead_traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
17
|
-
|
|
17
|
+
traveler: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
18
18
|
booker: ("nationality" | "date_of_birth" | "passport_number" | "passport_expiry")[];
|
|
19
19
|
};
|
|
20
20
|
requirements: {
|
|
21
21
|
fieldKey: TransportFieldKey;
|
|
22
|
-
scope: "booking" | "lead_traveler" | "
|
|
22
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
23
23
|
isRequired: boolean;
|
|
24
|
-
|
|
24
|
+
perTraveler: boolean;
|
|
25
25
|
notes: string | null;
|
|
26
26
|
}[];
|
|
27
27
|
} | null>;
|
package/dist/service-public.js
CHANGED
|
@@ -52,14 +52,14 @@ export async function getPublicTransportRequirements(db, productId, query) {
|
|
|
52
52
|
fieldsByScope: {
|
|
53
53
|
booking: summarizeFields(relevantRows, "booking"),
|
|
54
54
|
lead_traveler: summarizeFields(relevantRows, "lead_traveler"),
|
|
55
|
-
|
|
55
|
+
traveler: summarizeFields(relevantRows, "traveler"),
|
|
56
56
|
booker: summarizeFields(relevantRows, "booker"),
|
|
57
57
|
},
|
|
58
58
|
requirements: relevantRows.map((row) => ({
|
|
59
59
|
fieldKey: row.fieldKey,
|
|
60
60
|
scope: row.scope,
|
|
61
61
|
isRequired: row.isRequired,
|
|
62
|
-
|
|
62
|
+
perTraveler: row.perTraveler,
|
|
63
63
|
notes: row.notes ?? null,
|
|
64
64
|
})),
|
|
65
65
|
};
|
|
@@ -6,9 +6,9 @@ export declare function listProductContactRequirements(db: PostgresJsDatabase, q
|
|
|
6
6
|
productId: string;
|
|
7
7
|
optionId: string | null;
|
|
8
8
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
9
|
-
scope: "booking" | "lead_traveler" | "
|
|
9
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
10
10
|
isRequired: boolean;
|
|
11
|
-
|
|
11
|
+
perTraveler: boolean;
|
|
12
12
|
active: boolean;
|
|
13
13
|
sortOrder: number;
|
|
14
14
|
notes: string | null;
|
|
@@ -24,9 +24,9 @@ export declare function getProductContactRequirementById(db: PostgresJsDatabase,
|
|
|
24
24
|
productId: string;
|
|
25
25
|
optionId: string | null;
|
|
26
26
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
27
|
-
scope: "booking" | "lead_traveler" | "
|
|
27
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
28
28
|
isRequired: boolean;
|
|
29
|
-
|
|
29
|
+
perTraveler: boolean;
|
|
30
30
|
active: boolean;
|
|
31
31
|
sortOrder: number;
|
|
32
32
|
notes: string | null;
|
|
@@ -37,13 +37,13 @@ export declare function createProductContactRequirement(db: PostgresJsDatabase,
|
|
|
37
37
|
id: string;
|
|
38
38
|
createdAt: Date;
|
|
39
39
|
updatedAt: Date;
|
|
40
|
-
scope: "booking" | "lead_traveler" | "
|
|
40
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
41
41
|
notes: string | null;
|
|
42
42
|
productId: string;
|
|
43
43
|
optionId: string | null;
|
|
44
44
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
45
45
|
isRequired: boolean;
|
|
46
|
-
|
|
46
|
+
perTraveler: boolean;
|
|
47
47
|
active: boolean;
|
|
48
48
|
sortOrder: number;
|
|
49
49
|
} | null>;
|
|
@@ -52,9 +52,9 @@ export declare function updateProductContactRequirement(db: PostgresJsDatabase,
|
|
|
52
52
|
productId: string;
|
|
53
53
|
optionId: string | null;
|
|
54
54
|
fieldKey: "email" | "other" | "nationality" | "first_name" | "last_name" | "phone" | "date_of_birth" | "passport_number" | "passport_expiry" | "dietary_requirements" | "accessibility_needs" | "special_requests" | "address";
|
|
55
|
-
scope: "booking" | "lead_traveler" | "
|
|
55
|
+
scope: "booking" | "lead_traveler" | "traveler" | "booker";
|
|
56
56
|
isRequired: boolean;
|
|
57
|
-
|
|
57
|
+
perTraveler: boolean;
|
|
58
58
|
active: boolean;
|
|
59
59
|
sortOrder: number;
|
|
60
60
|
notes: string | null;
|
|
@@ -71,7 +71,7 @@ export declare function listProductBookingQuestions(db: PostgresJsDatabase, quer
|
|
|
71
71
|
code: string | null;
|
|
72
72
|
label: string;
|
|
73
73
|
description: string | null;
|
|
74
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
74
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
75
75
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
76
76
|
placeholder: string | null;
|
|
77
77
|
helpText: string | null;
|
|
@@ -92,7 +92,7 @@ export declare function getProductBookingQuestionById(db: PostgresJsDatabase, id
|
|
|
92
92
|
code: string | null;
|
|
93
93
|
label: string;
|
|
94
94
|
description: string | null;
|
|
95
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
95
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
96
96
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
97
97
|
placeholder: string | null;
|
|
98
98
|
helpText: string | null;
|
|
@@ -115,7 +115,7 @@ export declare function createProductBookingQuestion(db: PostgresJsDatabase, dat
|
|
|
115
115
|
active: boolean;
|
|
116
116
|
sortOrder: number;
|
|
117
117
|
label: string;
|
|
118
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
118
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
119
119
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
120
120
|
placeholder: string | null;
|
|
121
121
|
helpText: string | null;
|
|
@@ -126,7 +126,7 @@ export declare function updateProductBookingQuestion(db: PostgresJsDatabase, id:
|
|
|
126
126
|
code: string | null;
|
|
127
127
|
label: string;
|
|
128
128
|
description: string | null;
|
|
129
|
-
target: "service" | "booking" | "lead_traveler" | "
|
|
129
|
+
target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
|
|
130
130
|
fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
|
|
131
131
|
placeholder: string | null;
|
|
132
132
|
helpText: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -17,14 +17,14 @@ export declare const contactRequirementFieldSchema: z.ZodEnum<{
|
|
|
17
17
|
export declare const contactRequirementScopeSchema: z.ZodEnum<{
|
|
18
18
|
booking: "booking";
|
|
19
19
|
lead_traveler: "lead_traveler";
|
|
20
|
-
|
|
20
|
+
traveler: "traveler";
|
|
21
21
|
booker: "booker";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const bookingQuestionTargetSchema: z.ZodEnum<{
|
|
24
24
|
service: "service";
|
|
25
25
|
booking: "booking";
|
|
26
26
|
lead_traveler: "lead_traveler";
|
|
27
|
-
|
|
27
|
+
traveler: "traveler";
|
|
28
28
|
booker: "booker";
|
|
29
29
|
extra: "extra";
|
|
30
30
|
}>;
|
|
@@ -50,7 +50,7 @@ export declare const bookingQuestionTriggerModeSchema: z.ZodEnum<{
|
|
|
50
50
|
}>;
|
|
51
51
|
export declare const bookingAnswerTargetSchema: z.ZodEnum<{
|
|
52
52
|
booking: "booking";
|
|
53
|
-
|
|
53
|
+
traveler: "traveler";
|
|
54
54
|
extra: "extra";
|
|
55
55
|
}>;
|
|
56
56
|
export declare const productContactRequirementCoreSchema: z.ZodObject<{
|
|
@@ -74,11 +74,11 @@ export declare const productContactRequirementCoreSchema: z.ZodObject<{
|
|
|
74
74
|
scope: z.ZodDefault<z.ZodEnum<{
|
|
75
75
|
booking: "booking";
|
|
76
76
|
lead_traveler: "lead_traveler";
|
|
77
|
-
|
|
77
|
+
traveler: "traveler";
|
|
78
78
|
booker: "booker";
|
|
79
79
|
}>>;
|
|
80
80
|
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
81
|
-
|
|
81
|
+
perTraveler: z.ZodDefault<z.ZodBoolean>;
|
|
82
82
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
83
83
|
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
84
84
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -104,11 +104,11 @@ export declare const insertProductContactRequirementSchema: z.ZodObject<{
|
|
|
104
104
|
scope: z.ZodDefault<z.ZodEnum<{
|
|
105
105
|
booking: "booking";
|
|
106
106
|
lead_traveler: "lead_traveler";
|
|
107
|
-
|
|
107
|
+
traveler: "traveler";
|
|
108
108
|
booker: "booker";
|
|
109
109
|
}>>;
|
|
110
110
|
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
111
|
-
|
|
111
|
+
perTraveler: z.ZodDefault<z.ZodBoolean>;
|
|
112
112
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
113
113
|
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
114
114
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -134,11 +134,11 @@ export declare const updateProductContactRequirementSchema: z.ZodObject<{
|
|
|
134
134
|
scope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
135
135
|
booking: "booking";
|
|
136
136
|
lead_traveler: "lead_traveler";
|
|
137
|
-
|
|
137
|
+
traveler: "traveler";
|
|
138
138
|
booker: "booker";
|
|
139
139
|
}>>>;
|
|
140
140
|
isRequired: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
141
|
-
|
|
141
|
+
perTraveler: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
142
142
|
active: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
143
143
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
144
144
|
notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -174,11 +174,11 @@ export declare const publicTransportRequirementSummarySchema: z.ZodObject<{
|
|
|
174
174
|
scope: z.ZodEnum<{
|
|
175
175
|
booking: "booking";
|
|
176
176
|
lead_traveler: "lead_traveler";
|
|
177
|
-
|
|
177
|
+
traveler: "traveler";
|
|
178
178
|
booker: "booker";
|
|
179
179
|
}>;
|
|
180
180
|
isRequired: z.ZodBoolean;
|
|
181
|
-
|
|
181
|
+
perTraveler: z.ZodBoolean;
|
|
182
182
|
notes: z.ZodNullable<z.ZodString>;
|
|
183
183
|
}, z.core.$strip>;
|
|
184
184
|
export declare const publicTransportRequirementsSchema: z.ZodObject<{
|
|
@@ -208,7 +208,7 @@ export declare const publicTransportRequirementsSchema: z.ZodObject<{
|
|
|
208
208
|
passport_number: "passport_number";
|
|
209
209
|
passport_expiry: "passport_expiry";
|
|
210
210
|
}>>;
|
|
211
|
-
|
|
211
|
+
traveler: z.ZodArray<z.ZodEnum<{
|
|
212
212
|
nationality: "nationality";
|
|
213
213
|
date_of_birth: "date_of_birth";
|
|
214
214
|
passport_number: "passport_number";
|
|
@@ -231,11 +231,11 @@ export declare const publicTransportRequirementsSchema: z.ZodObject<{
|
|
|
231
231
|
scope: z.ZodEnum<{
|
|
232
232
|
booking: "booking";
|
|
233
233
|
lead_traveler: "lead_traveler";
|
|
234
|
-
|
|
234
|
+
traveler: "traveler";
|
|
235
235
|
booker: "booker";
|
|
236
236
|
}>;
|
|
237
237
|
isRequired: z.ZodBoolean;
|
|
238
|
-
|
|
238
|
+
perTraveler: z.ZodBoolean;
|
|
239
239
|
notes: z.ZodNullable<z.ZodString>;
|
|
240
240
|
}, z.core.$strip>>;
|
|
241
241
|
}, z.core.$strip>;
|
|
@@ -248,7 +248,7 @@ export declare const productBookingQuestionCoreSchema: z.ZodObject<{
|
|
|
248
248
|
service: "service";
|
|
249
249
|
booking: "booking";
|
|
250
250
|
lead_traveler: "lead_traveler";
|
|
251
|
-
|
|
251
|
+
traveler: "traveler";
|
|
252
252
|
booker: "booker";
|
|
253
253
|
extra: "extra";
|
|
254
254
|
}>>;
|
|
@@ -283,7 +283,7 @@ export declare const insertProductBookingQuestionSchema: z.ZodObject<{
|
|
|
283
283
|
service: "service";
|
|
284
284
|
booking: "booking";
|
|
285
285
|
lead_traveler: "lead_traveler";
|
|
286
|
-
|
|
286
|
+
traveler: "traveler";
|
|
287
287
|
booker: "booker";
|
|
288
288
|
extra: "extra";
|
|
289
289
|
}>>;
|
|
@@ -318,7 +318,7 @@ export declare const updateProductBookingQuestionSchema: z.ZodObject<{
|
|
|
318
318
|
service: "service";
|
|
319
319
|
booking: "booking";
|
|
320
320
|
lead_traveler: "lead_traveler";
|
|
321
|
-
|
|
321
|
+
traveler: "traveler";
|
|
322
322
|
booker: "booker";
|
|
323
323
|
extra: "extra";
|
|
324
324
|
}>>>;
|
|
@@ -352,7 +352,7 @@ export declare const productBookingQuestionListQuerySchema: z.ZodObject<{
|
|
|
352
352
|
service: "service";
|
|
353
353
|
booking: "booking";
|
|
354
354
|
lead_traveler: "lead_traveler";
|
|
355
|
-
|
|
355
|
+
traveler: "traveler";
|
|
356
356
|
booker: "booker";
|
|
357
357
|
extra: "extra";
|
|
358
358
|
}>>;
|
|
@@ -588,11 +588,11 @@ export declare const bookingQuestionExtraTriggerListQuerySchema: z.ZodObject<{
|
|
|
588
588
|
export declare const bookingAnswerCoreSchema: z.ZodObject<{
|
|
589
589
|
bookingId: z.ZodString;
|
|
590
590
|
productBookingQuestionId: z.ZodString;
|
|
591
|
-
|
|
591
|
+
bookingTravelerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
592
|
bookingExtraId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
593
|
target: z.ZodDefault<z.ZodEnum<{
|
|
594
594
|
booking: "booking";
|
|
595
|
-
|
|
595
|
+
traveler: "traveler";
|
|
596
596
|
extra: "extra";
|
|
597
597
|
}>>;
|
|
598
598
|
valueText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -604,11 +604,11 @@ export declare const bookingAnswerCoreSchema: z.ZodObject<{
|
|
|
604
604
|
export declare const insertBookingAnswerSchema: z.ZodObject<{
|
|
605
605
|
bookingId: z.ZodString;
|
|
606
606
|
productBookingQuestionId: z.ZodString;
|
|
607
|
-
|
|
607
|
+
bookingTravelerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
608
|
bookingExtraId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
609
609
|
target: z.ZodDefault<z.ZodEnum<{
|
|
610
610
|
booking: "booking";
|
|
611
|
-
|
|
611
|
+
traveler: "traveler";
|
|
612
612
|
extra: "extra";
|
|
613
613
|
}>>;
|
|
614
614
|
valueText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -620,11 +620,11 @@ export declare const insertBookingAnswerSchema: z.ZodObject<{
|
|
|
620
620
|
export declare const updateBookingAnswerSchema: z.ZodObject<{
|
|
621
621
|
bookingId: z.ZodOptional<z.ZodString>;
|
|
622
622
|
productBookingQuestionId: z.ZodOptional<z.ZodString>;
|
|
623
|
-
|
|
623
|
+
bookingTravelerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
624
624
|
bookingExtraId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
625
625
|
target: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
626
626
|
booking: "booking";
|
|
627
|
-
|
|
627
|
+
traveler: "traveler";
|
|
628
628
|
extra: "extra";
|
|
629
629
|
}>>>;
|
|
630
630
|
valueText: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -638,11 +638,11 @@ export declare const bookingAnswerListQuerySchema: z.ZodObject<{
|
|
|
638
638
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
639
639
|
bookingId: z.ZodOptional<z.ZodString>;
|
|
640
640
|
productBookingQuestionId: z.ZodOptional<z.ZodString>;
|
|
641
|
-
|
|
641
|
+
bookingTravelerId: z.ZodOptional<z.ZodString>;
|
|
642
642
|
bookingExtraId: z.ZodOptional<z.ZodString>;
|
|
643
643
|
target: z.ZodOptional<z.ZodEnum<{
|
|
644
644
|
booking: "booking";
|
|
645
|
-
|
|
645
|
+
traveler: "traveler";
|
|
646
646
|
extra: "extra";
|
|
647
647
|
}>>;
|
|
648
648
|
}, z.core.$strip>;
|
package/dist/validation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;EAcxC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;EAKxC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;EAczC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;EAA6C,CAAA;AAC1F,eAAO,MAAM,yBAAyB;;;;
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":"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"}
|
package/dist/validation.js
CHANGED
|
@@ -22,12 +22,12 @@ export const contactRequirementFieldSchema = z.enum([
|
|
|
22
22
|
export const contactRequirementScopeSchema = z.enum([
|
|
23
23
|
"booking",
|
|
24
24
|
"lead_traveler",
|
|
25
|
-
"
|
|
25
|
+
"traveler",
|
|
26
26
|
"booker",
|
|
27
27
|
]);
|
|
28
28
|
export const bookingQuestionTargetSchema = z.enum([
|
|
29
29
|
"booking",
|
|
30
|
-
"
|
|
30
|
+
"traveler",
|
|
31
31
|
"lead_traveler",
|
|
32
32
|
"booker",
|
|
33
33
|
"extra",
|
|
@@ -49,14 +49,14 @@ export const bookingQuestionFieldTypeSchema = z.enum([
|
|
|
49
49
|
"other",
|
|
50
50
|
]);
|
|
51
51
|
export const bookingQuestionTriggerModeSchema = z.enum(["required", "optional", "hidden"]);
|
|
52
|
-
export const bookingAnswerTargetSchema = z.enum(["booking", "
|
|
52
|
+
export const bookingAnswerTargetSchema = z.enum(["booking", "traveler", "extra"]);
|
|
53
53
|
export const productContactRequirementCoreSchema = z.object({
|
|
54
54
|
productId: z.string(),
|
|
55
55
|
optionId: z.string().nullable().optional(),
|
|
56
56
|
fieldKey: contactRequirementFieldSchema,
|
|
57
|
-
scope: contactRequirementScopeSchema.default("
|
|
57
|
+
scope: contactRequirementScopeSchema.default("traveler"),
|
|
58
58
|
isRequired: z.boolean().default(false),
|
|
59
|
-
|
|
59
|
+
perTraveler: z.boolean().default(false),
|
|
60
60
|
active: z.boolean().default(true),
|
|
61
61
|
sortOrder: z.number().int().default(0),
|
|
62
62
|
notes: z.string().nullable().optional(),
|
|
@@ -81,7 +81,7 @@ export const publicTransportRequirementSummarySchema = z.object({
|
|
|
81
81
|
fieldKey: transportRequirementFieldSchema,
|
|
82
82
|
scope: contactRequirementScopeSchema,
|
|
83
83
|
isRequired: z.boolean(),
|
|
84
|
-
|
|
84
|
+
perTraveler: z.boolean(),
|
|
85
85
|
notes: z.string().nullable(),
|
|
86
86
|
});
|
|
87
87
|
export const publicTransportRequirementsSchema = z.object({
|
|
@@ -96,7 +96,7 @@ export const publicTransportRequirementsSchema = z.object({
|
|
|
96
96
|
fieldsByScope: z.object({
|
|
97
97
|
booking: z.array(transportRequirementFieldSchema),
|
|
98
98
|
lead_traveler: z.array(transportRequirementFieldSchema),
|
|
99
|
-
|
|
99
|
+
traveler: z.array(transportRequirementFieldSchema),
|
|
100
100
|
booker: z.array(transportRequirementFieldSchema),
|
|
101
101
|
}),
|
|
102
102
|
requirements: z.array(publicTransportRequirementSummarySchema),
|
|
@@ -198,7 +198,7 @@ export const bookingQuestionExtraTriggerListQuerySchema = paginationSchema.exten
|
|
|
198
198
|
export const bookingAnswerCoreSchema = z.object({
|
|
199
199
|
bookingId: z.string(),
|
|
200
200
|
productBookingQuestionId: z.string(),
|
|
201
|
-
|
|
201
|
+
bookingTravelerId: z.string().nullable().optional(),
|
|
202
202
|
bookingExtraId: z.string().nullable().optional(),
|
|
203
203
|
target: bookingAnswerTargetSchema.default("booking"),
|
|
204
204
|
valueText: z.string().nullable().optional(),
|
|
@@ -215,7 +215,7 @@ export const updateBookingAnswerSchema = bookingAnswerCoreSchema.partial();
|
|
|
215
215
|
export const bookingAnswerListQuerySchema = paginationSchema.extend({
|
|
216
216
|
bookingId: z.string().optional(),
|
|
217
217
|
productBookingQuestionId: z.string().optional(),
|
|
218
|
-
|
|
218
|
+
bookingTravelerId: z.string().optional(),
|
|
219
219
|
bookingExtraId: z.string().optional(),
|
|
220
220
|
target: bookingAnswerTargetSchema.optional(),
|
|
221
221
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/booking-requirements",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/core": "0.6.
|
|
33
|
-
"@voyantjs/db": "0.6.
|
|
34
|
-
"@voyantjs/hono": "0.6.
|
|
35
|
-
"@voyantjs/products": "0.6.
|
|
32
|
+
"@voyantjs/core": "0.6.9",
|
|
33
|
+
"@voyantjs/db": "0.6.9",
|
|
34
|
+
"@voyantjs/hono": "0.6.9",
|
|
35
|
+
"@voyantjs/products": "0.6.9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^6.0.2",
|
|
39
|
-
"@voyantjs/bookings": "0.6.
|
|
40
|
-
"@voyantjs/products": "0.6.
|
|
39
|
+
"@voyantjs/bookings": "0.6.9",
|
|
40
|
+
"@voyantjs/products": "0.6.9",
|
|
41
41
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|