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