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