@teamso/teamso-mcp 0.0.0-stage → 1.2.1

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 (112) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/LICENSE +21 -0
  3. package/README.md +506 -2
  4. package/dist/client.d.ts +215 -0
  5. package/dist/client.d.ts.map +1 -0
  6. package/dist/client.js +797 -0
  7. package/dist/client.js.map +1 -0
  8. package/dist/index.d.ts +3 -0
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +32 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/prompts/index.d.ts +12 -0
  13. package/dist/prompts/index.d.ts.map +1 -0
  14. package/dist/prompts/index.js +58 -0
  15. package/dist/prompts/index.js.map +1 -0
  16. package/dist/server.d.ts +28 -0
  17. package/dist/server.d.ts.map +1 -0
  18. package/dist/server.js +58 -0
  19. package/dist/server.js.map +1 -0
  20. package/dist/tools/account.d.ts +4 -0
  21. package/dist/tools/account.d.ts.map +1 -0
  22. package/dist/tools/account.js +34 -0
  23. package/dist/tools/account.js.map +1 -0
  24. package/dist/tools/api.d.ts +13 -0
  25. package/dist/tools/api.d.ts.map +1 -0
  26. package/dist/tools/api.js +982 -0
  27. package/dist/tools/api.js.map +1 -0
  28. package/dist/tools/approvals.d.ts +5 -0
  29. package/dist/tools/approvals.d.ts.map +1 -0
  30. package/dist/tools/approvals.js +120 -0
  31. package/dist/tools/approvals.js.map +1 -0
  32. package/dist/tools/communication.d.ts +4 -0
  33. package/dist/tools/communication.d.ts.map +1 -0
  34. package/dist/tools/communication.js +39 -0
  35. package/dist/tools/communication.js.map +1 -0
  36. package/dist/tools/employees.d.ts +5 -0
  37. package/dist/tools/employees.d.ts.map +1 -0
  38. package/dist/tools/employees.js +113 -0
  39. package/dist/tools/employees.js.map +1 -0
  40. package/dist/tools/help.d.ts +6 -0
  41. package/dist/tools/help.d.ts.map +1 -0
  42. package/dist/tools/help.js +171 -0
  43. package/dist/tools/help.js.map +1 -0
  44. package/dist/tools/index.d.ts +86 -0
  45. package/dist/tools/index.d.ts.map +1 -0
  46. package/dist/tools/index.js +118 -0
  47. package/dist/tools/index.js.map +1 -0
  48. package/dist/tools/leave-support.d.ts +60 -0
  49. package/dist/tools/leave-support.d.ts.map +1 -0
  50. package/dist/tools/leave-support.js +185 -0
  51. package/dist/tools/leave-support.js.map +1 -0
  52. package/dist/tools/leave.d.ts +14 -0
  53. package/dist/tools/leave.d.ts.map +1 -0
  54. package/dist/tools/leave.js +388 -0
  55. package/dist/tools/leave.js.map +1 -0
  56. package/dist/tools/payroll.d.ts +5 -0
  57. package/dist/tools/payroll.d.ts.map +1 -0
  58. package/dist/tools/payroll.js +101 -0
  59. package/dist/tools/payroll.js.map +1 -0
  60. package/dist/tools/performance.d.ts +13 -0
  61. package/dist/tools/performance.d.ts.map +1 -0
  62. package/dist/tools/performance.js +592 -0
  63. package/dist/tools/performance.js.map +1 -0
  64. package/dist/tools/schemas.d.ts +2079 -0
  65. package/dist/tools/schemas.d.ts.map +1 -0
  66. package/dist/tools/schemas.js +460 -0
  67. package/dist/tools/schemas.js.map +1 -0
  68. package/dist/tools/shared.d.ts +20 -0
  69. package/dist/tools/shared.d.ts.map +1 -0
  70. package/dist/tools/shared.js +64 -0
  71. package/dist/tools/shared.js.map +1 -0
  72. package/dist/types.d.ts +545 -0
  73. package/dist/types.d.ts.map +1 -0
  74. package/dist/types.js +7 -0
  75. package/dist/types.js.map +1 -0
  76. package/dist/utils/api-endpoints.d.ts +130 -0
  77. package/dist/utils/api-endpoints.d.ts.map +1 -0
  78. package/dist/utils/api-endpoints.js +459 -0
  79. package/dist/utils/api-endpoints.js.map +1 -0
  80. package/dist/utils/dates.d.ts +27 -0
  81. package/dist/utils/dates.d.ts.map +1 -0
  82. package/dist/utils/dates.js +102 -0
  83. package/dist/utils/dates.js.map +1 -0
  84. package/dist/utils/format.d.ts +8 -0
  85. package/dist/utils/format.d.ts.map +1 -0
  86. package/dist/utils/format.js +26 -0
  87. package/dist/utils/format.js.map +1 -0
  88. package/dist/utils/help-search.d.ts +25 -0
  89. package/dist/utils/help-search.d.ts.map +1 -0
  90. package/dist/utils/help-search.js +93 -0
  91. package/dist/utils/help-search.js.map +1 -0
  92. package/dist/utils/json-schema-dialect.d.ts +12 -0
  93. package/dist/utils/json-schema-dialect.d.ts.map +1 -0
  94. package/dist/utils/json-schema-dialect.js +146 -0
  95. package/dist/utils/json-schema-dialect.js.map +1 -0
  96. package/dist/utils/results.d.ts +27 -0
  97. package/dist/utils/results.d.ts.map +1 -0
  98. package/dist/utils/results.js +88 -0
  99. package/dist/utils/results.js.map +1 -0
  100. package/dist/utils/structured.d.ts +89 -0
  101. package/dist/utils/structured.d.ts.map +1 -0
  102. package/dist/utils/structured.js +307 -0
  103. package/dist/utils/structured.js.map +1 -0
  104. package/dist/utils/text.d.ts +12 -0
  105. package/dist/utils/text.d.ts.map +1 -0
  106. package/dist/utils/text.js +46 -0
  107. package/dist/utils/text.js.map +1 -0
  108. package/dist/version.d.ts +3 -0
  109. package/dist/version.d.ts.map +1 -0
  110. package/dist/version.js +6 -0
  111. package/dist/version.js.map +1 -0
  112. package/package.json +86 -4
