@taiger-common/model 1.0.53 → 1.0.54

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 (89) hide show
  1. package/dist/cjs/api/account.js +33 -0
  2. package/dist/cjs/api/applications.js +44 -0
  3. package/dist/cjs/api/audit.js +6 -0
  4. package/dist/cjs/api/auth.js +17 -0
  5. package/dist/cjs/api/common.js +28 -1
  6. package/dist/cjs/api/communications.js +13 -0
  7. package/dist/cjs/api/courses.js +21 -0
  8. package/dist/cjs/api/crm.js +85 -0
  9. package/dist/cjs/api/documentThreads.js +42 -0
  10. package/dist/cjs/api/documentations.js +31 -0
  11. package/dist/cjs/api/events.js +20 -0
  12. package/dist/cjs/api/interviews.js +33 -0
  13. package/dist/cjs/api/meetings.js +18 -0
  14. package/dist/cjs/api/notes.js +6 -0
  15. package/dist/cjs/api/permissions.js +7 -0
  16. package/dist/cjs/api/portals.js +22 -0
  17. package/dist/cjs/api/programRequirements.js +24 -0
  18. package/dist/cjs/api/programs.js +91 -0
  19. package/dist/cjs/api/search.js +22 -0
  20. package/dist/cjs/api/serialized.js +44 -0
  21. package/dist/cjs/api/students.js +27 -0
  22. package/dist/cjs/api/teams.js +46 -0
  23. package/dist/cjs/api/tickets.js +19 -0
  24. package/dist/cjs/api/users.js +40 -0
  25. package/dist/cjs/api/widgets.js +19 -0
  26. package/dist/cjs/index.js +1 -0
  27. package/dist/cjs/schema/index.js +22 -0
  28. package/dist/cjs/schema/models.js +518 -0
  29. package/dist/cjs/schema/serialized.js +202 -0
  30. package/dist/esm/api/account.js +32 -1
  31. package/dist/esm/api/applications.js +43 -1
  32. package/dist/esm/api/audit.js +5 -1
  33. package/dist/esm/api/auth.js +16 -1
  34. package/dist/esm/api/common.js +24 -1
  35. package/dist/esm/api/communications.js +12 -1
  36. package/dist/esm/api/courses.js +20 -1
  37. package/dist/esm/api/crm.js +84 -1
  38. package/dist/esm/api/documentThreads.js +41 -1
  39. package/dist/esm/api/documentations.js +30 -1
  40. package/dist/esm/api/events.js +19 -1
  41. package/dist/esm/api/interviews.js +32 -1
  42. package/dist/esm/api/meetings.js +17 -1
  43. package/dist/esm/api/notes.js +5 -1
  44. package/dist/esm/api/permissions.js +6 -1
  45. package/dist/esm/api/portals.js +21 -1
  46. package/dist/esm/api/programRequirements.js +23 -1
  47. package/dist/esm/api/programs.js +90 -1
  48. package/dist/esm/api/search.js +21 -1
  49. package/dist/esm/api/serialized.js +9 -1
  50. package/dist/esm/api/students.js +26 -1
  51. package/dist/esm/api/teams.js +45 -1
  52. package/dist/esm/api/tickets.js +18 -1
  53. package/dist/esm/api/users.js +39 -1
  54. package/dist/esm/api/widgets.js +18 -1
  55. package/dist/esm/index.js +1 -0
  56. package/dist/esm/schema/index.js +6 -0
  57. package/dist/esm/schema/models.js +515 -0
  58. package/dist/esm/schema/serialized.js +199 -0
  59. package/dist/types/api/account.d.ts +485 -30
  60. package/dist/types/api/applications.d.ts +3392 -39
  61. package/dist/types/api/audit.d.ts +88 -3
  62. package/dist/types/api/auth.d.ts +3402 -14
  63. package/dist/types/api/common.d.ts +68 -8
  64. package/dist/types/api/communications.d.ts +609 -10
  65. package/dist/types/api/courses.d.ts +781 -15
  66. package/dist/types/api/crm.d.ts +1091 -85
  67. package/dist/types/api/documentThreads.d.ts +38228 -39
  68. package/dist/types/api/documentations.d.ts +913 -24
  69. package/dist/types/api/events.d.ts +7191 -17
  70. package/dist/types/api/interviews.d.ts +785 -30
  71. package/dist/types/api/meetings.d.ts +45 -16
  72. package/dist/types/api/notes.d.ts +83 -4
  73. package/dist/types/api/permissions.d.ts +193 -4
  74. package/dist/types/api/portals.d.ts +764 -17
  75. package/dist/types/api/programRequirements.d.ts +2675 -19
  76. package/dist/types/api/programs.d.ts +3019 -96
  77. package/dist/types/api/search.d.ts +286 -20
  78. package/dist/types/api/serialized.d.ts +3 -152
  79. package/dist/types/api/students.d.ts +289 -24
  80. package/dist/types/api/teams.d.ts +3652 -45
  81. package/dist/types/api/tickets.d.ts +948 -14
  82. package/dist/types/api/users.d.ts +6948 -39
  83. package/dist/types/api/widgets.d.ts +221 -16
  84. package/dist/types/index.d.ts +1 -0
  85. package/dist/types/schema/index.d.ts +6 -0
  86. package/dist/types/schema/models.d.ts +2028 -0
  87. package/dist/types/schema/serialized.d.ts +8813 -0
  88. package/dist/umd/index.js +1 -1
  89. package/package.json +4 -2
