@dakkitor/api-contracts 1.1.9 → 1.1.11

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 (92) hide show
  1. package/dist/actives/actives.contract.d.ts +263 -263
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +9 -17
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1905 -0
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -0
  6. package/dist/agent-client-links/agent-client-links.contract.js +127 -0
  7. package/dist/auth/auth.contract.d.ts +319 -0
  8. package/dist/auth/auth.contract.d.ts.map +1 -0
  9. package/dist/auth/auth.contract.js +63 -0
  10. package/dist/bookings/bookings.contract.d.ts +2183 -0
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -0
  12. package/dist/bookings/bookings.contract.js +278 -0
  13. package/dist/call-history/call-history.contract.d.ts +1164 -0
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -0
  15. package/dist/call-history/call-history.contract.js +254 -0
  16. package/dist/client-contacts/client-contacts.contract.d.ts +421 -472
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +26 -15
  19. package/dist/clients/clients.contract.d.ts +336 -308
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +49 -52
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3013 -0
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -0
  24. package/dist/collaboration-checkings/collaboration-checkings.contract.js +247 -0
  25. package/dist/collaborations/collaborations.contract.d.ts +2229 -0
  26. package/dist/collaborations/collaborations.contract.d.ts.map +1 -0
  27. package/dist/collaborations/collaborations.contract.js +284 -0
  28. package/dist/common/common-schemas.d.ts +120 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -0
  30. package/dist/common/common-schemas.js +296 -0
  31. package/dist/common/error-schemas.d.ts +6 -6
  32. package/dist/common/openapi-metadata.d.ts +6 -0
  33. package/dist/common/openapi-metadata.d.ts.map +1 -1
  34. package/dist/common/pagination-query.schema.d.ts +17 -0
  35. package/dist/common/pagination-query.schema.d.ts.map +1 -0
  36. package/dist/common/pagination-query.schema.js +15 -0
  37. package/dist/common/pagination.schema.d.ts +2 -2
  38. package/dist/companies/companies.contract.d.ts +1108 -0
  39. package/dist/companies/companies.contract.d.ts.map +1 -0
  40. package/dist/companies/companies.contract.js +164 -0
  41. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  42. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  43. package/dist/cron-executions/cron-executions.contract.js +271 -0
  44. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  45. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  46. package/dist/curated-workers/curated-workers.contract.js +444 -0
  47. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  48. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  49. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  50. package/dist/files/files.contract.d.ts +1258 -0
  51. package/dist/files/files.contract.d.ts.map +1 -0
  52. package/dist/files/files.contract.js +205 -0
  53. package/dist/health/health.contract.d.ts +161 -0
  54. package/dist/health/health.contract.d.ts.map +1 -0
  55. package/dist/health/health.contract.js +52 -0
  56. package/dist/index.d.ts +28596 -3088
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +68 -0
  59. package/dist/jobs/jobs.contract.d.ts +2303 -0
  60. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  61. package/dist/jobs/jobs.contract.js +295 -0
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  63. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  64. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  65. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  66. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  68. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  69. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  70. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  71. package/dist/leads/leads.contract.d.ts +1690 -0
  72. package/dist/leads/leads.contract.d.ts.map +1 -0
  73. package/dist/leads/leads.contract.js +328 -0
  74. package/dist/locations/locations.contract.d.ts +974 -0
  75. package/dist/locations/locations.contract.d.ts.map +1 -0
  76. package/dist/locations/locations.contract.js +154 -0
  77. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  78. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  79. package/dist/postcodes/postcodes.contract.js +90 -0
  80. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  81. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  82. package/dist/qualifications/qualifications.contract.js +215 -0
  83. package/dist/trades/trades.contract.d.ts +799 -0
  84. package/dist/trades/trades.contract.d.ts.map +1 -0
  85. package/dist/trades/trades.contract.js +112 -0
  86. package/dist/users/users.contract.d.ts +315 -299
  87. package/dist/users/users.contract.d.ts.map +1 -1
  88. package/dist/users/users.contract.js +13 -29
  89. package/dist/workers/workers.contract.d.ts +3376 -0
  90. package/dist/workers/workers.contract.d.ts.map +1 -0
  91. package/dist/workers/workers.contract.js +363 -0
  92. package/package.json +4 -3
