@dakkitor/api-contracts 1.1.27 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +5955 -1711
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +336 -336
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/bookings/bookings.contract.d.ts +4557 -383
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1190 -276
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +11 -28
- package/dist/client-contacts/client-contacts.contract.d.ts +571 -534
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +5 -7
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +374 -374
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +6 -13
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +3274 -268
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +37 -18
- package/dist/lead-assignments/lead-assignments.contract.d.ts +278 -278
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +319 -319
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +8 -8
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +245 -266
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +22 -21
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -27,7 +27,7 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
27
27
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
28
28
|
director: z.ZodString;
|
|
29
29
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
lastUpdatedBy: z.ZodObject<{
|
|
30
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodString;
|
|
32
32
|
firstName: z.ZodString;
|
|
33
33
|
lastName: z.ZodString;
|
|
@@ -42,54 +42,54 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
42
42
|
firstName: string;
|
|
43
43
|
lastName: string;
|
|
44
44
|
email: string;
|
|
45
|
-
}
|
|
45
|
+
}>>>;
|
|
46
46
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
47
47
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
|
-
agentClientLinks: z.ZodObject<{
|
|
48
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
49
|
agentId: z.ZodString;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
agentId: string;
|
|
52
52
|
}, {
|
|
53
53
|
agentId: string;
|
|
54
|
-
}
|
|
54
|
+
}>>>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
status: "
|
|
56
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
57
57
|
id: string;
|
|
58
|
+
createdAt: string;
|
|
59
|
+
updatedAt: string;
|
|
58
60
|
name: string;
|
|
59
61
|
crn: string;
|
|
60
62
|
govLink: string;
|
|
61
63
|
director: string;
|
|
62
|
-
|
|
64
|
+
blacklistReason?: string | null | undefined;
|
|
65
|
+
lastUpdatedBy?: {
|
|
63
66
|
id: string;
|
|
64
67
|
firstName: string;
|
|
65
68
|
lastName: string;
|
|
66
69
|
email: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
updatedAt: string;
|
|
70
|
-
agentClientLinks: {
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
agentClientLinks?: {
|
|
71
72
|
agentId: string;
|
|
72
|
-
};
|
|
73
|
-
blacklistReason?: string | null | undefined;
|
|
73
|
+
} | null | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
status: "
|
|
75
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
76
76
|
id: string;
|
|
77
|
+
createdAt: string | Date;
|
|
78
|
+
updatedAt: string | Date;
|
|
77
79
|
name: string;
|
|
78
80
|
crn: string;
|
|
79
81
|
govLink: string;
|
|
80
82
|
director: string;
|
|
81
|
-
|
|
83
|
+
blacklistReason?: string | null | undefined;
|
|
84
|
+
lastUpdatedBy?: {
|
|
82
85
|
id: string;
|
|
83
86
|
firstName: string;
|
|
84
87
|
lastName: string;
|
|
85
88
|
email: string;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
updatedAt: string | Date;
|
|
89
|
-
agentClientLinks: {
|
|
89
|
+
} | null | undefined;
|
|
90
|
+
agentClientLinks?: {
|
|
90
91
|
agentId: string;
|
|
91
|
-
};
|
|
92
|
-
blacklistReason?: string | null | undefined;
|
|
92
|
+
} | null | undefined;
|
|
93
93
|
}>;
|
|
94
94
|
export declare const CreateClientSchema: z.ZodObject<{
|
|
95
95
|
name: z.ZodString;
|
|
@@ -115,17 +115,17 @@ export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
|
115
115
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
116
116
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
status?: "
|
|
118
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
119
119
|
name?: string | undefined;
|
|
120
|
+
blacklistReason?: string | null | undefined;
|
|
120
121
|
govLink?: string | undefined;
|
|
121
122
|
director?: string | undefined;
|
|
122
|
-
blacklistReason?: string | null | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
status?: "
|
|
124
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
125
125
|
name?: string | undefined;
|
|
126
|
+
blacklistReason?: string | null | undefined;
|
|
126
127
|
govLink?: string | undefined;
|
|
127
128
|
director?: string | undefined;
|
|
128
|
-
blacklistReason?: string | null | undefined;
|
|
129
129
|
}>;
|
|
130
130
|
/**
|
|
131
131
|
* Conditional validation rules for UpdateClient.
|
|
@@ -159,29 +159,29 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
159
159
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
160
160
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
status?: "
|
|
162
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
163
163
|
name?: string | undefined;
|
|
164
|
+
blacklistReason?: string | null | undefined;
|
|
164
165
|
govLink?: string | undefined;
|
|
165
166
|
director?: string | undefined;
|
|
166
|
-
blacklistReason?: string | null | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
status?: "
|
|
168
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
169
169
|
name?: string | undefined;
|
|
170
|
+
blacklistReason?: string | null | undefined;
|
|
170
171
|
govLink?: string | undefined;
|
|
171
172
|
director?: string | undefined;
|
|
172
|
-
blacklistReason?: string | null | undefined;
|
|
173
173
|
}>, {
|
|
174
|
-
status?: "
|
|
174
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
175
175
|
name?: string | undefined;
|
|
176
|
+
blacklistReason?: string | null | undefined;
|
|
176
177
|
govLink?: string | undefined;
|
|
177
178
|
director?: string | undefined;
|
|
178
|
-
blacklistReason?: string | null | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
status?: "
|
|
180
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
181
181
|
name?: string | undefined;
|
|
182
|
+
blacklistReason?: string | null | undefined;
|
|
182
183
|
govLink?: string | undefined;
|
|
183
184
|
director?: string | undefined;
|
|
184
|
-
blacklistReason?: string | null | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
187
187
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -205,27 +205,27 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
limit: number;
|
|
207
207
|
page: number;
|
|
208
|
-
status?: "
|
|
209
|
-
name?: string | null | undefined;
|
|
210
|
-
director?: string | null | undefined;
|
|
208
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
211
209
|
createdAt?: {
|
|
212
210
|
from?: string | null | undefined;
|
|
213
211
|
to?: string | null | undefined;
|
|
214
212
|
} | null | undefined;
|
|
215
|
-
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
216
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
219
213
|
name?: string | null | undefined;
|
|
214
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
215
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
220
216
|
director?: string | null | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
221
219
|
createdAt?: {
|
|
222
220
|
from?: string | null | undefined;
|
|
223
221
|
to?: string | null | undefined;
|
|
224
222
|
} | null | undefined;
|
|
225
223
|
limit?: number | undefined;
|
|
226
224
|
page?: number | undefined;
|
|
227
|
-
|
|
225
|
+
name?: string | null | undefined;
|
|
226
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
228
227
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
228
|
+
director?: string | null | undefined;
|
|
229
229
|
}>;
|
|
230
230
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
231
231
|
id: z.ZodString;
|
|
@@ -256,7 +256,7 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
256
256
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
257
257
|
director: z.ZodString;
|
|
258
258
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
|
-
lastUpdatedBy: z.ZodObject<{
|
|
259
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
260
260
|
id: z.ZodString;
|
|
261
261
|
firstName: z.ZodString;
|
|
262
262
|
lastName: z.ZodString;
|
|
@@ -271,54 +271,54 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
271
271
|
firstName: string;
|
|
272
272
|
lastName: string;
|
|
273
273
|
email: string;
|
|
274
|
-
}
|
|
274
|
+
}>>>;
|
|
275
275
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
276
276
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
277
|
-
agentClientLinks: z.ZodObject<{
|
|
277
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
278
278
|
agentId: z.ZodString;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
280
|
agentId: string;
|
|
281
281
|
}, {
|
|
282
282
|
agentId: string;
|
|
283
|
-
}
|
|
283
|
+
}>>>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
status: "
|
|
285
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
286
286
|
id: string;
|
|
287
|
+
createdAt: string;
|
|
288
|
+
updatedAt: string;
|
|
287
289
|
name: string;
|
|
288
290
|
crn: string;
|
|
289
291
|
govLink: string;
|
|
290
292
|
director: string;
|
|
291
|
-
|
|
293
|
+
blacklistReason?: string | null | undefined;
|
|
294
|
+
lastUpdatedBy?: {
|
|
292
295
|
id: string;
|
|
293
296
|
firstName: string;
|
|
294
297
|
lastName: string;
|
|
295
298
|
email: string;
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
updatedAt: string;
|
|
299
|
-
agentClientLinks: {
|
|
299
|
+
} | null | undefined;
|
|
300
|
+
agentClientLinks?: {
|
|
300
301
|
agentId: string;
|
|
301
|
-
};
|
|
302
|
-
blacklistReason?: string | null | undefined;
|
|
302
|
+
} | null | undefined;
|
|
303
303
|
}, {
|
|
304
|
-
status: "
|
|
304
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
305
305
|
id: string;
|
|
306
|
+
createdAt: string | Date;
|
|
307
|
+
updatedAt: string | Date;
|
|
306
308
|
name: string;
|
|
307
309
|
crn: string;
|
|
308
310
|
govLink: string;
|
|
309
311
|
director: string;
|
|
310
|
-
|
|
312
|
+
blacklistReason?: string | null | undefined;
|
|
313
|
+
lastUpdatedBy?: {
|
|
311
314
|
id: string;
|
|
312
315
|
firstName: string;
|
|
313
316
|
lastName: string;
|
|
314
317
|
email: string;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
updatedAt: string | Date;
|
|
318
|
-
agentClientLinks: {
|
|
318
|
+
} | null | undefined;
|
|
319
|
+
agentClientLinks?: {
|
|
319
320
|
agentId: string;
|
|
320
|
-
};
|
|
321
|
-
blacklistReason?: string | null | undefined;
|
|
321
|
+
} | null | undefined;
|
|
322
322
|
}>, "many">;
|
|
323
323
|
totalCount: z.ZodNumber;
|
|
324
324
|
limit: z.ZodNumber;
|
|
@@ -326,54 +326,54 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
326
326
|
currentPage: z.ZodNumber;
|
|
327
327
|
totalPages: z.ZodNumber;
|
|
328
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
limit: number;
|
|
329
330
|
items: {
|
|
330
|
-
status: "
|
|
331
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
331
332
|
id: string;
|
|
333
|
+
createdAt: string;
|
|
334
|
+
updatedAt: string;
|
|
332
335
|
name: string;
|
|
333
336
|
crn: string;
|
|
334
337
|
govLink: string;
|
|
335
338
|
director: string;
|
|
336
|
-
|
|
339
|
+
blacklistReason?: string | null | undefined;
|
|
340
|
+
lastUpdatedBy?: {
|
|
337
341
|
id: string;
|
|
338
342
|
firstName: string;
|
|
339
343
|
lastName: string;
|
|
340
344
|
email: string;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
updatedAt: string;
|
|
344
|
-
agentClientLinks: {
|
|
345
|
+
} | null | undefined;
|
|
346
|
+
agentClientLinks?: {
|
|
345
347
|
agentId: string;
|
|
346
|
-
};
|
|
347
|
-
blacklistReason?: string | null | undefined;
|
|
348
|
+
} | null | undefined;
|
|
348
349
|
}[];
|
|
349
350
|
totalCount: number;
|
|
350
|
-
limit: number;
|
|
351
351
|
skip: number;
|
|
352
352
|
currentPage: number;
|
|
353
353
|
totalPages: number;
|
|
354
354
|
}, {
|
|
355
|
+
limit: number;
|
|
355
356
|
items: {
|
|
356
|
-
status: "
|
|
357
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
357
358
|
id: string;
|
|
359
|
+
createdAt: string | Date;
|
|
360
|
+
updatedAt: string | Date;
|
|
358
361
|
name: string;
|
|
359
362
|
crn: string;
|
|
360
363
|
govLink: string;
|
|
361
364
|
director: string;
|
|
362
|
-
|
|
365
|
+
blacklistReason?: string | null | undefined;
|
|
366
|
+
lastUpdatedBy?: {
|
|
363
367
|
id: string;
|
|
364
368
|
firstName: string;
|
|
365
369
|
lastName: string;
|
|
366
370
|
email: string;
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
updatedAt: string | Date;
|
|
370
|
-
agentClientLinks: {
|
|
371
|
+
} | null | undefined;
|
|
372
|
+
agentClientLinks?: {
|
|
371
373
|
agentId: string;
|
|
372
|
-
};
|
|
373
|
-
blacklistReason?: string | null | undefined;
|
|
374
|
+
} | null | undefined;
|
|
374
375
|
}[];
|
|
375
376
|
totalCount: number;
|
|
376
|
-
limit: number;
|
|
377
377
|
skip: number;
|
|
378
378
|
currentPage: number;
|
|
379
379
|
totalPages: number;
|
|
@@ -421,19 +421,19 @@ export declare const clientsContractRouter: {
|
|
|
421
421
|
path: z.ZodString;
|
|
422
422
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
statusCode: number;
|
|
425
|
-
message: string;
|
|
426
424
|
code: string;
|
|
427
|
-
timestamp: string;
|
|
428
425
|
path: string;
|
|
426
|
+
message: string;
|
|
427
|
+
statusCode: number;
|
|
428
|
+
timestamp: string;
|
|
429
429
|
details?: unknown;
|
|
430
430
|
correlationId?: string | undefined;
|
|
431
431
|
}, {
|
|
432
|
-
statusCode: number;
|
|
433
|
-
message: string;
|
|
434
432
|
code: string;
|
|
435
|
-
timestamp: string;
|
|
436
433
|
path: string;
|
|
434
|
+
message: string;
|
|
435
|
+
statusCode: number;
|
|
436
|
+
timestamp: string;
|
|
437
437
|
details?: unknown;
|
|
438
438
|
correlationId?: string | undefined;
|
|
439
439
|
}>;
|
|
@@ -446,19 +446,19 @@ export declare const clientsContractRouter: {
|
|
|
446
446
|
path: z.ZodString;
|
|
447
447
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
statusCode: number;
|
|
450
|
-
message: string;
|
|
451
449
|
code: string;
|
|
452
|
-
timestamp: string;
|
|
453
450
|
path: string;
|
|
451
|
+
message: string;
|
|
452
|
+
statusCode: number;
|
|
453
|
+
timestamp: string;
|
|
454
454
|
details?: unknown;
|
|
455
455
|
correlationId?: string | undefined;
|
|
456
456
|
}, {
|
|
457
|
-
statusCode: number;
|
|
458
|
-
message: string;
|
|
459
457
|
code: string;
|
|
460
|
-
timestamp: string;
|
|
461
458
|
path: string;
|
|
459
|
+
message: string;
|
|
460
|
+
statusCode: number;
|
|
461
|
+
timestamp: string;
|
|
462
462
|
details?: unknown;
|
|
463
463
|
correlationId?: string | undefined;
|
|
464
464
|
}>;
|
|
@@ -471,19 +471,19 @@ export declare const clientsContractRouter: {
|
|
|
471
471
|
path: z.ZodString;
|
|
472
472
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
473
473
|
}, "strip", z.ZodTypeAny, {
|
|
474
|
-
statusCode: number;
|
|
475
|
-
message: string;
|
|
476
474
|
code: string;
|
|
477
|
-
timestamp: string;
|
|
478
475
|
path: string;
|
|
476
|
+
message: string;
|
|
477
|
+
statusCode: number;
|
|
478
|
+
timestamp: string;
|
|
479
479
|
details?: unknown;
|
|
480
480
|
correlationId?: string | undefined;
|
|
481
481
|
}, {
|
|
482
|
-
statusCode: number;
|
|
483
|
-
message: string;
|
|
484
482
|
code: string;
|
|
485
|
-
timestamp: string;
|
|
486
483
|
path: string;
|
|
484
|
+
message: string;
|
|
485
|
+
statusCode: number;
|
|
486
|
+
timestamp: string;
|
|
487
487
|
details?: unknown;
|
|
488
488
|
correlationId?: string | undefined;
|
|
489
489
|
}>;
|
|
@@ -496,19 +496,19 @@ export declare const clientsContractRouter: {
|
|
|
496
496
|
path: z.ZodString;
|
|
497
497
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
|
-
statusCode: number;
|
|
500
|
-
message: string;
|
|
501
499
|
code: string;
|
|
502
|
-
timestamp: string;
|
|
503
500
|
path: string;
|
|
501
|
+
message: string;
|
|
502
|
+
statusCode: number;
|
|
503
|
+
timestamp: string;
|
|
504
504
|
details?: unknown;
|
|
505
505
|
correlationId?: string | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
statusCode: number;
|
|
508
|
-
message: string;
|
|
509
507
|
code: string;
|
|
510
|
-
timestamp: string;
|
|
511
508
|
path: string;
|
|
509
|
+
message: string;
|
|
510
|
+
statusCode: number;
|
|
511
|
+
timestamp: string;
|
|
512
512
|
details?: unknown;
|
|
513
513
|
correlationId?: string | undefined;
|
|
514
514
|
}>;
|
|
@@ -520,7 +520,7 @@ export declare const clientsContractRouter: {
|
|
|
520
520
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
521
521
|
director: z.ZodString;
|
|
522
522
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
523
|
-
lastUpdatedBy: z.ZodObject<{
|
|
523
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
524
524
|
id: z.ZodString;
|
|
525
525
|
firstName: z.ZodString;
|
|
526
526
|
lastName: z.ZodString;
|
|
@@ -535,54 +535,54 @@ export declare const clientsContractRouter: {
|
|
|
535
535
|
firstName: string;
|
|
536
536
|
lastName: string;
|
|
537
537
|
email: string;
|
|
538
|
-
}
|
|
538
|
+
}>>>;
|
|
539
539
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
540
540
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
541
|
-
agentClientLinks: z.ZodObject<{
|
|
541
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
542
542
|
agentId: z.ZodString;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
agentId: string;
|
|
545
545
|
}, {
|
|
546
546
|
agentId: string;
|
|
547
|
-
}
|
|
547
|
+
}>>>;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
549
|
-
status: "
|
|
549
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
550
550
|
id: string;
|
|
551
|
+
createdAt: string;
|
|
552
|
+
updatedAt: string;
|
|
551
553
|
name: string;
|
|
552
554
|
crn: string;
|
|
553
555
|
govLink: string;
|
|
554
556
|
director: string;
|
|
555
|
-
|
|
557
|
+
blacklistReason?: string | null | undefined;
|
|
558
|
+
lastUpdatedBy?: {
|
|
556
559
|
id: string;
|
|
557
560
|
firstName: string;
|
|
558
561
|
lastName: string;
|
|
559
562
|
email: string;
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
updatedAt: string;
|
|
563
|
-
agentClientLinks: {
|
|
563
|
+
} | null | undefined;
|
|
564
|
+
agentClientLinks?: {
|
|
564
565
|
agentId: string;
|
|
565
|
-
};
|
|
566
|
-
blacklistReason?: string | null | undefined;
|
|
566
|
+
} | null | undefined;
|
|
567
567
|
}, {
|
|
568
|
-
status: "
|
|
568
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
569
569
|
id: string;
|
|
570
|
+
createdAt: string | Date;
|
|
571
|
+
updatedAt: string | Date;
|
|
570
572
|
name: string;
|
|
571
573
|
crn: string;
|
|
572
574
|
govLink: string;
|
|
573
575
|
director: string;
|
|
574
|
-
|
|
576
|
+
blacklistReason?: string | null | undefined;
|
|
577
|
+
lastUpdatedBy?: {
|
|
575
578
|
id: string;
|
|
576
579
|
firstName: string;
|
|
577
580
|
lastName: string;
|
|
578
581
|
email: string;
|
|
579
|
-
};
|
|
580
|
-
|
|
581
|
-
updatedAt: string | Date;
|
|
582
|
-
agentClientLinks: {
|
|
582
|
+
} | null | undefined;
|
|
583
|
+
agentClientLinks?: {
|
|
583
584
|
agentId: string;
|
|
584
|
-
};
|
|
585
|
-
blacklistReason?: string | null | undefined;
|
|
585
|
+
} | null | undefined;
|
|
586
586
|
}>;
|
|
587
587
|
409: z.ZodObject<{
|
|
588
588
|
statusCode: z.ZodNumber;
|
|
@@ -593,31 +593,25 @@ export declare const clientsContractRouter: {
|
|
|
593
593
|
path: z.ZodString;
|
|
594
594
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
statusCode: number;
|
|
597
|
-
message: string;
|
|
598
596
|
code: string;
|
|
599
|
-
timestamp: string;
|
|
600
597
|
path: string;
|
|
598
|
+
message: string;
|
|
599
|
+
statusCode: number;
|
|
600
|
+
timestamp: string;
|
|
601
601
|
details?: unknown;
|
|
602
602
|
correlationId?: string | undefined;
|
|
603
603
|
}, {
|
|
604
|
-
statusCode: number;
|
|
605
|
-
message: string;
|
|
606
604
|
code: string;
|
|
607
|
-
timestamp: string;
|
|
608
605
|
path: string;
|
|
606
|
+
message: string;
|
|
607
|
+
statusCode: number;
|
|
608
|
+
timestamp: string;
|
|
609
609
|
details?: unknown;
|
|
610
610
|
correlationId?: string | undefined;
|
|
611
611
|
}>;
|
|
612
612
|
};
|
|
613
613
|
};
|
|
614
614
|
findAll: {
|
|
615
|
-
metadata: {
|
|
616
|
-
tags: string[];
|
|
617
|
-
openApi: {
|
|
618
|
-
operationId: string;
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
615
|
query: z.ZodObject<{
|
|
622
616
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
623
617
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -640,28 +634,34 @@ export declare const clientsContractRouter: {
|
|
|
640
634
|
}, "strip", z.ZodTypeAny, {
|
|
641
635
|
limit: number;
|
|
642
636
|
page: number;
|
|
643
|
-
status?: "
|
|
644
|
-
name?: string | null | undefined;
|
|
645
|
-
director?: string | null | undefined;
|
|
637
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
646
638
|
createdAt?: {
|
|
647
639
|
from?: string | null | undefined;
|
|
648
640
|
to?: string | null | undefined;
|
|
649
641
|
} | null | undefined;
|
|
650
|
-
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
651
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
652
|
-
}, {
|
|
653
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
654
642
|
name?: string | null | undefined;
|
|
643
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
644
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
655
645
|
director?: string | null | undefined;
|
|
646
|
+
}, {
|
|
647
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
656
648
|
createdAt?: {
|
|
657
649
|
from?: string | null | undefined;
|
|
658
650
|
to?: string | null | undefined;
|
|
659
651
|
} | null | undefined;
|
|
660
652
|
limit?: number | undefined;
|
|
661
653
|
page?: number | undefined;
|
|
662
|
-
|
|
654
|
+
name?: string | null | undefined;
|
|
655
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
663
656
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
657
|
+
director?: string | null | undefined;
|
|
664
658
|
}>;
|
|
659
|
+
metadata: {
|
|
660
|
+
tags: string[];
|
|
661
|
+
openApi: {
|
|
662
|
+
operationId: string;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
665
|
summary: "Get all clients";
|
|
666
666
|
method: "GET";
|
|
667
667
|
path: "/v2/clients";
|
|
@@ -675,19 +675,19 @@ export declare const clientsContractRouter: {
|
|
|
675
675
|
path: z.ZodString;
|
|
676
676
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
statusCode: number;
|
|
679
|
-
message: string;
|
|
680
678
|
code: string;
|
|
681
|
-
timestamp: string;
|
|
682
679
|
path: string;
|
|
680
|
+
message: string;
|
|
681
|
+
statusCode: number;
|
|
682
|
+
timestamp: string;
|
|
683
683
|
details?: unknown;
|
|
684
684
|
correlationId?: string | undefined;
|
|
685
685
|
}, {
|
|
686
|
-
statusCode: number;
|
|
687
|
-
message: string;
|
|
688
686
|
code: string;
|
|
689
|
-
timestamp: string;
|
|
690
687
|
path: string;
|
|
688
|
+
message: string;
|
|
689
|
+
statusCode: number;
|
|
690
|
+
timestamp: string;
|
|
691
691
|
details?: unknown;
|
|
692
692
|
correlationId?: string | undefined;
|
|
693
693
|
}>;
|
|
@@ -700,19 +700,19 @@ export declare const clientsContractRouter: {
|
|
|
700
700
|
path: z.ZodString;
|
|
701
701
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
702
702
|
}, "strip", z.ZodTypeAny, {
|
|
703
|
-
statusCode: number;
|
|
704
|
-
message: string;
|
|
705
703
|
code: string;
|
|
706
|
-
timestamp: string;
|
|
707
704
|
path: string;
|
|
705
|
+
message: string;
|
|
706
|
+
statusCode: number;
|
|
707
|
+
timestamp: string;
|
|
708
708
|
details?: unknown;
|
|
709
709
|
correlationId?: string | undefined;
|
|
710
710
|
}, {
|
|
711
|
-
statusCode: number;
|
|
712
|
-
message: string;
|
|
713
711
|
code: string;
|
|
714
|
-
timestamp: string;
|
|
715
712
|
path: string;
|
|
713
|
+
message: string;
|
|
714
|
+
statusCode: number;
|
|
715
|
+
timestamp: string;
|
|
716
716
|
details?: unknown;
|
|
717
717
|
correlationId?: string | undefined;
|
|
718
718
|
}>;
|
|
@@ -725,19 +725,19 @@ export declare const clientsContractRouter: {
|
|
|
725
725
|
path: z.ZodString;
|
|
726
726
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
727
727
|
}, "strip", z.ZodTypeAny, {
|
|
728
|
-
statusCode: number;
|
|
729
|
-
message: string;
|
|
730
728
|
code: string;
|
|
731
|
-
timestamp: string;
|
|
732
729
|
path: string;
|
|
730
|
+
message: string;
|
|
731
|
+
statusCode: number;
|
|
732
|
+
timestamp: string;
|
|
733
733
|
details?: unknown;
|
|
734
734
|
correlationId?: string | undefined;
|
|
735
735
|
}, {
|
|
736
|
-
statusCode: number;
|
|
737
|
-
message: string;
|
|
738
736
|
code: string;
|
|
739
|
-
timestamp: string;
|
|
740
737
|
path: string;
|
|
738
|
+
message: string;
|
|
739
|
+
statusCode: number;
|
|
740
|
+
timestamp: string;
|
|
741
741
|
details?: unknown;
|
|
742
742
|
correlationId?: string | undefined;
|
|
743
743
|
}>;
|
|
@@ -750,19 +750,19 @@ export declare const clientsContractRouter: {
|
|
|
750
750
|
path: z.ZodString;
|
|
751
751
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
752
752
|
}, "strip", z.ZodTypeAny, {
|
|
753
|
-
statusCode: number;
|
|
754
|
-
message: string;
|
|
755
753
|
code: string;
|
|
756
|
-
timestamp: string;
|
|
757
754
|
path: string;
|
|
755
|
+
message: string;
|
|
756
|
+
statusCode: number;
|
|
757
|
+
timestamp: string;
|
|
758
758
|
details?: unknown;
|
|
759
759
|
correlationId?: string | undefined;
|
|
760
760
|
}, {
|
|
761
|
-
statusCode: number;
|
|
762
|
-
message: string;
|
|
763
761
|
code: string;
|
|
764
|
-
timestamp: string;
|
|
765
762
|
path: string;
|
|
763
|
+
message: string;
|
|
764
|
+
statusCode: number;
|
|
765
|
+
timestamp: string;
|
|
766
766
|
details?: unknown;
|
|
767
767
|
correlationId?: string | undefined;
|
|
768
768
|
}>;
|
|
@@ -775,7 +775,7 @@ export declare const clientsContractRouter: {
|
|
|
775
775
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
776
776
|
director: z.ZodString;
|
|
777
777
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
778
|
-
lastUpdatedBy: z.ZodObject<{
|
|
778
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
779
779
|
id: z.ZodString;
|
|
780
780
|
firstName: z.ZodString;
|
|
781
781
|
lastName: z.ZodString;
|
|
@@ -790,54 +790,54 @@ export declare const clientsContractRouter: {
|
|
|
790
790
|
firstName: string;
|
|
791
791
|
lastName: string;
|
|
792
792
|
email: string;
|
|
793
|
-
}
|
|
793
|
+
}>>>;
|
|
794
794
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
795
795
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
796
|
-
agentClientLinks: z.ZodObject<{
|
|
796
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
797
797
|
agentId: z.ZodString;
|
|
798
798
|
}, "strip", z.ZodTypeAny, {
|
|
799
799
|
agentId: string;
|
|
800
800
|
}, {
|
|
801
801
|
agentId: string;
|
|
802
|
-
}
|
|
802
|
+
}>>>;
|
|
803
803
|
}, "strip", z.ZodTypeAny, {
|
|
804
|
-
status: "
|
|
804
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
805
805
|
id: string;
|
|
806
|
+
createdAt: string;
|
|
807
|
+
updatedAt: string;
|
|
806
808
|
name: string;
|
|
807
809
|
crn: string;
|
|
808
810
|
govLink: string;
|
|
809
811
|
director: string;
|
|
810
|
-
|
|
812
|
+
blacklistReason?: string | null | undefined;
|
|
813
|
+
lastUpdatedBy?: {
|
|
811
814
|
id: string;
|
|
812
815
|
firstName: string;
|
|
813
816
|
lastName: string;
|
|
814
817
|
email: string;
|
|
815
|
-
};
|
|
816
|
-
|
|
817
|
-
updatedAt: string;
|
|
818
|
-
agentClientLinks: {
|
|
818
|
+
} | null | undefined;
|
|
819
|
+
agentClientLinks?: {
|
|
819
820
|
agentId: string;
|
|
820
|
-
};
|
|
821
|
-
blacklistReason?: string | null | undefined;
|
|
821
|
+
} | null | undefined;
|
|
822
822
|
}, {
|
|
823
|
-
status: "
|
|
823
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
824
824
|
id: string;
|
|
825
|
+
createdAt: string | Date;
|
|
826
|
+
updatedAt: string | Date;
|
|
825
827
|
name: string;
|
|
826
828
|
crn: string;
|
|
827
829
|
govLink: string;
|
|
828
830
|
director: string;
|
|
829
|
-
|
|
831
|
+
blacklistReason?: string | null | undefined;
|
|
832
|
+
lastUpdatedBy?: {
|
|
830
833
|
id: string;
|
|
831
834
|
firstName: string;
|
|
832
835
|
lastName: string;
|
|
833
836
|
email: string;
|
|
834
|
-
};
|
|
835
|
-
|
|
836
|
-
updatedAt: string | Date;
|
|
837
|
-
agentClientLinks: {
|
|
837
|
+
} | null | undefined;
|
|
838
|
+
agentClientLinks?: {
|
|
838
839
|
agentId: string;
|
|
839
|
-
};
|
|
840
|
-
blacklistReason?: string | null | undefined;
|
|
840
|
+
} | null | undefined;
|
|
841
841
|
}>, "many">;
|
|
842
842
|
totalCount: z.ZodNumber;
|
|
843
843
|
limit: z.ZodNumber;
|
|
@@ -845,54 +845,54 @@ export declare const clientsContractRouter: {
|
|
|
845
845
|
currentPage: z.ZodNumber;
|
|
846
846
|
totalPages: z.ZodNumber;
|
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
+
limit: number;
|
|
848
849
|
items: {
|
|
849
|
-
status: "
|
|
850
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
850
851
|
id: string;
|
|
852
|
+
createdAt: string;
|
|
853
|
+
updatedAt: string;
|
|
851
854
|
name: string;
|
|
852
855
|
crn: string;
|
|
853
856
|
govLink: string;
|
|
854
857
|
director: string;
|
|
855
|
-
|
|
858
|
+
blacklistReason?: string | null | undefined;
|
|
859
|
+
lastUpdatedBy?: {
|
|
856
860
|
id: string;
|
|
857
861
|
firstName: string;
|
|
858
862
|
lastName: string;
|
|
859
863
|
email: string;
|
|
860
|
-
};
|
|
861
|
-
|
|
862
|
-
updatedAt: string;
|
|
863
|
-
agentClientLinks: {
|
|
864
|
+
} | null | undefined;
|
|
865
|
+
agentClientLinks?: {
|
|
864
866
|
agentId: string;
|
|
865
|
-
};
|
|
866
|
-
blacklistReason?: string | null | undefined;
|
|
867
|
+
} | null | undefined;
|
|
867
868
|
}[];
|
|
868
869
|
totalCount: number;
|
|
869
|
-
limit: number;
|
|
870
870
|
skip: number;
|
|
871
871
|
currentPage: number;
|
|
872
872
|
totalPages: number;
|
|
873
873
|
}, {
|
|
874
|
+
limit: number;
|
|
874
875
|
items: {
|
|
875
|
-
status: "
|
|
876
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
876
877
|
id: string;
|
|
878
|
+
createdAt: string | Date;
|
|
879
|
+
updatedAt: string | Date;
|
|
877
880
|
name: string;
|
|
878
881
|
crn: string;
|
|
879
882
|
govLink: string;
|
|
880
883
|
director: string;
|
|
881
|
-
|
|
884
|
+
blacklistReason?: string | null | undefined;
|
|
885
|
+
lastUpdatedBy?: {
|
|
882
886
|
id: string;
|
|
883
887
|
firstName: string;
|
|
884
888
|
lastName: string;
|
|
885
889
|
email: string;
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
updatedAt: string | Date;
|
|
889
|
-
agentClientLinks: {
|
|
890
|
+
} | null | undefined;
|
|
891
|
+
agentClientLinks?: {
|
|
890
892
|
agentId: string;
|
|
891
|
-
};
|
|
892
|
-
blacklistReason?: string | null | undefined;
|
|
893
|
+
} | null | undefined;
|
|
893
894
|
}[];
|
|
894
895
|
totalCount: number;
|
|
895
|
-
limit: number;
|
|
896
896
|
skip: number;
|
|
897
897
|
currentPage: number;
|
|
898
898
|
totalPages: number;
|
|
@@ -900,12 +900,6 @@ export declare const clientsContractRouter: {
|
|
|
900
900
|
};
|
|
901
901
|
};
|
|
902
902
|
autocomplete: {
|
|
903
|
-
metadata: {
|
|
904
|
-
tags: string[];
|
|
905
|
-
openApi: {
|
|
906
|
-
operationId: string;
|
|
907
|
-
};
|
|
908
|
-
};
|
|
909
903
|
query: z.ZodObject<{
|
|
910
904
|
query: z.ZodOptional<z.ZodString>;
|
|
911
905
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -916,8 +910,14 @@ export declare const clientsContractRouter: {
|
|
|
916
910
|
query?: string | undefined;
|
|
917
911
|
id?: string | undefined;
|
|
918
912
|
}>;
|
|
919
|
-
|
|
920
|
-
|
|
913
|
+
metadata: {
|
|
914
|
+
tags: string[];
|
|
915
|
+
openApi: {
|
|
916
|
+
operationId: string;
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
summary: "Get clients for autocomplete";
|
|
920
|
+
method: "GET";
|
|
921
921
|
path: "/v2/clients/autocomplete";
|
|
922
922
|
responses: {
|
|
923
923
|
400: z.ZodObject<{
|
|
@@ -929,19 +929,19 @@ export declare const clientsContractRouter: {
|
|
|
929
929
|
path: z.ZodString;
|
|
930
930
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
statusCode: number;
|
|
933
|
-
message: string;
|
|
934
932
|
code: string;
|
|
935
|
-
timestamp: string;
|
|
936
933
|
path: string;
|
|
934
|
+
message: string;
|
|
935
|
+
statusCode: number;
|
|
936
|
+
timestamp: string;
|
|
937
937
|
details?: unknown;
|
|
938
938
|
correlationId?: string | undefined;
|
|
939
939
|
}, {
|
|
940
|
-
statusCode: number;
|
|
941
|
-
message: string;
|
|
942
940
|
code: string;
|
|
943
|
-
timestamp: string;
|
|
944
941
|
path: string;
|
|
942
|
+
message: string;
|
|
943
|
+
statusCode: number;
|
|
944
|
+
timestamp: string;
|
|
945
945
|
details?: unknown;
|
|
946
946
|
correlationId?: string | undefined;
|
|
947
947
|
}>;
|
|
@@ -954,19 +954,19 @@ export declare const clientsContractRouter: {
|
|
|
954
954
|
path: z.ZodString;
|
|
955
955
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
956
956
|
}, "strip", z.ZodTypeAny, {
|
|
957
|
-
statusCode: number;
|
|
958
|
-
message: string;
|
|
959
957
|
code: string;
|
|
960
|
-
timestamp: string;
|
|
961
958
|
path: string;
|
|
959
|
+
message: string;
|
|
960
|
+
statusCode: number;
|
|
961
|
+
timestamp: string;
|
|
962
962
|
details?: unknown;
|
|
963
963
|
correlationId?: string | undefined;
|
|
964
964
|
}, {
|
|
965
|
-
statusCode: number;
|
|
966
|
-
message: string;
|
|
967
965
|
code: string;
|
|
968
|
-
timestamp: string;
|
|
969
966
|
path: string;
|
|
967
|
+
message: string;
|
|
968
|
+
statusCode: number;
|
|
969
|
+
timestamp: string;
|
|
970
970
|
details?: unknown;
|
|
971
971
|
correlationId?: string | undefined;
|
|
972
972
|
}>;
|
|
@@ -979,19 +979,19 @@ export declare const clientsContractRouter: {
|
|
|
979
979
|
path: z.ZodString;
|
|
980
980
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
statusCode: number;
|
|
983
|
-
message: string;
|
|
984
982
|
code: string;
|
|
985
|
-
timestamp: string;
|
|
986
983
|
path: string;
|
|
984
|
+
message: string;
|
|
985
|
+
statusCode: number;
|
|
986
|
+
timestamp: string;
|
|
987
987
|
details?: unknown;
|
|
988
988
|
correlationId?: string | undefined;
|
|
989
989
|
}, {
|
|
990
|
-
statusCode: number;
|
|
991
|
-
message: string;
|
|
992
990
|
code: string;
|
|
993
|
-
timestamp: string;
|
|
994
991
|
path: string;
|
|
992
|
+
message: string;
|
|
993
|
+
statusCode: number;
|
|
994
|
+
timestamp: string;
|
|
995
995
|
details?: unknown;
|
|
996
996
|
correlationId?: string | undefined;
|
|
997
997
|
}>;
|
|
@@ -1004,19 +1004,19 @@ export declare const clientsContractRouter: {
|
|
|
1004
1004
|
path: z.ZodString;
|
|
1005
1005
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
|
-
statusCode: number;
|
|
1008
|
-
message: string;
|
|
1009
1007
|
code: string;
|
|
1010
|
-
timestamp: string;
|
|
1011
1008
|
path: string;
|
|
1009
|
+
message: string;
|
|
1010
|
+
statusCode: number;
|
|
1011
|
+
timestamp: string;
|
|
1012
1012
|
details?: unknown;
|
|
1013
1013
|
correlationId?: string | undefined;
|
|
1014
1014
|
}, {
|
|
1015
|
-
statusCode: number;
|
|
1016
|
-
message: string;
|
|
1017
1015
|
code: string;
|
|
1018
|
-
timestamp: string;
|
|
1019
1016
|
path: string;
|
|
1017
|
+
message: string;
|
|
1018
|
+
statusCode: number;
|
|
1019
|
+
timestamp: string;
|
|
1020
1020
|
details?: unknown;
|
|
1021
1021
|
correlationId?: string | undefined;
|
|
1022
1022
|
}>;
|
|
@@ -1059,19 +1059,19 @@ export declare const clientsContractRouter: {
|
|
|
1059
1059
|
path: z.ZodString;
|
|
1060
1060
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
statusCode: number;
|
|
1063
|
-
message: string;
|
|
1064
1062
|
code: string;
|
|
1065
|
-
timestamp: string;
|
|
1066
1063
|
path: string;
|
|
1064
|
+
message: string;
|
|
1065
|
+
statusCode: number;
|
|
1066
|
+
timestamp: string;
|
|
1067
1067
|
details?: unknown;
|
|
1068
1068
|
correlationId?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
|
-
statusCode: number;
|
|
1071
|
-
message: string;
|
|
1072
1070
|
code: string;
|
|
1073
|
-
timestamp: string;
|
|
1074
1071
|
path: string;
|
|
1072
|
+
message: string;
|
|
1073
|
+
statusCode: number;
|
|
1074
|
+
timestamp: string;
|
|
1075
1075
|
details?: unknown;
|
|
1076
1076
|
correlationId?: string | undefined;
|
|
1077
1077
|
}>;
|
|
@@ -1084,19 +1084,19 @@ export declare const clientsContractRouter: {
|
|
|
1084
1084
|
path: z.ZodString;
|
|
1085
1085
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1086
1086
|
}, "strip", z.ZodTypeAny, {
|
|
1087
|
-
statusCode: number;
|
|
1088
|
-
message: string;
|
|
1089
1087
|
code: string;
|
|
1090
|
-
timestamp: string;
|
|
1091
1088
|
path: string;
|
|
1089
|
+
message: string;
|
|
1090
|
+
statusCode: number;
|
|
1091
|
+
timestamp: string;
|
|
1092
1092
|
details?: unknown;
|
|
1093
1093
|
correlationId?: string | undefined;
|
|
1094
1094
|
}, {
|
|
1095
|
-
statusCode: number;
|
|
1096
|
-
message: string;
|
|
1097
1095
|
code: string;
|
|
1098
|
-
timestamp: string;
|
|
1099
1096
|
path: string;
|
|
1097
|
+
message: string;
|
|
1098
|
+
statusCode: number;
|
|
1099
|
+
timestamp: string;
|
|
1100
1100
|
details?: unknown;
|
|
1101
1101
|
correlationId?: string | undefined;
|
|
1102
1102
|
}>;
|
|
@@ -1109,19 +1109,19 @@ export declare const clientsContractRouter: {
|
|
|
1109
1109
|
path: z.ZodString;
|
|
1110
1110
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1111
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1112
|
-
statusCode: number;
|
|
1113
|
-
message: string;
|
|
1114
1112
|
code: string;
|
|
1115
|
-
timestamp: string;
|
|
1116
1113
|
path: string;
|
|
1114
|
+
message: string;
|
|
1115
|
+
statusCode: number;
|
|
1116
|
+
timestamp: string;
|
|
1117
1117
|
details?: unknown;
|
|
1118
1118
|
correlationId?: string | undefined;
|
|
1119
1119
|
}, {
|
|
1120
|
-
statusCode: number;
|
|
1121
|
-
message: string;
|
|
1122
1120
|
code: string;
|
|
1123
|
-
timestamp: string;
|
|
1124
1121
|
path: string;
|
|
1122
|
+
message: string;
|
|
1123
|
+
statusCode: number;
|
|
1124
|
+
timestamp: string;
|
|
1125
1125
|
details?: unknown;
|
|
1126
1126
|
correlationId?: string | undefined;
|
|
1127
1127
|
}>;
|
|
@@ -1134,19 +1134,19 @@ export declare const clientsContractRouter: {
|
|
|
1134
1134
|
path: z.ZodString;
|
|
1135
1135
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1136
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1137
|
-
statusCode: number;
|
|
1138
|
-
message: string;
|
|
1139
1137
|
code: string;
|
|
1140
|
-
timestamp: string;
|
|
1141
1138
|
path: string;
|
|
1139
|
+
message: string;
|
|
1140
|
+
statusCode: number;
|
|
1141
|
+
timestamp: string;
|
|
1142
1142
|
details?: unknown;
|
|
1143
1143
|
correlationId?: string | undefined;
|
|
1144
1144
|
}, {
|
|
1145
|
-
statusCode: number;
|
|
1146
|
-
message: string;
|
|
1147
1145
|
code: string;
|
|
1148
|
-
timestamp: string;
|
|
1149
1146
|
path: string;
|
|
1147
|
+
message: string;
|
|
1148
|
+
statusCode: number;
|
|
1149
|
+
timestamp: string;
|
|
1150
1150
|
details?: unknown;
|
|
1151
1151
|
correlationId?: string | undefined;
|
|
1152
1152
|
}>;
|
|
@@ -1158,7 +1158,7 @@ export declare const clientsContractRouter: {
|
|
|
1158
1158
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1159
1159
|
director: z.ZodString;
|
|
1160
1160
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1161
|
-
lastUpdatedBy: z.ZodObject<{
|
|
1161
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1162
1162
|
id: z.ZodString;
|
|
1163
1163
|
firstName: z.ZodString;
|
|
1164
1164
|
lastName: z.ZodString;
|
|
@@ -1173,54 +1173,54 @@ export declare const clientsContractRouter: {
|
|
|
1173
1173
|
firstName: string;
|
|
1174
1174
|
lastName: string;
|
|
1175
1175
|
email: string;
|
|
1176
|
-
}
|
|
1176
|
+
}>>>;
|
|
1177
1177
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1178
1178
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1179
|
-
agentClientLinks: z.ZodObject<{
|
|
1179
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1180
1180
|
agentId: z.ZodString;
|
|
1181
1181
|
}, "strip", z.ZodTypeAny, {
|
|
1182
1182
|
agentId: string;
|
|
1183
1183
|
}, {
|
|
1184
1184
|
agentId: string;
|
|
1185
|
-
}
|
|
1185
|
+
}>>>;
|
|
1186
1186
|
}, "strip", z.ZodTypeAny, {
|
|
1187
|
-
status: "
|
|
1187
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1188
1188
|
id: string;
|
|
1189
|
+
createdAt: string;
|
|
1190
|
+
updatedAt: string;
|
|
1189
1191
|
name: string;
|
|
1190
1192
|
crn: string;
|
|
1191
1193
|
govLink: string;
|
|
1192
1194
|
director: string;
|
|
1193
|
-
|
|
1195
|
+
blacklistReason?: string | null | undefined;
|
|
1196
|
+
lastUpdatedBy?: {
|
|
1194
1197
|
id: string;
|
|
1195
1198
|
firstName: string;
|
|
1196
1199
|
lastName: string;
|
|
1197
1200
|
email: string;
|
|
1198
|
-
};
|
|
1199
|
-
|
|
1200
|
-
updatedAt: string;
|
|
1201
|
-
agentClientLinks: {
|
|
1201
|
+
} | null | undefined;
|
|
1202
|
+
agentClientLinks?: {
|
|
1202
1203
|
agentId: string;
|
|
1203
|
-
};
|
|
1204
|
-
blacklistReason?: string | null | undefined;
|
|
1204
|
+
} | null | undefined;
|
|
1205
1205
|
}, {
|
|
1206
|
-
status: "
|
|
1206
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1207
1207
|
id: string;
|
|
1208
|
+
createdAt: string | Date;
|
|
1209
|
+
updatedAt: string | Date;
|
|
1208
1210
|
name: string;
|
|
1209
1211
|
crn: string;
|
|
1210
1212
|
govLink: string;
|
|
1211
1213
|
director: string;
|
|
1212
|
-
|
|
1214
|
+
blacklistReason?: string | null | undefined;
|
|
1215
|
+
lastUpdatedBy?: {
|
|
1213
1216
|
id: string;
|
|
1214
1217
|
firstName: string;
|
|
1215
1218
|
lastName: string;
|
|
1216
1219
|
email: string;
|
|
1217
|
-
};
|
|
1218
|
-
|
|
1219
|
-
updatedAt: string | Date;
|
|
1220
|
-
agentClientLinks: {
|
|
1220
|
+
} | null | undefined;
|
|
1221
|
+
agentClientLinks?: {
|
|
1221
1222
|
agentId: string;
|
|
1222
|
-
};
|
|
1223
|
-
blacklistReason?: string | null | undefined;
|
|
1223
|
+
} | null | undefined;
|
|
1224
1224
|
}>;
|
|
1225
1225
|
404: z.ZodObject<{
|
|
1226
1226
|
statusCode: z.ZodNumber;
|
|
@@ -1231,19 +1231,19 @@ export declare const clientsContractRouter: {
|
|
|
1231
1231
|
path: z.ZodString;
|
|
1232
1232
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1233
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1234
|
-
statusCode: number;
|
|
1235
|
-
message: string;
|
|
1236
1234
|
code: string;
|
|
1237
|
-
timestamp: string;
|
|
1238
1235
|
path: string;
|
|
1236
|
+
message: string;
|
|
1237
|
+
statusCode: number;
|
|
1238
|
+
timestamp: string;
|
|
1239
1239
|
details?: unknown;
|
|
1240
1240
|
correlationId?: string | undefined;
|
|
1241
1241
|
}, {
|
|
1242
|
-
statusCode: number;
|
|
1243
|
-
message: string;
|
|
1244
1242
|
code: string;
|
|
1245
|
-
timestamp: string;
|
|
1246
1243
|
path: string;
|
|
1244
|
+
message: string;
|
|
1245
|
+
statusCode: number;
|
|
1246
|
+
timestamp: string;
|
|
1247
1247
|
details?: unknown;
|
|
1248
1248
|
correlationId?: string | undefined;
|
|
1249
1249
|
}>;
|
|
@@ -1272,29 +1272,29 @@ export declare const clientsContractRouter: {
|
|
|
1272
1272
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
1273
1273
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1274
1274
|
}, "strip", z.ZodTypeAny, {
|
|
1275
|
-
status?: "
|
|
1275
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1276
1276
|
name?: string | undefined;
|
|
1277
|
+
blacklistReason?: string | null | undefined;
|
|
1277
1278
|
govLink?: string | undefined;
|
|
1278
1279
|
director?: string | undefined;
|
|
1279
|
-
blacklistReason?: string | null | undefined;
|
|
1280
1280
|
}, {
|
|
1281
|
-
status?: "
|
|
1281
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1282
1282
|
name?: string | undefined;
|
|
1283
|
+
blacklistReason?: string | null | undefined;
|
|
1283
1284
|
govLink?: string | undefined;
|
|
1284
1285
|
director?: string | undefined;
|
|
1285
|
-
blacklistReason?: string | null | undefined;
|
|
1286
1286
|
}>, {
|
|
1287
|
-
status?: "
|
|
1287
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1288
1288
|
name?: string | undefined;
|
|
1289
|
+
blacklistReason?: string | null | undefined;
|
|
1289
1290
|
govLink?: string | undefined;
|
|
1290
1291
|
director?: string | undefined;
|
|
1291
|
-
blacklistReason?: string | null | undefined;
|
|
1292
1292
|
}, {
|
|
1293
|
-
status?: "
|
|
1293
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1294
1294
|
name?: string | undefined;
|
|
1295
|
+
blacklistReason?: string | null | undefined;
|
|
1295
1296
|
govLink?: string | undefined;
|
|
1296
1297
|
director?: string | undefined;
|
|
1297
|
-
blacklistReason?: string | null | undefined;
|
|
1298
1298
|
}>;
|
|
1299
1299
|
path: "/v2/clients/:id";
|
|
1300
1300
|
responses: {
|
|
@@ -1307,19 +1307,19 @@ export declare const clientsContractRouter: {
|
|
|
1307
1307
|
path: z.ZodString;
|
|
1308
1308
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1309
1309
|
}, "strip", z.ZodTypeAny, {
|
|
1310
|
-
statusCode: number;
|
|
1311
|
-
message: string;
|
|
1312
1310
|
code: string;
|
|
1313
|
-
timestamp: string;
|
|
1314
1311
|
path: string;
|
|
1312
|
+
message: string;
|
|
1313
|
+
statusCode: number;
|
|
1314
|
+
timestamp: string;
|
|
1315
1315
|
details?: unknown;
|
|
1316
1316
|
correlationId?: string | undefined;
|
|
1317
1317
|
}, {
|
|
1318
|
-
statusCode: number;
|
|
1319
|
-
message: string;
|
|
1320
1318
|
code: string;
|
|
1321
|
-
timestamp: string;
|
|
1322
1319
|
path: string;
|
|
1320
|
+
message: string;
|
|
1321
|
+
statusCode: number;
|
|
1322
|
+
timestamp: string;
|
|
1323
1323
|
details?: unknown;
|
|
1324
1324
|
correlationId?: string | undefined;
|
|
1325
1325
|
}>;
|
|
@@ -1332,19 +1332,19 @@ export declare const clientsContractRouter: {
|
|
|
1332
1332
|
path: z.ZodString;
|
|
1333
1333
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1334
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1335
|
-
statusCode: number;
|
|
1336
|
-
message: string;
|
|
1337
1335
|
code: string;
|
|
1338
|
-
timestamp: string;
|
|
1339
1336
|
path: string;
|
|
1337
|
+
message: string;
|
|
1338
|
+
statusCode: number;
|
|
1339
|
+
timestamp: string;
|
|
1340
1340
|
details?: unknown;
|
|
1341
1341
|
correlationId?: string | undefined;
|
|
1342
1342
|
}, {
|
|
1343
|
-
statusCode: number;
|
|
1344
|
-
message: string;
|
|
1345
1343
|
code: string;
|
|
1346
|
-
timestamp: string;
|
|
1347
1344
|
path: string;
|
|
1345
|
+
message: string;
|
|
1346
|
+
statusCode: number;
|
|
1347
|
+
timestamp: string;
|
|
1348
1348
|
details?: unknown;
|
|
1349
1349
|
correlationId?: string | undefined;
|
|
1350
1350
|
}>;
|
|
@@ -1357,19 +1357,19 @@ export declare const clientsContractRouter: {
|
|
|
1357
1357
|
path: z.ZodString;
|
|
1358
1358
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1359
1359
|
}, "strip", z.ZodTypeAny, {
|
|
1360
|
-
statusCode: number;
|
|
1361
|
-
message: string;
|
|
1362
1360
|
code: string;
|
|
1363
|
-
timestamp: string;
|
|
1364
1361
|
path: string;
|
|
1362
|
+
message: string;
|
|
1363
|
+
statusCode: number;
|
|
1364
|
+
timestamp: string;
|
|
1365
1365
|
details?: unknown;
|
|
1366
1366
|
correlationId?: string | undefined;
|
|
1367
1367
|
}, {
|
|
1368
|
-
statusCode: number;
|
|
1369
|
-
message: string;
|
|
1370
1368
|
code: string;
|
|
1371
|
-
timestamp: string;
|
|
1372
1369
|
path: string;
|
|
1370
|
+
message: string;
|
|
1371
|
+
statusCode: number;
|
|
1372
|
+
timestamp: string;
|
|
1373
1373
|
details?: unknown;
|
|
1374
1374
|
correlationId?: string | undefined;
|
|
1375
1375
|
}>;
|
|
@@ -1382,19 +1382,19 @@ export declare const clientsContractRouter: {
|
|
|
1382
1382
|
path: z.ZodString;
|
|
1383
1383
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1384
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1385
|
-
statusCode: number;
|
|
1386
|
-
message: string;
|
|
1387
1385
|
code: string;
|
|
1388
|
-
timestamp: string;
|
|
1389
1386
|
path: string;
|
|
1387
|
+
message: string;
|
|
1388
|
+
statusCode: number;
|
|
1389
|
+
timestamp: string;
|
|
1390
1390
|
details?: unknown;
|
|
1391
1391
|
correlationId?: string | undefined;
|
|
1392
1392
|
}, {
|
|
1393
|
-
statusCode: number;
|
|
1394
|
-
message: string;
|
|
1395
1393
|
code: string;
|
|
1396
|
-
timestamp: string;
|
|
1397
1394
|
path: string;
|
|
1395
|
+
message: string;
|
|
1396
|
+
statusCode: number;
|
|
1397
|
+
timestamp: string;
|
|
1398
1398
|
details?: unknown;
|
|
1399
1399
|
correlationId?: string | undefined;
|
|
1400
1400
|
}>;
|
|
@@ -1406,7 +1406,7 @@ export declare const clientsContractRouter: {
|
|
|
1406
1406
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1407
1407
|
director: z.ZodString;
|
|
1408
1408
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1409
|
-
lastUpdatedBy: z.ZodObject<{
|
|
1409
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1410
1410
|
id: z.ZodString;
|
|
1411
1411
|
firstName: z.ZodString;
|
|
1412
1412
|
lastName: z.ZodString;
|
|
@@ -1421,54 +1421,54 @@ export declare const clientsContractRouter: {
|
|
|
1421
1421
|
firstName: string;
|
|
1422
1422
|
lastName: string;
|
|
1423
1423
|
email: string;
|
|
1424
|
-
}
|
|
1424
|
+
}>>>;
|
|
1425
1425
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1426
1426
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1427
|
-
agentClientLinks: z.ZodObject<{
|
|
1427
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1428
1428
|
agentId: z.ZodString;
|
|
1429
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1430
1430
|
agentId: string;
|
|
1431
1431
|
}, {
|
|
1432
1432
|
agentId: string;
|
|
1433
|
-
}
|
|
1433
|
+
}>>>;
|
|
1434
1434
|
}, "strip", z.ZodTypeAny, {
|
|
1435
|
-
status: "
|
|
1435
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1436
1436
|
id: string;
|
|
1437
|
+
createdAt: string;
|
|
1438
|
+
updatedAt: string;
|
|
1437
1439
|
name: string;
|
|
1438
1440
|
crn: string;
|
|
1439
1441
|
govLink: string;
|
|
1440
1442
|
director: string;
|
|
1441
|
-
|
|
1443
|
+
blacklistReason?: string | null | undefined;
|
|
1444
|
+
lastUpdatedBy?: {
|
|
1442
1445
|
id: string;
|
|
1443
1446
|
firstName: string;
|
|
1444
1447
|
lastName: string;
|
|
1445
1448
|
email: string;
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
updatedAt: string;
|
|
1449
|
-
agentClientLinks: {
|
|
1449
|
+
} | null | undefined;
|
|
1450
|
+
agentClientLinks?: {
|
|
1450
1451
|
agentId: string;
|
|
1451
|
-
};
|
|
1452
|
-
blacklistReason?: string | null | undefined;
|
|
1452
|
+
} | null | undefined;
|
|
1453
1453
|
}, {
|
|
1454
|
-
status: "
|
|
1454
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1455
1455
|
id: string;
|
|
1456
|
+
createdAt: string | Date;
|
|
1457
|
+
updatedAt: string | Date;
|
|
1456
1458
|
name: string;
|
|
1457
1459
|
crn: string;
|
|
1458
1460
|
govLink: string;
|
|
1459
1461
|
director: string;
|
|
1460
|
-
|
|
1462
|
+
blacklistReason?: string | null | undefined;
|
|
1463
|
+
lastUpdatedBy?: {
|
|
1461
1464
|
id: string;
|
|
1462
1465
|
firstName: string;
|
|
1463
1466
|
lastName: string;
|
|
1464
1467
|
email: string;
|
|
1465
|
-
};
|
|
1466
|
-
|
|
1467
|
-
updatedAt: string | Date;
|
|
1468
|
-
agentClientLinks: {
|
|
1468
|
+
} | null | undefined;
|
|
1469
|
+
agentClientLinks?: {
|
|
1469
1470
|
agentId: string;
|
|
1470
|
-
};
|
|
1471
|
-
blacklistReason?: string | null | undefined;
|
|
1471
|
+
} | null | undefined;
|
|
1472
1472
|
}>;
|
|
1473
1473
|
404: z.ZodObject<{
|
|
1474
1474
|
statusCode: z.ZodNumber;
|
|
@@ -1479,19 +1479,19 @@ export declare const clientsContractRouter: {
|
|
|
1479
1479
|
path: z.ZodString;
|
|
1480
1480
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1481
1481
|
}, "strip", z.ZodTypeAny, {
|
|
1482
|
-
statusCode: number;
|
|
1483
|
-
message: string;
|
|
1484
1482
|
code: string;
|
|
1485
|
-
timestamp: string;
|
|
1486
1483
|
path: string;
|
|
1484
|
+
message: string;
|
|
1485
|
+
statusCode: number;
|
|
1486
|
+
timestamp: string;
|
|
1487
1487
|
details?: unknown;
|
|
1488
1488
|
correlationId?: string | undefined;
|
|
1489
1489
|
}, {
|
|
1490
|
-
statusCode: number;
|
|
1491
|
-
message: string;
|
|
1492
1490
|
code: string;
|
|
1493
|
-
timestamp: string;
|
|
1494
1491
|
path: string;
|
|
1492
|
+
message: string;
|
|
1493
|
+
statusCode: number;
|
|
1494
|
+
timestamp: string;
|
|
1495
1495
|
details?: unknown;
|
|
1496
1496
|
correlationId?: string | undefined;
|
|
1497
1497
|
}>;
|
|
@@ -1504,19 +1504,19 @@ export declare const clientsContractRouter: {
|
|
|
1504
1504
|
path: z.ZodString;
|
|
1505
1505
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1506
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1507
|
-
statusCode: number;
|
|
1508
|
-
message: string;
|
|
1509
1507
|
code: string;
|
|
1510
|
-
timestamp: string;
|
|
1511
1508
|
path: string;
|
|
1509
|
+
message: string;
|
|
1510
|
+
statusCode: number;
|
|
1511
|
+
timestamp: string;
|
|
1512
1512
|
details?: unknown;
|
|
1513
1513
|
correlationId?: string | undefined;
|
|
1514
1514
|
}, {
|
|
1515
|
-
statusCode: number;
|
|
1516
|
-
message: string;
|
|
1517
1515
|
code: string;
|
|
1518
|
-
timestamp: string;
|
|
1519
1516
|
path: string;
|
|
1517
|
+
message: string;
|
|
1518
|
+
statusCode: number;
|
|
1519
|
+
timestamp: string;
|
|
1520
1520
|
details?: unknown;
|
|
1521
1521
|
correlationId?: string | undefined;
|
|
1522
1522
|
}>;
|
|
@@ -1550,19 +1550,19 @@ export declare const clientsContractRouter: {
|
|
|
1550
1550
|
path: z.ZodString;
|
|
1551
1551
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1552
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1553
|
-
statusCode: number;
|
|
1554
|
-
message: string;
|
|
1555
1553
|
code: string;
|
|
1556
|
-
timestamp: string;
|
|
1557
1554
|
path: string;
|
|
1555
|
+
message: string;
|
|
1556
|
+
statusCode: number;
|
|
1557
|
+
timestamp: string;
|
|
1558
1558
|
details?: unknown;
|
|
1559
1559
|
correlationId?: string | undefined;
|
|
1560
1560
|
}, {
|
|
1561
|
-
statusCode: number;
|
|
1562
|
-
message: string;
|
|
1563
1561
|
code: string;
|
|
1564
|
-
timestamp: string;
|
|
1565
1562
|
path: string;
|
|
1563
|
+
message: string;
|
|
1564
|
+
statusCode: number;
|
|
1565
|
+
timestamp: string;
|
|
1566
1566
|
details?: unknown;
|
|
1567
1567
|
correlationId?: string | undefined;
|
|
1568
1568
|
}>;
|
|
@@ -1575,19 +1575,19 @@ export declare const clientsContractRouter: {
|
|
|
1575
1575
|
path: z.ZodString;
|
|
1576
1576
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1577
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1578
|
-
statusCode: number;
|
|
1579
|
-
message: string;
|
|
1580
1578
|
code: string;
|
|
1581
|
-
timestamp: string;
|
|
1582
1579
|
path: string;
|
|
1580
|
+
message: string;
|
|
1581
|
+
statusCode: number;
|
|
1582
|
+
timestamp: string;
|
|
1583
1583
|
details?: unknown;
|
|
1584
1584
|
correlationId?: string | undefined;
|
|
1585
1585
|
}, {
|
|
1586
|
-
statusCode: number;
|
|
1587
|
-
message: string;
|
|
1588
1586
|
code: string;
|
|
1589
|
-
timestamp: string;
|
|
1590
1587
|
path: string;
|
|
1588
|
+
message: string;
|
|
1589
|
+
statusCode: number;
|
|
1590
|
+
timestamp: string;
|
|
1591
1591
|
details?: unknown;
|
|
1592
1592
|
correlationId?: string | undefined;
|
|
1593
1593
|
}>;
|
|
@@ -1600,19 +1600,19 @@ export declare const clientsContractRouter: {
|
|
|
1600
1600
|
path: z.ZodString;
|
|
1601
1601
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1602
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1603
|
-
statusCode: number;
|
|
1604
|
-
message: string;
|
|
1605
1603
|
code: string;
|
|
1606
|
-
timestamp: string;
|
|
1607
1604
|
path: string;
|
|
1605
|
+
message: string;
|
|
1606
|
+
statusCode: number;
|
|
1607
|
+
timestamp: string;
|
|
1608
1608
|
details?: unknown;
|
|
1609
1609
|
correlationId?: string | undefined;
|
|
1610
1610
|
}, {
|
|
1611
|
-
statusCode: number;
|
|
1612
|
-
message: string;
|
|
1613
1611
|
code: string;
|
|
1614
|
-
timestamp: string;
|
|
1615
1612
|
path: string;
|
|
1613
|
+
message: string;
|
|
1614
|
+
statusCode: number;
|
|
1615
|
+
timestamp: string;
|
|
1616
1616
|
details?: unknown;
|
|
1617
1617
|
correlationId?: string | undefined;
|
|
1618
1618
|
}>;
|
|
@@ -1625,19 +1625,19 @@ export declare const clientsContractRouter: {
|
|
|
1625
1625
|
path: z.ZodString;
|
|
1626
1626
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1627
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
statusCode: number;
|
|
1629
|
-
message: string;
|
|
1630
1628
|
code: string;
|
|
1631
|
-
timestamp: string;
|
|
1632
1629
|
path: string;
|
|
1630
|
+
message: string;
|
|
1631
|
+
statusCode: number;
|
|
1632
|
+
timestamp: string;
|
|
1633
1633
|
details?: unknown;
|
|
1634
1634
|
correlationId?: string | undefined;
|
|
1635
1635
|
}, {
|
|
1636
|
-
statusCode: number;
|
|
1637
|
-
message: string;
|
|
1638
1636
|
code: string;
|
|
1639
|
-
timestamp: string;
|
|
1640
1637
|
path: string;
|
|
1638
|
+
message: string;
|
|
1639
|
+
statusCode: number;
|
|
1640
|
+
timestamp: string;
|
|
1641
1641
|
details?: unknown;
|
|
1642
1642
|
correlationId?: string | undefined;
|
|
1643
1643
|
}>;
|
|
@@ -1651,19 +1651,19 @@ export declare const clientsContractRouter: {
|
|
|
1651
1651
|
path: z.ZodString;
|
|
1652
1652
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1653
1653
|
}, "strip", z.ZodTypeAny, {
|
|
1654
|
-
statusCode: number;
|
|
1655
|
-
message: string;
|
|
1656
1654
|
code: string;
|
|
1657
|
-
timestamp: string;
|
|
1658
1655
|
path: string;
|
|
1656
|
+
message: string;
|
|
1657
|
+
statusCode: number;
|
|
1658
|
+
timestamp: string;
|
|
1659
1659
|
details?: unknown;
|
|
1660
1660
|
correlationId?: string | undefined;
|
|
1661
1661
|
}, {
|
|
1662
|
-
statusCode: number;
|
|
1663
|
-
message: string;
|
|
1664
1662
|
code: string;
|
|
1665
|
-
timestamp: string;
|
|
1666
1663
|
path: string;
|
|
1664
|
+
message: string;
|
|
1665
|
+
statusCode: number;
|
|
1666
|
+
timestamp: string;
|
|
1667
1667
|
details?: unknown;
|
|
1668
1668
|
correlationId?: string | undefined;
|
|
1669
1669
|
}>;
|