@@ -1,44 +1,933 @@
1
- import type { ApiResponse, SuccessResponse } from './common';
2
- import type { IDocumentationWithId, IDocspageWithId, IInternaldocWithId } from './serialized';
1
+ import { z } from 'zod';
2
+ export declare const GetCategorizedDocumentationResponseSchema: z.ZodObject<{
3
+ success: z.ZodBoolean;
4
+ message: z.ZodOptional<z.ZodString>;
5
+ } & {
6
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodOptional<z.ZodString>;
8
+ title: z.ZodOptional<z.ZodString>;
9
+ category: z.ZodOptional<z.ZodString>;
10
+ author: z.ZodOptional<z.ZodString>;
11
+ prop: z.ZodOptional<z.ZodString>;
12
+ text: z.ZodOptional<z.ZodString>;
13
+ country: z.ZodOptional<z.ZodString>;
14
+ updatedAt: z.ZodOptional<z.ZodDate>;
15
+ } & {
16
+ _id: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ _id: string;
19
+ updatedAt?: Date | undefined;
20
+ country?: string | undefined;
21
+ text?: string | undefined;
22
+ name?: string | undefined;
23
+ title?: string | undefined;
24
+ category?: string | undefined;
25
+ prop?: string | undefined;
26
+ author?: string | undefined;
27
+ }, {
28
+ _id: string;
29
+ updatedAt?: Date | undefined;
30
+ country?: string | undefined;
31
+ text?: string | undefined;
32
+ name?: string | undefined;
33
+ title?: string | undefined;
34
+ category?: string | undefined;
35
+ prop?: string | undefined;
36
+ author?: string | undefined;
37
+ }>, "many">>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ success: boolean;
40
+ message?: string | undefined;
41
+ data?: {
42
+ _id: string;
43
+ updatedAt?: Date | undefined;
44
+ country?: string | undefined;
45
+ text?: string | undefined;
46
+ name?: string | undefined;
47
+ title?: string | undefined;
48
+ category?: string | undefined;
49
+ prop?: string | undefined;
50
+ author?: string | undefined;
51
+ }[] | undefined;
52
+ }, {
53
+ success: boolean;
54
+ message?: string | undefined;
55
+ data?: {
56
+ _id: string;
57
+ updatedAt?: Date | undefined;
58
+ country?: string | undefined;
59
+ text?: string | undefined;
60
+ name?: string | undefined;
61
+ title?: string | undefined;
62
+ category?: string | undefined;
63
+ prop?: string | undefined;
64
+ author?: string | undefined;
65
+ }[] | undefined;
66
+ }>;
67
+ export declare const GetAllDocumentationsResponseSchema: z.ZodObject<{
68
+ success: z.ZodBoolean;
69
+ message: z.ZodOptional<z.ZodString>;
70
+ } & {
71
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
+ name: z.ZodOptional<z.ZodString>;
73
+ title: z.ZodOptional<z.ZodString>;
74
+ category: z.ZodOptional<z.ZodString>;
75
+ author: z.ZodOptional<z.ZodString>;
76
+ prop: z.ZodOptional<z.ZodString>;
77
+ text: z.ZodOptional<z.ZodString>;
78
+ country: z.ZodOptional<z.ZodString>;
79
+ updatedAt: z.ZodOptional<z.ZodDate>;
80
+ } & {
81
+ _id: z.ZodString;
82
+ }, "strip", z.ZodTypeAny, {
83
+ _id: string;
84
+ updatedAt?: Date | undefined;
85
+ country?: string | undefined;
86
+ text?: string | undefined;
87
+ name?: string | undefined;
88
+ title?: string | undefined;
89
+ category?: string | undefined;
90
+ prop?: string | undefined;
91
+ author?: string | undefined;
92
+ }, {
93
+ _id: string;
94
+ updatedAt?: Date | undefined;
95
+ country?: string | undefined;
96
+ text?: string | undefined;
97
+ name?: string | undefined;
98
+ title?: string | undefined;
99
+ category?: string | undefined;
100
+ prop?: string | undefined;
101
+ author?: string | undefined;
102
+ }>, "many">>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ success: boolean;
105
+ message?: string | undefined;
106
+ data?: {
107
+ _id: string;
108
+ updatedAt?: Date | undefined;
109
+ country?: string | undefined;
110
+ text?: string | undefined;
111
+ name?: string | undefined;
112
+ title?: string | undefined;
113
+ category?: string | undefined;
114
+ prop?: string | undefined;
115
+ author?: string | undefined;
116
+ }[] | undefined;
117
+ }, {
118
+ success: boolean;
119
+ message?: string | undefined;
120
+ data?: {
121
+ _id: string;
122
+ updatedAt?: Date | undefined;
123
+ country?: string | undefined;
124
+ text?: string | undefined;
125
+ name?: string | undefined;
126
+ title?: string | undefined;
127
+ category?: string | undefined;
128
+ prop?: string | undefined;
129
+ author?: string | undefined;
130
+ }[] | undefined;
131
+ }>;
132
+ export declare const GetDocumentationResponseSchema: z.ZodObject<{
133
+ success: z.ZodBoolean;
134
+ message: z.ZodOptional<z.ZodString>;
135
+ } & {
136
+ data: z.ZodOptional<z.ZodObject<{
137
+ name: z.ZodOptional<z.ZodString>;
138
+ title: z.ZodOptional<z.ZodString>;
139
+ category: z.ZodOptional<z.ZodString>;
140
+ author: z.ZodOptional<z.ZodString>;
141
+ prop: z.ZodOptional<z.ZodString>;
142
+ text: z.ZodOptional<z.ZodString>;
143
+ country: z.ZodOptional<z.ZodString>;
144
+ updatedAt: z.ZodOptional<z.ZodDate>;
145
+ } & {
146
+ _id: z.ZodString;
147
+ }, "strip", z.ZodTypeAny, {
148
+ _id: string;
149
+ updatedAt?: Date | undefined;
150
+ country?: string | undefined;
151
+ text?: string | undefined;
152
+ name?: string | undefined;
153
+ title?: string | undefined;
154
+ category?: string | undefined;
155
+ prop?: string | undefined;
156
+ author?: string | undefined;
157
+ }, {
158
+ _id: string;
159
+ updatedAt?: Date | undefined;
160
+ country?: string | undefined;
161
+ text?: string | undefined;
162
+ name?: string | undefined;
163
+ title?: string | undefined;
164
+ category?: string | undefined;
165
+ prop?: string | undefined;
166
+ author?: string | undefined;
167
+ }>>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ success: boolean;
170
+ message?: string | undefined;
171
+ data?: {
172
+ _id: string;
173
+ updatedAt?: Date | undefined;
174
+ country?: string | undefined;
175
+ text?: string | undefined;
176
+ name?: string | undefined;
177
+ title?: string | undefined;
178
+ category?: string | undefined;
179
+ prop?: string | undefined;
180
+ author?: string | undefined;
181
+ } | undefined;
182
+ }, {
183
+ success: boolean;
184
+ message?: string | undefined;
185
+ data?: {
186
+ _id: string;
187
+ updatedAt?: Date | undefined;
188
+ country?: string | undefined;
189
+ text?: string | undefined;
190
+ name?: string | undefined;
191
+ title?: string | undefined;
192
+ category?: string | undefined;
193
+ prop?: string | undefined;
194
+ author?: string | undefined;
195
+ } | undefined;
196
+ }>;
197
+ export declare const CreateDocumentationResponseSchema: z.ZodObject<{
198
+ success: z.ZodBoolean;
199
+ message: z.ZodOptional<z.ZodString>;
200
+ } & {
201
+ data: z.ZodOptional<z.ZodObject<{
202
+ name: z.ZodOptional<z.ZodString>;
203
+ title: z.ZodOptional<z.ZodString>;
204
+ category: z.ZodOptional<z.ZodString>;
205
+ author: z.ZodOptional<z.ZodString>;
206
+ prop: z.ZodOptional<z.ZodString>;
207
+ text: z.ZodOptional<z.ZodString>;
208
+ country: z.ZodOptional<z.ZodString>;
209
+ updatedAt: z.ZodOptional<z.ZodDate>;
210
+ } & {
211
+ _id: z.ZodString;
212
+ }, "strip", z.ZodTypeAny, {
213
+ _id: string;
214
+ updatedAt?: Date | undefined;
215
+ country?: string | undefined;
216
+ text?: string | undefined;
217
+ name?: string | undefined;
218
+ title?: string | undefined;
219
+ category?: string | undefined;
220
+ prop?: string | undefined;
221
+ author?: string | undefined;
222
+ }, {
223
+ _id: string;
224
+ updatedAt?: Date | undefined;
225
+ country?: string | undefined;
226
+ text?: string | undefined;
227
+ name?: string | undefined;
228
+ title?: string | undefined;
229
+ category?: string | undefined;
230
+ prop?: string | undefined;
231
+ author?: string | undefined;
232
+ }>>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ success: boolean;
235
+ message?: string | undefined;
236
+ data?: {
237
+ _id: string;
238
+ updatedAt?: Date | undefined;
239
+ country?: string | undefined;
240
+ text?: string | undefined;
241
+ name?: string | undefined;
242
+ title?: string | undefined;
243
+ category?: string | undefined;
244
+ prop?: string | undefined;
245
+ author?: string | undefined;
246
+ } | undefined;
247
+ }, {
248
+ success: boolean;
249
+ message?: string | undefined;
250
+ data?: {
251
+ _id: string;
252
+ updatedAt?: Date | undefined;
253
+ country?: string | undefined;
254
+ text?: string | undefined;
255
+ name?: string | undefined;
256
+ title?: string | undefined;
257
+ category?: string | undefined;
258
+ prop?: string | undefined;
259
+ author?: string | undefined;
260
+ } | undefined;
261
+ }>;
262
+ export declare const UpdateDocumentationResponseSchema: z.ZodObject<{
263
+ success: z.ZodBoolean;
264
+ message: z.ZodOptional<z.ZodString>;
265
+ } & {
266
+ data: z.ZodOptional<z.ZodObject<{
267
+ name: z.ZodOptional<z.ZodString>;
268
+ title: z.ZodOptional<z.ZodString>;
269
+ category: z.ZodOptional<z.ZodString>;
270
+ author: z.ZodOptional<z.ZodString>;
271
+ prop: z.ZodOptional<z.ZodString>;
272
+ text: z.ZodOptional<z.ZodString>;
273
+ country: z.ZodOptional<z.ZodString>;
274
+ updatedAt: z.ZodOptional<z.ZodDate>;
275
+ } & {
276
+ _id: z.ZodString;
277
+ }, "strip", z.ZodTypeAny, {
278
+ _id: string;
279
+ updatedAt?: Date | undefined;
280
+ country?: string | undefined;
281
+ text?: string | undefined;
282
+ name?: string | undefined;
283
+ title?: string | undefined;
284
+ category?: string | undefined;
285
+ prop?: string | undefined;
286
+ author?: string | undefined;
287
+ }, {
288
+ _id: string;
289
+ updatedAt?: Date | undefined;
290
+ country?: string | undefined;
291
+ text?: string | undefined;
292
+ name?: string | undefined;
293
+ title?: string | undefined;
294
+ category?: string | undefined;
295
+ prop?: string | undefined;
296
+ author?: string | undefined;
297
+ }>>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ success: boolean;
300
+ message?: string | undefined;
301
+ data?: {
302
+ _id: string;
303
+ updatedAt?: Date | undefined;
304
+ country?: string | undefined;
305
+ text?: string | undefined;
306
+ name?: string | undefined;
307
+ title?: string | undefined;
308
+ category?: string | undefined;
309
+ prop?: string | undefined;
310
+ author?: string | undefined;
311
+ } | undefined;
312
+ }, {
313
+ success: boolean;
314
+ message?: string | undefined;
315
+ data?: {
316
+ _id: string;
317
+ updatedAt?: Date | undefined;
318
+ country?: string | undefined;
319
+ text?: string | undefined;
320
+ name?: string | undefined;
321
+ title?: string | undefined;
322
+ category?: string | undefined;
323
+ prop?: string | undefined;
324
+ author?: string | undefined;
325
+ } | undefined;
326
+ }>;
327
+ export declare const DeleteDocumentationResponseSchema: z.ZodObject<{
328
+ success: z.ZodBoolean;
329
+ message: z.ZodOptional<z.ZodString>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ success: boolean;
332
+ message?: string | undefined;
333
+ }, {
334
+ success: boolean;
335
+ message?: string | undefined;
336
+ }>;
337
+ export declare const GetDocspageResponseSchema: z.ZodObject<{
338
+ success: z.ZodBoolean;
339
+ message: z.ZodOptional<z.ZodString>;
340
+ } & {
341
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
342
+ name: z.ZodOptional<z.ZodString>;
343
+ title: z.ZodOptional<z.ZodString>;
344
+ category: z.ZodOptional<z.ZodString>;
345
+ prop: z.ZodOptional<z.ZodString>;
346
+ author: z.ZodOptional<z.ZodString>;
347
+ text: z.ZodOptional<z.ZodString>;
348
+ country: z.ZodOptional<z.ZodString>;
349
+ updatedAt: z.ZodOptional<z.ZodDate>;
350
+ } & {
351
+ _id: z.ZodString;
352
+ }, "strip", z.ZodTypeAny, {
353
+ _id: string;
354
+ updatedAt?: Date | undefined;
355
+ country?: string | undefined;
356
+ text?: string | undefined;
357
+ name?: string | undefined;
358
+ title?: string | undefined;
359
+ category?: string | undefined;
360
+ prop?: string | undefined;
361
+ author?: string | undefined;
362
+ }, {
363
+ _id: string;
364
+ updatedAt?: Date | undefined;
365
+ country?: string | undefined;
366
+ text?: string | undefined;
367
+ name?: string | undefined;
368
+ title?: string | undefined;
369
+ category?: string | undefined;
370
+ prop?: string | undefined;
371
+ author?: string | undefined;
372
+ }>, z.ZodRecord<z.ZodString, z.ZodNever>]>>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ success: boolean;
375
+ message?: string | undefined;
376
+ data?: Record<string, never> | {
377
+ _id: string;
378
+ updatedAt?: Date | undefined;
379
+ country?: string | undefined;
380
+ text?: string | undefined;
381
+ name?: string | undefined;
382
+ title?: string | undefined;
383
+ category?: string | undefined;
384
+ prop?: string | undefined;
385
+ author?: string | undefined;
386
+ } | undefined;
387
+ }, {
388
+ success: boolean;
389
+ message?: string | undefined;
390
+ data?: Record<string, never> | {
391
+ _id: string;
392
+ updatedAt?: Date | undefined;
393
+ country?: string | undefined;
394
+ text?: string | undefined;
395
+ name?: string | undefined;
396
+ title?: string | undefined;
397
+ category?: string | undefined;
398
+ prop?: string | undefined;
399
+ author?: string | undefined;
400
+ } | undefined;
401
+ }>;
402
+ export declare const UpdateDocspageResponseSchema: z.ZodObject<{
403
+ success: z.ZodBoolean;
404
+ message: z.ZodOptional<z.ZodString>;
405
+ } & {
406
+ data: z.ZodOptional<z.ZodObject<{
407
+ name: z.ZodOptional<z.ZodString>;
408
+ title: z.ZodOptional<z.ZodString>;
409
+ category: z.ZodOptional<z.ZodString>;
410
+ prop: z.ZodOptional<z.ZodString>;
411
+ author: z.ZodOptional<z.ZodString>;
412
+ text: z.ZodOptional<z.ZodString>;
413
+ country: z.ZodOptional<z.ZodString>;
414
+ updatedAt: z.ZodOptional<z.ZodDate>;
415
+ } & {
416
+ _id: z.ZodString;
417
+ }, "strip", z.ZodTypeAny, {
418
+ _id: string;
419
+ updatedAt?: Date | undefined;
420
+ country?: string | undefined;
421
+ text?: string | undefined;
422
+ name?: string | undefined;
423
+ title?: string | undefined;
424
+ category?: string | undefined;
425
+ prop?: string | undefined;
426
+ author?: string | undefined;
427
+ }, {
428
+ _id: string;
429
+ updatedAt?: Date | undefined;
430
+ country?: string | undefined;
431
+ text?: string | undefined;
432
+ name?: string | undefined;
433
+ title?: string | undefined;
434
+ category?: string | undefined;
435
+ prop?: string | undefined;
436
+ author?: string | undefined;
437
+ }>>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ success: boolean;
440
+ message?: string | undefined;
441
+ data?: {
442
+ _id: string;
443
+ updatedAt?: Date | undefined;
444
+ country?: string | undefined;
445
+ text?: string | undefined;
446
+ name?: string | undefined;
447
+ title?: string | undefined;
448
+ category?: string | undefined;
449
+ prop?: string | undefined;
450
+ author?: string | undefined;
451
+ } | undefined;
452
+ }, {
453
+ success: boolean;
454
+ message?: string | undefined;
455
+ data?: {
456
+ _id: string;
457
+ updatedAt?: Date | undefined;
458
+ country?: string | undefined;
459
+ text?: string | undefined;
460
+ name?: string | undefined;
461
+ title?: string | undefined;
462
+ category?: string | undefined;
463
+ prop?: string | undefined;
464
+ author?: string | undefined;
465
+ } | undefined;
466
+ }>;
467
+ export declare const GetAllInternalDocumentationsResponseSchema: z.ZodObject<{
468
+ success: z.ZodBoolean;
469
+ message: z.ZodOptional<z.ZodString>;
470
+ } & {
471
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
472
+ name: z.ZodOptional<z.ZodString>;
473
+ title: z.ZodOptional<z.ZodString>;
474
+ category: z.ZodOptional<z.ZodString>;
475
+ internal: z.ZodOptional<z.ZodBoolean>;
476
+ author: z.ZodOptional<z.ZodString>;
477
+ text: z.ZodOptional<z.ZodString>;
478
+ country: z.ZodOptional<z.ZodString>;
479
+ updatedAt: z.ZodOptional<z.ZodDate>;
480
+ } & {
481
+ _id: z.ZodString;
482
+ }, "strip", z.ZodTypeAny, {
483
+ _id: string;
484
+ updatedAt?: Date | undefined;
485
+ country?: string | undefined;
486
+ text?: string | undefined;
487
+ name?: string | undefined;
488
+ title?: string | undefined;
489
+ category?: string | undefined;
490
+ author?: string | undefined;
491
+ internal?: boolean | undefined;
492
+ }, {
493
+ _id: string;
494
+ updatedAt?: Date | undefined;
495
+ country?: string | undefined;
496
+ text?: string | undefined;
497
+ name?: string | undefined;
498
+ title?: string | undefined;
499
+ category?: string | undefined;
500
+ author?: string | undefined;
501
+ internal?: boolean | undefined;
502
+ }>, "many">>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ success: boolean;
505
+ message?: string | undefined;
506
+ data?: {
507
+ _id: string;
508
+ updatedAt?: Date | undefined;
509
+ country?: string | undefined;
510
+ text?: string | undefined;
511
+ name?: string | undefined;
512
+ title?: string | undefined;
513
+ category?: string | undefined;
514
+ author?: string | undefined;
515
+ internal?: boolean | undefined;
516
+ }[] | undefined;
517
+ }, {
518
+ success: boolean;
519
+ message?: string | undefined;
520
+ data?: {
521
+ _id: string;
522
+ updatedAt?: Date | undefined;
523
+ country?: string | undefined;
524
+ text?: string | undefined;
525
+ name?: string | undefined;
526
+ title?: string | undefined;
527
+ category?: string | undefined;
528
+ author?: string | undefined;
529
+ internal?: boolean | undefined;
530
+ }[] | undefined;
531
+ }>;
532
+ export declare const GetInternaldocResponseSchema: z.ZodObject<{
533
+ success: z.ZodBoolean;
534
+ message: z.ZodOptional<z.ZodString>;
535
+ } & {
536
+ data: z.ZodOptional<z.ZodObject<{
537
+ name: z.ZodOptional<z.ZodString>;
538
+ title: z.ZodOptional<z.ZodString>;
539
+ category: z.ZodOptional<z.ZodString>;
540
+ internal: z.ZodOptional<z.ZodBoolean>;
541
+ author: z.ZodOptional<z.ZodString>;
542
+ text: z.ZodOptional<z.ZodString>;
543
+ country: z.ZodOptional<z.ZodString>;
544
+ updatedAt: z.ZodOptional<z.ZodDate>;
545
+ } & {
546
+ _id: z.ZodString;
547
+ }, "strip", z.ZodTypeAny, {
548
+ _id: string;
549
+ updatedAt?: Date | undefined;
550
+ country?: string | undefined;
551
+ text?: string | undefined;
552
+ name?: string | undefined;
553
+ title?: string | undefined;
554
+ category?: string | undefined;
555
+ author?: string | undefined;
556
+ internal?: boolean | undefined;
557
+ }, {
558
+ _id: string;
559
+ updatedAt?: Date | undefined;
560
+ country?: string | undefined;
561
+ text?: string | undefined;
562
+ name?: string | undefined;
563
+ title?: string | undefined;
564
+ category?: string | undefined;
565
+ author?: string | undefined;
566
+ internal?: boolean | undefined;
567
+ }>>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ success: boolean;
570
+ message?: string | undefined;
571
+ data?: {
572
+ _id: string;
573
+ updatedAt?: Date | undefined;
574
+ country?: string | undefined;
575
+ text?: string | undefined;
576
+ name?: string | undefined;
577
+ title?: string | undefined;
578
+ category?: string | undefined;
579
+ author?: string | undefined;
580
+ internal?: boolean | undefined;
581
+ } | undefined;
582
+ }, {
583
+ success: boolean;
584
+ message?: string | undefined;
585
+ data?: {
586
+ _id: string;
587
+ updatedAt?: Date | undefined;
588
+ country?: string | undefined;
589
+ text?: string | undefined;
590
+ name?: string | undefined;
591
+ title?: string | undefined;
592
+ category?: string | undefined;
593
+ author?: string | undefined;
594
+ internal?: boolean | undefined;
595
+ } | undefined;
596
+ }>;
597
+ export declare const GetInternalDocumentationPageResponseSchema: z.ZodObject<{
598
+ success: z.ZodBoolean;
599
+ message: z.ZodOptional<z.ZodString>;
600
+ } & {
601
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
602
+ name: z.ZodOptional<z.ZodString>;
603
+ title: z.ZodOptional<z.ZodString>;
604
+ category: z.ZodOptional<z.ZodString>;
605
+ prop: z.ZodOptional<z.ZodString>;
606
+ author: z.ZodOptional<z.ZodString>;
607
+ text: z.ZodOptional<z.ZodString>;
608
+ country: z.ZodOptional<z.ZodString>;
609
+ updatedAt: z.ZodOptional<z.ZodDate>;
610
+ } & {
611
+ _id: z.ZodString;
612
+ }, "strip", z.ZodTypeAny, {
613
+ _id: string;
614
+ updatedAt?: Date | undefined;
615
+ country?: string | undefined;
616
+ text?: string | undefined;
617
+ name?: string | undefined;
618
+ title?: string | undefined;
619
+ category?: string | undefined;
620
+ prop?: string | undefined;
621
+ author?: string | undefined;
622
+ }, {
623
+ _id: string;
624
+ updatedAt?: Date | undefined;
625
+ country?: string | undefined;
626
+ text?: string | undefined;
627
+ name?: string | undefined;
628
+ title?: string | undefined;
629
+ category?: string | undefined;
630
+ prop?: string | undefined;
631
+ author?: string | undefined;
632
+ }>, z.ZodRecord<z.ZodString, z.ZodNever>]>>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ success: boolean;
635
+ message?: string | undefined;
636
+ data?: Record<string, never> | {
637
+ _id: string;
638
+ updatedAt?: Date | undefined;
639
+ country?: string | undefined;
640
+ text?: string | undefined;
641
+ name?: string | undefined;
642
+ title?: string | undefined;
643
+ category?: string | undefined;
644
+ prop?: string | undefined;
645
+ author?: string | undefined;
646
+ } | undefined;
647
+ }, {
648
+ success: boolean;
649
+ message?: string | undefined;
650
+ data?: Record<string, never> | {
651
+ _id: string;
652
+ updatedAt?: Date | undefined;
653
+ country?: string | undefined;
654
+ text?: string | undefined;
655
+ name?: string | undefined;
656
+ title?: string | undefined;
657
+ category?: string | undefined;
658
+ prop?: string | undefined;
659
+ author?: string | undefined;
660
+ } | undefined;
661
+ }>;
662
+ export declare const UpdateInternalDocumentationPageResponseSchema: z.ZodObject<{
663
+ success: z.ZodBoolean;
664
+ message: z.ZodOptional<z.ZodString>;
665
+ } & {
666
+ data: z.ZodOptional<z.ZodObject<{
667
+ name: z.ZodOptional<z.ZodString>;
668
+ title: z.ZodOptional<z.ZodString>;
669
+ category: z.ZodOptional<z.ZodString>;
670
+ prop: z.ZodOptional<z.ZodString>;
671
+ author: z.ZodOptional<z.ZodString>;
672
+ text: z.ZodOptional<z.ZodString>;
673
+ country: z.ZodOptional<z.ZodString>;
674
+ updatedAt: z.ZodOptional<z.ZodDate>;
675
+ } & {
676
+ _id: z.ZodString;
677
+ }, "strip", z.ZodTypeAny, {
678
+ _id: string;
679
+ updatedAt?: Date | undefined;
680
+ country?: string | undefined;
681
+ text?: string | undefined;
682
+ name?: string | undefined;
683
+ title?: string | undefined;
684
+ category?: string | undefined;
685
+ prop?: string | undefined;
686
+ author?: string | undefined;
687
+ }, {
688
+ _id: string;
689
+ updatedAt?: Date | undefined;
690
+ country?: string | undefined;
691
+ text?: string | undefined;
692
+ name?: string | undefined;
693
+ title?: string | undefined;
694
+ category?: string | undefined;
695
+ prop?: string | undefined;
696
+ author?: string | undefined;
697
+ }>>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ success: boolean;
700
+ message?: string | undefined;
701
+ data?: {
702
+ _id: string;
703
+ updatedAt?: Date | undefined;
704
+ country?: string | undefined;
705
+ text?: string | undefined;
706
+ name?: string | undefined;
707
+ title?: string | undefined;
708
+ category?: string | undefined;
709
+ prop?: string | undefined;
710
+ author?: string | undefined;
711
+ } | undefined;
712
+ }, {
713
+ success: boolean;
714
+ message?: string | undefined;
715
+ data?: {
716
+ _id: string;
717
+ updatedAt?: Date | undefined;
718
+ country?: string | undefined;
719
+ text?: string | undefined;
720
+ name?: string | undefined;
721
+ title?: string | undefined;
722
+ category?: string | undefined;
723
+ prop?: string | undefined;
724
+ author?: string | undefined;
725
+ } | undefined;
726
+ }>;
727
+ export declare const CreateInternaldocResponseSchema: z.ZodObject<{
728
+ success: z.ZodBoolean;
729
+ message: z.ZodOptional<z.ZodString>;
730
+ } & {
731
+ data: z.ZodOptional<z.ZodObject<{
732
+ name: z.ZodOptional<z.ZodString>;
733
+ title: z.ZodOptional<z.ZodString>;
734
+ category: z.ZodOptional<z.ZodString>;
735
+ internal: z.ZodOptional<z.ZodBoolean>;
736
+ author: z.ZodOptional<z.ZodString>;
737
+ text: z.ZodOptional<z.ZodString>;
738
+ country: z.ZodOptional<z.ZodString>;
739
+ updatedAt: z.ZodOptional<z.ZodDate>;
740
+ } & {
741
+ _id: z.ZodString;
742
+ }, "strip", z.ZodTypeAny, {
743
+ _id: string;
744
+ updatedAt?: Date | undefined;
745
+ country?: string | undefined;
746
+ text?: string | undefined;
747
+ name?: string | undefined;
748
+ title?: string | undefined;
749
+ category?: string | undefined;
750
+ author?: string | undefined;
751
+ internal?: boolean | undefined;
752
+ }, {
753
+ _id: string;
754
+ updatedAt?: Date | undefined;
755
+ country?: string | undefined;
756
+ text?: string | undefined;
757
+ name?: string | undefined;
758
+ title?: string | undefined;
759
+ category?: string | undefined;
760
+ author?: string | undefined;
761
+ internal?: boolean | undefined;
762
+ }>>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ success: boolean;
765
+ message?: string | undefined;
766
+ data?: {
767
+ _id: string;
768
+ updatedAt?: Date | undefined;
769
+ country?: string | undefined;
770
+ text?: string | undefined;
771
+ name?: string | undefined;
772
+ title?: string | undefined;
773
+ category?: string | undefined;
774
+ author?: string | undefined;
775
+ internal?: boolean | undefined;
776
+ } | undefined;
777
+ }, {
778
+ success: boolean;
779
+ message?: string | undefined;
780
+ data?: {
781
+ _id: string;
782
+ updatedAt?: Date | undefined;
783
+ country?: string | undefined;
784
+ text?: string | undefined;
785
+ name?: string | undefined;
786
+ title?: string | undefined;
787
+ category?: string | undefined;
788
+ author?: string | undefined;
789
+ internal?: boolean | undefined;
790
+ } | undefined;
791
+ }>;
792
+ export declare const UpdateInternaldocResponseSchema: z.ZodObject<{
793
+ success: z.ZodBoolean;
794
+ message: z.ZodOptional<z.ZodString>;
795
+ } & {
796
+ data: z.ZodOptional<z.ZodObject<{
797
+ name: z.ZodOptional<z.ZodString>;
798
+ title: z.ZodOptional<z.ZodString>;
799
+ category: z.ZodOptional<z.ZodString>;
800
+ internal: z.ZodOptional<z.ZodBoolean>;
801
+ author: z.ZodOptional<z.ZodString>;
802
+ text: z.ZodOptional<z.ZodString>;
803
+ country: z.ZodOptional<z.ZodString>;
804
+ updatedAt: z.ZodOptional<z.ZodDate>;
805
+ } & {
806
+ _id: z.ZodString;
807
+ }, "strip", z.ZodTypeAny, {
808
+ _id: string;
809
+ updatedAt?: Date | undefined;
810
+ country?: string | undefined;
811
+ text?: string | undefined;
812
+ name?: string | undefined;
813
+ title?: string | undefined;
814
+ category?: string | undefined;
815
+ author?: string | undefined;
816
+ internal?: boolean | undefined;
817
+ }, {
818
+ _id: string;
819
+ updatedAt?: Date | undefined;
820
+ country?: string | undefined;
821
+ text?: string | undefined;
822
+ name?: string | undefined;
823
+ title?: string | undefined;
824
+ category?: string | undefined;
825
+ author?: string | undefined;
826
+ internal?: boolean | undefined;
827
+ }>>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ success: boolean;
830
+ message?: string | undefined;
831
+ data?: {
832
+ _id: string;
833
+ updatedAt?: Date | undefined;
834
+ country?: string | undefined;
835
+ text?: string | undefined;
836
+ name?: string | undefined;
837
+ title?: string | undefined;
838
+ category?: string | undefined;
839
+ author?: string | undefined;
840
+ internal?: boolean | undefined;
841
+ } | undefined;
842
+ }, {
843
+ success: boolean;
844
+ message?: string | undefined;
845
+ data?: {
846
+ _id: string;
847
+ updatedAt?: Date | undefined;
848
+ country?: string | undefined;
849
+ text?: string | undefined;
850
+ name?: string | undefined;
851
+ title?: string | undefined;
852
+ category?: string | undefined;
853
+ author?: string | undefined;
854
+ internal?: boolean | undefined;
855
+ } | undefined;
856
+ }>;
857
+ export declare const DeleteInternaldocResponseSchema: z.ZodObject<{
858
+ success: z.ZodBoolean;
859
+ message: z.ZodOptional<z.ZodString>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ success: boolean;
862
+ message?: string | undefined;
863
+ }, {
864
+ success: boolean;
865
+ message?: string | undefined;
866
+ }>;
867
+ export declare const UploadDocImageResponseSchema: z.ZodObject<{
868
+ success: z.ZodBoolean;
869
+ message: z.ZodOptional<z.ZodString>;
870
+ } & {
871
+ data: z.ZodOptional<z.ZodString>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ success: boolean;
874
+ message?: string | undefined;
875
+ data?: string | undefined;
876
+ }, {
877
+ success: boolean;
878
+ message?: string | undefined;
879
+ data?: string | undefined;
880
+ }>;
881
+ export declare const UploadDocDocsResponseSchema: z.ZodObject<{
882
+ success: z.ZodBoolean;
883
+ url: z.ZodOptional<z.ZodString>;
884
+ title: z.ZodOptional<z.ZodString>;
885
+ extension: z.ZodOptional<z.ZodString>;
886
+ }, "strip", z.ZodTypeAny, {
887
+ success: boolean;
888
+ url?: string | undefined;
889
+ title?: string | undefined;
890
+ extension?: string | undefined;
891
+ }, {
892
+ success: boolean;
893
+ url?: string | undefined;
894
+ title?: string | undefined;
895
+ extension?: string | undefined;
896
+ }>;
3
897
  /** GET /api/docs/:category */
