@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,477 @@
1
+ import type { Env } from "./route-env.js";
2
+ export declare const productTranslationRoutes: import("hono/hono-base").HonoBase<Env, {
3
+ "/translations": {
4
+ $get: {
5
+ input: {};
6
+ output: {
7
+ data: {
8
+ id: string;
9
+ productId: string;
10
+ languageTag: string;
11
+ slug: string | null;
12
+ name: string;
13
+ shortDescription: string | null;
14
+ description: string | null;
15
+ seoTitle: string | null;
16
+ seoDescription: string | null;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ }[];
20
+ total: number;
21
+ limit: number;
22
+ offset: number;
23
+ };
24
+ outputFormat: "json";
25
+ status: import("hono/utils/http-status").ContentfulStatusCode;
26
+ };
27
+ };
28
+ } & {
29
+ "/translations/:translationId": {
30
+ $get: {
31
+ input: {
32
+ param: {
33
+ translationId: string;
34
+ };
35
+ };
36
+ output: {
37
+ error: string;
38
+ };
39
+ outputFormat: "json";
40
+ status: 404;
41
+ } | {
42
+ input: {
43
+ param: {
44
+ translationId: string;
45
+ };
46
+ };
47
+ output: {
48
+ data: {
49
+ id: string;
50
+ productId: string;
51
+ languageTag: string;
52
+ slug: string | null;
53
+ name: string;
54
+ shortDescription: string | null;
55
+ description: string | null;
56
+ seoTitle: string | null;
57
+ seoDescription: string | null;
58
+ createdAt: string;
59
+ updatedAt: string;
60
+ };
61
+ };
62
+ outputFormat: "json";
63
+ status: import("hono/utils/http-status").ContentfulStatusCode;
64
+ };
65
+ };
66
+ } & {
67
+ "/:id/translations": {
68
+ $post: {
69
+ input: {
70
+ param: {
71
+ id: string;
72
+ };
73
+ };
74
+ output: {
75
+ error: string;
76
+ };
77
+ outputFormat: "json";
78
+ status: 404;
79
+ } | {
80
+ input: {
81
+ param: {
82
+ id: string;
83
+ };
84
+ };
85
+ output: {
86
+ data: {
87
+ name: string;
88
+ id: string;
89
+ description: string | null;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ productId: string;
93
+ languageTag: string;
94
+ slug: string | null;
95
+ shortDescription: string | null;
96
+ seoTitle: string | null;
97
+ seoDescription: string | null;
98
+ };
99
+ };
100
+ outputFormat: "json";
101
+ status: 201;
102
+ };
103
+ };
104
+ } & {
105
+ "/translations/:translationId": {
106
+ $patch: {
107
+ input: {
108
+ param: {
109
+ translationId: string;
110
+ };
111
+ };
112
+ output: {
113
+ error: string;
114
+ };
115
+ outputFormat: "json";
116
+ status: 404;
117
+ } | {
118
+ input: {
119
+ param: {
120
+ translationId: string;
121
+ };
122
+ };
123
+ output: {
124
+ data: {
125
+ id: string;
126
+ productId: string;
127
+ languageTag: string;
128
+ slug: string | null;
129
+ name: string;
130
+ shortDescription: string | null;
131
+ description: string | null;
132
+ seoTitle: string | null;
133
+ seoDescription: string | null;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ };
137
+ };
138
+ outputFormat: "json";
139
+ status: import("hono/utils/http-status").ContentfulStatusCode;
140
+ };
141
+ };
142
+ } & {
143
+ "/translations/:translationId": {
144
+ $delete: {
145
+ input: {
146
+ param: {
147
+ translationId: string;
148
+ };
149
+ };
150
+ output: {
151
+ error: string;
152
+ };
153
+ outputFormat: "json";
154
+ status: 404;
155
+ } | {
156
+ input: {
157
+ param: {
158
+ translationId: string;
159
+ };
160
+ };
161
+ output: {
162
+ success: true;
163
+ };
164
+ outputFormat: "json";
165
+ status: 200;
166
+ };
167
+ };
168
+ } & {
169
+ "/option-translations": {
170
+ $get: {
171
+ input: {};
172
+ output: {
173
+ data: {
174
+ id: string;
175
+ optionId: string;
176
+ languageTag: string;
177
+ name: string;
178
+ shortDescription: string | null;
179
+ description: string | null;
180
+ createdAt: string;
181
+ updatedAt: string;
182
+ }[];
183
+ total: number;
184
+ limit: number;
185
+ offset: number;
186
+ };
187
+ outputFormat: "json";
188
+ status: import("hono/utils/http-status").ContentfulStatusCode;
189
+ };
190
+ };
191
+ } & {
192
+ "/option-translations/:translationId": {
193
+ $get: {
194
+ input: {
195
+ param: {
196
+ translationId: string;
197
+ };
198
+ };
199
+ output: {
200
+ error: string;
201
+ };
202
+ outputFormat: "json";
203
+ status: 404;
204
+ } | {
205
+ input: {
206
+ param: {
207
+ translationId: string;
208
+ };
209
+ };
210
+ output: {
211
+ data: {
212
+ id: string;
213
+ optionId: string;
214
+ languageTag: string;
215
+ name: string;
216
+ shortDescription: string | null;
217
+ description: string | null;
218
+ createdAt: string;
219
+ updatedAt: string;
220
+ };
221
+ };
222
+ outputFormat: "json";
223
+ status: import("hono/utils/http-status").ContentfulStatusCode;
224
+ };
225
+ };
226
+ } & {
227
+ "/options/:optionId/translations": {
228
+ $post: {
229
+ input: {
230
+ param: {
231
+ optionId: string;
232
+ };
233
+ };
234
+ output: {
235
+ error: string;
236
+ };
237
+ outputFormat: "json";
238
+ status: 404;
239
+ } | {
240
+ input: {
241
+ param: {
242
+ optionId: string;
243
+ };
244
+ };
245
+ output: {
246
+ data: {
247
+ name: string;
248
+ id: string;
249
+ description: string | null;
250
+ createdAt: string;
251
+ updatedAt: string;
252
+ optionId: string;
253
+ languageTag: string;
254
+ shortDescription: string | null;
255
+ };
256
+ };
257
+ outputFormat: "json";
258
+ status: 201;
259
+ };
260
+ };
261
+ } & {
262
+ "/option-translations/:translationId": {
263
+ $patch: {
264
+ input: {
265
+ param: {
266
+ translationId: string;
267
+ };
268
+ };
269
+ output: {
270
+ error: string;
271
+ };
272
+ outputFormat: "json";
273
+ status: 404;
274
+ } | {
275
+ input: {
276
+ param: {
277
+ translationId: string;
278
+ };
279
+ };
280
+ output: {
281
+ data: {
282
+ id: string;
283
+ optionId: string;
284
+ languageTag: string;
285
+ name: string;
286
+ shortDescription: string | null;
287
+ description: string | null;
288
+ createdAt: string;
289
+ updatedAt: string;
290
+ };
291
+ };
292
+ outputFormat: "json";
293
+ status: import("hono/utils/http-status").ContentfulStatusCode;
294
+ };
295
+ };
296
+ } & {
297
+ "/option-translations/:translationId": {
298
+ $delete: {
299
+ input: {
300
+ param: {
301
+ translationId: string;
302
+ };
303
+ };
304
+ output: {
305
+ error: string;
306
+ };
307
+ outputFormat: "json";
308
+ status: 404;
309
+ } | {
310
+ input: {
311
+ param: {
312
+ translationId: string;
313
+ };
314
+ };
315
+ output: {
316
+ success: true;
317
+ };
318
+ outputFormat: "json";
319
+ status: 200;
320
+ };
321
+ };
322
+ } & {
323
+ "/unit-translations": {
324
+ $get: {
325
+ input: {};
326
+ output: {
327
+ data: {
328
+ id: string;
329
+ unitId: string;
330
+ languageTag: string;
331
+ name: string;
332
+ shortDescription: string | null;
333
+ description: string | null;
334
+ createdAt: string;
335
+ updatedAt: string;
336
+ }[];
337
+ total: number;
338
+ limit: number;
339
+ offset: number;
340
+ };
341
+ outputFormat: "json";
342
+ status: import("hono/utils/http-status").ContentfulStatusCode;
343
+ };
344
+ };
345
+ } & {
346
+ "/unit-translations/:translationId": {
347
+ $get: {
348
+ input: {
349
+ param: {
350
+ translationId: string;
351
+ };
352
+ };
353
+ output: {
354
+ error: string;
355
+ };
356
+ outputFormat: "json";
357
+ status: 404;
358
+ } | {
359
+ input: {
360
+ param: {
361
+ translationId: string;
362
+ };
363
+ };
364
+ output: {
365
+ data: {
366
+ id: string;
367
+ unitId: string;
368
+ languageTag: string;
369
+ name: string;
370
+ shortDescription: string | null;
371
+ description: string | null;
372
+ createdAt: string;
373
+ updatedAt: string;
374
+ };
375
+ };
376
+ outputFormat: "json";
377
+ status: import("hono/utils/http-status").ContentfulStatusCode;
378
+ };
379
+ };
380
+ } & {
381
+ "/units/:unitId/translations": {
382
+ $post: {
383
+ input: {
384
+ param: {
385
+ unitId: string;
386
+ };
387
+ };
388
+ output: {
389
+ error: string;
390
+ };
391
+ outputFormat: "json";
392
+ status: 404;
393
+ } | {
394
+ input: {
395
+ param: {
396
+ unitId: string;
397
+ };
398
+ };
399
+ output: {
400
+ data: {
401
+ name: string;
402
+ id: string;
403
+ description: string | null;
404
+ createdAt: string;
405
+ updatedAt: string;
406
+ languageTag: string;
407
+ shortDescription: string | null;
408
+ unitId: string;
409
+ };
410
+ };
411
+ outputFormat: "json";
412
+ status: 201;
413
+ };
414
+ };
415
+ } & {
416
+ "/unit-translations/:translationId": {
417
+ $patch: {
418
+ input: {
419
+ param: {
420
+ translationId: string;
421
+ };
422
+ };
423
+ output: {
424
+ error: string;
425
+ };
426
+ outputFormat: "json";
427
+ status: 404;
428
+ } | {
429
+ input: {
430
+ param: {
431
+ translationId: string;
432
+ };
433
+ };
434
+ output: {
435
+ data: {
436
+ id: string;
437
+ unitId: string;
438
+ languageTag: string;
439
+ name: string;
440
+ shortDescription: string | null;
441
+ description: string | null;
442
+ createdAt: string;
443
+ updatedAt: string;
444
+ };
445
+ };
446
+ outputFormat: "json";
447
+ status: import("hono/utils/http-status").ContentfulStatusCode;
448
+ };
449
+ };
450
+ } & {
451
+ "/unit-translations/:translationId": {
452
+ $delete: {
453
+ input: {
454
+ param: {
455
+ translationId: string;
456
+ };
457
+ };
458
+ output: {
459
+ error: string;
460
+ };
461
+ outputFormat: "json";
462
+ status: 404;
463
+ } | {
464
+ input: {
465
+ param: {
466
+ translationId: string;
467
+ };
468
+ };
469
+ output: {
470
+ success: true;
471
+ };
472
+ outputFormat: "json";
473
+ status: 200;
474
+ };
475
+ };
476
+ }, "/", "/unit-translations/:translationId">;
477
+ //# sourceMappingURL=routes-translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-translations.d.ts","sourceRoot":"","sources":["../src/routes-translations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+TjC,CAAA"}