@@ -0,0 +1,3013 @@
1
+ import { z } from 'zod';
2
+ export declare const CollaborationCheckingSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ collaborationId: z.ZodString;
5
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodString;
8
+ clientId: z.ZodString;
9
+ client: z.ZodObject<{
10
+ id: z.ZodString;
11
+ name: z.ZodString;
12
+ crn: z.ZodString;
13
+ govLink: z.ZodString;
14
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
15
+ director: z.ZodString;
16
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ lastUpdatedBy: z.ZodObject<{
18
+ id: z.ZodString;
19
+ firstName: z.ZodString;
20
+ lastName: z.ZodString;
21
+ email: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ id: string;
24
+ firstName: string;
25
+ lastName: string;
26
+ email: string;
27
+ }, {
28
+ id: string;
29
+ firstName: string;
30
+ lastName: string;
31
+ email: string;
32
+ }>;
33
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
34
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
35
+ agentClientLinks: z.ZodObject<{
36
+ agentId: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ agentId: string;
39
+ }, {
40
+ agentId: string;
41
+ }>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ id: string;
44
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
45
+ name: string;
46
+ crn: string;
47
+ govLink: string;
48
+ director: string;
49
+ lastUpdatedBy: {
50
+ id: string;
51
+ firstName: string;
52
+ lastName: string;
53
+ email: string;
54
+ };
55
+ createdAt: string;
56
+ updatedAt: string;
57
+ agentClientLinks: {
58
+ agentId: string;
59
+ };
60
+ blacklistReason?: string | null | undefined;
61
+ }, {
62
+ id: string;
63
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
64
+ name: string;
65
+ crn: string;
66
+ govLink: string;
67
+ director: string;
68
+ lastUpdatedBy: {
69
+ id: string;
70
+ firstName: string;
71
+ lastName: string;
72
+ email: string;
73
+ };
74
+ createdAt: string | Date;
75
+ updatedAt: string | Date;
76
+ agentClientLinks: {
77
+ agentId: string;
78
+ };
79
+ blacklistReason?: string | null | undefined;
80
+ }>;
81
+ name: z.ZodString;
82
+ position: z.ZodOptional<z.ZodString>;
83
+ phone: z.ZodString;
84
+ email: z.ZodString;
85
+ source: z.ZodOptional<z.ZodString>;
86
+ createdBy: z.ZodObject<{
87
+ id: z.ZodString;
88
+ firstName: z.ZodString;
89
+ lastName: z.ZodString;
90
+ email: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: string;
93
+ firstName: string;
94
+ lastName: string;
95
+ email: string;
96
+ }, {
97
+ id: string;
98
+ firstName: string;
99
+ lastName: string;
100
+ email: string;
101
+ }>;
102
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
103
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ id: string;
106
+ email: string;
107
+ name: string;
108
+ createdAt: string;
109
+ updatedAt: string;
110
+ clientId: string;
111
+ client: {
112
+ id: string;
113
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
114
+ name: string;
115
+ crn: string;
116
+ govLink: string;
117
+ director: string;
118
+ lastUpdatedBy: {
119
+ id: string;
120
+ firstName: string;
121
+ lastName: string;
122
+ email: string;
123
+ };
124
+ createdAt: string;
125
+ updatedAt: string;
126
+ agentClientLinks: {
127
+ agentId: string;
128
+ };
129
+ blacklistReason?: string | null | undefined;
130
+ };
131
+ phone: string;
132
+ createdBy: {
133
+ id: string;
134
+ firstName: string;
135
+ lastName: string;
136
+ email: string;
137
+ };
138
+ position?: string | undefined;
139
+ source?: string | undefined;
140
+ }, {
141
+ id: string;
142
+ email: string;
143
+ name: string;
144
+ createdAt: string | Date;
145
+ updatedAt: string | Date;
146
+ clientId: string;
147
+ client: {
148
+ id: string;
149
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
150
+ name: string;
151
+ crn: string;
152
+ govLink: string;
153
+ director: string;
154
+ lastUpdatedBy: {
155
+ id: string;
156
+ firstName: string;
157
+ lastName: string;
158
+ email: string;
159
+ };
160
+ createdAt: string | Date;
161
+ updatedAt: string | Date;
162
+ agentClientLinks: {
163
+ agentId: string;
164
+ };
165
+ blacklistReason?: string | null | undefined;
166
+ };
167
+ phone: string;
168
+ createdBy: {
169
+ id: string;
170
+ firstName: string;
171
+ lastName: string;
172
+ email: string;
173
+ };
174
+ position?: string | undefined;
175
+ source?: string | undefined;
176
+ }>>>;
177
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
178
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
179
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
180
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
182
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
183
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
184
+ email: z.ZodString;
185
+ introductionEmailSent: z.ZodBoolean;
186
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
187
+ collaborationEmailSent: z.ZodBoolean;
188
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
189
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
191
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
192
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ id: string;
195
+ email: string;
196
+ createdAt: string;
197
+ updatedAt: string;
198
+ urgency: "LOW" | "MEDIUM" | "HIGH";
199
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
200
+ collaborationId: string;
201
+ decision: "APPROVED" | "PENDING" | "REJECTED";
202
+ isTermsAndConditionsConfirmed: boolean;
203
+ introductionEmailSent: boolean;
204
+ collaborationEmailSent: boolean;
205
+ clientContact?: {
206
+ id: string;
207
+ email: string;
208
+ name: string;
209
+ createdAt: string;
210
+ updatedAt: string;
211
+ clientId: string;
212
+ client: {
213
+ id: string;
214
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
215
+ name: string;
216
+ crn: string;
217
+ govLink: string;
218
+ director: string;
219
+ lastUpdatedBy: {
220
+ id: string;
221
+ firstName: string;
222
+ lastName: string;
223
+ email: string;
224
+ };
225
+ createdAt: string;
226
+ updatedAt: string;
227
+ agentClientLinks: {
228
+ agentId: string;
229
+ };
230
+ blacklistReason?: string | null | undefined;
231
+ };
232
+ phone: string;
233
+ createdBy: {
234
+ id: string;
235
+ firstName: string;
236
+ lastName: string;
237
+ email: string;
238
+ };
239
+ position?: string | undefined;
240
+ source?: string | undefined;
241
+ } | null | undefined;
242
+ clientContactId?: string | null | undefined;
243
+ decisionTimestamp?: string | null | undefined;
244
+ decisionComment?: string | null | undefined;
245
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
246
+ introductionEmailTimestamp?: string | null | undefined;
247
+ collaborationEmailTimestamp?: string | null | undefined;
248
+ checkingComment?: string | null | undefined;
249
+ deletedAt?: string | null | undefined;
250
+ }, {
251
+ id: string;
252
+ email: string;
253
+ createdAt: string | Date;
254
+ updatedAt: string | Date;
255
+ urgency: "LOW" | "MEDIUM" | "HIGH";
256
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
257
+ collaborationId: string;
258
+ decision: "APPROVED" | "PENDING" | "REJECTED";
259
+ isTermsAndConditionsConfirmed: boolean;
260
+ introductionEmailSent: boolean;
261
+ collaborationEmailSent: boolean;
262
+ clientContact?: {
263
+ id: string;
264
+ email: string;
265
+ name: string;
266
+ createdAt: string | Date;
267
+ updatedAt: string | Date;
268
+ clientId: string;
269
+ client: {
270
+ id: string;
271
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
272
+ name: string;
273
+ crn: string;
274
+ govLink: string;
275
+ director: string;
276
+ lastUpdatedBy: {
277
+ id: string;
278
+ firstName: string;
279
+ lastName: string;
280
+ email: string;
281
+ };
282
+ createdAt: string | Date;
283
+ updatedAt: string | Date;
284
+ agentClientLinks: {
285
+ agentId: string;
286
+ };
287
+ blacklistReason?: string | null | undefined;
288
+ };
289
+ phone: string;
290
+ createdBy: {
291
+ id: string;
292
+ firstName: string;
293
+ lastName: string;
294
+ email: string;
295
+ };
296
+ position?: string | undefined;
297
+ source?: string | undefined;
298
+ } | null | undefined;
299
+ clientContactId?: string | null | undefined;
300
+ decisionTimestamp?: string | Date | null | undefined;
301
+ decisionComment?: string | null | undefined;
302
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
303
+ introductionEmailTimestamp?: string | Date | null | undefined;
304
+ collaborationEmailTimestamp?: string | Date | null | undefined;
305
+ checkingComment?: string | null | undefined;
306
+ deletedAt?: string | Date | null | undefined;
307
+ }>;
308
+ export declare const CreateCollaborationCheckingSchema: z.ZodObject<{
309
+ collaboration: z.ZodObject<{
310
+ id: z.ZodString;
311
+ }, "strip", z.ZodTypeAny, {
312
+ id: string;
313
+ }, {
314
+ id: string;
315
+ }>;
316
+ clientContact: z.ZodObject<{
317
+ id: z.ZodString;
318
+ }, "strip", z.ZodTypeAny, {
319
+ id: string;
320
+ }, {
321
+ id: string;
322
+ }>;
323
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
324
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
325
+ email: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
327
+ email: string;
328
+ collaboration: {
329
+ id: string;
330
+ };
331
+ clientContact: {
332
+ id: string;
333
+ };
334
+ urgency: "LOW" | "MEDIUM" | "HIGH";
335
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
336
+ }, {
337
+ email: string;
338
+ collaboration: {
339
+ id: string;
340
+ };
341
+ clientContact: {
342
+ id: string;
343
+ };
344
+ urgency: "LOW" | "MEDIUM" | "HIGH";
345
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
346
+ }>;
347
+ export declare const UpdateCollaborationCheckingSchema: z.ZodObject<{
348
+ urgency: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>>>;
349
+ emailType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>>>;
350
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
+ decision: z.ZodOptional<z.ZodNullable<z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>>>;
352
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
+ isTermsAndConditionsConfirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
354
+ introductionEmailSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
355
+ collaborationEmailSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
356
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ email?: string | null | undefined;
360
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
361
+ emailType?: "BOTH" | "INTRODUCTION" | "COLLABORATION" | null | undefined;
362
+ clientContactId?: string | null | undefined;
363
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | null | undefined;
364
+ decisionComment?: string | null | undefined;
365
+ isTermsAndConditionsConfirmed?: boolean | null | undefined;
366
+ introductionEmailSent?: boolean | null | undefined;
367
+ collaborationEmailSent?: boolean | null | undefined;
368
+ checkingComment?: string | null | undefined;
369
+ }, {
370
+ email?: string | null | undefined;
371
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
372
+ emailType?: "BOTH" | "INTRODUCTION" | "COLLABORATION" | null | undefined;
373
+ clientContactId?: string | null | undefined;
374
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | null | undefined;
375
+ decisionComment?: string | null | undefined;
376
+ isTermsAndConditionsConfirmed?: boolean | null | undefined;
377
+ introductionEmailSent?: boolean | null | undefined;
378
+ collaborationEmailSent?: boolean | null | undefined;
379
+ checkingComment?: string | null | undefined;
380
+ }>;
381
+ export declare const FilterCollaborationCheckingSchema: z.ZodObject<{
382
+ limit: z.ZodDefault<z.ZodNumber>;
383
+ page: z.ZodDefault<z.ZodNumber>;
384
+ } & {
385
+ companyId: z.ZodOptional<z.ZodString>;
386
+ clientId: z.ZodOptional<z.ZodString>;
387
+ urgency: z.ZodOptional<z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>>;
388
+ decision: z.ZodOptional<z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>>;
389
+ createdById: z.ZodOptional<z.ZodString>;
390
+ sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["urgency", "decision", "decisionTimestamp", "createdAt", "updatedAt"]>>>;
391
+ sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ limit: number;
394
+ page: number;
395
+ sortBy: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp";
396
+ sortOrder: "ASC" | "DESC";
397
+ clientId?: string | undefined;
398
+ companyId?: string | undefined;
399
+ createdById?: string | undefined;
400
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
401
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | undefined;
402
+ }, {
403
+ limit?: number | undefined;
404
+ page?: number | undefined;
405
+ sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
406
+ sortOrder?: "ASC" | "DESC" | undefined;
407
+ clientId?: string | undefined;
408
+ companyId?: string | undefined;
409
+ createdById?: string | undefined;
410
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
411
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | undefined;
412
+ }>;
413
+ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
414
+ items: z.ZodArray<z.ZodObject<{
415
+ id: z.ZodString;
416
+ collaborationId: z.ZodString;
417
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
419
+ id: z.ZodString;
420
+ clientId: z.ZodString;
421
+ client: z.ZodObject<{
422
+ id: z.ZodString;
423
+ name: z.ZodString;
424
+ crn: z.ZodString;
425
+ govLink: z.ZodString;
426
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
427
+ director: z.ZodString;
428
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
+ lastUpdatedBy: z.ZodObject<{
430
+ id: z.ZodString;
431
+ firstName: z.ZodString;
432
+ lastName: z.ZodString;
433
+ email: z.ZodString;
434
+ }, "strip", z.ZodTypeAny, {
435
+ id: string;
436
+ firstName: string;
437
+ lastName: string;
438
+ email: string;
439
+ }, {
440
+ id: string;
441
+ firstName: string;
442
+ lastName: string;
443
+ email: string;
444
+ }>;
445
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
446
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
447
+ agentClientLinks: z.ZodObject<{
448
+ agentId: z.ZodString;
449
+ }, "strip", z.ZodTypeAny, {
450
+ agentId: string;
451
+ }, {
452
+ agentId: string;
453
+ }>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ id: string;
456
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
457
+ name: string;
458
+ crn: string;
459
+ govLink: string;
460
+ director: string;
461
+ lastUpdatedBy: {
462
+ id: string;
463
+ firstName: string;
464
+ lastName: string;
465
+ email: string;
466
+ };
467
+ createdAt: string;
468
+ updatedAt: string;
469
+ agentClientLinks: {
470
+ agentId: string;
471
+ };
472
+ blacklistReason?: string | null | undefined;
473
+ }, {
474
+ id: string;
475
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
476
+ name: string;
477
+ crn: string;
478
+ govLink: string;
479
+ director: string;
480
+ lastUpdatedBy: {
481
+ id: string;
482
+ firstName: string;
483
+ lastName: string;
484
+ email: string;
485
+ };
486
+ createdAt: string | Date;
487
+ updatedAt: string | Date;
488
+ agentClientLinks: {
489
+ agentId: string;
490
+ };
491
+ blacklistReason?: string | null | undefined;
492
+ }>;
493
+ name: z.ZodString;
494
+ position: z.ZodOptional<z.ZodString>;
495
+ phone: z.ZodString;
496
+ email: z.ZodString;
497
+ source: z.ZodOptional<z.ZodString>;
498
+ createdBy: z.ZodObject<{
499
+ id: z.ZodString;
500
+ firstName: z.ZodString;
501
+ lastName: z.ZodString;
502
+ email: z.ZodString;
503
+ }, "strip", z.ZodTypeAny, {
504
+ id: string;
505
+ firstName: string;
506
+ lastName: string;
507
+ email: string;
508
+ }, {
509
+ id: string;
510
+ firstName: string;
511
+ lastName: string;
512
+ email: string;
513
+ }>;
514
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
515
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
516
+ }, "strip", z.ZodTypeAny, {
517
+ id: string;
518
+ email: string;
519
+ name: string;
520
+ createdAt: string;
521
+ updatedAt: string;
522
+ clientId: string;
523
+ client: {
524
+ id: string;
525
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
526
+ name: string;
527
+ crn: string;
528
+ govLink: string;
529
+ director: string;
530
+ lastUpdatedBy: {
531
+ id: string;
532
+ firstName: string;
533
+ lastName: string;
534
+ email: string;
535
+ };
536
+ createdAt: string;
537
+ updatedAt: string;
538
+ agentClientLinks: {
539
+ agentId: string;
540
+ };
541
+ blacklistReason?: string | null | undefined;
542
+ };
543
+ phone: string;
544
+ createdBy: {
545
+ id: string;
546
+ firstName: string;
547
+ lastName: string;
548
+ email: string;
549
+ };
550
+ position?: string | undefined;
551
+ source?: string | undefined;
552
+ }, {
553
+ id: string;
554
+ email: string;
555
+ name: string;
556
+ createdAt: string | Date;
557
+ updatedAt: string | Date;
558
+ clientId: string;
559
+ client: {
560
+ id: string;
561
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
562
+ name: string;
563
+ crn: string;
564
+ govLink: string;
565
+ director: string;
566
+ lastUpdatedBy: {
567
+ id: string;
568
+ firstName: string;
569
+ lastName: string;
570
+ email: string;
571
+ };
572
+ createdAt: string | Date;
573
+ updatedAt: string | Date;
574
+ agentClientLinks: {
575
+ agentId: string;
576
+ };
577
+ blacklistReason?: string | null | undefined;
578
+ };
579
+ phone: string;
580
+ createdBy: {
581
+ id: string;
582
+ firstName: string;
583
+ lastName: string;
584
+ email: string;
585
+ };
586
+ position?: string | undefined;
587
+ source?: string | undefined;
588
+ }>>>;
589
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
590
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
591
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
592
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
594
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
595
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
596
+ email: z.ZodString;
597
+ introductionEmailSent: z.ZodBoolean;
598
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
599
+ collaborationEmailSent: z.ZodBoolean;
600
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
601
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
602
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
603
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
604
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
605
+ }, "strip", z.ZodTypeAny, {
606
+ id: string;
607
+ email: string;
608
+ createdAt: string;
609
+ updatedAt: string;
610
+ urgency: "LOW" | "MEDIUM" | "HIGH";
611
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
612
+ collaborationId: string;
613
+ decision: "APPROVED" | "PENDING" | "REJECTED";
614
+ isTermsAndConditionsConfirmed: boolean;
615
+ introductionEmailSent: boolean;
616
+ collaborationEmailSent: boolean;
617
+ clientContact?: {
618
+ id: string;
619
+ email: string;
620
+ name: string;
621
+ createdAt: string;
622
+ updatedAt: string;
623
+ clientId: string;
624
+ client: {
625
+ id: string;
626
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
627
+ name: string;
628
+ crn: string;
629
+ govLink: string;
630
+ director: string;
631
+ lastUpdatedBy: {
632
+ id: string;
633
+ firstName: string;
634
+ lastName: string;
635
+ email: string;
636
+ };
637
+ createdAt: string;
638
+ updatedAt: string;
639
+ agentClientLinks: {
640
+ agentId: string;
641
+ };
642
+ blacklistReason?: string | null | undefined;
643
+ };
644
+ phone: string;
645
+ createdBy: {
646
+ id: string;
647
+ firstName: string;
648
+ lastName: string;
649
+ email: string;
650
+ };
651
+ position?: string | undefined;
652
+ source?: string | undefined;
653
+ } | null | undefined;
654
+ clientContactId?: string | null | undefined;
655
+ decisionTimestamp?: string | null | undefined;
656
+ decisionComment?: string | null | undefined;
657
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
658
+ introductionEmailTimestamp?: string | null | undefined;
659
+ collaborationEmailTimestamp?: string | null | undefined;
660
+ checkingComment?: string | null | undefined;
661
+ deletedAt?: string | null | undefined;
662
+ }, {
663
+ id: string;
664
+ email: string;
665
+ createdAt: string | Date;
666
+ updatedAt: string | Date;
667
+ urgency: "LOW" | "MEDIUM" | "HIGH";
668
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
669
+ collaborationId: string;
670
+ decision: "APPROVED" | "PENDING" | "REJECTED";
671
+ isTermsAndConditionsConfirmed: boolean;
672
+ introductionEmailSent: boolean;
673
+ collaborationEmailSent: boolean;
674
+ clientContact?: {
675
+ id: string;
676
+ email: string;
677
+ name: string;
678
+ createdAt: string | Date;
679
+ updatedAt: string | Date;
680
+ clientId: string;
681
+ client: {
682
+ id: string;
683
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
684
+ name: string;
685
+ crn: string;
686
+ govLink: string;
687
+ director: string;
688
+ lastUpdatedBy: {
689
+ id: string;
690
+ firstName: string;
691
+ lastName: string;
692
+ email: string;
693
+ };
694
+ createdAt: string | Date;
695
+ updatedAt: string | Date;
696
+ agentClientLinks: {
697
+ agentId: string;
698
+ };
699
+ blacklistReason?: string | null | undefined;
700
+ };
701
+ phone: string;
702
+ createdBy: {
703
+ id: string;
704
+ firstName: string;
705
+ lastName: string;
706
+ email: string;
707
+ };
708
+ position?: string | undefined;
709
+ source?: string | undefined;
710
+ } | null | undefined;
711
+ clientContactId?: string | null | undefined;
712
+ decisionTimestamp?: string | Date | null | undefined;
713
+ decisionComment?: string | null | undefined;
714
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
715
+ introductionEmailTimestamp?: string | Date | null | undefined;
716
+ collaborationEmailTimestamp?: string | Date | null | undefined;
717
+ checkingComment?: string | null | undefined;
718
+ deletedAt?: string | Date | null | undefined;
719
+ }>, "many">;
720
+ totalCount: z.ZodNumber;
721
+ limit: z.ZodNumber;
722
+ skip: z.ZodNumber;
723
+ currentPage: z.ZodNumber;
724
+ totalPages: z.ZodNumber;
725
+ }, "strip", z.ZodTypeAny, {
726
+ limit: number;
727
+ items: {
728
+ id: string;
729
+ email: string;
730
+ createdAt: string;
731
+ updatedAt: string;
732
+ urgency: "LOW" | "MEDIUM" | "HIGH";
733
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
734
+ collaborationId: string;
735
+ decision: "APPROVED" | "PENDING" | "REJECTED";
736
+ isTermsAndConditionsConfirmed: boolean;
737
+ introductionEmailSent: boolean;
738
+ collaborationEmailSent: boolean;
739
+ clientContact?: {
740
+ id: string;
741
+ email: string;
742
+ name: string;
743
+ createdAt: string;
744
+ updatedAt: string;
745
+ clientId: string;
746
+ client: {
747
+ id: string;
748
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
749
+ name: string;
750
+ crn: string;
751
+ govLink: string;
752
+ director: string;
753
+ lastUpdatedBy: {
754
+ id: string;
755
+ firstName: string;
756
+ lastName: string;
757
+ email: string;
758
+ };
759
+ createdAt: string;
760
+ updatedAt: string;
761
+ agentClientLinks: {
762
+ agentId: string;
763
+ };
764
+ blacklistReason?: string | null | undefined;
765
+ };
766
+ phone: string;
767
+ createdBy: {
768
+ id: string;
769
+ firstName: string;
770
+ lastName: string;
771
+ email: string;
772
+ };
773
+ position?: string | undefined;
774
+ source?: string | undefined;
775
+ } | null | undefined;
776
+ clientContactId?: string | null | undefined;
777
+ decisionTimestamp?: string | null | undefined;
778
+ decisionComment?: string | null | undefined;
779
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
780
+ introductionEmailTimestamp?: string | null | undefined;
781
+ collaborationEmailTimestamp?: string | null | undefined;
782
+ checkingComment?: string | null | undefined;
783
+ deletedAt?: string | null | undefined;
784
+ }[];
785
+ totalCount: number;
786
+ skip: number;
787
+ currentPage: number;
788
+ totalPages: number;
789
+ }, {
790
+ limit: number;
791
+ items: {
792
+ id: string;
793
+ email: string;
794
+ createdAt: string | Date;
795
+ updatedAt: string | Date;
796
+ urgency: "LOW" | "MEDIUM" | "HIGH";
797
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
798
+ collaborationId: string;
799
+ decision: "APPROVED" | "PENDING" | "REJECTED";
800
+ isTermsAndConditionsConfirmed: boolean;
801
+ introductionEmailSent: boolean;
802
+ collaborationEmailSent: boolean;
803
+ clientContact?: {
804
+ id: string;
805
+ email: string;
806
+ name: string;
807
+ createdAt: string | Date;
808
+ updatedAt: string | Date;
809
+ clientId: string;
810
+ client: {
811
+ id: string;
812
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
813
+ name: string;
814
+ crn: string;
815
+ govLink: string;
816
+ director: string;
817
+ lastUpdatedBy: {
818
+ id: string;
819
+ firstName: string;
820
+ lastName: string;
821
+ email: string;
822
+ };
823
+ createdAt: string | Date;
824
+ updatedAt: string | Date;
825
+ agentClientLinks: {
826
+ agentId: string;
827
+ };
828
+ blacklistReason?: string | null | undefined;
829
+ };
830
+ phone: string;
831
+ createdBy: {
832
+ id: string;
833
+ firstName: string;
834
+ lastName: string;
835
+ email: string;
836
+ };
837
+ position?: string | undefined;
838
+ source?: string | undefined;
839
+ } | null | undefined;
840
+ clientContactId?: string | null | undefined;
841
+ decisionTimestamp?: string | Date | null | undefined;
842
+ decisionComment?: string | null | undefined;
843
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
844
+ introductionEmailTimestamp?: string | Date | null | undefined;
845
+ collaborationEmailTimestamp?: string | Date | null | undefined;
846
+ checkingComment?: string | null | undefined;
847
+ deletedAt?: string | Date | null | undefined;
848
+ }[];
849
+ totalCount: number;
850
+ skip: number;
851
+ currentPage: number;
852
+ totalPages: number;
853
+ }>;
854
+ export type CollaborationChecking = z.infer<typeof CollaborationCheckingSchema>;
855
+ export type CreateCollaborationChecking = z.infer<typeof CreateCollaborationCheckingSchema>;
856
+ export type UpdateCollaborationChecking = z.infer<typeof UpdateCollaborationCheckingSchema>;
857
+ export type FilterCollaborationChecking = z.infer<typeof FilterCollaborationCheckingSchema>;
858
+ export type PaginatedCollaborationCheckingResponse = z.infer<typeof PaginatedCollaborationCheckingResponseSchema>;
859
+ export declare const collaborationCheckingsContract: {
860
+ create: {
861
+ metadata: {
862
+ tags: string[];
863
+ openApi: {
864
+ operationId: string;
865
+ };
866
+ };
867
+ summary: "Create a new collaboration checking";
868
+ method: "POST";
869
+ body: z.ZodObject<{
870
+ collaboration: z.ZodObject<{
871
+ id: z.ZodString;
872
+ }, "strip", z.ZodTypeAny, {
873
+ id: string;
874
+ }, {
875
+ id: string;
876
+ }>;
877
+ clientContact: z.ZodObject<{
878
+ id: z.ZodString;
879
+ }, "strip", z.ZodTypeAny, {
880
+ id: string;
881
+ }, {
882
+ id: string;
883
+ }>;
884
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
885
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
886
+ email: z.ZodString;
887
+ }, "strip", z.ZodTypeAny, {
888
+ email: string;
889
+ collaboration: {
890
+ id: string;
891
+ };
892
+ clientContact: {
893
+ id: string;
894
+ };
895
+ urgency: "LOW" | "MEDIUM" | "HIGH";
896
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
897
+ }, {
898
+ email: string;
899
+ collaboration: {
900
+ id: string;
901
+ };
902
+ clientContact: {
903
+ id: string;
904
+ };
905
+ urgency: "LOW" | "MEDIUM" | "HIGH";
906
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
907
+ }>;
908
+ path: "/v2/collaboration-checkings";
909
+ responses: {
910
+ 400: z.ZodObject<{
911
+ statusCode: z.ZodNumber;
912
+ message: z.ZodString;
913
+ code: z.ZodString;
914
+ details: z.ZodOptional<z.ZodUnknown>;
915
+ timestamp: z.ZodString;
916
+ path: z.ZodString;
917
+ correlationId: z.ZodOptional<z.ZodString>;
918
+ }, "strip", z.ZodTypeAny, {
919
+ code: string;
920
+ path: string;
921
+ message: string;
922
+ statusCode: number;
923
+ timestamp: string;
924
+ details?: unknown;
925
+ correlationId?: string | undefined;
926
+ }, {
927
+ code: string;
928
+ path: string;
929
+ message: string;
930
+ statusCode: number;
931
+ timestamp: string;
932
+ details?: unknown;
933
+ correlationId?: string | undefined;
934
+ }>;
935
+ 401: z.ZodObject<{
936
+ statusCode: z.ZodNumber;
937
+ message: z.ZodString;
938
+ code: z.ZodString;
939
+ details: z.ZodOptional<z.ZodUnknown>;
940
+ timestamp: z.ZodString;
941
+ path: z.ZodString;
942
+ correlationId: z.ZodOptional<z.ZodString>;
943
+ }, "strip", z.ZodTypeAny, {
944
+ code: string;
945
+ path: string;
946
+ message: string;
947
+ statusCode: number;
948
+ timestamp: string;
949
+ details?: unknown;
950
+ correlationId?: string | undefined;
951
+ }, {
952
+ code: string;
953
+ path: string;
954
+ message: string;
955
+ statusCode: number;
956
+ timestamp: string;
957
+ details?: unknown;
958
+ correlationId?: string | undefined;
959
+ }>;
960
+ 403: z.ZodObject<{
961
+ statusCode: z.ZodNumber;
962
+ message: z.ZodString;
963
+ code: z.ZodString;
964
+ details: z.ZodOptional<z.ZodUnknown>;
965
+ timestamp: z.ZodString;
966
+ path: z.ZodString;
967
+ correlationId: z.ZodOptional<z.ZodString>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ code: string;
970
+ path: string;
971
+ message: string;
972
+ statusCode: number;
973
+ timestamp: string;
974
+ details?: unknown;
975
+ correlationId?: string | undefined;
976
+ }, {
977
+ code: string;
978
+ path: string;
979
+ message: string;
980
+ statusCode: number;
981
+ timestamp: string;
982
+ details?: unknown;
983
+ correlationId?: string | undefined;
984
+ }>;
985
+ 500: z.ZodObject<{
986
+ statusCode: z.ZodNumber;
987
+ message: z.ZodString;
988
+ code: z.ZodString;
989
+ details: z.ZodOptional<z.ZodUnknown>;
990
+ timestamp: z.ZodString;
991
+ path: z.ZodString;
992
+ correlationId: z.ZodOptional<z.ZodString>;
993
+ }, "strip", z.ZodTypeAny, {
994
+ code: string;
995
+ path: string;
996
+ message: string;
997
+ statusCode: number;
998
+ timestamp: string;
999
+ details?: unknown;
1000
+ correlationId?: string | undefined;
1001
+ }, {
1002
+ code: string;
1003
+ path: string;
1004
+ message: string;
1005
+ statusCode: number;
1006
+ timestamp: string;
1007
+ details?: unknown;
1008
+ correlationId?: string | undefined;
1009
+ }>;
1010
+ 201: z.ZodObject<{
1011
+ id: z.ZodString;
1012
+ collaborationId: z.ZodString;
1013
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1014
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1015
+ id: z.ZodString;
1016
+ clientId: z.ZodString;
1017
+ client: z.ZodObject<{
1018
+ id: z.ZodString;
1019
+ name: z.ZodString;
1020
+ crn: z.ZodString;
1021
+ govLink: z.ZodString;
1022
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1023
+ director: z.ZodString;
1024
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
+ lastUpdatedBy: z.ZodObject<{
1026
+ id: z.ZodString;
1027
+ firstName: z.ZodString;
1028
+ lastName: z.ZodString;
1029
+ email: z.ZodString;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ id: string;
1032
+ firstName: string;
1033
+ lastName: string;
1034
+ email: string;
1035
+ }, {
1036
+ id: string;
1037
+ firstName: string;
1038
+ lastName: string;
1039
+ email: string;
1040
+ }>;
1041
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1042
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1043
+ agentClientLinks: z.ZodObject<{
1044
+ agentId: z.ZodString;
1045
+ }, "strip", z.ZodTypeAny, {
1046
+ agentId: string;
1047
+ }, {
1048
+ agentId: string;
1049
+ }>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ id: string;
1052
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1053
+ name: string;
1054
+ crn: string;
1055
+ govLink: string;
1056
+ director: string;
1057
+ lastUpdatedBy: {
1058
+ id: string;
1059
+ firstName: string;
1060
+ lastName: string;
1061
+ email: string;
1062
+ };
1063
+ createdAt: string;
1064
+ updatedAt: string;
1065
+ agentClientLinks: {
1066
+ agentId: string;
1067
+ };
1068
+ blacklistReason?: string | null | undefined;
1069
+ }, {
1070
+ id: string;
1071
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1072
+ name: string;
1073
+ crn: string;
1074
+ govLink: string;
1075
+ director: string;
1076
+ lastUpdatedBy: {
1077
+ id: string;
1078
+ firstName: string;
1079
+ lastName: string;
1080
+ email: string;
1081
+ };
1082
+ createdAt: string | Date;
1083
+ updatedAt: string | Date;
1084
+ agentClientLinks: {
1085
+ agentId: string;
1086
+ };
1087
+ blacklistReason?: string | null | undefined;
1088
+ }>;
1089
+ name: z.ZodString;
1090
+ position: z.ZodOptional<z.ZodString>;
1091
+ phone: z.ZodString;
1092
+ email: z.ZodString;
1093
+ source: z.ZodOptional<z.ZodString>;
1094
+ createdBy: z.ZodObject<{
1095
+ id: z.ZodString;
1096
+ firstName: z.ZodString;
1097
+ lastName: z.ZodString;
1098
+ email: z.ZodString;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ id: string;
1101
+ firstName: string;
1102
+ lastName: string;
1103
+ email: string;
1104
+ }, {
1105
+ id: string;
1106
+ firstName: string;
1107
+ lastName: string;
1108
+ email: string;
1109
+ }>;
1110
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1111
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ id: string;
1114
+ email: string;
1115
+ name: string;
1116
+ createdAt: string;
1117
+ updatedAt: string;
1118
+ clientId: string;
1119
+ client: {
1120
+ id: string;
1121
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1122
+ name: string;
1123
+ crn: string;
1124
+ govLink: string;
1125
+ director: string;
1126
+ lastUpdatedBy: {
1127
+ id: string;
1128
+ firstName: string;
1129
+ lastName: string;
1130
+ email: string;
1131
+ };
1132
+ createdAt: string;
1133
+ updatedAt: string;
1134
+ agentClientLinks: {
1135
+ agentId: string;
1136
+ };
1137
+ blacklistReason?: string | null | undefined;
1138
+ };
1139
+ phone: string;
1140
+ createdBy: {
1141
+ id: string;
1142
+ firstName: string;
1143
+ lastName: string;
1144
+ email: string;
1145
+ };
1146
+ position?: string | undefined;
1147
+ source?: string | undefined;
1148
+ }, {
1149
+ id: string;
1150
+ email: string;
1151
+ name: string;
1152
+ createdAt: string | Date;
1153
+ updatedAt: string | Date;
1154
+ clientId: string;
1155
+ client: {
1156
+ id: string;
1157
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1158
+ name: string;
1159
+ crn: string;
1160
+ govLink: string;
1161
+ director: string;
1162
+ lastUpdatedBy: {
1163
+ id: string;
1164
+ firstName: string;
1165
+ lastName: string;
1166
+ email: string;
1167
+ };
1168
+ createdAt: string | Date;
1169
+ updatedAt: string | Date;
1170
+ agentClientLinks: {
1171
+ agentId: string;
1172
+ };
1173
+ blacklistReason?: string | null | undefined;
1174
+ };
1175
+ phone: string;
1176
+ createdBy: {
1177
+ id: string;
1178
+ firstName: string;
1179
+ lastName: string;
1180
+ email: string;
1181
+ };
1182
+ position?: string | undefined;
1183
+ source?: string | undefined;
1184
+ }>>>;
1185
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
1186
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
1187
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1188
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1189
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
1190
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1191
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
1192
+ email: z.ZodString;
1193
+ introductionEmailSent: z.ZodBoolean;
1194
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1195
+ collaborationEmailSent: z.ZodBoolean;
1196
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1197
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1198
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1199
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1200
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ id: string;
1203
+ email: string;
1204
+ createdAt: string;
1205
+ updatedAt: string;
1206
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1207
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1208
+ collaborationId: string;
1209
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1210
+ isTermsAndConditionsConfirmed: boolean;
1211
+ introductionEmailSent: boolean;
1212
+ collaborationEmailSent: boolean;
1213
+ clientContact?: {
1214
+ id: string;
1215
+ email: string;
1216
+ name: string;
1217
+ createdAt: string;
1218
+ updatedAt: string;
1219
+ clientId: string;
1220
+ client: {
1221
+ id: string;
1222
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1223
+ name: string;
1224
+ crn: string;
1225
+ govLink: string;
1226
+ director: string;
1227
+ lastUpdatedBy: {
1228
+ id: string;
1229
+ firstName: string;
1230
+ lastName: string;
1231
+ email: string;
1232
+ };
1233
+ createdAt: string;
1234
+ updatedAt: string;
1235
+ agentClientLinks: {
1236
+ agentId: string;
1237
+ };
1238
+ blacklistReason?: string | null | undefined;
1239
+ };
1240
+ phone: string;
1241
+ createdBy: {
1242
+ id: string;
1243
+ firstName: string;
1244
+ lastName: string;
1245
+ email: string;
1246
+ };
1247
+ position?: string | undefined;
1248
+ source?: string | undefined;
1249
+ } | null | undefined;
1250
+ clientContactId?: string | null | undefined;
1251
+ decisionTimestamp?: string | null | undefined;
1252
+ decisionComment?: string | null | undefined;
1253
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
1254
+ introductionEmailTimestamp?: string | null | undefined;
1255
+ collaborationEmailTimestamp?: string | null | undefined;
1256
+ checkingComment?: string | null | undefined;
1257
+ deletedAt?: string | null | undefined;
1258
+ }, {
1259
+ id: string;
1260
+ email: string;
1261
+ createdAt: string | Date;
1262
+ updatedAt: string | Date;
1263
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1264
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1265
+ collaborationId: string;
1266
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1267
+ isTermsAndConditionsConfirmed: boolean;
1268
+ introductionEmailSent: boolean;
1269
+ collaborationEmailSent: boolean;
1270
+ clientContact?: {
1271
+ id: string;
1272
+ email: string;
1273
+ name: string;
1274
+ createdAt: string | Date;
1275
+ updatedAt: string | Date;
1276
+ clientId: string;
1277
+ client: {
1278
+ id: string;
1279
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1280
+ name: string;
1281
+ crn: string;
1282
+ govLink: string;
1283
+ director: string;
1284
+ lastUpdatedBy: {
1285
+ id: string;
1286
+ firstName: string;
1287
+ lastName: string;
1288
+ email: string;
1289
+ };
1290
+ createdAt: string | Date;
1291
+ updatedAt: string | Date;
1292
+ agentClientLinks: {
1293
+ agentId: string;
1294
+ };
1295
+ blacklistReason?: string | null | undefined;
1296
+ };
1297
+ phone: string;
1298
+ createdBy: {
1299
+ id: string;
1300
+ firstName: string;
1301
+ lastName: string;
1302
+ email: string;
1303
+ };
1304
+ position?: string | undefined;
1305
+ source?: string | undefined;
1306
+ } | null | undefined;
1307
+ clientContactId?: string | null | undefined;
1308
+ decisionTimestamp?: string | Date | null | undefined;
1309
+ decisionComment?: string | null | undefined;
1310
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
1311
+ introductionEmailTimestamp?: string | Date | null | undefined;
1312
+ collaborationEmailTimestamp?: string | Date | null | undefined;
1313
+ checkingComment?: string | null | undefined;
1314
+ deletedAt?: string | Date | null | undefined;
1315
+ }>;
1316
+ 409: z.ZodObject<{
1317
+ statusCode: z.ZodNumber;
1318
+ message: z.ZodString;
1319
+ code: z.ZodString;
1320
+ details: z.ZodOptional<z.ZodUnknown>;
1321
+ timestamp: z.ZodString;
1322
+ path: z.ZodString;
1323
+ correlationId: z.ZodOptional<z.ZodString>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ code: string;
1326
+ path: string;
1327
+ message: string;
1328
+ statusCode: number;
1329
+ timestamp: string;
1330
+ details?: unknown;
1331
+ correlationId?: string | undefined;
1332
+ }, {
1333
+ code: string;
1334
+ path: string;
1335
+ message: string;
1336
+ statusCode: number;
1337
+ timestamp: string;
1338
+ details?: unknown;
1339
+ correlationId?: string | undefined;
1340
+ }>;
1341
+ };
1342
+ };
1343
+ findAll: {
1344
+ metadata: {
1345
+ tags: string[];
1346
+ openApi: {
1347
+ operationId: string;
1348
+ };
1349
+ };
1350
+ query: z.ZodObject<{
1351
+ limit: z.ZodDefault<z.ZodNumber>;
1352
+ page: z.ZodDefault<z.ZodNumber>;
1353
+ } & {
1354
+ companyId: z.ZodOptional<z.ZodString>;
1355
+ clientId: z.ZodOptional<z.ZodString>;
1356
+ urgency: z.ZodOptional<z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>>;
1357
+ decision: z.ZodOptional<z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>>;
1358
+ createdById: z.ZodOptional<z.ZodString>;
1359
+ sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["urgency", "decision", "decisionTimestamp", "createdAt", "updatedAt"]>>>;
1360
+ sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ limit: number;
1363
+ page: number;
1364
+ sortBy: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp";
1365
+ sortOrder: "ASC" | "DESC";
1366
+ clientId?: string | undefined;
1367
+ companyId?: string | undefined;
1368
+ createdById?: string | undefined;
1369
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
1370
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | undefined;
1371
+ }, {
1372
+ limit?: number | undefined;
1373
+ page?: number | undefined;
1374
+ sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
1375
+ sortOrder?: "ASC" | "DESC" | undefined;
1376
+ clientId?: string | undefined;
1377
+ companyId?: string | undefined;
1378
+ createdById?: string | undefined;
1379
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
1380
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | undefined;
1381
+ }>;
1382
+ summary: "Get all collaboration checkings";
1383
+ method: "GET";
1384
+ path: "/v2/collaboration-checkings";
1385
+ responses: {
1386
+ 400: z.ZodObject<{
1387
+ statusCode: z.ZodNumber;
1388
+ message: z.ZodString;
1389
+ code: z.ZodString;
1390
+ details: z.ZodOptional<z.ZodUnknown>;
1391
+ timestamp: z.ZodString;
1392
+ path: z.ZodString;
1393
+ correlationId: z.ZodOptional<z.ZodString>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ code: string;
1396
+ path: string;
1397
+ message: string;
1398
+ statusCode: number;
1399
+ timestamp: string;
1400
+ details?: unknown;
1401
+ correlationId?: string | undefined;
1402
+ }, {
1403
+ code: string;
1404
+ path: string;
1405
+ message: string;
1406
+ statusCode: number;
1407
+ timestamp: string;
1408
+ details?: unknown;
1409
+ correlationId?: string | undefined;
1410
+ }>;
1411
+ 401: z.ZodObject<{
1412
+ statusCode: z.ZodNumber;
1413
+ message: z.ZodString;
1414
+ code: z.ZodString;
1415
+ details: z.ZodOptional<z.ZodUnknown>;
1416
+ timestamp: z.ZodString;
1417
+ path: z.ZodString;
1418
+ correlationId: z.ZodOptional<z.ZodString>;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ code: string;
1421
+ path: string;
1422
+ message: string;
1423
+ statusCode: number;
1424
+ timestamp: string;
1425
+ details?: unknown;
1426
+ correlationId?: string | undefined;
1427
+ }, {
1428
+ code: string;
1429
+ path: string;
1430
+ message: string;
1431
+ statusCode: number;
1432
+ timestamp: string;
1433
+ details?: unknown;
1434
+ correlationId?: string | undefined;
1435
+ }>;
1436
+ 403: z.ZodObject<{
1437
+ statusCode: z.ZodNumber;
1438
+ message: z.ZodString;
1439
+ code: z.ZodString;
1440
+ details: z.ZodOptional<z.ZodUnknown>;
1441
+ timestamp: z.ZodString;
1442
+ path: z.ZodString;
1443
+ correlationId: z.ZodOptional<z.ZodString>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ code: string;
1446
+ path: string;
1447
+ message: string;
1448
+ statusCode: number;
1449
+ timestamp: string;
1450
+ details?: unknown;
1451
+ correlationId?: string | undefined;
1452
+ }, {
1453
+ code: string;
1454
+ path: string;
1455
+ message: string;
1456
+ statusCode: number;
1457
+ timestamp: string;
1458
+ details?: unknown;
1459
+ correlationId?: string | undefined;
1460
+ }>;
1461
+ 500: z.ZodObject<{
1462
+ statusCode: z.ZodNumber;
1463
+ message: z.ZodString;
1464
+ code: z.ZodString;
1465
+ details: z.ZodOptional<z.ZodUnknown>;
1466
+ timestamp: z.ZodString;
1467
+ path: z.ZodString;
1468
+ correlationId: z.ZodOptional<z.ZodString>;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ code: string;
1471
+ path: string;
1472
+ message: string;
1473
+ statusCode: number;
1474
+ timestamp: string;
1475
+ details?: unknown;
1476
+ correlationId?: string | undefined;
1477
+ }, {
1478
+ code: string;
1479
+ path: string;
1480
+ message: string;
1481
+ statusCode: number;
1482
+ timestamp: string;
1483
+ details?: unknown;
1484
+ correlationId?: string | undefined;
1485
+ }>;
1486
+ 200: z.ZodObject<{
1487
+ items: z.ZodArray<z.ZodObject<{
1488
+ id: z.ZodString;
1489
+ collaborationId: z.ZodString;
1490
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1491
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1492
+ id: z.ZodString;
1493
+ clientId: z.ZodString;
1494
+ client: z.ZodObject<{
1495
+ id: z.ZodString;
1496
+ name: z.ZodString;
1497
+ crn: z.ZodString;
1498
+ govLink: z.ZodString;
1499
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
1500
+ director: z.ZodString;
1501
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1502
+ lastUpdatedBy: z.ZodObject<{
1503
+ id: z.ZodString;
1504
+ firstName: z.ZodString;
1505
+ lastName: z.ZodString;
1506
+ email: z.ZodString;
1507
+ }, "strip", z.ZodTypeAny, {
1508
+ id: string;
1509
+ firstName: string;
1510
+ lastName: string;
1511
+ email: string;
1512
+ }, {
1513
+ id: string;
1514
+ firstName: string;
1515
+ lastName: string;
1516
+ email: string;
1517
+ }>;
1518
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1519
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1520
+ agentClientLinks: z.ZodObject<{
1521
+ agentId: z.ZodString;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ agentId: string;
1524
+ }, {
1525
+ agentId: string;
1526
+ }>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ id: string;
1529
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1530
+ name: string;
1531
+ crn: string;
1532
+ govLink: string;
1533
+ director: string;
1534
+ lastUpdatedBy: {
1535
+ id: string;
1536
+ firstName: string;
1537
+ lastName: string;
1538
+ email: string;
1539
+ };
1540
+ createdAt: string;
1541
+ updatedAt: string;
1542
+ agentClientLinks: {
1543
+ agentId: string;
1544
+ };
1545
+ blacklistReason?: string | null | undefined;
1546
+ }, {
1547
+ id: string;
1548
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1549
+ name: string;
1550
+ crn: string;
1551
+ govLink: string;
1552
+ director: string;
1553
+ lastUpdatedBy: {
1554
+ id: string;
1555
+ firstName: string;
1556
+ lastName: string;
1557
+ email: string;
1558
+ };
1559
+ createdAt: string | Date;
1560
+ updatedAt: string | Date;
1561
+ agentClientLinks: {
1562
+ agentId: string;
1563
+ };
1564
+ blacklistReason?: string | null | undefined;
1565
+ }>;
1566
+ name: z.ZodString;
1567
+ position: z.ZodOptional<z.ZodString>;
1568
+ phone: z.ZodString;
1569
+ email: z.ZodString;
1570
+ source: z.ZodOptional<z.ZodString>;
1571
+ createdBy: z.ZodObject<{
1572
+ id: z.ZodString;
1573
+ firstName: z.ZodString;
1574
+ lastName: z.ZodString;
1575
+ email: z.ZodString;
1576
+ }, "strip", z.ZodTypeAny, {
1577
+ id: string;
1578
+ firstName: string;
1579
+ lastName: string;
1580
+ email: string;
1581
+ }, {
1582
+ id: string;
1583
+ firstName: string;
1584
+ lastName: string;
1585
+ email: string;
1586
+ }>;
1587
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1588
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ id: string;
1591
+ email: string;
1592
+ name: string;
1593
+ createdAt: string;
1594
+ updatedAt: string;
1595
+ clientId: string;
1596
+ client: {
1597
+ id: string;
1598
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1599
+ name: string;
1600
+ crn: string;
1601
+ govLink: string;
1602
+ director: string;
1603
+ lastUpdatedBy: {
1604
+ id: string;
1605
+ firstName: string;
1606
+ lastName: string;
1607
+ email: string;
1608
+ };
1609
+ createdAt: string;
1610
+ updatedAt: string;
1611
+ agentClientLinks: {
1612
+ agentId: string;
1613
+ };
1614
+ blacklistReason?: string | null | undefined;
1615
+ };
1616
+ phone: string;
1617
+ createdBy: {
1618
+ id: string;
1619
+ firstName: string;
1620
+ lastName: string;
1621
+ email: string;
1622
+ };
1623
+ position?: string | undefined;
1624
+ source?: string | undefined;
1625
+ }, {
1626
+ id: string;
1627
+ email: string;
1628
+ name: string;
1629
+ createdAt: string | Date;
1630
+ updatedAt: string | Date;
1631
+ clientId: string;
1632
+ client: {
1633
+ id: string;
1634
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1635
+ name: string;
1636
+ crn: string;
1637
+ govLink: string;
1638
+ director: string;
1639
+ lastUpdatedBy: {
1640
+ id: string;
1641
+ firstName: string;
1642
+ lastName: string;
1643
+ email: string;
1644
+ };
1645
+ createdAt: string | Date;
1646
+ updatedAt: string | Date;
1647
+ agentClientLinks: {
1648
+ agentId: string;
1649
+ };
1650
+ blacklistReason?: string | null | undefined;
1651
+ };
1652
+ phone: string;
1653
+ createdBy: {
1654
+ id: string;
1655
+ firstName: string;
1656
+ lastName: string;
1657
+ email: string;
1658
+ };
1659
+ position?: string | undefined;
1660
+ source?: string | undefined;
1661
+ }>>>;
1662
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
1663
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
1664
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1665
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1666
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
1667
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1668
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
1669
+ email: z.ZodString;
1670
+ introductionEmailSent: z.ZodBoolean;
1671
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1672
+ collaborationEmailSent: z.ZodBoolean;
1673
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1674
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1675
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1676
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1677
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ id: string;
1680
+ email: string;
1681
+ createdAt: string;
1682
+ updatedAt: string;
1683
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1684
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1685
+ collaborationId: string;
1686
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1687
+ isTermsAndConditionsConfirmed: boolean;
1688
+ introductionEmailSent: boolean;
1689
+ collaborationEmailSent: boolean;
1690
+ clientContact?: {
1691
+ id: string;
1692
+ email: string;
1693
+ name: string;
1694
+ createdAt: string;
1695
+ updatedAt: string;
1696
+ clientId: string;
1697
+ client: {
1698
+ id: string;
1699
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1700
+ name: string;
1701
+ crn: string;
1702
+ govLink: string;
1703
+ director: string;
1704
+ lastUpdatedBy: {
1705
+ id: string;
1706
+ firstName: string;
1707
+ lastName: string;
1708
+ email: string;
1709
+ };
1710
+ createdAt: string;
1711
+ updatedAt: string;
1712
+ agentClientLinks: {
1713
+ agentId: string;
1714
+ };
1715
+ blacklistReason?: string | null | undefined;
1716
+ };
1717
+ phone: string;
1718
+ createdBy: {
1719
+ id: string;
1720
+ firstName: string;
1721
+ lastName: string;
1722
+ email: string;
1723
+ };
1724
+ position?: string | undefined;
1725
+ source?: string | undefined;
1726
+ } | null | undefined;
1727
+ clientContactId?: string | null | undefined;
1728
+ decisionTimestamp?: string | null | undefined;
1729
+ decisionComment?: string | null | undefined;
1730
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
1731
+ introductionEmailTimestamp?: string | null | undefined;
1732
+ collaborationEmailTimestamp?: string | null | undefined;
1733
+ checkingComment?: string | null | undefined;
1734
+ deletedAt?: string | null | undefined;
1735
+ }, {
1736
+ id: string;
1737
+ email: string;
1738
+ createdAt: string | Date;
1739
+ updatedAt: string | Date;
1740
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1741
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1742
+ collaborationId: string;
1743
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1744
+ isTermsAndConditionsConfirmed: boolean;
1745
+ introductionEmailSent: boolean;
1746
+ collaborationEmailSent: boolean;
1747
+ clientContact?: {
1748
+ id: string;
1749
+ email: string;
1750
+ name: string;
1751
+ createdAt: string | Date;
1752
+ updatedAt: string | Date;
1753
+ clientId: string;
1754
+ client: {
1755
+ id: string;
1756
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1757
+ name: string;
1758
+ crn: string;
1759
+ govLink: string;
1760
+ director: string;
1761
+ lastUpdatedBy: {
1762
+ id: string;
1763
+ firstName: string;
1764
+ lastName: string;
1765
+ email: string;
1766
+ };
1767
+ createdAt: string | Date;
1768
+ updatedAt: string | Date;
1769
+ agentClientLinks: {
1770
+ agentId: string;
1771
+ };
1772
+ blacklistReason?: string | null | undefined;
1773
+ };
1774
+ phone: string;
1775
+ createdBy: {
1776
+ id: string;
1777
+ firstName: string;
1778
+ lastName: string;
1779
+ email: string;
1780
+ };
1781
+ position?: string | undefined;
1782
+ source?: string | undefined;
1783
+ } | null | undefined;
1784
+ clientContactId?: string | null | undefined;
1785
+ decisionTimestamp?: string | Date | null | undefined;
1786
+ decisionComment?: string | null | undefined;
1787
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
1788
+ introductionEmailTimestamp?: string | Date | null | undefined;
1789
+ collaborationEmailTimestamp?: string | Date | null | undefined;
1790
+ checkingComment?: string | null | undefined;
1791
+ deletedAt?: string | Date | null | undefined;
1792
+ }>, "many">;
1793
+ totalCount: z.ZodNumber;
1794
+ limit: z.ZodNumber;
1795
+ skip: z.ZodNumber;
1796
+ currentPage: z.ZodNumber;
1797
+ totalPages: z.ZodNumber;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ limit: number;
1800
+ items: {
1801
+ id: string;
1802
+ email: string;
1803
+ createdAt: string;
1804
+ updatedAt: string;
1805
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1806
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1807
+ collaborationId: string;
1808
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1809
+ isTermsAndConditionsConfirmed: boolean;
1810
+ introductionEmailSent: boolean;
1811
+ collaborationEmailSent: boolean;
1812
+ clientContact?: {
1813
+ id: string;
1814
+ email: string;
1815
+ name: string;
1816
+ createdAt: string;
1817
+ updatedAt: string;
1818
+ clientId: string;
1819
+ client: {
1820
+ id: string;
1821
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1822
+ name: string;
1823
+ crn: string;
1824
+ govLink: string;
1825
+ director: string;
1826
+ lastUpdatedBy: {
1827
+ id: string;
1828
+ firstName: string;
1829
+ lastName: string;
1830
+ email: string;
1831
+ };
1832
+ createdAt: string;
1833
+ updatedAt: string;
1834
+ agentClientLinks: {
1835
+ agentId: string;
1836
+ };
1837
+ blacklistReason?: string | null | undefined;
1838
+ };
1839
+ phone: string;
1840
+ createdBy: {
1841
+ id: string;
1842
+ firstName: string;
1843
+ lastName: string;
1844
+ email: string;
1845
+ };
1846
+ position?: string | undefined;
1847
+ source?: string | undefined;
1848
+ } | null | undefined;
1849
+ clientContactId?: string | null | undefined;
1850
+ decisionTimestamp?: string | null | undefined;
1851
+ decisionComment?: string | null | undefined;
1852
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
1853
+ introductionEmailTimestamp?: string | null | undefined;
1854
+ collaborationEmailTimestamp?: string | null | undefined;
1855
+ checkingComment?: string | null | undefined;
1856
+ deletedAt?: string | null | undefined;
1857
+ }[];
1858
+ totalCount: number;
1859
+ skip: number;
1860
+ currentPage: number;
1861
+ totalPages: number;
1862
+ }, {
1863
+ limit: number;
1864
+ items: {
1865
+ id: string;
1866
+ email: string;
1867
+ createdAt: string | Date;
1868
+ updatedAt: string | Date;
1869
+ urgency: "LOW" | "MEDIUM" | "HIGH";
1870
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
1871
+ collaborationId: string;
1872
+ decision: "APPROVED" | "PENDING" | "REJECTED";
1873
+ isTermsAndConditionsConfirmed: boolean;
1874
+ introductionEmailSent: boolean;
1875
+ collaborationEmailSent: boolean;
1876
+ clientContact?: {
1877
+ id: string;
1878
+ email: string;
1879
+ name: string;
1880
+ createdAt: string | Date;
1881
+ updatedAt: string | Date;
1882
+ clientId: string;
1883
+ client: {
1884
+ id: string;
1885
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1886
+ name: string;
1887
+ crn: string;
1888
+ govLink: string;
1889
+ director: string;
1890
+ lastUpdatedBy: {
1891
+ id: string;
1892
+ firstName: string;
1893
+ lastName: string;
1894
+ email: string;
1895
+ };
1896
+ createdAt: string | Date;
1897
+ updatedAt: string | Date;
1898
+ agentClientLinks: {
1899
+ agentId: string;
1900
+ };
1901
+ blacklistReason?: string | null | undefined;
1902
+ };
1903
+ phone: string;
1904
+ createdBy: {
1905
+ id: string;
1906
+ firstName: string;
1907
+ lastName: string;
1908
+ email: string;
1909
+ };
1910
+ position?: string | undefined;
1911
+ source?: string | undefined;
1912
+ } | null | undefined;
1913
+ clientContactId?: string | null | undefined;
1914
+ decisionTimestamp?: string | Date | null | undefined;
1915
+ decisionComment?: string | null | undefined;
1916
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
1917
+ introductionEmailTimestamp?: string | Date | null | undefined;
1918
+ collaborationEmailTimestamp?: string | Date | null | undefined;
1919
+ checkingComment?: string | null | undefined;
1920
+ deletedAt?: string | Date | null | undefined;
1921
+ }[];
1922
+ totalCount: number;
1923
+ skip: number;
1924
+ currentPage: number;
1925
+ totalPages: number;
1926
+ }>;
1927
+ };
1928
+ };
1929
+ findOne: {
1930
+ metadata: {
1931
+ tags: string[];
1932
+ openApi: {
1933
+ operationId: string;
1934
+ };
1935
+ };
1936
+ pathParams: z.ZodObject<{
1937
+ id: z.ZodString;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ id: string;
1940
+ }, {
1941
+ id: string;
1942
+ }>;
1943
+ summary: "Get a collaboration checking by ID";
1944
+ method: "GET";
1945
+ path: "/v2/collaboration-checkings/:id";
1946
+ responses: {
1947
+ 400: z.ZodObject<{
1948
+ statusCode: z.ZodNumber;
1949
+ message: z.ZodString;
1950
+ code: z.ZodString;
1951
+ details: z.ZodOptional<z.ZodUnknown>;
1952
+ timestamp: z.ZodString;
1953
+ path: z.ZodString;
1954
+ correlationId: z.ZodOptional<z.ZodString>;
1955
+ }, "strip", z.ZodTypeAny, {
1956
+ code: string;
1957
+ path: string;
1958
+ message: string;
1959
+ statusCode: number;
1960
+ timestamp: string;
1961
+ details?: unknown;
1962
+ correlationId?: string | undefined;
1963
+ }, {
1964
+ code: string;
1965
+ path: string;
1966
+ message: string;
1967
+ statusCode: number;
1968
+ timestamp: string;
1969
+ details?: unknown;
1970
+ correlationId?: string | undefined;
1971
+ }>;
1972
+ 401: z.ZodObject<{
1973
+ statusCode: z.ZodNumber;
1974
+ message: z.ZodString;
1975
+ code: z.ZodString;
1976
+ details: z.ZodOptional<z.ZodUnknown>;
1977
+ timestamp: z.ZodString;
1978
+ path: z.ZodString;
1979
+ correlationId: z.ZodOptional<z.ZodString>;
1980
+ }, "strip", z.ZodTypeAny, {
1981
+ code: string;
1982
+ path: string;
1983
+ message: string;
1984
+ statusCode: number;
1985
+ timestamp: string;
1986
+ details?: unknown;
1987
+ correlationId?: string | undefined;
1988
+ }, {
1989
+ code: string;
1990
+ path: string;
1991
+ message: string;
1992
+ statusCode: number;
1993
+ timestamp: string;
1994
+ details?: unknown;
1995
+ correlationId?: string | undefined;
1996
+ }>;
1997
+ 403: z.ZodObject<{
1998
+ statusCode: z.ZodNumber;
1999
+ message: z.ZodString;
2000
+ code: z.ZodString;
2001
+ details: z.ZodOptional<z.ZodUnknown>;
2002
+ timestamp: z.ZodString;
2003
+ path: z.ZodString;
2004
+ correlationId: z.ZodOptional<z.ZodString>;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ code: string;
2007
+ path: string;
2008
+ message: string;
2009
+ statusCode: number;
2010
+ timestamp: string;
2011
+ details?: unknown;
2012
+ correlationId?: string | undefined;
2013
+ }, {
2014
+ code: string;
2015
+ path: string;
2016
+ message: string;
2017
+ statusCode: number;
2018
+ timestamp: string;
2019
+ details?: unknown;
2020
+ correlationId?: string | undefined;
2021
+ }>;
2022
+ 500: z.ZodObject<{
2023
+ statusCode: z.ZodNumber;
2024
+ message: z.ZodString;
2025
+ code: z.ZodString;
2026
+ details: z.ZodOptional<z.ZodUnknown>;
2027
+ timestamp: z.ZodString;
2028
+ path: z.ZodString;
2029
+ correlationId: z.ZodOptional<z.ZodString>;
2030
+ }, "strip", z.ZodTypeAny, {
2031
+ code: string;
2032
+ path: string;
2033
+ message: string;
2034
+ statusCode: number;
2035
+ timestamp: string;
2036
+ details?: unknown;
2037
+ correlationId?: string | undefined;
2038
+ }, {
2039
+ code: string;
2040
+ path: string;
2041
+ message: string;
2042
+ statusCode: number;
2043
+ timestamp: string;
2044
+ details?: unknown;
2045
+ correlationId?: string | undefined;
2046
+ }>;
2047
+ 200: z.ZodObject<{
2048
+ id: z.ZodString;
2049
+ collaborationId: z.ZodString;
2050
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2051
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2052
+ id: z.ZodString;
2053
+ clientId: z.ZodString;
2054
+ client: z.ZodObject<{
2055
+ id: z.ZodString;
2056
+ name: z.ZodString;
2057
+ crn: z.ZodString;
2058
+ govLink: z.ZodString;
2059
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2060
+ director: z.ZodString;
2061
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2062
+ lastUpdatedBy: z.ZodObject<{
2063
+ id: z.ZodString;
2064
+ firstName: z.ZodString;
2065
+ lastName: z.ZodString;
2066
+ email: z.ZodString;
2067
+ }, "strip", z.ZodTypeAny, {
2068
+ id: string;
2069
+ firstName: string;
2070
+ lastName: string;
2071
+ email: string;
2072
+ }, {
2073
+ id: string;
2074
+ firstName: string;
2075
+ lastName: string;
2076
+ email: string;
2077
+ }>;
2078
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2079
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2080
+ agentClientLinks: z.ZodObject<{
2081
+ agentId: z.ZodString;
2082
+ }, "strip", z.ZodTypeAny, {
2083
+ agentId: string;
2084
+ }, {
2085
+ agentId: string;
2086
+ }>;
2087
+ }, "strip", z.ZodTypeAny, {
2088
+ id: string;
2089
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2090
+ name: string;
2091
+ crn: string;
2092
+ govLink: string;
2093
+ director: string;
2094
+ lastUpdatedBy: {
2095
+ id: string;
2096
+ firstName: string;
2097
+ lastName: string;
2098
+ email: string;
2099
+ };
2100
+ createdAt: string;
2101
+ updatedAt: string;
2102
+ agentClientLinks: {
2103
+ agentId: string;
2104
+ };
2105
+ blacklistReason?: string | null | undefined;
2106
+ }, {
2107
+ id: string;
2108
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2109
+ name: string;
2110
+ crn: string;
2111
+ govLink: string;
2112
+ director: string;
2113
+ lastUpdatedBy: {
2114
+ id: string;
2115
+ firstName: string;
2116
+ lastName: string;
2117
+ email: string;
2118
+ };
2119
+ createdAt: string | Date;
2120
+ updatedAt: string | Date;
2121
+ agentClientLinks: {
2122
+ agentId: string;
2123
+ };
2124
+ blacklistReason?: string | null | undefined;
2125
+ }>;
2126
+ name: z.ZodString;
2127
+ position: z.ZodOptional<z.ZodString>;
2128
+ phone: z.ZodString;
2129
+ email: z.ZodString;
2130
+ source: z.ZodOptional<z.ZodString>;
2131
+ createdBy: z.ZodObject<{
2132
+ id: z.ZodString;
2133
+ firstName: z.ZodString;
2134
+ lastName: z.ZodString;
2135
+ email: z.ZodString;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ id: string;
2138
+ firstName: string;
2139
+ lastName: string;
2140
+ email: string;
2141
+ }, {
2142
+ id: string;
2143
+ firstName: string;
2144
+ lastName: string;
2145
+ email: string;
2146
+ }>;
2147
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2148
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ id: string;
2151
+ email: string;
2152
+ name: string;
2153
+ createdAt: string;
2154
+ updatedAt: string;
2155
+ clientId: string;
2156
+ client: {
2157
+ id: string;
2158
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2159
+ name: string;
2160
+ crn: string;
2161
+ govLink: string;
2162
+ director: string;
2163
+ lastUpdatedBy: {
2164
+ id: string;
2165
+ firstName: string;
2166
+ lastName: string;
2167
+ email: string;
2168
+ };
2169
+ createdAt: string;
2170
+ updatedAt: string;
2171
+ agentClientLinks: {
2172
+ agentId: string;
2173
+ };
2174
+ blacklistReason?: string | null | undefined;
2175
+ };
2176
+ phone: string;
2177
+ createdBy: {
2178
+ id: string;
2179
+ firstName: string;
2180
+ lastName: string;
2181
+ email: string;
2182
+ };
2183
+ position?: string | undefined;
2184
+ source?: string | undefined;
2185
+ }, {
2186
+ id: string;
2187
+ email: string;
2188
+ name: string;
2189
+ createdAt: string | Date;
2190
+ updatedAt: string | Date;
2191
+ clientId: string;
2192
+ client: {
2193
+ id: string;
2194
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2195
+ name: string;
2196
+ crn: string;
2197
+ govLink: string;
2198
+ director: string;
2199
+ lastUpdatedBy: {
2200
+ id: string;
2201
+ firstName: string;
2202
+ lastName: string;
2203
+ email: string;
2204
+ };
2205
+ createdAt: string | Date;
2206
+ updatedAt: string | Date;
2207
+ agentClientLinks: {
2208
+ agentId: string;
2209
+ };
2210
+ blacklistReason?: string | null | undefined;
2211
+ };
2212
+ phone: string;
2213
+ createdBy: {
2214
+ id: string;
2215
+ firstName: string;
2216
+ lastName: string;
2217
+ email: string;
2218
+ };
2219
+ position?: string | undefined;
2220
+ source?: string | undefined;
2221
+ }>>>;
2222
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
2223
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
2224
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2225
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2226
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
2227
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2228
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
2229
+ email: z.ZodString;
2230
+ introductionEmailSent: z.ZodBoolean;
2231
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2232
+ collaborationEmailSent: z.ZodBoolean;
2233
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2234
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2235
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2236
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2237
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2238
+ }, "strip", z.ZodTypeAny, {
2239
+ id: string;
2240
+ email: string;
2241
+ createdAt: string;
2242
+ updatedAt: string;
2243
+ urgency: "LOW" | "MEDIUM" | "HIGH";
2244
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
2245
+ collaborationId: string;
2246
+ decision: "APPROVED" | "PENDING" | "REJECTED";
2247
+ isTermsAndConditionsConfirmed: boolean;
2248
+ introductionEmailSent: boolean;
2249
+ collaborationEmailSent: boolean;
2250
+ clientContact?: {
2251
+ id: string;
2252
+ email: string;
2253
+ name: string;
2254
+ createdAt: string;
2255
+ updatedAt: string;
2256
+ clientId: string;
2257
+ client: {
2258
+ id: string;
2259
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2260
+ name: string;
2261
+ crn: string;
2262
+ govLink: string;
2263
+ director: string;
2264
+ lastUpdatedBy: {
2265
+ id: string;
2266
+ firstName: string;
2267
+ lastName: string;
2268
+ email: string;
2269
+ };
2270
+ createdAt: string;
2271
+ updatedAt: string;
2272
+ agentClientLinks: {
2273
+ agentId: string;
2274
+ };
2275
+ blacklistReason?: string | null | undefined;
2276
+ };
2277
+ phone: string;
2278
+ createdBy: {
2279
+ id: string;
2280
+ firstName: string;
2281
+ lastName: string;
2282
+ email: string;
2283
+ };
2284
+ position?: string | undefined;
2285
+ source?: string | undefined;
2286
+ } | null | undefined;
2287
+ clientContactId?: string | null | undefined;
2288
+ decisionTimestamp?: string | null | undefined;
2289
+ decisionComment?: string | null | undefined;
2290
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
2291
+ introductionEmailTimestamp?: string | null | undefined;
2292
+ collaborationEmailTimestamp?: string | null | undefined;
2293
+ checkingComment?: string | null | undefined;
2294
+ deletedAt?: string | null | undefined;
2295
+ }, {
2296
+ id: string;
2297
+ email: string;
2298
+ createdAt: string | Date;
2299
+ updatedAt: string | Date;
2300
+ urgency: "LOW" | "MEDIUM" | "HIGH";
2301
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
2302
+ collaborationId: string;
2303
+ decision: "APPROVED" | "PENDING" | "REJECTED";
2304
+ isTermsAndConditionsConfirmed: boolean;
2305
+ introductionEmailSent: boolean;
2306
+ collaborationEmailSent: boolean;
2307
+ clientContact?: {
2308
+ id: string;
2309
+ email: string;
2310
+ name: string;
2311
+ createdAt: string | Date;
2312
+ updatedAt: string | Date;
2313
+ clientId: string;
2314
+ client: {
2315
+ id: string;
2316
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2317
+ name: string;
2318
+ crn: string;
2319
+ govLink: string;
2320
+ director: string;
2321
+ lastUpdatedBy: {
2322
+ id: string;
2323
+ firstName: string;
2324
+ lastName: string;
2325
+ email: string;
2326
+ };
2327
+ createdAt: string | Date;
2328
+ updatedAt: string | Date;
2329
+ agentClientLinks: {
2330
+ agentId: string;
2331
+ };
2332
+ blacklistReason?: string | null | undefined;
2333
+ };
2334
+ phone: string;
2335
+ createdBy: {
2336
+ id: string;
2337
+ firstName: string;
2338
+ lastName: string;
2339
+ email: string;
2340
+ };
2341
+ position?: string | undefined;
2342
+ source?: string | undefined;
2343
+ } | null | undefined;
2344
+ clientContactId?: string | null | undefined;
2345
+ decisionTimestamp?: string | Date | null | undefined;
2346
+ decisionComment?: string | null | undefined;
2347
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
2348
+ introductionEmailTimestamp?: string | Date | null | undefined;
2349
+ collaborationEmailTimestamp?: string | Date | null | undefined;
2350
+ checkingComment?: string | null | undefined;
2351
+ deletedAt?: string | Date | null | undefined;
2352
+ }>;
2353
+ 404: z.ZodObject<{
2354
+ statusCode: z.ZodNumber;
2355
+ message: z.ZodString;
2356
+ code: z.ZodString;
2357
+ details: z.ZodOptional<z.ZodUnknown>;
2358
+ timestamp: z.ZodString;
2359
+ path: z.ZodString;
2360
+ correlationId: z.ZodOptional<z.ZodString>;
2361
+ }, "strip", z.ZodTypeAny, {
2362
+ code: string;
2363
+ path: string;
2364
+ message: string;
2365
+ statusCode: number;
2366
+ timestamp: string;
2367
+ details?: unknown;
2368
+ correlationId?: string | undefined;
2369
+ }, {
2370
+ code: string;
2371
+ path: string;
2372
+ message: string;
2373
+ statusCode: number;
2374
+ timestamp: string;
2375
+ details?: unknown;
2376
+ correlationId?: string | undefined;
2377
+ }>;
2378
+ };
2379
+ };
2380
+ update: {
2381
+ metadata: {
2382
+ tags: string[];
2383
+ openApi: {
2384
+ operationId: string;
2385
+ };
2386
+ };
2387
+ pathParams: z.ZodObject<{
2388
+ id: z.ZodString;
2389
+ }, "strip", z.ZodTypeAny, {
2390
+ id: string;
2391
+ }, {
2392
+ id: string;
2393
+ }>;
2394
+ summary: "Update a collaboration checking";
2395
+ method: "PATCH";
2396
+ body: z.ZodObject<{
2397
+ urgency: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>>>;
2398
+ emailType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>>>;
2399
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2400
+ decision: z.ZodOptional<z.ZodNullable<z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>>>;
2401
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2402
+ isTermsAndConditionsConfirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2403
+ introductionEmailSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2404
+ collaborationEmailSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2405
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2406
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2407
+ }, "strip", z.ZodTypeAny, {
2408
+ email?: string | null | undefined;
2409
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
2410
+ emailType?: "BOTH" | "INTRODUCTION" | "COLLABORATION" | null | undefined;
2411
+ clientContactId?: string | null | undefined;
2412
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | null | undefined;
2413
+ decisionComment?: string | null | undefined;
2414
+ isTermsAndConditionsConfirmed?: boolean | null | undefined;
2415
+ introductionEmailSent?: boolean | null | undefined;
2416
+ collaborationEmailSent?: boolean | null | undefined;
2417
+ checkingComment?: string | null | undefined;
2418
+ }, {
2419
+ email?: string | null | undefined;
2420
+ urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
2421
+ emailType?: "BOTH" | "INTRODUCTION" | "COLLABORATION" | null | undefined;
2422
+ clientContactId?: string | null | undefined;
2423
+ decision?: "APPROVED" | "PENDING" | "REJECTED" | null | undefined;
2424
+ decisionComment?: string | null | undefined;
2425
+ isTermsAndConditionsConfirmed?: boolean | null | undefined;
2426
+ introductionEmailSent?: boolean | null | undefined;
2427
+ collaborationEmailSent?: boolean | null | undefined;
2428
+ checkingComment?: string | null | undefined;
2429
+ }>;
2430
+ path: "/v2/collaboration-checkings/:id";
2431
+ responses: {
2432
+ 400: z.ZodObject<{
2433
+ statusCode: z.ZodNumber;
2434
+ message: z.ZodString;
2435
+ code: z.ZodString;
2436
+ details: z.ZodOptional<z.ZodUnknown>;
2437
+ timestamp: z.ZodString;
2438
+ path: z.ZodString;
2439
+ correlationId: z.ZodOptional<z.ZodString>;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ code: string;
2442
+ path: string;
2443
+ message: string;
2444
+ statusCode: number;
2445
+ timestamp: string;
2446
+ details?: unknown;
2447
+ correlationId?: string | undefined;
2448
+ }, {
2449
+ code: string;
2450
+ path: string;
2451
+ message: string;
2452
+ statusCode: number;
2453
+ timestamp: string;
2454
+ details?: unknown;
2455
+ correlationId?: string | undefined;
2456
+ }>;
2457
+ 401: z.ZodObject<{
2458
+ statusCode: z.ZodNumber;
2459
+ message: z.ZodString;
2460
+ code: z.ZodString;
2461
+ details: z.ZodOptional<z.ZodUnknown>;
2462
+ timestamp: z.ZodString;
2463
+ path: z.ZodString;
2464
+ correlationId: z.ZodOptional<z.ZodString>;
2465
+ }, "strip", z.ZodTypeAny, {
2466
+ code: string;
2467
+ path: string;
2468
+ message: string;
2469
+ statusCode: number;
2470
+ timestamp: string;
2471
+ details?: unknown;
2472
+ correlationId?: string | undefined;
2473
+ }, {
2474
+ code: string;
2475
+ path: string;
2476
+ message: string;
2477
+ statusCode: number;
2478
+ timestamp: string;
2479
+ details?: unknown;
2480
+ correlationId?: string | undefined;
2481
+ }>;
2482
+ 403: z.ZodObject<{
2483
+ statusCode: z.ZodNumber;
2484
+ message: z.ZodString;
2485
+ code: z.ZodString;
2486
+ details: z.ZodOptional<z.ZodUnknown>;
2487
+ timestamp: z.ZodString;
2488
+ path: z.ZodString;
2489
+ correlationId: z.ZodOptional<z.ZodString>;
2490
+ }, "strip", z.ZodTypeAny, {
2491
+ code: string;
2492
+ path: string;
2493
+ message: string;
2494
+ statusCode: number;
2495
+ timestamp: string;
2496
+ details?: unknown;
2497
+ correlationId?: string | undefined;
2498
+ }, {
2499
+ code: string;
2500
+ path: string;
2501
+ message: string;
2502
+ statusCode: number;
2503
+ timestamp: string;
2504
+ details?: unknown;
2505
+ correlationId?: string | undefined;
2506
+ }>;
2507
+ 500: z.ZodObject<{
2508
+ statusCode: z.ZodNumber;
2509
+ message: z.ZodString;
2510
+ code: z.ZodString;
2511
+ details: z.ZodOptional<z.ZodUnknown>;
2512
+ timestamp: z.ZodString;
2513
+ path: z.ZodString;
2514
+ correlationId: z.ZodOptional<z.ZodString>;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ code: string;
2517
+ path: string;
2518
+ message: string;
2519
+ statusCode: number;
2520
+ timestamp: string;
2521
+ details?: unknown;
2522
+ correlationId?: string | undefined;
2523
+ }, {
2524
+ code: string;
2525
+ path: string;
2526
+ message: string;
2527
+ statusCode: number;
2528
+ timestamp: string;
2529
+ details?: unknown;
2530
+ correlationId?: string | undefined;
2531
+ }>;
2532
+ 200: z.ZodObject<{
2533
+ id: z.ZodString;
2534
+ collaborationId: z.ZodString;
2535
+ clientContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2536
+ clientContact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2537
+ id: z.ZodString;
2538
+ clientId: z.ZodString;
2539
+ client: z.ZodObject<{
2540
+ id: z.ZodString;
2541
+ name: z.ZodString;
2542
+ crn: z.ZodString;
2543
+ govLink: z.ZodString;
2544
+ status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
2545
+ director: z.ZodString;
2546
+ blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
+ lastUpdatedBy: z.ZodObject<{
2548
+ id: z.ZodString;
2549
+ firstName: z.ZodString;
2550
+ lastName: z.ZodString;
2551
+ email: z.ZodString;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ id: string;
2554
+ firstName: string;
2555
+ lastName: string;
2556
+ email: string;
2557
+ }, {
2558
+ id: string;
2559
+ firstName: string;
2560
+ lastName: string;
2561
+ email: string;
2562
+ }>;
2563
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2564
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2565
+ agentClientLinks: z.ZodObject<{
2566
+ agentId: z.ZodString;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ agentId: string;
2569
+ }, {
2570
+ agentId: string;
2571
+ }>;
2572
+ }, "strip", z.ZodTypeAny, {
2573
+ id: string;
2574
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2575
+ name: string;
2576
+ crn: string;
2577
+ govLink: string;
2578
+ director: string;
2579
+ lastUpdatedBy: {
2580
+ id: string;
2581
+ firstName: string;
2582
+ lastName: string;
2583
+ email: string;
2584
+ };
2585
+ createdAt: string;
2586
+ updatedAt: string;
2587
+ agentClientLinks: {
2588
+ agentId: string;
2589
+ };
2590
+ blacklistReason?: string | null | undefined;
2591
+ }, {
2592
+ id: string;
2593
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2594
+ name: string;
2595
+ crn: string;
2596
+ govLink: string;
2597
+ director: string;
2598
+ lastUpdatedBy: {
2599
+ id: string;
2600
+ firstName: string;
2601
+ lastName: string;
2602
+ email: string;
2603
+ };
2604
+ createdAt: string | Date;
2605
+ updatedAt: string | Date;
2606
+ agentClientLinks: {
2607
+ agentId: string;
2608
+ };
2609
+ blacklistReason?: string | null | undefined;
2610
+ }>;
2611
+ name: z.ZodString;
2612
+ position: z.ZodOptional<z.ZodString>;
2613
+ phone: z.ZodString;
2614
+ email: z.ZodString;
2615
+ source: z.ZodOptional<z.ZodString>;
2616
+ createdBy: z.ZodObject<{
2617
+ id: z.ZodString;
2618
+ firstName: z.ZodString;
2619
+ lastName: z.ZodString;
2620
+ email: z.ZodString;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ id: string;
2623
+ firstName: string;
2624
+ lastName: string;
2625
+ email: string;
2626
+ }, {
2627
+ id: string;
2628
+ firstName: string;
2629
+ lastName: string;
2630
+ email: string;
2631
+ }>;
2632
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2633
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2634
+ }, "strip", z.ZodTypeAny, {
2635
+ id: string;
2636
+ email: string;
2637
+ name: string;
2638
+ createdAt: string;
2639
+ updatedAt: string;
2640
+ clientId: string;
2641
+ client: {
2642
+ id: string;
2643
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2644
+ name: string;
2645
+ crn: string;
2646
+ govLink: string;
2647
+ director: string;
2648
+ lastUpdatedBy: {
2649
+ id: string;
2650
+ firstName: string;
2651
+ lastName: string;
2652
+ email: string;
2653
+ };
2654
+ createdAt: string;
2655
+ updatedAt: string;
2656
+ agentClientLinks: {
2657
+ agentId: string;
2658
+ };
2659
+ blacklistReason?: string | null | undefined;
2660
+ };
2661
+ phone: string;
2662
+ createdBy: {
2663
+ id: string;
2664
+ firstName: string;
2665
+ lastName: string;
2666
+ email: string;
2667
+ };
2668
+ position?: string | undefined;
2669
+ source?: string | undefined;
2670
+ }, {
2671
+ id: string;
2672
+ email: string;
2673
+ name: string;
2674
+ createdAt: string | Date;
2675
+ updatedAt: string | Date;
2676
+ clientId: string;
2677
+ client: {
2678
+ id: string;
2679
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2680
+ name: string;
2681
+ crn: string;
2682
+ govLink: string;
2683
+ director: string;
2684
+ lastUpdatedBy: {
2685
+ id: string;
2686
+ firstName: string;
2687
+ lastName: string;
2688
+ email: string;
2689
+ };
2690
+ createdAt: string | Date;
2691
+ updatedAt: string | Date;
2692
+ agentClientLinks: {
2693
+ agentId: string;
2694
+ };
2695
+ blacklistReason?: string | null | undefined;
2696
+ };
2697
+ phone: string;
2698
+ createdBy: {
2699
+ id: string;
2700
+ firstName: string;
2701
+ lastName: string;
2702
+ email: string;
2703
+ };
2704
+ position?: string | undefined;
2705
+ source?: string | undefined;
2706
+ }>>>;
2707
+ urgency: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
2708
+ decision: z.ZodEnum<["APPROVED", "REJECTED", "PENDING"]>;
2709
+ decisionTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2710
+ decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
+ isTermsAndConditionsConfirmed: z.ZodBoolean;
2712
+ termsAndConditionsConfirmedTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2713
+ emailType: z.ZodEnum<["INTRODUCTION", "COLLABORATION", "BOTH"]>;
2714
+ email: z.ZodString;
2715
+ introductionEmailSent: z.ZodBoolean;
2716
+ introductionEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2717
+ collaborationEmailSent: z.ZodBoolean;
2718
+ collaborationEmailTimestamp: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2719
+ checkingComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2721
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2722
+ deletedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | null | undefined, string | Date | null | undefined>;
2723
+ }, "strip", z.ZodTypeAny, {
2724
+ id: string;
2725
+ email: string;
2726
+ createdAt: string;
2727
+ updatedAt: string;
2728
+ urgency: "LOW" | "MEDIUM" | "HIGH";
2729
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
2730
+ collaborationId: string;
2731
+ decision: "APPROVED" | "PENDING" | "REJECTED";
2732
+ isTermsAndConditionsConfirmed: boolean;
2733
+ introductionEmailSent: boolean;
2734
+ collaborationEmailSent: boolean;
2735
+ clientContact?: {
2736
+ id: string;
2737
+ email: string;
2738
+ name: string;
2739
+ createdAt: string;
2740
+ updatedAt: string;
2741
+ clientId: string;
2742
+ client: {
2743
+ id: string;
2744
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2745
+ name: string;
2746
+ crn: string;
2747
+ govLink: string;
2748
+ director: string;
2749
+ lastUpdatedBy: {
2750
+ id: string;
2751
+ firstName: string;
2752
+ lastName: string;
2753
+ email: string;
2754
+ };
2755
+ createdAt: string;
2756
+ updatedAt: string;
2757
+ agentClientLinks: {
2758
+ agentId: string;
2759
+ };
2760
+ blacklistReason?: string | null | undefined;
2761
+ };
2762
+ phone: string;
2763
+ createdBy: {
2764
+ id: string;
2765
+ firstName: string;
2766
+ lastName: string;
2767
+ email: string;
2768
+ };
2769
+ position?: string | undefined;
2770
+ source?: string | undefined;
2771
+ } | null | undefined;
2772
+ clientContactId?: string | null | undefined;
2773
+ decisionTimestamp?: string | null | undefined;
2774
+ decisionComment?: string | null | undefined;
2775
+ termsAndConditionsConfirmedTimestamp?: string | null | undefined;
2776
+ introductionEmailTimestamp?: string | null | undefined;
2777
+ collaborationEmailTimestamp?: string | null | undefined;
2778
+ checkingComment?: string | null | undefined;
2779
+ deletedAt?: string | null | undefined;
2780
+ }, {
2781
+ id: string;
2782
+ email: string;
2783
+ createdAt: string | Date;
2784
+ updatedAt: string | Date;
2785
+ urgency: "LOW" | "MEDIUM" | "HIGH";
2786
+ emailType: "BOTH" | "INTRODUCTION" | "COLLABORATION";
2787
+ collaborationId: string;
2788
+ decision: "APPROVED" | "PENDING" | "REJECTED";
2789
+ isTermsAndConditionsConfirmed: boolean;
2790
+ introductionEmailSent: boolean;
2791
+ collaborationEmailSent: boolean;
2792
+ clientContact?: {
2793
+ id: string;
2794
+ email: string;
2795
+ name: string;
2796
+ createdAt: string | Date;
2797
+ updatedAt: string | Date;
2798
+ clientId: string;
2799
+ client: {
2800
+ id: string;
2801
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2802
+ name: string;
2803
+ crn: string;
2804
+ govLink: string;
2805
+ director: string;
2806
+ lastUpdatedBy: {
2807
+ id: string;
2808
+ firstName: string;
2809
+ lastName: string;
2810
+ email: string;
2811
+ };
2812
+ createdAt: string | Date;
2813
+ updatedAt: string | Date;
2814
+ agentClientLinks: {
2815
+ agentId: string;
2816
+ };
2817
+ blacklistReason?: string | null | undefined;
2818
+ };
2819
+ phone: string;
2820
+ createdBy: {
2821
+ id: string;
2822
+ firstName: string;
2823
+ lastName: string;
2824
+ email: string;
2825
+ };
2826
+ position?: string | undefined;
2827
+ source?: string | undefined;
2828
+ } | null | undefined;
2829
+ clientContactId?: string | null | undefined;
2830
+ decisionTimestamp?: string | Date | null | undefined;
2831
+ decisionComment?: string | null | undefined;
2832
+ termsAndConditionsConfirmedTimestamp?: string | Date | null | undefined;
2833
+ introductionEmailTimestamp?: string | Date | null | undefined;
2834
+ collaborationEmailTimestamp?: string | Date | null | undefined;
2835
+ checkingComment?: string | null | undefined;
2836
+ deletedAt?: string | Date | null | undefined;
2837
+ }>;
2838
+ 404: z.ZodObject<{
2839
+ statusCode: z.ZodNumber;
2840
+ message: z.ZodString;
2841
+ code: z.ZodString;
2842
+ details: z.ZodOptional<z.ZodUnknown>;
2843
+ timestamp: z.ZodString;
2844
+ path: z.ZodString;
2845
+ correlationId: z.ZodOptional<z.ZodString>;
2846
+ }, "strip", z.ZodTypeAny, {
2847
+ code: string;
2848
+ path: string;
2849
+ message: string;
2850
+ statusCode: number;
2851
+ timestamp: string;
2852
+ details?: unknown;
2853
+ correlationId?: string | undefined;
2854
+ }, {
2855
+ code: string;
2856
+ path: string;
2857
+ message: string;
2858
+ statusCode: number;
2859
+ timestamp: string;
2860
+ details?: unknown;
2861
+ correlationId?: string | undefined;
2862
+ }>;
2863
+ };
2864
+ };
2865
+ remove: {
2866
+ metadata: {
2867
+ tags: string[];
2868
+ openApi: {
2869
+ operationId: string;
2870
+ };
2871
+ };
2872
+ pathParams: z.ZodObject<{
2873
+ id: z.ZodString;
2874
+ }, "strip", z.ZodTypeAny, {
2875
+ id: string;
2876
+ }, {
2877
+ id: string;
2878
+ }>;
2879
+ summary: "Delete a collaboration checking";
2880
+ method: "DELETE";
2881
+ body: typeof import("@ts-rest/core").ContractNoBody;
2882
+ path: "/v2/collaboration-checkings/:id";
2883
+ responses: {
2884
+ 400: z.ZodObject<{
2885
+ statusCode: z.ZodNumber;
2886
+ message: z.ZodString;
2887
+ code: z.ZodString;
2888
+ details: z.ZodOptional<z.ZodUnknown>;
2889
+ timestamp: z.ZodString;
2890
+ path: z.ZodString;
2891
+ correlationId: z.ZodOptional<z.ZodString>;
2892
+ }, "strip", z.ZodTypeAny, {
2893
+ code: string;
2894
+ path: string;
2895
+ message: string;
2896
+ statusCode: number;
2897
+ timestamp: string;
2898
+ details?: unknown;
2899
+ correlationId?: string | undefined;
2900
+ }, {
2901
+ code: string;
2902
+ path: string;
2903
+ message: string;
2904
+ statusCode: number;
2905
+ timestamp: string;
2906
+ details?: unknown;
2907
+ correlationId?: string | undefined;
2908
+ }>;
2909
+ 401: z.ZodObject<{
2910
+ statusCode: z.ZodNumber;
2911
+ message: z.ZodString;
2912
+ code: z.ZodString;
2913
+ details: z.ZodOptional<z.ZodUnknown>;
2914
+ timestamp: z.ZodString;
2915
+ path: z.ZodString;
2916
+ correlationId: z.ZodOptional<z.ZodString>;
2917
+ }, "strip", z.ZodTypeAny, {
2918
+ code: string;
2919
+ path: string;
2920
+ message: string;
2921
+ statusCode: number;
2922
+ timestamp: string;
2923
+ details?: unknown;
2924
+ correlationId?: string | undefined;
2925
+ }, {
2926
+ code: string;
2927
+ path: string;
2928
+ message: string;
2929
+ statusCode: number;
2930
+ timestamp: string;
2931
+ details?: unknown;
2932
+ correlationId?: string | undefined;
2933
+ }>;
2934
+ 403: z.ZodObject<{
2935
+ statusCode: z.ZodNumber;
2936
+ message: z.ZodString;
2937
+ code: z.ZodString;
2938
+ details: z.ZodOptional<z.ZodUnknown>;
2939
+ timestamp: z.ZodString;
2940
+ path: z.ZodString;
2941
+ correlationId: z.ZodOptional<z.ZodString>;
2942
+ }, "strip", z.ZodTypeAny, {
2943
+ code: string;
2944
+ path: string;
2945
+ message: string;
2946
+ statusCode: number;
2947
+ timestamp: string;
2948
+ details?: unknown;
2949
+ correlationId?: string | undefined;
2950
+ }, {
2951
+ code: string;
2952
+ path: string;
2953
+ message: string;
2954
+ statusCode: number;
2955
+ timestamp: string;
2956
+ details?: unknown;
2957
+ correlationId?: string | undefined;
2958
+ }>;
2959
+ 500: z.ZodObject<{
2960
+ statusCode: z.ZodNumber;
2961
+ message: z.ZodString;
2962
+ code: z.ZodString;
2963
+ details: z.ZodOptional<z.ZodUnknown>;
2964
+ timestamp: z.ZodString;
2965
+ path: z.ZodString;
2966
+ correlationId: z.ZodOptional<z.ZodString>;
2967
+ }, "strip", z.ZodTypeAny, {
2968
+ code: string;
2969
+ path: string;
2970
+ message: string;
2971
+ statusCode: number;
2972
+ timestamp: string;
2973
+ details?: unknown;
2974
+ correlationId?: string | undefined;
2975
+ }, {
2976
+ code: string;
2977
+ path: string;
2978
+ message: string;
2979
+ statusCode: number;
2980
+ timestamp: string;
2981
+ details?: unknown;
2982
+ correlationId?: string | undefined;
2983
+ }>;
2984
+ 204: z.ZodUndefined;
2985
+ 404: z.ZodObject<{
2986
+ statusCode: z.ZodNumber;
2987
+ message: z.ZodString;
2988
+ code: z.ZodString;
2989
+ details: z.ZodOptional<z.ZodUnknown>;
2990
+ timestamp: z.ZodString;
2991
+ path: z.ZodString;
2992
+ correlationId: z.ZodOptional<z.ZodString>;
2993
+ }, "strip", z.ZodTypeAny, {
2994
+ code: string;
2995
+ path: string;
2996
+ message: string;
2997
+ statusCode: number;
2998
+ timestamp: string;
2999
+ details?: unknown;
3000
+ correlationId?: string | undefined;
3001
+ }, {
3002
+ code: string;
3003
+ path: string;
3004
+ message: string;
3005
+ statusCode: number;
3006
+ timestamp: string;
3007
+ details?: unknown;
3008
+ correlationId?: string | undefined;
3009
+ }>;
3010
+ };
3011
+ };
3012
+ };
3013
+ //# sourceMappingURL=collaboration-checkings.contract.d.ts.map