@voyantjs/bookings 0.6.8 → 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/README.md +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/pii.d.ts +10 -9
- package/dist/pii.d.ts.map +1 -1
- package/dist/pii.js +33 -33
- package/dist/routes-groups.d.ts +25 -5
- package/dist/routes-groups.d.ts.map +1 -1
- package/dist/routes-groups.js +3 -3
- package/dist/routes-public.d.ts +19 -21
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +1 -1
- package/dist/routes-shared.d.ts +1 -1
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes.d.ts +200 -187
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +65 -95
- package/dist/schema/travel-details.d.ts +27 -27
- package/dist/schema/travel-details.d.ts.map +1 -1
- package/dist/schema/travel-details.js +19 -14
- package/dist/schema-core.d.ts +194 -305
- package/dist/schema-core.d.ts.map +1 -1
- package/dist/schema-core.js +19 -10
- package/dist/schema-items.d.ts +15 -15
- package/dist/schema-items.d.ts.map +1 -1
- package/dist/schema-items.js +12 -12
- package/dist/schema-operations.d.ts +1 -1
- package/dist/schema-operations.js +3 -3
- package/dist/schema-relations.d.ts +26 -9
- package/dist/schema-relations.d.ts.map +1 -1
- package/dist/schema-relations.js +36 -21
- package/dist/schema-shared.d.ts +3 -2
- package/dist/schema-shared.d.ts.map +1 -1
- package/dist/schema-shared.js +4 -5
- package/dist/schema-staff.d.ts +267 -0
- package/dist/schema-staff.d.ts.map +1 -0
- package/dist/schema-staff.js +31 -0
- package/dist/schema.d.ts +1 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +1 -0
- package/dist/service-groups.d.ts +3 -7
- package/dist/service-groups.d.ts.map +1 -1
- package/dist/service-groups.js +6 -10
- package/dist/service-public.d.ts +49 -55
- package/dist/service-public.d.ts.map +1 -1
- package/dist/service-public.js +106 -53
- package/dist/service.d.ts +227 -99
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +321 -108
- package/dist/transactions-ref.d.ts +930 -66
- package/dist/transactions-ref.d.ts.map +1 -1
- package/dist/transactions-ref.js +56 -2
- package/dist/validation-public.d.ts +29 -69
- package/dist/validation-public.d.ts.map +1 -1
- package/dist/validation-public.js +21 -20
- package/dist/validation-shared.d.ts +4 -5
- package/dist/validation-shared.d.ts.map +1 -1
- package/dist/validation-shared.js +2 -10
- package/dist/validation.d.ts +229 -44
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +84 -28
- package/package.json +6 -6
package/dist/schema-core.d.ts
CHANGED
|
@@ -138,6 +138,176 @@ export declare const bookings: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
138
138
|
identity: undefined;
|
|
139
139
|
generated: undefined;
|
|
140
140
|
}, {}, {}>;
|
|
141
|
+
contactFirstName: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
|
+
name: "contact_first_name";
|
|
143
|
+
tableName: "bookings";
|
|
144
|
+
dataType: "string";
|
|
145
|
+
columnType: "PgText";
|
|
146
|
+
data: string;
|
|
147
|
+
driverParam: string;
|
|
148
|
+
notNull: false;
|
|
149
|
+
hasDefault: false;
|
|
150
|
+
isPrimaryKey: false;
|
|
151
|
+
isAutoincrement: false;
|
|
152
|
+
hasRuntimeDefault: false;
|
|
153
|
+
enumValues: [string, ...string[]];
|
|
154
|
+
baseColumn: never;
|
|
155
|
+
identity: undefined;
|
|
156
|
+
generated: undefined;
|
|
157
|
+
}, {}, {}>;
|
|
158
|
+
contactLastName: import("drizzle-orm/pg-core").PgColumn<{
|
|
159
|
+
name: "contact_last_name";
|
|
160
|
+
tableName: "bookings";
|
|
161
|
+
dataType: "string";
|
|
162
|
+
columnType: "PgText";
|
|
163
|
+
data: string;
|
|
164
|
+
driverParam: string;
|
|
165
|
+
notNull: false;
|
|
166
|
+
hasDefault: false;
|
|
167
|
+
isPrimaryKey: false;
|
|
168
|
+
isAutoincrement: false;
|
|
169
|
+
hasRuntimeDefault: false;
|
|
170
|
+
enumValues: [string, ...string[]];
|
|
171
|
+
baseColumn: never;
|
|
172
|
+
identity: undefined;
|
|
173
|
+
generated: undefined;
|
|
174
|
+
}, {}, {}>;
|
|
175
|
+
contactEmail: import("drizzle-orm/pg-core").PgColumn<{
|
|
176
|
+
name: "contact_email";
|
|
177
|
+
tableName: "bookings";
|
|
178
|
+
dataType: "string";
|
|
179
|
+
columnType: "PgText";
|
|
180
|
+
data: string;
|
|
181
|
+
driverParam: string;
|
|
182
|
+
notNull: false;
|
|
183
|
+
hasDefault: false;
|
|
184
|
+
isPrimaryKey: false;
|
|
185
|
+
isAutoincrement: false;
|
|
186
|
+
hasRuntimeDefault: false;
|
|
187
|
+
enumValues: [string, ...string[]];
|
|
188
|
+
baseColumn: never;
|
|
189
|
+
identity: undefined;
|
|
190
|
+
generated: undefined;
|
|
191
|
+
}, {}, {}>;
|
|
192
|
+
contactPhone: import("drizzle-orm/pg-core").PgColumn<{
|
|
193
|
+
name: "contact_phone";
|
|
194
|
+
tableName: "bookings";
|
|
195
|
+
dataType: "string";
|
|
196
|
+
columnType: "PgText";
|
|
197
|
+
data: string;
|
|
198
|
+
driverParam: string;
|
|
199
|
+
notNull: false;
|
|
200
|
+
hasDefault: false;
|
|
201
|
+
isPrimaryKey: false;
|
|
202
|
+
isAutoincrement: false;
|
|
203
|
+
hasRuntimeDefault: false;
|
|
204
|
+
enumValues: [string, ...string[]];
|
|
205
|
+
baseColumn: never;
|
|
206
|
+
identity: undefined;
|
|
207
|
+
generated: undefined;
|
|
208
|
+
}, {}, {}>;
|
|
209
|
+
contactPreferredLanguage: import("drizzle-orm/pg-core").PgColumn<{
|
|
210
|
+
name: "contact_preferred_language";
|
|
211
|
+
tableName: "bookings";
|
|
212
|
+
dataType: "string";
|
|
213
|
+
columnType: "PgText";
|
|
214
|
+
data: string;
|
|
215
|
+
driverParam: string;
|
|
216
|
+
notNull: false;
|
|
217
|
+
hasDefault: false;
|
|
218
|
+
isPrimaryKey: false;
|
|
219
|
+
isAutoincrement: false;
|
|
220
|
+
hasRuntimeDefault: false;
|
|
221
|
+
enumValues: [string, ...string[]];
|
|
222
|
+
baseColumn: never;
|
|
223
|
+
identity: undefined;
|
|
224
|
+
generated: undefined;
|
|
225
|
+
}, {}, {}>;
|
|
226
|
+
contactCountry: import("drizzle-orm/pg-core").PgColumn<{
|
|
227
|
+
name: "contact_country";
|
|
228
|
+
tableName: "bookings";
|
|
229
|
+
dataType: "string";
|
|
230
|
+
columnType: "PgText";
|
|
231
|
+
data: string;
|
|
232
|
+
driverParam: string;
|
|
233
|
+
notNull: false;
|
|
234
|
+
hasDefault: false;
|
|
235
|
+
isPrimaryKey: false;
|
|
236
|
+
isAutoincrement: false;
|
|
237
|
+
hasRuntimeDefault: false;
|
|
238
|
+
enumValues: [string, ...string[]];
|
|
239
|
+
baseColumn: never;
|
|
240
|
+
identity: undefined;
|
|
241
|
+
generated: undefined;
|
|
242
|
+
}, {}, {}>;
|
|
243
|
+
contactRegion: import("drizzle-orm/pg-core").PgColumn<{
|
|
244
|
+
name: "contact_region";
|
|
245
|
+
tableName: "bookings";
|
|
246
|
+
dataType: "string";
|
|
247
|
+
columnType: "PgText";
|
|
248
|
+
data: string;
|
|
249
|
+
driverParam: string;
|
|
250
|
+
notNull: false;
|
|
251
|
+
hasDefault: false;
|
|
252
|
+
isPrimaryKey: false;
|
|
253
|
+
isAutoincrement: false;
|
|
254
|
+
hasRuntimeDefault: false;
|
|
255
|
+
enumValues: [string, ...string[]];
|
|
256
|
+
baseColumn: never;
|
|
257
|
+
identity: undefined;
|
|
258
|
+
generated: undefined;
|
|
259
|
+
}, {}, {}>;
|
|
260
|
+
contactCity: import("drizzle-orm/pg-core").PgColumn<{
|
|
261
|
+
name: "contact_city";
|
|
262
|
+
tableName: "bookings";
|
|
263
|
+
dataType: "string";
|
|
264
|
+
columnType: "PgText";
|
|
265
|
+
data: string;
|
|
266
|
+
driverParam: string;
|
|
267
|
+
notNull: false;
|
|
268
|
+
hasDefault: false;
|
|
269
|
+
isPrimaryKey: false;
|
|
270
|
+
isAutoincrement: false;
|
|
271
|
+
hasRuntimeDefault: false;
|
|
272
|
+
enumValues: [string, ...string[]];
|
|
273
|
+
baseColumn: never;
|
|
274
|
+
identity: undefined;
|
|
275
|
+
generated: undefined;
|
|
276
|
+
}, {}, {}>;
|
|
277
|
+
contactAddressLine1: import("drizzle-orm/pg-core").PgColumn<{
|
|
278
|
+
name: "contact_address_line1";
|
|
279
|
+
tableName: "bookings";
|
|
280
|
+
dataType: "string";
|
|
281
|
+
columnType: "PgText";
|
|
282
|
+
data: string;
|
|
283
|
+
driverParam: string;
|
|
284
|
+
notNull: false;
|
|
285
|
+
hasDefault: false;
|
|
286
|
+
isPrimaryKey: false;
|
|
287
|
+
isAutoincrement: false;
|
|
288
|
+
hasRuntimeDefault: false;
|
|
289
|
+
enumValues: [string, ...string[]];
|
|
290
|
+
baseColumn: never;
|
|
291
|
+
identity: undefined;
|
|
292
|
+
generated: undefined;
|
|
293
|
+
}, {}, {}>;
|
|
294
|
+
contactPostalCode: import("drizzle-orm/pg-core").PgColumn<{
|
|
295
|
+
name: "contact_postal_code";
|
|
296
|
+
tableName: "bookings";
|
|
297
|
+
dataType: "string";
|
|
298
|
+
columnType: "PgText";
|
|
299
|
+
data: string;
|
|
300
|
+
driverParam: string;
|
|
301
|
+
notNull: false;
|
|
302
|
+
hasDefault: false;
|
|
303
|
+
isPrimaryKey: false;
|
|
304
|
+
isAutoincrement: false;
|
|
305
|
+
hasRuntimeDefault: false;
|
|
306
|
+
enumValues: [string, ...string[]];
|
|
307
|
+
baseColumn: never;
|
|
308
|
+
identity: undefined;
|
|
309
|
+
generated: undefined;
|
|
310
|
+
}, {}, {}>;
|
|
141
311
|
sellCurrency: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
312
|
name: "sell_currency";
|
|
143
313
|
tableName: "bookings";
|
|
@@ -464,13 +634,13 @@ export declare const bookings: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
464
634
|
};
|
|
465
635
|
dialect: "pg";
|
|
466
636
|
}>;
|
|
467
|
-
export declare const
|
|
468
|
-
name: "
|
|
637
|
+
export declare const bookingTravelers: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
638
|
+
name: "booking_travelers";
|
|
469
639
|
schema: undefined;
|
|
470
640
|
columns: {
|
|
471
641
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
472
642
|
name: string;
|
|
473
|
-
tableName: "
|
|
643
|
+
tableName: "booking_travelers";
|
|
474
644
|
dataType: "string";
|
|
475
645
|
columnType: "PgText";
|
|
476
646
|
data: string;
|
|
@@ -487,7 +657,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
487
657
|
}, {}, {}>;
|
|
488
658
|
bookingId: import("drizzle-orm/pg-core").PgColumn<{
|
|
489
659
|
name: string;
|
|
490
|
-
tableName: "
|
|
660
|
+
tableName: "booking_travelers";
|
|
491
661
|
dataType: "string";
|
|
492
662
|
columnType: "PgText";
|
|
493
663
|
data: string;
|
|
@@ -504,7 +674,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
504
674
|
}, {}, {}>;
|
|
505
675
|
personId: import("drizzle-orm/pg-core").PgColumn<{
|
|
506
676
|
name: "person_id";
|
|
507
|
-
tableName: "
|
|
677
|
+
tableName: "booking_travelers";
|
|
508
678
|
dataType: "string";
|
|
509
679
|
columnType: "PgText";
|
|
510
680
|
data: string;
|
|
@@ -521,24 +691,24 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
521
691
|
}, {}, {}>;
|
|
522
692
|
participantType: import("drizzle-orm/pg-core").PgColumn<{
|
|
523
693
|
name: "participant_type";
|
|
524
|
-
tableName: "
|
|
694
|
+
tableName: "booking_travelers";
|
|
525
695
|
dataType: "string";
|
|
526
696
|
columnType: "PgEnumColumn";
|
|
527
|
-
data: "
|
|
697
|
+
data: "other" | "traveler" | "occupant";
|
|
528
698
|
driverParam: string;
|
|
529
699
|
notNull: true;
|
|
530
700
|
hasDefault: true;
|
|
531
701
|
isPrimaryKey: false;
|
|
532
702
|
isAutoincrement: false;
|
|
533
703
|
hasRuntimeDefault: false;
|
|
534
|
-
enumValues: ["traveler", "
|
|
704
|
+
enumValues: ["traveler", "occupant", "other"];
|
|
535
705
|
baseColumn: never;
|
|
536
706
|
identity: undefined;
|
|
537
707
|
generated: undefined;
|
|
538
708
|
}, {}, {}>;
|
|
539
709
|
travelerCategory: import("drizzle-orm/pg-core").PgColumn<{
|
|
540
710
|
name: "traveler_category";
|
|
541
|
-
tableName: "
|
|
711
|
+
tableName: "booking_travelers";
|
|
542
712
|
dataType: "string";
|
|
543
713
|
columnType: "PgEnumColumn";
|
|
544
714
|
data: "other" | "adult" | "child" | "infant" | "senior";
|
|
@@ -555,7 +725,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
555
725
|
}, {}, {}>;
|
|
556
726
|
firstName: import("drizzle-orm/pg-core").PgColumn<{
|
|
557
727
|
name: "first_name";
|
|
558
|
-
tableName: "
|
|
728
|
+
tableName: "booking_travelers";
|
|
559
729
|
dataType: "string";
|
|
560
730
|
columnType: "PgText";
|
|
561
731
|
data: string;
|
|
@@ -572,7 +742,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
572
742
|
}, {}, {}>;
|
|
573
743
|
lastName: import("drizzle-orm/pg-core").PgColumn<{
|
|
574
744
|
name: "last_name";
|
|
575
|
-
tableName: "
|
|
745
|
+
tableName: "booking_travelers";
|
|
576
746
|
dataType: "string";
|
|
577
747
|
columnType: "PgText";
|
|
578
748
|
data: string;
|
|
@@ -589,7 +759,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
589
759
|
}, {}, {}>;
|
|
590
760
|
email: import("drizzle-orm/pg-core").PgColumn<{
|
|
591
761
|
name: "email";
|
|
592
|
-
tableName: "
|
|
762
|
+
tableName: "booking_travelers";
|
|
593
763
|
dataType: "string";
|
|
594
764
|
columnType: "PgText";
|
|
595
765
|
data: string;
|
|
@@ -606,7 +776,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
606
776
|
}, {}, {}>;
|
|
607
777
|
phone: import("drizzle-orm/pg-core").PgColumn<{
|
|
608
778
|
name: "phone";
|
|
609
|
-
tableName: "
|
|
779
|
+
tableName: "booking_travelers";
|
|
610
780
|
dataType: "string";
|
|
611
781
|
columnType: "PgText";
|
|
612
782
|
data: string;
|
|
@@ -623,7 +793,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
623
793
|
}, {}, {}>;
|
|
624
794
|
preferredLanguage: import("drizzle-orm/pg-core").PgColumn<{
|
|
625
795
|
name: "preferred_language";
|
|
626
|
-
tableName: "
|
|
796
|
+
tableName: "booking_travelers";
|
|
627
797
|
dataType: "string";
|
|
628
798
|
columnType: "PgText";
|
|
629
799
|
data: string;
|
|
@@ -640,7 +810,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
640
810
|
}, {}, {}>;
|
|
641
811
|
accessibilityNeeds: import("drizzle-orm/pg-core").PgColumn<{
|
|
642
812
|
name: "accessibility_needs";
|
|
643
|
-
tableName: "
|
|
813
|
+
tableName: "booking_travelers";
|
|
644
814
|
dataType: "string";
|
|
645
815
|
columnType: "PgText";
|
|
646
816
|
data: string;
|
|
@@ -657,7 +827,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
657
827
|
}, {}, {}>;
|
|
658
828
|
specialRequests: import("drizzle-orm/pg-core").PgColumn<{
|
|
659
829
|
name: "special_requests";
|
|
660
|
-
tableName: "
|
|
830
|
+
tableName: "booking_travelers";
|
|
661
831
|
dataType: "string";
|
|
662
832
|
columnType: "PgText";
|
|
663
833
|
data: string;
|
|
@@ -674,7 +844,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
674
844
|
}, {}, {}>;
|
|
675
845
|
isPrimary: import("drizzle-orm/pg-core").PgColumn<{
|
|
676
846
|
name: "is_primary";
|
|
677
|
-
tableName: "
|
|
847
|
+
tableName: "booking_travelers";
|
|
678
848
|
dataType: "boolean";
|
|
679
849
|
columnType: "PgBoolean";
|
|
680
850
|
data: boolean;
|
|
@@ -691,7 +861,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
691
861
|
}, {}, {}>;
|
|
692
862
|
notes: import("drizzle-orm/pg-core").PgColumn<{
|
|
693
863
|
name: "notes";
|
|
694
|
-
tableName: "
|
|
864
|
+
tableName: "booking_travelers";
|
|
695
865
|
dataType: "string";
|
|
696
866
|
columnType: "PgText";
|
|
697
867
|
data: string;
|
|
@@ -708,7 +878,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
708
878
|
}, {}, {}>;
|
|
709
879
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
710
880
|
name: "created_at";
|
|
711
|
-
tableName: "
|
|
881
|
+
tableName: "booking_travelers";
|
|
712
882
|
dataType: "date";
|
|
713
883
|
columnType: "PgTimestamp";
|
|
714
884
|
data: Date;
|
|
@@ -725,7 +895,7 @@ export declare const bookingParticipants: import("drizzle-orm/pg-core").PgTableW
|
|
|
725
895
|
}, {}, {}>;
|
|
726
896
|
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
727
897
|
name: "updated_at";
|
|
728
|
-
tableName: "
|
|
898
|
+
tableName: "booking_travelers";
|
|
729
899
|
dataType: "date";
|
|
730
900
|
columnType: "PgTimestamp";
|
|
731
901
|
data: Date;
|
|
@@ -781,8 +951,8 @@ export declare const bookingPiiAccessLog: import("drizzle-orm/pg-core").PgTableW
|
|
|
781
951
|
identity: undefined;
|
|
782
952
|
generated: undefined;
|
|
783
953
|
}, {}, {}>;
|
|
784
|
-
|
|
785
|
-
name: "
|
|
954
|
+
travelerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
955
|
+
name: "traveler_id";
|
|
786
956
|
tableName: "booking_pii_access_log";
|
|
787
957
|
dataType: "string";
|
|
788
958
|
columnType: "PgText";
|
|
@@ -941,289 +1111,8 @@ export declare const bookingPiiAccessLog: import("drizzle-orm/pg-core").PgTableW
|
|
|
941
1111
|
}>;
|
|
942
1112
|
export type Booking = typeof bookings.$inferSelect;
|
|
943
1113
|
export type NewBooking = typeof bookings.$inferInsert;
|
|
944
|
-
export type
|
|
945
|
-
export type
|
|
946
|
-
export declare const bookingPassengers: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
947
|
-
name: "booking_participants";
|
|
948
|
-
schema: undefined;
|
|
949
|
-
columns: {
|
|
950
|
-
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
951
|
-
name: string;
|
|
952
|
-
tableName: "booking_participants";
|
|
953
|
-
dataType: "string";
|
|
954
|
-
columnType: "PgText";
|
|
955
|
-
data: string;
|
|
956
|
-
driverParam: string;
|
|
957
|
-
notNull: true;
|
|
958
|
-
hasDefault: true;
|
|
959
|
-
isPrimaryKey: true;
|
|
960
|
-
isAutoincrement: false;
|
|
961
|
-
hasRuntimeDefault: true;
|
|
962
|
-
enumValues: [string, ...string[]];
|
|
963
|
-
baseColumn: never;
|
|
964
|
-
identity: undefined;
|
|
965
|
-
generated: undefined;
|
|
966
|
-
}, {}, {}>;
|
|
967
|
-
bookingId: import("drizzle-orm/pg-core").PgColumn<{
|
|
968
|
-
name: string;
|
|
969
|
-
tableName: "booking_participants";
|
|
970
|
-
dataType: "string";
|
|
971
|
-
columnType: "PgText";
|
|
972
|
-
data: string;
|
|
973
|
-
driverParam: string;
|
|
974
|
-
notNull: true;
|
|
975
|
-
hasDefault: false;
|
|
976
|
-
isPrimaryKey: false;
|
|
977
|
-
isAutoincrement: false;
|
|
978
|
-
hasRuntimeDefault: false;
|
|
979
|
-
enumValues: [string, ...string[]];
|
|
980
|
-
baseColumn: never;
|
|
981
|
-
identity: undefined;
|
|
982
|
-
generated: undefined;
|
|
983
|
-
}, {}, {}>;
|
|
984
|
-
personId: import("drizzle-orm/pg-core").PgColumn<{
|
|
985
|
-
name: "person_id";
|
|
986
|
-
tableName: "booking_participants";
|
|
987
|
-
dataType: "string";
|
|
988
|
-
columnType: "PgText";
|
|
989
|
-
data: string;
|
|
990
|
-
driverParam: string;
|
|
991
|
-
notNull: false;
|
|
992
|
-
hasDefault: false;
|
|
993
|
-
isPrimaryKey: false;
|
|
994
|
-
isAutoincrement: false;
|
|
995
|
-
hasRuntimeDefault: false;
|
|
996
|
-
enumValues: [string, ...string[]];
|
|
997
|
-
baseColumn: never;
|
|
998
|
-
identity: undefined;
|
|
999
|
-
generated: undefined;
|
|
1000
|
-
}, {}, {}>;
|
|
1001
|
-
participantType: import("drizzle-orm/pg-core").PgColumn<{
|
|
1002
|
-
name: "participant_type";
|
|
1003
|
-
tableName: "booking_participants";
|
|
1004
|
-
dataType: "string";
|
|
1005
|
-
columnType: "PgEnumColumn";
|
|
1006
|
-
data: "staff" | "other" | "traveler" | "booker" | "contact" | "occupant";
|
|
1007
|
-
driverParam: string;
|
|
1008
|
-
notNull: true;
|
|
1009
|
-
hasDefault: true;
|
|
1010
|
-
isPrimaryKey: false;
|
|
1011
|
-
isAutoincrement: false;
|
|
1012
|
-
hasRuntimeDefault: false;
|
|
1013
|
-
enumValues: ["traveler", "booker", "contact", "occupant", "staff", "other"];
|
|
1014
|
-
baseColumn: never;
|
|
1015
|
-
identity: undefined;
|
|
1016
|
-
generated: undefined;
|
|
1017
|
-
}, {}, {}>;
|
|
1018
|
-
travelerCategory: import("drizzle-orm/pg-core").PgColumn<{
|
|
1019
|
-
name: "traveler_category";
|
|
1020
|
-
tableName: "booking_participants";
|
|
1021
|
-
dataType: "string";
|
|
1022
|
-
columnType: "PgEnumColumn";
|
|
1023
|
-
data: "other" | "adult" | "child" | "infant" | "senior";
|
|
1024
|
-
driverParam: string;
|
|
1025
|
-
notNull: false;
|
|
1026
|
-
hasDefault: false;
|
|
1027
|
-
isPrimaryKey: false;
|
|
1028
|
-
isAutoincrement: false;
|
|
1029
|
-
hasRuntimeDefault: false;
|
|
1030
|
-
enumValues: ["adult", "child", "infant", "senior", "other"];
|
|
1031
|
-
baseColumn: never;
|
|
1032
|
-
identity: undefined;
|
|
1033
|
-
generated: undefined;
|
|
1034
|
-
}, {}, {}>;
|
|
1035
|
-
firstName: import("drizzle-orm/pg-core").PgColumn<{
|
|
1036
|
-
name: "first_name";
|
|
1037
|
-
tableName: "booking_participants";
|
|
1038
|
-
dataType: "string";
|
|
1039
|
-
columnType: "PgText";
|
|
1040
|
-
data: string;
|
|
1041
|
-
driverParam: string;
|
|
1042
|
-
notNull: true;
|
|
1043
|
-
hasDefault: false;
|
|
1044
|
-
isPrimaryKey: false;
|
|
1045
|
-
isAutoincrement: false;
|
|
1046
|
-
hasRuntimeDefault: false;
|
|
1047
|
-
enumValues: [string, ...string[]];
|
|
1048
|
-
baseColumn: never;
|
|
1049
|
-
identity: undefined;
|
|
1050
|
-
generated: undefined;
|
|
1051
|
-
}, {}, {}>;
|
|
1052
|
-
lastName: import("drizzle-orm/pg-core").PgColumn<{
|
|
1053
|
-
name: "last_name";
|
|
1054
|
-
tableName: "booking_participants";
|
|
1055
|
-
dataType: "string";
|
|
1056
|
-
columnType: "PgText";
|
|
1057
|
-
data: string;
|
|
1058
|
-
driverParam: string;
|
|
1059
|
-
notNull: true;
|
|
1060
|
-
hasDefault: false;
|
|
1061
|
-
isPrimaryKey: false;
|
|
1062
|
-
isAutoincrement: false;
|
|
1063
|
-
hasRuntimeDefault: false;
|
|
1064
|
-
enumValues: [string, ...string[]];
|
|
1065
|
-
baseColumn: never;
|
|
1066
|
-
identity: undefined;
|
|
1067
|
-
generated: undefined;
|
|
1068
|
-
}, {}, {}>;
|
|
1069
|
-
email: import("drizzle-orm/pg-core").PgColumn<{
|
|
1070
|
-
name: "email";
|
|
1071
|
-
tableName: "booking_participants";
|
|
1072
|
-
dataType: "string";
|
|
1073
|
-
columnType: "PgText";
|
|
1074
|
-
data: string;
|
|
1075
|
-
driverParam: string;
|
|
1076
|
-
notNull: false;
|
|
1077
|
-
hasDefault: false;
|
|
1078
|
-
isPrimaryKey: false;
|
|
1079
|
-
isAutoincrement: false;
|
|
1080
|
-
hasRuntimeDefault: false;
|
|
1081
|
-
enumValues: [string, ...string[]];
|
|
1082
|
-
baseColumn: never;
|
|
1083
|
-
identity: undefined;
|
|
1084
|
-
generated: undefined;
|
|
1085
|
-
}, {}, {}>;
|
|
1086
|
-
phone: import("drizzle-orm/pg-core").PgColumn<{
|
|
1087
|
-
name: "phone";
|
|
1088
|
-
tableName: "booking_participants";
|
|
1089
|
-
dataType: "string";
|
|
1090
|
-
columnType: "PgText";
|
|
1091
|
-
data: string;
|
|
1092
|
-
driverParam: string;
|
|
1093
|
-
notNull: false;
|
|
1094
|
-
hasDefault: false;
|
|
1095
|
-
isPrimaryKey: false;
|
|
1096
|
-
isAutoincrement: false;
|
|
1097
|
-
hasRuntimeDefault: false;
|
|
1098
|
-
enumValues: [string, ...string[]];
|
|
1099
|
-
baseColumn: never;
|
|
1100
|
-
identity: undefined;
|
|
1101
|
-
generated: undefined;
|
|
1102
|
-
}, {}, {}>;
|
|
1103
|
-
preferredLanguage: import("drizzle-orm/pg-core").PgColumn<{
|
|
1104
|
-
name: "preferred_language";
|
|
1105
|
-
tableName: "booking_participants";
|
|
1106
|
-
dataType: "string";
|
|
1107
|
-
columnType: "PgText";
|
|
1108
|
-
data: string;
|
|
1109
|
-
driverParam: string;
|
|
1110
|
-
notNull: false;
|
|
1111
|
-
hasDefault: false;
|
|
1112
|
-
isPrimaryKey: false;
|
|
1113
|
-
isAutoincrement: false;
|
|
1114
|
-
hasRuntimeDefault: false;
|
|
1115
|
-
enumValues: [string, ...string[]];
|
|
1116
|
-
baseColumn: never;
|
|
1117
|
-
identity: undefined;
|
|
1118
|
-
generated: undefined;
|
|
1119
|
-
}, {}, {}>;
|
|
1120
|
-
accessibilityNeeds: import("drizzle-orm/pg-core").PgColumn<{
|
|
1121
|
-
name: "accessibility_needs";
|
|
1122
|
-
tableName: "booking_participants";
|
|
1123
|
-
dataType: "string";
|
|
1124
|
-
columnType: "PgText";
|
|
1125
|
-
data: string;
|
|
1126
|
-
driverParam: string;
|
|
1127
|
-
notNull: false;
|
|
1128
|
-
hasDefault: false;
|
|
1129
|
-
isPrimaryKey: false;
|
|
1130
|
-
isAutoincrement: false;
|
|
1131
|
-
hasRuntimeDefault: false;
|
|
1132
|
-
enumValues: [string, ...string[]];
|
|
1133
|
-
baseColumn: never;
|
|
1134
|
-
identity: undefined;
|
|
1135
|
-
generated: undefined;
|
|
1136
|
-
}, {}, {}>;
|
|
1137
|
-
specialRequests: import("drizzle-orm/pg-core").PgColumn<{
|
|
1138
|
-
name: "special_requests";
|
|
1139
|
-
tableName: "booking_participants";
|
|
1140
|
-
dataType: "string";
|
|
1141
|
-
columnType: "PgText";
|
|
1142
|
-
data: string;
|
|
1143
|
-
driverParam: string;
|
|
1144
|
-
notNull: false;
|
|
1145
|
-
hasDefault: false;
|
|
1146
|
-
isPrimaryKey: false;
|
|
1147
|
-
isAutoincrement: false;
|
|
1148
|
-
hasRuntimeDefault: false;
|
|
1149
|
-
enumValues: [string, ...string[]];
|
|
1150
|
-
baseColumn: never;
|
|
1151
|
-
identity: undefined;
|
|
1152
|
-
generated: undefined;
|
|
1153
|
-
}, {}, {}>;
|
|
1154
|
-
isPrimary: import("drizzle-orm/pg-core").PgColumn<{
|
|
1155
|
-
name: "is_primary";
|
|
1156
|
-
tableName: "booking_participants";
|
|
1157
|
-
dataType: "boolean";
|
|
1158
|
-
columnType: "PgBoolean";
|
|
1159
|
-
data: boolean;
|
|
1160
|
-
driverParam: boolean;
|
|
1161
|
-
notNull: true;
|
|
1162
|
-
hasDefault: true;
|
|
1163
|
-
isPrimaryKey: false;
|
|
1164
|
-
isAutoincrement: false;
|
|
1165
|
-
hasRuntimeDefault: false;
|
|
1166
|
-
enumValues: undefined;
|
|
1167
|
-
baseColumn: never;
|
|
1168
|
-
identity: undefined;
|
|
1169
|
-
generated: undefined;
|
|
1170
|
-
}, {}, {}>;
|
|
1171
|
-
notes: import("drizzle-orm/pg-core").PgColumn<{
|
|
1172
|
-
name: "notes";
|
|
1173
|
-
tableName: "booking_participants";
|
|
1174
|
-
dataType: "string";
|
|
1175
|
-
columnType: "PgText";
|
|
1176
|
-
data: string;
|
|
1177
|
-
driverParam: string;
|
|
1178
|
-
notNull: false;
|
|
1179
|
-
hasDefault: false;
|
|
1180
|
-
isPrimaryKey: false;
|
|
1181
|
-
isAutoincrement: false;
|
|
1182
|
-
hasRuntimeDefault: false;
|
|
1183
|
-
enumValues: [string, ...string[]];
|
|
1184
|
-
baseColumn: never;
|
|
1185
|
-
identity: undefined;
|
|
1186
|
-
generated: undefined;
|
|
1187
|
-
}, {}, {}>;
|
|
1188
|
-
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1189
|
-
name: "created_at";
|
|
1190
|
-
tableName: "booking_participants";
|
|
1191
|
-
dataType: "date";
|
|
1192
|
-
columnType: "PgTimestamp";
|
|
1193
|
-
data: Date;
|
|
1194
|
-
driverParam: string;
|
|
1195
|
-
notNull: true;
|
|
1196
|
-
hasDefault: true;
|
|
1197
|
-
isPrimaryKey: false;
|
|
1198
|
-
isAutoincrement: false;
|
|
1199
|
-
hasRuntimeDefault: false;
|
|
1200
|
-
enumValues: undefined;
|
|
1201
|
-
baseColumn: never;
|
|
1202
|
-
identity: undefined;
|
|
1203
|
-
generated: undefined;
|
|
1204
|
-
}, {}, {}>;
|
|
1205
|
-
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1206
|
-
name: "updated_at";
|
|
1207
|
-
tableName: "booking_participants";
|
|
1208
|
-
dataType: "date";
|
|
1209
|
-
columnType: "PgTimestamp";
|
|
1210
|
-
data: Date;
|
|
1211
|
-
driverParam: string;
|
|
1212
|
-
notNull: true;
|
|
1213
|
-
hasDefault: true;
|
|
1214
|
-
isPrimaryKey: false;
|
|
1215
|
-
isAutoincrement: false;
|
|
1216
|
-
hasRuntimeDefault: false;
|
|
1217
|
-
enumValues: undefined;
|
|
1218
|
-
baseColumn: never;
|
|
1219
|
-
identity: undefined;
|
|
1220
|
-
generated: undefined;
|
|
1221
|
-
}, {}, {}>;
|
|
1222
|
-
};
|
|
1223
|
-
dialect: "pg";
|
|
1224
|
-
}>;
|
|
1225
|
-
export type BookingPassenger = BookingParticipant;
|
|
1226
|
-
export type NewBookingPassenger = NewBookingParticipant;
|
|
1114
|
+
export type BookingTraveler = typeof bookingTravelers.$inferSelect;
|
|
1115
|
+
export type NewBookingTraveler = typeof bookingTravelers.$inferInsert;
|
|
1227
1116
|
export type BookingPiiAccessLog = typeof bookingPiiAccessLog.$inferSelect;
|
|
1228
1117
|
export type NewBookingPiiAccessLog = typeof bookingPiiAccessLog.$inferInsert;
|
|
1229
1118
|
//# sourceMappingURL=schema-core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-core.d.ts","sourceRoot":"","sources":["../src/schema-core.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"schema-core.d.ts","sourceRoot":"","sources":["../src/schema-core.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDpB,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC5B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,OAAO,QAAQ,CAAC,YAAY,CAAA;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,QAAQ,CAAC,YAAY,CAAA;AACrD,MAAM,MAAM,eAAe,GAAG,OAAO,gBAAgB,CAAC,YAAY,CAAA;AAClE,MAAM,MAAM,kBAAkB,GAAG,OAAO,gBAAgB,CAAC,YAAY,CAAA;AACrE,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,YAAY,CAAA;AACzE,MAAM,MAAM,sBAAsB,GAAG,OAAO,mBAAmB,CAAC,YAAY,CAAA"}
|