@voyantjs/products 0.101.1 → 0.102.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/index.d.ts CHANGED
@@ -12,9 +12,9 @@ export { createBasicPdfProductBrochurePrinter, createCloudflareBrowserProductBro
12
12
  export declare const productLinkable: LinkableDefinition;
13
13
  export declare const productsModule: Module;
14
14
  export declare const productsHonoModule: HonoModule;
15
- export type { NewOptionUnit, NewOptionUnitTranslation, NewProduct, NewProductActivationSetting, NewProductCapability, NewProductCategory, NewProductDay, NewProductDayService, NewProductDeliveryFormat, NewProductFaq, NewProductFeature, NewProductItinerary, NewProductLocation, NewProductMedia, NewProductNote, NewProductOption, NewProductOptionTranslation, NewProductTag, NewProductTicketSetting, NewProductTranslation, NewProductType, NewProductVersion, NewProductVisibilitySetting, OptionUnit, OptionUnitTranslation, Product, ProductActivationSetting, ProductCapability, ProductCategory, ProductDay, ProductDayService, ProductDeliveryFormat, ProductFaq, ProductFeature, ProductItinerary, ProductLocation, ProductMedia, ProductNote, ProductOption, ProductOptionTranslation, ProductTag, ProductTicketSetting, ProductTranslation, ProductType, ProductVersion, ProductVisibilitySetting, } from "./schema.js";
16
- export { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productDayServices, productDays, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productMediaTypeEnum, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
17
- export { duplicateItinerarySchema, insertDaySchema, insertDayServiceSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productDeliveryFormatListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, selectProductSchema, updateDaySchema, updateDayServiceSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema, } from "./validation.js";
15
+ export type { NewOptionUnit, NewOptionUnitTranslation, NewProduct, NewProductActivationSetting, NewProductCapability, NewProductCategory, NewProductDay, NewProductDayService, NewProductDayTranslation, NewProductDeliveryFormat, NewProductFaq, NewProductFeature, NewProductItinerary, NewProductLocation, NewProductMedia, NewProductNote, NewProductOption, NewProductOptionTranslation, NewProductTag, NewProductTicketSetting, NewProductTranslation, NewProductType, NewProductVersion, NewProductVisibilitySetting, OptionUnit, OptionUnitTranslation, Product, ProductActivationSetting, ProductCapability, ProductCategory, ProductDay, ProductDayService, ProductDayTranslation, ProductDeliveryFormat, ProductFaq, ProductFeature, ProductItinerary, ProductLocation, ProductMedia, ProductNote, ProductOption, ProductOptionTranslation, ProductTag, ProductTicketSetting, ProductTranslation, ProductType, ProductVersion, ProductVisibilitySetting, } from "./schema.js";
16
+ export { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productDayServices, productDays, productDayTranslations, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productMediaTypeEnum, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
17
+ export { duplicateItinerarySchema, insertDaySchema, insertDayServiceSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductDayTranslationSchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productDeliveryFormatListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, selectProductSchema, updateDaySchema, updateDayServiceSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductDayTranslationSchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema, } from "./validation.js";
18
18
  export type { CatalogSearchDocument, CatalogSearchDocumentListQuery, CatalogSearchDocumentListResponse, LocalizedCatalogProductDetail, LocalizedCatalogProductSummary, } from "./validation-catalog.js";
19
19
  export { catalogSearchDocumentListQuerySchema, catalogSearchDocumentListResponseSchema, catalogSearchDocumentSchema, localizedCatalogProductDetailSchema, localizedCatalogProductSummarySchema, } from "./validation-catalog.js";
20
20
  export { publicCatalogDestinationListQuerySchema, publicCatalogDestinationListResponseSchema, publicCatalogDestinationSchema, } from "./validation-public.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAKvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,KAAK,0BAA0B,GAChC,MAAM,aAAa,CAAA;AACpB,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAChD,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EACL,oCAAoC,EACpC,6CAA6C,EAC7C,oDAAoD,EACpD,oCAAoC,EACpC,KAAK,sCAAsC,EAC3C,+BAA+B,EAC/B,kCAAkC,EAClC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,E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B,EAC9B,uBAAuB,EACvB,oCAAoC,EACpC,mBAAmB,EACnB,yBAAyB,EACzB,oCAAoC,EACpC,uCAAuC,EACvC,gCAAgC,EAChC,8BAA8B,EAC9B,oCAAoC,EACpC,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,uCAAuC,EACvC,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,0BAA0B,EAC1B,uCAAuC,EACvC,yBAAyB,EACzB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,iCAAiC,EACjC,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,oCAAoC,EACpC,mBAAmB,EACnB,sBAAsB,EACtB,gCAAgC,EAChC,8BAA8B,EAC9B,uBAAuB,EACvB,oCAAoC,EACpC,2BAA2B,GAC5B,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,qBAAqB,EACrB,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,oCAAoC,EACpC,uCAAuC,EACvC,2BAA2B,EAC3B,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,uCAAuC,EACvC,0CAA0C,EAC1C,8BAA8B,GAC/B,MAAM,wBAAwB,CAAA"}
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ export const productsHonoModule = {
25
25
  publicRoutes: publicProductRoutes,
26
26
  routes: productRoutes,
27
27
  };
28
- export { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productDayServices, productDays, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productMediaTypeEnum, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
29
- export { duplicateItinerarySchema, insertDaySchema, insertDayServiceSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productDeliveryFormatListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, selectProductSchema, updateDaySchema, updateDayServiceSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema, } from "./validation.js";
28
+ export { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productDayServices, productDays, productDayTranslations, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productMediaTypeEnum, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
29
+ export { duplicateItinerarySchema, insertDaySchema, insertDayServiceSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductDayTranslationSchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productDeliveryFormatListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, selectProductSchema, updateDaySchema, updateDayServiceSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductDayTranslationSchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema, } from "./validation.js";
30
30
  export { catalogSearchDocumentListQuerySchema, catalogSearchDocumentListResponseSchema, catalogSearchDocumentSchema, localizedCatalogProductDetailSchema, localizedCatalogProductSummarySchema, } from "./validation-catalog.js";
31
31
  export { publicCatalogDestinationListQuerySchema, publicCatalogDestinationListResponseSchema, publicCatalogDestinationSchema, } from "./validation-public.js";
@@ -39,6 +39,7 @@ export declare const productCoreRoutes: import("hono/hono-base").HonoBase<Env, {
39
39
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
40
40
  capacityMode: "free_sale" | "limited" | "on_request";
41
41
  timezone: string | null;
42
+ defaultLanguageTag: string | null;
42
43
  visibility: "public" | "private" | "hidden";
43
44
  activated: boolean;
44
45
  reservationTimeoutMinutes: number | null;
@@ -85,6 +86,7 @@ export declare const productCoreRoutes: import("hono/hono-base").HonoBase<Env, {
85
86
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
86
87
  capacityMode: "free_sale" | "limited" | "on_request";
87
88
  timezone: string | null;
89
+ defaultLanguageTag: string | null;
88
90
  visibility: "public" | "private" | "hidden";
89
91
  activated: boolean;
90
92
  reservationTimeoutMinutes: number | null;
@@ -146,6 +148,7 @@ export declare const productCoreRoutes: import("hono/hono-base").HonoBase<Env, {
146
148
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
147
149
  capacityMode: "free_sale" | "limited" | "on_request";
148
150
  timezone: string | null;
151
+ defaultLanguageTag: string | null;
149
152
  visibility: "public" | "private" | "hidden";
150
153
  activated: boolean;
151
154
  reservationTimeoutMinutes: number | null;
@@ -272,6 +275,7 @@ export declare const productCoreRoutes: import("hono/hono-base").HonoBase<Env, {
272
275
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
273
276
  capacityMode: "free_sale" | "limited" | "on_request";
274
277
  timezone: string | null;
278
+ defaultLanguageTag: string | null;
275
279
  visibility: "public" | "private" | "hidden";
276
280
  activated: boolean;
277
281
  reservationTimeoutMinutes: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"routes-core.d.ts","sourceRoot":"","sources":["../src/routes-core.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsF1B,CAAA"}
1
+ {"version":3,"file":"routes-core.d.ts","sourceRoot":"","sources":["../src/routes-core.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsF1B,CAAA"}
@@ -500,6 +500,151 @@ export declare const productItineraryRoutes: import("hono/hono-base").HonoBase<E
500
500
  status: 200;
501
501
  };
502
502
  };
503
+ } & {
504
+ "/:id/days/:dayId/translations": {
505
+ $get: {
506
+ input: {
507
+ param: {
508
+ id: string;
509
+ } & {
510
+ dayId: string;
511
+ };
512
+ };
513
+ output: {
514
+ data: {
515
+ id: string;
516
+ dayId: string;
517
+ languageTag: string;
518
+ title: string | null;
519
+ description: string | null;
520
+ location: string | null;
521
+ createdAt: string;
522
+ updatedAt: string;
523
+ }[];
524
+ total: number;
525
+ limit: number;
526
+ offset: number;
527
+ };
528
+ outputFormat: "json";
529
+ status: import("hono/utils/http-status").ContentfulStatusCode;
530
+ };
531
+ };
532
+ } & {
533
+ "/:id/days/:dayId/translations": {
534
+ $post: {
535
+ input: {
536
+ param: {
537
+ id: string;
538
+ } & {
539
+ dayId: string;
540
+ };
541
+ };
542
+ output: {
543
+ error: string;
544
+ };
545
+ outputFormat: "json";
546
+ status: 404;
547
+ } | {
548
+ input: {
549
+ param: {
550
+ id: string;
551
+ } & {
552
+ dayId: string;
553
+ };
554
+ };
555
+ output: {
556
+ data: {
557
+ id: string;
558
+ createdAt: string;
559
+ description: string | null;
560
+ updatedAt: string;
561
+ title: string | null;
562
+ location: string | null;
563
+ dayId: string;
564
+ languageTag: string;
565
+ };
566
+ };
567
+ outputFormat: "json";
568
+ status: 201;
569
+ };
570
+ };
571
+ } & {
572
+ "/:id/days/:dayId/translations/:translationId": {
573
+ $patch: {
574
+ input: {
575
+ param: {
576
+ id: string;
577
+ } & {
578
+ dayId: string;
579
+ } & {
580
+ translationId: string;
581
+ };
582
+ };
583
+ output: {
584
+ error: string;
585
+ };
586
+ outputFormat: "json";
587
+ status: 404;
588
+ } | {
589
+ input: {
590
+ param: {
591
+ id: string;
592
+ } & {
593
+ dayId: string;
594
+ } & {
595
+ translationId: string;
596
+ };
597
+ };
598
+ output: {
599
+ data: {
600
+ id: string;
601
+ dayId: string;
602
+ languageTag: string;
603
+ title: string | null;
604
+ description: string | null;
605
+ location: string | null;
606
+ createdAt: string;
607
+ updatedAt: string;
608
+ };
609
+ };
610
+ outputFormat: "json";
611
+ status: import("hono/utils/http-status").ContentfulStatusCode;
612
+ };
613
+ };
614
+ } & {
615
+ "/:id/days/:dayId/translations/:translationId": {
616
+ $delete: {
617
+ input: {
618
+ param: {
619
+ id: string;
620
+ } & {
621
+ dayId: string;
622
+ } & {
623
+ translationId: string;
624
+ };
625
+ };
626
+ output: {
627
+ error: string;
628
+ };
629
+ outputFormat: "json";
630
+ status: 404;
631
+ } | {
632
+ input: {
633
+ param: {
634
+ id: string;
635
+ } & {
636
+ dayId: string;
637
+ } & {
638
+ translationId: string;
639
+ };
640
+ };
641
+ output: {
642
+ success: true;
643
+ };
644
+ outputFormat: "json";
645
+ status: 200;
646
+ };
647
+ };
503
648
  } & {
504
649
  "/:id/versions": {
505
650
  $get: {
@@ -1 +1 @@
1
- {"version":3,"file":"routes-itinerary.d.ts","sourceRoot":"","sources":["../src/routes-itinerary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA"}
@@ -267,6 +267,84 @@ export const productItineraryRoutes = new Hono()
267
267
  });
268
268
  await emitProductContentChanged(c.get("eventBus"), { id: before.productId, axis: "day" });
269
269
  return c.json({ success: true }, 200);
270
+ })
271
+ // ==========================================================================
272
+ // Day translations
273
+ // ==========================================================================
274
+ // GET /:id/days/:dayId/translations — List translations for a day
275
+ .get("/:id/days/:dayId/translations", async (c) => {
276
+ return c.json(await productsService.listProductDayTranslations(c.get("db"), {
277
+ dayId: c.req.param("dayId"),
278
+ limit: 100,
279
+ offset: 0,
280
+ }));
281
+ })
282
+ // POST /:id/days/:dayId/translations — Add a translation to a day
283
+ .post("/:id/days/:dayId/translations", async (c) => {
284
+ const productId = c.req.param("id");
285
+ const dayId = c.req.param("dayId");
286
+ const body = await parseJsonBody(c, validation.insertProductDayTranslationSchema);
287
+ const row = await productsService.createProductDayTranslation(c.get("db"), productId, dayId, body);
288
+ if (!row) {
289
+ return c.json({ error: "Day not found" }, 404);
290
+ }
291
+ await appendProductMutationLedgerEntry(c, {
292
+ action: "create",
293
+ productId,
294
+ changedFields: changedMutationFields(body, null, row),
295
+ subject: "product day translation",
296
+ actionName: "product.day_translation.create",
297
+ routeOrToolName: "products.day_translation.create",
298
+ });
299
+ await emitProductContentChanged(c.get("eventBus"), { id: productId, axis: "day" });
300
+ return c.json({ data: row }, 201);
301
+ })
302
+ // PATCH /:id/days/:dayId/translations/:translationId — Update a day translation
303
+ .patch("/:id/days/:dayId/translations/:translationId", async (c) => {
304
+ const productId = c.req.param("id");
305
+ const translationId = c.req.param("translationId");
306
+ const before = await productsService.getDayTranslationForProductMutation(c.get("db"), translationId);
307
+ if (!before || before.productId !== productId || before.dayId !== c.req.param("dayId")) {
308
+ return c.json({ error: "Day translation not found" }, 404);
309
+ }
310
+ const body = await parseJsonBody(c, validation.updateProductDayTranslationSchema);
311
+ const row = await productsService.updateProductDayTranslation(c.get("db"), translationId, body);
312
+ if (!row) {
313
+ return c.json({ error: "Day translation not found" }, 404);
314
+ }
315
+ await appendProductMutationLedgerEntry(c, {
316
+ action: "update",
317
+ productId,
318
+ changedFields: changedMutationFields(body, before, row),
319
+ subject: "product day translation",
320
+ actionName: "product.day_translation.update",
321
+ routeOrToolName: "products.day_translation.update",
322
+ });
323
+ await emitProductContentChanged(c.get("eventBus"), { id: productId, axis: "day" });
324
+ return c.json({ data: row });
325
+ })
326
+ // DELETE /:id/days/:dayId/translations/:translationId — Delete a day translation
327
+ .delete("/:id/days/:dayId/translations/:translationId", async (c) => {
328
+ const productId = c.req.param("id");
329
+ const translationId = c.req.param("translationId");
330
+ const before = await productsService.getDayTranslationForProductMutation(c.get("db"), translationId);
331
+ if (!before || before.productId !== productId || before.dayId !== c.req.param("dayId")) {
332
+ return c.json({ error: "Day translation not found" }, 404);
333
+ }
334
+ const row = await productsService.deleteProductDayTranslation(c.get("db"), translationId);
335
+ if (!row) {
336
+ return c.json({ error: "Day translation not found" }, 404);
337
+ }
338
+ await appendProductMutationLedgerEntry(c, {
339
+ action: "delete",
340
+ productId,
341
+ changedFields: [],
342
+ subject: "product day translation",
343
+ actionName: "product.day_translation.delete",
344
+ routeOrToolName: "products.day_translation.delete",
345
+ });
346
+ await emitProductContentChanged(c.get("eventBus"), { id: productId, axis: "day" });
347
+ return c.json({ success: true }, 200);
270
348
  })
271
349
  // ==========================================================================
272
350
  // Versions
package/dist/routes.d.ts CHANGED
@@ -4298,6 +4298,151 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
4298
4298
  status: 200;
4299
4299
  };
4300
4300
  };
4301
+ } & {
4302
+ "/:id/days/:dayId/translations": {
4303
+ $get: {
4304
+ input: {
4305
+ param: {
4306
+ id: string;
4307
+ } & {
4308
+ dayId: string;
4309
+ };
4310
+ };
4311
+ output: {
4312
+ data: {
4313
+ id: string;
4314
+ dayId: string;
4315
+ languageTag: string;
4316
+ title: string | null;
4317
+ description: string | null;
4318
+ location: string | null;
4319
+ createdAt: string;
4320
+ updatedAt: string;
4321
+ }[];
4322
+ total: number;
4323
+ limit: number;
4324
+ offset: number;
4325
+ };
4326
+ outputFormat: "json";
4327
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4328
+ };
4329
+ };
4330
+ } & {
4331
+ "/:id/days/:dayId/translations": {
4332
+ $post: {
4333
+ input: {
4334
+ param: {
4335
+ id: string;
4336
+ } & {
4337
+ dayId: string;
4338
+ };
4339
+ };
4340
+ output: {
4341
+ error: string;
4342
+ };
4343
+ outputFormat: "json";
4344
+ status: 404;
4345
+ } | {
4346
+ input: {
4347
+ param: {
4348
+ id: string;
4349
+ } & {
4350
+ dayId: string;
4351
+ };
4352
+ };
4353
+ output: {
4354
+ data: {
4355
+ id: string;
4356
+ createdAt: string;
4357
+ description: string | null;
4358
+ updatedAt: string;
4359
+ title: string | null;
4360
+ location: string | null;
4361
+ dayId: string;
4362
+ languageTag: string;
4363
+ };
4364
+ };
4365
+ outputFormat: "json";
4366
+ status: 201;
4367
+ };
4368
+ };
4369
+ } & {
4370
+ "/:id/days/:dayId/translations/:translationId": {
4371
+ $patch: {
4372
+ input: {
4373
+ param: {
4374
+ id: string;
4375
+ } & {
4376
+ dayId: string;
4377
+ } & {
4378
+ translationId: string;
4379
+ };
4380
+ };
4381
+ output: {
4382
+ error: string;
4383
+ };
4384
+ outputFormat: "json";
4385
+ status: 404;
4386
+ } | {
4387
+ input: {
4388
+ param: {
4389
+ id: string;
4390
+ } & {
4391
+ dayId: string;
4392
+ } & {
4393
+ translationId: string;
4394
+ };
4395
+ };
4396
+ output: {
4397
+ data: {
4398
+ id: string;
4399
+ dayId: string;
4400
+ languageTag: string;
4401
+ title: string | null;
4402
+ description: string | null;
4403
+ location: string | null;
4404
+ createdAt: string;
4405
+ updatedAt: string;
4406
+ };
4407
+ };
4408
+ outputFormat: "json";
4409
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4410
+ };
4411
+ };
4412
+ } & {
4413
+ "/:id/days/:dayId/translations/:translationId": {
4414
+ $delete: {
4415
+ input: {
4416
+ param: {
4417
+ id: string;
4418
+ } & {
4419
+ dayId: string;
4420
+ } & {
4421
+ translationId: string;
4422
+ };
4423
+ };
4424
+ output: {
4425
+ error: string;
4426
+ };
4427
+ outputFormat: "json";
4428
+ status: 404;
4429
+ } | {
4430
+ input: {
4431
+ param: {
4432
+ id: string;
4433
+ } & {
4434
+ dayId: string;
4435
+ } & {
4436
+ translationId: string;
4437
+ };
4438
+ };
4439
+ output: {
4440
+ success: true;
4441
+ };
4442
+ outputFormat: "json";
4443
+ status: 200;
4444
+ };
4445
+ };
4301
4446
  } & {
4302
4447
  "/:id/versions": {
4303
4448
  $get: {
@@ -4638,6 +4783,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
4638
4783
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
4639
4784
  capacityMode: "free_sale" | "limited" | "on_request";
4640
4785
  timezone: string | null;
4786
+ defaultLanguageTag: string | null;
4641
4787
  visibility: "public" | "private" | "hidden";
4642
4788
  activated: boolean;
4643
4789
  reservationTimeoutMinutes: number | null;
@@ -4684,6 +4830,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
4684
4830
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
4685
4831
  capacityMode: "free_sale" | "limited" | "on_request";
4686
4832
  timezone: string | null;
4833
+ defaultLanguageTag: string | null;
4687
4834
  visibility: "public" | "private" | "hidden";
4688
4835
  activated: boolean;
4689
4836
  reservationTimeoutMinutes: number | null;
@@ -4745,6 +4892,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
4745
4892
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
4746
4893
  capacityMode: "free_sale" | "limited" | "on_request";
4747
4894
  timezone: string | null;
4895
+ defaultLanguageTag: string | null;
4748
4896
  visibility: "public" | "private" | "hidden";
4749
4897
  activated: boolean;
4750
4898
  reservationTimeoutMinutes: number | null;
@@ -4871,6 +5019,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, impor
4871
5019
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
4872
5020
  capacityMode: "free_sale" | "limited" | "on_request";
4873
5021
  timezone: string | null;
5022
+ defaultLanguageTag: string | null;
4874
5023
  visibility: "public" | "private" | "hidden";
4875
5024
  activated: boolean;
4876
5025
  reservationTimeoutMinutes: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAYzC,YAAY,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAGzC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUM,CAAA;AAEhC,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -189,6 +189,23 @@ export declare const products: import("drizzle-orm/pg-core").PgTableWithColumns<
189
189
  identity: undefined;
190
190
  generated: undefined;
191
191
  }, {}, {}>;
192
+ defaultLanguageTag: import("drizzle-orm/pg-core").PgColumn<{
193
+ name: "default_language_tag";
194
+ tableName: "products";
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
+ }, {}, {}>;
192
209
  visibility: import("drizzle-orm/pg-core").PgColumn<{
193
210
  name: "visibility";
194
211
  tableName: "products";
@@ -1 +1 @@
1
- {"version":3,"file":"schema-core.d.ts","sourceRoot":"","sources":["../src/schema-core.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,WAAW,CAAC,YAAY,CAAA;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBlC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,OAAO,sBAAsB,CAAC,YAAY,CAAA;AAC9E,MAAM,MAAM,wBAAwB,GAAG,OAAO,sBAAsB,CAAC,YAAY,CAAA"}
@@ -13,6 +13,12 @@ export const products = pgTable("products", {
13
13
  bookingMode: productBookingModeEnum("booking_mode").notNull().default("date"),
14
14
  capacityMode: productCapacityModeEnum("capacity_mode").notNull().default("limited"),
15
15
  timezone: text("timezone"),
16
+ /**
17
+ * BCP-47 tag for the language the base `name`/`description` columns are
18
+ * written in. Translations cover the other languages; public serving
19
+ * falls back to these base columns for this locale. Null until set.
20
+ */
21
+ defaultLanguageTag: text("default_language_tag"),
16
22
  visibility: productVisibilityEnum("visibility").notNull().default("private"),
17
23
  activated: boolean("activated").notNull().default(false),
18
24
  reservationTimeoutMinutes: integer("reservation_timeout_minutes"),
@@ -271,6 +271,151 @@ export declare const productDays: import("drizzle-orm/pg-core").PgTableWithColum
271
271
  }>;
272
272
  export type ProductDay = typeof productDays.$inferSelect;
273
273
  export type NewProductDay = typeof productDays.$inferInsert;
274
+ export declare const productDayTranslations: import("drizzle-orm/pg-core").PgTableWithColumns<{
275
+ name: "product_day_translations";
276
+ schema: undefined;
277
+ columns: {
278
+ id: import("drizzle-orm/pg-core").PgColumn<{
279
+ name: string;
280
+ tableName: "product_day_translations";
281
+ dataType: "string";
282
+ columnType: "PgText";
283
+ data: string;
284
+ driverParam: string;
285
+ notNull: true;
286
+ hasDefault: true;
287
+ isPrimaryKey: true;
288
+ isAutoincrement: false;
289
+ hasRuntimeDefault: true;
290
+ enumValues: [string, ...string[]];
291
+ baseColumn: never;
292
+ identity: undefined;
293
+ generated: undefined;
294
+ }, {}, {}>;
295
+ dayId: import("drizzle-orm/pg-core").PgColumn<{
296
+ name: string;
297
+ tableName: "product_day_translations";
298
+ dataType: "string";
299
+ columnType: "PgText";
300
+ data: string;
301
+ driverParam: string;
302
+ notNull: true;
303
+ hasDefault: false;
304
+ isPrimaryKey: false;
305
+ isAutoincrement: false;
306
+ hasRuntimeDefault: false;
307
+ enumValues: [string, ...string[]];
308
+ baseColumn: never;
309
+ identity: undefined;
310
+ generated: undefined;
311
+ }, {}, {}>;
312
+ languageTag: import("drizzle-orm/pg-core").PgColumn<{
313
+ name: "language_tag";
314
+ tableName: "product_day_translations";
315
+ dataType: "string";
316
+ columnType: "PgText";
317
+ data: string;
318
+ driverParam: string;
319
+ notNull: true;
320
+ hasDefault: false;
321
+ isPrimaryKey: false;
322
+ isAutoincrement: false;
323
+ hasRuntimeDefault: false;
324
+ enumValues: [string, ...string[]];
325
+ baseColumn: never;
326
+ identity: undefined;
327
+ generated: undefined;
328
+ }, {}, {}>;
329
+ title: import("drizzle-orm/pg-core").PgColumn<{
330
+ name: "title";
331
+ tableName: "product_day_translations";
332
+ dataType: "string";
333
+ columnType: "PgText";
334
+ data: string;
335
+ driverParam: string;
336
+ notNull: false;
337
+ hasDefault: false;
338
+ isPrimaryKey: false;
339
+ isAutoincrement: false;
340
+ hasRuntimeDefault: false;
341
+ enumValues: [string, ...string[]];
342
+ baseColumn: never;
343
+ identity: undefined;
344
+ generated: undefined;
345
+ }, {}, {}>;
346
+ description: import("drizzle-orm/pg-core").PgColumn<{
347
+ name: "description";
348
+ tableName: "product_day_translations";
349
+ dataType: "string";
350
+ columnType: "PgText";
351
+ data: string;
352
+ driverParam: string;
353
+ notNull: false;
354
+ hasDefault: false;
355
+ isPrimaryKey: false;
356
+ isAutoincrement: false;
357
+ hasRuntimeDefault: false;
358
+ enumValues: [string, ...string[]];
359
+ baseColumn: never;
360
+ identity: undefined;
361
+ generated: undefined;
362
+ }, {}, {}>;
363
+ location: import("drizzle-orm/pg-core").PgColumn<{
364
+ name: "location";
365
+ tableName: "product_day_translations";
366
+ dataType: "string";
367
+ columnType: "PgText";
368
+ data: string;
369
+ driverParam: string;
370
+ notNull: false;
371
+ hasDefault: false;
372
+ isPrimaryKey: false;
373
+ isAutoincrement: false;
374
+ hasRuntimeDefault: false;
375
+ enumValues: [string, ...string[]];
376
+ baseColumn: never;
377
+ identity: undefined;
378
+ generated: undefined;
379
+ }, {}, {}>;
380
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
381
+ name: "created_at";
382
+ tableName: "product_day_translations";
383
+ dataType: "date";
384
+ columnType: "PgTimestamp";
385
+ data: Date;
386
+ driverParam: string;
387
+ notNull: true;
388
+ hasDefault: true;
389
+ isPrimaryKey: false;
390
+ isAutoincrement: false;
391
+ hasRuntimeDefault: false;
392
+ enumValues: undefined;
393
+ baseColumn: never;
394
+ identity: undefined;
395
+ generated: undefined;
396
+ }, {}, {}>;
397
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
398
+ name: "updated_at";
399
+ tableName: "product_day_translations";
400
+ dataType: "date";
401
+ columnType: "PgTimestamp";
402
+ data: Date;
403
+ driverParam: string;
404
+ notNull: true;
405
+ hasDefault: true;
406
+ isPrimaryKey: false;
407
+ isAutoincrement: false;
408
+ hasRuntimeDefault: false;
409
+ enumValues: undefined;
410
+ baseColumn: never;
411
+ identity: undefined;
412
+ generated: undefined;
413
+ }, {}, {}>;
414
+ };
415
+ dialect: "pg";
416
+ }>;
417
+ export type ProductDayTranslation = typeof productDayTranslations.$inferSelect;
418
+ export type NewProductDayTranslation = typeof productDayTranslations.$inferInsert;
274
419
  export declare const productDayServices: import("drizzle-orm/pg-core").PgTableWithColumns<{
275
420
  name: "product_day_services";
276
421
  schema: undefined;
@@ -1 +1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erary").on(table.itineraryId),
37
37
  index("idx_product_days_itinerary_day_number").on(table.itineraryId, table.dayNumber),
38
38
  ]);
39
+ export const productDayTranslations = pgTable("product_day_translations", {
40
+ id: typeId("product_day_translations"),
41
+ dayId: typeIdRef("day_id")
42
+ .notNull()
43
+ .references(() => productDays.id, { onDelete: "cascade" }),
44
+ languageTag: text("language_tag").notNull(),
45
+ title: text("title"),
46
+ description: text("description"),
47
+ location: text("location"),
48
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
49
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
50
+ }, (table) => [
51
+ index("idx_product_day_translations_day").on(table.dayId),
52
+ index("idx_product_day_translations_language").on(table.languageTag),
53
+ uniqueIndex("uidx_product_day_translations_day_language").on(table.dayId, table.languageTag),
54
+ ]);
39
55
  export const productDayServices = pgTable("product_day_services", {
40
56
  id: typeId("product_day_services"),
41
57
  dayId: typeIdRef("day_id")
package/dist/service.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
2
2
  import type { z } from "zod";
3
3
  import { getProductAggregates } from "./service-aggregates.js";
4
- import type { destinationListQuerySchema, destinationTranslationListQuerySchema, insertDaySchema, insertDayServiceSchema, insertDestinationSchema, insertDestinationTranslationSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductCategoryTranslationSchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTagTranslationSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productCategoryTranslationListQuerySchema, productDeliveryFormatListQuerySchema, productDestinationListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTagTranslationListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, updateDaySchema, updateDayServiceSchema, updateDestinationSchema, updateDestinationTranslationSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductCategoryTranslationSchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTagTranslationSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema } from "./validation.js";
4
+ import type { destinationListQuerySchema, destinationTranslationListQuerySchema, insertDaySchema, insertDayServiceSchema, insertDestinationSchema, insertDestinationTranslationSchema, insertItinerarySchema, insertOptionUnitSchema, insertOptionUnitTranslationSchema, insertProductActivationSettingSchema, insertProductCapabilitySchema, insertProductCategorySchema, insertProductCategoryTranslationSchema, insertProductDayTranslationSchema, insertProductDeliveryFormatSchema, insertProductFaqSchema, insertProductFeatureSchema, insertProductLocationSchema, insertProductMediaSchema, insertProductNoteSchema, insertProductOptionSchema, insertProductOptionTranslationSchema, insertProductSchema, insertProductTagSchema, insertProductTagTranslationSchema, insertProductTicketSettingSchema, insertProductTranslationSchema, insertProductTypeSchema, insertProductVisibilitySettingSchema, insertVersionSchema, optionUnitListQuerySchema, optionUnitTranslationListQuerySchema, productActivationSettingListQuerySchema, productCapabilityListQuerySchema, productCategoryListQuerySchema, productCategoryTranslationListQuerySchema, productDayTranslationListQuerySchema, productDeliveryFormatListQuerySchema, productDestinationListQuerySchema, productFaqListQuerySchema, productFeatureListQuerySchema, productListQuerySchema, productLocationListQuerySchema, productMediaListQuerySchema, productOptionListQuerySchema, productOptionTranslationListQuerySchema, productTagListQuerySchema, productTagTranslationListQuerySchema, productTicketSettingListQuerySchema, productTranslationListQuerySchema, productTypeListQuerySchema, productVisibilitySettingListQuerySchema, reorderProductMediaSchema, updateDaySchema, updateDayServiceSchema, updateDestinationSchema, updateDestinationTranslationSchema, updateItinerarySchema, updateOptionUnitSchema, updateOptionUnitTranslationSchema, updateProductActivationSettingSchema, updateProductCapabilitySchema, updateProductCategorySchema, updateProductCategoryTranslationSchema, updateProductDayTranslationSchema, updateProductDeliveryFormatSchema, updateProductFaqSchema, updateProductFeatureSchema, updateProductLocationSchema, updateProductMediaSchema, updateProductOptionSchema, updateProductOptionTranslationSchema, updateProductSchema, updateProductTagSchema, updateProductTagTranslationSchema, updateProductTicketSettingSchema, updateProductTranslationSchema, updateProductTypeSchema, updateProductVisibilitySettingSchema, upsertProductBrochureSchema } from "./validation.js";
5
5
  type ProductListQuery = z.infer<typeof productListQuerySchema>;
6
6
  type CreateProductInput = z.infer<typeof insertProductSchema>;
7
7
  type UpdateProductInput = z.infer<typeof updateProductSchema>;
@@ -14,6 +14,9 @@ type UpdateOptionUnitInput = z.infer<typeof updateOptionUnitSchema>;
14
14
  type ProductTranslationListQuery = z.infer<typeof productTranslationListQuerySchema>;
15
15
  type CreateProductTranslationInput = z.infer<typeof insertProductTranslationSchema>;
16
16
  type UpdateProductTranslationInput = z.infer<typeof updateProductTranslationSchema>;
17
+ type ProductDayTranslationListQuery = z.infer<typeof productDayTranslationListQuerySchema>;
18
+ type CreateProductDayTranslationInput = z.infer<typeof insertProductDayTranslationSchema>;
19
+ type UpdateProductDayTranslationInput = z.infer<typeof updateProductDayTranslationSchema>;
17
20
  type ProductOptionTranslationListQuery = z.infer<typeof productOptionTranslationListQuerySchema>;
18
21
  type CreateProductOptionTranslationInput = z.infer<typeof insertProductOptionTranslationSchema>;
19
22
  type UpdateProductOptionTranslationInput = z.infer<typeof updateProductOptionTranslationSchema>;
@@ -94,6 +97,7 @@ export declare const productsService: {
94
97
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
95
98
  capacityMode: "free_sale" | "limited" | "on_request";
96
99
  timezone: string | null;
100
+ defaultLanguageTag: string | null;
97
101
  visibility: "public" | "private" | "hidden";
98
102
  activated: boolean;
99
103
  reservationTimeoutMinutes: number | null;
@@ -130,6 +134,7 @@ export declare const productsService: {
130
134
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
131
135
  capacityMode: "free_sale" | "limited" | "on_request";
132
136
  timezone: string | null;
137
+ defaultLanguageTag: string | null;
133
138
  visibility: "public" | "private" | "hidden";
134
139
  activated: boolean;
135
140
  reservationTimeoutMinutes: number | null;
@@ -173,6 +178,7 @@ export declare const productsService: {
173
178
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
174
179
  capacityMode: "free_sale" | "limited" | "on_request";
175
180
  timezone: string | null;
181
+ defaultLanguageTag: string | null;
176
182
  visibility: "public" | "private" | "hidden";
177
183
  activated: boolean;
178
184
  reservationTimeoutMinutes: number | null;
@@ -206,6 +212,7 @@ export declare const productsService: {
206
212
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
207
213
  capacityMode: "free_sale" | "limited" | "on_request";
208
214
  timezone: string | null;
215
+ defaultLanguageTag: string | null;
209
216
  visibility: "public" | "private" | "hidden";
210
217
  activated: boolean;
211
218
  reservationTimeoutMinutes: number | null;
@@ -237,6 +244,7 @@ export declare const productsService: {
237
244
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
238
245
  capacityMode: "free_sale" | "limited" | "on_request";
239
246
  timezone: string | null;
247
+ defaultLanguageTag: string | null;
240
248
  visibility: "public" | "private" | "hidden";
241
249
  activated: boolean;
242
250
  reservationTimeoutMinutes: number | null;
@@ -1191,6 +1199,65 @@ export declare const productsService: {
1191
1199
  deleteProductTranslation(db: PostgresJsDatabase, id: string): Promise<{
1192
1200
  id: string;
1193
1201
  } | null>;
1202
+ listProductDayTranslations(db: PostgresJsDatabase, query: ProductDayTranslationListQuery): Promise<{
1203
+ data: {
1204
+ id: string;
1205
+ dayId: string;
1206
+ languageTag: string;
1207
+ title: string | null;
1208
+ description: string | null;
1209
+ location: string | null;
1210
+ createdAt: Date;
1211
+ updatedAt: Date;
1212
+ }[];
1213
+ total: number;
1214
+ limit: number;
1215
+ offset: number;
1216
+ }>;
1217
+ getProductDayTranslationById(db: PostgresJsDatabase, id: string): Promise<{
1218
+ id: string;
1219
+ dayId: string;
1220
+ languageTag: string;
1221
+ title: string | null;
1222
+ description: string | null;
1223
+ location: string | null;
1224
+ createdAt: Date;
1225
+ updatedAt: Date;
1226
+ } | null>;
1227
+ getDayTranslationForProductMutation(db: PostgresJsDatabase, id: string): Promise<{
1228
+ productId: string;
1229
+ id: string;
1230
+ dayId: string;
1231
+ languageTag: string;
1232
+ title: string | null;
1233
+ description: string | null;
1234
+ location: string | null;
1235
+ createdAt: Date;
1236
+ updatedAt: Date;
1237
+ } | null>;
1238
+ createProductDayTranslation(db: PostgresJsDatabase, productId: string, dayId: string, data: CreateProductDayTranslationInput): Promise<{
1239
+ id: string;
1240
+ createdAt: Date;
1241
+ description: string | null;
1242
+ updatedAt: Date;
1243
+ title: string | null;
1244
+ location: string | null;
1245
+ dayId: string;
1246
+ languageTag: string;
1247
+ } | null>;
1248
+ updateProductDayTranslation(db: PostgresJsDatabase, id: string, data: UpdateProductDayTranslationInput): Promise<{
1249
+ id: string;
1250
+ dayId: string;
1251
+ languageTag: string;
1252
+ title: string | null;
1253
+ description: string | null;
1254
+ location: string | null;
1255
+ createdAt: Date;
1256
+ updatedAt: Date;
1257
+ } | null>;
1258
+ deleteProductDayTranslation(db: PostgresJsDatabase, id: string): Promise<{
1259
+ id: string;
1260
+ } | null>;
1194
1261
  listOptionTranslations(db: PostgresJsDatabase, query: ProductOptionTranslationListQuery): Promise<{
1195
1262
  data: {
1196
1263
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,KAAK,EACV,0BAA0B,EAC1B,qCAAqC,EACrC,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,kCAAkC,EAClC,qBAAqB,EACrB,sBAAsB,EACtB,iCAAiC,EACjC,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,sCAAsC,EACtC,iCAAiC,EACjC,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EACzB,oCAAoC,EACpC,mBAAmB,EACnB,sBAAsB,EACtB,iCAAiC,EACjC,gCAAgC,EAChC,8BAA8B,EAC9B,uBAAuB,EACvB,oCAAoC,EACpC,mBAAmB,EACnB,yBAAyB,EACzB,oCAAoC,EACpC,uCAAuC,EACvC,gCAAgC,EAChC,8BAA8B,EAC9B,yCAAyC,EACzC,oCAAoC,EACpC,iCAAiC,EACjC,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,uCAAuC,EACvC,yBAAyB,EACzB,oCAAoC,EACpC,mCAAmC,EACnC,iCAAiC,EACjC,0BAA0B,EAC1B,uCAAuC,EACvC,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,kCAAkC,EAClC,qBAAqB,EACrB,sBAAsB,EAC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from "drizzle-orm";
3
- import { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productCategoryTranslations, productDayServices, productDays, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTagTranslations, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
3
+ import { destinations, destinationTranslations, optionUnits, optionUnitTranslations, productActivationSettings, productCapabilities, productCategories, productCategoryProducts, productCategoryTranslations, productDayServices, productDays, productDayTranslations, productDeliveryFormats, productDestinations, productFaqs, productFeatures, productItineraries, productLocations, productMedia, productNotes, productOptions, productOptionTranslations, products, productTagProducts, productTags, productTagTranslations, productTicketSettings, productTranslations, productTypes, productVersions, productVisibilitySettings, } from "./schema.js";
4
4
  import { getProductAggregates } from "./service-aggregates.js";
5
5
  import { validateMergedOptionUnit } from "./validation-core.js";
6
6
  async function recalculateProductCost(db, productId) {
@@ -64,6 +64,35 @@ async function ensureDefaultItinerary(db, productId) {
64
64
  }
65
65
  return row;
66
66
  }
67
+ // Every product needs at least one bookable option for the operator pricing
68
+ // grid to have something to attach inventory and prices to. Seed a single
69
+ // "Standard" default option on creation so a brand-new product opens straight
70
+ // into the (flattened) pricing table instead of an empty options state.
71
+ async function ensureDefaultOption(db, productId) {
72
+ const [existing] = await db
73
+ .select({ id: productOptions.id })
74
+ .from(productOptions)
75
+ .where(eq(productOptions.productId, productId))
76
+ .limit(1);
77
+ if (existing) {
78
+ return existing;
79
+ }
80
+ const [row] = await db
81
+ .insert(productOptions)
82
+ .values({
83
+ productId,
84
+ name: "Standard",
85
+ code: "standard",
86
+ status: "active",
87
+ isDefault: true,
88
+ sortOrder: 0,
89
+ })
90
+ .returning({ id: productOptions.id });
91
+ if (!row) {
92
+ throw new Error(`Failed to create default option for product ${productId}`);
93
+ }
94
+ return row;
95
+ }
67
96
  async function getItineraryById(db, itineraryId) {
68
97
  const [itinerary] = await db
69
98
  .select()
@@ -241,6 +270,7 @@ export const productsService = {
241
270
  throw new Error("Failed to create product");
242
271
  }
243
272
  await ensureDefaultItinerary(db, row.id);
273
+ await ensureDefaultOption(db, row.id);
244
274
  return row;
245
275
  },
246
276
  async updateProduct(db, id, data) {
@@ -1478,6 +1508,78 @@ export const productsService = {
1478
1508
  .returning({ id: productTranslations.id });
1479
1509
  return row ?? null;
1480
1510
  },
1511
+ async listProductDayTranslations(db, query) {
1512
+ const conditions = [];
1513
+ if (query.dayId) {
1514
+ conditions.push(eq(productDayTranslations.dayId, query.dayId));
1515
+ }
1516
+ if (query.languageTag) {
1517
+ conditions.push(eq(productDayTranslations.languageTag, query.languageTag));
1518
+ }
1519
+ const where = conditions.length > 0 ? and(...conditions) : undefined;
1520
+ const [rows, countResult] = await Promise.all([
1521
+ db
1522
+ .select()
1523
+ .from(productDayTranslations)
1524
+ .where(where)
1525
+ .limit(query.limit)
1526
+ .offset(query.offset)
1527
+ .orderBy(asc(productDayTranslations.languageTag), asc(productDayTranslations.createdAt)),
1528
+ db.select({ count: sql `count(*)::int` }).from(productDayTranslations).where(where),
1529
+ ]);
1530
+ return {
1531
+ data: rows,
1532
+ total: countResult[0]?.count ?? 0,
1533
+ limit: query.limit,
1534
+ offset: query.offset,
1535
+ };
1536
+ },
1537
+ async getProductDayTranslationById(db, id) {
1538
+ const [row] = await db
1539
+ .select()
1540
+ .from(productDayTranslations)
1541
+ .where(eq(productDayTranslations.id, id))
1542
+ .limit(1);
1543
+ return row ?? null;
1544
+ },
1545
+ async getDayTranslationForProductMutation(db, id) {
1546
+ const [row] = await db
1547
+ .select()
1548
+ .from(productDayTranslations)
1549
+ .where(eq(productDayTranslations.id, id))
1550
+ .limit(1);
1551
+ if (!row) {
1552
+ return null;
1553
+ }
1554
+ const dayRef = await getDayById(db, row.dayId);
1555
+ return dayRef ? { ...row, productId: dayRef.productId } : null;
1556
+ },
1557
+ async createProductDayTranslation(db, productId, dayId, data) {
1558
+ const dayRef = await getDayById(db, dayId);
1559
+ if (!dayRef || dayRef.productId !== productId) {
1560
+ return null;
1561
+ }
1562
+ const [row] = await db
1563
+ .insert(productDayTranslations)
1564
+ .values({ ...data, dayId })
1565
+ .returning();
1566
+ return row ?? null;
1567
+ },
1568
+ async updateProductDayTranslation(db, id, data) {
1569
+ const [row] = await db
1570
+ .update(productDayTranslations)
1571
+ .set({ ...data, updatedAt: new Date() })
1572
+ .where(eq(productDayTranslations.id, id))
1573
+ .returning();
1574
+ return row ?? null;
1575
+ },
1576
+ async deleteProductDayTranslation(db, id) {
1577
+ const [row] = await db
1578
+ .delete(productDayTranslations)
1579
+ .where(eq(productDayTranslations.id, id))
1580
+ .returning({ id: productDayTranslations.id });
1581
+ return row ?? null;
1582
+ },
1481
1583
  async listOptionTranslations(db, query) {
1482
1584
  const conditions = [];
1483
1585
  if (query.optionId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/products",
3
- "version": "0.101.1",
3
+ "version": "0.102.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -132,14 +132,14 @@
132
132
  "pdf-lib": "^1.17.1",
133
133
  "sanitize-html": "^2.17.4",
134
134
  "zod": "^4.3.6",
135
- "@voyantjs/action-ledger": "0.101.1",
136
- "@voyantjs/core": "0.101.1",
137
- "@voyantjs/db": "0.101.1",
138
- "@voyantjs/hono": "0.101.1",
139
- "@voyantjs/products-contracts": "0.101.1",
140
- "@voyantjs/utils": "0.101.1",
141
- "@voyantjs/catalog": "0.101.1",
142
- "@voyantjs/storage": "0.101.1"
135
+ "@voyantjs/action-ledger": "0.102.0",
136
+ "@voyantjs/core": "0.102.0",
137
+ "@voyantjs/db": "0.102.0",
138
+ "@voyantjs/hono": "0.102.0",
139
+ "@voyantjs/products-contracts": "0.102.0",
140
+ "@voyantjs/utils": "0.102.0",
141
+ "@voyantjs/catalog": "0.102.0",
142
+ "@voyantjs/storage": "0.102.0"
143
143
  },
144
144
  "devDependencies": {
145
145
  "@types/sanitize-html": "^2.16.1",