@voyantjs/products 0.52.2 → 0.52.3

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.
Files changed (62) hide show
  1. package/dist/action-ledger-drift.d.ts +29 -0
  2. package/dist/action-ledger-drift.d.ts.map +1 -0
  3. package/dist/action-ledger-drift.js +335 -0
  4. package/dist/action-ledger.d.ts +104 -0
  5. package/dist/action-ledger.d.ts.map +1 -0
  6. package/dist/action-ledger.js +100 -0
  7. package/dist/booking-extension.d.ts +3 -3
  8. package/dist/events.d.ts +1 -1
  9. package/dist/events.d.ts.map +1 -1
  10. package/dist/route-env.d.ts +22 -0
  11. package/dist/route-env.d.ts.map +1 -0
  12. package/dist/route-env.js +1 -0
  13. package/dist/routes-associations.d.ts +164 -0
  14. package/dist/routes-associations.d.ts.map +1 -0
  15. package/dist/routes-associations.js +100 -0
  16. package/dist/routes-catalog.d.ts +436 -0
  17. package/dist/routes-catalog.d.ts.map +1 -0
  18. package/dist/routes-catalog.js +104 -0
  19. package/dist/routes-configuration.d.ts +773 -0
  20. package/dist/routes-configuration.d.ts.map +1 -0
  21. package/dist/routes-configuration.js +364 -0
  22. package/dist/routes-core.d.ts +302 -0
  23. package/dist/routes-core.d.ts.map +1 -0
  24. package/dist/routes-core.js +79 -0
  25. package/dist/routes-itinerary.d.ts +614 -0
  26. package/dist/routes-itinerary.d.ts.map +1 -0
  27. package/dist/routes-itinerary.js +309 -0
  28. package/dist/routes-maintenance.d.ts +32 -0
  29. package/dist/routes-maintenance.d.ts.map +1 -0
  30. package/dist/routes-maintenance.js +14 -0
  31. package/dist/routes-media.d.ts +634 -0
  32. package/dist/routes-media.d.ts.map +1 -0
  33. package/dist/routes-media.js +245 -0
  34. package/dist/routes-merchandising.d.ts +1108 -0
  35. package/dist/routes-merchandising.d.ts.map +1 -0
  36. package/dist/routes-merchandising.js +376 -0
  37. package/dist/routes-options.d.ts +363 -0
  38. package/dist/routes-options.d.ts.map +1 -0
  39. package/dist/routes-options.js +173 -0
  40. package/dist/routes-public.d.ts +4 -4
  41. package/dist/routes-translations.d.ts +477 -0
  42. package/dist/routes-translations.d.ts.map +1 -0
  43. package/dist/routes-translations.js +258 -0
  44. package/dist/routes.d.ts +417 -355
  45. package/dist/routes.d.ts.map +1 -1
  46. package/dist/routes.js +21 -1133
  47. package/dist/schema-core.d.ts +3 -3
  48. package/dist/schema-itinerary.d.ts +1 -1
  49. package/dist/schema-settings.d.ts +4 -4
  50. package/dist/service-catalog.d.ts +2 -2
  51. package/dist/service-public.d.ts +4 -4
  52. package/dist/service.d.ts +225 -97
  53. package/dist/service.d.ts.map +1 -1
  54. package/dist/service.js +91 -0
  55. package/dist/tasks/brochures.d.ts +1 -1
  56. package/dist/validation-catalog.d.ts +10 -10
  57. package/dist/validation-config.d.ts +17 -17
  58. package/dist/validation-content.d.ts +26 -26
  59. package/dist/validation-core.d.ts +21 -21
  60. package/dist/validation-public.d.ts +25 -25
  61. package/dist/validation-shared.d.ts +11 -11
  62. package/package.json +13 -7