4
- export type GetCategorizedDocumentationResponse = ApiResponse<IDocumentationWithId[]>;
898
+ export type GetCategorizedDocumentationResponse = z.infer<typeof GetCategorizedDocumentationResponseSchema>;
5
899
  /** GET /api/docs/all */
6
- export type GetAllDocumentationsResponse = ApiResponse<IDocumentationWithId[]>;
900
+ export type GetAllDocumentationsResponse = z.infer<typeof GetAllDocumentationsResponseSchema>;
7
901
  /** GET /api/docs/search/:doc_id */
8
- export type GetDocumentationResponse = ApiResponse<IDocumentationWithId>;
902
+ export type GetDocumentationResponse = z.infer<typeof GetDocumentationResponseSchema>;
9
903
  /** POST /api/docs */
10
- export type CreateDocumentationResponse = ApiResponse<IDocumentationWithId>;
904
+ export type CreateDocumentationResponse = z.infer<typeof CreateDocumentationResponseSchema>;
11
905
  /** PUT /api/docs/:doc_id */
12
- export type UpdateDocumentationResponse = ApiResponse<IDocumentationWithId>;
906
+ export type UpdateDocumentationResponse = z.infer<typeof UpdateDocumentationResponseSchema>;
13
907
  /** DELETE /api/docs/:doc_id */
