@stellaris/metrics-shared 0.1.3 → 0.1.6

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.
package/bff-service.d.ts CHANGED
@@ -160,64 +160,15 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
160
160
  name: string;
161
161
  queryConfig: {
162
162
  table: string;
163
+ value: string;
164
+ timeDimension: string;
163
165
  dimensions: string[];
164
- filters: ({
165
- id: string;
166
- member: string;
167
- operator: "equals" | "notEquals";
168
- value: string | number;
169
- } | {
170
- id: string;
171
- member: string;
172
- operator: "lt" | "gt" | "gte" | "lte";
173
- value: number;
174
- } | {
175
- id: string;
176
- member: string;
177
- operator: "contains";
178
- values: string[];
179
- } | {
180
- id: string;
181
- member: string;
182
- operator: "between";
183
- range: [
184
- number,
185
- number
186
- ];
187
- } | {
188
- id: string;
189
- member: string;
190
- operator: "inDateRange";
191
- dateRange: [
192
- string,
193
- string
194
- ];
195
- })[];
196
- timeGrain: "all" | "day" | "week" | "month" | "quarter" | "year";
197
- distinctOn?: string | undefined;
198
- timeDimension?: string | undefined;
166
+ filters: unknown[];
167
+ timeGrain: ("second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year")[];
168
+ format: "number" | "currency" | "percent";
199
169
  };
200
170
  description?: string | undefined;
201
171
  categoryId?: string | undefined;
202
- visualConfig?: {
203
- chartType: "line" | "bar" | "area" | "pie" | "donut" | "stacked-bar" | "combo" | "radar" | "funnel" | "gauge";
204
- colors?: string[] | undefined;
205
- showLegend?: boolean | undefined;
206
- showGrid?: boolean | undefined;
207
- xAxis?: {
208
- label?: string | undefined;
209
- dataKey?: string | undefined;
210
- } | undefined;
211
- yAxis?: {
212
- label?: string | undefined;
213
- unit?: string | undefined;
214
- min?: number | undefined;
215
- max?: number | undefined;
216
- } | undefined;
217
- tooltip?: {
218
- show?: boolean | undefined;
219
- } | undefined;
220
- } | undefined;
221
172
  };
222
173
  };
