@taiger-common/model 1.0.57 → 1.0.58

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 (135) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +23 -23
  3. package/dist/cjs/index.js +0 -2
  4. package/dist/cjs/model/Documentthread.js +4 -2
  5. package/dist/cjs/model/Program.js +83 -331
  6. package/dist/cjs/model/User.js +139 -78
  7. package/dist/cjs/model/index.js +1 -1
  8. package/dist/esm/index.js +0 -2
  9. package/dist/esm/model/Documentthread.js +4 -2
  10. package/dist/esm/model/Program.js +78 -326
  11. package/dist/esm/model/User.js +124 -62
  12. package/dist/esm/model/index.js +1 -1
  13. package/dist/types/index.d.ts +0 -2
  14. package/dist/types/model/Allcourse.d.ts +27 -6
  15. package/dist/types/model/Audit.d.ts +43 -18
  16. package/dist/types/model/Basedocumentationslink.d.ts +16 -11
  17. package/dist/types/model/Communication.d.ts +71 -22
  18. package/dist/types/model/Complaint.d.ts +170 -25
  19. package/dist/types/model/Course.d.ts +49 -23
  20. package/dist/types/model/Docspage.d.ts +37 -14
  21. package/dist/types/model/Documentation.d.ts +28 -15
  22. package/dist/types/model/Documentthread.d.ts +178 -35
  23. package/dist/types/model/Event.d.ts +54 -15
  24. package/dist/types/model/Internaldoc.d.ts +28 -15
  25. package/dist/types/model/Interval.d.ts +26 -13
  26. package/dist/types/model/Interview.d.ts +50 -23
  27. package/dist/types/model/InterviewSurveyResponse.d.ts +62 -20
  28. package/dist/types/model/Keywordset.d.ts +44 -14
  29. package/dist/types/model/Note.d.ts +13 -11
  30. package/dist/types/model/Permission.d.ts +56 -21
  31. package/dist/types/model/Program.d.ts +232 -387
  32. package/dist/types/model/Programrequirement.d.ts +140 -37
  33. package/dist/types/model/ResponseTime.d.ts +17 -12
  34. package/dist/types/model/SurveyInput.d.ts +90 -23
  35. package/dist/types/model/Template.d.ts +13 -8
  36. package/dist/types/model/Tenant.d.ts +13 -10
  37. package/dist/types/model/Ticket.d.ts +38 -16
  38. package/dist/types/model/Token.d.ts +12 -10
  39. package/dist/types/model/User.d.ts +1 -2148
  40. package/dist/types/model/index.d.ts +1 -1
  41. package/dist/umd/index.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/cjs/api/account.js +0 -35
  44. package/dist/cjs/api/applications.js +0 -46
  45. package/dist/cjs/api/audit.js +0 -8
  46. package/dist/cjs/api/auth.js +0 -19
  47. package/dist/cjs/api/common.js +0 -32
  48. package/dist/cjs/api/communications.js +0 -15
  49. package/dist/cjs/api/courses.js +0 -23
  50. package/dist/cjs/api/crm.js +0 -87
  51. package/dist/cjs/api/documentThreads.js +0 -44
  52. package/dist/cjs/api/documentations.js +0 -33
  53. package/dist/cjs/api/events.js +0 -22
  54. package/dist/cjs/api/index.js +0 -41
  55. package/dist/cjs/api/interviews.js +0 -35
  56. package/dist/cjs/api/meetings.js +0 -20
  57. package/dist/cjs/api/notes.js +0 -8
  58. package/dist/cjs/api/permissions.js +0 -9
  59. package/dist/cjs/api/portals.js +0 -24
  60. package/dist/cjs/api/programRequirements.js +0 -26
  61. package/dist/cjs/api/programs.js +0 -93
  62. package/dist/cjs/api/search.js +0 -24
  63. package/dist/cjs/api/serialized.js +0 -50
  64. package/dist/cjs/api/students.js +0 -29
  65. package/dist/cjs/api/teams.js +0 -48
  66. package/dist/cjs/api/tickets.js +0 -21
  67. package/dist/cjs/api/users.js +0 -42
  68. package/dist/cjs/api/widgets.js +0 -21
  69. package/dist/cjs/constants/users.js +0 -12
  70. package/dist/cjs/model/Application.js +0 -78
  71. package/dist/cjs/schema/index.js +0 -22
  72. package/dist/cjs/schema/models.js +0 -523
  73. package/dist/cjs/schema/serialized.js +0 -202
  74. package/dist/esm/api/account.js +0 -32
  75. package/dist/esm/api/applications.js +0 -43
  76. package/dist/esm/api/audit.js +0 -5
  77. package/dist/esm/api/auth.js +0 -16
  78. package/dist/esm/api/common.js +0 -27
  79. package/dist/esm/api/communications.js +0 -12
  80. package/dist/esm/api/courses.js +0 -20
  81. package/dist/esm/api/crm.js +0 -84
  82. package/dist/esm/api/documentThreads.js +0 -41
  83. package/dist/esm/api/documentations.js +0 -30
  84. package/dist/esm/api/events.js +0 -19
  85. package/dist/esm/api/index.js +0 -25
  86. package/dist/esm/api/interviews.js +0 -32
  87. package/dist/esm/api/meetings.js +0 -17
  88. package/dist/esm/api/notes.js +0 -5
  89. package/dist/esm/api/permissions.js +0 -6
  90. package/dist/esm/api/portals.js +0 -21
  91. package/dist/esm/api/programRequirements.js +0 -23
  92. package/dist/esm/api/programs.js +0 -90
  93. package/dist/esm/api/search.js +0 -21
  94. package/dist/esm/api/serialized.js +0 -13
  95. package/dist/esm/api/students.js +0 -26
  96. package/dist/esm/api/teams.js +0 -45
  97. package/dist/esm/api/tickets.js +0 -18
  98. package/dist/esm/api/users.js +0 -39
  99. package/dist/esm/api/widgets.js +0 -18
  100. package/dist/esm/constants/users.js +0 -9
  101. package/dist/esm/model/Application.js +0 -75
  102. package/dist/esm/schema/index.js +0 -6
  103. package/dist/esm/schema/models.js +0 -520
  104. package/dist/esm/schema/serialized.js +0 -199
  105. package/dist/types/api/account.d.ts +0 -503
  106. package/dist/types/api/applications.d.ts +0 -3417
  107. package/dist/types/api/audit.d.ts +0 -89
  108. package/dist/types/api/auth.d.ts +0 -3411
  109. package/dist/types/api/common.d.ts +0 -90
  110. package/dist/types/api/communications.d.ts +0 -617
  111. package/dist/types/api/courses.d.ts +0 -849
  112. package/dist/types/api/crm.d.ts +0 -1113
  113. package/dist/types/api/documentThreads.d.ts +0 -38257
  114. package/dist/types/api/documentations.d.ts +0 -933
  115. package/dist/types/api/events.d.ts +0 -7209
  116. package/dist/types/api/index.d.ts +0 -25
  117. package/dist/types/api/interviews.d.ts +0 -802
  118. package/dist/types/api/meetings.d.ts +0 -49
  119. package/dist/types/api/notes.d.ts +0 -85
  120. package/dist/types/api/permissions.d.ts +0 -195
  121. package/dist/types/api/portals.d.ts +0 -770
  122. package/dist/types/api/programRequirements.d.ts +0 -2685
  123. package/dist/types/api/programs.d.ts +0 -3046
  124. package/dist/types/api/search.d.ts +0 -292
  125. package/dist/types/api/serialized.d.ts +0 -7
  126. package/dist/types/api/students.d.ts +0 -307
  127. package/dist/types/api/teams.d.ts +0 -3671
  128. package/dist/types/api/tickets.d.ts +0 -960
  129. package/dist/types/api/users.d.ts +0 -6960
  130. package/dist/types/api/widgets.d.ts +0 -234
  131. package/dist/types/constants/users.d.ts +0 -9
  132. package/dist/types/model/Application.d.ts +0 -85
  133. package/dist/types/schema/index.d.ts +0 -6
  134. package/dist/types/schema/models.d.ts +0 -2038
  135. package/dist/types/schema/serialized.d.ts +0 -8823