14
- export type DeleteDocumentationResponse = SuccessResponse;
908
+ export type DeleteDocumentationResponse = z.infer<typeof DeleteDocumentationResponseSchema>;
15
909
  /** GET /api/docs/pages/:category */
16
- export type GetDocspageResponse = ApiResponse<IDocspageWithId | Record<string, never>>;
910
+ export type GetDocspageResponse = z.infer<typeof GetDocspageResponseSchema>;
17
911
  /** PUT /api/docs/pages/:category */
18
- export type UpdateDocspageResponse = ApiResponse<IDocspageWithId>;
912
+ export type UpdateDocspageResponse = z.infer<typeof UpdateDocspageResponseSchema>;
19
913
  /** GET /api/docs/internal/all */
20
- export type GetAllInternalDocumentationsResponse = ApiResponse<IInternaldocWithId[]>;
914
+ export type GetAllInternalDocumentationsResponse = z.infer<typeof GetAllInternalDocumentationsResponseSchema>;
21
915
  /** GET /api/docs/internal/search/:doc_id */
22
- export type GetInternaldocResponse = ApiResponse<IInternaldocWithId>;
916
+ export type GetInternaldocResponse = z.infer<typeof GetInternaldocResponseSchema>;
23
917
  /** GET /api/docs/taiger/internal/confidential */
