@shophost/rest-api 2.0.36 → 2.0.37

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 (68) hide show
  1. package/package.json +1 -1
  2. package/src/core/hono/hono.d.ts +53 -11
  3. package/src/core/hono/hono.js +1 -1
  4. package/src/core/hono/hono.js.map +1 -1
  5. package/src/features/access/access.handler.js.map +1 -1
  6. package/src/features/access/access.route.d.ts +774 -10
  7. package/src/features/analytics/analytics.handler.js.map +1 -1
  8. package/src/features/analytics/analytics.route.d.ts +146 -1
  9. package/src/features/cart/cart.handler.js.map +1 -1
  10. package/src/features/cart/cart.route.d.ts +349 -1
  11. package/src/features/file/file.handler.js.map +1 -1
  12. package/src/features/file/file.route.d.ts +104 -2
  13. package/src/features/file/file.service.d.ts +2 -1
  14. package/src/features/file/file.service.js.map +1 -1
  15. package/src/features/health/health.handler.js.map +1 -1
  16. package/src/features/health/health.route.d.ts +40 -1
  17. package/src/features/location/location.handler.js +1 -1
  18. package/src/features/location/location.handler.js.map +1 -1
  19. package/src/features/location/location.route.d.ts +118 -2
  20. package/src/features/manufacturer/manufacturer.handler.js.map +1 -1
  21. package/src/features/manufacturer/manufacturer.route.d.ts +675 -5
  22. package/src/features/order/order.handler.js +1 -1
  23. package/src/features/order/order.handler.js.map +1 -1
  24. package/src/features/order/order.route.d.ts +3193 -5
  25. package/src/features/order/order.route.js +1 -1
  26. package/src/features/order/order.route.js.map +1 -1
  27. package/src/features/order/order.service.d.ts +115 -0
  28. package/src/features/order/order.service.js +1 -1
  29. package/src/features/order/order.service.js.map +1 -1
  30. package/src/features/organization/organization.handler.js.map +1 -1
  31. package/src/features/organization/organization.route.d.ts +1973 -5
  32. package/src/features/payment/payment.handler.js.map +1 -1
  33. package/src/features/payment/payment.route.d.ts +67 -1
  34. package/src/features/product/product.handler.js.map +1 -1
  35. package/src/features/product/product.route.d.ts +4267 -7
  36. package/src/features/product-category/product-category.handler.js.map +1 -1
  37. package/src/features/product-category/product-category.route.d.ts +774 -6
  38. package/src/features/reservation/reservation.handler.js +1 -1
  39. package/src/features/reservation/reservation.handler.js.map +1 -1
  40. package/src/features/reservation/reservation.route.d.ts +854 -6
  41. package/src/features/reservation/reservation.route.js +1 -1
  42. package/src/features/reservation/reservation.route.js.map +1 -1
  43. package/src/features/reservation/reservation.service.d.ts +27 -0
  44. package/src/features/reservation/reservation.service.js +1 -1
  45. package/src/features/reservation/reservation.service.js.map +1 -1
  46. package/src/features/shipping/shipping.handler.js.map +1 -1
  47. package/src/features/shipping/shipping.route.d.ts +214 -3
  48. package/src/features/shipping-method/shipping-method.handler.js.map +1 -1
  49. package/src/features/shipping-method/shipping-method.route.d.ts +663 -6
  50. package/src/features/webhook/webhook.handler.d.ts +0 -1
  51. package/src/features/webhook/webhook.handler.js +1 -1
  52. package/src/features/webhook/webhook.handler.js.map +1 -1
  53. package/src/features/webhook/webhook.route.d.ts +64 -1
  54. package/src/test/global-setup.d.ts +0 -1
  55. package/src/test/global-setup.js +0 -1
  56. package/src/test/global-setup.js.map +0 -1
  57. package/src/test/integration/api-fixtures.d.ts +0 -147
  58. package/src/test/integration/api-fixtures.js +0 -1
  59. package/src/test/integration/api-fixtures.js.map +0 -1
  60. package/src/test/integration/seed.d.ts +0 -81
  61. package/src/test/integration/seed.js +0 -1
  62. package/src/test/integration/seed.js.map +0 -1
  63. package/src/test/integration/test-helpers.d.ts +0 -146
  64. package/src/test/integration/test-helpers.js +0 -1
  65. package/src/test/integration/test-helpers.js.map +0 -1
  66. package/src/test/setup-test-env.d.ts +0 -1
  67. package/src/test/setup-test-env.js +0 -1
  68. package/src/test/setup-test-env.js.map +0 -1