@@ -0,0 +1,1108 @@
1
+ import type { Env } from "./route-env.js";
2
+ export declare const productMerchandisingRoutes: import("hono/hono-base").HonoBase<Env, {
3
+ "/features": {
4
+ $get: {
5
+ input: {};
6
+ output: {
7
+ data: {
8
+ id: string;
9
+ productId: string;
10
+ featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
11
+ title: string;
12
+ description: string | null;
13
+ sortOrder: number;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ }[];
17
+ total: number;
18
+ limit: number;
19
+ offset: number;
20
+ };
21
+ outputFormat: "json";
22
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23
+ };
24
+ };
25
+ } & {
26
+ "/features/:id": {
27
+ $get: {
28
+ input: {
29
+ param: {
30
+ id: string;
31
+ };
32
+ };
33
+ output: {
34
+ error: string;
35
+ };
36
+ outputFormat: "json";
37
+ status: 404;
38
+ } | {
39
+ input: {
40
+ param: {
41
+ id: string;
42
+ };
43
+ };
44
+ output: {
45
+ data: {
46
+ id: string;
47
+ productId: string;
48
+ featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
49
+ title: string;
50
+ description: string | null;
51
+ sortOrder: number;
52
+ createdAt: string;
53
+ updatedAt: string;
54
+ };
55
+ };
56
+ outputFormat: "json";
57
+ status: import("hono/utils/http-status").ContentfulStatusCode;
58
+ };
59
+ };
60
+ } & {
61
+ "/:id/features": {
62
+ $post: {
63
+ input: {
64
+ param: {
65
+ id: string;
66
+ };
67
+ };
68
+ output: {
69
+ error: string;
70
+ };
71
+ outputFormat: "json";
72
+ status: 404;
73
+ } | {
74
+ input: {
75
+ param: {
76
+ id: string;
77
+ };
78
+ };
79
+ output: {
80
+ data: {
81
+ id: string;
82
+ description: string | null;
83
+ createdAt: string;
84
+ updatedAt: string;
85
+ productId: string;
86
+ sortOrder: number;
87
+ title: string;
88
+ featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
89
+ };
90
+ };
91
+ outputFormat: "json";
92
+ status: 201;
93
+ };
94
+ };
95
+ } & {
96
+ "/features/:id": {
97
+ $patch: {
98
+ input: {
99
+ param: {
100
+ id: string;
101
+ };
102
+ };
103
+ output: {
104
+ error: string;
105
+ };
106
+ outputFormat: "json";
107
+ status: 404;
108
+ } | {
109
+ input: {
110
+ param: {
111
+ id: string;
112
+ };
113
+ };
114
+ output: {
115
+ data: {
116
+ id: string;
117
+ productId: string;
118
+ featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
119
+ title: string;
120
+ description: string | null;
121
+ sortOrder: number;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ };
125
+ };
126
+ outputFormat: "json";
127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
128
+ };
129
+ };
130
+ } & {
131
+ "/features/:id": {
132
+ $delete: {
133
+ input: {
134
+ param: {
135
+ id: string;
136
+ };
137
+ };
138
+ output: {
139
+ error: string;
140
+ };
141
+ outputFormat: "json";
142
+ status: 404;
143
+ } | {
144
+ input: {
145
+ param: {
146
+ id: string;
147
+ };
148
+ };
149
+ output: {
150
+ success: true;
151
+ };
152
+ outputFormat: "json";
153
+ status: 200;
154
+ };
155
+ };
156
+ } & {
157
+ "/faqs": {
158
+ $get: {
159
+ input: {};
160
+ output: {
161
+ data: {
162
+ id: string;
163
+ productId: string;
164
+ question: string;
165
+ answer: string;
166
+ sortOrder: number;
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ }[];
170
+ total: number;
171
+ limit: number;
172
+ offset: number;
173
+ };
174
+ outputFormat: "json";
175
+ status: import("hono/utils/http-status").ContentfulStatusCode;
176
+ };
177
+ };
178
+ } & {
179
+ "/faqs/:id": {
180
+ $get: {
181
+ input: {
182
+ param: {
183
+ id: string;
184
+ };
185
+ };
186
+ output: {
187
+ error: string;
188
+ };
189
+ outputFormat: "json";
190
+ status: 404;
191
+ } | {
192
+ input: {
193
+ param: {
194
+ id: string;
195
+ };
196
+ };
197
+ output: {
198
+ data: {
199
+ id: string;
200
+ productId: string;
201
+ question: string;
202
+ answer: string;
203
+ sortOrder: number;
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ };
207
+ };
208
+ outputFormat: "json";
209
+ status: import("hono/utils/http-status").ContentfulStatusCode;
210
+ };
211
+ };
212
+ } & {
213
+ "/:id/faqs": {
214
+ $post: {
215
+ input: {
216
+ param: {
217
+ id: string;
218
+ };
219
+ };
220
+ output: {
221
+ error: string;
222
+ };
223
+ outputFormat: "json";
224
+ status: 404;
225
+ } | {
226
+ input: {
227
+ param: {
228
+ id: string;
229
+ };
230
+ };
231
+ output: {
232
+ data: {
233
+ id: string;
234
+ createdAt: string;
235
+ updatedAt: string;
236
+ productId: string;
237
+ sortOrder: number;
238
+ question: string;
239
+ answer: string;
240
+ };
241
+ };
242
+ outputFormat: "json";
243
+ status: 201;
244
+ };
245
+ };
246
+ } & {
247
+ "/faqs/:id": {
248
+ $patch: {
249
+ input: {
250
+ param: {
251
+ id: string;
252
+ };
253
+ };
254
+ output: {
255
+ error: string;
256
+ };
257
+ outputFormat: "json";
258
+ status: 404;
259
+ } | {
260
+ input: {
261
+ param: {
262
+ id: string;
263
+ };
264
+ };
265
+ output: {
266
+ data: {
267
+ id: string;
268
+ productId: string;
269
+ question: string;
270
+ answer: string;
271
+ sortOrder: number;
272
+ createdAt: string;
273
+ updatedAt: string;
274
+ };
275
+ };
276
+ outputFormat: "json";
277
+ status: import("hono/utils/http-status").ContentfulStatusCode;
278
+ };
279
+ };
280
+ } & {
281
+ "/faqs/:id": {
282
+ $delete: {
283
+ input: {
284
+ param: {
285
+ id: string;
286
+ };
287
+ };
288
+ output: {
289
+ error: string;
290
+ };
291
+ outputFormat: "json";
292
+ status: 404;
293
+ } | {
294
+ input: {
295
+ param: {
296
+ id: string;
297
+ };
298
+ };
299
+ output: {
300
+ success: true;
301
+ };
302
+ outputFormat: "json";
303
+ status: 200;
304
+ };
305
+ };
306
+ } & {
307
+ "/locations": {
308
+ $get: {
309
+ input: {};
310
+ output: {
311
+ data: {
312
+ id: string;
313
+ productId: string;
314
+ locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
315
+ title: string;
316
+ address: string | null;
317
+ city: string | null;
318
+ countryCode: string | null;
319
+ latitude: number | null;
320
+ longitude: number | null;
321
+ googlePlaceId: string | null;
322
+ applePlaceId: string | null;
323
+ tripadvisorLocationId: string | null;
324
+ sortOrder: number;
325
+ createdAt: string;
326
+ updatedAt: string;
327
+ }[];
328
+ total: number;
329
+ limit: number;
330
+ offset: number;
331
+ };
332
+ outputFormat: "json";
333
+ status: import("hono/utils/http-status").ContentfulStatusCode;
334
+ };
335
+ };
336
+ } & {
337
+ "/locations/:id": {
338
+ $get: {
339
+ input: {
340
+ param: {
341
+ id: string;
342
+ };
343
+ };
344
+ output: {
345
+ error: string;
346
+ };
347
+ outputFormat: "json";
348
+ status: 404;
349
+ } | {
350
+ input: {
351
+ param: {
352
+ id: string;
353
+ };
354
+ };
355
+ output: {
356
+ data: {
357
+ id: string;
358
+ productId: string;
359
+ locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
360
+ title: string;
361
+ address: string | null;
362
+ city: string | null;
363
+ countryCode: string | null;
364
+ latitude: number | null;
365
+ longitude: number | null;
366
+ googlePlaceId: string | null;
367
+ applePlaceId: string | null;
368
+ tripadvisorLocationId: string | null;
369
+ sortOrder: number;
370
+ createdAt: string;
371
+ updatedAt: string;
372
+ };
373
+ };
374
+ outputFormat: "json";
375
+ status: import("hono/utils/http-status").ContentfulStatusCode;
376
+ };
377
+ };
378
+ } & {
379
+ "/:id/locations": {
380
+ $post: {
381
+ input: {
382
+ param: {
383
+ id: string;
384
+ };
385
+ };
386
+ output: {
387
+ error: string;
388
+ };
389
+ outputFormat: "json";
390
+ status: 404;
391
+ } | {
392
+ input: {
393
+ param: {
394
+ id: string;
395
+ };
396
+ };
397
+ output: {
398
+ data: {
399
+ id: string;
400
+ createdAt: string;
401
+ updatedAt: string;
402
+ productId: string;
403
+ sortOrder: number;
404
+ title: string;
405
+ countryCode: string | null;
406
+ locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
407
+ address: string | null;
408
+ city: string | null;
409
+ latitude: number | null;
410
+ longitude: number | null;
411
+ googlePlaceId: string | null;
412
+ applePlaceId: string | null;
413
+ tripadvisorLocationId: string | null;
414
+ };
415
+ };
416
+ outputFormat: "json";
417
+ status: 201;
418
+ };
419
+ };
420
+ } & {
421
+ "/locations/:id": {
422
+ $patch: {
423
+ input: {
424
+ param: {
425
+ id: string;
426
+ };
427
+ };
428
+ output: {
429
+ error: string;
430
+ };
431
+ outputFormat: "json";
432
+ status: 404;
433
+ } | {
434
+ input: {
435
+ param: {
436
+ id: string;
437
+ };
438
+ };
439
+ output: {
440
+ data: {
441
+ id: string;
442
+ productId: string;
443
+ locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
444
+ title: string;
445
+ address: string | null;
446
+ city: string | null;
447
+ countryCode: string | null;
448
+ latitude: number | null;
449
+ longitude: number | null;
450
+ googlePlaceId: string | null;
451
+ applePlaceId: string | null;
452
+ tripadvisorLocationId: string | null;
453
+ sortOrder: number;
454
+ createdAt: string;
455
+ updatedAt: string;
456
+ };
457
+ };
458
+ outputFormat: "json";
459
+ status: import("hono/utils/http-status").ContentfulStatusCode;
460
+ };
461
+ };
462
+ } & {
463
+ "/locations/:id": {
464
+ $delete: {
465
+ input: {
466
+ param: {
467
+ id: string;
468
+ };
469
+ };
470
+ output: {
471
+ error: string;
472
+ };
473
+ outputFormat: "json";
474
+ status: 404;
475
+ } | {
476
+ input: {
477
+ param: {
478
+ id: string;
479
+ };
480
+ };
481
+ output: {
482
+ success: true;
483
+ };
484
+ outputFormat: "json";
485
+ status: 200;
486
+ };
487
+ };
488
+ } & {
489
+ "/destinations": {
490
+ $get: {
491
+ input: {};
492
+ output: {
493
+ data: {
494
+ translation: {
495
+ id: string;
496
+ destinationId: string;
497
+ languageTag: string;
498
+ name: string;
499
+ description: string | null;
500
+ seoTitle: string | null;
501
+ seoDescription: string | null;
502
+ createdAt: string;
503
+ updatedAt: string;
504
+ } | null;
505
+ id: string;
506
+ parentId: string | null;
507
+ slug: string;
508
+ code: string | null;
509
+ destinationType: string;
510
+ sortOrder: number;
511
+ active: boolean;
512
+ metadata: {
513
+ [x: string]: import("hono/utils/types").JSONValue;
514
+ } | null;
515
+ createdAt: string;
516
+ updatedAt: string;
517
+ }[];
518
+ total: number;
519
+ limit: number;
520
+ offset: number;
521
+ };
522
+ outputFormat: "json";
523
+ status: import("hono/utils/http-status").ContentfulStatusCode;
524
+ };
525
+ };
526
+ } & {
527
+ "/destinations/:id": {
528
+ $get: {
529
+ input: {
530
+ param: {
531
+ id: string;
532
+ };
533
+ };
534
+ output: {
535
+ error: string;
536
+ };
537
+ outputFormat: "json";
538
+ status: 404;
539
+ } | {
540
+ input: {
541
+ param: {
542
+ id: string;
543
+ };
544
+ };
545
+ output: {
546
+ data: {
547
+ translations: {
548
+ id: string;
549
+ destinationId: string;
550
+ languageTag: string;
551
+ name: string;
552
+ description: string | null;
553
+ seoTitle: string | null;
554
+ seoDescription: string | null;
555
+ createdAt: string;
556
+ updatedAt: string;
557
+ }[];
558
+ id: string;
559
+ parentId: string | null;
560
+ slug: string;
561
+ code: string | null;
562
+ destinationType: string;
563
+ sortOrder: number;
564
+ active: boolean;
565
+ metadata: {
566
+ [x: string]: import("hono/utils/types").JSONValue;
567
+ } | null;
568
+ createdAt: string;
569
+ updatedAt: string;
570
+ };
571
+ };
572
+ outputFormat: "json";
573
+ status: import("hono/utils/http-status").ContentfulStatusCode;
574
+ };
575
+ };
576
+ } & {
577
+ "/destinations": {
578
+ $post: {
579
+ input: {};
580
+ output: {
581
+ data: {
582
+ id: string;
583
+ createdAt: string;
584
+ active: boolean;
585
+ updatedAt: string;
586
+ code: string | null;
587
+ sortOrder: number;
588
+ slug: string;
589
+ metadata: {
590
+ [x: string]: import("hono/utils/types").JSONValue;
591
+ } | null;
592
+ parentId: string | null;
593
+ destinationType: string;
594
+ } | null;
595
+ };
596
+ outputFormat: "json";
597
+ status: 201;
598
+ };
599
+ };
600
+ } & {
601
+ "/destinations/:id": {
602
+ $patch: {
603
+ input: {
604
+ param: {
605
+ id: string;
606
+ };
607
+ };
608
+ output: {
609
+ error: string;
610
+ };
611
+ outputFormat: "json";
612
+ status: 404;
613
+ } | {
614
+ input: {
615
+ param: {
616
+ id: string;
617
+ };
618
+ };
619
+ output: {
620
+ data: {
621
+ id: string;
622
+ parentId: string | null;
623
+ slug: string;
624
+ code: string | null;
625
+ destinationType: string;
626
+ sortOrder: number;
627
+ active: boolean;
628
+ metadata: {
629
+ [x: string]: import("hono/utils/types").JSONValue;
630
+ } | null;
631
+ createdAt: string;
632
+ updatedAt: string;
633
+ };
634
+ };
635
+ outputFormat: "json";
636
+ status: import("hono/utils/http-status").ContentfulStatusCode;
637
+ };
638
+ };
639
+ } & {
640
+ "/destinations/:id": {
641
+ $delete: {
642
+ input: {
643
+ param: {
644
+ id: string;
645
+ };
646
+ };
647
+ output: {
648
+ error: string;
649
+ };
650
+ outputFormat: "json";
651
+ status: 404;
652
+ } | {
653
+ input: {
654
+ param: {
655
+ id: string;
656
+ };
657
+ };
658
+ output: {
659
+ success: true;
660
+ };
661
+ outputFormat: "json";
662
+ status: 200;
663
+ };
664
+ };
665
+ } & {
666
+ "/destination-translations": {
667
+ $get: {
668
+ input: {};
669
+ output: {
670
+ data: {
671
+ id: string;
672
+ destinationId: string;
673
+ languageTag: string;
674
+ name: string;
675
+ description: string | null;
676
+ seoTitle: string | null;
677
+ seoDescription: string | null;
678
+ createdAt: string;
679
+ updatedAt: string;
680
+ }[];
681
+ total: number;
682
+ limit: number;
683
+ offset: number;
684
+ };
685
+ outputFormat: "json";
686
+ status: import("hono/utils/http-status").ContentfulStatusCode;
687
+ };
688
+ };
689
+ } & {
690
+ "/destinations/:id/translations": {
691
+ $post: {
692
+ input: {
693
+ param: {
694
+ id: string;
695
+ };
696
+ };
697
+ output: {
698
+ error: string;
699
+ };
700
+ outputFormat: "json";
701
+ status: 404;
702
+ } | {
703
+ input: {
704
+ param: {
705
+ id: string;
706
+ };
707
+ };
708
+ output: {
709
+ data: {
710
+ name: string;
711
+ id: string;
712
+ description: string | null;
713
+ createdAt: string;
714
+ updatedAt: string;
715
+ languageTag: string;
716
+ seoTitle: string | null;
717
+ seoDescription: string | null;
718
+ destinationId: string;
719
+ };
720
+ };
721
+ outputFormat: "json";
722
+ status: 201;
723
+ };
724
+ };
725
+ } & {
726
+ "/destination-translations/:id": {
727
+ $patch: {
728
+ input: {
729
+ param: {
730
+ id: string;
731
+ };
732
+ };
733
+ output: {
734
+ error: string;
735
+ };
736
+ outputFormat: "json";
737
+ status: 404;
738
+ } | {
739
+ input: {
740
+ param: {
741
+ id: string;
742
+ };
743
+ };
744
+ output: {
745
+ data: {
746
+ id: string;
747
+ destinationId: string;
748
+ languageTag: string;
749
+ name: string;
750
+ description: string | null;
751
+ seoTitle: string | null;
752
+ seoDescription: string | null;
753
+ createdAt: string;
754
+ updatedAt: string;
755
+ };
756
+ };
757
+ outputFormat: "json";
758
+ status: import("hono/utils/http-status").ContentfulStatusCode;
759
+ };
760
+ };
761
+ } & {
762
+ "/destination-translations/:id": {
763
+ $delete: {
764
+ input: {
765
+ param: {
766
+ id: string;
767
+ };
768
+ };
769
+ output: {
770
+ error: string;
771
+ };
772
+ outputFormat: "json";
773
+ status: 404;
774
+ } | {
775
+ input: {
776
+ param: {
777
+ id: string;
778
+ };
779
+ };
780
+ output: {
781
+ success: true;
782
+ };
783
+ outputFormat: "json";
784
+ status: 200;
785
+ };
786
+ };
787
+ } & {
788
+ "/product-category-translations": {
789
+ $get: {
790
+ input: {};
791
+ output: {
792
+ data: {
793
+ id: string;
794
+ categoryId: string;
795
+ languageTag: string;
796
+ name: string;
797
+ description: string | null;
798
+ seoTitle: string | null;
799
+ seoDescription: string | null;
800
+ createdAt: string;
801
+ updatedAt: string;
802
+ }[];
803
+ total: number;
804
+ limit: number;
805
+ offset: number;
806
+ };
807
+ outputFormat: "json";
808
+ status: import("hono/utils/http-status").ContentfulStatusCode;
809
+ };
810
+ };
811
+ } & {
812
+ "/product-categories/:id/translations": {
813
+ $post: {
814
+ input: {
815
+ param: {
816
+ id: string;
817
+ };
818
+ };
819
+ output: {
820
+ error: string;
821
+ };
822
+ outputFormat: "json";
823
+ status: 404;
824
+ } | {
825
+ input: {
826
+ param: {
827
+ id: string;
828
+ };
829
+ };
830
+ output: {
831
+ data: {
832
+ name: string;
833
+ id: string;
834
+ description: string | null;
835
+ createdAt: string;
836
+ updatedAt: string;
837
+ languageTag: string;
838
+ seoTitle: string | null;
839
+ seoDescription: string | null;
840
+ categoryId: string;
841
+ };
842
+ };
843
+ outputFormat: "json";
844
+ status: 201;
845
+ };
846
+ };
847
+ } & {
848
+ "/product-category-translations/:id": {
849
+ $patch: {
850
+ input: {
851
+ param: {
852
+ id: string;
853
+ };
854
+ };
855
+ output: {
856
+ error: string;
857
+ };
858
+ outputFormat: "json";
859
+ status: 404;
860
+ } | {
861
+ input: {
862
+ param: {
863
+ id: string;
864
+ };
865
+ };
866
+ output: {
867
+ data: {
868
+ id: string;
869
+ categoryId: string;
870
+ languageTag: string;
871
+ name: string;
872
+ description: string | null;
873
+ seoTitle: string | null;
874
+ seoDescription: string | null;
875
+ createdAt: string;
876
+ updatedAt: string;
877
+ };
878
+ };
879
+ outputFormat: "json";
880
+ status: import("hono/utils/http-status").ContentfulStatusCode;
881
+ };
882
+ };
883
+ } & {
884
+ "/product-category-translations/:id": {
885
+ $delete: {
886
+ input: {
887
+ param: {
888
+ id: string;
889
+ };
890
+ };
891
+ output: {
892
+ error: string;
893
+ };
894
+ outputFormat: "json";
895
+ status: 404;
896
+ } | {
897
+ input: {
898
+ param: {
899
+ id: string;
900
+ };
901
+ };
902
+ output: {
903
+ success: true;
904
+ };
905
+ outputFormat: "json";
906
+ status: 200;
907
+ };
908
+ };
909
+ } & {
910
+ "/product-tag-translations": {
911
+ $get: {
912
+ input: {};
913
+ output: {
914
+ data: {
915
+ id: string;
916
+ tagId: string;
917
+ languageTag: string;
918
+ name: string;
919
+ createdAt: string;
920
+ updatedAt: string;
921
+ }[];
922
+ total: number;
923
+ limit: number;
924
+ offset: number;
925
+ };
926
+ outputFormat: "json";
927
+ status: import("hono/utils/http-status").ContentfulStatusCode;
928
+ };
929
+ };
930
+ } & {
931
+ "/product-tags/:id/translations": {
932
+ $post: {
933
+ input: {
934
+ param: {
935
+ id: string;
936
+ };
937
+ };
938
+ output: {
939
+ error: string;
940
+ };
941
+ outputFormat: "json";
942
+ status: 404;
943
+ } | {
944
+ input: {
945
+ param: {
946
+ id: string;
947
+ };
948
+ };
949
+ output: {
950
+ data: {
951
+ name: string;
952
+ id: string;
953
+ createdAt: string;
954
+ updatedAt: string;
955
+ languageTag: string;
956
+ tagId: string;
957
+ };
958
+ };
959
+ outputFormat: "json";
960
+ status: 201;
961
+ };
962
+ };
963
+ } & {
964
+ "/product-tag-translations/:id": {
965
+ $patch: {
966
+ input: {
967
+ param: {
968
+ id: string;
969
+ };
970
+ };
971
+ output: {
972
+ error: string;
973
+ };
974
+ outputFormat: "json";
975
+ status: 404;
976
+ } | {
977
+ input: {
978
+ param: {
979
+ id: string;
980
+ };
981
+ };
982
+ output: {
983
+ data: {
984
+ id: string;
985
+ tagId: string;
986
+ languageTag: string;
987
+ name: string;
988
+ createdAt: string;
989
+ updatedAt: string;
990
+ };
991
+ };
992
+ outputFormat: "json";
993
+ status: import("hono/utils/http-status").ContentfulStatusCode;
994
+ };
995
+ };
996
+ } & {
997
+ "/product-tag-translations/:id": {
998
+ $delete: {
999
+ input: {
1000
+ param: {
1001
+ id: string;
1002
+ };
1003
+ };
1004
+ output: {
1005
+ error: string;
1006
+ };
1007
+ outputFormat: "json";
1008
+ status: 404;
1009
+ } | {
1010
+ input: {
1011
+ param: {
1012
+ id: string;
1013
+ };
1014
+ };
1015
+ output: {
1016
+ success: true;
1017
+ };
1018
+ outputFormat: "json";
1019
+ status: 200;
1020
+ };
1021
+ };
1022
+ } & {
1023
+ "/destination-links": {
1024
+ $get: {
1025
+ input: {};
1026
+ output: {
1027
+ data: {
1028
+ productId: string;
1029
+ destinationId: string;
1030
+ sortOrder: number;
1031
+ createdAt: string;
1032
+ updatedAt: string;
1033
+ destinationSlug: string;
1034
+ destinationType: string;
1035
+ destinationActive: boolean;
1036
+ }[];
1037
+ total: number;
1038
+ limit: number;
1039
+ offset: number;
1040
+ };
1041
+ outputFormat: "json";
1042
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1043
+ };
1044
+ };
1045
+ } & {
1046
+ "/:id/destinations": {
1047
+ $post: {
1048
+ input: {
1049
+ param: {
1050
+ id: string;
1051
+ };
1052
+ };
1053
+ output: {
1054
+ error: string;
1055
+ };
1056
+ outputFormat: "json";
1057
+ status: 404;
1058
+ } | {
1059
+ input: {
1060
+ param: {
1061
+ id: string;
1062
+ };
1063
+ };
1064
+ output: {
1065
+ data: {
1066
+ createdAt: string;
1067
+ updatedAt: string;
1068
+ productId: string;
1069
+ sortOrder: number;
1070
+ destinationId: string;
1071
+ };
1072
+ };
1073
+ outputFormat: "json";
1074
+ status: 201;
1075
+ };
1076
+ };
1077
+ } & {
1078
+ "/:id/destinations/:destinationId": {
1079
+ $delete: {
1080
+ input: {
1081
+ param: {
1082
+ id: string;
1083
+ } & {
1084
+ destinationId: string;
1085
+ };
1086
+ };
1087
+ output: {
1088
+ error: string;
1089
+ };
1090
+ outputFormat: "json";
1091
+ status: 404;
1092
+ } | {
1093
+ input: {
1094
+ param: {
1095
+ id: string;
1096
+ } & {
1097
+ destinationId: string;
1098
+ };
1099
+ };
1100
+ output: {
1101
+ success: true;
1102
+ };
1103
+ outputFormat: "json";
1104
+ status: 200;
1105
+ };
1106
+ };
1107
+ }, "/", "/:id/destinations/:destinationId">;
1108
+ //# sourceMappingURL=routes-merchandising.d.ts.map