@@ -0,0 +1,2079 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Output schemas (zod raw shapes) for every tool. MCP clients validate
4
+ * `structuredContent` against the JSON Schema generated from these, which
5
+ * forbids unknown keys, so projections in `utils/structured.ts` must produce
6
+ * exactly these fields.
7
+ */
8
+ export declare const nextActionSchema: z.ZodObject<{
9
+ tool: z.ZodString;
10
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
+ reason: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ tool: string;
14
+ arguments: Record<string, unknown>;
15
+ reason: string;
16
+ }, {
17
+ tool: string;
18
+ arguments: Record<string, unknown>;
19
+ reason: string;
20
+ }>;
21
+ export declare const helpArticleSummarySchema: z.ZodObject<{
22
+ id: z.ZodString;
23
+ title: z.ZodString;
24
+ summary: z.ZodString;
25
+ module: z.ZodString;
26
+ roles: z.ZodArray<z.ZodString, "many">;
27
+ url: z.ZodString;
28
+ resource: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ module: string;
31
+ id: string;
32
+ url: string;
33
+ title: string;
34
+ resource: string;
35
+ summary: string;
36
+ roles: string[];
37
+ }, {
38
+ module: string;
39
+ id: string;
40
+ url: string;
41
+ title: string;
42
+ resource: string;
43
+ summary: string;
44
+ roles: string[];
45
+ }>;
46
+ export declare const helpSearchOutputSchema: {
47
+ lang: z.ZodEnum<["tr", "en"]>;
48
+ query: z.ZodString;
49
+ results: z.ZodArray<z.ZodObject<{
50
+ id: z.ZodString;
51
+ title: z.ZodString;
52
+ summary: z.ZodString;
53
+ module: z.ZodString;
54
+ roles: z.ZodArray<z.ZodString, "many">;
55
+ url: z.ZodString;
56
+ resource: z.ZodString;
57
+ } & {
58
+ score: z.ZodNumber;
59
+ }, "strip", z.ZodTypeAny, {
60
+ module: string;
61
+ id: string;
62
+ url: string;
63
+ title: string;
64
+ resource: string;
65
+ summary: string;
66
+ roles: string[];
67
+ score: number;
68
+ }, {
69
+ module: string;
70
+ id: string;
71
+ url: string;
72
+ title: string;
73
+ resource: string;
74
+ summary: string;
75
+ roles: string[];
76
+ score: number;
77
+ }>, "many">;
78
+ nextAction: z.ZodOptional<z.ZodObject<{
79
+ tool: z.ZodString;
80
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
81
+ reason: z.ZodString;
82
+ }, "strip", z.ZodTypeAny, {
83
+ tool: string;
84
+ arguments: Record<string, unknown>;
85
+ reason: string;
86
+ }, {
87
+ tool: string;
88
+ arguments: Record<string, unknown>;
89
+ reason: string;
90
+ }>>;
91
+ };
92
+ export declare const helpArticleOutputSchema: {
93
+ lang: z.ZodEnum<["tr", "en"]>;
94
+ article: z.ZodObject<{
95
+ id: z.ZodString;
96
+ title: z.ZodString;
97
+ summary: z.ZodString;
98
+ module: z.ZodString;
99
+ roles: z.ZodArray<z.ZodString, "many">;
100
+ url: z.ZodString;
101
+ resource: z.ZodString;
102
+ } & {
103
+ verified: z.ZodOptional<z.ZodString>;
104
+ routes: z.ZodArray<z.ZodString, "many">;
105
+ related: z.ZodArray<z.ZodString, "many">;
106
+ }, "strip", z.ZodTypeAny, {
107
+ related: string[];
108
+ module: string;
109
+ id: string;
110
+ url: string;
111
+ title: string;
112
+ resource: string;
113
+ summary: string;
114
+ roles: string[];
115
+ routes: string[];
116
+ verified?: string | undefined;
117
+ }, {
118
+ related: string[];
119
+ module: string;
120
+ id: string;
121
+ url: string;
122
+ title: string;
123
+ resource: string;
124
+ summary: string;
125
+ roles: string[];
126
+ routes: string[];
127
+ verified?: string | undefined;
128
+ }>;
129
+ };
130
+ export declare const helpModulesOutputSchema: {
131
+ lang: z.ZodEnum<["tr", "en"]>;
132
+ modules: z.ZodArray<z.ZodObject<{
133
+ dir: z.ZodString;
134
+ title: z.ZodString;
135
+ description: z.ZodOptional<z.ZodString>;
136
+ articles: z.ZodArray<z.ZodObject<{
137
+ id: z.ZodString;
138
+ title: z.ZodString;
139
+ }, "strip", z.ZodTypeAny, {
140
+ id: string;
141
+ title: string;
142
+ }, {
143
+ id: string;
144
+ title: string;
145
+ }>, "many">;
146
+ }, "strip", z.ZodTypeAny, {
147
+ articles: {
148
+ id: string;
149
+ title: string;
150
+ }[];
151
+ title: string;
152
+ dir: string;
153
+ description?: string | undefined;
154
+ }, {
155
+ articles: {
156
+ id: string;
157
+ title: string;
158
+ }[];
159
+ title: string;
160
+ dir: string;
161
+ description?: string | undefined;
162
+ }>, "many">;
163
+ };
164
+ export declare const meOutputSchema: {
165
+ user: z.ZodObject<{
166
+ id: z.ZodString;
167
+ fullName: z.ZodString;
168
+ name: z.ZodOptional<z.ZodString>;
169
+ surname: z.ZodOptional<z.ZodString>;
170
+ email: z.ZodOptional<z.ZodString>;
171
+ personnelId: z.ZodOptional<z.ZodString>;
172
+ company: z.ZodObject<{
173
+ id: z.ZodOptional<z.ZodString>;
174
+ name: z.ZodOptional<z.ZodString>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ id?: string | undefined;
177
+ name?: string | undefined;
178
+ }, {
179
+ id?: string | undefined;
180
+ name?: string | undefined;
181
+ }>;
182
+ department: z.ZodOptional<z.ZodString>;
183
+ position: z.ZodOptional<z.ZodString>;
184
+ branch: z.ZodOptional<z.ZodString>;
185
+ manager: z.ZodNullable<z.ZodObject<{
186
+ id: z.ZodString;
187
+ fullName: z.ZodString;
188
+ }, "strip", z.ZodTypeAny, {
189
+ id: string;
190
+ fullName: string;
191
+ }, {
192
+ id: string;
193
+ fullName: string;
194
+ }>>;
195
+ roles: z.ZodArray<z.ZodString, "many">;
196
+ permissions: z.ZodArray<z.ZodString, "many">;
197
+ payrollManager: z.ZodBoolean;
198
+ }, "strip", z.ZodTypeAny, {
199
+ id: string;
200
+ roles: string[];
201
+ fullName: string;
202
+ company: {
203
+ id?: string | undefined;
204
+ name?: string | undefined;
205
+ };
206
+ manager: {
207
+ id: string;
208
+ fullName: string;
209
+ } | null;
210
+ permissions: string[];
211
+ payrollManager: boolean;
212
+ name?: string | undefined;
213
+ email?: string | undefined;
214
+ surname?: string | undefined;
215
+ personnelId?: string | undefined;
216
+ department?: string | undefined;
217
+ position?: string | undefined;
218
+ branch?: string | undefined;
219
+ }, {
220
+ id: string;
221
+ roles: string[];
222
+ fullName: string;
223
+ company: {
224
+ id?: string | undefined;
225
+ name?: string | undefined;
226
+ };
227
+ manager: {
228
+ id: string;
229
+ fullName: string;
230
+ } | null;
231
+ permissions: string[];
232
+ payrollManager: boolean;
233
+ name?: string | undefined;
234
+ email?: string | undefined;
235
+ surname?: string | undefined;
236
+ personnelId?: string | undefined;
237
+ department?: string | undefined;
238
+ position?: string | undefined;
239
+ branch?: string | undefined;
240
+ }>;
241
+ };
242
+ export declare const leaveTypeSchema: z.ZodObject<{
243
+ id: z.ZodString;
244
+ name: z.ZodString;
245
+ remainingDays: z.ZodNumber;
246
+ isDefault: z.ZodBoolean;
247
+ paid: z.ZodBoolean;
248
+ limitation: z.ZodOptional<z.ZodString>;
249
+ dayLimit: z.ZodOptional<z.ZodNumber>;
250
+ minDaysPerRequest: z.ZodOptional<z.ZodNumber>;
251
+ maxDaysPerRequest: z.ZodOptional<z.ZodNumber>;
252
+ documentRequired: z.ZodBoolean;
253
+ descriptionRequired: z.ZodBoolean;
254
+ birthdayLeave: z.ZodBoolean;
255
+ countsCalendarDays: z.ZodBoolean;
256
+ }, "strip", z.ZodTypeAny, {
257
+ id: string;
258
+ name: string;
259
+ remainingDays: number;
260
+ isDefault: boolean;
261
+ paid: boolean;
262
+ documentRequired: boolean;
263
+ descriptionRequired: boolean;
264
+ birthdayLeave: boolean;
265
+ countsCalendarDays: boolean;
266
+ limitation?: string | undefined;
267
+ dayLimit?: number | undefined;
268
+ minDaysPerRequest?: number | undefined;
269
+ maxDaysPerRequest?: number | undefined;
270
+ }, {
271
+ id: string;
272
+ name: string;
273
+ remainingDays: number;
274
+ isDefault: boolean;
275
+ paid: boolean;
276
+ documentRequired: boolean;
277
+ descriptionRequired: boolean;
278
+ birthdayLeave: boolean;
279
+ countsCalendarDays: boolean;
280
+ limitation?: string | undefined;
281
+ dayLimit?: number | undefined;
282
+ minDaysPerRequest?: number | undefined;
283
+ maxDaysPerRequest?: number | undefined;
284
+ }>;
285
+ export declare const leaveTypesOutputSchema: {
286
+ policy: z.ZodObject<{
287
+ leavePolicyUserId: z.ZodString;
288
+ id: z.ZodOptional<z.ZodString>;
289
+ name: z.ZodOptional<z.ZodString>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ leavePolicyUserId: string;
292
+ id?: string | undefined;
293
+ name?: string | undefined;
294
+ }, {
295
+ leavePolicyUserId: string;
296
+ id?: string | undefined;
297
+ name?: string | undefined;
298
+ }>;
299
+ leaveTypes: z.ZodArray<z.ZodObject<{
300
+ id: z.ZodString;
301
+ name: z.ZodString;
302
+ remainingDays: z.ZodNumber;
303
+ isDefault: z.ZodBoolean;
304
+ paid: z.ZodBoolean;
305
+ limitation: z.ZodOptional<z.ZodString>;
306
+ dayLimit: z.ZodOptional<z.ZodNumber>;
307
+ minDaysPerRequest: z.ZodOptional<z.ZodNumber>;
308
+ maxDaysPerRequest: z.ZodOptional<z.ZodNumber>;
309
+ documentRequired: z.ZodBoolean;
310
+ descriptionRequired: z.ZodBoolean;
311
+ birthdayLeave: z.ZodBoolean;
312
+ countsCalendarDays: z.ZodBoolean;
313
+ }, "strip", z.ZodTypeAny, {
314
+ id: string;
315
+ name: string;
316
+ remainingDays: number;
317
+ isDefault: boolean;
318
+ paid: boolean;
319
+ documentRequired: boolean;
320
+ descriptionRequired: boolean;
321
+ birthdayLeave: boolean;
322
+ countsCalendarDays: boolean;
323
+ limitation?: string | undefined;
324
+ dayLimit?: number | undefined;
325
+ minDaysPerRequest?: number | undefined;
326
+ maxDaysPerRequest?: number | undefined;
327
+ }, {
328
+ id: string;
329
+ name: string;
330
+ remainingDays: number;
331
+ isDefault: boolean;
332
+ paid: boolean;
333
+ documentRequired: boolean;
334
+ descriptionRequired: boolean;
335
+ birthdayLeave: boolean;
336
+ countsCalendarDays: boolean;
337
+ limitation?: string | undefined;
338
+ dayLimit?: number | undefined;
339
+ minDaysPerRequest?: number | undefined;
340
+ maxDaysPerRequest?: number | undefined;
341
+ }>, "many">;
342
+ };
343
+ export declare const leaveBalanceOutputSchema: {
344
+ policy: z.ZodObject<{
345
+ leavePolicyUserId: z.ZodString;
346
+ id: z.ZodOptional<z.ZodString>;
347
+ name: z.ZodOptional<z.ZodString>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ leavePolicyUserId: string;
350
+ id?: string | undefined;
351
+ name?: string | undefined;
352
+ }, {
353
+ leavePolicyUserId: string;
354
+ id?: string | undefined;
355
+ name?: string | undefined;
356
+ }>;
357
+ balances: z.ZodArray<z.ZodObject<{
358
+ leaveTypeId: z.ZodString;
359
+ leaveTypeName: z.ZodString;
360
+ remainingDays: z.ZodNumber;
361
+ isDefault: z.ZodBoolean;
362
+ }, "strip", z.ZodTypeAny, {
363
+ leaveTypeId: string;
364
+ remainingDays: number;
365
+ isDefault: boolean;
366
+ leaveTypeName: string;
367
+ }, {
368
+ leaveTypeId: string;
369
+ remainingDays: number;
370
+ isDefault: boolean;
371
+ leaveTypeName: string;
372
+ }>, "many">;
373
+ };
374
+ export declare const leaveCalculationOutputSchema: {
375
+ request: z.ZodObject<{
376
+ leaveTypeId: z.ZodString;
377
+ leaveTypeName: z.ZodString;
378
+ start: z.ZodString;
379
+ end: z.ZodString;
380
+ workingDays: z.ZodNumber;
381
+ returnToWorkDate: z.ZodOptional<z.ZodString>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ leaveTypeId: string;
384
+ start: string;
385
+ end: string;
386
+ leaveTypeName: string;
387
+ workingDays: number;
388
+ returnToWorkDate?: string | undefined;
389
+ }, {
390
+ leaveTypeId: string;
391
+ start: string;
392
+ end: string;
393
+ leaveTypeName: string;
394
+ workingDays: number;
395
+ returnToWorkDate?: string | undefined;
396
+ }>;
397
+ remainingDays: z.ZodNumber;
398
+ remainingAfterRequest: z.ZodNumber;
399
+ canRequest: z.ZodBoolean;
400
+ problems: z.ZodArray<z.ZodString, "many">;
401
+ nextAction: z.ZodOptional<z.ZodObject<{
402
+ tool: z.ZodString;
403
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
404
+ reason: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ tool: string;
407
+ arguments: Record<string, unknown>;
408
+ reason: string;
409
+ }, {
410
+ tool: string;
411
+ arguments: Record<string, unknown>;
412
+ reason: string;
413
+ }>>;
414
+ };
415
+ export declare const otpOutputSchema: {
416
+ sent: z.ZodBoolean;
417
+ validForSeconds: z.ZodNumber;
418
+ message: z.ZodString;
419
+ nextAction: z.ZodObject<{
420
+ tool: z.ZodString;
421
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
422
+ reason: z.ZodString;
423
+ }, "strip", z.ZodTypeAny, {
424
+ tool: string;
425
+ arguments: Record<string, unknown>;
426
+ reason: string;
427
+ }, {
428
+ tool: string;
429
+ arguments: Record<string, unknown>;
430
+ reason: string;
431
+ }>;
432
+ };
433
+ export declare const leaveSummarySchema: z.ZodObject<{
434
+ id: z.ZodString;
435
+ leaveTypeId: z.ZodOptional<z.ZodString>;
436
+ leaveTypeName: z.ZodOptional<z.ZodString>;
437
+ start: z.ZodOptional<z.ZodString>;
438
+ end: z.ZodOptional<z.ZodString>;
439
+ workingDays: z.ZodOptional<z.ZodNumber>;
440
+ status: z.ZodString;
441
+ statusCode: z.ZodOptional<z.ZodNumber>;
442
+ description: z.ZodOptional<z.ZodString>;
443
+ answer: z.ZodOptional<z.ZodString>;
444
+ createdAt: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ status: string;
447
+ id: string;
448
+ leaveTypeId?: string | undefined;
449
+ createdAt?: string | undefined;
450
+ start?: string | undefined;
451
+ end?: string | undefined;
452
+ description?: string | undefined;
453
+ leaveTypeName?: string | undefined;
454
+ workingDays?: number | undefined;
455
+ statusCode?: number | undefined;
456
+ answer?: string | undefined;
457
+ }, {
458
+ status: string;
459
+ id: string;
460
+ leaveTypeId?: string | undefined;
461
+ createdAt?: string | undefined;
462
+ start?: string | undefined;
463
+ end?: string | undefined;
464
+ description?: string | undefined;
465
+ leaveTypeName?: string | undefined;
466
+ workingDays?: number | undefined;
467
+ statusCode?: number | undefined;
468
+ answer?: string | undefined;
469
+ }>;
470
+ export declare const leaveCreatedOutputSchema: {
471
+ created: z.ZodBoolean;
472
+ request: z.ZodObject<{
473
+ leaveTypeId: z.ZodString;
474
+ leaveTypeName: z.ZodString;
475
+ start: z.ZodString;
476
+ end: z.ZodString;
477
+ workingDays: z.ZodNumber;
478
+ returnToWorkDate: z.ZodOptional<z.ZodString>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ leaveTypeId: string;
481
+ start: string;
482
+ end: string;
483
+ leaveTypeName: string;
484
+ workingDays: number;
485
+ returnToWorkDate?: string | undefined;
486
+ }, {
487
+ leaveTypeId: string;
488
+ start: string;
489
+ end: string;
490
+ leaveTypeName: string;
491
+ workingDays: number;
492
+ returnToWorkDate?: string | undefined;
493
+ }>;
494
+ leave: z.ZodNullable<z.ZodObject<{
495
+ id: z.ZodString;
496
+ leaveTypeId: z.ZodOptional<z.ZodString>;
497
+ leaveTypeName: z.ZodOptional<z.ZodString>;
498
+ start: z.ZodOptional<z.ZodString>;
499
+ end: z.ZodOptional<z.ZodString>;
500
+ workingDays: z.ZodOptional<z.ZodNumber>;
501
+ status: z.ZodString;
502
+ statusCode: z.ZodOptional<z.ZodNumber>;
503
+ description: z.ZodOptional<z.ZodString>;
504
+ answer: z.ZodOptional<z.ZodString>;
505
+ createdAt: z.ZodOptional<z.ZodString>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ status: string;
508
+ id: string;
509
+ leaveTypeId?: string | undefined;
510
+ createdAt?: string | undefined;
511
+ start?: string | undefined;
512
+ end?: string | undefined;
513
+ description?: string | undefined;
514
+ leaveTypeName?: string | undefined;
515
+ workingDays?: number | undefined;
516
+ statusCode?: number | undefined;
517
+ answer?: string | undefined;
518
+ }, {
519
+ status: string;
520
+ id: string;
521
+ leaveTypeId?: string | undefined;
522
+ createdAt?: string | undefined;
523
+ start?: string | undefined;
524
+ end?: string | undefined;
525
+ description?: string | undefined;
526
+ leaveTypeName?: string | undefined;
527
+ workingDays?: number | undefined;
528
+ statusCode?: number | undefined;
529
+ answer?: string | undefined;
530
+ }>>;
531
+ message: z.ZodString;
532
+ };
533
+ export declare const leaveListOutputSchema: {
534
+ leaves: z.ZodArray<z.ZodObject<{
535
+ id: z.ZodString;
536
+ leaveTypeId: z.ZodOptional<z.ZodString>;
537
+ leaveTypeName: z.ZodOptional<z.ZodString>;
538
+ start: z.ZodOptional<z.ZodString>;
539
+ end: z.ZodOptional<z.ZodString>;
540
+ workingDays: z.ZodOptional<z.ZodNumber>;
541
+ status: z.ZodString;
542
+ statusCode: z.ZodOptional<z.ZodNumber>;
543
+ description: z.ZodOptional<z.ZodString>;
544
+ answer: z.ZodOptional<z.ZodString>;
545
+ createdAt: z.ZodOptional<z.ZodString>;
546
+ }, "strip", z.ZodTypeAny, {
547
+ status: string;
548
+ id: string;
549
+ leaveTypeId?: string | undefined;
550
+ createdAt?: string | undefined;
551
+ start?: string | undefined;
552
+ end?: string | undefined;
553
+ description?: string | undefined;
554
+ leaveTypeName?: string | undefined;
555
+ workingDays?: number | undefined;
556
+ statusCode?: number | undefined;
557
+ answer?: string | undefined;
558
+ }, {
559
+ status: string;
560
+ id: string;
561
+ leaveTypeId?: string | undefined;
562
+ createdAt?: string | undefined;
563
+ start?: string | undefined;
564
+ end?: string | undefined;
565
+ description?: string | undefined;
566
+ leaveTypeName?: string | undefined;
567
+ workingDays?: number | undefined;
568
+ statusCode?: number | undefined;
569
+ answer?: string | undefined;
570
+ }>, "many">;
571
+ total: z.ZodNumber;
572
+ truncated: z.ZodBoolean;
573
+ };
574
+ export declare const leaveCancelledOutputSchema: {
575
+ cancelled: z.ZodBoolean;
576
+ leave: z.ZodObject<{
577
+ id: z.ZodString;
578
+ leaveTypeId: z.ZodOptional<z.ZodString>;
579
+ leaveTypeName: z.ZodOptional<z.ZodString>;
580
+ start: z.ZodOptional<z.ZodString>;
581
+ end: z.ZodOptional<z.ZodString>;
582
+ workingDays: z.ZodOptional<z.ZodNumber>;
583
+ status: z.ZodString;
584
+ statusCode: z.ZodOptional<z.ZodNumber>;
585
+ description: z.ZodOptional<z.ZodString>;
586
+ answer: z.ZodOptional<z.ZodString>;
587
+ createdAt: z.ZodOptional<z.ZodString>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ status: string;
590
+ id: string;
591
+ leaveTypeId?: string | undefined;
592
+ createdAt?: string | undefined;
593
+ start?: string | undefined;
594
+ end?: string | undefined;
595
+ description?: string | undefined;
596
+ leaveTypeName?: string | undefined;
597
+ workingDays?: number | undefined;
598
+ statusCode?: number | undefined;
599
+ answer?: string | undefined;
600
+ }, {
601
+ status: string;
602
+ id: string;
603
+ leaveTypeId?: string | undefined;
604
+ createdAt?: string | undefined;
605
+ start?: string | undefined;
606
+ end?: string | undefined;
607
+ description?: string | undefined;
608
+ leaveTypeName?: string | undefined;
609
+ workingDays?: number | undefined;
610
+ statusCode?: number | undefined;
611
+ answer?: string | undefined;
612
+ }>;
613
+ closedPayrollPeriods: z.ZodArray<z.ZodString, "many">;
614
+ message: z.ZodString;
615
+ };
616
+ export declare const pendingApprovalSchema: z.ZodObject<{
617
+ leaveId: z.ZodString;
618
+ requester: z.ZodNullable<z.ZodObject<{
619
+ id: z.ZodString;
620
+ fullName: z.ZodString;
621
+ }, "strip", z.ZodTypeAny, {
622
+ id: string;
623
+ fullName: string;
624
+ }, {
625
+ id: string;
626
+ fullName: string;
627
+ }>>;
628
+ leaveTypeName: z.ZodOptional<z.ZodString>;
629
+ start: z.ZodOptional<z.ZodString>;
630
+ end: z.ZodOptional<z.ZodString>;
631
+ workingDays: z.ZodOptional<z.ZodNumber>;
632
+ description: z.ZodOptional<z.ZodString>;
633
+ approvalStep: z.ZodOptional<z.ZodNumber>;
634
+ createdAt: z.ZodOptional<z.ZodString>;
635
+ }, "strip", z.ZodTypeAny, {
636
+ leaveId: string;
637
+ requester: {
638
+ id: string;
639
+ fullName: string;
640
+ } | null;
641
+ createdAt?: string | undefined;
642
+ start?: string | undefined;
643
+ end?: string | undefined;
644
+ description?: string | undefined;
645
+ leaveTypeName?: string | undefined;
646
+ workingDays?: number | undefined;
647
+ approvalStep?: number | undefined;
648
+ }, {
649
+ leaveId: string;
650
+ requester: {
651
+ id: string;
652
+ fullName: string;
653
+ } | null;
654
+ createdAt?: string | undefined;
655
+ start?: string | undefined;
656
+ end?: string | undefined;
657
+ description?: string | undefined;
658
+ leaveTypeName?: string | undefined;
659
+ workingDays?: number | undefined;
660
+ approvalStep?: number | undefined;
661
+ }>;
662
+ export declare const pendingApprovalsOutputSchema: {
663
+ approvals: z.ZodArray<z.ZodObject<{
664
+ leaveId: z.ZodString;
665
+ requester: z.ZodNullable<z.ZodObject<{
666
+ id: z.ZodString;
667
+ fullName: z.ZodString;
668
+ }, "strip", z.ZodTypeAny, {
669
+ id: string;
670
+ fullName: string;
671
+ }, {
672
+ id: string;
673
+ fullName: string;
674
+ }>>;
675
+ leaveTypeName: z.ZodOptional<z.ZodString>;
676
+ start: z.ZodOptional<z.ZodString>;
677
+ end: z.ZodOptional<z.ZodString>;
678
+ workingDays: z.ZodOptional<z.ZodNumber>;
679
+ description: z.ZodOptional<z.ZodString>;
680
+ approvalStep: z.ZodOptional<z.ZodNumber>;
681
+ createdAt: z.ZodOptional<z.ZodString>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ leaveId: string;
684
+ requester: {
685
+ id: string;
686
+ fullName: string;
687
+ } | null;
688
+ createdAt?: string | undefined;
689
+ start?: string | undefined;
690
+ end?: string | undefined;
691
+ description?: string | undefined;
692
+ leaveTypeName?: string | undefined;
693
+ workingDays?: number | undefined;
694
+ approvalStep?: number | undefined;
695
+ }, {
696
+ leaveId: string;
697
+ requester: {
698
+ id: string;
699
+ fullName: string;
700
+ } | null;
701
+ createdAt?: string | undefined;
702
+ start?: string | undefined;
703
+ end?: string | undefined;
704
+ description?: string | undefined;
705
+ leaveTypeName?: string | undefined;
706
+ workingDays?: number | undefined;
707
+ approvalStep?: number | undefined;
708
+ }>, "many">;
709
+ total: z.ZodNumber;
710
+ truncated: z.ZodBoolean;
711
+ nextAction: z.ZodOptional<z.ZodObject<{
712
+ tool: z.ZodString;
713
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
714
+ reason: z.ZodString;
715
+ }, "strip", z.ZodTypeAny, {
716
+ tool: string;
717
+ arguments: Record<string, unknown>;
718
+ reason: string;
719
+ }, {
720
+ tool: string;
721
+ arguments: Record<string, unknown>;
722
+ reason: string;
723
+ }>>;
724
+ };
725
+ export declare const leaveDecisionOutputSchema: {
726
+ leaveId: z.ZodString;
727
+ decision: z.ZodEnum<["approved", "rejected"]>;
728
+ status: z.ZodString;
729
+ statusCode: z.ZodOptional<z.ZodNumber>;
730
+ reason: z.ZodOptional<z.ZodString>;
731
+ closedPayrollPeriods: z.ZodArray<z.ZodString, "many">;
732
+ message: z.ZodString;
733
+ };
734
+ export declare const employeeSummarySchema: z.ZodObject<{
735
+ id: z.ZodString;
736
+ fullName: z.ZodString;
737
+ email: z.ZodOptional<z.ZodString>;
738
+ personnelId: z.ZodOptional<z.ZodString>;
739
+ department: z.ZodOptional<z.ZodString>;
740
+ position: z.ZodOptional<z.ZodString>;
741
+ branch: z.ZodOptional<z.ZodString>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ id: string;
744
+ fullName: string;
745
+ email?: string | undefined;
746
+ personnelId?: string | undefined;
747
+ department?: string | undefined;
748
+ position?: string | undefined;
749
+ branch?: string | undefined;
750
+ }, {
751
+ id: string;
752
+ fullName: string;
753
+ email?: string | undefined;
754
+ personnelId?: string | undefined;
755
+ department?: string | undefined;
756
+ position?: string | undefined;
757
+ branch?: string | undefined;
758
+ }>;
759
+ export declare const employeeSearchOutputSchema: {
760
+ query: z.ZodString;
761
+ source: z.ZodEnum<["directory", "authorized_employees"]>;
762
+ employees: z.ZodArray<z.ZodObject<{
763
+ id: z.ZodString;
764
+ fullName: z.ZodString;
765
+ email: z.ZodOptional<z.ZodString>;
766
+ personnelId: z.ZodOptional<z.ZodString>;
767
+ department: z.ZodOptional<z.ZodString>;
768
+ position: z.ZodOptional<z.ZodString>;
769
+ branch: z.ZodOptional<z.ZodString>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ id: string;
772
+ fullName: string;
773
+ email?: string | undefined;
774
+ personnelId?: string | undefined;
775
+ department?: string | undefined;
776
+ position?: string | undefined;
777
+ branch?: string | undefined;
778
+ }, {
779
+ id: string;
780
+ fullName: string;
781
+ email?: string | undefined;
782
+ personnelId?: string | undefined;
783
+ department?: string | undefined;
784
+ position?: string | undefined;
785
+ branch?: string | undefined;
786
+ }>, "many">;
787
+ total: z.ZodNumber;
788
+ nextAction: z.ZodOptional<z.ZodObject<{
789
+ tool: z.ZodString;
790
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
791
+ reason: z.ZodString;
792
+ }, "strip", z.ZodTypeAny, {
793
+ tool: string;
794
+ arguments: Record<string, unknown>;
795
+ reason: string;
796
+ }, {
797
+ tool: string;
798
+ arguments: Record<string, unknown>;
799
+ reason: string;
800
+ }>>;
801
+ };
802
+ export declare const employeeProfileOutputSchema: {
803
+ employee: z.ZodObject<{
804
+ id: z.ZodString;
805
+ fullName: z.ZodString;
806
+ email: z.ZodOptional<z.ZodString>;
807
+ phone: z.ZodOptional<z.ZodString>;
808
+ branch: z.ZodOptional<z.ZodString>;
809
+ department: z.ZodOptional<z.ZodString>;
810
+ position: z.ZodOptional<z.ZodString>;
811
+ manager: z.ZodNullable<z.ZodObject<{
812
+ id: z.ZodOptional<z.ZodString>;
813
+ fullName: z.ZodString;
814
+ }, "strip", z.ZodTypeAny, {
815
+ fullName: string;
816
+ id?: string | undefined;
817
+ }, {
818
+ fullName: string;
819
+ id?: string | undefined;
820
+ }>>;
821
+ workLocation: z.ZodOptional<z.ZodString>;
822
+ workplace: z.ZodOptional<z.ZodString>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ id: string;
825
+ fullName: string;
826
+ manager: {
827
+ fullName: string;
828
+ id?: string | undefined;
829
+ } | null;
830
+ email?: string | undefined;
831
+ department?: string | undefined;
832
+ position?: string | undefined;
833
+ branch?: string | undefined;
834
+ phone?: string | undefined;
835
+ workLocation?: string | undefined;
836
+ workplace?: string | undefined;
837
+ }, {
838
+ id: string;
839
+ fullName: string;
840
+ manager: {
841
+ fullName: string;
842
+ id?: string | undefined;
843
+ } | null;
844
+ email?: string | undefined;
845
+ department?: string | undefined;
846
+ position?: string | undefined;
847
+ branch?: string | undefined;
848
+ phone?: string | undefined;
849
+ workLocation?: string | undefined;
850
+ workplace?: string | undefined;
851
+ }>;
852
+ };
853
+ export declare const performancePeriodSchema: z.ZodObject<{
854
+ id: z.ZodString;
855
+ title: z.ZodString;
856
+ status: z.ZodOptional<z.ZodString>;
857
+ startDate: z.ZodOptional<z.ZodString>;
858
+ endDate: z.ZodOptional<z.ZodString>;
859
+ targetEntryStartDate: z.ZodOptional<z.ZodString>;
860
+ targetEntryEndDate: z.ZodOptional<z.ZodString>;
861
+ targetEntryOpen: z.ZodBoolean;
862
+ targetEntryLocked: z.ZodBoolean;
863
+ goalEntryBy: z.ZodOptional<z.ZodString>;
864
+ successCriteriaEntryBy: z.ZodOptional<z.ZodString>;
865
+ minimumGoalCount: z.ZodOptional<z.ZodNumber>;
866
+ employeeCanSelectOther: z.ZodBoolean;
867
+ evaluationScale: z.ZodArray<z.ZodObject<{
868
+ label: z.ZodString;
869
+ value: z.ZodOptional<z.ZodNumber>;
870
+ minPercentage: z.ZodOptional<z.ZodNumber>;
871
+ maxPercentage: z.ZodOptional<z.ZodNumber>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ label: string;
874
+ value?: number | undefined;
875
+ minPercentage?: number | undefined;
876
+ maxPercentage?: number | undefined;
877
+ }, {
878
+ label: string;
879
+ value?: number | undefined;
880
+ minPercentage?: number | undefined;
881
+ maxPercentage?: number | undefined;
882
+ }>, "many">;
883
+ }, "strip", z.ZodTypeAny, {
884
+ id: string;
885
+ title: string;
886
+ targetEntryOpen: boolean;
887
+ targetEntryLocked: boolean;
888
+ employeeCanSelectOther: boolean;
889
+ evaluationScale: {
890
+ label: string;
891
+ value?: number | undefined;
892
+ minPercentage?: number | undefined;
893
+ maxPercentage?: number | undefined;
894
+ }[];
895
+ status?: string | undefined;
896
+ startDate?: string | undefined;
897
+ endDate?: string | undefined;
898
+ targetEntryStartDate?: string | undefined;
899
+ targetEntryEndDate?: string | undefined;
900
+ goalEntryBy?: string | undefined;
901
+ successCriteriaEntryBy?: string | undefined;
902
+ minimumGoalCount?: number | undefined;
903
+ }, {
904
+ id: string;
905
+ title: string;
906
+ targetEntryOpen: boolean;
907
+ targetEntryLocked: boolean;
908
+ employeeCanSelectOther: boolean;
909
+ evaluationScale: {
910
+ label: string;
911
+ value?: number | undefined;
912
+ minPercentage?: number | undefined;
913
+ maxPercentage?: number | undefined;
914
+ }[];
915
+ status?: string | undefined;
916
+ startDate?: string | undefined;
917
+ endDate?: string | undefined;
918
+ targetEntryStartDate?: string | undefined;
919
+ targetEntryEndDate?: string | undefined;
920
+ goalEntryBy?: string | undefined;
921
+ successCriteriaEntryBy?: string | undefined;
922
+ minimumGoalCount?: number | undefined;
923
+ }>;
924
+ export declare const performancePeriodsOutputSchema: {
925
+ periods: z.ZodArray<z.ZodObject<{
926
+ id: z.ZodString;
927
+ title: z.ZodString;
928
+ status: z.ZodOptional<z.ZodString>;
929
+ startDate: z.ZodOptional<z.ZodString>;
930
+ endDate: z.ZodOptional<z.ZodString>;
931
+ targetEntryStartDate: z.ZodOptional<z.ZodString>;
932
+ targetEntryEndDate: z.ZodOptional<z.ZodString>;
933
+ targetEntryOpen: z.ZodBoolean;
934
+ targetEntryLocked: z.ZodBoolean;
935
+ goalEntryBy: z.ZodOptional<z.ZodString>;
936
+ successCriteriaEntryBy: z.ZodOptional<z.ZodString>;
937
+ minimumGoalCount: z.ZodOptional<z.ZodNumber>;
938
+ employeeCanSelectOther: z.ZodBoolean;
939
+ evaluationScale: z.ZodArray<z.ZodObject<{
940
+ label: z.ZodString;
941
+ value: z.ZodOptional<z.ZodNumber>;
942
+ minPercentage: z.ZodOptional<z.ZodNumber>;
943
+ maxPercentage: z.ZodOptional<z.ZodNumber>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ label: string;
946
+ value?: number | undefined;
947
+ minPercentage?: number | undefined;
948
+ maxPercentage?: number | undefined;
949
+ }, {
950
+ label: string;
951
+ value?: number | undefined;
952
+ minPercentage?: number | undefined;
953
+ maxPercentage?: number | undefined;
954
+ }>, "many">;
955
+ }, "strip", z.ZodTypeAny, {
956
+ id: string;
957
+ title: string;
958
+ targetEntryOpen: boolean;
959
+ targetEntryLocked: boolean;
960
+ employeeCanSelectOther: boolean;
961
+ evaluationScale: {
962
+ label: string;
963
+ value?: number | undefined;
964
+ minPercentage?: number | undefined;
965
+ maxPercentage?: number | undefined;
966
+ }[];
967
+ status?: string | undefined;
968
+ startDate?: string | undefined;
969
+ endDate?: string | undefined;
970
+ targetEntryStartDate?: string | undefined;
971
+ targetEntryEndDate?: string | undefined;
972
+ goalEntryBy?: string | undefined;
973
+ successCriteriaEntryBy?: string | undefined;
974
+ minimumGoalCount?: number | undefined;
975
+ }, {
976
+ id: string;
977
+ title: string;
978
+ targetEntryOpen: boolean;
979
+ targetEntryLocked: boolean;
980
+ employeeCanSelectOther: boolean;
981
+ evaluationScale: {
982
+ label: string;
983
+ value?: number | undefined;
984
+ minPercentage?: number | undefined;
985
+ maxPercentage?: number | undefined;
986
+ }[];
987
+ status?: string | undefined;
988
+ startDate?: string | undefined;
989
+ endDate?: string | undefined;
990
+ targetEntryStartDate?: string | undefined;
991
+ targetEntryEndDate?: string | undefined;
992
+ goalEntryBy?: string | undefined;
993
+ successCriteriaEntryBy?: string | undefined;
994
+ minimumGoalCount?: number | undefined;
995
+ }>, "many">;
996
+ };
997
+ export declare const goalSchema: z.ZodObject<{
998
+ id: z.ZodString;
999
+ userId: z.ZodOptional<z.ZodString>;
1000
+ userFullName: z.ZodOptional<z.ZodString>;
1001
+ name: z.ZodString;
1002
+ description: z.ZodOptional<z.ZodString>;
1003
+ type: z.ZodOptional<z.ZodString>;
1004
+ period: z.ZodOptional<z.ZodString>;
1005
+ status: z.ZodString;
1006
+ weight: z.ZodOptional<z.ZodNumber>;
1007
+ scaleCriterion: z.ZodOptional<z.ZodString>;
1008
+ currency: z.ZodOptional<z.ZodString>;
1009
+ otherText: z.ZodOptional<z.ZodString>;
1010
+ targetValue: z.ZodOptional<z.ZodNumber>;
1011
+ actualValue: z.ZodOptional<z.ZodNumber>;
1012
+ actualText: z.ZodOptional<z.ZodString>;
1013
+ managerActualValue: z.ZodOptional<z.ZodNumber>;
1014
+ managerActualText: z.ZodOptional<z.ZodString>;
1015
+ achievementPercentage: z.ZodOptional<z.ZodNumber>;
1016
+ score: z.ZodOptional<z.ZodNumber>;
1017
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1018
+ finalScore: z.ZodOptional<z.ZodNumber>;
1019
+ finalScoreText: z.ZodOptional<z.ZodString>;
1020
+ canApproveGoal: z.ZodBoolean;
1021
+ canReviseGoal: z.ZodBoolean;
1022
+ canEnterActualValue: z.ZodBoolean;
1023
+ canApproveEvaluation: z.ZodBoolean;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ status: string;
1026
+ id: string;
1027
+ name: string;
1028
+ canApproveGoal: boolean;
1029
+ canReviseGoal: boolean;
1030
+ canEnterActualValue: boolean;
1031
+ canApproveEvaluation: boolean;
1032
+ actualValue?: number | undefined;
1033
+ actualText?: string | undefined;
1034
+ managerActualValue?: number | undefined;
1035
+ managerActualText?: string | undefined;
1036
+ userId?: string | undefined;
1037
+ type?: string | undefined;
1038
+ description?: string | undefined;
1039
+ score?: number | undefined;
1040
+ userFullName?: string | undefined;
1041
+ period?: string | undefined;
1042
+ weight?: number | undefined;
1043
+ scaleCriterion?: string | undefined;
1044
+ currency?: string | undefined;
1045
+ otherText?: string | undefined;
1046
+ targetValue?: number | undefined;
1047
+ achievementPercentage?: number | undefined;
1048
+ weightedScore?: number | undefined;
1049
+ finalScore?: number | undefined;
1050
+ finalScoreText?: string | undefined;
1051
+ }, {
1052
+ status: string;
1053
+ id: string;
1054
+ name: string;
1055
+ canApproveGoal: boolean;
1056
+ canReviseGoal: boolean;
1057
+ canEnterActualValue: boolean;
1058
+ canApproveEvaluation: boolean;
1059
+ actualValue?: number | undefined;
1060
+ actualText?: string | undefined;
1061
+ managerActualValue?: number | undefined;
1062
+ managerActualText?: string | undefined;
1063
+ userId?: string | undefined;
1064
+ type?: string | undefined;
1065
+ description?: string | undefined;
1066
+ score?: number | undefined;
1067
+ userFullName?: string | undefined;
1068
+ period?: string | undefined;
1069
+ weight?: number | undefined;
1070
+ scaleCriterion?: string | undefined;
1071
+ currency?: string | undefined;
1072
+ otherText?: string | undefined;
1073
+ targetValue?: number | undefined;
1074
+ achievementPercentage?: number | undefined;
1075
+ weightedScore?: number | undefined;
1076
+ finalScore?: number | undefined;
1077
+ finalScoreText?: string | undefined;
1078
+ }>;
1079
+ export declare const goalListOutputSchema: {
1080
+ period: z.ZodString;
1081
+ canAddGoal: z.ZodBoolean;
1082
+ goals: z.ZodArray<z.ZodObject<{
1083
+ id: z.ZodString;
1084
+ userId: z.ZodOptional<z.ZodString>;
1085
+ userFullName: z.ZodOptional<z.ZodString>;
1086
+ name: z.ZodString;
1087
+ description: z.ZodOptional<z.ZodString>;
1088
+ type: z.ZodOptional<z.ZodString>;
1089
+ period: z.ZodOptional<z.ZodString>;
1090
+ status: z.ZodString;
1091
+ weight: z.ZodOptional<z.ZodNumber>;
1092
+ scaleCriterion: z.ZodOptional<z.ZodString>;
1093
+ currency: z.ZodOptional<z.ZodString>;
1094
+ otherText: z.ZodOptional<z.ZodString>;
1095
+ targetValue: z.ZodOptional<z.ZodNumber>;
1096
+ actualValue: z.ZodOptional<z.ZodNumber>;
1097
+ actualText: z.ZodOptional<z.ZodString>;
1098
+ managerActualValue: z.ZodOptional<z.ZodNumber>;
1099
+ managerActualText: z.ZodOptional<z.ZodString>;
1100
+ achievementPercentage: z.ZodOptional<z.ZodNumber>;
1101
+ score: z.ZodOptional<z.ZodNumber>;
1102
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1103
+ finalScore: z.ZodOptional<z.ZodNumber>;
1104
+ finalScoreText: z.ZodOptional<z.ZodString>;
1105
+ canApproveGoal: z.ZodBoolean;
1106
+ canReviseGoal: z.ZodBoolean;
1107
+ canEnterActualValue: z.ZodBoolean;
1108
+ canApproveEvaluation: z.ZodBoolean;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ status: string;
1111
+ id: string;
1112
+ name: string;
1113
+ canApproveGoal: boolean;
1114
+ canReviseGoal: boolean;
1115
+ canEnterActualValue: boolean;
1116
+ canApproveEvaluation: boolean;
1117
+ actualValue?: number | undefined;
1118
+ actualText?: string | undefined;
1119
+ managerActualValue?: number | undefined;
1120
+ managerActualText?: string | undefined;
1121
+ userId?: string | undefined;
1122
+ type?: string | undefined;
1123
+ description?: string | undefined;
1124
+ score?: number | undefined;
1125
+ userFullName?: string | undefined;
1126
+ period?: string | undefined;
1127
+ weight?: number | undefined;
1128
+ scaleCriterion?: string | undefined;
1129
+ currency?: string | undefined;
1130
+ otherText?: string | undefined;
1131
+ targetValue?: number | undefined;
1132
+ achievementPercentage?: number | undefined;
1133
+ weightedScore?: number | undefined;
1134
+ finalScore?: number | undefined;
1135
+ finalScoreText?: string | undefined;
1136
+ }, {
1137
+ status: string;
1138
+ id: string;
1139
+ name: string;
1140
+ canApproveGoal: boolean;
1141
+ canReviseGoal: boolean;
1142
+ canEnterActualValue: boolean;
1143
+ canApproveEvaluation: boolean;
1144
+ actualValue?: number | undefined;
1145
+ actualText?: string | undefined;
1146
+ managerActualValue?: number | undefined;
1147
+ managerActualText?: string | undefined;
1148
+ userId?: string | undefined;
1149
+ type?: string | undefined;
1150
+ description?: string | undefined;
1151
+ score?: number | undefined;
1152
+ userFullName?: string | undefined;
1153
+ period?: string | undefined;
1154
+ weight?: number | undefined;
1155
+ scaleCriterion?: string | undefined;
1156
+ currency?: string | undefined;
1157
+ otherText?: string | undefined;
1158
+ targetValue?: number | undefined;
1159
+ achievementPercentage?: number | undefined;
1160
+ weightedScore?: number | undefined;
1161
+ finalScore?: number | undefined;
1162
+ finalScoreText?: string | undefined;
1163
+ }>, "many">;
1164
+ total: z.ZodNumber;
1165
+ nextAction: z.ZodOptional<z.ZodObject<{
1166
+ tool: z.ZodString;
1167
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1168
+ reason: z.ZodString;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ tool: string;
1171
+ arguments: Record<string, unknown>;
1172
+ reason: string;
1173
+ }, {
1174
+ tool: string;
1175
+ arguments: Record<string, unknown>;
1176
+ reason: string;
1177
+ }>>;
1178
+ };
1179
+ export declare const goalOutputSchema: {
1180
+ goal: z.ZodObject<{
1181
+ id: z.ZodString;
1182
+ userId: z.ZodOptional<z.ZodString>;
1183
+ userFullName: z.ZodOptional<z.ZodString>;
1184
+ name: z.ZodString;
1185
+ description: z.ZodOptional<z.ZodString>;
1186
+ type: z.ZodOptional<z.ZodString>;
1187
+ period: z.ZodOptional<z.ZodString>;
1188
+ status: z.ZodString;
1189
+ weight: z.ZodOptional<z.ZodNumber>;
1190
+ scaleCriterion: z.ZodOptional<z.ZodString>;
1191
+ currency: z.ZodOptional<z.ZodString>;
1192
+ otherText: z.ZodOptional<z.ZodString>;
1193
+ targetValue: z.ZodOptional<z.ZodNumber>;
1194
+ actualValue: z.ZodOptional<z.ZodNumber>;
1195
+ actualText: z.ZodOptional<z.ZodString>;
1196
+ managerActualValue: z.ZodOptional<z.ZodNumber>;
1197
+ managerActualText: z.ZodOptional<z.ZodString>;
1198
+ achievementPercentage: z.ZodOptional<z.ZodNumber>;
1199
+ score: z.ZodOptional<z.ZodNumber>;
1200
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1201
+ finalScore: z.ZodOptional<z.ZodNumber>;
1202
+ finalScoreText: z.ZodOptional<z.ZodString>;
1203
+ canApproveGoal: z.ZodBoolean;
1204
+ canReviseGoal: z.ZodBoolean;
1205
+ canEnterActualValue: z.ZodBoolean;
1206
+ canApproveEvaluation: z.ZodBoolean;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ status: string;
1209
+ id: string;
1210
+ name: string;
1211
+ canApproveGoal: boolean;
1212
+ canReviseGoal: boolean;
1213
+ canEnterActualValue: boolean;
1214
+ canApproveEvaluation: boolean;
1215
+ actualValue?: number | undefined;
1216
+ actualText?: string | undefined;
1217
+ managerActualValue?: number | undefined;
1218
+ managerActualText?: string | undefined;
1219
+ userId?: string | undefined;
1220
+ type?: string | undefined;
1221
+ description?: string | undefined;
1222
+ score?: number | undefined;
1223
+ userFullName?: string | undefined;
1224
+ period?: string | undefined;
1225
+ weight?: number | undefined;
1226
+ scaleCriterion?: string | undefined;
1227
+ currency?: string | undefined;
1228
+ otherText?: string | undefined;
1229
+ targetValue?: number | undefined;
1230
+ achievementPercentage?: number | undefined;
1231
+ weightedScore?: number | undefined;
1232
+ finalScore?: number | undefined;
1233
+ finalScoreText?: string | undefined;
1234
+ }, {
1235
+ status: string;
1236
+ id: string;
1237
+ name: string;
1238
+ canApproveGoal: boolean;
1239
+ canReviseGoal: boolean;
1240
+ canEnterActualValue: boolean;
1241
+ canApproveEvaluation: boolean;
1242
+ actualValue?: number | undefined;
1243
+ actualText?: string | undefined;
1244
+ managerActualValue?: number | undefined;
1245
+ managerActualText?: string | undefined;
1246
+ userId?: string | undefined;
1247
+ type?: string | undefined;
1248
+ description?: string | undefined;
1249
+ score?: number | undefined;
1250
+ userFullName?: string | undefined;
1251
+ period?: string | undefined;
1252
+ weight?: number | undefined;
1253
+ scaleCriterion?: string | undefined;
1254
+ currency?: string | undefined;
1255
+ otherText?: string | undefined;
1256
+ targetValue?: number | undefined;
1257
+ achievementPercentage?: number | undefined;
1258
+ weightedScore?: number | undefined;
1259
+ finalScore?: number | undefined;
1260
+ finalScoreText?: string | undefined;
1261
+ }>;
1262
+ message: z.ZodString;
1263
+ nextAction: z.ZodOptional<z.ZodObject<{
1264
+ tool: z.ZodString;
1265
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1266
+ reason: z.ZodString;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ tool: string;
1269
+ arguments: Record<string, unknown>;
1270
+ reason: string;
1271
+ }, {
1272
+ tool: string;
1273
+ arguments: Record<string, unknown>;
1274
+ reason: string;
1275
+ }>>;
1276
+ };
1277
+ export declare const goalsSentOutputSchema: {
1278
+ goals: z.ZodArray<z.ZodObject<{
1279
+ id: z.ZodString;
1280
+ userId: z.ZodOptional<z.ZodString>;
1281
+ userFullName: z.ZodOptional<z.ZodString>;
1282
+ name: z.ZodString;
1283
+ description: z.ZodOptional<z.ZodString>;
1284
+ type: z.ZodOptional<z.ZodString>;
1285
+ period: z.ZodOptional<z.ZodString>;
1286
+ status: z.ZodString;
1287
+ weight: z.ZodOptional<z.ZodNumber>;
1288
+ scaleCriterion: z.ZodOptional<z.ZodString>;
1289
+ currency: z.ZodOptional<z.ZodString>;
1290
+ otherText: z.ZodOptional<z.ZodString>;
1291
+ targetValue: z.ZodOptional<z.ZodNumber>;
1292
+ actualValue: z.ZodOptional<z.ZodNumber>;
1293
+ actualText: z.ZodOptional<z.ZodString>;
1294
+ managerActualValue: z.ZodOptional<z.ZodNumber>;
1295
+ managerActualText: z.ZodOptional<z.ZodString>;
1296
+ achievementPercentage: z.ZodOptional<z.ZodNumber>;
1297
+ score: z.ZodOptional<z.ZodNumber>;
1298
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1299
+ finalScore: z.ZodOptional<z.ZodNumber>;
1300
+ finalScoreText: z.ZodOptional<z.ZodString>;
1301
+ canApproveGoal: z.ZodBoolean;
1302
+ canReviseGoal: z.ZodBoolean;
1303
+ canEnterActualValue: z.ZodBoolean;
1304
+ canApproveEvaluation: z.ZodBoolean;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ status: string;
1307
+ id: string;
1308
+ name: string;
1309
+ canApproveGoal: boolean;
1310
+ canReviseGoal: boolean;
1311
+ canEnterActualValue: boolean;
1312
+ canApproveEvaluation: boolean;
1313
+ actualValue?: number | undefined;
1314
+ actualText?: string | undefined;
1315
+ managerActualValue?: number | undefined;
1316
+ managerActualText?: string | undefined;
1317
+ userId?: string | undefined;
1318
+ type?: string | undefined;
1319
+ description?: string | undefined;
1320
+ score?: number | undefined;
1321
+ userFullName?: string | undefined;
1322
+ period?: string | undefined;
1323
+ weight?: number | undefined;
1324
+ scaleCriterion?: string | undefined;
1325
+ currency?: string | undefined;
1326
+ otherText?: string | undefined;
1327
+ targetValue?: number | undefined;
1328
+ achievementPercentage?: number | undefined;
1329
+ weightedScore?: number | undefined;
1330
+ finalScore?: number | undefined;
1331
+ finalScoreText?: string | undefined;
1332
+ }, {
1333
+ status: string;
1334
+ id: string;
1335
+ name: string;
1336
+ canApproveGoal: boolean;
1337
+ canReviseGoal: boolean;
1338
+ canEnterActualValue: boolean;
1339
+ canApproveEvaluation: boolean;
1340
+ actualValue?: number | undefined;
1341
+ actualText?: string | undefined;
1342
+ managerActualValue?: number | undefined;
1343
+ managerActualText?: string | undefined;
1344
+ userId?: string | undefined;
1345
+ type?: string | undefined;
1346
+ description?: string | undefined;
1347
+ score?: number | undefined;
1348
+ userFullName?: string | undefined;
1349
+ period?: string | undefined;
1350
+ weight?: number | undefined;
1351
+ scaleCriterion?: string | undefined;
1352
+ currency?: string | undefined;
1353
+ otherText?: string | undefined;
1354
+ targetValue?: number | undefined;
1355
+ achievementPercentage?: number | undefined;
1356
+ weightedScore?: number | undefined;
1357
+ finalScore?: number | undefined;
1358
+ finalScoreText?: string | undefined;
1359
+ }>, "many">;
1360
+ message: z.ZodString;
1361
+ };
1362
+ export declare const evaluationApprovalOutputSchema: {
1363
+ period: z.ZodString;
1364
+ userId: z.ZodString;
1365
+ newStatus: z.ZodOptional<z.ZodString>;
1366
+ finalScore: z.ZodOptional<z.ZodNumber>;
1367
+ finalScoreText: z.ZodOptional<z.ZodString>;
1368
+ goals: z.ZodArray<z.ZodObject<{
1369
+ id: z.ZodString;
1370
+ userId: z.ZodOptional<z.ZodString>;
1371
+ userFullName: z.ZodOptional<z.ZodString>;
1372
+ name: z.ZodString;
1373
+ description: z.ZodOptional<z.ZodString>;
1374
+ type: z.ZodOptional<z.ZodString>;
1375
+ period: z.ZodOptional<z.ZodString>;
1376
+ status: z.ZodString;
1377
+ weight: z.ZodOptional<z.ZodNumber>;
1378
+ scaleCriterion: z.ZodOptional<z.ZodString>;
1379
+ currency: z.ZodOptional<z.ZodString>;
1380
+ otherText: z.ZodOptional<z.ZodString>;
1381
+ targetValue: z.ZodOptional<z.ZodNumber>;
1382
+ actualValue: z.ZodOptional<z.ZodNumber>;
1383
+ actualText: z.ZodOptional<z.ZodString>;
1384
+ managerActualValue: z.ZodOptional<z.ZodNumber>;
1385
+ managerActualText: z.ZodOptional<z.ZodString>;
1386
+ achievementPercentage: z.ZodOptional<z.ZodNumber>;
1387
+ score: z.ZodOptional<z.ZodNumber>;
1388
+ weightedScore: z.ZodOptional<z.ZodNumber>;
1389
+ finalScore: z.ZodOptional<z.ZodNumber>;
1390
+ finalScoreText: z.ZodOptional<z.ZodString>;
1391
+ canApproveGoal: z.ZodBoolean;
1392
+ canReviseGoal: z.ZodBoolean;
1393
+ canEnterActualValue: z.ZodBoolean;
1394
+ canApproveEvaluation: z.ZodBoolean;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ status: string;
1397
+ id: string;
1398
+ name: string;
1399
+ canApproveGoal: boolean;
1400
+ canReviseGoal: boolean;
1401
+ canEnterActualValue: boolean;
1402
+ canApproveEvaluation: boolean;
1403
+ actualValue?: number | undefined;
1404
+ actualText?: string | undefined;
1405
+ managerActualValue?: number | undefined;
1406
+ managerActualText?: string | undefined;
1407
+ userId?: string | undefined;
1408
+ type?: string | undefined;
1409
+ description?: string | undefined;
1410
+ score?: number | undefined;
1411
+ userFullName?: string | undefined;
1412
+ period?: string | undefined;
1413
+ weight?: number | undefined;
1414
+ scaleCriterion?: string | undefined;
1415
+ currency?: string | undefined;
1416
+ otherText?: string | undefined;
1417
+ targetValue?: number | undefined;
1418
+ achievementPercentage?: number | undefined;
1419
+ weightedScore?: number | undefined;
1420
+ finalScore?: number | undefined;
1421
+ finalScoreText?: string | undefined;
1422
+ }, {
1423
+ status: string;
1424
+ id: string;
1425
+ name: string;
1426
+ canApproveGoal: boolean;
1427
+ canReviseGoal: boolean;
1428
+ canEnterActualValue: boolean;
1429
+ canApproveEvaluation: boolean;
1430
+ actualValue?: number | undefined;
1431
+ actualText?: string | undefined;
1432
+ managerActualValue?: number | undefined;
1433
+ managerActualText?: string | undefined;
1434
+ userId?: string | undefined;
1435
+ type?: string | undefined;
1436
+ description?: string | undefined;
1437
+ score?: number | undefined;
1438
+ userFullName?: string | undefined;
1439
+ period?: string | undefined;
1440
+ weight?: number | undefined;
1441
+ scaleCriterion?: string | undefined;
1442
+ currency?: string | undefined;
1443
+ otherText?: string | undefined;
1444
+ targetValue?: number | undefined;
1445
+ achievementPercentage?: number | undefined;
1446
+ weightedScore?: number | undefined;
1447
+ finalScore?: number | undefined;
1448
+ finalScoreText?: string | undefined;
1449
+ }>, "many">;
1450
+ message: z.ZodString;
1451
+ };
1452
+ export declare const announcementsOutputSchema: {
1453
+ announcements: z.ZodArray<z.ZodObject<{
1454
+ id: z.ZodString;
1455
+ type: z.ZodOptional<z.ZodString>;
1456
+ text: z.ZodString;
1457
+ date: z.ZodOptional<z.ZodString>;
1458
+ sharedBy: z.ZodOptional<z.ZodString>;
1459
+ coverPhotoUrl: z.ZodOptional<z.ZodString>;
1460
+ }, "strip", z.ZodTypeAny, {
1461
+ text: string;
1462
+ id: string;
1463
+ type?: string | undefined;
1464
+ date?: string | undefined;
1465
+ sharedBy?: string | undefined;
1466
+ coverPhotoUrl?: string | undefined;
1467
+ }, {
1468
+ text: string;
1469
+ id: string;
1470
+ type?: string | undefined;
1471
+ date?: string | undefined;
1472
+ sharedBy?: string | undefined;
1473
+ coverPhotoUrl?: string | undefined;
1474
+ }>, "many">;
1475
+ total: z.ZodNumber;
1476
+ };
1477
+ export declare const payslipSchema: z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ term: z.ZodOptional<z.ZodString>;
1480
+ status: z.ZodOptional<z.ZodString>;
1481
+ sentToEmployeeAt: z.ZodOptional<z.ZodString>;
1482
+ createdAt: z.ZodOptional<z.ZodString>;
1483
+ canAnswer: z.ZodBoolean;
1484
+ userAnswer: z.ZodOptional<z.ZodString>;
1485
+ managerAnswer: z.ZodOptional<z.ZodString>;
1486
+ }, "strip", z.ZodTypeAny, {
1487
+ id: string;
1488
+ canAnswer: boolean;
1489
+ term?: string | undefined;
1490
+ status?: string | undefined;
1491
+ createdAt?: string | undefined;
1492
+ sentToEmployeeAt?: string | undefined;
1493
+ userAnswer?: string | undefined;
1494
+ managerAnswer?: string | undefined;
1495
+ }, {
1496
+ id: string;
1497
+ canAnswer: boolean;
1498
+ term?: string | undefined;
1499
+ status?: string | undefined;
1500
+ createdAt?: string | undefined;
1501
+ sentToEmployeeAt?: string | undefined;
1502
+ userAnswer?: string | undefined;
1503
+ managerAnswer?: string | undefined;
1504
+ }>;
1505
+ export declare const payslipListOutputSchema: {
1506
+ payslips: z.ZodArray<z.ZodObject<{
1507
+ id: z.ZodString;
1508
+ term: z.ZodOptional<z.ZodString>;
1509
+ status: z.ZodOptional<z.ZodString>;
1510
+ sentToEmployeeAt: z.ZodOptional<z.ZodString>;
1511
+ createdAt: z.ZodOptional<z.ZodString>;
1512
+ canAnswer: z.ZodBoolean;
1513
+ userAnswer: z.ZodOptional<z.ZodString>;
1514
+ managerAnswer: z.ZodOptional<z.ZodString>;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ id: string;
1517
+ canAnswer: boolean;
1518
+ term?: string | undefined;
1519
+ status?: string | undefined;
1520
+ createdAt?: string | undefined;
1521
+ sentToEmployeeAt?: string | undefined;
1522
+ userAnswer?: string | undefined;
1523
+ managerAnswer?: string | undefined;
1524
+ }, {
1525
+ id: string;
1526
+ canAnswer: boolean;
1527
+ term?: string | undefined;
1528
+ status?: string | undefined;
1529
+ createdAt?: string | undefined;
1530
+ sentToEmployeeAt?: string | undefined;
1531
+ userAnswer?: string | undefined;
1532
+ managerAnswer?: string | undefined;
1533
+ }>, "many">;
1534
+ total: z.ZodNumber;
1535
+ nextAction: z.ZodOptional<z.ZodObject<{
1536
+ tool: z.ZodString;
1537
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1538
+ reason: z.ZodString;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ tool: string;
1541
+ arguments: Record<string, unknown>;
1542
+ reason: string;
1543
+ }, {
1544
+ tool: string;
1545
+ arguments: Record<string, unknown>;
1546
+ reason: string;
1547
+ }>>;
1548
+ };
1549
+ export declare const payslipPdfOutputSchema: {
1550
+ payslipId: z.ZodString;
1551
+ fileName: z.ZodString;
1552
+ mimeType: z.ZodString;
1553
+ sizeBytes: z.ZodNumber;
1554
+ resourceUri: z.ZodString;
1555
+ };
1556
+ export declare const apiEndpointSummarySchema: z.ZodObject<{
1557
+ id: z.ZodString;
1558
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1559
+ path: z.ZodString;
1560
+ module: z.ZodOptional<z.ZodString>;
1561
+ moduleTitle: z.ZodOptional<z.ZodString>;
1562
+ summary: z.ZodOptional<z.ZodString>;
1563
+ sideEffect: z.ZodEnum<["read", "write", "delete", "read_with_writes"]>;
1564
+ smsCodeRequired: z.ZodEnum<["always", "conditional", "never"]>;
1565
+ fileResponse: z.ZodBoolean;
1566
+ multipart: z.ZodBoolean;
1567
+ access: z.ZodOptional<z.ZodString>;
1568
+ conditional: z.ZodOptional<z.ZodBoolean>;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ multipart: boolean;
1571
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1572
+ id: string;
1573
+ path: string;
1574
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1575
+ smsCodeRequired: "never" | "always" | "conditional";
1576
+ fileResponse: boolean;
1577
+ module?: string | undefined;
1578
+ summary?: string | undefined;
1579
+ conditional?: boolean | undefined;
1580
+ moduleTitle?: string | undefined;
1581
+ access?: string | undefined;
1582
+ }, {
1583
+ multipart: boolean;
1584
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1585
+ id: string;
1586
+ path: string;
1587
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1588
+ smsCodeRequired: "never" | "always" | "conditional";
1589
+ fileResponse: boolean;
1590
+ module?: string | undefined;
1591
+ summary?: string | undefined;
1592
+ conditional?: boolean | undefined;
1593
+ moduleTitle?: string | undefined;
1594
+ access?: string | undefined;
1595
+ }>;
1596
+ export declare const apiEndpointListOutputSchema: {
1597
+ query: z.ZodOptional<z.ZodString>;
1598
+ module: z.ZodOptional<z.ZodString>;
1599
+ method: z.ZodOptional<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
1600
+ sideEffect: z.ZodOptional<z.ZodEnum<["read", "write", "delete", "read_with_writes"]>>;
1601
+ page: z.ZodNumber;
1602
+ size: z.ZodNumber;
1603
+ total: z.ZodNumber;
1604
+ totalPages: z.ZodNumber;
1605
+ endpoints: z.ZodArray<z.ZodObject<{
1606
+ id: z.ZodString;
1607
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1608
+ path: z.ZodString;
1609
+ module: z.ZodOptional<z.ZodString>;
1610
+ moduleTitle: z.ZodOptional<z.ZodString>;
1611
+ summary: z.ZodOptional<z.ZodString>;
1612
+ sideEffect: z.ZodEnum<["read", "write", "delete", "read_with_writes"]>;
1613
+ smsCodeRequired: z.ZodEnum<["always", "conditional", "never"]>;
1614
+ fileResponse: z.ZodBoolean;
1615
+ multipart: z.ZodBoolean;
1616
+ access: z.ZodOptional<z.ZodString>;
1617
+ conditional: z.ZodOptional<z.ZodBoolean>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ multipart: boolean;
1620
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1621
+ id: string;
1622
+ path: string;
1623
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1624
+ smsCodeRequired: "never" | "always" | "conditional";
1625
+ fileResponse: boolean;
1626
+ module?: string | undefined;
1627
+ summary?: string | undefined;
1628
+ conditional?: boolean | undefined;
1629
+ moduleTitle?: string | undefined;
1630
+ access?: string | undefined;
1631
+ }, {
1632
+ multipart: boolean;
1633
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1634
+ id: string;
1635
+ path: string;
1636
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1637
+ smsCodeRequired: "never" | "always" | "conditional";
1638
+ fileResponse: boolean;
1639
+ module?: string | undefined;
1640
+ summary?: string | undefined;
1641
+ conditional?: boolean | undefined;
1642
+ moduleTitle?: string | undefined;
1643
+ access?: string | undefined;
1644
+ }>, "many">;
1645
+ nextAction: z.ZodOptional<z.ZodObject<{
1646
+ tool: z.ZodString;
1647
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1648
+ reason: z.ZodString;
1649
+ }, "strip", z.ZodTypeAny, {
1650
+ tool: string;
1651
+ arguments: Record<string, unknown>;
1652
+ reason: string;
1653
+ }, {
1654
+ tool: string;
1655
+ arguments: Record<string, unknown>;
1656
+ reason: string;
1657
+ }>>;
1658
+ };
1659
+ export declare const apiModulesOutputSchema: {
1660
+ modules: z.ZodArray<z.ZodObject<{
1661
+ code: z.ZodString;
1662
+ title: z.ZodString;
1663
+ description: z.ZodOptional<z.ZodString>;
1664
+ endpointCount: z.ZodNumber;
1665
+ allowedCount: z.ZodNumber;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ code: string;
1668
+ title: string;
1669
+ endpointCount: number;
1670
+ allowedCount: number;
1671
+ description?: string | undefined;
1672
+ }, {
1673
+ code: string;
1674
+ title: string;
1675
+ endpointCount: number;
1676
+ allowedCount: number;
1677
+ description?: string | undefined;
1678
+ }>, "many">;
1679
+ nextAction: z.ZodOptional<z.ZodObject<{
1680
+ tool: z.ZodString;
1681
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1682
+ reason: z.ZodString;
1683
+ }, "strip", z.ZodTypeAny, {
1684
+ tool: string;
1685
+ arguments: Record<string, unknown>;
1686
+ reason: string;
1687
+ }, {
1688
+ tool: string;
1689
+ arguments: Record<string, unknown>;
1690
+ reason: string;
1691
+ }>>;
1692
+ };
1693
+ export declare const apiEndpointDescriptionOutputSchema: {
1694
+ endpoint: z.ZodObject<{
1695
+ id: z.ZodString;
1696
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1697
+ path: z.ZodString;
1698
+ module: z.ZodOptional<z.ZodString>;
1699
+ moduleTitle: z.ZodOptional<z.ZodString>;
1700
+ summary: z.ZodOptional<z.ZodString>;
1701
+ sideEffect: z.ZodEnum<["read", "write", "delete", "read_with_writes"]>;
1702
+ smsCodeRequired: z.ZodEnum<["always", "conditional", "never"]>;
1703
+ fileResponse: z.ZodBoolean;
1704
+ multipart: z.ZodBoolean;
1705
+ access: z.ZodOptional<z.ZodString>;
1706
+ conditional: z.ZodOptional<z.ZodBoolean>;
1707
+ } & {
1708
+ accessReason: z.ZodOptional<z.ZodString>;
1709
+ permission: z.ZodOptional<z.ZodString>;
1710
+ moduleDescription: z.ZodOptional<z.ZodString>;
1711
+ responseKind: z.ZodOptional<z.ZodString>;
1712
+ doc: z.ZodOptional<z.ZodString>;
1713
+ webScreens: z.ZodArray<z.ZodString, "many">;
1714
+ }, "strip", z.ZodTypeAny, {
1715
+ webScreens: string[];
1716
+ multipart: boolean;
1717
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1718
+ id: string;
1719
+ path: string;
1720
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1721
+ smsCodeRequired: "never" | "always" | "conditional";
1722
+ fileResponse: boolean;
1723
+ accessReason?: string | undefined;
1724
+ moduleDescription?: string | undefined;
1725
+ doc?: string | undefined;
1726
+ responseKind?: string | undefined;
1727
+ module?: string | undefined;
1728
+ summary?: string | undefined;
1729
+ conditional?: boolean | undefined;
1730
+ moduleTitle?: string | undefined;
1731
+ access?: string | undefined;
1732
+ permission?: string | undefined;
1733
+ }, {
1734
+ webScreens: string[];
1735
+ multipart: boolean;
1736
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1737
+ id: string;
1738
+ path: string;
1739
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1740
+ smsCodeRequired: "never" | "always" | "conditional";
1741
+ fileResponse: boolean;
1742
+ accessReason?: string | undefined;
1743
+ moduleDescription?: string | undefined;
1744
+ doc?: string | undefined;
1745
+ responseKind?: string | undefined;
1746
+ module?: string | undefined;
1747
+ summary?: string | undefined;
1748
+ conditional?: boolean | undefined;
1749
+ moduleTitle?: string | undefined;
1750
+ access?: string | undefined;
1751
+ permission?: string | undefined;
1752
+ }>;
1753
+ sms: z.ZodNullable<z.ZodObject<{
1754
+ mode: z.ZodEnum<["always", "conditional", "never"]>;
1755
+ when: z.ZodOptional<z.ZodString>;
1756
+ preVerify: z.ZodBoolean;
1757
+ credits: z.ZodOptional<z.ZodString>;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ mode: "never" | "always" | "conditional";
1760
+ preVerify: boolean;
1761
+ when?: string | undefined;
1762
+ credits?: string | undefined;
1763
+ }, {
1764
+ mode: "never" | "always" | "conditional";
1765
+ preVerify: boolean;
1766
+ when?: string | undefined;
1767
+ credits?: string | undefined;
1768
+ }>>;
1769
+ parameters: z.ZodArray<z.ZodObject<{
1770
+ name: z.ZodString;
1771
+ in: z.ZodString;
1772
+ required: z.ZodBoolean;
1773
+ schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ name: string;
1776
+ in: string;
1777
+ required: boolean;
1778
+ schema: Record<string, unknown>;
1779
+ }, {
1780
+ name: string;
1781
+ in: string;
1782
+ required: boolean;
1783
+ schema: Record<string, unknown>;
1784
+ }>, "many">;
1785
+ requestBody: z.ZodNullable<z.ZodObject<{
1786
+ required: z.ZodBoolean;
1787
+ validated: z.ZodOptional<z.ZodBoolean>;
1788
+ contentType: z.ZodString;
1789
+ schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ contentType: string;
1792
+ required: boolean;
1793
+ schema: Record<string, unknown>;
1794
+ validated?: boolean | undefined;
1795
+ }, {
1796
+ contentType: string;
1797
+ required: boolean;
1798
+ schema: Record<string, unknown>;
1799
+ validated?: boolean | undefined;
1800
+ }>>;
1801
+ notes: z.ZodArray<z.ZodString, "many">;
1802
+ related: z.ZodArray<z.ZodString, "many">;
1803
+ example: z.ZodObject<{
1804
+ tool: z.ZodEnum<["call_api_read", "call_api_write"]>;
1805
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ tool: "call_api_read" | "call_api_write";
1808
+ arguments: Record<string, unknown>;
1809
+ }, {
1810
+ tool: "call_api_read" | "call_api_write";
1811
+ arguments: Record<string, unknown>;
1812
+ }>;
1813
+ nextAction: z.ZodObject<{
1814
+ tool: z.ZodString;
1815
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1816
+ reason: z.ZodString;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ tool: string;
1819
+ arguments: Record<string, unknown>;
1820
+ reason: string;
1821
+ }, {
1822
+ tool: string;
1823
+ arguments: Record<string, unknown>;
1824
+ reason: string;
1825
+ }>;
1826
+ };
1827
+ export declare const apiReadOutputSchema: {
1828
+ warnings: z.ZodArray<z.ZodString, "many">;
1829
+ responseType: z.ZodEnum<["json", "file"]>;
1830
+ status: z.ZodNumber;
1831
+ messageCode: z.ZodOptional<z.ZodString>;
1832
+ message: z.ZodOptional<z.ZodString>;
1833
+ result: z.ZodOptional<z.ZodUnknown>;
1834
+ truncated: z.ZodBoolean;
1835
+ truncation: z.ZodOptional<z.ZodObject<{
1836
+ originalChars: z.ZodNumber;
1837
+ arrayPath: z.ZodOptional<z.ZodString>;
1838
+ originalItems: z.ZodOptional<z.ZodNumber>;
1839
+ returnedItems: z.ZodOptional<z.ZodNumber>;
1840
+ hint: z.ZodString;
1841
+ }, "strip", z.ZodTypeAny, {
1842
+ originalChars: number;
1843
+ hint: string;
1844
+ arrayPath?: string | undefined;
1845
+ originalItems?: number | undefined;
1846
+ returnedItems?: number | undefined;
1847
+ }, {
1848
+ originalChars: number;
1849
+ hint: string;
1850
+ arrayPath?: string | undefined;
1851
+ originalItems?: number | undefined;
1852
+ returnedItems?: number | undefined;
1853
+ }>>;
1854
+ resultPreview: z.ZodOptional<z.ZodString>;
1855
+ file: z.ZodOptional<z.ZodObject<{
1856
+ fileName: z.ZodString;
1857
+ mimeType: z.ZodString;
1858
+ sizeBytes: z.ZodNumber;
1859
+ resourceUri: z.ZodString;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ fileName: string;
1862
+ mimeType: string;
1863
+ sizeBytes: number;
1864
+ resourceUri: string;
1865
+ }, {
1866
+ fileName: string;
1867
+ mimeType: string;
1868
+ sizeBytes: number;
1869
+ resourceUri: string;
1870
+ }>>;
1871
+ endpoint: z.ZodObject<{
1872
+ id: z.ZodString;
1873
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1874
+ path: z.ZodString;
1875
+ module: z.ZodOptional<z.ZodString>;
1876
+ moduleTitle: z.ZodOptional<z.ZodString>;
1877
+ summary: z.ZodOptional<z.ZodString>;
1878
+ sideEffect: z.ZodEnum<["read", "write", "delete", "read_with_writes"]>;
1879
+ smsCodeRequired: z.ZodEnum<["always", "conditional", "never"]>;
1880
+ fileResponse: z.ZodBoolean;
1881
+ multipart: z.ZodBoolean;
1882
+ access: z.ZodOptional<z.ZodString>;
1883
+ conditional: z.ZodOptional<z.ZodBoolean>;
1884
+ }, "strip", z.ZodTypeAny, {
1885
+ multipart: boolean;
1886
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1887
+ id: string;
1888
+ path: string;
1889
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1890
+ smsCodeRequired: "never" | "always" | "conditional";
1891
+ fileResponse: boolean;
1892
+ module?: string | undefined;
1893
+ summary?: string | undefined;
1894
+ conditional?: boolean | undefined;
1895
+ moduleTitle?: string | undefined;
1896
+ access?: string | undefined;
1897
+ }, {
1898
+ multipart: boolean;
1899
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1900
+ id: string;
1901
+ path: string;
1902
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1903
+ smsCodeRequired: "never" | "always" | "conditional";
1904
+ fileResponse: boolean;
1905
+ module?: string | undefined;
1906
+ summary?: string | undefined;
1907
+ conditional?: boolean | undefined;
1908
+ moduleTitle?: string | undefined;
1909
+ access?: string | undefined;
1910
+ }>;
1911
+ request: z.ZodObject<{
1912
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1913
+ path: z.ZodString;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1916
+ path: string;
1917
+ }, {
1918
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1919
+ path: string;
1920
+ }>;
1921
+ };
1922
+ export declare const apiWriteOutputSchema: {
1923
+ nextAction: z.ZodOptional<z.ZodObject<{
1924
+ tool: z.ZodString;
1925
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1926
+ reason: z.ZodString;
1927
+ }, "strip", z.ZodTypeAny, {
1928
+ tool: string;
1929
+ arguments: Record<string, unknown>;
1930
+ reason: string;
1931
+ }, {
1932
+ tool: string;
1933
+ arguments: Record<string, unknown>;
1934
+ reason: string;
1935
+ }>>;
1936
+ responseType: z.ZodOptional<z.ZodEnum<["json", "file"]>>;
1937
+ status: z.ZodOptional<z.ZodNumber>;
1938
+ messageCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1939
+ message: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1940
+ result: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
1941
+ truncated: z.ZodOptional<z.ZodBoolean>;
1942
+ truncation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1943
+ originalChars: z.ZodNumber;
1944
+ arrayPath: z.ZodOptional<z.ZodString>;
1945
+ originalItems: z.ZodOptional<z.ZodNumber>;
1946
+ returnedItems: z.ZodOptional<z.ZodNumber>;
1947
+ hint: z.ZodString;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ originalChars: number;
1950
+ hint: string;
1951
+ arrayPath?: string | undefined;
1952
+ originalItems?: number | undefined;
1953
+ returnedItems?: number | undefined;
1954
+ }, {
1955
+ originalChars: number;
1956
+ hint: string;
1957
+ arrayPath?: string | undefined;
1958
+ originalItems?: number | undefined;
1959
+ returnedItems?: number | undefined;
1960
+ }>>>;
1961
+ resultPreview: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1962
+ file: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1963
+ fileName: z.ZodString;
1964
+ mimeType: z.ZodString;
1965
+ sizeBytes: z.ZodNumber;
1966
+ resourceUri: z.ZodString;
1967
+ }, "strip", z.ZodTypeAny, {
1968
+ fileName: string;
1969
+ mimeType: string;
1970
+ sizeBytes: number;
1971
+ resourceUri: string;
1972
+ }, {
1973
+ fileName: string;
1974
+ mimeType: string;
1975
+ sizeBytes: number;
1976
+ resourceUri: string;
1977
+ }>>>;
1978
+ mode: z.ZodEnum<["preview", "executed"]>;
1979
+ endpoint: z.ZodObject<{
1980
+ id: z.ZodString;
1981
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1982
+ path: z.ZodString;
1983
+ module: z.ZodOptional<z.ZodString>;
1984
+ moduleTitle: z.ZodOptional<z.ZodString>;
1985
+ summary: z.ZodOptional<z.ZodString>;
1986
+ sideEffect: z.ZodEnum<["read", "write", "delete", "read_with_writes"]>;
1987
+ smsCodeRequired: z.ZodEnum<["always", "conditional", "never"]>;
1988
+ fileResponse: z.ZodBoolean;
1989
+ multipart: z.ZodBoolean;
1990
+ access: z.ZodOptional<z.ZodString>;
1991
+ conditional: z.ZodOptional<z.ZodBoolean>;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ multipart: boolean;
1994
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1995
+ id: string;
1996
+ path: string;
1997
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
1998
+ smsCodeRequired: "never" | "always" | "conditional";
1999
+ fileResponse: boolean;
2000
+ module?: string | undefined;
2001
+ summary?: string | undefined;
2002
+ conditional?: boolean | undefined;
2003
+ moduleTitle?: string | undefined;
2004
+ access?: string | undefined;
2005
+ }, {
2006
+ multipart: boolean;
2007
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2008
+ id: string;
2009
+ path: string;
2010
+ sideEffect: "read" | "write" | "delete" | "read_with_writes";
2011
+ smsCodeRequired: "never" | "always" | "conditional";
2012
+ fileResponse: boolean;
2013
+ module?: string | undefined;
2014
+ summary?: string | undefined;
2015
+ conditional?: boolean | undefined;
2016
+ moduleTitle?: string | undefined;
2017
+ access?: string | undefined;
2018
+ }>;
2019
+ request: z.ZodObject<{
2020
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
2021
+ path: z.ZodString;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2024
+ path: string;
2025
+ }, {
2026
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2027
+ path: string;
2028
+ }>;
2029
+ summary: z.ZodString;
2030
+ validation: z.ZodObject<{
2031
+ checked: z.ZodBoolean;
2032
+ valid: z.ZodBoolean;
2033
+ errors: z.ZodArray<z.ZodString, "many">;
2034
+ }, "strip", z.ZodTypeAny, {
2035
+ valid: boolean;
2036
+ checked: boolean;
2037
+ errors: string[];
2038
+ }, {
2039
+ valid: boolean;
2040
+ checked: boolean;
2041
+ errors: string[];
2042
+ }>;
2043
+ sms: z.ZodNullable<z.ZodObject<{
2044
+ mode: z.ZodEnum<["always", "conditional", "never"]>;
2045
+ when: z.ZodOptional<z.ZodString>;
2046
+ preVerify: z.ZodBoolean;
2047
+ credits: z.ZodOptional<z.ZodString>;
2048
+ }, "strip", z.ZodTypeAny, {
2049
+ mode: "never" | "always" | "conditional";
2050
+ preVerify: boolean;
2051
+ when?: string | undefined;
2052
+ credits?: string | undefined;
2053
+ }, {
2054
+ mode: "never" | "always" | "conditional";
2055
+ preVerify: boolean;
2056
+ when?: string | undefined;
2057
+ credits?: string | undefined;
2058
+ }>>;
2059
+ smsVerified: z.ZodOptional<z.ZodBoolean>;
2060
+ body: z.ZodOptional<z.ZodUnknown>;
2061
+ files: z.ZodArray<z.ZodObject<{
2062
+ field: z.ZodString;
2063
+ filename: z.ZodString;
2064
+ contentType: z.ZodString;
2065
+ sizeBytes: z.ZodNumber;
2066
+ }, "strip", z.ZodTypeAny, {
2067
+ contentType: string;
2068
+ sizeBytes: number;
2069
+ field: string;
2070
+ filename: string;
2071
+ }, {
2072
+ contentType: string;
2073
+ sizeBytes: number;
2074
+ field: string;
2075
+ filename: string;
2076
+ }>, "many">;
2077
+ warnings: z.ZodArray<z.ZodString, "many">;
2078
+ };
2079
+ //# sourceMappingURL=schemas.d.ts.map