@@ -1,933 +0,0 @@
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
- }>;
897
- /** GET /api/docs/:category */
898
- export type GetCategorizedDocumentationResponse = z.infer<typeof GetCategorizedDocumentationResponseSchema>;
899
- /** GET /api/docs/all */
900
- export type GetAllDocumentationsResponse = z.infer<typeof GetAllDocumentationsResponseSchema>;
901
- /** GET /api/docs/search/:doc_id */
902
- export type GetDocumentationResponse = z.infer<typeof GetDocumentationResponseSchema>;
903
- /** POST /api/docs */
904
- export type CreateDocumentationResponse = z.infer<typeof CreateDocumentationResponseSchema>;
905
- /** PUT /api/docs/:doc_id */
906
- export type UpdateDocumentationResponse = z.infer<typeof UpdateDocumentationResponseSchema>;
907
- /** DELETE /api/docs/:doc_id */
908
- export type DeleteDocumentationResponse = z.infer<typeof DeleteDocumentationResponseSchema>;
909
- /** GET /api/docs/pages/:category */
910
- export type GetDocspageResponse = z.infer<typeof GetDocspageResponseSchema>;
911
- /** PUT /api/docs/pages/:category */
912
- export type UpdateDocspageResponse = z.infer<typeof UpdateDocspageResponseSchema>;
913
- /** GET /api/docs/internal/all */
914
- export type GetAllInternalDocumentationsResponse = z.infer<typeof GetAllInternalDocumentationsResponseSchema>;
915
- /** GET /api/docs/internal/search/:doc_id */
916
- export type GetInternaldocResponse = z.infer<typeof GetInternaldocResponseSchema>;
917
- /** GET /api/docs/taiger/internal/confidential */
918
- export type GetInternalDocumentationPageResponse = z.infer<typeof GetInternalDocumentationPageResponseSchema>;
919
- /** PUT /api/docs/taiger/internal/confidential */
920
- export type UpdateInternalDocumentationPageResponse = z.infer<typeof UpdateInternalDocumentationPageResponseSchema>;
921
- /** POST /api/docs/internal */
922
- export type CreateInternaldocResponse = z.infer<typeof CreateInternaldocResponseSchema>;
923
- /** PUT /api/docs/internal/:doc_id */
924
- export type UpdateInternaldocResponse = z.infer<typeof UpdateInternaldocResponseSchema>;
925
- /** DELETE /api/docs/internal/:doc_id */
926
- export type DeleteInternaldocResponse = z.infer<typeof DeleteInternaldocResponseSchema>;
927
- /** POST /api/docs/upload/image — returns image URL */
928
- export type UploadDocImageResponse = z.infer<typeof UploadDocImageResponseSchema>;
929
- /**
930
- * POST /api/docs/upload/docs
931
- * Non-standard: returns url, title, extension alongside success
932
- */
933
- export type UploadDocDocsResponse = z.infer<typeof UploadDocDocsResponseSchema>;