@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,759 @@
1
+ import type { Env } from "./route-env.js";
2
+ export declare const productItineraryRoutes: import("hono/hono-base").HonoBase<Env, {
3
+ "/:id/itineraries": {
4
+ $get: {
5
+ input: {
6
+ param: {
7
+ id: string;
8
+ };
9
+ };
10
+ output: {
11
+ data: {
12
+ id: string;
13
+ productId: string;
14
+ name: string;
15
+ isDefault: boolean;
16
+ sortOrder: number;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ }[];
20
+ };
21
+ outputFormat: "json";
22
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23
+ };
24
+ };
25
+ } & {
26
+ "/:id/itineraries": {
27
+ $post: {
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
+ name: string;
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ productId: string;
51
+ isDefault: boolean;
52
+ sortOrder: number;
53
+ };
54
+ };
55
+ outputFormat: "json";
56
+ status: 201;
57
+ };
58
+ };
59
+ } & {
60
+ "/itineraries/:itineraryId": {
61
+ $patch: {
62
+ input: {
63
+ param: {
64
+ itineraryId: string;
65
+ };
66
+ };
67
+ output: {
68
+ error: string;
69
+ };
70
+ outputFormat: "json";
71
+ status: 404;
72
+ } | {
73
+ input: {
74
+ param: {
75
+ itineraryId: string;
76
+ };
77
+ };
78
+ output: {
79
+ data: {
80
+ id: string;
81
+ productId: string;
82
+ name: string;
83
+ isDefault: boolean;
84
+ sortOrder: number;
85
+ createdAt: string;
86
+ updatedAt: string;
87
+ };
88
+ };
89
+ outputFormat: "json";
90
+ status: import("hono/utils/http-status").ContentfulStatusCode;
91
+ };
92
+ };
93
+ } & {
94
+ "/itineraries/:itineraryId": {
95
+ $delete: {
96
+ input: {
97
+ param: {
98
+ itineraryId: string;
99
+ };
100
+ };
101
+ output: {
102
+ error: string;
103
+ };
104
+ outputFormat: "json";
105
+ status: 404;
106
+ } | {
107
+ input: {
108
+ param: {
109
+ itineraryId: string;
110
+ };
111
+ };
112
+ output: {
113
+ success: true;
114
+ };
115
+ outputFormat: "json";
116
+ status: 200;
117
+ };
118
+ };
119
+ } & {
120
+ "/itineraries/:itineraryId/duplicate": {
121
+ $post: {
122
+ input: {
123
+ param: {
124
+ itineraryId: string;
125
+ };
126
+ };
127
+ output: {
128
+ error: string;
129
+ };
130
+ outputFormat: "json";
131
+ status: 404;
132
+ } | {
133
+ input: {
134
+ param: {
135
+ itineraryId: string;
136
+ };
137
+ };
138
+ output: {
139
+ data: {
140
+ id: string;
141
+ name: string;
142
+ createdAt: string;
143
+ updatedAt: string;
144
+ productId: string;
145
+ isDefault: boolean;
146
+ sortOrder: number;
147
+ };
148
+ };
149
+ outputFormat: "json";
150
+ status: 201;
151
+ };
152
+ };
153
+ } & {
154
+ "/:id/itineraries/:itineraryId/days": {
155
+ $get: {
156
+ input: {
157
+ param: {
158
+ id: string;
159
+ } & {
160
+ itineraryId: string;
161
+ };
162
+ };
163
+ output: {
164
+ data: {
165
+ id: string;
166
+ itineraryId: string;
167
+ dayNumber: number;
168
+ title: string | null;
169
+ description: string | null;
170
+ location: string | null;
171
+ createdAt: string;
172
+ updatedAt: string;
173
+ }[];
174
+ };
175
+ outputFormat: "json";
176
+ status: import("hono/utils/http-status").ContentfulStatusCode;
177
+ };
178
+ };
179
+ } & {
180
+ "/:id/itineraries/:itineraryId/days": {
181
+ $post: {
182
+ input: {
183
+ param: {
184
+ id: string;
185
+ } & {
186
+ itineraryId: string;
187
+ };
188
+ };
189
+ output: {
190
+ error: string;
191
+ };
192
+ outputFormat: "json";
193
+ status: 404;
194
+ } | {
195
+ input: {
196
+ param: {
197
+ id: string;
198
+ } & {
199
+ itineraryId: string;
200
+ };
201
+ };
202
+ output: {
203
+ data: {
204
+ id: string;
205
+ description: string | null;
206
+ createdAt: string;
207
+ updatedAt: string;
208
+ title: string | null;
209
+ location: string | null;
210
+ dayNumber: number;
211
+ itineraryId: string;
212
+ };
213
+ };
214
+ outputFormat: "json";
215
+ status: 201;
216
+ };
217
+ };
218
+ } & {
219
+ "/:id/days": {
220
+ $get: {
221
+ input: {
222
+ param: {
223
+ id: string;
224
+ };
225
+ };
226
+ output: {
227
+ data: {
228
+ id: string;
229
+ itineraryId: string;
230
+ dayNumber: number;
231
+ title: string | null;
232
+ description: string | null;
233
+ location: string | null;
234
+ createdAt: string;
235
+ updatedAt: string;
236
+ }[];
237
+ };
238
+ outputFormat: "json";
239
+ status: import("hono/utils/http-status").ContentfulStatusCode;
240
+ };
241
+ };
242
+ } & {
243
+ "/:id/days": {
244
+ $post: {
245
+ input: {
246
+ param: {
247
+ id: string;
248
+ };
249
+ };
250
+ output: {
251
+ error: string;
252
+ };
253
+ outputFormat: "json";
254
+ status: 404;
255
+ } | {
256
+ input: {
257
+ param: {
258
+ id: string;
259
+ };
260
+ };
261
+ output: {
262
+ data: {
263
+ id: string;
264
+ description: string | null;
265
+ createdAt: string;
266
+ updatedAt: string;
267
+ title: string | null;
268
+ location: string | null;
269
+ dayNumber: number;
270
+ itineraryId: string;
271
+ };
272
+ };
273
+ outputFormat: "json";
274
+ status: 201;
275
+ };
276
+ };
277
+ } & {
278
+ "/:id/days/:dayId": {
279
+ $patch: {
280
+ input: {
281
+ param: {
282
+ id: string;
283
+ } & {
284
+ dayId: string;
285
+ };
286
+ };
287
+ output: {
288
+ error: string;
289
+ };
290
+ outputFormat: "json";
291
+ status: 404;
292
+ } | {
293
+ input: {
294
+ param: {
295
+ id: string;
296
+ } & {
297
+ dayId: string;
298
+ };
299
+ };
300
+ output: {
301
+ data: {
302
+ id: string;
303
+ itineraryId: string;
304
+ dayNumber: number;
305
+ title: string | null;
306
+ description: string | null;
307
+ location: string | null;
308
+ createdAt: string;
309
+ updatedAt: string;
310
+ };
311
+ };
312
+ outputFormat: "json";
313
+ status: import("hono/utils/http-status").ContentfulStatusCode;
314
+ };
315
+ };
316
+ } & {
317
+ "/:id/days/:dayId": {
318
+ $delete: {
319
+ input: {
320
+ param: {
321
+ id: string;
322
+ } & {
323
+ dayId: string;
324
+ };
325
+ };
326
+ output: {
327
+ error: string;
328
+ };
329
+ outputFormat: "json";
330
+ status: 404;
331
+ } | {
332
+ input: {
333
+ param: {
334
+ id: string;
335
+ } & {
336
+ dayId: string;
337
+ };
338
+ };
339
+ output: {
340
+ success: true;
341
+ };
342
+ outputFormat: "json";
343
+ status: 200;
344
+ };
345
+ };
346
+ } & {
347
+ "/:id/days/:dayId/services": {
348
+ $get: {
349
+ input: {
350
+ param: {
351
+ id: string;
352
+ } & {
353
+ dayId: string;
354
+ };
355
+ };
356
+ output: {
357
+ data: {
358
+ id: string;
359
+ dayId: string;
360
+ supplierServiceId: string | null;
361
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
362
+ name: string;
363
+ description: string | null;
364
+ countryCode: string | null;
365
+ costCurrency: string;
366
+ costAmountCents: number;
367
+ quantity: number;
368
+ sortOrder: number | null;
369
+ notes: string | null;
370
+ createdAt: string;
371
+ }[];
372
+ };
373
+ outputFormat: "json";
374
+ status: import("hono/utils/http-status").ContentfulStatusCode;
375
+ };
376
+ };
377
+ } & {
378
+ "/:id/days/:dayId/services": {
379
+ $post: {
380
+ input: {
381
+ param: {
382
+ id: string;
383
+ } & {
384
+ dayId: string;
385
+ };
386
+ };
387
+ output: {
388
+ error: string;
389
+ };
390
+ outputFormat: "json";
391
+ status: 404;
392
+ } | {
393
+ input: {
394
+ param: {
395
+ id: string;
396
+ } & {
397
+ dayId: string;
398
+ };
399
+ };
400
+ output: {
401
+ data: {
402
+ id: string;
403
+ name: string;
404
+ description: string | null;
405
+ costAmountCents: number;
406
+ createdAt: string;
407
+ notes: string | null;
408
+ sortOrder: number | null;
409
+ countryCode: string | null;
410
+ dayId: string;
411
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
412
+ supplierServiceId: string | null;
413
+ costCurrency: string;
414
+ quantity: number;
415
+ };
416
+ };
417
+ outputFormat: "json";
418
+ status: 201;
419
+ };
420
+ };
421
+ } & {
422
+ "/:id/days/:dayId/services/:serviceId": {
423
+ $patch: {
424
+ input: {
425
+ param: {
426
+ id: string;
427
+ } & {
428
+ dayId: string;
429
+ } & {
430
+ serviceId: string;
431
+ };
432
+ };
433
+ output: {
434
+ error: string;
435
+ };
436
+ outputFormat: "json";
437
+ status: 404;
438
+ } | {
439
+ input: {
440
+ param: {
441
+ id: string;
442
+ } & {
443
+ dayId: string;
444
+ } & {
445
+ serviceId: string;
446
+ };
447
+ };
448
+ output: {
449
+ data: {
450
+ id: string;
451
+ dayId: string;
452
+ supplierServiceId: string | null;
453
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
454
+ name: string;
455
+ description: string | null;
456
+ countryCode: string | null;
457
+ costCurrency: string;
458
+ costAmountCents: number;
459
+ quantity: number;
460
+ sortOrder: number | null;
461
+ notes: string | null;
462
+ createdAt: string;
463
+ };
464
+ };
465
+ outputFormat: "json";
466
+ status: import("hono/utils/http-status").ContentfulStatusCode;
467
+ };
468
+ };
469
+ } & {
470
+ "/:id/days/:dayId/services/:serviceId": {
471
+ $delete: {
472
+ input: {
473
+ param: {
474
+ id: string;
475
+ } & {
476
+ dayId: string;
477
+ } & {
478
+ serviceId: string;
479
+ };
480
+ };
481
+ output: {
482
+ error: string;
483
+ };
484
+ outputFormat: "json";
485
+ status: 404;
486
+ } | {
487
+ input: {
488
+ param: {
489
+ id: string;
490
+ } & {
491
+ dayId: string;
492
+ } & {
493
+ serviceId: string;
494
+ };
495
+ };
496
+ output: {
497
+ success: true;
498
+ };
499
+ outputFormat: "json";
500
+ status: 200;
501
+ };
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
+ description: string | null;
559
+ createdAt: string;
560
+ updatedAt: string;
561
+ title: string | null;
562
+ languageTag: string;
563
+ dayId: string;
564
+ location: string | null;
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
+ translationId: string;
579
+ } & {
580
+ dayId: 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
+ translationId: string;
594
+ } & {
595
+ dayId: 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
+ translationId: string;
622
+ } & {
623
+ dayId: 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
+ translationId: string;
637
+ } & {
638
+ dayId: string;
639
+ };
640
+ };
641
+ output: {
642
+ success: true;
643
+ };
644
+ outputFormat: "json";
645
+ status: 200;
646
+ };
647
+ };
648
+ } & {
649
+ "/:id/versions": {
650
+ $get: {
651
+ input: {
652
+ param: {
653
+ id: string;
654
+ };
655
+ };
656
+ output: {
657
+ data: {
658
+ id: string;
659
+ productId: string;
660
+ versionNumber: number;
661
+ snapshot: import("hono/utils/types").JSONValue;
662
+ authorId: string;
663
+ notes: string | null;
664
+ createdAt: string;
665
+ }[];
666
+ };
667
+ outputFormat: "json";
668
+ status: import("hono/utils/http-status").ContentfulStatusCode;
669
+ };
670
+ };
671
+ } & {
672
+ "/:id/versions": {
673
+ $post: {
674
+ input: {
675
+ param: {
676
+ id: string;
677
+ };
678
+ };
679
+ output: {
680
+ error: string;
681
+ };
682
+ outputFormat: "json";
683
+ status: 404;
684
+ } | {
685
+ input: {
686
+ param: {
687
+ id: string;
688
+ };
689
+ };
690
+ output: {
691
+ data: {
692
+ id: string;
693
+ createdAt: string;
694
+ productId: string;
695
+ notes: string | null;
696
+ versionNumber: number;
697
+ snapshot: import("hono/utils/types").JSONValue;
698
+ authorId: string;
699
+ };
700
+ };
701
+ outputFormat: "json";
702
+ status: 201;
703
+ };
704
+ };
705
+ } & {
706
+ "/:id/notes": {
707
+ $get: {
708
+ input: {
709
+ param: {
710
+ id: string;
711
+ };
712
+ };
713
+ output: {
714
+ data: {
715
+ id: string;
716
+ productId: string;
717
+ authorId: string;
718
+ content: string;
719
+ createdAt: string;
720
+ }[];
721
+ };
722
+ outputFormat: "json";
723
+ status: import("hono/utils/http-status").ContentfulStatusCode;
724
+ };
725
+ };
726
+ } & {
727
+ "/:id/notes": {
728
+ $post: {
729
+ input: {
730
+ param: {
731
+ id: string;
732
+ };
733
+ };
734
+ output: {
735
+ error: string;
736
+ };
737
+ outputFormat: "json";
738
+ status: 404;
739
+ } | {
740
+ input: {
741
+ param: {
742
+ id: string;
743
+ };
744
+ };
745
+ output: {
746
+ data: {
747
+ id: string;
748
+ createdAt: string;
749
+ productId: string;
750
+ content: string;
751
+ authorId: string;
752
+ };
753
+ };
754
+ outputFormat: "json";
755
+ status: 201;
756
+ };
757
+ };
758
+ }, "/", "/:id/notes">;
759
+ //# sourceMappingURL=routes-itinerary.d.ts.map