@@ -1,8 +1,776 @@
1
+ import { z } from "@hono/zod-openapi";
1
2
  export declare const productCategoryRoute: {
2
- getProductCategories: any;
3
- createProductCategory: any;
4
- getProductCategory: any;
5
- updateProductCategory: any;
6
- updateProductCategoryStatus: any;
7
- deleteProductCategory: any;
3
+ getProductCategories: {
4
+ description: string | undefined;
5
+ method: import("@hono/zod-openapi").RouteConfig["method"];
6
+ operationId: string;
7
+ path: string;
8
+ request: Record<never, never> & {
9
+ headers: z.ZodObject<{
10
+ "accept-language": z.ZodOptional<z.ZodString>;
11
+ cookie: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ } & {
14
+ params: z.ZodObject<{
15
+ organizationId: z.ZodString;
16
+ }, z.core.$strip>;
17
+ } & {
18
+ query: z.ZodObject<{
19
+ page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
20
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
21
+ search: z.ZodOptional<z.ZodString>;
22
+ published: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
23
+ locale: z.ZodOptional<z.ZodEnum<{
24
+ id: "id";
25
+ af: "af";
26
+ sq: "sq";
27
+ ar_dz: "ar_dz";
28
+ ar_bh: "ar_bh";
29
+ ar_eg: "ar_eg";
30
+ ar_iq: "ar_iq";
31
+ ar_jo: "ar_jo";
32
+ ar_kw: "ar_kw";
33
+ ar_lb: "ar_lb";
34
+ ar_ly: "ar_ly";
35
+ ar_ma: "ar_ma";
36
+ ar_om: "ar_om";
37
+ ar_qa: "ar_qa";
38
+ ar_sa: "ar_sa";
39
+ ar_sy: "ar_sy";
40
+ ar_tn: "ar_tn";
41
+ ar_ae: "ar_ae";
42
+ ar_ye: "ar_ye";
43
+ eu: "eu";
44
+ be: "be";
45
+ bg: "bg";
46
+ ca: "ca";
47
+ zh_hk: "zh_hk";
48
+ zh_cn: "zh_cn";
49
+ zh_sg: "zh_sg";
50
+ zh_tw: "zh_tw";
51
+ hr: "hr";
52
+ cs: "cs";
53
+ da: "da";
54
+ nl_be: "nl_be";
55
+ nl: "nl";
56
+ en: "en";
57
+ en_au: "en_au";
58
+ en_bz: "en_bz";
59
+ en_ca: "en_ca";
60
+ en_ie: "en_ie";
61
+ en_jm: "en_jm";
62
+ en_nz: "en_nz";
63
+ en_za: "en_za";
64
+ en_tt: "en_tt";
65
+ en_gb: "en_gb";
66
+ en_us: "en_us";
67
+ et: "et";
68
+ fo: "fo";
69
+ fa: "fa";
70
+ fi: "fi";
71
+ fr_be: "fr_be";
72
+ fr_ca: "fr_ca";
73
+ fr_lu: "fr_lu";
74
+ fr: "fr";
75
+ fr_ch: "fr_ch";
76
+ gd: "gd";
77
+ de_at: "de_at";
78
+ de_li: "de_li";
79
+ de_lu: "de_lu";
80
+ de: "de";
81
+ de_ch: "de_ch";
82
+ el: "el";
83
+ he: "he";
84
+ hi: "hi";
85
+ hu: "hu";
86
+ is: "is";
87
+ ga: "ga";
88
+ it: "it";
89
+ it_ch: "it_ch";
90
+ ja: "ja";
91
+ ko: "ko";
92
+ ku: "ku";
93
+ lv: "lv";
94
+ lt: "lt";
95
+ mk: "mk";
96
+ ml: "ml";
97
+ ms: "ms";
98
+ mt: "mt";
99
+ no: "no";
100
+ nb: "nb";
101
+ nn: "nn";
102
+ pl: "pl";
103
+ pt_br: "pt_br";
104
+ pt: "pt";
105
+ pa: "pa";
106
+ rm: "rm";
107
+ ro: "ro";
108
+ ro_md: "ro_md";
109
+ ru: "ru";
110
+ ru_md: "ru_md";
111
+ sr: "sr";
112
+ sk: "sk";
113
+ sl: "sl";
114
+ sb: "sb";
115
+ es_ar: "es_ar";
116
+ es_bo: "es_bo";
117
+ es_cl: "es_cl";
118
+ es_co: "es_co";
119
+ es_cr: "es_cr";
120
+ es_do: "es_do";
121
+ es_ec: "es_ec";
122
+ es_sv: "es_sv";
123
+ es_gt: "es_gt";
124
+ es_hn: "es_hn";
125
+ es_mx: "es_mx";
126
+ es: "es";
127
+ sv: "sv";
128
+ sv_fi: "sv_fi";
129
+ th: "th";
130
+ tr: "tr";
131
+ uk: "uk";
132
+ ur: "ur";
133
+ vi: "vi";
134
+ cy: "cy";
135
+ ji: "ji";
136
+ zu: "zu";
137
+ }>>;
138
+ }, z.core.$strip>;
139
+ };
140
+ responses: {
141
+ 200: {
142
+ content: {
143
+ "application/json": {
144
+ schema: z.ZodObject<{
145
+ list: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
146
+ id: z.ZodString;
147
+ slug: z.ZodString;
148
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
149
+ id: z.ZodString;
150
+ url: z.ZodString;
151
+ mimeType: z.ZodString;
152
+ size: z.ZodNumber;
153
+ filename: z.ZodString;
154
+ }, z.core.$strip>>>;
155
+ createdAt: z.ZodDate;
156
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
157
+ translations: z.ZodArray<z.ZodObject<{
158
+ locale: z.ZodString;
159
+ title: z.ZodDefault<z.ZodString>;
160
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
161
+ }, z.core.$strip>>;
162
+ }, z.core.$strip>, z.ZodObject<{
163
+ id: z.ZodString;
164
+ createdAt: z.ZodDate;
165
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
166
+ id: z.ZodString;
167
+ url: z.ZodString;
168
+ mimeType: z.ZodString;
169
+ size: z.ZodNumber;
170
+ filename: z.ZodString;
171
+ }, z.core.$strip>>>;
172
+ slug: z.ZodString;
173
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
174
+ title: z.ZodDefault<z.ZodString>;
175
+ description: z.ZodDefault<z.ZodString>;
176
+ }, z.core.$strip>]>>;
177
+ meta: z.ZodObject<{
178
+ isFirstPage: z.ZodBoolean;
179
+ isLastPage: z.ZodBoolean;
180
+ currentPage: z.ZodNumber;
181
+ previousPage: z.ZodNullable<z.ZodNumber>;
182
+ nextPage: z.ZodNullable<z.ZodNumber>;
183
+ pageCount: z.ZodNumber;
184
+ totalCount: z.ZodNumber;
185
+ }, z.core.$strip>;
186
+ }, z.core.$strip>;
187
+ };
188
+ };
189
+ description: string;
190
+ };
191
+ 400: {
192
+ content: {
193
+ "application/json": {
194
+ schema: z.ZodObject<{
195
+ status: z.ZodNumber;
196
+ message: z.ZodString;
197
+ }, z.core.$strip>;
198
+ };
199
+ };
200
+ description: string;
201
+ };
202
+ 401: {
203
+ content: {
204
+ "application/json": {
205
+ schema: z.ZodObject<{
206
+ status: z.ZodNumber;
207
+ message: z.ZodString;
208
+ }, z.core.$strip>;
209
+ };
210
+ };
211
+ description: string;
212
+ };
213
+ };
214
+ summary: string;
215
+ tags: string[];
216
+ } & {
217
+ getRoutingPath(): string;
218
+ };
219
+ createProductCategory: {
220
+ description: string | undefined;
221
+ method: import("@hono/zod-openapi").RouteConfig["method"];
222
+ operationId: string;
223
+ path: string;
224
+ request: {
225
+ body: {
226
+ content: {
227
+ "application/json": {
228
+ schema: z.ZodObject<{
229
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
230
+ id: z.ZodString;
231
+ url: z.ZodString;
232
+ mimeType: z.ZodString;
233
+ size: z.ZodNumber;
234
+ filename: z.ZodString;
235
+ }, z.core.$strip>>>;
236
+ translations: z.ZodArray<z.ZodObject<{
237
+ locale: z.ZodString;
238
+ title: z.ZodDefault<z.ZodString>;
239
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
240
+ }, z.core.$strip>>;
241
+ slug: z.ZodString;
242
+ defaultLocale: z.ZodString;
243
+ imageId: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strip>;
245
+ };
246
+ };
247
+ required: boolean;
248
+ };
249
+ } & {
250
+ headers: z.ZodObject<{
251
+ "accept-language": z.ZodOptional<z.ZodString>;
252
+ cookie: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>;
254
+ } & {
255
+ params: z.ZodObject<{
256
+ organizationId: z.ZodString;
257
+ }, z.core.$strip>;
258
+ } & Record<never, never>;
259
+ responses: {
260
+ 201: {
261
+ content: {
262
+ "application/json": {
263
+ schema: z.ZodObject<{
264
+ id: z.ZodString;
265
+ slug: z.ZodString;
266
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
267
+ id: z.ZodString;
268
+ url: z.ZodString;
269
+ mimeType: z.ZodString;
270
+ size: z.ZodNumber;
271
+ filename: z.ZodString;
272
+ }, z.core.$strip>>>;
273
+ createdAt: z.ZodDate;
274
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
275
+ translations: z.ZodArray<z.ZodObject<{
276
+ locale: z.ZodString;
277
+ title: z.ZodDefault<z.ZodString>;
278
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
279
+ }, z.core.$strip>>;
280
+ }, z.core.$strip>;
281
+ };
282
+ };
283
+ description: string;
284
+ };
285
+ 400: {
286
+ content: {
287
+ "application/json": {
288
+ schema: z.ZodObject<{
289
+ status: z.ZodNumber;
290
+ message: z.ZodString;
291
+ }, z.core.$strip>;
292
+ };
293
+ };
294
+ description: string;
295
+ };
296
+ 401: {
297
+ content: {
298
+ "application/json": {
299
+ schema: z.ZodObject<{
300
+ status: z.ZodNumber;
301
+ message: z.ZodString;
302
+ }, z.core.$strip>;
303
+ };
304
+ };
305
+ description: string;
306
+ };
307
+ 404: {
308
+ content: {
309
+ "application/json": {
310
+ schema: z.ZodObject<{
311
+ status: z.ZodNumber;
312
+ message: z.ZodString;
313
+ }, z.core.$strip>;
314
+ };
315
+ };
316
+ description: string;
317
+ };
318
+ };
319
+ summary: string;
320
+ tags: string[];
321
+ } & {
322
+ getRoutingPath(): string;
323
+ };
324
+ getProductCategory: {
325
+ description: string | undefined;
326
+ method: import("@hono/zod-openapi").RouteConfig["method"];
327
+ operationId: string;
328
+ path: string;
329
+ request: Record<never, never> & {
330
+ headers: z.ZodObject<{
331
+ "accept-language": z.ZodOptional<z.ZodString>;
332
+ cookie: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strip>;
334
+ } & {
335
+ params: z.ZodObject<{
336
+ organizationId: z.ZodString;
337
+ id: z.ZodString;
338
+ }, z.core.$strip>;
339
+ } & {
340
+ query: z.ZodObject<{
341
+ locale: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
342
+ id: "id";
343
+ af: "af";
344
+ sq: "sq";
345
+ ar_dz: "ar_dz";
346
+ ar_bh: "ar_bh";
347
+ ar_eg: "ar_eg";
348
+ ar_iq: "ar_iq";
349
+ ar_jo: "ar_jo";
350
+ ar_kw: "ar_kw";
351
+ ar_lb: "ar_lb";
352
+ ar_ly: "ar_ly";
353
+ ar_ma: "ar_ma";
354
+ ar_om: "ar_om";
355
+ ar_qa: "ar_qa";
356
+ ar_sa: "ar_sa";
357
+ ar_sy: "ar_sy";
358
+ ar_tn: "ar_tn";
359
+ ar_ae: "ar_ae";
360
+ ar_ye: "ar_ye";
361
+ eu: "eu";
362
+ be: "be";
363
+ bg: "bg";
364
+ ca: "ca";
365
+ zh_hk: "zh_hk";
366
+ zh_cn: "zh_cn";
367
+ zh_sg: "zh_sg";
368
+ zh_tw: "zh_tw";
369
+ hr: "hr";
370
+ cs: "cs";
371
+ da: "da";
372
+ nl_be: "nl_be";
373
+ nl: "nl";
374
+ en: "en";
375
+ en_au: "en_au";
376
+ en_bz: "en_bz";
377
+ en_ca: "en_ca";
378
+ en_ie: "en_ie";
379
+ en_jm: "en_jm";
380
+ en_nz: "en_nz";
381
+ en_za: "en_za";
382
+ en_tt: "en_tt";
383
+ en_gb: "en_gb";
384
+ en_us: "en_us";
385
+ et: "et";
386
+ fo: "fo";
387
+ fa: "fa";
388
+ fi: "fi";
389
+ fr_be: "fr_be";
390
+ fr_ca: "fr_ca";
391
+ fr_lu: "fr_lu";
392
+ fr: "fr";
393
+ fr_ch: "fr_ch";
394
+ gd: "gd";
395
+ de_at: "de_at";
396
+ de_li: "de_li";
397
+ de_lu: "de_lu";
398
+ de: "de";
399
+ de_ch: "de_ch";
400
+ el: "el";
401
+ he: "he";
402
+ hi: "hi";
403
+ hu: "hu";
404
+ is: "is";
405
+ ga: "ga";
406
+ it: "it";
407
+ it_ch: "it_ch";
408
+ ja: "ja";
409
+ ko: "ko";
410
+ ku: "ku";
411
+ lv: "lv";
412
+ lt: "lt";
413
+ mk: "mk";
414
+ ml: "ml";
415
+ ms: "ms";
416
+ mt: "mt";
417
+ no: "no";
418
+ nb: "nb";
419
+ nn: "nn";
420
+ pl: "pl";
421
+ pt_br: "pt_br";
422
+ pt: "pt";
423
+ pa: "pa";
424
+ rm: "rm";
425
+ ro: "ro";
426
+ ro_md: "ro_md";
427
+ ru: "ru";
428
+ ru_md: "ru_md";
429
+ sr: "sr";
430
+ sk: "sk";
431
+ sl: "sl";
432
+ sb: "sb";
433
+ es_ar: "es_ar";
434
+ es_bo: "es_bo";
435
+ es_cl: "es_cl";
436
+ es_co: "es_co";
437
+ es_cr: "es_cr";
438
+ es_do: "es_do";
439
+ es_ec: "es_ec";
440
+ es_sv: "es_sv";
441
+ es_gt: "es_gt";
442
+ es_hn: "es_hn";
443
+ es_mx: "es_mx";
444
+ es: "es";
445
+ sv: "sv";
446
+ sv_fi: "sv_fi";
447
+ th: "th";
448
+ tr: "tr";
449
+ uk: "uk";
450
+ ur: "ur";
451
+ vi: "vi";
452
+ cy: "cy";
453
+ ji: "ji";
454
+ zu: "zu";
455
+ }>>>;
456
+ }, z.core.$strip>;
457
+ };
458
+ responses: {
459
+ 200: {
460
+ content: {
461
+ "application/json": {
462
+ schema: z.ZodUnion<readonly [z.ZodObject<{
463
+ id: z.ZodString;
464
+ slug: z.ZodString;
465
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
466
+ id: z.ZodString;
467
+ url: z.ZodString;
468
+ mimeType: z.ZodString;
469
+ size: z.ZodNumber;
470
+ filename: z.ZodString;
471
+ }, z.core.$strip>>>;
472
+ createdAt: z.ZodDate;
473
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
474
+ translations: z.ZodArray<z.ZodObject<{
475
+ locale: z.ZodString;
476
+ title: z.ZodDefault<z.ZodString>;
477
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
478
+ }, z.core.$strip>>;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ id: z.ZodString;
481
+ createdAt: z.ZodDate;
482
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
483
+ id: z.ZodString;
484
+ url: z.ZodString;
485
+ mimeType: z.ZodString;
486
+ size: z.ZodNumber;
487
+ filename: z.ZodString;
488
+ }, z.core.$strip>>>;
489
+ slug: z.ZodString;
490
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
491
+ title: z.ZodDefault<z.ZodString>;
492
+ description: z.ZodDefault<z.ZodString>;
493
+ }, z.core.$strip>]>;
494
+ };
495
+ };
496
+ description: string;
497
+ };
498
+ 401: {
499
+ content: {
500
+ "application/json": {
501
+ schema: z.ZodObject<{
502
+ status: z.ZodNumber;
503
+ message: z.ZodString;
504
+ }, z.core.$strip>;
505
+ };
506
+ };
507
+ description: string;
508
+ };
509
+ 404: {
510
+ content: {
511
+ "application/json": {
512
+ schema: z.ZodObject<{
513
+ status: z.ZodNumber;
514
+ message: z.ZodString;
515
+ }, z.core.$strip>;
516
+ };
517
+ };
518
+ description: string;
519
+ };
520
+ };
521
+ summary: string;
522
+ tags: string[];
523
+ } & {
524
+ getRoutingPath(): string;
525
+ };
526
+ updateProductCategory: {
527
+ description: string | undefined;
528
+ method: import("@hono/zod-openapi").RouteConfig["method"];
529
+ operationId: string;
530
+ path: string;
531
+ request: {
532
+ body: {
533
+ content: {
534
+ "application/json": {
535
+ schema: z.ZodObject<{
536
+ image: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
537
+ id: z.ZodString;
538
+ url: z.ZodString;
539
+ mimeType: z.ZodString;
540
+ size: z.ZodNumber;
541
+ filename: z.ZodString;
542
+ }, z.core.$strip>>>>;
543
+ translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
+ locale: z.ZodString;
545
+ title: z.ZodDefault<z.ZodString>;
546
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
547
+ }, z.core.$strip>>>;
548
+ slug: z.ZodOptional<z.ZodString>;
549
+ defaultLocale: z.ZodOptional<z.ZodString>;
550
+ imageId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
551
+ }, z.core.$strip>;
552
+ };
553
+ };
554
+ required: boolean;
555
+ };
556
+ } & {
557
+ headers: z.ZodObject<{
558
+ "accept-language": z.ZodOptional<z.ZodString>;
559
+ cookie: z.ZodOptional<z.ZodString>;
560
+ }, z.core.$strip>;
561
+ } & {
562
+ params: z.ZodObject<{
563
+ organizationId: z.ZodString;
564
+ id: z.ZodString;
565
+ }, z.core.$strip>;
566
+ } & Record<never, never>;
567
+ responses: {
568
+ 200: {
569
+ content: {
570
+ "application/json": {
571
+ schema: z.ZodObject<{
572
+ id: z.ZodString;
573
+ slug: z.ZodString;
574
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
575
+ id: z.ZodString;
576
+ url: z.ZodString;
577
+ mimeType: z.ZodString;
578
+ size: z.ZodNumber;
579
+ filename: z.ZodString;
580
+ }, z.core.$strip>>>;
581
+ createdAt: z.ZodDate;
582
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
583
+ translations: z.ZodArray<z.ZodObject<{
584
+ locale: z.ZodString;
585
+ title: z.ZodDefault<z.ZodString>;
586
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
587
+ }, z.core.$strip>>;
588
+ }, z.core.$strip>;
589
+ };
590
+ };
591
+ description: string;
592
+ };
593
+ 400: {
594
+ content: {
595
+ "application/json": {
596
+ schema: z.ZodObject<{
597
+ status: z.ZodNumber;
598
+ message: z.ZodString;
599
+ }, z.core.$strip>;
600
+ };
601
+ };
602
+ description: string;
603
+ };
604
+ 401: {
605
+ content: {
606
+ "application/json": {
607
+ schema: z.ZodObject<{
608
+ status: z.ZodNumber;
609
+ message: z.ZodString;
610
+ }, z.core.$strip>;
611
+ };
612
+ };
613
+ description: string;
614
+ };
615
+ 404: {
616
+ content: {
617
+ "application/json": {
618
+ schema: z.ZodObject<{
619
+ status: z.ZodNumber;
620
+ message: z.ZodString;
621
+ }, z.core.$strip>;
622
+ };
623
+ };
624
+ description: string;
625
+ };
626
+ };
627
+ summary: string;
628
+ tags: string[];
629
+ } & {
630
+ getRoutingPath(): string;
631
+ };
632
+ updateProductCategoryStatus: {
633
+ description: string | undefined;
634
+ method: import("@hono/zod-openapi").RouteConfig["method"];
635
+ operationId: string;
636
+ path: string;
637
+ request: Record<never, never> & {
638
+ headers: z.ZodObject<{
639
+ "accept-language": z.ZodOptional<z.ZodString>;
640
+ cookie: z.ZodOptional<z.ZodString>;
641
+ }, z.core.$strip>;
642
+ } & {
643
+ params: z.ZodObject<{
644
+ id: z.ZodString;
645
+ operation: z.ZodEnum<{
646
+ publish: "publish";
647
+ unpublish: "unpublish";
648
+ }>;
649
+ organizationId: z.ZodString;
650
+ }, z.core.$strip>;
651
+ };
652
+ responses: {
653
+ 200: {
654
+ content: {
655
+ "application/json": {
656
+ schema: z.ZodObject<{
657
+ id: z.ZodString;
658
+ slug: z.ZodString;
659
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
660
+ id: z.ZodString;
661
+ url: z.ZodString;
662
+ mimeType: z.ZodString;
663
+ size: z.ZodNumber;
664
+ filename: z.ZodString;
665
+ }, z.core.$strip>>>;
666
+ createdAt: z.ZodDate;
667
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
668
+ translations: z.ZodArray<z.ZodObject<{
669
+ locale: z.ZodString;
670
+ title: z.ZodDefault<z.ZodString>;
671
+ description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
672
+ }, z.core.$strip>>;
673
+ }, z.core.$strip>;
674
+ };
675
+ };
676
+ description: string;
677
+ };
678
+ 400: {
679
+ content: {
680
+ "application/json": {
681
+ schema: z.ZodObject<{
682
+ status: z.ZodNumber;
683
+ message: z.ZodString;
684
+ }, z.core.$strip>;
685
+ };
686
+ };
687
+ description: string;
688
+ };
689
+ 401: {
690
+ content: {
691
+ "application/json": {
692
+ schema: z.ZodObject<{
693
+ status: z.ZodNumber;
694
+ message: z.ZodString;
695
+ }, z.core.$strip>;
696
+ };
697
+ };
698
+ description: string;
699
+ };
700
+ 404: {
701
+ content: {
702
+ "application/json": {
703
+ schema: z.ZodObject<{
704
+ status: z.ZodNumber;
705
+ message: z.ZodString;
706
+ }, z.core.$strip>;
707
+ };
708
+ };
709
+ description: string;
710
+ };
711
+ };
712
+ summary: string;
713
+ tags: string[];
714
+ } & {
715
+ getRoutingPath(): string;
716
+ };
717
+ deleteProductCategory: {
718
+ description: string | undefined;
719
+ method: import("@hono/zod-openapi").RouteConfig["method"];
720
+ operationId: string;
721
+ path: string;
722
+ request: Record<never, never> & {
723
+ headers: z.ZodObject<{
724
+ "accept-language": z.ZodOptional<z.ZodString>;
725
+ cookie: z.ZodOptional<z.ZodString>;
726
+ }, z.core.$strip>;
727
+ } & {
728
+ params: z.ZodObject<{
729
+ organizationId: z.ZodString;
730
+ id: z.ZodString;
731
+ }, z.core.$strip>;
732
+ };
733
+ responses: {
734
+ 204: {
735
+ description: string;
736
+ };
737
+ 400: {
738
+ content: {
739
+ "application/json": {
740
+ schema: z.ZodObject<{
741
+ status: z.ZodNumber;
742
+ message: z.ZodString;
743
+ }, z.core.$strip>;
744
+ };
745
+ };
746
+ description: string;
747
+ };
748
+ 401: {
749
+ content: {
750
+ "application/json": {
751
+ schema: z.ZodObject<{
752
+ status: z.ZodNumber;
753
+ message: z.ZodString;
754
+ }, z.core.$strip>;
755
+ };
756
+ };
757
+ description: string;
758
+ };
759
+ 404: {
760
+ content: {
761
+ "application/json": {
762
+ schema: z.ZodObject<{
763
+ status: z.ZodNumber;
764
+ message: z.ZodString;
765
+ }, z.core.$strip>;
766
+ };
767
+ };
768
+ description: string;
769
+ };
770
+ };
771
+ summary: string;
772
+ tags: string[];
773
+ } & {
774
+ getRoutingPath(): string;
775
+ };
8
776
  };