@dakkitor/api-contracts 1.1.123 → 1.1.124
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/abilities/second-agent.abilities.json +17 -3
- package/dist/actives/actives.contract.d.ts +6094 -6094
- package/dist/agent-client-links/agent-client-links.contract.d.ts +367 -367
- package/dist/bookings/bookings.contract.d.ts +23078 -23006
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +3 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +477 -477
- package/dist/clients/clients.contract.d.ts +224 -188
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +3 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1534 -1534
- package/dist/collaborations/collaborations.contract.d.ts +1265 -1265
- package/dist/dashboards/dashboard-widgets.contract.d.ts +34 -34
- package/dist/jobs/jobs.contract.d.ts +2882 -2846
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +3 -0
- package/package.json +1 -1
|
@@ -9,15 +9,15 @@ export declare const ClientUserSchema: z.ZodObject<{
|
|
|
9
9
|
lastName: z.ZodString;
|
|
10
10
|
email: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
email: string;
|
|
12
13
|
id: string;
|
|
13
14
|
firstName: string;
|
|
14
15
|
lastName: string;
|
|
15
|
-
email: string;
|
|
16
16
|
}, {
|
|
17
|
+
email: string;
|
|
17
18
|
id: string;
|
|
18
19
|
firstName: string;
|
|
19
20
|
lastName: string;
|
|
20
|
-
email: string;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const ClientSchema: z.ZodObject<{
|
|
23
23
|
id: z.ZodString;
|
|
@@ -34,15 +34,15 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
34
34
|
lastName: z.ZodString;
|
|
35
35
|
email: z.ZodString;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
email: string;
|
|
37
38
|
id: string;
|
|
38
39
|
firstName: string;
|
|
39
40
|
lastName: string;
|
|
40
|
-
email: string;
|
|
41
41
|
}, {
|
|
42
|
+
email: string;
|
|
42
43
|
id: string;
|
|
43
44
|
firstName: string;
|
|
44
45
|
lastName: string;
|
|
45
|
-
email: string;
|
|
46
46
|
}>>>;
|
|
47
47
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
48
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -54,44 +54,44 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
54
54
|
agentId: string;
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
id: string;
|
|
58
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
59
57
|
name: string;
|
|
60
|
-
director: string;
|
|
61
58
|
createdAt: string;
|
|
62
59
|
updatedAt: string;
|
|
60
|
+
id: string;
|
|
61
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
63
62
|
crn: string | null;
|
|
64
63
|
govLink: string;
|
|
64
|
+
director: string;
|
|
65
65
|
soleTrader: boolean;
|
|
66
66
|
blacklistReason?: string | null | undefined;
|
|
67
|
+
agentClientLinks?: {
|
|
68
|
+
agentId: string;
|
|
69
|
+
} | null | undefined;
|
|
67
70
|
lastUpdatedBy?: {
|
|
71
|
+
email: string;
|
|
68
72
|
id: string;
|
|
69
73
|
firstName: string;
|
|
70
74
|
lastName: string;
|
|
71
|
-
email: string;
|
|
72
|
-
} | null | undefined;
|
|
73
|
-
agentClientLinks?: {
|
|
74
|
-
agentId: string;
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
id: string;
|
|
78
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
79
77
|
name: string;
|
|
80
|
-
director: string;
|
|
81
78
|
createdAt: string | Date;
|
|
82
79
|
updatedAt: string | Date;
|
|
80
|
+
id: string;
|
|
81
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
83
82
|
crn: string | null;
|
|
84
83
|
govLink: string;
|
|
84
|
+
director: string;
|
|
85
85
|
soleTrader: boolean;
|
|
86
86
|
blacklistReason?: string | null | undefined;
|
|
87
|
+
agentClientLinks?: {
|
|
88
|
+
agentId: string;
|
|
89
|
+
} | null | undefined;
|
|
87
90
|
lastUpdatedBy?: {
|
|
91
|
+
email: string;
|
|
88
92
|
id: string;
|
|
89
93
|
firstName: string;
|
|
90
94
|
lastName: string;
|
|
91
|
-
email: string;
|
|
92
|
-
} | null | undefined;
|
|
93
|
-
agentClientLinks?: {
|
|
94
|
-
agentId: string;
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
export declare const CreateClientSchema: z.ZodObject<{
|
|
@@ -101,13 +101,13 @@ export declare const CreateClientSchema: z.ZodObject<{
|
|
|
101
101
|
director: z.ZodString;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
name: string;
|
|
104
|
-
director: string;
|
|
105
104
|
govLink: string;
|
|
105
|
+
director: string;
|
|
106
106
|
soleTrader: boolean;
|
|
107
107
|
}, {
|
|
108
108
|
name: string;
|
|
109
|
-
director: string;
|
|
110
109
|
govLink: string;
|
|
110
|
+
director: string;
|
|
111
111
|
soleTrader?: boolean | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
/**
|
|
@@ -121,16 +121,16 @@ export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
|
121
121
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
122
122
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
125
124
|
name?: string | undefined;
|
|
126
|
-
|
|
125
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
127
126
|
govLink?: string | undefined;
|
|
127
|
+
director?: string | undefined;
|
|
128
128
|
blacklistReason?: string | null | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
131
130
|
name?: string | undefined;
|
|
132
|
-
|
|
131
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
133
132
|
govLink?: string | undefined;
|
|
133
|
+
director?: string | undefined;
|
|
134
134
|
blacklistReason?: string | null | undefined;
|
|
135
135
|
}>;
|
|
136
136
|
/**
|
|
@@ -165,28 +165,28 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
165
165
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
166
166
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
169
168
|
name?: string | undefined;
|
|
170
|
-
|
|
169
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
171
170
|
govLink?: string | undefined;
|
|
171
|
+
director?: string | undefined;
|
|
172
172
|
blacklistReason?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
175
174
|
name?: string | undefined;
|
|
176
|
-
|
|
175
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
177
176
|
govLink?: string | undefined;
|
|
177
|
+
director?: string | undefined;
|
|
178
178
|
blacklistReason?: string | null | undefined;
|
|
179
179
|
}>, {
|
|
180
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
181
180
|
name?: string | undefined;
|
|
182
|
-
|
|
181
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
183
182
|
govLink?: string | undefined;
|
|
183
|
+
director?: string | undefined;
|
|
184
184
|
blacklistReason?: string | null | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
187
186
|
name?: string | undefined;
|
|
188
|
-
|
|
187
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
189
188
|
govLink?: string | undefined;
|
|
189
|
+
director?: string | undefined;
|
|
190
190
|
blacklistReason?: string | null | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
@@ -206,52 +206,70 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
206
206
|
from?: string | null | undefined;
|
|
207
207
|
to?: string | null | undefined;
|
|
208
208
|
}>>>;
|
|
209
|
+
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
210
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
from?: string | null | undefined;
|
|
214
|
+
to?: string | null | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
from?: string | null | undefined;
|
|
217
|
+
to?: string | null | undefined;
|
|
218
|
+
}>>>;
|
|
209
219
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
|
|
210
220
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
211
221
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
limit: number;
|
|
213
222
|
page: number;
|
|
214
|
-
|
|
223
|
+
limit: number;
|
|
215
224
|
name?: string | null | undefined;
|
|
216
|
-
|
|
225
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
226
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
217
227
|
createdAt?: {
|
|
218
228
|
from?: string | null | undefined;
|
|
219
229
|
to?: string | null | undefined;
|
|
220
230
|
} | null | undefined;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
231
|
+
updatedAt?: {
|
|
232
|
+
from?: string | null | undefined;
|
|
233
|
+
to?: string | null | undefined;
|
|
234
|
+
} | null | undefined;
|
|
224
235
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
225
|
-
name?: string | null | undefined;
|
|
226
236
|
director?: string | null | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
name?: string | null | undefined;
|
|
239
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
240
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
227
241
|
createdAt?: {
|
|
228
242
|
from?: string | null | undefined;
|
|
229
243
|
to?: string | null | undefined;
|
|
230
244
|
} | null | undefined;
|
|
231
|
-
|
|
245
|
+
updatedAt?: {
|
|
246
|
+
from?: string | null | undefined;
|
|
247
|
+
to?: string | null | undefined;
|
|
248
|
+
} | null | undefined;
|
|
232
249
|
page?: number | undefined;
|
|
233
|
-
|
|
234
|
-
|
|
250
|
+
limit?: number | undefined;
|
|
251
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
252
|
+
director?: string | null | undefined;
|
|
235
253
|
}>;
|
|
236
254
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
237
255
|
id: z.ZodString;
|
|
238
256
|
name: z.ZodString;
|
|
239
257
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
id: string;
|
|
241
258
|
name: string;
|
|
242
|
-
}, {
|
|
243
259
|
id: string;
|
|
260
|
+
}, {
|
|
244
261
|
name: string;
|
|
262
|
+
id: string;
|
|
245
263
|
}>;
|
|
246
264
|
export declare const ClientAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
247
265
|
id: z.ZodString;
|
|
248
266
|
name: z.ZodString;
|
|
249
267
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
id: string;
|
|
251
268
|
name: string;
|
|
252
|
-
}, {
|
|
253
269
|
id: string;
|
|
270
|
+
}, {
|
|
254
271
|
name: string;
|
|
272
|
+
id: string;
|
|
255
273
|
}>, "many">;
|
|
256
274
|
export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
257
275
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -269,15 +287,15 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
269
287
|
lastName: z.ZodString;
|
|
270
288
|
email: z.ZodString;
|
|
271
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
email: string;
|
|
272
291
|
id: string;
|
|
273
292
|
firstName: string;
|
|
274
293
|
lastName: string;
|
|
275
|
-
email: string;
|
|
276
294
|
}, {
|
|
295
|
+
email: string;
|
|
277
296
|
id: string;
|
|
278
297
|
firstName: string;
|
|
279
298
|
lastName: string;
|
|
280
|
-
email: string;
|
|
281
299
|
}>>>;
|
|
282
300
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
283
301
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -289,44 +307,44 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
289
307
|
agentId: string;
|
|
290
308
|
}>>>;
|
|
291
309
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
id: string;
|
|
293
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
294
310
|
name: string;
|
|
295
|
-
director: string;
|
|
296
311
|
createdAt: string;
|
|
297
312
|
updatedAt: string;
|
|
313
|
+
id: string;
|
|
314
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
298
315
|
crn: string | null;
|
|
299
316
|
govLink: string;
|
|
317
|
+
director: string;
|
|
300
318
|
soleTrader: boolean;
|
|
301
319
|
blacklistReason?: string | null | undefined;
|
|
320
|
+
agentClientLinks?: {
|
|
321
|
+
agentId: string;
|
|
322
|
+
} | null | undefined;
|
|
302
323
|
lastUpdatedBy?: {
|
|
324
|
+
email: string;
|
|
303
325
|
id: string;
|
|
304
326
|
firstName: string;
|
|
305
327
|
lastName: string;
|
|
306
|
-
email: string;
|
|
307
|
-
} | null | undefined;
|
|
308
|
-
agentClientLinks?: {
|
|
309
|
-
agentId: string;
|
|
310
328
|
} | null | undefined;
|
|
311
329
|
}, {
|
|
312
|
-
id: string;
|
|
313
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
314
330
|
name: string;
|
|
315
|
-
director: string;
|
|
316
331
|
createdAt: string | Date;
|
|
317
332
|
updatedAt: string | Date;
|
|
333
|
+
id: string;
|
|
334
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
318
335
|
crn: string | null;
|
|
319
336
|
govLink: string;
|
|
337
|
+
director: string;
|
|
320
338
|
soleTrader: boolean;
|
|
321
339
|
blacklistReason?: string | null | undefined;
|
|
340
|
+
agentClientLinks?: {
|
|
341
|
+
agentId: string;
|
|
342
|
+
} | null | undefined;
|
|
322
343
|
lastUpdatedBy?: {
|
|
344
|
+
email: string;
|
|
323
345
|
id: string;
|
|
324
346
|
firstName: string;
|
|
325
347
|
lastName: string;
|
|
326
|
-
email: string;
|
|
327
|
-
} | null | undefined;
|
|
328
|
-
agentClientLinks?: {
|
|
329
|
-
agentId: string;
|
|
330
348
|
} | null | undefined;
|
|
331
349
|
}>, "many">;
|
|
332
350
|
totalCount: z.ZodNumber;
|
|
@@ -337,24 +355,24 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
337
355
|
}, "strip", z.ZodTypeAny, {
|
|
338
356
|
limit: number;
|
|
339
357
|
items: {
|
|
340
|
-
id: string;
|
|
341
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
342
358
|
name: string;
|
|
343
|
-
director: string;
|
|
344
359
|
createdAt: string;
|
|
345
360
|
updatedAt: string;
|
|
361
|
+
id: string;
|
|
362
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
346
363
|
crn: string | null;
|
|
347
364
|
govLink: string;
|
|
365
|
+
director: string;
|
|
348
366
|
soleTrader: boolean;
|
|
349
367
|
blacklistReason?: string | null | undefined;
|
|
368
|
+
agentClientLinks?: {
|
|
369
|
+
agentId: string;
|
|
370
|
+
} | null | undefined;
|
|
350
371
|
lastUpdatedBy?: {
|
|
372
|
+
email: string;
|
|
351
373
|
id: string;
|
|
352
374
|
firstName: string;
|
|
353
375
|
lastName: string;
|
|
354
|
-
email: string;
|
|
355
|
-
} | null | undefined;
|
|
356
|
-
agentClientLinks?: {
|
|
357
|
-
agentId: string;
|
|
358
376
|
} | null | undefined;
|
|
359
377
|
}[];
|
|
360
378
|
totalCount: number;
|
|
@@ -364,24 +382,24 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
364
382
|
}, {
|
|
365
383
|
limit: number;
|
|
366
384
|
items: {
|
|
367
|
-
id: string;
|
|
368
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
369
385
|
name: string;
|
|
370
|
-
director: string;
|
|
371
386
|
createdAt: string | Date;
|
|
372
387
|
updatedAt: string | Date;
|
|
388
|
+
id: string;
|
|
389
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
373
390
|
crn: string | null;
|
|
374
391
|
govLink: string;
|
|
392
|
+
director: string;
|
|
375
393
|
soleTrader: boolean;
|
|
376
394
|
blacklistReason?: string | null | undefined;
|
|
395
|
+
agentClientLinks?: {
|
|
396
|
+
agentId: string;
|
|
397
|
+
} | null | undefined;
|
|
377
398
|
lastUpdatedBy?: {
|
|
399
|
+
email: string;
|
|
378
400
|
id: string;
|
|
379
401
|
firstName: string;
|
|
380
402
|
lastName: string;
|
|
381
|
-
email: string;
|
|
382
|
-
} | null | undefined;
|
|
383
|
-
agentClientLinks?: {
|
|
384
|
-
agentId: string;
|
|
385
403
|
} | null | undefined;
|
|
386
404
|
}[];
|
|
387
405
|
totalCount: number;
|
|
@@ -415,13 +433,13 @@ export declare const clientsContractRouter: {
|
|
|
415
433
|
director: z.ZodString;
|
|
416
434
|
}, "strip", z.ZodTypeAny, {
|
|
417
435
|
name: string;
|
|
418
|
-
director: string;
|
|
419
436
|
govLink: string;
|
|
437
|
+
director: string;
|
|
420
438
|
soleTrader: boolean;
|
|
421
439
|
}, {
|
|
422
440
|
name: string;
|
|
423
|
-
director: string;
|
|
424
441
|
govLink: string;
|
|
442
|
+
director: string;
|
|
425
443
|
soleTrader?: boolean | undefined;
|
|
426
444
|
}>;
|
|
427
445
|
path: "/v2/clients";
|
|
@@ -541,15 +559,15 @@ export declare const clientsContractRouter: {
|
|
|
541
559
|
lastName: z.ZodString;
|
|
542
560
|
email: z.ZodString;
|
|
543
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
+
email: string;
|
|
544
563
|
id: string;
|
|
545
564
|
firstName: string;
|
|
546
565
|
lastName: string;
|
|
547
|
-
email: string;
|
|
548
566
|
}, {
|
|
567
|
+
email: string;
|
|
549
568
|
id: string;
|
|
550
569
|
firstName: string;
|
|
551
570
|
lastName: string;
|
|
552
|
-
email: string;
|
|
553
571
|
}>>>;
|
|
554
572
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
555
573
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -561,44 +579,44 @@ export declare const clientsContractRouter: {
|
|
|
561
579
|
agentId: string;
|
|
562
580
|
}>>>;
|
|
563
581
|
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
id: string;
|
|
565
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
566
582
|
name: string;
|
|
567
|
-
director: string;
|
|
568
583
|
createdAt: string;
|
|
569
584
|
updatedAt: string;
|
|
585
|
+
id: string;
|
|
586
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
570
587
|
crn: string | null;
|
|
571
588
|
govLink: string;
|
|
589
|
+
director: string;
|
|
572
590
|
soleTrader: boolean;
|
|
573
591
|
blacklistReason?: string | null | undefined;
|
|
592
|
+
agentClientLinks?: {
|
|
593
|
+
agentId: string;
|
|
594
|
+
} | null | undefined;
|
|
574
595
|
lastUpdatedBy?: {
|
|
596
|
+
email: string;
|
|
575
597
|
id: string;
|
|
576
598
|
firstName: string;
|
|
577
599
|
lastName: string;
|
|
578
|
-
email: string;
|
|
579
|
-
} | null | undefined;
|
|
580
|
-
agentClientLinks?: {
|
|
581
|
-
agentId: string;
|
|
582
600
|
} | null | undefined;
|
|
583
601
|
}, {
|
|
584
|
-
id: string;
|
|
585
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
586
602
|
name: string;
|
|
587
|
-
director: string;
|
|
588
603
|
createdAt: string | Date;
|
|
589
604
|
updatedAt: string | Date;
|
|
605
|
+
id: string;
|
|
606
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
590
607
|
crn: string | null;
|
|
591
608
|
govLink: string;
|
|
609
|
+
director: string;
|
|
592
610
|
soleTrader: boolean;
|
|
593
611
|
blacklistReason?: string | null | undefined;
|
|
612
|
+
agentClientLinks?: {
|
|
613
|
+
agentId: string;
|
|
614
|
+
} | null | undefined;
|
|
594
615
|
lastUpdatedBy?: {
|
|
616
|
+
email: string;
|
|
595
617
|
id: string;
|
|
596
618
|
firstName: string;
|
|
597
619
|
lastName: string;
|
|
598
|
-
email: string;
|
|
599
|
-
} | null | undefined;
|
|
600
|
-
agentClientLinks?: {
|
|
601
|
-
agentId: string;
|
|
602
620
|
} | null | undefined;
|
|
603
621
|
}>;
|
|
604
622
|
409: z.ZodObject<{
|
|
@@ -629,6 +647,12 @@ export declare const clientsContractRouter: {
|
|
|
629
647
|
};
|
|
630
648
|
};
|
|
631
649
|
findAll: {
|
|
650
|
+
metadata: {
|
|
651
|
+
tags: string[];
|
|
652
|
+
openApi: {
|
|
653
|
+
operationId: string;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
632
656
|
query: z.ZodObject<{
|
|
633
657
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
634
658
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -646,39 +670,51 @@ export declare const clientsContractRouter: {
|
|
|
646
670
|
from?: string | null | undefined;
|
|
647
671
|
to?: string | null | undefined;
|
|
648
672
|
}>>>;
|
|
673
|
+
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
674
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
675
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
676
|
+
}, "strip", z.ZodTypeAny, {
|
|
677
|
+
from?: string | null | undefined;
|
|
678
|
+
to?: string | null | undefined;
|
|
679
|
+
}, {
|
|
680
|
+
from?: string | null | undefined;
|
|
681
|
+
to?: string | null | undefined;
|
|
682
|
+
}>>>;
|
|
649
683
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
|
|
650
684
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
651
685
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
limit: number;
|
|
653
686
|
page: number;
|
|
654
|
-
|
|
687
|
+
limit: number;
|
|
655
688
|
name?: string | null | undefined;
|
|
656
|
-
|
|
689
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
690
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
657
691
|
createdAt?: {
|
|
658
692
|
from?: string | null | undefined;
|
|
659
693
|
to?: string | null | undefined;
|
|
660
694
|
} | null | undefined;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
695
|
+
updatedAt?: {
|
|
696
|
+
from?: string | null | undefined;
|
|
697
|
+
to?: string | null | undefined;
|
|
698
|
+
} | null | undefined;
|
|
664
699
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
665
|
-
name?: string | null | undefined;
|
|
666
700
|
director?: string | null | undefined;
|
|
701
|
+
}, {
|
|
702
|
+
name?: string | null | undefined;
|
|
703
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
704
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
667
705
|
createdAt?: {
|
|
668
706
|
from?: string | null | undefined;
|
|
669
707
|
to?: string | null | undefined;
|
|
670
708
|
} | null | undefined;
|
|
671
|
-
|
|
709
|
+
updatedAt?: {
|
|
710
|
+
from?: string | null | undefined;
|
|
711
|
+
to?: string | null | undefined;
|
|
712
|
+
} | null | undefined;
|
|
672
713
|
page?: number | undefined;
|
|
673
|
-
|
|
674
|
-
|
|
714
|
+
limit?: number | undefined;
|
|
715
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
716
|
+
director?: string | null | undefined;
|
|
675
717
|
}>;
|
|
676
|
-
metadata: {
|
|
677
|
-
tags: string[];
|
|
678
|
-
openApi: {
|
|
679
|
-
operationId: string;
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
718
|
summary: "Get all clients";
|
|
683
719
|
method: "GET";
|
|
684
720
|
path: "/v2/clients";
|
|
@@ -799,15 +835,15 @@ export declare const clientsContractRouter: {
|
|
|
799
835
|
lastName: z.ZodString;
|
|
800
836
|
email: z.ZodString;
|
|
801
837
|
}, "strip", z.ZodTypeAny, {
|
|
838
|
+
email: string;
|
|
802
839
|
id: string;
|
|
803
840
|
firstName: string;
|
|
804
841
|
lastName: string;
|
|
805
|
-
email: string;
|
|
806
842
|
}, {
|
|
843
|
+
email: string;
|
|
807
844
|
id: string;
|
|
808
845
|
firstName: string;
|
|
809
846
|
lastName: string;
|
|
810
|
-
email: string;
|
|
811
847
|
}>>>;
|
|
812
848
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
813
849
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -819,44 +855,44 @@ export declare const clientsContractRouter: {
|
|
|
819
855
|
agentId: string;
|
|
820
856
|
}>>>;
|
|
821
857
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
id: string;
|
|
823
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
824
858
|
name: string;
|
|
825
|
-
director: string;
|
|
826
859
|
createdAt: string;
|
|
827
860
|
updatedAt: string;
|
|
861
|
+
id: string;
|
|
862
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
828
863
|
crn: string | null;
|
|
829
864
|
govLink: string;
|
|
865
|
+
director: string;
|
|
830
866
|
soleTrader: boolean;
|
|
831
867
|
blacklistReason?: string | null | undefined;
|
|
868
|
+
agentClientLinks?: {
|
|
869
|
+
agentId: string;
|
|
870
|
+
} | null | undefined;
|
|
832
871
|
lastUpdatedBy?: {
|
|
872
|
+
email: string;
|
|
833
873
|
id: string;
|
|
834
874
|
firstName: string;
|
|
835
875
|
lastName: string;
|
|
836
|
-
email: string;
|
|
837
|
-
} | null | undefined;
|
|
838
|
-
agentClientLinks?: {
|
|
839
|
-
agentId: string;
|
|
840
876
|
} | null | undefined;
|
|
841
877
|
}, {
|
|
842
|
-
id: string;
|
|
843
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
844
878
|
name: string;
|
|
845
|
-
director: string;
|
|
846
879
|
createdAt: string | Date;
|
|
847
880
|
updatedAt: string | Date;
|
|
881
|
+
id: string;
|
|
882
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
848
883
|
crn: string | null;
|
|
849
884
|
govLink: string;
|
|
885
|
+
director: string;
|
|
850
886
|
soleTrader: boolean;
|
|
851
887
|
blacklistReason?: string | null | undefined;
|
|
888
|
+
agentClientLinks?: {
|
|
889
|
+
agentId: string;
|
|
890
|
+
} | null | undefined;
|
|
852
891
|
lastUpdatedBy?: {
|
|
892
|
+
email: string;
|
|
853
893
|
id: string;
|
|
854
894
|
firstName: string;
|
|
855
895
|
lastName: string;
|
|
856
|
-
email: string;
|
|
857
|
-
} | null | undefined;
|
|
858
|
-
agentClientLinks?: {
|
|
859
|
-
agentId: string;
|
|
860
896
|
} | null | undefined;
|
|
861
897
|
}>, "many">;
|
|
862
898
|
totalCount: z.ZodNumber;
|
|
@@ -867,24 +903,24 @@ export declare const clientsContractRouter: {
|
|
|
867
903
|
}, "strip", z.ZodTypeAny, {
|
|
868
904
|
limit: number;
|
|
869
905
|
items: {
|
|
870
|
-
id: string;
|
|
871
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
872
906
|
name: string;
|
|
873
|
-
director: string;
|
|
874
907
|
createdAt: string;
|
|
875
908
|
updatedAt: string;
|
|
909
|
+
id: string;
|
|
910
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
876
911
|
crn: string | null;
|
|
877
912
|
govLink: string;
|
|
913
|
+
director: string;
|
|
878
914
|
soleTrader: boolean;
|
|
879
915
|
blacklistReason?: string | null | undefined;
|
|
916
|
+
agentClientLinks?: {
|
|
917
|
+
agentId: string;
|
|
918
|
+
} | null | undefined;
|
|
880
919
|
lastUpdatedBy?: {
|
|
920
|
+
email: string;
|
|
881
921
|
id: string;
|
|
882
922
|
firstName: string;
|
|
883
923
|
lastName: string;
|
|
884
|
-
email: string;
|
|
885
|
-
} | null | undefined;
|
|
886
|
-
agentClientLinks?: {
|
|
887
|
-
agentId: string;
|
|
888
924
|
} | null | undefined;
|
|
889
925
|
}[];
|
|
890
926
|
totalCount: number;
|
|
@@ -894,24 +930,24 @@ export declare const clientsContractRouter: {
|
|
|
894
930
|
}, {
|
|
895
931
|
limit: number;
|
|
896
932
|
items: {
|
|
897
|
-
id: string;
|
|
898
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
899
933
|
name: string;
|
|
900
|
-
director: string;
|
|
901
934
|
createdAt: string | Date;
|
|
902
935
|
updatedAt: string | Date;
|
|
936
|
+
id: string;
|
|
937
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
903
938
|
crn: string | null;
|
|
904
939
|
govLink: string;
|
|
940
|
+
director: string;
|
|
905
941
|
soleTrader: boolean;
|
|
906
942
|
blacklistReason?: string | null | undefined;
|
|
943
|
+
agentClientLinks?: {
|
|
944
|
+
agentId: string;
|
|
945
|
+
} | null | undefined;
|
|
907
946
|
lastUpdatedBy?: {
|
|
947
|
+
email: string;
|
|
908
948
|
id: string;
|
|
909
949
|
firstName: string;
|
|
910
950
|
lastName: string;
|
|
911
|
-
email: string;
|
|
912
|
-
} | null | undefined;
|
|
913
|
-
agentClientLinks?: {
|
|
914
|
-
agentId: string;
|
|
915
951
|
} | null | undefined;
|
|
916
952
|
}[];
|
|
917
953
|
totalCount: number;
|
|
@@ -922,6 +958,12 @@ export declare const clientsContractRouter: {
|
|
|
922
958
|
};
|
|
923
959
|
};
|
|
924
960
|
autocomplete: {
|
|
961
|
+
metadata: {
|
|
962
|
+
tags: string[];
|
|
963
|
+
openApi: {
|
|
964
|
+
operationId: string;
|
|
965
|
+
};
|
|
966
|
+
};
|
|
925
967
|
query: z.ZodObject<{
|
|
926
968
|
query: z.ZodOptional<z.ZodString>;
|
|
927
969
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -932,12 +974,6 @@ export declare const clientsContractRouter: {
|
|
|
932
974
|
id?: string | undefined;
|
|
933
975
|
query?: string | undefined;
|
|
934
976
|
}>;
|
|
935
|
-
metadata: {
|
|
936
|
-
tags: string[];
|
|
937
|
-
openApi: {
|
|
938
|
-
operationId: string;
|
|
939
|
-
};
|
|
940
|
-
};
|
|
941
977
|
summary: "Get clients for autocomplete";
|
|
942
978
|
method: "GET";
|
|
943
979
|
path: "/v2/clients/autocomplete";
|
|
@@ -1046,11 +1082,11 @@ export declare const clientsContractRouter: {
|
|
|
1046
1082
|
id: z.ZodString;
|
|
1047
1083
|
name: z.ZodString;
|
|
1048
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1049
|
-
id: string;
|
|
1050
1085
|
name: string;
|
|
1051
|
-
}, {
|
|
1052
1086
|
id: string;
|
|
1087
|
+
}, {
|
|
1053
1088
|
name: string;
|
|
1089
|
+
id: string;
|
|
1054
1090
|
}>, "many">;
|
|
1055
1091
|
};
|
|
1056
1092
|
};
|
|
@@ -1187,15 +1223,15 @@ export declare const clientsContractRouter: {
|
|
|
1187
1223
|
lastName: z.ZodString;
|
|
1188
1224
|
email: z.ZodString;
|
|
1189
1225
|
}, "strip", z.ZodTypeAny, {
|
|
1226
|
+
email: string;
|
|
1190
1227
|
id: string;
|
|
1191
1228
|
firstName: string;
|
|
1192
1229
|
lastName: string;
|
|
1193
|
-
email: string;
|
|
1194
1230
|
}, {
|
|
1231
|
+
email: string;
|
|
1195
1232
|
id: string;
|
|
1196
1233
|
firstName: string;
|
|
1197
1234
|
lastName: string;
|
|
1198
|
-
email: string;
|
|
1199
1235
|
}>>>;
|
|
1200
1236
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1201
1237
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1207,44 +1243,44 @@ export declare const clientsContractRouter: {
|
|
|
1207
1243
|
agentId: string;
|
|
1208
1244
|
}>>>;
|
|
1209
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1210
|
-
id: string;
|
|
1211
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1212
1246
|
name: string;
|
|
1213
|
-
director: string;
|
|
1214
1247
|
createdAt: string;
|
|
1215
1248
|
updatedAt: string;
|
|
1249
|
+
id: string;
|
|
1250
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1216
1251
|
crn: string | null;
|
|
1217
1252
|
govLink: string;
|
|
1253
|
+
director: string;
|
|
1218
1254
|
soleTrader: boolean;
|
|
1219
1255
|
blacklistReason?: string | null | undefined;
|
|
1256
|
+
agentClientLinks?: {
|
|
1257
|
+
agentId: string;
|
|
1258
|
+
} | null | undefined;
|
|
1220
1259
|
lastUpdatedBy?: {
|
|
1260
|
+
email: string;
|
|
1221
1261
|
id: string;
|
|
1222
1262
|
firstName: string;
|
|
1223
1263
|
lastName: string;
|
|
1224
|
-
email: string;
|
|
1225
|
-
} | null | undefined;
|
|
1226
|
-
agentClientLinks?: {
|
|
1227
|
-
agentId: string;
|
|
1228
1264
|
} | null | undefined;
|
|
1229
1265
|
}, {
|
|
1230
|
-
id: string;
|
|
1231
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1232
1266
|
name: string;
|
|
1233
|
-
director: string;
|
|
1234
1267
|
createdAt: string | Date;
|
|
1235
1268
|
updatedAt: string | Date;
|
|
1269
|
+
id: string;
|
|
1270
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1236
1271
|
crn: string | null;
|
|
1237
1272
|
govLink: string;
|
|
1273
|
+
director: string;
|
|
1238
1274
|
soleTrader: boolean;
|
|
1239
1275
|
blacklistReason?: string | null | undefined;
|
|
1276
|
+
agentClientLinks?: {
|
|
1277
|
+
agentId: string;
|
|
1278
|
+
} | null | undefined;
|
|
1240
1279
|
lastUpdatedBy?: {
|
|
1280
|
+
email: string;
|
|
1241
1281
|
id: string;
|
|
1242
1282
|
firstName: string;
|
|
1243
1283
|
lastName: string;
|
|
1244
|
-
email: string;
|
|
1245
|
-
} | null | undefined;
|
|
1246
|
-
agentClientLinks?: {
|
|
1247
|
-
agentId: string;
|
|
1248
1284
|
} | null | undefined;
|
|
1249
1285
|
}>;
|
|
1250
1286
|
404: z.ZodObject<{
|
|
@@ -1297,28 +1333,28 @@ export declare const clientsContractRouter: {
|
|
|
1297
1333
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
1298
1334
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1299
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1300
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1301
1336
|
name?: string | undefined;
|
|
1302
|
-
|
|
1337
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1303
1338
|
govLink?: string | undefined;
|
|
1339
|
+
director?: string | undefined;
|
|
1304
1340
|
blacklistReason?: string | null | undefined;
|
|
1305
1341
|
}, {
|
|
1306
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1307
1342
|
name?: string | undefined;
|
|
1308
|
-
|
|
1343
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1309
1344
|
govLink?: string | undefined;
|
|
1345
|
+
director?: string | undefined;
|
|
1310
1346
|
blacklistReason?: string | null | undefined;
|
|
1311
1347
|
}>, {
|
|
1312
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1313
1348
|
name?: string | undefined;
|
|
1314
|
-
|
|
1349
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1315
1350
|
govLink?: string | undefined;
|
|
1351
|
+
director?: string | undefined;
|
|
1316
1352
|
blacklistReason?: string | null | undefined;
|
|
1317
1353
|
}, {
|
|
1318
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1319
1354
|
name?: string | undefined;
|
|
1320
|
-
|
|
1355
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1321
1356
|
govLink?: string | undefined;
|
|
1357
|
+
director?: string | undefined;
|
|
1322
1358
|
blacklistReason?: string | null | undefined;
|
|
1323
1359
|
}>;
|
|
1324
1360
|
path: "/v2/clients/:id";
|
|
@@ -1438,15 +1474,15 @@ export declare const clientsContractRouter: {
|
|
|
1438
1474
|
lastName: z.ZodString;
|
|
1439
1475
|
email: z.ZodString;
|
|
1440
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
email: string;
|
|
1441
1478
|
id: string;
|
|
1442
1479
|
firstName: string;
|
|
1443
1480
|
lastName: string;
|
|
1444
|
-
email: string;
|
|
1445
1481
|
}, {
|
|
1482
|
+
email: string;
|
|
1446
1483
|
id: string;
|
|
1447
1484
|
firstName: string;
|
|
1448
1485
|
lastName: string;
|
|
1449
|
-
email: string;
|
|
1450
1486
|
}>>>;
|
|
1451
1487
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1452
1488
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1458,44 +1494,44 @@ export declare const clientsContractRouter: {
|
|
|
1458
1494
|
agentId: string;
|
|
1459
1495
|
}>>>;
|
|
1460
1496
|
}, "strip", z.ZodTypeAny, {
|
|
1461
|
-
id: string;
|
|
1462
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1463
1497
|
name: string;
|
|
1464
|
-
director: string;
|
|
1465
1498
|
createdAt: string;
|
|
1466
1499
|
updatedAt: string;
|
|
1500
|
+
id: string;
|
|
1501
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1467
1502
|
crn: string | null;
|
|
1468
1503
|
govLink: string;
|
|
1504
|
+
director: string;
|
|
1469
1505
|
soleTrader: boolean;
|
|
1470
1506
|
blacklistReason?: string | null | undefined;
|
|
1507
|
+
agentClientLinks?: {
|
|
1508
|
+
agentId: string;
|
|
1509
|
+
} | null | undefined;
|
|
1471
1510
|
lastUpdatedBy?: {
|
|
1511
|
+
email: string;
|
|
1472
1512
|
id: string;
|
|
1473
1513
|
firstName: string;
|
|
1474
1514
|
lastName: string;
|
|
1475
|
-
email: string;
|
|
1476
|
-
} | null | undefined;
|
|
1477
|
-
agentClientLinks?: {
|
|
1478
|
-
agentId: string;
|
|
1479
1515
|
} | null | undefined;
|
|
1480
1516
|
}, {
|
|
1481
|
-
id: string;
|
|
1482
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1483
1517
|
name: string;
|
|
1484
|
-
director: string;
|
|
1485
1518
|
createdAt: string | Date;
|
|
1486
1519
|
updatedAt: string | Date;
|
|
1520
|
+
id: string;
|
|
1521
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1487
1522
|
crn: string | null;
|
|
1488
1523
|
govLink: string;
|
|
1524
|
+
director: string;
|
|
1489
1525
|
soleTrader: boolean;
|
|
1490
1526
|
blacklistReason?: string | null | undefined;
|
|
1527
|
+
agentClientLinks?: {
|
|
1528
|
+
agentId: string;
|
|
1529
|
+
} | null | undefined;
|
|
1491
1530
|
lastUpdatedBy?: {
|
|
1531
|
+
email: string;
|
|
1492
1532
|
id: string;
|
|
1493
1533
|
firstName: string;
|
|
1494
1534
|
lastName: string;
|
|
1495
|
-
email: string;
|
|
1496
|
-
} | null | undefined;
|
|
1497
|
-
agentClientLinks?: {
|
|
1498
|
-
agentId: string;
|
|
1499
1535
|
} | null | undefined;
|
|
1500
1536
|
}>;
|
|
1501
1537
|
404: z.ZodObject<{
|