24
- export type GetInternalDocumentationPageResponse = ApiResponse<IDocspageWithId | Record<string, never>>;
918
+ export type GetInternalDocumentationPageResponse = z.infer<typeof GetInternalDocumentationPageResponseSchema>;
25
919
  /** PUT /api/docs/taiger/internal/confidential */
26
- export type UpdateInternalDocumentationPageResponse = ApiResponse<IDocspageWithId>;
920
+ export type UpdateInternalDocumentationPageResponse = z.infer<typeof UpdateInternalDocumentationPageResponseSchema>;
27
921
  /** POST /api/docs/internal */
28
- export type CreateInternaldocResponse = ApiResponse<IInternaldocWithId>;
922
+ export type CreateInternaldocResponse = z.infer<typeof CreateInternaldocResponseSchema>;
29
923
  /** PUT /api/docs/internal/:doc_id */
30
- export type UpdateInternaldocResponse = ApiResponse<IInternaldocWithId>;
924
+ export type UpdateInternaldocResponse = z.infer<typeof UpdateInternaldocResponseSchema>;
31
925
  /** DELETE /api/docs/internal/:doc_id */
32
- export type DeleteInternaldocResponse = SuccessResponse;
926
+ export type DeleteInternaldocResponse = z.infer<typeof DeleteInternaldocResponseSchema>;
33
927
  /** POST /api/docs/upload/image — returns image URL */
34
- export type UploadDocImageResponse = ApiResponse<string>;
928
+ export type UploadDocImageResponse = z.infer<typeof UploadDocImageResponseSchema>;
35
929
  /**
36
930
  * POST /api/docs/upload/docs
37
931
  * Non-standard: returns url, title, extension alongside success
38
932
  */
39
- export interface UploadDocDocsResponse {
40
- success: boolean;
41
- url?: string;
42
- title?: string;
43
- extension?: string;
44
- }
933
+ export type UploadDocDocsResponse = z.infer<typeof UploadDocDocsResponseSchema>;