@voyant-travel/charters 0.117.2 → 0.118.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 +26 -26
- package/dist/booking-extension.d.ts.map +1 -1
- package/dist/routes-public.d.ts +43 -43
- package/dist/routes.d.ts +164 -164
- package/dist/schema-pricing.d.ts +1 -1
- package/dist/validation-itinerary.d.ts +1 -1
- package/dist/validation-pricing.d.ts +10 -10
- package/dist/validation-shared.d.ts +2 -2
- package/package.json +7 -7
|
@@ -60,7 +60,7 @@ export declare const bookingCharterDetails: import("drizzle-orm/pg-core").PgTabl
|
|
|
60
60
|
tableName: "booking_charter_details";
|
|
61
61
|
dataType: "string";
|
|
62
62
|
columnType: "PgEnumColumn";
|
|
63
|
-
data: "
|
|
63
|
+
data: "external" | "local";
|
|
64
64
|
driverParam: string;
|
|
65
65
|
notNull: true;
|
|
66
66
|
hasDefault: true;
|
|
@@ -563,8 +563,8 @@ export declare const charterDetailUpsertSchema: z.ZodObject<{
|
|
|
563
563
|
whole_yacht: "whole_yacht";
|
|
564
564
|
}>;
|
|
565
565
|
source: z.ZodDefault<z.ZodEnum<{
|
|
566
|
-
local: "local";
|
|
567
566
|
external: "external";
|
|
567
|
+
local: "local";
|
|
568
568
|
}>>;
|
|
569
569
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
570
570
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -649,9 +649,12 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
649
649
|
};
|
|
650
650
|
output: {
|
|
651
651
|
data: {
|
|
652
|
+
source: "external" | "local";
|
|
653
|
+
createdAt: string;
|
|
654
|
+
updatedAt: string;
|
|
655
|
+
notes: string | null;
|
|
652
656
|
bookingId: string;
|
|
653
657
|
bookingMode: "per_suite" | "whole_yacht";
|
|
654
|
-
source: "local" | "external";
|
|
655
658
|
sourceProvider: string | null;
|
|
656
659
|
sourceRef: {
|
|
657
660
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -681,9 +684,6 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
681
684
|
apaSettledAt: string | null;
|
|
682
685
|
connectorBookingRef: string | null;
|
|
683
686
|
connectorStatus: string | null;
|
|
684
|
-
notes: string | null;
|
|
685
|
-
createdAt: string;
|
|
686
|
-
updatedAt: string;
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
outputFormat: "json";
|
|
@@ -700,9 +700,12 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
700
700
|
};
|
|
701
701
|
output: {
|
|
702
702
|
data: {
|
|
703
|
+
source: "external" | "local";
|
|
704
|
+
createdAt: string;
|
|
705
|
+
updatedAt: string;
|
|
706
|
+
notes: string | null;
|
|
703
707
|
bookingId: string;
|
|
704
708
|
bookingMode: "per_suite" | "whole_yacht";
|
|
705
|
-
source: "local" | "external";
|
|
706
709
|
sourceProvider: string | null;
|
|
707
710
|
sourceRef: {
|
|
708
711
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -732,9 +735,6 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
732
735
|
apaSettledAt: string | null;
|
|
733
736
|
connectorBookingRef: string | null;
|
|
734
737
|
connectorStatus: string | null;
|
|
735
|
-
notes: string | null;
|
|
736
|
-
createdAt: string;
|
|
737
|
-
updatedAt: string;
|
|
738
738
|
};
|
|
739
739
|
};
|
|
740
740
|
outputFormat: "json";
|
|
@@ -749,20 +749,20 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
749
749
|
bookingId: string;
|
|
750
750
|
};
|
|
751
751
|
};
|
|
752
|
-
output:
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
outputFormat: "json";
|
|
756
|
-
status: 404;
|
|
752
|
+
output: null;
|
|
753
|
+
outputFormat: "body";
|
|
754
|
+
status: 204;
|
|
757
755
|
} | {
|
|
758
756
|
input: {
|
|
759
757
|
param: {
|
|
760
758
|
bookingId: string;
|
|
761
759
|
};
|
|
762
760
|
};
|
|
763
|
-
output:
|
|
764
|
-
|
|
765
|
-
|
|
761
|
+
output: {
|
|
762
|
+
error: string;
|
|
763
|
+
};
|
|
764
|
+
outputFormat: "json";
|
|
765
|
+
status: 404;
|
|
766
766
|
};
|
|
767
767
|
};
|
|
768
768
|
} & {
|
|
@@ -786,9 +786,12 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
786
786
|
};
|
|
787
787
|
output: {
|
|
788
788
|
data: {
|
|
789
|
+
source: "external" | "local";
|
|
790
|
+
createdAt: string;
|
|
791
|
+
updatedAt: string;
|
|
792
|
+
notes: string | null;
|
|
789
793
|
bookingId: string;
|
|
790
794
|
bookingMode: "per_suite" | "whole_yacht";
|
|
791
|
-
source: "local" | "external";
|
|
792
795
|
sourceProvider: string | null;
|
|
793
796
|
sourceRef: {
|
|
794
797
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -818,9 +821,6 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
818
821
|
apaSettledAt: string | null;
|
|
819
822
|
connectorBookingRef: string | null;
|
|
820
823
|
connectorStatus: string | null;
|
|
821
|
-
notes: string | null;
|
|
822
|
-
createdAt: string;
|
|
823
|
-
updatedAt: string;
|
|
824
824
|
};
|
|
825
825
|
};
|
|
826
826
|
outputFormat: "json";
|
|
@@ -848,9 +848,12 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
848
848
|
};
|
|
849
849
|
output: {
|
|
850
850
|
data: {
|
|
851
|
+
source: "external" | "local";
|
|
852
|
+
createdAt: string;
|
|
853
|
+
updatedAt: string;
|
|
854
|
+
notes: string | null;
|
|
851
855
|
bookingId: string;
|
|
852
856
|
bookingMode: "per_suite" | "whole_yacht";
|
|
853
|
-
source: "local" | "external";
|
|
854
857
|
sourceProvider: string | null;
|
|
855
858
|
sourceRef: {
|
|
856
859
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -880,9 +883,6 @@ export declare const chartersBookingExtensionRoutes: import("hono/hono-base").Ho
|
|
|
880
883
|
apaSettledAt: string | null;
|
|
881
884
|
connectorBookingRef: string | null;
|
|
882
885
|
connectorStatus: string | null;
|
|
883
|
-
notes: string | null;
|
|
884
|
-
createdAt: string;
|
|
885
|
-
updatedAt: string;
|
|
886
886
|
};
|
|
887
887
|
};
|
|
888
888
|
outputFormat: "json";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-extension.d.ts","sourceRoot":"","sources":["../src/booking-extension.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAY/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AAID;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAC5E,MAAM,MAAM,uBAAuB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAa/E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoFlC,CAAA;AAEJ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAgB3E,eAAO,MAAM,4BAA4B;YACzB,kBAAkB,aAAa,MAAM,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;eAUpF,kBAAkB,aACX,MAAM,QACX,mBAAmB,GACxB,OAAO,CAAC,oBAAoB,CAAC;eAsBf,kBAAkB,aAAa,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQzE;;;;OAIG;yBAEG,kBAAkB,aACX,MAAM,QACX;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAC7C,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAqBvC;;;;;OAKG;qBAEG,kBAAkB,aACX,MAAM,QACX;QACJ,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,CAAC,EAAE,OAAO,CAAA;QAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KACrB,GACA,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;CAkBxC,CAAA;AA4BD,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"booking-extension.d.ts","sourceRoot":"","sources":["../src/booking-extension.ts"],"names":[],"mappings":"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"}
|
package/dist/routes-public.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
36
36
|
mapImageUrl: string | null;
|
|
37
37
|
regions: string[] | null;
|
|
38
38
|
themes: string[] | null;
|
|
39
|
-
status: "
|
|
39
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
40
40
|
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
41
41
|
defaultMybaTemplateId: string | null;
|
|
42
42
|
defaultApaPercent: string | null;
|
|
@@ -197,48 +197,48 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
197
197
|
};
|
|
198
198
|
output: {
|
|
199
199
|
data: {
|
|
200
|
+
id: string;
|
|
200
201
|
name: string;
|
|
202
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
201
203
|
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
204
|
description: string | null;
|
|
204
|
-
|
|
205
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
206
|
-
lineSupplierId: string | null;
|
|
205
|
+
updatedAt: string;
|
|
207
206
|
slug: string;
|
|
208
207
|
externalRefs: {
|
|
209
208
|
[x: string]: string;
|
|
210
209
|
} | null;
|
|
211
|
-
defaultYachtId: string | null;
|
|
212
210
|
shortDescription: string | null;
|
|
213
211
|
heroImageUrl: string | null;
|
|
214
212
|
mapImageUrl: string | null;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
213
|
+
lineSupplierId: string | null;
|
|
214
|
+
defaultYachtId: string | null;
|
|
218
215
|
defaultMybaTemplateId: string | null;
|
|
219
216
|
defaultApaPercent: string | null;
|
|
220
217
|
lowestPriceCachedAmount: string | null;
|
|
221
218
|
lowestPriceCachedCurrency: string | null;
|
|
222
219
|
earliestVoyageCached: string | null;
|
|
223
220
|
latestVoyageCached: string | null;
|
|
221
|
+
regions: string[] | null;
|
|
222
|
+
themes: string[] | null;
|
|
223
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
224
224
|
voyages?: {
|
|
225
|
+
id: string;
|
|
225
226
|
name: string | null;
|
|
226
|
-
yachtId: string;
|
|
227
227
|
createdAt: string;
|
|
228
228
|
updatedAt: string;
|
|
229
|
-
|
|
229
|
+
yachtId: string;
|
|
230
230
|
externalRefs: {
|
|
231
231
|
[x: string]: string;
|
|
232
232
|
} | null;
|
|
233
233
|
productId: string;
|
|
234
|
+
nights: number;
|
|
235
|
+
departureDate: string;
|
|
234
236
|
voyageCode: string;
|
|
235
237
|
embarkPortFacilityId: string | null;
|
|
236
238
|
embarkPortName: string | null;
|
|
237
239
|
disembarkPortFacilityId: string | null;
|
|
238
240
|
disembarkPortName: string | null;
|
|
239
|
-
departureDate: string;
|
|
240
241
|
returnDate: string;
|
|
241
|
-
nights: number;
|
|
242
242
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
243
243
|
appointmentOnly: boolean;
|
|
244
244
|
wholeYachtPricesByCurrency: {
|
|
@@ -252,16 +252,19 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
252
252
|
lastSyncedAt: string | null;
|
|
253
253
|
}[] | undefined;
|
|
254
254
|
yacht?: {
|
|
255
|
+
id: string;
|
|
255
256
|
name: string;
|
|
256
257
|
createdAt: string;
|
|
257
|
-
updatedAt: string;
|
|
258
258
|
description: string | null;
|
|
259
|
-
|
|
259
|
+
updatedAt: string;
|
|
260
|
+
slug: string;
|
|
261
|
+
externalRefs: {
|
|
262
|
+
[x: string]: string;
|
|
263
|
+
} | null;
|
|
264
|
+
lineSupplierId: string | null;
|
|
260
265
|
amenities: {
|
|
261
266
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
262
267
|
} | null;
|
|
263
|
-
lineSupplierId: string | null;
|
|
264
|
-
slug: string;
|
|
265
268
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
266
269
|
capacityGuests: number | null;
|
|
267
270
|
capacityCrew: number | null;
|
|
@@ -277,9 +280,6 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
277
280
|
photoUrl?: string | undefined;
|
|
278
281
|
}[] | null;
|
|
279
282
|
defaultCharterAreas: string[] | null;
|
|
280
|
-
externalRefs: {
|
|
281
|
-
[x: string]: string;
|
|
282
|
-
} | null;
|
|
283
283
|
isActive: boolean;
|
|
284
284
|
} | null | undefined;
|
|
285
285
|
};
|
|
@@ -470,23 +470,23 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
470
470
|
};
|
|
471
471
|
output: {
|
|
472
472
|
data: {
|
|
473
|
+
id: string;
|
|
473
474
|
name: string | null;
|
|
474
|
-
yachtId: string;
|
|
475
475
|
createdAt: string;
|
|
476
476
|
updatedAt: string;
|
|
477
|
-
|
|
477
|
+
yachtId: string;
|
|
478
478
|
externalRefs: {
|
|
479
479
|
[x: string]: string;
|
|
480
480
|
} | null;
|
|
481
481
|
productId: string;
|
|
482
|
+
nights: number;
|
|
483
|
+
departureDate: string;
|
|
482
484
|
voyageCode: string;
|
|
483
485
|
embarkPortFacilityId: string | null;
|
|
484
486
|
embarkPortName: string | null;
|
|
485
487
|
disembarkPortFacilityId: string | null;
|
|
486
488
|
disembarkPortName: string | null;
|
|
487
|
-
departureDate: string;
|
|
488
489
|
returnDate: string;
|
|
489
|
-
nights: number;
|
|
490
490
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
491
491
|
appointmentOnly: boolean;
|
|
492
492
|
wholeYachtPricesByCurrency: {
|
|
@@ -499,21 +499,22 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
499
499
|
availabilityNote: string | null;
|
|
500
500
|
lastSyncedAt: string | null;
|
|
501
501
|
suites?: {
|
|
502
|
-
|
|
503
|
-
notes: string | null;
|
|
502
|
+
id: string;
|
|
504
503
|
createdAt: string;
|
|
505
|
-
updatedAt: string;
|
|
506
504
|
description: string | null;
|
|
507
|
-
|
|
508
|
-
|
|
505
|
+
updatedAt: string;
|
|
506
|
+
notes: string | null;
|
|
507
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
508
|
+
voyageId: string;
|
|
509
509
|
externalRefs: {
|
|
510
510
|
[x: string]: string;
|
|
511
511
|
} | null;
|
|
512
|
+
images: string[] | null;
|
|
512
513
|
appointmentOnly: boolean;
|
|
513
514
|
lastSyncedAt: string | null;
|
|
514
515
|
suiteCode: string;
|
|
515
516
|
suiteName: string;
|
|
516
|
-
suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" |
|
|
517
|
+
suiteCategory: "signature" | "standard" | "deluxe" | "suite" | "penthouse" | "owners" | null;
|
|
517
518
|
squareFeet: string | null;
|
|
518
519
|
floorplanImages: string[] | null;
|
|
519
520
|
maxGuests: number | null;
|
|
@@ -523,25 +524,24 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
523
524
|
portFeesByCurrency: {
|
|
524
525
|
[x: string]: string;
|
|
525
526
|
};
|
|
526
|
-
availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
|
|
527
527
|
unitsAvailable: number | null;
|
|
528
528
|
extra: {
|
|
529
529
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
530
530
|
} | null;
|
|
531
531
|
}[] | undefined;
|
|
532
532
|
schedule?: {
|
|
533
|
-
|
|
533
|
+
activities: string[] | null;
|
|
534
|
+
id: string;
|
|
534
535
|
createdAt: string;
|
|
535
|
-
updatedAt: string;
|
|
536
536
|
description: string | null;
|
|
537
|
-
|
|
538
|
-
|
|
537
|
+
updatedAt: string;
|
|
538
|
+
voyageId: string;
|
|
539
|
+
departureTime: string | null;
|
|
539
540
|
dayNumber: number;
|
|
540
541
|
portFacilityId: string | null;
|
|
541
542
|
portName: string | null;
|
|
542
543
|
scheduleDate: string | null;
|
|
543
544
|
arrivalTime: string | null;
|
|
544
|
-
departureTime: string | null;
|
|
545
545
|
isSeaDay: boolean;
|
|
546
546
|
}[] | undefined;
|
|
547
547
|
};
|
|
@@ -744,16 +744,19 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
744
744
|
};
|
|
745
745
|
output: {
|
|
746
746
|
data: {
|
|
747
|
+
id: string;
|
|
747
748
|
name: string;
|
|
748
749
|
createdAt: string;
|
|
749
|
-
updatedAt: string;
|
|
750
750
|
description: string | null;
|
|
751
|
-
|
|
751
|
+
updatedAt: string;
|
|
752
|
+
slug: string;
|
|
753
|
+
externalRefs: {
|
|
754
|
+
[x: string]: string;
|
|
755
|
+
} | null;
|
|
756
|
+
lineSupplierId: string | null;
|
|
752
757
|
amenities: {
|
|
753
758
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
754
759
|
} | null;
|
|
755
|
-
lineSupplierId: string | null;
|
|
756
|
-
slug: string;
|
|
757
760
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
758
761
|
capacityGuests: number | null;
|
|
759
762
|
capacityCrew: number | null;
|
|
@@ -769,9 +772,6 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
769
772
|
photoUrl?: string | undefined;
|
|
770
773
|
}[] | null;
|
|
771
774
|
defaultCharterAreas: string[] | null;
|
|
772
|
-
externalRefs: {
|
|
773
|
-
[x: string]: string;
|
|
774
|
-
} | null;
|
|
775
775
|
isActive: boolean;
|
|
776
776
|
};
|
|
777
777
|
};
|
package/dist/routes.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
35
35
|
mapImageUrl: string | null;
|
|
36
36
|
regions: string[] | null;
|
|
37
37
|
themes: string[] | null;
|
|
38
|
-
status: "
|
|
38
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
39
39
|
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
40
40
|
defaultMybaTemplateId: string | null;
|
|
41
41
|
defaultApaPercent: string | null;
|
|
@@ -80,30 +80,30 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
80
80
|
input: {};
|
|
81
81
|
output: {
|
|
82
82
|
data: {
|
|
83
|
+
id: string;
|
|
83
84
|
name: string;
|
|
85
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
84
86
|
createdAt: string;
|
|
85
|
-
updatedAt: string;
|
|
86
87
|
description: string | null;
|
|
87
|
-
|
|
88
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
89
|
-
lineSupplierId: string | null;
|
|
88
|
+
updatedAt: string;
|
|
90
89
|
slug: string;
|
|
91
90
|
externalRefs: {
|
|
92
91
|
[x: string]: string;
|
|
93
92
|
} | null;
|
|
94
|
-
defaultYachtId: string | null;
|
|
95
93
|
shortDescription: string | null;
|
|
96
94
|
heroImageUrl: string | null;
|
|
97
95
|
mapImageUrl: string | null;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
96
|
+
lineSupplierId: string | null;
|
|
97
|
+
defaultYachtId: string | null;
|
|
101
98
|
defaultMybaTemplateId: string | null;
|
|
102
99
|
defaultApaPercent: string | null;
|
|
103
100
|
lowestPriceCachedAmount: string | null;
|
|
104
101
|
lowestPriceCachedCurrency: string | null;
|
|
105
102
|
earliestVoyageCached: string | null;
|
|
106
103
|
latestVoyageCached: string | null;
|
|
104
|
+
regions: string[] | null;
|
|
105
|
+
themes: string[] | null;
|
|
106
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
outputFormat: "json";
|
|
@@ -168,48 +168,48 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
168
168
|
};
|
|
169
169
|
output: {
|
|
170
170
|
data: {
|
|
171
|
+
id: string;
|
|
171
172
|
name: string;
|
|
173
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
172
174
|
createdAt: string;
|
|
173
|
-
updatedAt: string;
|
|
174
175
|
description: string | null;
|
|
175
|
-
|
|
176
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
177
|
-
lineSupplierId: string | null;
|
|
176
|
+
updatedAt: string;
|
|
178
177
|
slug: string;
|
|
179
178
|
externalRefs: {
|
|
180
179
|
[x: string]: string;
|
|
181
180
|
} | null;
|
|
182
|
-
defaultYachtId: string | null;
|
|
183
181
|
shortDescription: string | null;
|
|
184
182
|
heroImageUrl: string | null;
|
|
185
183
|
mapImageUrl: string | null;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
184
|
+
lineSupplierId: string | null;
|
|
185
|
+
defaultYachtId: string | null;
|
|
189
186
|
defaultMybaTemplateId: string | null;
|
|
190
187
|
defaultApaPercent: string | null;
|
|
191
188
|
lowestPriceCachedAmount: string | null;
|
|
192
189
|
lowestPriceCachedCurrency: string | null;
|
|
193
190
|
earliestVoyageCached: string | null;
|
|
194
191
|
latestVoyageCached: string | null;
|
|
192
|
+
regions: string[] | null;
|
|
193
|
+
themes: string[] | null;
|
|
194
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
195
195
|
voyages?: {
|
|
196
|
+
id: string;
|
|
196
197
|
name: string | null;
|
|
197
|
-
yachtId: string;
|
|
198
198
|
createdAt: string;
|
|
199
199
|
updatedAt: string;
|
|
200
|
-
|
|
200
|
+
yachtId: string;
|
|
201
201
|
externalRefs: {
|
|
202
202
|
[x: string]: string;
|
|
203
203
|
} | null;
|
|
204
204
|
productId: string;
|
|
205
|
+
nights: number;
|
|
206
|
+
departureDate: string;
|
|
205
207
|
voyageCode: string;
|
|
206
208
|
embarkPortFacilityId: string | null;
|
|
207
209
|
embarkPortName: string | null;
|
|
208
210
|
disembarkPortFacilityId: string | null;
|
|
209
211
|
disembarkPortName: string | null;
|
|
210
|
-
departureDate: string;
|
|
211
212
|
returnDate: string;
|
|
212
|
-
nights: number;
|
|
213
213
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
214
214
|
appointmentOnly: boolean;
|
|
215
215
|
wholeYachtPricesByCurrency: {
|
|
@@ -223,16 +223,19 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
223
223
|
lastSyncedAt: string | null;
|
|
224
224
|
}[] | undefined;
|
|
225
225
|
yacht?: {
|
|
226
|
+
id: string;
|
|
226
227
|
name: string;
|
|
227
228
|
createdAt: string;
|
|
228
|
-
updatedAt: string;
|
|
229
229
|
description: string | null;
|
|
230
|
-
|
|
230
|
+
updatedAt: string;
|
|
231
|
+
slug: string;
|
|
232
|
+
externalRefs: {
|
|
233
|
+
[x: string]: string;
|
|
234
|
+
} | null;
|
|
235
|
+
lineSupplierId: string | null;
|
|
231
236
|
amenities: {
|
|
232
237
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
233
238
|
} | null;
|
|
234
|
-
lineSupplierId: string | null;
|
|
235
|
-
slug: string;
|
|
236
239
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
237
240
|
capacityGuests: number | null;
|
|
238
241
|
capacityCrew: number | null;
|
|
@@ -248,9 +251,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
248
251
|
photoUrl?: string | undefined;
|
|
249
252
|
}[] | null;
|
|
250
253
|
defaultCharterAreas: string[] | null;
|
|
251
|
-
externalRefs: {
|
|
252
|
-
[x: string]: string;
|
|
253
|
-
} | null;
|
|
254
254
|
isActive: boolean;
|
|
255
255
|
} | null | undefined;
|
|
256
256
|
};
|
|
@@ -304,30 +304,30 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
304
304
|
};
|
|
305
305
|
output: {
|
|
306
306
|
data: {
|
|
307
|
+
id: string;
|
|
307
308
|
name: string;
|
|
309
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
308
310
|
createdAt: string;
|
|
309
|
-
updatedAt: string;
|
|
310
311
|
description: string | null;
|
|
311
|
-
|
|
312
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
313
|
-
lineSupplierId: string | null;
|
|
312
|
+
updatedAt: string;
|
|
314
313
|
slug: string;
|
|
315
314
|
externalRefs: {
|
|
316
315
|
[x: string]: string;
|
|
317
316
|
} | null;
|
|
318
|
-
defaultYachtId: string | null;
|
|
319
317
|
shortDescription: string | null;
|
|
320
318
|
heroImageUrl: string | null;
|
|
321
319
|
mapImageUrl: string | null;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
320
|
+
lineSupplierId: string | null;
|
|
321
|
+
defaultYachtId: string | null;
|
|
325
322
|
defaultMybaTemplateId: string | null;
|
|
326
323
|
defaultApaPercent: string | null;
|
|
327
324
|
lowestPriceCachedAmount: string | null;
|
|
328
325
|
lowestPriceCachedCurrency: string | null;
|
|
329
326
|
earliestVoyageCached: string | null;
|
|
330
327
|
latestVoyageCached: string | null;
|
|
328
|
+
regions: string[] | null;
|
|
329
|
+
themes: string[] | null;
|
|
330
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
333
|
outputFormat: "json";
|
|
@@ -379,30 +379,30 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
379
379
|
};
|
|
380
380
|
output: {
|
|
381
381
|
data: {
|
|
382
|
+
id: string;
|
|
382
383
|
name: string;
|
|
384
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
383
385
|
createdAt: string;
|
|
384
|
-
updatedAt: string;
|
|
385
386
|
description: string | null;
|
|
386
|
-
|
|
387
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
388
|
-
lineSupplierId: string | null;
|
|
387
|
+
updatedAt: string;
|
|
389
388
|
slug: string;
|
|
390
389
|
externalRefs: {
|
|
391
390
|
[x: string]: string;
|
|
392
391
|
} | null;
|
|
393
|
-
defaultYachtId: string | null;
|
|
394
392
|
shortDescription: string | null;
|
|
395
393
|
heroImageUrl: string | null;
|
|
396
394
|
mapImageUrl: string | null;
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
395
|
+
lineSupplierId: string | null;
|
|
396
|
+
defaultYachtId: string | null;
|
|
400
397
|
defaultMybaTemplateId: string | null;
|
|
401
398
|
defaultApaPercent: string | null;
|
|
402
399
|
lowestPriceCachedAmount: string | null;
|
|
403
400
|
lowestPriceCachedCurrency: string | null;
|
|
404
401
|
earliestVoyageCached: string | null;
|
|
405
402
|
latestVoyageCached: string | null;
|
|
403
|
+
regions: string[] | null;
|
|
404
|
+
themes: string[] | null;
|
|
405
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
406
406
|
};
|
|
407
407
|
};
|
|
408
408
|
outputFormat: "json";
|
|
@@ -454,30 +454,30 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
454
454
|
};
|
|
455
455
|
output: {
|
|
456
456
|
data: {
|
|
457
|
+
id: string;
|
|
457
458
|
name: string;
|
|
459
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
458
460
|
createdAt: string;
|
|
459
|
-
updatedAt: string;
|
|
460
461
|
description: string | null;
|
|
461
|
-
|
|
462
|
-
status: "draft" | "awaiting_review" | "live" | "archived";
|
|
463
|
-
lineSupplierId: string | null;
|
|
462
|
+
updatedAt: string;
|
|
464
463
|
slug: string;
|
|
465
464
|
externalRefs: {
|
|
466
465
|
[x: string]: string;
|
|
467
466
|
} | null;
|
|
468
|
-
defaultYachtId: string | null;
|
|
469
467
|
shortDescription: string | null;
|
|
470
468
|
heroImageUrl: string | null;
|
|
471
469
|
mapImageUrl: string | null;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
470
|
+
lineSupplierId: string | null;
|
|
471
|
+
defaultYachtId: string | null;
|
|
475
472
|
defaultMybaTemplateId: string | null;
|
|
476
473
|
defaultApaPercent: string | null;
|
|
477
474
|
lowestPriceCachedAmount: string | null;
|
|
478
475
|
lowestPriceCachedCurrency: string | null;
|
|
479
476
|
earliestVoyageCached: string | null;
|
|
480
477
|
latestVoyageCached: string | null;
|
|
478
|
+
regions: string[] | null;
|
|
479
|
+
themes: string[] | null;
|
|
480
|
+
defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
|
|
481
481
|
};
|
|
482
482
|
};
|
|
483
483
|
outputFormat: "json";
|
|
@@ -487,49 +487,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
487
487
|
} & {
|
|
488
488
|
"/products/:key/voyages": {
|
|
489
489
|
$get: {
|
|
490
|
-
input: {
|
|
491
|
-
param: {
|
|
492
|
-
key: string;
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
output: {
|
|
496
|
-
data: {
|
|
497
|
-
id: string;
|
|
498
|
-
productId: string;
|
|
499
|
-
yachtId: string;
|
|
500
|
-
voyageCode: string;
|
|
501
|
-
name: string | null;
|
|
502
|
-
embarkPortFacilityId: string | null;
|
|
503
|
-
embarkPortName: string | null;
|
|
504
|
-
disembarkPortFacilityId: string | null;
|
|
505
|
-
disembarkPortName: string | null;
|
|
506
|
-
departureDate: string;
|
|
507
|
-
returnDate: string;
|
|
508
|
-
nights: number;
|
|
509
|
-
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
510
|
-
appointmentOnly: boolean;
|
|
511
|
-
wholeYachtPricesByCurrency: {
|
|
512
|
-
[x: string]: string;
|
|
513
|
-
};
|
|
514
|
-
apaPercentOverride: string | null;
|
|
515
|
-
mybaTemplateIdOverride: string | null;
|
|
516
|
-
charterAreaOverride: string | null;
|
|
517
|
-
salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
|
|
518
|
-
availabilityNote: string | null;
|
|
519
|
-
externalRefs: {
|
|
520
|
-
[x: string]: string;
|
|
521
|
-
} | null;
|
|
522
|
-
lastSyncedAt: string | null;
|
|
523
|
-
createdAt: string;
|
|
524
|
-
updatedAt: string;
|
|
525
|
-
}[];
|
|
526
|
-
total: number;
|
|
527
|
-
limit: number;
|
|
528
|
-
offset: number;
|
|
529
|
-
};
|
|
530
|
-
outputFormat: "json";
|
|
531
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
532
|
-
} | {
|
|
533
490
|
input: {
|
|
534
491
|
param: {
|
|
535
492
|
key: string;
|
|
@@ -603,6 +560,49 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
603
560
|
};
|
|
604
561
|
outputFormat: "json";
|
|
605
562
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
563
|
+
} | {
|
|
564
|
+
input: {
|
|
565
|
+
param: {
|
|
566
|
+
key: string;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
output: {
|
|
570
|
+
data: {
|
|
571
|
+
id: string;
|
|
572
|
+
productId: string;
|
|
573
|
+
yachtId: string;
|
|
574
|
+
voyageCode: string;
|
|
575
|
+
name: string | null;
|
|
576
|
+
embarkPortFacilityId: string | null;
|
|
577
|
+
embarkPortName: string | null;
|
|
578
|
+
disembarkPortFacilityId: string | null;
|
|
579
|
+
disembarkPortName: string | null;
|
|
580
|
+
departureDate: string;
|
|
581
|
+
returnDate: string;
|
|
582
|
+
nights: number;
|
|
583
|
+
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
584
|
+
appointmentOnly: boolean;
|
|
585
|
+
wholeYachtPricesByCurrency: {
|
|
586
|
+
[x: string]: string;
|
|
587
|
+
};
|
|
588
|
+
apaPercentOverride: string | null;
|
|
589
|
+
mybaTemplateIdOverride: string | null;
|
|
590
|
+
charterAreaOverride: string | null;
|
|
591
|
+
salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
|
|
592
|
+
availabilityNote: string | null;
|
|
593
|
+
externalRefs: {
|
|
594
|
+
[x: string]: string;
|
|
595
|
+
} | null;
|
|
596
|
+
lastSyncedAt: string | null;
|
|
597
|
+
createdAt: string;
|
|
598
|
+
updatedAt: string;
|
|
599
|
+
}[];
|
|
600
|
+
total: number;
|
|
601
|
+
limit: number;
|
|
602
|
+
offset: number;
|
|
603
|
+
};
|
|
604
|
+
outputFormat: "json";
|
|
605
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
606
606
|
};
|
|
607
607
|
};
|
|
608
608
|
} & {
|
|
@@ -654,23 +654,23 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
654
654
|
input: {};
|
|
655
655
|
output: {
|
|
656
656
|
data: {
|
|
657
|
+
id: string;
|
|
657
658
|
name: string | null;
|
|
658
|
-
yachtId: string;
|
|
659
659
|
createdAt: string;
|
|
660
660
|
updatedAt: string;
|
|
661
|
-
|
|
661
|
+
yachtId: string;
|
|
662
662
|
externalRefs: {
|
|
663
663
|
[x: string]: string;
|
|
664
664
|
} | null;
|
|
665
665
|
productId: string;
|
|
666
|
+
nights: number;
|
|
667
|
+
departureDate: string;
|
|
666
668
|
voyageCode: string;
|
|
667
669
|
embarkPortFacilityId: string | null;
|
|
668
670
|
embarkPortName: string | null;
|
|
669
671
|
disembarkPortFacilityId: string | null;
|
|
670
672
|
disembarkPortName: string | null;
|
|
671
|
-
departureDate: string;
|
|
672
673
|
returnDate: string;
|
|
673
|
-
nights: number;
|
|
674
674
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
675
675
|
appointmentOnly: boolean;
|
|
676
676
|
wholeYachtPricesByCurrency: {
|
|
@@ -746,23 +746,23 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
746
746
|
};
|
|
747
747
|
output: {
|
|
748
748
|
data: {
|
|
749
|
+
id: string;
|
|
749
750
|
name: string | null;
|
|
750
|
-
yachtId: string;
|
|
751
751
|
createdAt: string;
|
|
752
752
|
updatedAt: string;
|
|
753
|
-
|
|
753
|
+
yachtId: string;
|
|
754
754
|
externalRefs: {
|
|
755
755
|
[x: string]: string;
|
|
756
756
|
} | null;
|
|
757
757
|
productId: string;
|
|
758
|
+
nights: number;
|
|
759
|
+
departureDate: string;
|
|
758
760
|
voyageCode: string;
|
|
759
761
|
embarkPortFacilityId: string | null;
|
|
760
762
|
embarkPortName: string | null;
|
|
761
763
|
disembarkPortFacilityId: string | null;
|
|
762
764
|
disembarkPortName: string | null;
|
|
763
|
-
departureDate: string;
|
|
764
765
|
returnDate: string;
|
|
765
|
-
nights: number;
|
|
766
766
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
767
767
|
appointmentOnly: boolean;
|
|
768
768
|
wholeYachtPricesByCurrency: {
|
|
@@ -775,21 +775,22 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
775
775
|
availabilityNote: string | null;
|
|
776
776
|
lastSyncedAt: string | null;
|
|
777
777
|
suites?: {
|
|
778
|
-
|
|
779
|
-
notes: string | null;
|
|
778
|
+
id: string;
|
|
780
779
|
createdAt: string;
|
|
781
|
-
updatedAt: string;
|
|
782
780
|
description: string | null;
|
|
783
|
-
|
|
784
|
-
|
|
781
|
+
updatedAt: string;
|
|
782
|
+
notes: string | null;
|
|
783
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
784
|
+
voyageId: string;
|
|
785
785
|
externalRefs: {
|
|
786
786
|
[x: string]: string;
|
|
787
787
|
} | null;
|
|
788
|
+
images: string[] | null;
|
|
788
789
|
appointmentOnly: boolean;
|
|
789
790
|
lastSyncedAt: string | null;
|
|
790
791
|
suiteCode: string;
|
|
791
792
|
suiteName: string;
|
|
792
|
-
suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" |
|
|
793
|
+
suiteCategory: "signature" | "standard" | "deluxe" | "suite" | "penthouse" | "owners" | null;
|
|
793
794
|
squareFeet: string | null;
|
|
794
795
|
floorplanImages: string[] | null;
|
|
795
796
|
maxGuests: number | null;
|
|
@@ -799,25 +800,24 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
799
800
|
portFeesByCurrency: {
|
|
800
801
|
[x: string]: string;
|
|
801
802
|
};
|
|
802
|
-
availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
|
|
803
803
|
unitsAvailable: number | null;
|
|
804
804
|
extra: {
|
|
805
805
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
806
806
|
} | null;
|
|
807
807
|
}[] | undefined;
|
|
808
808
|
schedule?: {
|
|
809
|
-
|
|
809
|
+
activities: string[] | null;
|
|
810
|
+
id: string;
|
|
810
811
|
createdAt: string;
|
|
811
|
-
updatedAt: string;
|
|
812
812
|
description: string | null;
|
|
813
|
-
|
|
814
|
-
|
|
813
|
+
updatedAt: string;
|
|
814
|
+
voyageId: string;
|
|
815
|
+
departureTime: string | null;
|
|
815
816
|
dayNumber: number;
|
|
816
817
|
portFacilityId: string | null;
|
|
817
818
|
portName: string | null;
|
|
818
819
|
scheduleDate: string | null;
|
|
819
820
|
arrivalTime: string | null;
|
|
820
|
-
departureTime: string | null;
|
|
821
821
|
isSeaDay: boolean;
|
|
822
822
|
}[] | undefined;
|
|
823
823
|
};
|
|
@@ -871,23 +871,23 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
871
871
|
};
|
|
872
872
|
output: {
|
|
873
873
|
data: {
|
|
874
|
+
id: string;
|
|
874
875
|
name: string | null;
|
|
875
|
-
yachtId: string;
|
|
876
876
|
createdAt: string;
|
|
877
877
|
updatedAt: string;
|
|
878
|
-
|
|
878
|
+
yachtId: string;
|
|
879
879
|
externalRefs: {
|
|
880
880
|
[x: string]: string;
|
|
881
881
|
} | null;
|
|
882
882
|
productId: string;
|
|
883
|
+
nights: number;
|
|
884
|
+
departureDate: string;
|
|
883
885
|
voyageCode: string;
|
|
884
886
|
embarkPortFacilityId: string | null;
|
|
885
887
|
embarkPortName: string | null;
|
|
886
888
|
disembarkPortFacilityId: string | null;
|
|
887
889
|
disembarkPortName: string | null;
|
|
888
|
-
departureDate: string;
|
|
889
890
|
returnDate: string;
|
|
890
|
-
nights: number;
|
|
891
891
|
bookingModes: ("per_suite" | "whole_yacht")[];
|
|
892
892
|
appointmentOnly: boolean;
|
|
893
893
|
wholeYachtPricesByCurrency: {
|
|
@@ -939,21 +939,22 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
939
939
|
};
|
|
940
940
|
output: {
|
|
941
941
|
data: {
|
|
942
|
-
|
|
943
|
-
notes: string | null;
|
|
942
|
+
id: string;
|
|
944
943
|
createdAt: string;
|
|
945
|
-
updatedAt: string;
|
|
946
944
|
description: string | null;
|
|
947
|
-
|
|
948
|
-
|
|
945
|
+
updatedAt: string;
|
|
946
|
+
notes: string | null;
|
|
947
|
+
availability: "available" | "on_request" | "wait_list" | "sold_out" | "limited";
|
|
948
|
+
voyageId: string;
|
|
949
949
|
externalRefs: {
|
|
950
950
|
[x: string]: string;
|
|
951
951
|
} | null;
|
|
952
|
+
images: string[] | null;
|
|
952
953
|
appointmentOnly: boolean;
|
|
953
954
|
lastSyncedAt: string | null;
|
|
954
955
|
suiteCode: string;
|
|
955
956
|
suiteName: string;
|
|
956
|
-
suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" |
|
|
957
|
+
suiteCategory: "signature" | "standard" | "deluxe" | "suite" | "penthouse" | "owners" | null;
|
|
957
958
|
squareFeet: string | null;
|
|
958
959
|
floorplanImages: string[] | null;
|
|
959
960
|
maxGuests: number | null;
|
|
@@ -963,7 +964,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
963
964
|
portFeesByCurrency: {
|
|
964
965
|
[x: string]: string;
|
|
965
966
|
};
|
|
966
|
-
availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
|
|
967
967
|
unitsAvailable: number | null;
|
|
968
968
|
extra: {
|
|
969
969
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1008,18 +1008,18 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1008
1008
|
};
|
|
1009
1009
|
output: {
|
|
1010
1010
|
data: {
|
|
1011
|
-
|
|
1011
|
+
activities: string[] | null;
|
|
1012
|
+
id: string;
|
|
1012
1013
|
createdAt: string;
|
|
1013
|
-
updatedAt: string;
|
|
1014
1014
|
description: string | null;
|
|
1015
|
-
|
|
1016
|
-
|
|
1015
|
+
updatedAt: string;
|
|
1016
|
+
voyageId: string;
|
|
1017
|
+
departureTime: string | null;
|
|
1017
1018
|
dayNumber: number;
|
|
1018
1019
|
portFacilityId: string | null;
|
|
1019
1020
|
portName: string | null;
|
|
1020
1021
|
scheduleDate: string | null;
|
|
1021
1022
|
arrivalTime: string | null;
|
|
1022
|
-
departureTime: string | null;
|
|
1023
1023
|
isSeaDay: boolean;
|
|
1024
1024
|
}[];
|
|
1025
1025
|
};
|
|
@@ -1123,9 +1123,12 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1123
1123
|
bookingId: string;
|
|
1124
1124
|
bookingNumber: string;
|
|
1125
1125
|
charterDetails: {
|
|
1126
|
+
source: "external" | "local";
|
|
1127
|
+
createdAt: string;
|
|
1128
|
+
updatedAt: string;
|
|
1129
|
+
notes: string | null;
|
|
1126
1130
|
bookingId: string;
|
|
1127
1131
|
bookingMode: "per_suite" | "whole_yacht";
|
|
1128
|
-
source: "local" | "external";
|
|
1129
1132
|
sourceProvider: string | null;
|
|
1130
1133
|
sourceRef: {
|
|
1131
1134
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1155,9 +1158,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1155
1158
|
apaSettledAt: string | null;
|
|
1156
1159
|
connectorBookingRef: string | null;
|
|
1157
1160
|
connectorStatus: string | null;
|
|
1158
|
-
notes: string | null;
|
|
1159
|
-
createdAt: string;
|
|
1160
|
-
updatedAt: string;
|
|
1161
1161
|
};
|
|
1162
1162
|
quote: {
|
|
1163
1163
|
mode: "per_suite";
|
|
@@ -1270,9 +1270,12 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1270
1270
|
bookingId: string;
|
|
1271
1271
|
bookingNumber: string;
|
|
1272
1272
|
charterDetails: {
|
|
1273
|
+
source: "external" | "local";
|
|
1274
|
+
createdAt: string;
|
|
1275
|
+
updatedAt: string;
|
|
1276
|
+
notes: string | null;
|
|
1273
1277
|
bookingId: string;
|
|
1274
1278
|
bookingMode: "per_suite" | "whole_yacht";
|
|
1275
|
-
source: "local" | "external";
|
|
1276
1279
|
sourceProvider: string | null;
|
|
1277
1280
|
sourceRef: {
|
|
1278
1281
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1302,9 +1305,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1302
1305
|
apaSettledAt: string | null;
|
|
1303
1306
|
connectorBookingRef: string | null;
|
|
1304
1307
|
connectorStatus: string | null;
|
|
1305
|
-
notes: string | null;
|
|
1306
|
-
createdAt: string;
|
|
1307
|
-
updatedAt: string;
|
|
1308
1308
|
};
|
|
1309
1309
|
quote: {
|
|
1310
1310
|
mode: "whole_yacht";
|
|
@@ -1404,9 +1404,12 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1404
1404
|
data: {
|
|
1405
1405
|
contractId: string;
|
|
1406
1406
|
charterDetails: {
|
|
1407
|
+
source: "external" | "local";
|
|
1408
|
+
createdAt: string;
|
|
1409
|
+
updatedAt: string;
|
|
1410
|
+
notes: string | null;
|
|
1407
1411
|
bookingId: string;
|
|
1408
1412
|
bookingMode: "per_suite" | "whole_yacht";
|
|
1409
|
-
source: "local" | "external";
|
|
1410
1413
|
sourceProvider: string | null;
|
|
1411
1414
|
sourceRef: {
|
|
1412
1415
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1436,9 +1439,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1436
1439
|
apaSettledAt: string | null;
|
|
1437
1440
|
connectorBookingRef: string | null;
|
|
1438
1441
|
connectorStatus: string | null;
|
|
1439
|
-
notes: string | null;
|
|
1440
|
-
createdAt: string;
|
|
1441
|
-
updatedAt: string;
|
|
1442
1442
|
};
|
|
1443
1443
|
};
|
|
1444
1444
|
};
|
|
@@ -1496,16 +1496,19 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1496
1496
|
input: {};
|
|
1497
1497
|
output: {
|
|
1498
1498
|
data: {
|
|
1499
|
+
id: string;
|
|
1499
1500
|
name: string;
|
|
1500
1501
|
createdAt: string;
|
|
1501
|
-
updatedAt: string;
|
|
1502
1502
|
description: string | null;
|
|
1503
|
-
|
|
1503
|
+
updatedAt: string;
|
|
1504
|
+
slug: string;
|
|
1505
|
+
externalRefs: {
|
|
1506
|
+
[x: string]: string;
|
|
1507
|
+
} | null;
|
|
1508
|
+
lineSupplierId: string | null;
|
|
1504
1509
|
amenities: {
|
|
1505
1510
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1506
1511
|
} | null;
|
|
1507
|
-
lineSupplierId: string | null;
|
|
1508
|
-
slug: string;
|
|
1509
1512
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
1510
1513
|
capacityGuests: number | null;
|
|
1511
1514
|
capacityCrew: number | null;
|
|
@@ -1521,9 +1524,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1521
1524
|
photoUrl?: string | undefined;
|
|
1522
1525
|
}[] | null;
|
|
1523
1526
|
defaultCharterAreas: string[] | null;
|
|
1524
|
-
externalRefs: {
|
|
1525
|
-
[x: string]: string;
|
|
1526
|
-
} | null;
|
|
1527
1527
|
isActive: boolean;
|
|
1528
1528
|
};
|
|
1529
1529
|
};
|
|
@@ -1623,16 +1623,19 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1623
1623
|
};
|
|
1624
1624
|
output: {
|
|
1625
1625
|
data: {
|
|
1626
|
+
id: string;
|
|
1626
1627
|
name: string;
|
|
1627
1628
|
createdAt: string;
|
|
1628
|
-
updatedAt: string;
|
|
1629
1629
|
description: string | null;
|
|
1630
|
-
|
|
1630
|
+
updatedAt: string;
|
|
1631
|
+
slug: string;
|
|
1632
|
+
externalRefs: {
|
|
1633
|
+
[x: string]: string;
|
|
1634
|
+
} | null;
|
|
1635
|
+
lineSupplierId: string | null;
|
|
1631
1636
|
amenities: {
|
|
1632
1637
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1633
1638
|
} | null;
|
|
1634
|
-
lineSupplierId: string | null;
|
|
1635
|
-
slug: string;
|
|
1636
1639
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
1637
1640
|
capacityGuests: number | null;
|
|
1638
1641
|
capacityCrew: number | null;
|
|
@@ -1648,9 +1651,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1648
1651
|
photoUrl?: string | undefined;
|
|
1649
1652
|
}[] | null;
|
|
1650
1653
|
defaultCharterAreas: string[] | null;
|
|
1651
|
-
externalRefs: {
|
|
1652
|
-
[x: string]: string;
|
|
1653
|
-
} | null;
|
|
1654
1654
|
isActive: boolean;
|
|
1655
1655
|
};
|
|
1656
1656
|
};
|
|
@@ -1703,16 +1703,19 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1703
1703
|
};
|
|
1704
1704
|
output: {
|
|
1705
1705
|
data: {
|
|
1706
|
+
id: string;
|
|
1706
1707
|
name: string;
|
|
1707
1708
|
createdAt: string;
|
|
1708
|
-
updatedAt: string;
|
|
1709
1709
|
description: string | null;
|
|
1710
|
-
|
|
1710
|
+
updatedAt: string;
|
|
1711
|
+
slug: string;
|
|
1712
|
+
externalRefs: {
|
|
1713
|
+
[x: string]: string;
|
|
1714
|
+
} | null;
|
|
1715
|
+
lineSupplierId: string | null;
|
|
1711
1716
|
amenities: {
|
|
1712
1717
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1713
1718
|
} | null;
|
|
1714
|
-
lineSupplierId: string | null;
|
|
1715
|
-
slug: string;
|
|
1716
1719
|
yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
|
|
1717
1720
|
capacityGuests: number | null;
|
|
1718
1721
|
capacityCrew: number | null;
|
|
@@ -1728,9 +1731,6 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1728
1731
|
photoUrl?: string | undefined;
|
|
1729
1732
|
}[] | null;
|
|
1730
1733
|
defaultCharterAreas: string[] | null;
|
|
1731
|
-
externalRefs: {
|
|
1732
|
-
[x: string]: string;
|
|
1733
|
-
} | null;
|
|
1734
1734
|
isActive: boolean;
|
|
1735
1735
|
};
|
|
1736
1736
|
};
|
package/dist/schema-pricing.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare const charterSuites: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
81
81
|
tableName: "charter_suites";
|
|
82
82
|
dataType: "string";
|
|
83
83
|
columnType: "PgEnumColumn";
|
|
84
|
-
data: "standard" | "deluxe" | "suite" | "penthouse" | "owners"
|
|
84
|
+
data: "signature" | "standard" | "deluxe" | "suite" | "penthouse" | "owners";
|
|
85
85
|
driverParam: string;
|
|
86
86
|
notNull: false;
|
|
87
87
|
hasDefault: false;
|
|
@@ -28,12 +28,12 @@ export declare const replaceVoyageScheduleSchema: z.ZodObject<{
|
|
|
28
28
|
days: z.ZodArray<z.ZodObject<{
|
|
29
29
|
activities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
30
30
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
31
|
+
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
31
32
|
dayNumber: z.ZodNumber;
|
|
32
33
|
portFacilityId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
34
|
portName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
34
35
|
scheduleDate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
36
|
arrivalTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
-
departureTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
37
37
|
isSeaDay: z.ZodDefault<z.ZodBoolean>;
|
|
38
38
|
}, z.core.$strip>>;
|
|
39
39
|
}, z.core.$strip>;
|
|
@@ -4,12 +4,12 @@ export declare const insertSuiteSchema: z.ZodObject<{
|
|
|
4
4
|
suiteCode: z.ZodString;
|
|
5
5
|
suiteName: z.ZodString;
|
|
6
6
|
suiteCategory: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
signature: "signature";
|
|
7
8
|
standard: "standard";
|
|
8
9
|
deluxe: "deluxe";
|
|
9
10
|
suite: "suite";
|
|
10
11
|
penthouse: "penthouse";
|
|
11
12
|
owners: "owners";
|
|
12
|
-
signature: "signature";
|
|
13
13
|
}>>>;
|
|
14
14
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
15
|
squareFeet: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -36,12 +36,12 @@ export declare const updateSuiteSchema: z.ZodObject<{
|
|
|
36
36
|
suiteCode: z.ZodOptional<z.ZodString>;
|
|
37
37
|
suiteName: z.ZodOptional<z.ZodString>;
|
|
38
38
|
suiteCategory: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
signature: "signature";
|
|
39
40
|
standard: "standard";
|
|
40
41
|
deluxe: "deluxe";
|
|
41
42
|
suite: "suite";
|
|
42
43
|
penthouse: "penthouse";
|
|
43
44
|
owners: "owners";
|
|
44
|
-
signature: "signature";
|
|
45
45
|
}>>>>;
|
|
46
46
|
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
47
47
|
squareFeet: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -68,31 +68,31 @@ export declare const replaceVoyageSuitesSchema: z.ZodObject<{
|
|
|
68
68
|
suites: z.ZodArray<z.ZodObject<{
|
|
69
69
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
70
70
|
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
availability: z.ZodDefault<z.ZodEnum<{
|
|
72
|
+
available: "available";
|
|
73
|
+
on_request: "on_request";
|
|
74
|
+
wait_list: "wait_list";
|
|
75
|
+
sold_out: "sold_out";
|
|
76
|
+
limited: "limited";
|
|
77
|
+
}>>;
|
|
71
78
|
externalRefs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
72
79
|
images: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
73
80
|
appointmentOnly: z.ZodDefault<z.ZodBoolean>;
|
|
74
81
|
suiteCode: z.ZodString;
|
|
75
82
|
suiteName: z.ZodString;
|
|
76
83
|
suiteCategory: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
signature: "signature";
|
|
77
85
|
standard: "standard";
|
|
78
86
|
deluxe: "deluxe";
|
|
79
87
|
suite: "suite";
|
|
80
88
|
penthouse: "penthouse";
|
|
81
89
|
owners: "owners";
|
|
82
|
-
signature: "signature";
|
|
83
90
|
}>>>;
|
|
84
91
|
squareFeet: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
85
92
|
floorplanImages: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
86
93
|
maxGuests: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
87
94
|
pricesByCurrency: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
88
95
|
portFeesByCurrency: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
89
|
-
availability: z.ZodDefault<z.ZodEnum<{
|
|
90
|
-
available: "available";
|
|
91
|
-
on_request: "on_request";
|
|
92
|
-
wait_list: "wait_list";
|
|
93
|
-
sold_out: "sold_out";
|
|
94
|
-
limited: "limited";
|
|
95
|
-
}>>;
|
|
96
96
|
unitsAvailable: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
97
97
|
extra: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
98
|
}, z.core.$strip>>;
|
|
@@ -9,8 +9,8 @@ export declare const charterStatusSchema: z.ZodEnum<{
|
|
|
9
9
|
archived: "archived";
|
|
10
10
|
}>;
|
|
11
11
|
export declare const charterSourceSchema: z.ZodEnum<{
|
|
12
|
-
local: "local";
|
|
13
12
|
external: "external";
|
|
13
|
+
local: "local";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const yachtClassSchema: z.ZodEnum<{
|
|
16
16
|
luxury_motor: "luxury_motor";
|
|
@@ -26,12 +26,12 @@ export declare const voyageSalesStatusSchema: z.ZodEnum<{
|
|
|
26
26
|
closed: "closed";
|
|
27
27
|
}>;
|
|
28
28
|
export declare const suiteCategorySchema: z.ZodEnum<{
|
|
29
|
+
signature: "signature";
|
|
29
30
|
standard: "standard";
|
|
30
31
|
deluxe: "deluxe";
|
|
31
32
|
suite: "suite";
|
|
32
33
|
penthouse: "penthouse";
|
|
33
34
|
owners: "owners";
|
|
34
|
-
signature: "signature";
|
|
35
35
|
}>;
|
|
36
36
|
export declare const suiteAvailabilitySchema: z.ZodEnum<{
|
|
37
37
|
available: "available";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/charters",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.118.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"drizzle-orm": "^0.45.2",
|
|
75
75
|
"hono": "^4.12.10",
|
|
76
76
|
"zod": "^4.3.6",
|
|
77
|
-
"@voyant-travel/bookings": "^0.
|
|
77
|
+
"@voyant-travel/bookings": "^0.120.0",
|
|
78
|
+
"@voyant-travel/charters-contracts": "^0.104.1",
|
|
78
79
|
"@voyant-travel/core": "^0.109.0",
|
|
79
80
|
"@voyant-travel/db": "^0.108.0",
|
|
80
|
-
"@voyant-travel/hono": "^0.
|
|
81
|
-
"@voyant-travel/catalog": "^0.
|
|
82
|
-
"@voyant-travel/charters-contracts": "^0.104.1"
|
|
81
|
+
"@voyant-travel/hono": "^0.110.0",
|
|
82
|
+
"@voyant-travel/catalog": "^0.118.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"typescript": "^6.0.2",
|
|
86
86
|
"vitest": "^4.0.0",
|
|
87
|
-
"@voyant-travel/voyant-
|
|
88
|
-
"@voyant-travel/voyant-
|
|
87
|
+
"@voyant-travel/voyant-test-utils": "^0.1.0",
|
|
88
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
89
89
|
},
|
|
90
90
|
"files": [
|
|
91
91
|
"dist"
|