223
174
  output: {
@@ -230,9 +181,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
230
181
  queryConfig: {
231
182
  [x: string]: import("hono/utils/types").JSONValue;
232
183
  };
233
- visualConfig: {
234
- [x: string]: import("hono/utils/types").JSONValue;
235
- };
236
184
  version: number;
237
185
  createdAt: string;
238
186
  updatedAt: string;
@@ -254,9 +202,9 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
254
202
  input: {
255
203
  query: {
256
204
  ownerId?: string | undefined;
257
- uncategorized?: string | undefined;
205
+ uncategorized?: boolean | undefined;
258
206
  categoryId?: string | undefined;
259
- isArchived?: string | undefined;
207
+ isArchived?: boolean | undefined;
260
208
  search?: string | undefined;
261
209
  skip?: string | string[] | undefined;
262
210
  take?: string | string[] | undefined;
@@ -272,9 +220,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
272
220
  queryConfig: {
273
221
  [x: string]: import("hono/utils/types").JSONValue;
274
222
  };
275
- visualConfig: {
276
- [x: string]: import("hono/utils/types").JSONValue;
277
- };
278
223
  version: number;
279
224
  createdAt: string;
280
225
  updatedAt: string;
@@ -319,9 +264,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
319
264
  queryConfig: {
320
265
  [x: string]: import("hono/utils/types").JSONValue;
321
266
  };
322
- visualConfig: {
323
- [x: string]: import("hono/utils/types").JSONValue;
324
- };
325
267
  version: number;
326
268
  createdAt: string;
327
269
  updatedAt: string;
@@ -362,9 +304,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
362
304
  queryConfig: {
363
305
  [x: string]: import("hono/utils/types").JSONValue;
364
306
  };
365
- visualConfig: {
366
- [x: string]: import("hono/utils/types").JSONValue;
367
- };
368
307
  version: number;
369
308
  createdAt: string;
370
309
  updatedAt: string;
@@ -387,42 +326,12 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
387
326
  json: {
388
327
  queryConfig: {
389
328
  table: string;
329
+ value: string;
330
+ timeDimension: string;
390
331
  dimensions: string[];
391
- filters: ({
392
- id: string;
393
- member: string;
394
- operator: "equals" | "notEquals";
395
- value: string | number;
396
- } | {
397
- id: string;
398
- member: string;
399
- operator: "lt" | "gt" | "gte" | "lte";
400
- value: number;
401
- } | {
402
- id: string;
403
- member: string;
404
- operator: "contains";
405
- values: string[];
406
- } | {
407
- id: string;
408
- member: string;
409
- operator: "between";
410
- range: [
411
- number,
412
- number
413
- ];
414
- } | {
415
- id: string;
416
- member: string;
417
- operator: "inDateRange";
418
- dateRange: [
419
- string,
420
- string
421
- ];
422
- })[];
423
- timeGrain: "all" | "day" | "week" | "month" | "quarter" | "year";
424
- distinctOn?: string | undefined;
425
- timeDimension?: string | undefined;
332
+ filters: unknown[];
333
+ timeGrain: ("second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year")[];
334
+ format: "number" | "currency" | "percent";
426
335
  };
427
336
  expectedVersion?: number | undefined;
428
337
  };
@@ -441,68 +350,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
441
350
  queryConfig: {
442
351
  [x: string]: import("hono/utils/types").JSONValue;
443
352
  };
444
- visualConfig: {
445
- [x: string]: import("hono/utils/types").JSONValue;
446
- };
447
- version: number;
448
- createdAt: string;
449
- updatedAt: string;
450
- category?: {
451
- id: string;
452
- name: string;
453
- description: string | null;
454
- createdAt: string;
455
- updatedAt: string;
456
- } | null | undefined;
457
- };
458
- outputFormat: "json";
459
- status: import("hono/utils/http-status").ContentfulStatusCode;
460
- };
461
- };
462
- } & {
463
- "/:id/visual-config": {
464
- $patch: {
465
- input: {
466
- json: {
467
- visualConfig: {
468
- chartType: "line" | "bar" | "area" | "pie" | "donut" | "stacked-bar" | "combo" | "radar" | "funnel" | "gauge";
469
- colors?: string[] | undefined;
470
- showLegend?: boolean | undefined;
471
- showGrid?: boolean | undefined;
472
- xAxis?: {
473
- label?: string | undefined;
474
- dataKey?: string | undefined;
475
- } | undefined;
476
- yAxis?: {
477
- label?: string | undefined;
478
- unit?: string | undefined;
479
- min?: number | undefined;
480
- max?: number | undefined;
481
- } | undefined;
482
- tooltip?: {
483
- show?: boolean | undefined;
484
- } | undefined;
485
- };
486
- expectedVersion?: number | undefined;
487
- };
488
- } & {
489
- param: {
490
- id: string;
491
- };
492
- };
493
- output: {
494
- id: string;
495
- name: string;
496
- description: string | null;
497
- categoryId: string | null;
498
- ownerId: string;
499
- isArchived: boolean;
500
- queryConfig: {
501
- [x: string]: import("hono/utils/types").JSONValue;
502
- };
503
- visualConfig: {
504
- [x: string]: import("hono/utils/types").JSONValue;
505
- };
506
353
  version: number;
507
354
  createdAt: string;
508
355
  updatedAt: string;
@@ -551,9 +398,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
551
398
  queryConfig: {
552
399
  [x: string]: import("hono/utils/types").JSONValue;
553
400
  };
554
- visualConfig: {
555
- [x: string]: import("hono/utils/types").JSONValue;
556
- };
557
401
  version: number;
558
402
  createdAt: string;
559
403
  updatedAt: string;
@@ -587,9 +431,6 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
587
431
  queryConfig: {
588
432
  [x: string]: import("hono/utils/types").JSONValue;
589
433
  };
590
- visualConfig: {
591
- [x: string]: import("hono/utils/types").JSONValue;
592
- };
593
434
  version: number;
594
435
  createdAt: string;
595
436
  updatedAt: string;
@@ -1049,7 +890,1388 @@ declare const app: import("hono/hono-base").HonoBase<{}, {
1049
890
  status: 500;
1050
891
  };
1051
892
  };
1052
- }, "/api/notifications">, "/", "/health">;
893
+ }, "/api/notifications"> | import("hono/types").MergeSchemaPath<{
894
+ "/": {
895
+ $post: {
896
+ input: {
897
+ json: {
898
+ shopId: string;
899
+ agentConfigId: string;
900
+ stage: "success" | "queued" | "executing" | "failed";
901
+ eventType: "reply-message";
902
+ payload: Record<string, unknown>;
903
+ message?: string | null | undefined;
904
+ timestamp?: number | undefined;
905
+ } | {
906
+ shopId: string;
907
+ agentConfigId: string;
908
+ stage: "success" | "queued" | "executing" | "failed";
909
+ eventType: "change-cs-status";
910
+ payload: Record<string, unknown>;
911
+ message?: string | null | undefined;
912
+ timestamp?: number | undefined;
913
+ } | {
914
+ shopId: string;
915
+ agentConfigId: string;
916
+ stage: "success" | "queued" | "executing" | "failed";
917
+ eventType: "user-message";
918
+ payload: {
919
+ platform: string;
920
+ userId: string;
921
+ uid: string;
922
+ };
923
+ message?: string | null | undefined;
924
+ timestamp?: number | undefined;
925
+ };
926
+ };
927
+ output: {
928
+ success: boolean;
929
+ errors: ({
930
+ readonly code: "invalid_type";
931
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
932
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
933
+ readonly path: (string | number | null)[];
934
+ readonly message: string;
935
+ } | {
936
+ readonly code: "too_big";
937
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
938
+ readonly maximum: number;
939
+ readonly inclusive?: boolean | undefined;
940
+ readonly exact?: boolean | undefined;
941
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
942
+ readonly path: (string | number | null)[];
943
+ readonly message: string;
944
+ } | {
945
+ readonly code: "too_small";
946
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
947
+ readonly minimum: number;
948
+ readonly inclusive?: boolean | undefined;
949
+ readonly exact?: boolean | undefined;
950
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
951
+ readonly path: (string | number | null)[];
952
+ readonly message: string;
953
+ } | {
954
+ readonly code: "invalid_format";
955
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
956
+ readonly pattern?: string | undefined;
957
+ readonly input?: string | undefined;
958
+ readonly path: (string | number | null)[];
959
+ readonly message: string;
960
+ } | {
961
+ readonly code: "not_multiple_of";
962
+ readonly divisor: number;
963
+ readonly input?: number | undefined;
964
+ readonly path: (string | number | null)[];
965
+ readonly message: string;
966
+ } | {
967
+ readonly code: "unrecognized_keys";
968
+ readonly keys: string[];
969
+ readonly input?: {
970
+ [x: string]: import("hono/utils/types").JSONValue;
971
+ } | undefined;
972
+ readonly path: (string | number | null)[];
973
+ readonly message: string;
974
+ } | {
975
+ readonly code: "invalid_union";
976
+ readonly errors: ({
977
+ readonly code: "invalid_type";
978
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
979
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
980
+ readonly path: (string | number | null)[];
981
+ readonly message: string;
982
+ } | {
983
+ readonly code: "too_big";
984
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
985
+ readonly maximum: number;
986
+ readonly inclusive?: boolean | undefined;
987
+ readonly exact?: boolean | undefined;
988
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
989
+ readonly path: (string | number | null)[];
990
+ readonly message: string;
991
+ } | {
992
+ readonly code: "too_small";
993
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
994
+ readonly minimum: number;
995
+ readonly inclusive?: boolean | undefined;
996
+ readonly exact?: boolean | undefined;
997
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
998
+ readonly path: (string | number | null)[];
999
+ readonly message: string;
1000
+ } | {
1001
+ readonly code: "invalid_format";
1002
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1003
+ readonly pattern?: string | undefined;
1004
+ readonly input?: string | undefined;
1005
+ readonly path: (string | number | null)[];
1006
+ readonly message: string;
1007
+ } | {
1008
+ readonly code: "not_multiple_of";
1009
+ readonly divisor: number;
1010
+ readonly input?: number | undefined;
1011
+ readonly path: (string | number | null)[];
1012
+ readonly message: string;
1013
+ } | {
1014
+ readonly code: "unrecognized_keys";
1015
+ readonly keys: string[];
1016
+ readonly input?: {
1017
+ [x: string]: import("hono/utils/types").JSONValue;
1018
+ } | undefined;
1019
+ readonly path: (string | number | null)[];
1020
+ readonly message: string;
1021
+ } | /*elided*/ any | {
1022
+ readonly code: "invalid_union";
1023
+ readonly errors: [
1024
+ ];
1025
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1026
+ readonly discriminator?: string | undefined | undefined;
1027
+ readonly inclusive: false;
1028
+ readonly path: (string | number | null)[];
1029
+ readonly message: string;
1030
+ } | {
1031
+ readonly code: "invalid_key";
1032
+ readonly origin: "map" | "record";
1033
+ readonly issues: ({
1034
+ readonly code: "invalid_type";
1035
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1036
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1037
+ readonly path: (string | number | null)[];
1038
+ readonly message: string;
1039
+ } | {
1040
+ readonly code: "too_big";
1041
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1042
+ readonly maximum: number;
1043
+ readonly inclusive?: boolean | undefined;
1044
+ readonly exact?: boolean | undefined;
1045
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1046
+ readonly path: (string | number | null)[];
1047
+ readonly message: string;
1048
+ } | {
1049
+ readonly code: "too_small";
1050
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1051
+ readonly minimum: number;
1052
+ readonly inclusive?: boolean | undefined;
1053
+ readonly exact?: boolean | undefined;
1054
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1055
+ readonly path: (string | number | null)[];
1056
+ readonly message: string;
1057
+ } | {
1058
+ readonly code: "invalid_format";
1059
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1060
+ readonly pattern?: string | undefined;
1061
+ readonly input?: string | undefined;
1062
+ readonly path: (string | number | null)[];
1063
+ readonly message: string;
1064
+ } | {
1065
+ readonly code: "not_multiple_of";
1066
+ readonly divisor: number;
1067
+ readonly input?: number | undefined;
1068
+ readonly path: (string | number | null)[];
1069
+ readonly message: string;
1070
+ } | {
1071
+ readonly code: "unrecognized_keys";
1072
+ readonly keys: string[];
1073
+ readonly input?: {
1074
+ [x: string]: import("hono/utils/types").JSONValue;
1075
+ } | undefined;
1076
+ readonly path: (string | number | null)[];
1077
+ readonly message: string;
1078
+ } | /*elided*/ any | {
1079
+ readonly code: "invalid_union";
1080
+ readonly errors: [
1081
+ ];
1082
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1083
+ readonly discriminator?: string | undefined | undefined;
1084
+ readonly inclusive: false;
1085
+ readonly path: (string | number | null)[];
1086
+ readonly message: string;
1087
+ } | /*elided*/ any | {
1088
+ readonly code: "invalid_element";
1089
+ readonly origin: "map" | "set";
1090
+ readonly key: import("hono/utils/types").JSONValue;
1091
+ readonly issues: ({
1092
+ readonly code: "invalid_type";
1093
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1094
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1095
+ readonly path: (string | number | null)[];
1096
+ readonly message: string;
1097
+ } | {
1098
+ readonly code: "too_big";
1099
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1100
+ readonly maximum: number;
1101
+ readonly inclusive?: boolean | undefined;
1102
+ readonly exact?: boolean | undefined;
1103
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1104
+ readonly path: (string | number | null)[];
1105
+ readonly message: string;
1106
+ } | {
1107
+ readonly code: "too_small";
1108
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1109
+ readonly minimum: number;
1110
+ readonly inclusive?: boolean | undefined;
1111
+ readonly exact?: boolean | undefined;
1112
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1113
+ readonly path: (string | number | null)[];
1114
+ readonly message: string;
1115
+ } | {
1116
+ readonly code: "invalid_format";
1117
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1118
+ readonly pattern?: string | undefined;
1119
+ readonly input?: string | undefined;
1120
+ readonly path: (string | number | null)[];
1121
+ readonly message: string;
1122
+ } | {
1123
+ readonly code: "not_multiple_of";
1124
+ readonly divisor: number;
1125
+ readonly input?: number | undefined;
1126
+ readonly path: (string | number | null)[];
1127
+ readonly message: string;
1128
+ } | {
1129
+ readonly code: "unrecognized_keys";
1130
+ readonly keys: string[];
1131
+ readonly input?: {
1132
+ [x: string]: import("hono/utils/types").JSONValue;
1133
+ } | undefined;
1134
+ readonly path: (string | number | null)[];
1135
+ readonly message: string;
1136
+ } | /*elided*/ any | {
1137
+ readonly code: "invalid_union";
1138
+ readonly errors: [
1139
+ ];
1140
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1141
+ readonly discriminator?: string | undefined | undefined;
1142
+ readonly inclusive: false;
1143
+ readonly path: (string | number | null)[];
1144
+ readonly message: string;
1145
+ } | /*elided*/ any | /*elided*/ any | {
1146
+ readonly code: "invalid_value";
1147
+ readonly values: (string | number | boolean | null)[];
1148
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1149
+ readonly path: (string | number | null)[];
1150
+ readonly message: string;
1151
+ } | {
1152
+ readonly code: "custom";
1153
+ readonly params?: {
1154
+ [x: string]: any;
1155
+ } | undefined;
1156
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1157
+ readonly path: (string | number | null)[];
1158
+ readonly message: string;
1159
+ })[];
1160
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1161
+ readonly path: (string | number | null)[];
1162
+ readonly message: string;
1163
+ } | {
1164
+ readonly code: "invalid_value";
1165
+ readonly values: (string | number | boolean | null)[];
1166
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1167
+ readonly path: (string | number | null)[];
1168
+ readonly message: string;
1169
+ } | {
1170
+ readonly code: "custom";
1171
+ readonly params?: {
1172
+ [x: string]: any;
1173
+ } | undefined;
1174
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1175
+ readonly path: (string | number | null)[];
1176
+ readonly message: string;
1177
+ })[];
1178
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1179
+ readonly path: (string | number | null)[];
1180
+ readonly message: string;
1181
+ } | {
1182
+ readonly code: "invalid_element";
1183
+ readonly origin: "map" | "set";
1184
+ readonly key: import("hono/utils/types").JSONValue;
1185
+ readonly issues: ({
1186
+ readonly code: "invalid_type";
1187
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1188
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1189
+ readonly path: (string | number | null)[];
1190
+ readonly message: string;
1191
+ } | {
1192
+ readonly code: "too_big";
1193
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1194
+ readonly maximum: number;
1195
+ readonly inclusive?: boolean | undefined;
1196
+ readonly exact?: boolean | undefined;
1197
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1198
+ readonly path: (string | number | null)[];
1199
+ readonly message: string;
1200
+ } | {
1201
+ readonly code: "too_small";
1202
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1203
+ readonly minimum: number;
1204
+ readonly inclusive?: boolean | undefined;
1205
+ readonly exact?: boolean | undefined;
1206
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1207
+ readonly path: (string | number | null)[];
1208
+ readonly message: string;
1209
+ } | {
1210
+ readonly code: "invalid_format";
1211
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1212
+ readonly pattern?: string | undefined;
1213
+ readonly input?: string | undefined;
1214
+ readonly path: (string | number | null)[];
1215
+ readonly message: string;
1216
+ } | {
1217
+ readonly code: "not_multiple_of";
1218
+ readonly divisor: number;
1219
+ readonly input?: number | undefined;
1220
+ readonly path: (string | number | null)[];
1221
+ readonly message: string;
1222
+ } | {
1223
+ readonly code: "unrecognized_keys";
1224
+ readonly keys: string[];
1225
+ readonly input?: {
1226
+ [x: string]: import("hono/utils/types").JSONValue;
1227
+ } | undefined;
1228
+ readonly path: (string | number | null)[];
1229
+ readonly message: string;
1230
+ } | /*elided*/ any | {
1231
+ readonly code: "invalid_union";
1232
+ readonly errors: [
1233
+ ];
1234
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1235
+ readonly discriminator?: string | undefined | undefined;
1236
+ readonly inclusive: false;
1237
+ readonly path: (string | number | null)[];
1238
+ readonly message: string;
1239
+ } | {
1240
+ readonly code: "invalid_key";
1241
+ readonly origin: "map" | "record";
1242
+ readonly issues: ({
1243
+ readonly code: "invalid_type";
1244
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1245
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1246
+ readonly path: (string | number | null)[];
1247
+ readonly message: string;
1248
+ } | {
1249
+ readonly code: "too_big";
1250
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1251
+ readonly maximum: number;
1252
+ readonly inclusive?: boolean | undefined;
1253
+ readonly exact?: boolean | undefined;
1254
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1255
+ readonly path: (string | number | null)[];
1256
+ readonly message: string;
1257
+ } | {
1258
+ readonly code: "too_small";
1259
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1260
+ readonly minimum: number;
1261
+ readonly inclusive?: boolean | undefined;
1262
+ readonly exact?: boolean | undefined;
1263
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1264
+ readonly path: (string | number | null)[];
1265
+ readonly message: string;
1266
+ } | {
1267
+ readonly code: "invalid_format";
1268
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1269
+ readonly pattern?: string | undefined;
1270
+ readonly input?: string | undefined;
1271
+ readonly path: (string | number | null)[];
1272
+ readonly message: string;
1273
+ } | {
1274
+ readonly code: "not_multiple_of";
1275
+ readonly divisor: number;
1276
+ readonly input?: number | undefined;
1277
+ readonly path: (string | number | null)[];
1278
+ readonly message: string;
1279
+ } | {
1280
+ readonly code: "unrecognized_keys";
1281
+ readonly keys: string[];
1282
+ readonly input?: {
1283
+ [x: string]: import("hono/utils/types").JSONValue;
1284
+ } | undefined;
1285
+ readonly path: (string | number | null)[];
1286
+ readonly message: string;
1287
+ } | /*elided*/ any | {
1288
+ readonly code: "invalid_union";
1289
+ readonly errors: [
1290
+ ];
1291
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1292
+ readonly discriminator?: string | undefined | undefined;
1293
+ readonly inclusive: false;
1294
+ readonly path: (string | number | null)[];
1295
+ readonly message: string;
1296
+ } | /*elided*/ any | /*elided*/ any | {
1297
+ readonly code: "invalid_value";
1298
+ readonly values: (string | number | boolean | null)[];
1299
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1300
+ readonly path: (string | number | null)[];
1301
+ readonly message: string;
1302
+ } | {
1303
+ readonly code: "custom";
1304
+ readonly params?: {
1305
+ [x: string]: any;
1306
+ } | undefined;
1307
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1308
+ readonly path: (string | number | null)[];
1309
+ readonly message: string;
1310
+ })[];
1311
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1312
+ readonly path: (string | number | null)[];
1313
+ readonly message: string;
1314
+ } | /*elided*/ any | {
1315
+ readonly code: "invalid_value";
1316
+ readonly values: (string | number | boolean | null)[];
1317
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1318
+ readonly path: (string | number | null)[];
1319
+ readonly message: string;
1320
+ } | {
1321
+ readonly code: "custom";
1322
+ readonly params?: {
1323
+ [x: string]: any;
1324
+ } | undefined;
1325
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1326
+ readonly path: (string | number | null)[];
1327
+ readonly message: string;
1328
+ })[];
1329
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1330
+ readonly path: (string | number | null)[];
1331
+ readonly message: string;
1332
+ } | {
1333
+ readonly code: "invalid_value";
1334
+ readonly values: (string | number | boolean | null)[];
1335
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1336
+ readonly path: (string | number | null)[];
1337
+ readonly message: string;
1338
+ } | {
1339
+ readonly code: "custom";
1340
+ readonly params?: {
1341
+ [x: string]: any;
1342
+ } | undefined;
1343
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1344
+ readonly path: (string | number | null)[];
1345
+ readonly message: string;
1346
+ })[][];
1347
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1348
+ readonly discriminator?: string | undefined | undefined;
1349
+ readonly inclusive?: true | undefined;
1350
+ readonly path: (string | number | null)[];
1351
+ readonly message: string;
1352
+ } | {
1353
+ readonly code: "invalid_union";
1354
+ readonly errors: [
1355
+ ];
1356
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1357
+ readonly discriminator?: string | undefined | undefined;
1358
+ readonly inclusive: false;
1359
+ readonly path: (string | number | null)[];
1360
+ readonly message: string;
1361
+ } | {
1362
+ readonly code: "invalid_key";
1363
+ readonly origin: "map" | "record";
1364
+ readonly issues: ({
1365
+ readonly code: "invalid_type";
1366
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1367
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1368
+ readonly path: (string | number | null)[];
1369
+ readonly message: string;
1370
+ } | {
1371
+ readonly code: "too_big";
1372
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1373
+ readonly maximum: number;
1374
+ readonly inclusive?: boolean | undefined;
1375
+ readonly exact?: boolean | undefined;
1376
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1377
+ readonly path: (string | number | null)[];
1378
+ readonly message: string;
1379
+ } | {
1380
+ readonly code: "too_small";
1381
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1382
+ readonly minimum: number;
1383
+ readonly inclusive?: boolean | undefined;
1384
+ readonly exact?: boolean | undefined;
1385
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1386
+ readonly path: (string | number | null)[];
1387
+ readonly message: string;
1388
+ } | {
1389
+ readonly code: "invalid_format";
1390
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1391
+ readonly pattern?: string | undefined;
1392
+ readonly input?: string | undefined;
1393
+ readonly path: (string | number | null)[];
1394
+ readonly message: string;
1395
+ } | {
1396
+ readonly code: "not_multiple_of";
1397
+ readonly divisor: number;
1398
+ readonly input?: number | undefined;
1399
+ readonly path: (string | number | null)[];
1400
+ readonly message: string;
1401
+ } | {
1402
+ readonly code: "unrecognized_keys";
1403
+ readonly keys: string[];
1404
+ readonly input?: {
1405
+ [x: string]: import("hono/utils/types").JSONValue;
1406
+ } | undefined;
1407
+ readonly path: (string | number | null)[];
1408
+ readonly message: string;
1409
+ } | {
1410
+ readonly code: "invalid_union";
1411
+ readonly errors: ({
1412
+ readonly code: "invalid_type";
1413
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1414
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1415
+ readonly path: (string | number | null)[];
1416
+ readonly message: string;
1417
+ } | {
1418
+ readonly code: "too_big";
1419
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1420
+ readonly maximum: number;
1421
+ readonly inclusive?: boolean | undefined;
1422
+ readonly exact?: boolean | undefined;
1423
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1424
+ readonly path: (string | number | null)[];
1425
+ readonly message: string;
1426
+ } | {
1427
+ readonly code: "too_small";
1428
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1429
+ readonly minimum: number;
1430
+ readonly inclusive?: boolean | undefined;
1431
+ readonly exact?: boolean | undefined;
1432
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1433
+ readonly path: (string | number | null)[];
1434
+ readonly message: string;
1435
+ } | {
1436
+ readonly code: "invalid_format";
1437
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1438
+ readonly pattern?: string | undefined;
1439
+ readonly input?: string | undefined;
1440
+ readonly path: (string | number | null)[];
1441
+ readonly message: string;
1442
+ } | {
1443
+ readonly code: "not_multiple_of";
1444
+ readonly divisor: number;
1445
+ readonly input?: number | undefined;
1446
+ readonly path: (string | number | null)[];
1447
+ readonly message: string;
1448
+ } | {
1449
+ readonly code: "unrecognized_keys";
1450
+ readonly keys: string[];
1451
+ readonly input?: {
1452
+ [x: string]: import("hono/utils/types").JSONValue;
1453
+ } | undefined;
1454
+ readonly path: (string | number | null)[];
1455
+ readonly message: string;
1456
+ } | /*elided*/ any | {
1457
+ readonly code: "invalid_union";
1458
+ readonly errors: [
1459
+ ];
1460
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1461
+ readonly discriminator?: string | undefined | undefined;
1462
+ readonly inclusive: false;
1463
+ readonly path: (string | number | null)[];
1464
+ readonly message: string;
1465
+ } | /*elided*/ any | {
1466
+ readonly code: "invalid_element";
1467
+ readonly origin: "map" | "set";
1468
+ readonly key: import("hono/utils/types").JSONValue;
1469
+ readonly issues: ({
1470
+ readonly code: "invalid_type";
1471
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1472
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1473
+ readonly path: (string | number | null)[];
1474
+ readonly message: string;
1475
+ } | {
1476
+ readonly code: "too_big";
1477
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1478
+ readonly maximum: number;
1479
+ readonly inclusive?: boolean | undefined;
1480
+ readonly exact?: boolean | undefined;
1481
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1482
+ readonly path: (string | number | null)[];
1483
+ readonly message: string;
1484
+ } | {
1485
+ readonly code: "too_small";
1486
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1487
+ readonly minimum: number;
1488
+ readonly inclusive?: boolean | undefined;
1489
+ readonly exact?: boolean | undefined;
1490
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1491
+ readonly path: (string | number | null)[];
1492
+ readonly message: string;
1493
+ } | {
1494
+ readonly code: "invalid_format";
1495
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1496
+ readonly pattern?: string | undefined;
1497
+ readonly input?: string | undefined;
1498
+ readonly path: (string | number | null)[];
1499
+ readonly message: string;
1500
+ } | {
1501
+ readonly code: "not_multiple_of";
1502
+ readonly divisor: number;
1503
+ readonly input?: number | undefined;
1504
+ readonly path: (string | number | null)[];
1505
+ readonly message: string;
1506
+ } | {
1507
+ readonly code: "unrecognized_keys";
1508
+ readonly keys: string[];
1509
+ readonly input?: {
1510
+ [x: string]: import("hono/utils/types").JSONValue;
1511
+ } | undefined;
1512
+ readonly path: (string | number | null)[];
1513
+ readonly message: string;
1514
+ } | /*elided*/ any | {
1515
+ readonly code: "invalid_union";
1516
+ readonly errors: [
1517
+ ];
1518
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1519
+ readonly discriminator?: string | undefined | undefined;
1520
+ readonly inclusive: false;
1521
+ readonly path: (string | number | null)[];
1522
+ readonly message: string;
1523
+ } | /*elided*/ any | /*elided*/ any | {
1524
+ readonly code: "invalid_value";
1525
+ readonly values: (string | number | boolean | null)[];
1526
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1527
+ readonly path: (string | number | null)[];
1528
+ readonly message: string;
1529
+ } | {
1530
+ readonly code: "custom";
1531
+ readonly params?: {
1532
+ [x: string]: any;
1533
+ } | undefined;
1534
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1535
+ readonly path: (string | number | null)[];
1536
+ readonly message: string;
1537
+ })[];
1538
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1539
+ readonly path: (string | number | null)[];
1540
+ readonly message: string;
1541
+ } | {
1542
+ readonly code: "invalid_value";
1543
+ readonly values: (string | number | boolean | null)[];
1544
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1545
+ readonly path: (string | number | null)[];
1546
+ readonly message: string;
1547
+ } | {
1548
+ readonly code: "custom";
1549
+ readonly params?: {
1550
+ [x: string]: any;
1551
+ } | undefined;
1552
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1553
+ readonly path: (string | number | null)[];
1554
+ readonly message: string;
1555
+ })[][];
1556
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1557
+ readonly discriminator?: string | undefined | undefined;
1558
+ readonly inclusive?: true | undefined;
1559
+ readonly path: (string | number | null)[];
1560
+ readonly message: string;
1561
+ } | {
1562
+ readonly code: "invalid_union";
1563
+ readonly errors: [
1564
+ ];
1565
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1566
+ readonly discriminator?: string | undefined | undefined;
1567
+ readonly inclusive: false;
1568
+ readonly path: (string | number | null)[];
1569
+ readonly message: string;
1570
+ } | /*elided*/ any | {
1571
+ readonly code: "invalid_element";
1572
+ readonly origin: "map" | "set";
1573
+ readonly key: import("hono/utils/types").JSONValue;
1574
+ readonly issues: ({
1575
+ readonly code: "invalid_type";
1576
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1577
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1578
+ readonly path: (string | number | null)[];
1579
+ readonly message: string;
1580
+ } | {
1581
+ readonly code: "too_big";
1582
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1583
+ readonly maximum: number;
1584
+ readonly inclusive?: boolean | undefined;
1585
+ readonly exact?: boolean | undefined;
1586
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1587
+ readonly path: (string | number | null)[];
1588
+ readonly message: string;
1589
+ } | {
1590
+ readonly code: "too_small";
1591
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1592
+ readonly minimum: number;
1593
+ readonly inclusive?: boolean | undefined;
1594
+ readonly exact?: boolean | undefined;
1595
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1596
+ readonly path: (string | number | null)[];
1597
+ readonly message: string;
1598
+ } | {
1599
+ readonly code: "invalid_format";
1600
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1601
+ readonly pattern?: string | undefined;
1602
+ readonly input?: string | undefined;
1603
+ readonly path: (string | number | null)[];
1604
+ readonly message: string;
1605
+ } | {
1606
+ readonly code: "not_multiple_of";
1607
+ readonly divisor: number;
1608
+ readonly input?: number | undefined;
1609
+ readonly path: (string | number | null)[];
1610
+ readonly message: string;
1611
+ } | {
1612
+ readonly code: "unrecognized_keys";
1613
+ readonly keys: string[];
1614
+ readonly input?: {
1615
+ [x: string]: import("hono/utils/types").JSONValue;
1616
+ } | undefined;
1617
+ readonly path: (string | number | null)[];
1618
+ readonly message: string;
1619
+ } | {
1620
+ readonly code: "invalid_union";
1621
+ readonly errors: ({
1622
+ readonly code: "invalid_type";
1623
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1624
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1625
+ readonly path: (string | number | null)[];
1626
+ readonly message: string;
1627
+ } | {
1628
+ readonly code: "too_big";
1629
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1630
+ readonly maximum: number;
1631
+ readonly inclusive?: boolean | undefined;
1632
+ readonly exact?: boolean | undefined;
1633
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1634
+ readonly path: (string | number | null)[];
1635
+ readonly message: string;
1636
+ } | {
1637
+ readonly code: "too_small";
1638
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1639
+ readonly minimum: number;
1640
+ readonly inclusive?: boolean | undefined;
1641
+ readonly exact?: boolean | undefined;
1642
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1643
+ readonly path: (string | number | null)[];
1644
+ readonly message: string;
1645
+ } | {
1646
+ readonly code: "invalid_format";
1647
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1648
+ readonly pattern?: string | undefined;
1649
+ readonly input?: string | undefined;
1650
+ readonly path: (string | number | null)[];
1651
+ readonly message: string;
1652
+ } | {
1653
+ readonly code: "not_multiple_of";
1654
+ readonly divisor: number;
1655
+ readonly input?: number | undefined;
1656
+ readonly path: (string | number | null)[];
1657
+ readonly message: string;
1658
+ } | {
1659
+ readonly code: "unrecognized_keys";
1660
+ readonly keys: string[];
1661
+ readonly input?: {
1662
+ [x: string]: import("hono/utils/types").JSONValue;
1663
+ } | undefined;
1664
+ readonly path: (string | number | null)[];
1665
+ readonly message: string;
1666
+ } | /*elided*/ any | {
1667
+ readonly code: "invalid_union";
1668
+ readonly errors: [
1669
+ ];
1670
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1671
+ readonly discriminator?: string | undefined | undefined;
1672
+ readonly inclusive: false;
1673
+ readonly path: (string | number | null)[];
1674
+ readonly message: string;
1675
+ } | /*elided*/ any | /*elided*/ any | {
1676
+ readonly code: "invalid_value";
1677
+ readonly values: (string | number | boolean | null)[];
1678
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1679
+ readonly path: (string | number | null)[];
1680
+ readonly message: string;
1681
+ } | {
1682
+ readonly code: "custom";
1683
+ readonly params?: {
1684
+ [x: string]: any;
1685
+ } | undefined;
1686
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1687
+ readonly path: (string | number | null)[];
1688
+ readonly message: string;
1689
+ })[][];
1690
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1691
+ readonly discriminator?: string | undefined | undefined;
1692
+ readonly inclusive?: true | undefined;
1693
+ readonly path: (string | number | null)[];
1694
+ readonly message: string;
1695
+ } | {
1696
+ readonly code: "invalid_union";
1697
+ readonly errors: [
1698
+ ];
1699
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1700
+ readonly discriminator?: string | undefined | undefined;
1701
+ readonly inclusive: false;
1702
+ readonly path: (string | number | null)[];
1703
+ readonly message: string;
1704
+ } | /*elided*/ any | /*elided*/ any | {
1705
+ readonly code: "invalid_value";
1706
+ readonly values: (string | number | boolean | null)[];
1707
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1708
+ readonly path: (string | number | null)[];
1709
+ readonly message: string;
1710
+ } | {
1711
+ readonly code: "custom";
1712
+ readonly params?: {
1713
+ [x: string]: any;
1714
+ } | undefined;
1715
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1716
+ readonly path: (string | number | null)[];
1717
+ readonly message: string;
1718
+ })[];
1719
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1720
+ readonly path: (string | number | null)[];
1721
+ readonly message: string;
1722
+ } | {
1723
+ readonly code: "invalid_value";
1724
+ readonly values: (string | number | boolean | null)[];
1725
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1726
+ readonly path: (string | number | null)[];
1727
+ readonly message: string;
1728
+ } | {
1729
+ readonly code: "custom";
1730
+ readonly params?: {
1731
+ [x: string]: any;
1732
+ } | undefined;
1733
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1734
+ readonly path: (string | number | null)[];
1735
+ readonly message: string;
1736
+ })[];
1737
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1738
+ readonly path: (string | number | null)[];
1739
+ readonly message: string;
1740
+ } | {
1741
+ readonly code: "invalid_element";
1742
+ readonly origin: "map" | "set";
1743
+ readonly key: import("hono/utils/types").JSONValue;
1744
+ readonly issues: ({
1745
+ readonly code: "invalid_type";
1746
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1747
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1748
+ readonly path: (string | number | null)[];
1749
+ readonly message: string;
1750
+ } | {
1751
+ readonly code: "too_big";
1752
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1753
+ readonly maximum: number;
1754
+ readonly inclusive?: boolean | undefined;
1755
+ readonly exact?: boolean | undefined;
1756
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1757
+ readonly path: (string | number | null)[];
1758
+ readonly message: string;
1759
+ } | {
1760
+ readonly code: "too_small";
1761
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1762
+ readonly minimum: number;
1763
+ readonly inclusive?: boolean | undefined;
1764
+ readonly exact?: boolean | undefined;
1765
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1766
+ readonly path: (string | number | null)[];
1767
+ readonly message: string;
1768
+ } | {
1769
+ readonly code: "invalid_format";
1770
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1771
+ readonly pattern?: string | undefined;
1772
+ readonly input?: string | undefined;
1773
+ readonly path: (string | number | null)[];
1774
+ readonly message: string;
1775
+ } | {
1776
+ readonly code: "not_multiple_of";
1777
+ readonly divisor: number;
1778
+ readonly input?: number | undefined;
1779
+ readonly path: (string | number | null)[];
1780
+ readonly message: string;
1781
+ } | {
1782
+ readonly code: "unrecognized_keys";
1783
+ readonly keys: string[];
1784
+ readonly input?: {
1785
+ [x: string]: import("hono/utils/types").JSONValue;
1786
+ } | undefined;
1787
+ readonly path: (string | number | null)[];
1788
+ readonly message: string;
1789
+ } | {
1790
+ readonly code: "invalid_union";
1791
+ readonly errors: ({
1792
+ readonly code: "invalid_type";
1793
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1794
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1795
+ readonly path: (string | number | null)[];
1796
+ readonly message: string;
1797
+ } | {
1798
+ readonly code: "too_big";
1799
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1800
+ readonly maximum: number;
1801
+ readonly inclusive?: boolean | undefined;
1802
+ readonly exact?: boolean | undefined;
1803
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1804
+ readonly path: (string | number | null)[];
1805
+ readonly message: string;
1806
+ } | {
1807
+ readonly code: "too_small";
1808
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1809
+ readonly minimum: number;
1810
+ readonly inclusive?: boolean | undefined;
1811
+ readonly exact?: boolean | undefined;
1812
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1813
+ readonly path: (string | number | null)[];
1814
+ readonly message: string;
1815
+ } | {
1816
+ readonly code: "invalid_format";
1817
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1818
+ readonly pattern?: string | undefined;
1819
+ readonly input?: string | undefined;
1820
+ readonly path: (string | number | null)[];
1821
+ readonly message: string;
1822
+ } | {
1823
+ readonly code: "not_multiple_of";
1824
+ readonly divisor: number;
1825
+ readonly input?: number | undefined;
1826
+ readonly path: (string | number | null)[];
1827
+ readonly message: string;
1828
+ } | {
1829
+ readonly code: "unrecognized_keys";
1830
+ readonly keys: string[];
1831
+ readonly input?: {
1832
+ [x: string]: import("hono/utils/types").JSONValue;
1833
+ } | undefined;
1834
+ readonly path: (string | number | null)[];
1835
+ readonly message: string;
1836
+ } | /*elided*/ any | {
1837
+ readonly code: "invalid_union";
1838
+ readonly errors: [
1839
+ ];
1840
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1841
+ readonly discriminator?: string | undefined | undefined;
1842
+ readonly inclusive: false;
1843
+ readonly path: (string | number | null)[];
1844
+ readonly message: string;
1845
+ } | {
1846
+ readonly code: "invalid_key";
1847
+ readonly origin: "map" | "record";
1848
+ readonly issues: ({
1849
+ readonly code: "invalid_type";
1850
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1851
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1852
+ readonly path: (string | number | null)[];
1853
+ readonly message: string;
1854
+ } | {
1855
+ readonly code: "too_big";
1856
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1857
+ readonly maximum: number;
1858
+ readonly inclusive?: boolean | undefined;
1859
+ readonly exact?: boolean | undefined;
1860
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1861
+ readonly path: (string | number | null)[];
1862
+ readonly message: string;
1863
+ } | {
1864
+ readonly code: "too_small";
1865
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1866
+ readonly minimum: number;
1867
+ readonly inclusive?: boolean | undefined;
1868
+ readonly exact?: boolean | undefined;
1869
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1870
+ readonly path: (string | number | null)[];
1871
+ readonly message: string;
1872
+ } | {
1873
+ readonly code: "invalid_format";
1874
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1875
+ readonly pattern?: string | undefined;
1876
+ readonly input?: string | undefined;
1877
+ readonly path: (string | number | null)[];
1878
+ readonly message: string;
1879
+ } | {
1880
+ readonly code: "not_multiple_of";
1881
+ readonly divisor: number;
1882
+ readonly input?: number | undefined;
1883
+ readonly path: (string | number | null)[];
1884
+ readonly message: string;
1885
+ } | {
1886
+ readonly code: "unrecognized_keys";
1887
+ readonly keys: string[];
1888
+ readonly input?: {
1889
+ [x: string]: import("hono/utils/types").JSONValue;
1890
+ } | undefined;
1891
+ readonly path: (string | number | null)[];
1892
+ readonly message: string;
1893
+ } | /*elided*/ any | {
1894
+ readonly code: "invalid_union";
1895
+ readonly errors: [
1896
+ ];
1897
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1898
+ readonly discriminator?: string | undefined | undefined;
1899
+ readonly inclusive: false;
1900
+ readonly path: (string | number | null)[];
1901
+ readonly message: string;
1902
+ } | /*elided*/ any | /*elided*/ any | {
1903
+ readonly code: "invalid_value";
1904
+ readonly values: (string | number | boolean | null)[];
1905
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1906
+ readonly path: (string | number | null)[];
1907
+ readonly message: string;
1908
+ } | {
1909
+ readonly code: "custom";
1910
+ readonly params?: {
1911
+ [x: string]: any;
1912
+ } | undefined;
1913
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1914
+ readonly path: (string | number | null)[];
1915
+ readonly message: string;
1916
+ })[];
1917
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1918
+ readonly path: (string | number | null)[];
1919
+ readonly message: string;
1920
+ } | /*elided*/ any | {
1921
+ readonly code: "invalid_value";
1922
+ readonly values: (string | number | boolean | null)[];
1923
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1924
+ readonly path: (string | number | null)[];
1925
+ readonly message: string;
1926
+ } | {
1927
+ readonly code: "custom";
1928
+ readonly params?: {
1929
+ [x: string]: any;
1930
+ } | undefined;
1931
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1932
+ readonly path: (string | number | null)[];
1933
+ readonly message: string;
1934
+ })[][];
1935
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1936
+ readonly discriminator?: string | undefined | undefined;
1937
+ readonly inclusive?: true | undefined;
1938
+ readonly path: (string | number | null)[];
1939
+ readonly message: string;
1940
+ } | {
1941
+ readonly code: "invalid_union";
1942
+ readonly errors: [
1943
+ ];
1944
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1945
+ readonly discriminator?: string | undefined | undefined;
1946
+ readonly inclusive: false;
1947
+ readonly path: (string | number | null)[];
1948
+ readonly message: string;
1949
+ } | {
1950
+ readonly code: "invalid_key";
1951
+ readonly origin: "map" | "record";
1952
+ readonly issues: ({
1953
+ readonly code: "invalid_type";
1954
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
1955
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1956
+ readonly path: (string | number | null)[];
1957
+ readonly message: string;
1958
+ } | {
1959
+ readonly code: "too_big";
1960
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1961
+ readonly maximum: number;
1962
+ readonly inclusive?: boolean | undefined;
1963
+ readonly exact?: boolean | undefined;
1964
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1965
+ readonly path: (string | number | null)[];
1966
+ readonly message: string;
1967
+ } | {
1968
+ readonly code: "too_small";
1969
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
1970
+ readonly minimum: number;
1971
+ readonly inclusive?: boolean | undefined;
1972
+ readonly exact?: boolean | undefined;
1973
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
1974
+ readonly path: (string | number | null)[];
1975
+ readonly message: string;
1976
+ } | {
1977
+ readonly code: "invalid_format";
1978
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
1979
+ readonly pattern?: string | undefined;
1980
+ readonly input?: string | undefined;
1981
+ readonly path: (string | number | null)[];
1982
+ readonly message: string;
1983
+ } | {
1984
+ readonly code: "not_multiple_of";
1985
+ readonly divisor: number;
1986
+ readonly input?: number | undefined;
1987
+ readonly path: (string | number | null)[];
1988
+ readonly message: string;
1989
+ } | {
1990
+ readonly code: "unrecognized_keys";
1991
+ readonly keys: string[];
1992
+ readonly input?: {
1993
+ [x: string]: import("hono/utils/types").JSONValue;
1994
+ } | undefined;
1995
+ readonly path: (string | number | null)[];
1996
+ readonly message: string;
1997
+ } | {
1998
+ readonly code: "invalid_union";
1999
+ readonly errors: ({
2000
+ readonly code: "invalid_type";
2001
+ readonly expected: import("zod/v4/core").$ZodInvalidTypeExpected;
2002
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2003
+ readonly path: (string | number | null)[];
2004
+ readonly message: string;
2005
+ } | {
2006
+ readonly code: "too_big";
2007
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
2008
+ readonly maximum: number;
2009
+ readonly inclusive?: boolean | undefined;
2010
+ readonly exact?: boolean | undefined;
2011
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2012
+ readonly path: (string | number | null)[];
2013
+ readonly message: string;
2014
+ } | {
2015
+ readonly code: "too_small";
2016
+ readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
2017
+ readonly minimum: number;
2018
+ readonly inclusive?: boolean | undefined;
2019
+ readonly exact?: boolean | undefined;
2020
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2021
+ readonly path: (string | number | null)[];
2022
+ readonly message: string;
2023
+ } | {
2024
+ readonly code: "invalid_format";
2025
+ readonly format: import("zod/v4/core").$ZodStringFormats | (string & {});
2026
+ readonly pattern?: string | undefined;
2027
+ readonly input?: string | undefined;
2028
+ readonly path: (string | number | null)[];
2029
+ readonly message: string;
2030
+ } | {
2031
+ readonly code: "not_multiple_of";
2032
+ readonly divisor: number;
2033
+ readonly input?: number | undefined;
2034
+ readonly path: (string | number | null)[];
2035
+ readonly message: string;
2036
+ } | {
2037
+ readonly code: "unrecognized_keys";
2038
+ readonly keys: string[];
2039
+ readonly input?: {
2040
+ [x: string]: import("hono/utils/types").JSONValue;
2041
+ } | undefined;
2042
+ readonly path: (string | number | null)[];
2043
+ readonly message: string;
2044
+ } | /*elided*/ any | {
2045
+ readonly code: "invalid_union";
2046
+ readonly errors: [
2047
+ ];
2048
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2049
+ readonly discriminator?: string | undefined | undefined;
2050
+ readonly inclusive: false;
2051
+ readonly path: (string | number | null)[];
2052
+ readonly message: string;
2053
+ } | /*elided*/ any | /*elided*/ any | {
2054
+ readonly code: "invalid_value";
2055
+ readonly values: (string | number | boolean | null)[];
2056
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2057
+ readonly path: (string | number | null)[];
2058
+ readonly message: string;
2059
+ } | {
2060
+ readonly code: "custom";
2061
+ readonly params?: {
2062
+ [x: string]: any;
2063
+ } | undefined;
2064
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2065
+ readonly path: (string | number | null)[];
2066
+ readonly message: string;
2067
+ })[][];
2068
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2069
+ readonly discriminator?: string | undefined | undefined;
2070
+ readonly inclusive?: true | undefined;
2071
+ readonly path: (string | number | null)[];
2072
+ readonly message: string;
2073
+ } | {
2074
+ readonly code: "invalid_union";
2075
+ readonly errors: [
2076
+ ];
2077
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2078
+ readonly discriminator?: string | undefined | undefined;
2079
+ readonly inclusive: false;
2080
+ readonly path: (string | number | null)[];
2081
+ readonly message: string;
2082
+ } | /*elided*/ any | /*elided*/ any | {
2083
+ readonly code: "invalid_value";
2084
+ readonly values: (string | number | boolean | null)[];
2085
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2086
+ readonly path: (string | number | null)[];
2087
+ readonly message: string;
2088
+ } | {
2089
+ readonly code: "custom";
2090
+ readonly params?: {
2091
+ [x: string]: any;
2092
+ } | undefined;
2093
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2094
+ readonly path: (string | number | null)[];
2095
+ readonly message: string;
2096
+ })[];
2097
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2098
+ readonly path: (string | number | null)[];
2099
+ readonly message: string;
2100
+ } | /*elided*/ any | {
2101
+ readonly code: "invalid_value";
2102
+ readonly values: (string | number | boolean | null)[];
2103
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2104
+ readonly path: (string | number | null)[];
2105
+ readonly message: string;
2106
+ } | {
2107
+ readonly code: "custom";
2108
+ readonly params?: {
2109
+ [x: string]: any;
2110
+ } | undefined;
2111
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2112
+ readonly path: (string | number | null)[];
2113
+ readonly message: string;
2114
+ })[];
2115
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2116
+ readonly path: (string | number | null)[];
2117
+ readonly message: string;
2118
+ } | {
2119
+ readonly code: "invalid_value";
2120
+ readonly values: (string | number | boolean | null)[];
2121
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2122
+ readonly path: (string | number | null)[];
2123
+ readonly message: string;
2124
+ } | {
2125
+ readonly code: "custom";
2126
+ readonly params?: {
2127
+ [x: string]: any;
2128
+ } | undefined;
2129
+ readonly input?: import("hono/utils/types").JSONValue | undefined;
2130
+ readonly path: (string | number | null)[];
2131
+ readonly message: string;
2132
+ })[];
2133
+ };
2134
+ outputFormat: "json";
2135
+ status: 400;
2136
+ } | {
2137
+ input: {
2138
+ json: {
2139
+ shopId: string;
2140
+ agentConfigId: string;
2141
+ stage: "success" | "queued" | "executing" | "failed";
2142
+ eventType: "reply-message";
2143
+ payload: Record<string, unknown>;
2144
+ message?: string | null | undefined;
2145
+ timestamp?: number | undefined;
2146
+ } | {
2147
+ shopId: string;
2148
+ agentConfigId: string;
2149
+ stage: "success" | "queued" | "executing" | "failed";
2150
+ eventType: "change-cs-status";
2151
+ payload: Record<string, unknown>;
2152
+ message?: string | null | undefined;
2153
+ timestamp?: number | undefined;
2154
+ } | {
2155
+ shopId: string;
2156
+ agentConfigId: string;
2157
+ stage: "success" | "queued" | "executing" | "failed";
2158
+ eventType: "user-message";
2159
+ payload: {
2160
+ platform: string;
2161
+ userId: string;
2162
+ uid: string;
2163
+ };
2164
+ message?: string | null | undefined;
2165
+ timestamp?: number | undefined;
2166
+ };
2167
+ };
2168
+ output: {
2169
+ success: true;
2170
+ clients: number;
2171
+ };
2172
+ outputFormat: "json";
2173
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2174
+ };
2175
+ };
2176
+ } & {
2177
+ "/batch": {
2178
+ $post: {
2179
+ input: {
2180
+ json: {
2181
+ events: ({
2182
+ shopId: string;
2183
+ agentConfigId: string;
2184
+ stage: "success" | "queued" | "executing" | "failed";
2185
+ eventType: "reply-message";
2186
+ payload: Record<string, unknown>;
2187
+ message?: string | null | undefined;
2188
+ timestamp?: number | undefined;
2189
+ } | {
2190
+ shopId: string;
2191
+ agentConfigId: string;
2192
+ stage: "success" | "queued" | "executing" | "failed";
2193
+ eventType: "change-cs-status";
2194
+ payload: Record<string, unknown>;
2195
+ message?: string | null | undefined;
2196
+ timestamp?: number | undefined;
2197
+ } | {
2198
+ shopId: string;
2199
+ agentConfigId: string;
2200
+ stage: "success" | "queued" | "executing" | "failed";
2201
+ eventType: "user-message";
2202
+ payload: {
2203
+ platform: string;
2204
+ userId: string;
2205
+ uid: string;
2206
+ };
2207
+ message?: string | null | undefined;
2208
+ timestamp?: number | undefined;
2209
+ })[];
2210
+ };
2211
+ };
2212
+ output: {
2213
+ success: true;
2214
+ count: number;
2215
+ clients: number;
2216
+ };
2217
+ outputFormat: "json";
2218
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2219
+ };
2220
+ };
2221
+ } & {
2222
+ "/recent": {
2223
+ $get: {
2224
+ input: {};
2225
+ output: {
2226
+ events: ({
2227
+ shopId: string;
2228
+ agentConfigId: string;
2229
+ stage: "success" | "queued" | "executing" | "failed";
2230
+ eventType: "reply-message";
2231
+ payload: {
2232
+ [x: string]: import("hono/utils/types").JSONValue;
2233
+ };
2234
+ message?: string | null | undefined;
2235
+ timestamp?: number | undefined;
2236
+ } | {
2237
+ shopId: string;
2238
+ agentConfigId: string;
2239
+ stage: "success" | "queued" | "executing" | "failed";
2240
+ eventType: "change-cs-status";
2241
+ payload: {
2242
+ [x: string]: import("hono/utils/types").JSONValue;
2243
+ };
2244
+ message?: string | null | undefined;
2245
+ timestamp?: number | undefined;
2246
+ } | {
2247
+ shopId: string;
2248
+ agentConfigId: string;
2249
+ stage: "success" | "queued" | "executing" | "failed";
2250
+ eventType: "user-message";
2251
+ payload: {
2252
+ platform: string;
2253
+ userId: string;
2254
+ uid: string;
2255
+ };
2256
+ message?: string | null | undefined;
2257
+ timestamp?: number | undefined;
2258
+ })[];
2259
+ total: number;
2260
+ };
2261
+ outputFormat: "json";
2262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2263
+ };
2264
+ };
2265
+ } & {
2266
+ "/stream": {
2267
+ $get: {
2268
+ input: {};
2269
+ output: {};
2270
+ outputFormat: string;
2271
+ status: import("hono/utils/http-status").StatusCode;
2272
+ };
2273
+ };
2274
+ }, "/api/rpa-events">, "/", "/health">;
1053
2275
  export type AppType = typeof app;
1054
2276
 
1055
2277
  export {