@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
|
@@ -6,15 +6,15 @@ export declare const ClientContactUserSchema: z.ZodObject<{
|
|
|
6
6
|
lastName: z.ZodString;
|
|
7
7
|
email: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
email: string;
|
|
9
10
|
id: string;
|
|
10
11
|
firstName: string;
|
|
11
12
|
lastName: string;
|
|
12
|
-
email: string;
|
|
13
13
|
}, {
|
|
14
|
+
email: string;
|
|
14
15
|
id: string;
|
|
15
16
|
firstName: string;
|
|
16
17
|
lastName: string;
|
|
17
|
-
email: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
@@ -34,15 +34,15 @@ export declare const ClientContactSchema: 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 ClientContactSchema: 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
|
name: z.ZodString;
|
|
@@ -105,93 +105,93 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
105
105
|
lastName: z.ZodString;
|
|
106
106
|
email: z.ZodString;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
email: string;
|
|
108
109
|
id: string;
|
|
109
110
|
firstName: string;
|
|
110
111
|
lastName: string;
|
|
111
|
-
email: string;
|
|
112
112
|
}, {
|
|
113
|
+
email: string;
|
|
113
114
|
id: string;
|
|
114
115
|
firstName: string;
|
|
115
116
|
lastName: string;
|
|
116
|
-
email: string;
|
|
117
117
|
}>;
|
|
118
118
|
createdById: z.ZodString;
|
|
119
119
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
120
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
id: string;
|
|
123
122
|
name: string;
|
|
124
|
-
createdAt: string;
|
|
125
|
-
updatedAt: string;
|
|
126
123
|
email: string | null;
|
|
127
124
|
phone: string;
|
|
128
|
-
|
|
125
|
+
createdAt: string;
|
|
126
|
+
updatedAt: string;
|
|
127
|
+
createdBy: {
|
|
128
|
+
email: string;
|
|
129
129
|
id: string;
|
|
130
|
-
|
|
130
|
+
firstName: string;
|
|
131
|
+
lastName: string;
|
|
132
|
+
};
|
|
133
|
+
id: string;
|
|
134
|
+
createdById: string;
|
|
135
|
+
clientId: string;
|
|
136
|
+
client: {
|
|
131
137
|
name: string;
|
|
132
|
-
director: string;
|
|
133
138
|
createdAt: string;
|
|
134
139
|
updatedAt: string;
|
|
140
|
+
id: string;
|
|
141
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
135
142
|
crn: string | null;
|
|
136
143
|
govLink: string;
|
|
144
|
+
director: string;
|
|
137
145
|
soleTrader: boolean;
|
|
138
146
|
blacklistReason?: string | null | undefined;
|
|
147
|
+
agentClientLinks?: {
|
|
148
|
+
agentId: string;
|
|
149
|
+
} | null | undefined;
|
|
139
150
|
lastUpdatedBy?: {
|
|
151
|
+
email: string;
|
|
140
152
|
id: string;
|
|
141
153
|
firstName: string;
|
|
142
154
|
lastName: string;
|
|
143
|
-
email: string;
|
|
144
|
-
} | null | undefined;
|
|
145
|
-
agentClientLinks?: {
|
|
146
|
-
agentId: string;
|
|
147
155
|
} | null | undefined;
|
|
148
156
|
};
|
|
149
|
-
clientId: string;
|
|
150
|
-
createdById: string;
|
|
151
|
-
createdBy: {
|
|
152
|
-
id: string;
|
|
153
|
-
firstName: string;
|
|
154
|
-
lastName: string;
|
|
155
|
-
email: string;
|
|
156
|
-
};
|
|
157
157
|
position?: string | undefined;
|
|
158
158
|
source?: string | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
id: string;
|
|
161
160
|
name: string;
|
|
162
|
-
createdAt: string | Date;
|
|
163
|
-
updatedAt: string | Date;
|
|
164
161
|
email: string | null;
|
|
165
162
|
phone: string;
|
|
166
|
-
|
|
163
|
+
createdAt: string | Date;
|
|
164
|
+
updatedAt: string | Date;
|
|
165
|
+
createdBy: {
|
|
166
|
+
email: string;
|
|
167
167
|
id: string;
|
|
168
|
-
|
|
168
|
+
firstName: string;
|
|
169
|
+
lastName: string;
|
|
170
|
+
};
|
|
171
|
+
id: string;
|
|
172
|
+
createdById: string;
|
|
173
|
+
clientId: string;
|
|
174
|
+
client: {
|
|
169
175
|
name: string;
|
|
170
|
-
director: string;
|
|
171
176
|
createdAt: string | Date;
|
|
172
177
|
updatedAt: string | Date;
|
|
178
|
+
id: string;
|
|
179
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
173
180
|
crn: string | null;
|
|
174
181
|
govLink: string;
|
|
182
|
+
director: string;
|
|
175
183
|
soleTrader: boolean;
|
|
176
184
|
blacklistReason?: string | null | undefined;
|
|
185
|
+
agentClientLinks?: {
|
|
186
|
+
agentId: string;
|
|
187
|
+
} | null | undefined;
|
|
177
188
|
lastUpdatedBy?: {
|
|
189
|
+
email: string;
|
|
178
190
|
id: string;
|
|
179
191
|
firstName: string;
|
|
180
192
|
lastName: string;
|
|
181
|
-
email: string;
|
|
182
|
-
} | null | undefined;
|
|
183
|
-
agentClientLinks?: {
|
|
184
|
-
agentId: string;
|
|
185
193
|
} | null | undefined;
|
|
186
194
|
};
|
|
187
|
-
clientId: string;
|
|
188
|
-
createdById: string;
|
|
189
|
-
createdBy: {
|
|
190
|
-
id: string;
|
|
191
|
-
firstName: string;
|
|
192
|
-
lastName: string;
|
|
193
|
-
email: string;
|
|
194
|
-
};
|
|
195
195
|
position?: string | undefined;
|
|
196
196
|
source?: string | undefined;
|
|
197
197
|
}>;
|
|
@@ -293,27 +293,27 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
293
293
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
294
294
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
|
|
297
|
-
page: number;
|
|
298
|
-
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
296
|
+
sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
299
297
|
sortOrder: "ASC" | "DESC";
|
|
298
|
+
page: number;
|
|
299
|
+
limit: number;
|
|
300
300
|
name?: string | undefined;
|
|
301
301
|
email?: string | undefined;
|
|
302
302
|
phone?: string | undefined;
|
|
303
|
-
clientId?: string | undefined;
|
|
304
303
|
createdById?: string | undefined;
|
|
304
|
+
clientId?: string | undefined;
|
|
305
305
|
position?: string | undefined;
|
|
306
306
|
source?: string | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
name?: string | undefined;
|
|
309
309
|
email?: string | undefined;
|
|
310
|
-
limit?: number | undefined;
|
|
311
|
-
page?: number | undefined;
|
|
312
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
313
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
310
|
phone?: string | undefined;
|
|
315
|
-
|
|
311
|
+
sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
312
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
313
|
+
page?: number | undefined;
|
|
314
|
+
limit?: number | undefined;
|
|
316
315
|
createdById?: string | undefined;
|
|
316
|
+
clientId?: string | undefined;
|
|
317
317
|
position?: string | undefined;
|
|
318
318
|
source?: string | undefined;
|
|
319
319
|
}>;
|
|
@@ -336,15 +336,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
336
336
|
lastName: z.ZodString;
|
|
337
337
|
email: z.ZodString;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
+
email: string;
|
|
339
340
|
id: string;
|
|
340
341
|
firstName: string;
|
|
341
342
|
lastName: string;
|
|
342
|
-
email: string;
|
|
343
343
|
}, {
|
|
344
|
+
email: string;
|
|
344
345
|
id: string;
|
|
345
346
|
firstName: string;
|
|
346
347
|
lastName: string;
|
|
347
|
-
email: string;
|
|
348
348
|
}>>>;
|
|
349
349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
350
350
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -356,44 +356,44 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
356
356
|
agentId: string;
|
|
357
357
|
}>>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
id: string;
|
|
360
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
361
359
|
name: string;
|
|
362
|
-
director: string;
|
|
363
360
|
createdAt: string;
|
|
364
361
|
updatedAt: string;
|
|
362
|
+
id: string;
|
|
363
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
365
364
|
crn: string | null;
|
|
366
365
|
govLink: string;
|
|
366
|
+
director: string;
|
|
367
367
|
soleTrader: boolean;
|
|
368
368
|
blacklistReason?: string | null | undefined;
|
|
369
|
+
agentClientLinks?: {
|
|
370
|
+
agentId: string;
|
|
371
|
+
} | null | undefined;
|
|
369
372
|
lastUpdatedBy?: {
|
|
373
|
+
email: string;
|
|
370
374
|
id: string;
|
|
371
375
|
firstName: string;
|
|
372
376
|
lastName: string;
|
|
373
|
-
email: string;
|
|
374
|
-
} | null | undefined;
|
|
375
|
-
agentClientLinks?: {
|
|
376
|
-
agentId: string;
|
|
377
377
|
} | null | undefined;
|
|
378
378
|
}, {
|
|
379
|
-
id: string;
|
|
380
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
381
379
|
name: string;
|
|
382
|
-
director: string;
|
|
383
380
|
createdAt: string | Date;
|
|
384
381
|
updatedAt: string | Date;
|
|
382
|
+
id: string;
|
|
383
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
385
384
|
crn: string | null;
|
|
386
385
|
govLink: string;
|
|
386
|
+
director: string;
|
|
387
387
|
soleTrader: boolean;
|
|
388
388
|
blacklistReason?: string | null | undefined;
|
|
389
|
+
agentClientLinks?: {
|
|
390
|
+
agentId: string;
|
|
391
|
+
} | null | undefined;
|
|
389
392
|
lastUpdatedBy?: {
|
|
393
|
+
email: string;
|
|
390
394
|
id: string;
|
|
391
395
|
firstName: string;
|
|
392
396
|
lastName: string;
|
|
393
|
-
email: string;
|
|
394
|
-
} | null | undefined;
|
|
395
|
-
agentClientLinks?: {
|
|
396
|
-
agentId: string;
|
|
397
397
|
} | null | undefined;
|
|
398
398
|
}>;
|
|
399
399
|
name: z.ZodString;
|
|
@@ -407,93 +407,93 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
407
407
|
lastName: z.ZodString;
|
|
408
408
|
email: z.ZodString;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
email: string;
|
|
410
411
|
id: string;
|
|
411
412
|
firstName: string;
|
|
412
413
|
lastName: string;
|
|
413
|
-
email: string;
|
|
414
414
|
}, {
|
|
415
|
+
email: string;
|
|
415
416
|
id: string;
|
|
416
417
|
firstName: string;
|
|
417
418
|
lastName: string;
|
|
418
|
-
email: string;
|
|
419
419
|
}>;
|
|
420
420
|
createdById: z.ZodString;
|
|
421
421
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
422
422
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
id: string;
|
|
425
424
|
name: string;
|
|
426
|
-
createdAt: string;
|
|
427
|
-
updatedAt: string;
|
|
428
425
|
email: string | null;
|
|
429
426
|
phone: string;
|
|
430
|
-
|
|
427
|
+
createdAt: string;
|
|
428
|
+
updatedAt: string;
|
|
429
|
+
createdBy: {
|
|
430
|
+
email: string;
|
|
431
431
|
id: string;
|
|
432
|
-
|
|
432
|
+
firstName: string;
|
|
433
|
+
lastName: string;
|
|
434
|
+
};
|
|
435
|
+
id: string;
|
|
436
|
+
createdById: string;
|
|
437
|
+
clientId: string;
|
|
438
|
+
client: {
|
|
433
439
|
name: string;
|
|
434
|
-
director: string;
|
|
435
440
|
createdAt: string;
|
|
436
441
|
updatedAt: string;
|
|
442
|
+
id: string;
|
|
443
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
437
444
|
crn: string | null;
|
|
438
445
|
govLink: string;
|
|
446
|
+
director: string;
|
|
439
447
|
soleTrader: boolean;
|
|
440
448
|
blacklistReason?: string | null | undefined;
|
|
449
|
+
agentClientLinks?: {
|
|
450
|
+
agentId: string;
|
|
451
|
+
} | null | undefined;
|
|
441
452
|
lastUpdatedBy?: {
|
|
453
|
+
email: string;
|
|
442
454
|
id: string;
|
|
443
455
|
firstName: string;
|
|
444
456
|
lastName: string;
|
|
445
|
-
email: string;
|
|
446
|
-
} | null | undefined;
|
|
447
|
-
agentClientLinks?: {
|
|
448
|
-
agentId: string;
|
|
449
457
|
} | null | undefined;
|
|
450
458
|
};
|
|
451
|
-
clientId: string;
|
|
452
|
-
createdById: string;
|
|
453
|
-
createdBy: {
|
|
454
|
-
id: string;
|
|
455
|
-
firstName: string;
|
|
456
|
-
lastName: string;
|
|
457
|
-
email: string;
|
|
458
|
-
};
|
|
459
459
|
position?: string | undefined;
|
|
460
460
|
source?: string | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
id: string;
|
|
463
462
|
name: string;
|
|
464
|
-
createdAt: string | Date;
|
|
465
|
-
updatedAt: string | Date;
|
|
466
463
|
email: string | null;
|
|
467
464
|
phone: string;
|
|
468
|
-
|
|
465
|
+
createdAt: string | Date;
|
|
466
|
+
updatedAt: string | Date;
|
|
467
|
+
createdBy: {
|
|
468
|
+
email: string;
|
|
469
469
|
id: string;
|
|
470
|
-
|
|
470
|
+
firstName: string;
|
|
471
|
+
lastName: string;
|
|
472
|
+
};
|
|
473
|
+
id: string;
|
|
474
|
+
createdById: string;
|
|
475
|
+
clientId: string;
|
|
476
|
+
client: {
|
|
471
477
|
name: string;
|
|
472
|
-
director: string;
|
|
473
478
|
createdAt: string | Date;
|
|
474
479
|
updatedAt: string | Date;
|
|
480
|
+
id: string;
|
|
481
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
475
482
|
crn: string | null;
|
|
476
483
|
govLink: string;
|
|
484
|
+
director: string;
|
|
477
485
|
soleTrader: boolean;
|
|
478
486
|
blacklistReason?: string | null | undefined;
|
|
487
|
+
agentClientLinks?: {
|
|
488
|
+
agentId: string;
|
|
489
|
+
} | null | undefined;
|
|
479
490
|
lastUpdatedBy?: {
|
|
491
|
+
email: string;
|
|
480
492
|
id: string;
|
|
481
493
|
firstName: string;
|
|
482
494
|
lastName: string;
|
|
483
|
-
email: string;
|
|
484
|
-
} | null | undefined;
|
|
485
|
-
agentClientLinks?: {
|
|
486
|
-
agentId: string;
|
|
487
495
|
} | null | undefined;
|
|
488
496
|
};
|
|
489
|
-
clientId: string;
|
|
490
|
-
createdById: string;
|
|
491
|
-
createdBy: {
|
|
492
|
-
id: string;
|
|
493
|
-
firstName: string;
|
|
494
|
-
lastName: string;
|
|
495
|
-
email: string;
|
|
496
|
-
};
|
|
497
497
|
position?: string | undefined;
|
|
498
498
|
source?: string | undefined;
|
|
499
499
|
}>, "many">;
|
|
@@ -505,40 +505,40 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
506
|
limit: number;
|
|
507
507
|
items: {
|
|
508
|
-
id: string;
|
|
509
508
|
name: string;
|
|
510
|
-
createdAt: string;
|
|
511
|
-
updatedAt: string;
|
|
512
509
|
email: string | null;
|
|
513
510
|
phone: string;
|
|
514
|
-
|
|
511
|
+
createdAt: string;
|
|
512
|
+
updatedAt: string;
|
|
513
|
+
createdBy: {
|
|
514
|
+
email: string;
|
|
515
515
|
id: string;
|
|
516
|
-
|
|
516
|
+
firstName: string;
|
|
517
|
+
lastName: string;
|
|
518
|
+
};
|
|
519
|
+
id: string;
|
|
520
|
+
createdById: string;
|
|
521
|
+
clientId: string;
|
|
522
|
+
client: {
|
|
517
523
|
name: string;
|
|
518
|
-
director: string;
|
|
519
524
|
createdAt: string;
|
|
520
525
|
updatedAt: string;
|
|
526
|
+
id: string;
|
|
527
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
521
528
|
crn: string | null;
|
|
522
529
|
govLink: string;
|
|
530
|
+
director: string;
|
|
523
531
|
soleTrader: boolean;
|
|
524
532
|
blacklistReason?: string | null | undefined;
|
|
525
|
-
lastUpdatedBy?: {
|
|
526
|
-
id: string;
|
|
527
|
-
firstName: string;
|
|
528
|
-
lastName: string;
|
|
529
|
-
email: string;
|
|
530
|
-
} | null | undefined;
|
|
531
533
|
agentClientLinks?: {
|
|
532
534
|
agentId: string;
|
|
533
535
|
} | null | undefined;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
lastName: string;
|
|
541
|
-
email: string;
|
|
536
|
+
lastUpdatedBy?: {
|
|
537
|
+
email: string;
|
|
538
|
+
id: string;
|
|
539
|
+
firstName: string;
|
|
540
|
+
lastName: string;
|
|
541
|
+
} | null | undefined;
|
|
542
542
|
};
|
|
543
543
|
position?: string | undefined;
|
|
544
544
|
source?: string | undefined;
|
|
@@ -550,41 +550,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
550
550
|
}, {
|
|
551
551
|
limit: number;
|
|
552
552
|
items: {
|
|
553
|
-
id: string;
|
|
554
553
|
name: string;
|
|
555
|
-
createdAt: string | Date;
|
|
556
|
-
updatedAt: string | Date;
|
|
557
554
|
email: string | null;
|
|
558
555
|
phone: string;
|
|
559
|
-
|
|
556
|
+
createdAt: string | Date;
|
|
557
|
+
updatedAt: string | Date;
|
|
558
|
+
createdBy: {
|
|
559
|
+
email: string;
|
|
560
560
|
id: string;
|
|
561
|
-
|
|
561
|
+
firstName: string;
|
|
562
|
+
lastName: string;
|
|
563
|
+
};
|
|
564
|
+
id: string;
|
|
565
|
+
createdById: string;
|
|
566
|
+
clientId: string;
|
|
567
|
+
client: {
|
|
562
568
|
name: string;
|
|
563
|
-
director: string;
|
|
564
569
|
createdAt: string | Date;
|
|
565
570
|
updatedAt: string | Date;
|
|
571
|
+
id: string;
|
|
572
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
566
573
|
crn: string | null;
|
|
567
574
|
govLink: string;
|
|
575
|
+
director: string;
|
|
568
576
|
soleTrader: boolean;
|
|
569
577
|
blacklistReason?: string | null | undefined;
|
|
578
|
+
agentClientLinks?: {
|
|
579
|
+
agentId: string;
|
|
580
|
+
} | null | undefined;
|
|
570
581
|
lastUpdatedBy?: {
|
|
582
|
+
email: string;
|
|
571
583
|
id: string;
|
|
572
584
|
firstName: string;
|
|
573
585
|
lastName: string;
|
|
574
|
-
email: string;
|
|
575
|
-
} | null | undefined;
|
|
576
|
-
agentClientLinks?: {
|
|
577
|
-
agentId: string;
|
|
578
586
|
} | null | undefined;
|
|
579
587
|
};
|
|
580
|
-
clientId: string;
|
|
581
|
-
createdById: string;
|
|
582
|
-
createdBy: {
|
|
583
|
-
id: string;
|
|
584
|
-
firstName: string;
|
|
585
|
-
lastName: string;
|
|
586
|
-
email: string;
|
|
587
|
-
};
|
|
588
588
|
position?: string | undefined;
|
|
589
589
|
source?: string | undefined;
|
|
590
590
|
}[];
|
|
@@ -760,15 +760,15 @@ export declare const clientContactsContractRouter: {
|
|
|
760
760
|
lastName: z.ZodString;
|
|
761
761
|
email: z.ZodString;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
email: string;
|
|
763
764
|
id: string;
|
|
764
765
|
firstName: string;
|
|
765
766
|
lastName: string;
|
|
766
|
-
email: string;
|
|
767
767
|
}, {
|
|
768
|
+
email: string;
|
|
768
769
|
id: string;
|
|
769
770
|
firstName: string;
|
|
770
771
|
lastName: string;
|
|
771
|
-
email: string;
|
|
772
772
|
}>>>;
|
|
773
773
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
774
774
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -780,44 +780,44 @@ export declare const clientContactsContractRouter: {
|
|
|
780
780
|
agentId: string;
|
|
781
781
|
}>>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
id: string;
|
|
784
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
785
783
|
name: string;
|
|
786
|
-
director: string;
|
|
787
784
|
createdAt: string;
|
|
788
785
|
updatedAt: string;
|
|
786
|
+
id: string;
|
|
787
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
789
788
|
crn: string | null;
|
|
790
789
|
govLink: string;
|
|
790
|
+
director: string;
|
|
791
791
|
soleTrader: boolean;
|
|
792
792
|
blacklistReason?: string | null | undefined;
|
|
793
|
+
agentClientLinks?: {
|
|
794
|
+
agentId: string;
|
|
795
|
+
} | null | undefined;
|
|
793
796
|
lastUpdatedBy?: {
|
|
797
|
+
email: string;
|
|
794
798
|
id: string;
|
|
795
799
|
firstName: string;
|
|
796
800
|
lastName: string;
|
|
797
|
-
email: string;
|
|
798
|
-
} | null | undefined;
|
|
799
|
-
agentClientLinks?: {
|
|
800
|
-
agentId: string;
|
|
801
801
|
} | null | undefined;
|
|
802
802
|
}, {
|
|
803
|
-
id: string;
|
|
804
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
805
803
|
name: string;
|
|
806
|
-
director: string;
|
|
807
804
|
createdAt: string | Date;
|
|
808
805
|
updatedAt: string | Date;
|
|
806
|
+
id: string;
|
|
807
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
809
808
|
crn: string | null;
|
|
810
809
|
govLink: string;
|
|
810
|
+
director: string;
|
|
811
811
|
soleTrader: boolean;
|
|
812
812
|
blacklistReason?: string | null | undefined;
|
|
813
|
+
agentClientLinks?: {
|
|
814
|
+
agentId: string;
|
|
815
|
+
} | null | undefined;
|
|
813
816
|
lastUpdatedBy?: {
|
|
817
|
+
email: string;
|
|
814
818
|
id: string;
|
|
815
819
|
firstName: string;
|
|
816
820
|
lastName: string;
|
|
817
|
-
email: string;
|
|
818
|
-
} | null | undefined;
|
|
819
|
-
agentClientLinks?: {
|
|
820
|
-
agentId: string;
|
|
821
821
|
} | null | undefined;
|
|
822
822
|
}>;
|
|
823
823
|
name: z.ZodString;
|
|
@@ -831,93 +831,93 @@ export declare const clientContactsContractRouter: {
|
|
|
831
831
|
lastName: z.ZodString;
|
|
832
832
|
email: z.ZodString;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
+
email: string;
|
|
834
835
|
id: string;
|
|
835
836
|
firstName: string;
|
|
836
837
|
lastName: string;
|
|
837
|
-
email: string;
|
|
838
838
|
}, {
|
|
839
|
+
email: string;
|
|
839
840
|
id: string;
|
|
840
841
|
firstName: string;
|
|
841
842
|
lastName: string;
|
|
842
|
-
email: string;
|
|
843
843
|
}>;
|
|
844
844
|
createdById: z.ZodString;
|
|
845
845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
846
846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
id: string;
|
|
849
848
|
name: string;
|
|
850
|
-
createdAt: string;
|
|
851
|
-
updatedAt: string;
|
|
852
849
|
email: string | null;
|
|
853
850
|
phone: string;
|
|
854
|
-
|
|
851
|
+
createdAt: string;
|
|
852
|
+
updatedAt: string;
|
|
853
|
+
createdBy: {
|
|
854
|
+
email: string;
|
|
855
855
|
id: string;
|
|
856
|
-
|
|
856
|
+
firstName: string;
|
|
857
|
+
lastName: string;
|
|
858
|
+
};
|
|
859
|
+
id: string;
|
|
860
|
+
createdById: string;
|
|
861
|
+
clientId: string;
|
|
862
|
+
client: {
|
|
857
863
|
name: string;
|
|
858
|
-
director: string;
|
|
859
864
|
createdAt: string;
|
|
860
865
|
updatedAt: string;
|
|
866
|
+
id: string;
|
|
867
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
861
868
|
crn: string | null;
|
|
862
869
|
govLink: string;
|
|
870
|
+
director: string;
|
|
863
871
|
soleTrader: boolean;
|
|
864
872
|
blacklistReason?: string | null | undefined;
|
|
873
|
+
agentClientLinks?: {
|
|
874
|
+
agentId: string;
|
|
875
|
+
} | null | undefined;
|
|
865
876
|
lastUpdatedBy?: {
|
|
877
|
+
email: string;
|
|
866
878
|
id: string;
|
|
867
879
|
firstName: string;
|
|
868
880
|
lastName: string;
|
|
869
|
-
email: string;
|
|
870
|
-
} | null | undefined;
|
|
871
|
-
agentClientLinks?: {
|
|
872
|
-
agentId: string;
|
|
873
881
|
} | null | undefined;
|
|
874
882
|
};
|
|
875
|
-
clientId: string;
|
|
876
|
-
createdById: string;
|
|
877
|
-
createdBy: {
|
|
878
|
-
id: string;
|
|
879
|
-
firstName: string;
|
|
880
|
-
lastName: string;
|
|
881
|
-
email: string;
|
|
882
|
-
};
|
|
883
883
|
position?: string | undefined;
|
|
884
884
|
source?: string | undefined;
|
|
885
885
|
}, {
|
|
886
|
-
id: string;
|
|
887
886
|
name: string;
|
|
888
|
-
createdAt: string | Date;
|
|
889
|
-
updatedAt: string | Date;
|
|
890
887
|
email: string | null;
|
|
891
888
|
phone: string;
|
|
892
|
-
|
|
889
|
+
createdAt: string | Date;
|
|
890
|
+
updatedAt: string | Date;
|
|
891
|
+
createdBy: {
|
|
892
|
+
email: string;
|
|
893
893
|
id: string;
|
|
894
|
-
|
|
894
|
+
firstName: string;
|
|
895
|
+
lastName: string;
|
|
896
|
+
};
|
|
897
|
+
id: string;
|
|
898
|
+
createdById: string;
|
|
899
|
+
clientId: string;
|
|
900
|
+
client: {
|
|
895
901
|
name: string;
|
|
896
|
-
director: string;
|
|
897
902
|
createdAt: string | Date;
|
|
898
903
|
updatedAt: string | Date;
|
|
904
|
+
id: string;
|
|
905
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
899
906
|
crn: string | null;
|
|
900
907
|
govLink: string;
|
|
908
|
+
director: string;
|
|
901
909
|
soleTrader: boolean;
|
|
902
910
|
blacklistReason?: string | null | undefined;
|
|
911
|
+
agentClientLinks?: {
|
|
912
|
+
agentId: string;
|
|
913
|
+
} | null | undefined;
|
|
903
914
|
lastUpdatedBy?: {
|
|
915
|
+
email: string;
|
|
904
916
|
id: string;
|
|
905
917
|
firstName: string;
|
|
906
918
|
lastName: string;
|
|
907
|
-
email: string;
|
|
908
|
-
} | null | undefined;
|
|
909
|
-
agentClientLinks?: {
|
|
910
|
-
agentId: string;
|
|
911
919
|
} | null | undefined;
|
|
912
920
|
};
|
|
913
|
-
clientId: string;
|
|
914
|
-
createdById: string;
|
|
915
|
-
createdBy: {
|
|
916
|
-
id: string;
|
|
917
|
-
firstName: string;
|
|
918
|
-
lastName: string;
|
|
919
|
-
email: string;
|
|
920
|
-
};
|
|
921
921
|
position?: string | undefined;
|
|
922
922
|
source?: string | undefined;
|
|
923
923
|
}>;
|
|
@@ -1107,15 +1107,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1107
1107
|
lastName: z.ZodString;
|
|
1108
1108
|
email: z.ZodString;
|
|
1109
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1110
|
+
email: string;
|
|
1110
1111
|
id: string;
|
|
1111
1112
|
firstName: string;
|
|
1112
1113
|
lastName: string;
|
|
1113
|
-
email: string;
|
|
1114
1114
|
}, {
|
|
1115
|
+
email: string;
|
|
1115
1116
|
id: string;
|
|
1116
1117
|
firstName: string;
|
|
1117
1118
|
lastName: string;
|
|
1118
|
-
email: string;
|
|
1119
1119
|
}>>>;
|
|
1120
1120
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1121
1121
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1127,44 +1127,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1127
1127
|
agentId: string;
|
|
1128
1128
|
}>>>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
-
id: string;
|
|
1131
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1132
1130
|
name: string;
|
|
1133
|
-
director: string;
|
|
1134
1131
|
createdAt: string;
|
|
1135
1132
|
updatedAt: string;
|
|
1133
|
+
id: string;
|
|
1134
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1136
1135
|
crn: string | null;
|
|
1137
1136
|
govLink: string;
|
|
1137
|
+
director: string;
|
|
1138
1138
|
soleTrader: boolean;
|
|
1139
1139
|
blacklistReason?: string | null | undefined;
|
|
1140
|
+
agentClientLinks?: {
|
|
1141
|
+
agentId: string;
|
|
1142
|
+
} | null | undefined;
|
|
1140
1143
|
lastUpdatedBy?: {
|
|
1144
|
+
email: string;
|
|
1141
1145
|
id: string;
|
|
1142
1146
|
firstName: string;
|
|
1143
1147
|
lastName: string;
|
|
1144
|
-
email: string;
|
|
1145
|
-
} | null | undefined;
|
|
1146
|
-
agentClientLinks?: {
|
|
1147
|
-
agentId: string;
|
|
1148
1148
|
} | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
|
-
id: string;
|
|
1151
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1152
1150
|
name: string;
|
|
1153
|
-
director: string;
|
|
1154
1151
|
createdAt: string | Date;
|
|
1155
1152
|
updatedAt: string | Date;
|
|
1153
|
+
id: string;
|
|
1154
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1156
1155
|
crn: string | null;
|
|
1157
1156
|
govLink: string;
|
|
1157
|
+
director: string;
|
|
1158
1158
|
soleTrader: boolean;
|
|
1159
1159
|
blacklistReason?: string | null | undefined;
|
|
1160
|
+
agentClientLinks?: {
|
|
1161
|
+
agentId: string;
|
|
1162
|
+
} | null | undefined;
|
|
1160
1163
|
lastUpdatedBy?: {
|
|
1164
|
+
email: string;
|
|
1161
1165
|
id: string;
|
|
1162
1166
|
firstName: string;
|
|
1163
1167
|
lastName: string;
|
|
1164
|
-
email: string;
|
|
1165
|
-
} | null | undefined;
|
|
1166
|
-
agentClientLinks?: {
|
|
1167
|
-
agentId: string;
|
|
1168
1168
|
} | null | undefined;
|
|
1169
1169
|
}>;
|
|
1170
1170
|
name: z.ZodString;
|
|
@@ -1178,93 +1178,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1178
1178
|
lastName: z.ZodString;
|
|
1179
1179
|
email: z.ZodString;
|
|
1180
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1181
|
+
email: string;
|
|
1181
1182
|
id: string;
|
|
1182
1183
|
firstName: string;
|
|
1183
1184
|
lastName: string;
|
|
1184
|
-
email: string;
|
|
1185
1185
|
}, {
|
|
1186
|
+
email: string;
|
|
1186
1187
|
id: string;
|
|
1187
1188
|
firstName: string;
|
|
1188
1189
|
lastName: string;
|
|
1189
|
-
email: string;
|
|
1190
1190
|
}>;
|
|
1191
1191
|
createdById: z.ZodString;
|
|
1192
1192
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1193
1193
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
id: string;
|
|
1196
1195
|
name: string;
|
|
1197
|
-
createdAt: string;
|
|
1198
|
-
updatedAt: string;
|
|
1199
1196
|
email: string | null;
|
|
1200
1197
|
phone: string;
|
|
1201
|
-
|
|
1198
|
+
createdAt: string;
|
|
1199
|
+
updatedAt: string;
|
|
1200
|
+
createdBy: {
|
|
1201
|
+
email: string;
|
|
1202
1202
|
id: string;
|
|
1203
|
-
|
|
1203
|
+
firstName: string;
|
|
1204
|
+
lastName: string;
|
|
1205
|
+
};
|
|
1206
|
+
id: string;
|
|
1207
|
+
createdById: string;
|
|
1208
|
+
clientId: string;
|
|
1209
|
+
client: {
|
|
1204
1210
|
name: string;
|
|
1205
|
-
director: string;
|
|
1206
1211
|
createdAt: string;
|
|
1207
1212
|
updatedAt: string;
|
|
1213
|
+
id: string;
|
|
1214
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1208
1215
|
crn: string | null;
|
|
1209
1216
|
govLink: string;
|
|
1217
|
+
director: string;
|
|
1210
1218
|
soleTrader: boolean;
|
|
1211
1219
|
blacklistReason?: string | null | undefined;
|
|
1220
|
+
agentClientLinks?: {
|
|
1221
|
+
agentId: string;
|
|
1222
|
+
} | null | undefined;
|
|
1212
1223
|
lastUpdatedBy?: {
|
|
1224
|
+
email: string;
|
|
1213
1225
|
id: string;
|
|
1214
1226
|
firstName: string;
|
|
1215
1227
|
lastName: string;
|
|
1216
|
-
email: string;
|
|
1217
|
-
} | null | undefined;
|
|
1218
|
-
agentClientLinks?: {
|
|
1219
|
-
agentId: string;
|
|
1220
1228
|
} | null | undefined;
|
|
1221
1229
|
};
|
|
1222
|
-
clientId: string;
|
|
1223
|
-
createdById: string;
|
|
1224
|
-
createdBy: {
|
|
1225
|
-
id: string;
|
|
1226
|
-
firstName: string;
|
|
1227
|
-
lastName: string;
|
|
1228
|
-
email: string;
|
|
1229
|
-
};
|
|
1230
1230
|
position?: string | undefined;
|
|
1231
1231
|
source?: string | undefined;
|
|
1232
1232
|
}, {
|
|
1233
|
-
id: string;
|
|
1234
1233
|
name: string;
|
|
1235
|
-
createdAt: string | Date;
|
|
1236
|
-
updatedAt: string | Date;
|
|
1237
1234
|
email: string | null;
|
|
1238
1235
|
phone: string;
|
|
1239
|
-
|
|
1236
|
+
createdAt: string | Date;
|
|
1237
|
+
updatedAt: string | Date;
|
|
1238
|
+
createdBy: {
|
|
1239
|
+
email: string;
|
|
1240
1240
|
id: string;
|
|
1241
|
-
|
|
1241
|
+
firstName: string;
|
|
1242
|
+
lastName: string;
|
|
1243
|
+
};
|
|
1244
|
+
id: string;
|
|
1245
|
+
createdById: string;
|
|
1246
|
+
clientId: string;
|
|
1247
|
+
client: {
|
|
1242
1248
|
name: string;
|
|
1243
|
-
director: string;
|
|
1244
1249
|
createdAt: string | Date;
|
|
1245
1250
|
updatedAt: string | Date;
|
|
1251
|
+
id: string;
|
|
1252
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1246
1253
|
crn: string | null;
|
|
1247
1254
|
govLink: string;
|
|
1255
|
+
director: string;
|
|
1248
1256
|
soleTrader: boolean;
|
|
1249
1257
|
blacklistReason?: string | null | undefined;
|
|
1258
|
+
agentClientLinks?: {
|
|
1259
|
+
agentId: string;
|
|
1260
|
+
} | null | undefined;
|
|
1250
1261
|
lastUpdatedBy?: {
|
|
1262
|
+
email: string;
|
|
1251
1263
|
id: string;
|
|
1252
1264
|
firstName: string;
|
|
1253
1265
|
lastName: string;
|
|
1254
|
-
email: string;
|
|
1255
|
-
} | null | undefined;
|
|
1256
|
-
agentClientLinks?: {
|
|
1257
|
-
agentId: string;
|
|
1258
1266
|
} | null | undefined;
|
|
1259
1267
|
};
|
|
1260
|
-
clientId: string;
|
|
1261
|
-
createdById: string;
|
|
1262
|
-
createdBy: {
|
|
1263
|
-
id: string;
|
|
1264
|
-
firstName: string;
|
|
1265
|
-
lastName: string;
|
|
1266
|
-
email: string;
|
|
1267
|
-
};
|
|
1268
1268
|
position?: string | undefined;
|
|
1269
1269
|
source?: string | undefined;
|
|
1270
1270
|
}>;
|
|
@@ -1296,6 +1296,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
};
|
|
1298
1298
|
findAll: {
|
|
1299
|
+
metadata: {
|
|
1300
|
+
tags: string[];
|
|
1301
|
+
};
|
|
1299
1302
|
query: z.ZodObject<{
|
|
1300
1303
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1301
1304
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1310,33 +1313,30 @@ export declare const clientContactsContractRouter: {
|
|
|
1310
1313
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
1311
1314
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
1312
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1313
|
-
|
|
1314
|
-
page: number;
|
|
1315
|
-
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
1316
|
+
sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1316
1317
|
sortOrder: "ASC" | "DESC";
|
|
1318
|
+
page: number;
|
|
1319
|
+
limit: number;
|
|
1317
1320
|
name?: string | undefined;
|
|
1318
1321
|
email?: string | undefined;
|
|
1319
1322
|
phone?: string | undefined;
|
|
1320
|
-
clientId?: string | undefined;
|
|
1321
1323
|
createdById?: string | undefined;
|
|
1324
|
+
clientId?: string | undefined;
|
|
1322
1325
|
position?: string | undefined;
|
|
1323
1326
|
source?: string | undefined;
|
|
1324
1327
|
}, {
|
|
1325
1328
|
name?: string | undefined;
|
|
1326
1329
|
email?: string | undefined;
|
|
1327
|
-
limit?: number | undefined;
|
|
1328
|
-
page?: number | undefined;
|
|
1329
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
1330
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1331
1330
|
phone?: string | undefined;
|
|
1332
|
-
|
|
1331
|
+
sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1332
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1333
|
+
page?: number | undefined;
|
|
1334
|
+
limit?: number | undefined;
|
|
1333
1335
|
createdById?: string | undefined;
|
|
1336
|
+
clientId?: string | undefined;
|
|
1334
1337
|
position?: string | undefined;
|
|
1335
1338
|
source?: string | undefined;
|
|
1336
1339
|
}>;
|
|
1337
|
-
metadata: {
|
|
1338
|
-
tags: string[];
|
|
1339
|
-
};
|
|
1340
1340
|
summary: "Get all client contacts";
|
|
1341
1341
|
method: "GET";
|
|
1342
1342
|
path: "/v2/client-contacts";
|
|
@@ -1460,15 +1460,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1460
1460
|
lastName: z.ZodString;
|
|
1461
1461
|
email: z.ZodString;
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
email: string;
|
|
1463
1464
|
id: string;
|
|
1464
1465
|
firstName: string;
|
|
1465
1466
|
lastName: string;
|
|
1466
|
-
email: string;
|
|
1467
1467
|
}, {
|
|
1468
|
+
email: string;
|
|
1468
1469
|
id: string;
|
|
1469
1470
|
firstName: string;
|
|
1470
1471
|
lastName: string;
|
|
1471
|
-
email: string;
|
|
1472
1472
|
}>>>;
|
|
1473
1473
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1474
1474
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1480,44 +1480,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1480
1480
|
agentId: string;
|
|
1481
1481
|
}>>>;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
-
id: string;
|
|
1484
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1485
1483
|
name: string;
|
|
1486
|
-
director: string;
|
|
1487
1484
|
createdAt: string;
|
|
1488
1485
|
updatedAt: string;
|
|
1486
|
+
id: string;
|
|
1487
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1489
1488
|
crn: string | null;
|
|
1490
1489
|
govLink: string;
|
|
1490
|
+
director: string;
|
|
1491
1491
|
soleTrader: boolean;
|
|
1492
1492
|
blacklistReason?: string | null | undefined;
|
|
1493
|
+
agentClientLinks?: {
|
|
1494
|
+
agentId: string;
|
|
1495
|
+
} | null | undefined;
|
|
1493
1496
|
lastUpdatedBy?: {
|
|
1497
|
+
email: string;
|
|
1494
1498
|
id: string;
|
|
1495
1499
|
firstName: string;
|
|
1496
1500
|
lastName: string;
|
|
1497
|
-
email: string;
|
|
1498
|
-
} | null | undefined;
|
|
1499
|
-
agentClientLinks?: {
|
|
1500
|
-
agentId: string;
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
}, {
|
|
1503
|
-
id: string;
|
|
1504
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1505
1503
|
name: string;
|
|
1506
|
-
director: string;
|
|
1507
1504
|
createdAt: string | Date;
|
|
1508
1505
|
updatedAt: string | Date;
|
|
1506
|
+
id: string;
|
|
1507
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1509
1508
|
crn: string | null;
|
|
1510
1509
|
govLink: string;
|
|
1510
|
+
director: string;
|
|
1511
1511
|
soleTrader: boolean;
|
|
1512
1512
|
blacklistReason?: string | null | undefined;
|
|
1513
|
+
agentClientLinks?: {
|
|
1514
|
+
agentId: string;
|
|
1515
|
+
} | null | undefined;
|
|
1513
1516
|
lastUpdatedBy?: {
|
|
1517
|
+
email: string;
|
|
1514
1518
|
id: string;
|
|
1515
1519
|
firstName: string;
|
|
1516
1520
|
lastName: string;
|
|
1517
|
-
email: string;
|
|
1518
|
-
} | null | undefined;
|
|
1519
|
-
agentClientLinks?: {
|
|
1520
|
-
agentId: string;
|
|
1521
1521
|
} | null | undefined;
|
|
1522
1522
|
}>;
|
|
1523
1523
|
name: z.ZodString;
|
|
@@ -1531,93 +1531,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1531
1531
|
lastName: z.ZodString;
|
|
1532
1532
|
email: z.ZodString;
|
|
1533
1533
|
}, "strip", z.ZodTypeAny, {
|
|
1534
|
+
email: string;
|
|
1534
1535
|
id: string;
|
|
1535
1536
|
firstName: string;
|
|
1536
1537
|
lastName: string;
|
|
1537
|
-
email: string;
|
|
1538
1538
|
}, {
|
|
1539
|
+
email: string;
|
|
1539
1540
|
id: string;
|
|
1540
1541
|
firstName: string;
|
|
1541
1542
|
lastName: string;
|
|
1542
|
-
email: string;
|
|
1543
1543
|
}>;
|
|
1544
1544
|
createdById: z.ZodString;
|
|
1545
1545
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1546
1546
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
|
-
id: string;
|
|
1549
1548
|
name: string;
|
|
1550
|
-
createdAt: string;
|
|
1551
|
-
updatedAt: string;
|
|
1552
1549
|
email: string | null;
|
|
1553
1550
|
phone: string;
|
|
1554
|
-
|
|
1551
|
+
createdAt: string;
|
|
1552
|
+
updatedAt: string;
|
|
1553
|
+
createdBy: {
|
|
1554
|
+
email: string;
|
|
1555
1555
|
id: string;
|
|
1556
|
-
|
|
1556
|
+
firstName: string;
|
|
1557
|
+
lastName: string;
|
|
1558
|
+
};
|
|
1559
|
+
id: string;
|
|
1560
|
+
createdById: string;
|
|
1561
|
+
clientId: string;
|
|
1562
|
+
client: {
|
|
1557
1563
|
name: string;
|
|
1558
|
-
director: string;
|
|
1559
1564
|
createdAt: string;
|
|
1560
1565
|
updatedAt: string;
|
|
1566
|
+
id: string;
|
|
1567
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1561
1568
|
crn: string | null;
|
|
1562
1569
|
govLink: string;
|
|
1570
|
+
director: string;
|
|
1563
1571
|
soleTrader: boolean;
|
|
1564
1572
|
blacklistReason?: string | null | undefined;
|
|
1573
|
+
agentClientLinks?: {
|
|
1574
|
+
agentId: string;
|
|
1575
|
+
} | null | undefined;
|
|
1565
1576
|
lastUpdatedBy?: {
|
|
1577
|
+
email: string;
|
|
1566
1578
|
id: string;
|
|
1567
1579
|
firstName: string;
|
|
1568
1580
|
lastName: string;
|
|
1569
|
-
email: string;
|
|
1570
|
-
} | null | undefined;
|
|
1571
|
-
agentClientLinks?: {
|
|
1572
|
-
agentId: string;
|
|
1573
1581
|
} | null | undefined;
|
|
1574
1582
|
};
|
|
1575
|
-
clientId: string;
|
|
1576
|
-
createdById: string;
|
|
1577
|
-
createdBy: {
|
|
1578
|
-
id: string;
|
|
1579
|
-
firstName: string;
|
|
1580
|
-
lastName: string;
|
|
1581
|
-
email: string;
|
|
1582
|
-
};
|
|
1583
1583
|
position?: string | undefined;
|
|
1584
1584
|
source?: string | undefined;
|
|
1585
1585
|
}, {
|
|
1586
|
-
id: string;
|
|
1587
1586
|
name: string;
|
|
1588
|
-
createdAt: string | Date;
|
|
1589
|
-
updatedAt: string | Date;
|
|
1590
1587
|
email: string | null;
|
|
1591
1588
|
phone: string;
|
|
1592
|
-
|
|
1589
|
+
createdAt: string | Date;
|
|
1590
|
+
updatedAt: string | Date;
|
|
1591
|
+
createdBy: {
|
|
1592
|
+
email: string;
|
|
1593
1593
|
id: string;
|
|
1594
|
-
|
|
1594
|
+
firstName: string;
|
|
1595
|
+
lastName: string;
|
|
1596
|
+
};
|
|
1597
|
+
id: string;
|
|
1598
|
+
createdById: string;
|
|
1599
|
+
clientId: string;
|
|
1600
|
+
client: {
|
|
1595
1601
|
name: string;
|
|
1596
|
-
director: string;
|
|
1597
1602
|
createdAt: string | Date;
|
|
1598
1603
|
updatedAt: string | Date;
|
|
1604
|
+
id: string;
|
|
1605
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1599
1606
|
crn: string | null;
|
|
1600
1607
|
govLink: string;
|
|
1608
|
+
director: string;
|
|
1601
1609
|
soleTrader: boolean;
|
|
1602
1610
|
blacklistReason?: string | null | undefined;
|
|
1611
|
+
agentClientLinks?: {
|
|
1612
|
+
agentId: string;
|
|
1613
|
+
} | null | undefined;
|
|
1603
1614
|
lastUpdatedBy?: {
|
|
1615
|
+
email: string;
|
|
1604
1616
|
id: string;
|
|
1605
1617
|
firstName: string;
|
|
1606
1618
|
lastName: string;
|
|
1607
|
-
email: string;
|
|
1608
|
-
} | null | undefined;
|
|
1609
|
-
agentClientLinks?: {
|
|
1610
|
-
agentId: string;
|
|
1611
1619
|
} | null | undefined;
|
|
1612
1620
|
};
|
|
1613
|
-
clientId: string;
|
|
1614
|
-
createdById: string;
|
|
1615
|
-
createdBy: {
|
|
1616
|
-
id: string;
|
|
1617
|
-
firstName: string;
|
|
1618
|
-
lastName: string;
|
|
1619
|
-
email: string;
|
|
1620
|
-
};
|
|
1621
1621
|
position?: string | undefined;
|
|
1622
1622
|
source?: string | undefined;
|
|
1623
1623
|
}>, "many">;
|
|
@@ -1629,40 +1629,40 @@ export declare const clientContactsContractRouter: {
|
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
limit: number;
|
|
1631
1631
|
items: {
|
|
1632
|
-
id: string;
|
|
1633
1632
|
name: string;
|
|
1634
|
-
createdAt: string;
|
|
1635
|
-
updatedAt: string;
|
|
1636
1633
|
email: string | null;
|
|
1637
1634
|
phone: string;
|
|
1638
|
-
|
|
1635
|
+
createdAt: string;
|
|
1636
|
+
updatedAt: string;
|
|
1637
|
+
createdBy: {
|
|
1638
|
+
email: string;
|
|
1639
1639
|
id: string;
|
|
1640
|
-
|
|
1640
|
+
firstName: string;
|
|
1641
|
+
lastName: string;
|
|
1642
|
+
};
|
|
1643
|
+
id: string;
|
|
1644
|
+
createdById: string;
|
|
1645
|
+
clientId: string;
|
|
1646
|
+
client: {
|
|
1641
1647
|
name: string;
|
|
1642
|
-
director: string;
|
|
1643
1648
|
createdAt: string;
|
|
1644
1649
|
updatedAt: string;
|
|
1650
|
+
id: string;
|
|
1651
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1645
1652
|
crn: string | null;
|
|
1646
1653
|
govLink: string;
|
|
1654
|
+
director: string;
|
|
1647
1655
|
soleTrader: boolean;
|
|
1648
1656
|
blacklistReason?: string | null | undefined;
|
|
1649
|
-
lastUpdatedBy?: {
|
|
1650
|
-
id: string;
|
|
1651
|
-
firstName: string;
|
|
1652
|
-
lastName: string;
|
|
1653
|
-
email: string;
|
|
1654
|
-
} | null | undefined;
|
|
1655
1657
|
agentClientLinks?: {
|
|
1656
1658
|
agentId: string;
|
|
1657
1659
|
} | null | undefined;
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
lastName: string;
|
|
1665
|
-
email: string;
|
|
1660
|
+
lastUpdatedBy?: {
|
|
1661
|
+
email: string;
|
|
1662
|
+
id: string;
|
|
1663
|
+
firstName: string;
|
|
1664
|
+
lastName: string;
|
|
1665
|
+
} | null | undefined;
|
|
1666
1666
|
};
|
|
1667
1667
|
position?: string | undefined;
|
|
1668
1668
|
source?: string | undefined;
|
|
@@ -1674,41 +1674,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1674
1674
|
}, {
|
|
1675
1675
|
limit: number;
|
|
1676
1676
|
items: {
|
|
1677
|
-
id: string;
|
|
1678
1677
|
name: string;
|
|
1679
|
-
createdAt: string | Date;
|
|
1680
|
-
updatedAt: string | Date;
|
|
1681
1678
|
email: string | null;
|
|
1682
1679
|
phone: string;
|
|
1683
|
-
|
|
1680
|
+
createdAt: string | Date;
|
|
1681
|
+
updatedAt: string | Date;
|
|
1682
|
+
createdBy: {
|
|
1683
|
+
email: string;
|
|
1684
1684
|
id: string;
|
|
1685
|
-
|
|
1685
|
+
firstName: string;
|
|
1686
|
+
lastName: string;
|
|
1687
|
+
};
|
|
1688
|
+
id: string;
|
|
1689
|
+
createdById: string;
|
|
1690
|
+
clientId: string;
|
|
1691
|
+
client: {
|
|
1686
1692
|
name: string;
|
|
1687
|
-
director: string;
|
|
1688
1693
|
createdAt: string | Date;
|
|
1689
1694
|
updatedAt: string | Date;
|
|
1695
|
+
id: string;
|
|
1696
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1690
1697
|
crn: string | null;
|
|
1691
1698
|
govLink: string;
|
|
1699
|
+
director: string;
|
|
1692
1700
|
soleTrader: boolean;
|
|
1693
1701
|
blacklistReason?: string | null | undefined;
|
|
1702
|
+
agentClientLinks?: {
|
|
1703
|
+
agentId: string;
|
|
1704
|
+
} | null | undefined;
|
|
1694
1705
|
lastUpdatedBy?: {
|
|
1706
|
+
email: string;
|
|
1695
1707
|
id: string;
|
|
1696
1708
|
firstName: string;
|
|
1697
1709
|
lastName: string;
|
|
1698
|
-
email: string;
|
|
1699
|
-
} | null | undefined;
|
|
1700
|
-
agentClientLinks?: {
|
|
1701
|
-
agentId: string;
|
|
1702
1710
|
} | null | undefined;
|
|
1703
1711
|
};
|
|
1704
|
-
clientId: string;
|
|
1705
|
-
createdById: string;
|
|
1706
|
-
createdBy: {
|
|
1707
|
-
id: string;
|
|
1708
|
-
firstName: string;
|
|
1709
|
-
lastName: string;
|
|
1710
|
-
email: string;
|
|
1711
|
-
};
|
|
1712
1712
|
position?: string | undefined;
|
|
1713
1713
|
source?: string | undefined;
|
|
1714
1714
|
}[];
|
|
@@ -1852,15 +1852,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1852
1852
|
lastName: z.ZodString;
|
|
1853
1853
|
email: z.ZodString;
|
|
1854
1854
|
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
email: string;
|
|
1855
1856
|
id: string;
|
|
1856
1857
|
firstName: string;
|
|
1857
1858
|
lastName: string;
|
|
1858
|
-
email: string;
|
|
1859
1859
|
}, {
|
|
1860
|
+
email: string;
|
|
1860
1861
|
id: string;
|
|
1861
1862
|
firstName: string;
|
|
1862
1863
|
lastName: string;
|
|
1863
|
-
email: string;
|
|
1864
1864
|
}>>>;
|
|
1865
1865
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1866
1866
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1872,44 +1872,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1872
1872
|
agentId: string;
|
|
1873
1873
|
}>>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
|
-
id: string;
|
|
1876
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1877
1875
|
name: string;
|
|
1878
|
-
director: string;
|
|
1879
1876
|
createdAt: string;
|
|
1880
1877
|
updatedAt: string;
|
|
1878
|
+
id: string;
|
|
1879
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1881
1880
|
crn: string | null;
|
|
1882
1881
|
govLink: string;
|
|
1882
|
+
director: string;
|
|
1883
1883
|
soleTrader: boolean;
|
|
1884
1884
|
blacklistReason?: string | null | undefined;
|
|
1885
|
+
agentClientLinks?: {
|
|
1886
|
+
agentId: string;
|
|
1887
|
+
} | null | undefined;
|
|
1885
1888
|
lastUpdatedBy?: {
|
|
1889
|
+
email: string;
|
|
1886
1890
|
id: string;
|
|
1887
1891
|
firstName: string;
|
|
1888
1892
|
lastName: string;
|
|
1889
|
-
email: string;
|
|
1890
|
-
} | null | undefined;
|
|
1891
|
-
agentClientLinks?: {
|
|
1892
|
-
agentId: string;
|
|
1893
1893
|
} | null | undefined;
|
|
1894
1894
|
}, {
|
|
1895
|
-
id: string;
|
|
1896
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1897
1895
|
name: string;
|
|
1898
|
-
director: string;
|
|
1899
1896
|
createdAt: string | Date;
|
|
1900
1897
|
updatedAt: string | Date;
|
|
1898
|
+
id: string;
|
|
1899
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1901
1900
|
crn: string | null;
|
|
1902
1901
|
govLink: string;
|
|
1902
|
+
director: string;
|
|
1903
1903
|
soleTrader: boolean;
|
|
1904
1904
|
blacklistReason?: string | null | undefined;
|
|
1905
|
+
agentClientLinks?: {
|
|
1906
|
+
agentId: string;
|
|
1907
|
+
} | null | undefined;
|
|
1905
1908
|
lastUpdatedBy?: {
|
|
1909
|
+
email: string;
|
|
1906
1910
|
id: string;
|
|
1907
1911
|
firstName: string;
|
|
1908
1912
|
lastName: string;
|
|
1909
|
-
email: string;
|
|
1910
|
-
} | null | undefined;
|
|
1911
|
-
agentClientLinks?: {
|
|
1912
|
-
agentId: string;
|
|
1913
1913
|
} | null | undefined;
|
|
1914
1914
|
}>;
|
|
1915
1915
|
name: z.ZodString;
|
|
@@ -1923,93 +1923,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1923
1923
|
lastName: z.ZodString;
|
|
1924
1924
|
email: z.ZodString;
|
|
1925
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1926
|
+
email: string;
|
|
1926
1927
|
id: string;
|
|
1927
1928
|
firstName: string;
|
|
1928
1929
|
lastName: string;
|
|
1929
|
-
email: string;
|
|
1930
1930
|
}, {
|
|
1931
|
+
email: string;
|
|
1931
1932
|
id: string;
|
|
1932
1933
|
firstName: string;
|
|
1933
1934
|
lastName: string;
|
|
1934
|
-
email: string;
|
|
1935
1935
|
}>;
|
|
1936
1936
|
createdById: z.ZodString;
|
|
1937
1937
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1938
1938
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1939
1939
|
}, "strip", z.ZodTypeAny, {
|
|
1940
|
-
id: string;
|
|
1941
1940
|
name: string;
|
|
1942
|
-
createdAt: string;
|
|
1943
|
-
updatedAt: string;
|
|
1944
1941
|
email: string | null;
|
|
1945
1942
|
phone: string;
|
|
1946
|
-
|
|
1943
|
+
createdAt: string;
|
|
1944
|
+
updatedAt: string;
|
|
1945
|
+
createdBy: {
|
|
1946
|
+
email: string;
|
|
1947
1947
|
id: string;
|
|
1948
|
-
|
|
1948
|
+
firstName: string;
|
|
1949
|
+
lastName: string;
|
|
1950
|
+
};
|
|
1951
|
+
id: string;
|
|
1952
|
+
createdById: string;
|
|
1953
|
+
clientId: string;
|
|
1954
|
+
client: {
|
|
1949
1955
|
name: string;
|
|
1950
|
-
director: string;
|
|
1951
1956
|
createdAt: string;
|
|
1952
1957
|
updatedAt: string;
|
|
1958
|
+
id: string;
|
|
1959
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1953
1960
|
crn: string | null;
|
|
1954
1961
|
govLink: string;
|
|
1962
|
+
director: string;
|
|
1955
1963
|
soleTrader: boolean;
|
|
1956
1964
|
blacklistReason?: string | null | undefined;
|
|
1965
|
+
agentClientLinks?: {
|
|
1966
|
+
agentId: string;
|
|
1967
|
+
} | null | undefined;
|
|
1957
1968
|
lastUpdatedBy?: {
|
|
1969
|
+
email: string;
|
|
1958
1970
|
id: string;
|
|
1959
1971
|
firstName: string;
|
|
1960
1972
|
lastName: string;
|
|
1961
|
-
email: string;
|
|
1962
|
-
} | null | undefined;
|
|
1963
|
-
agentClientLinks?: {
|
|
1964
|
-
agentId: string;
|
|
1965
1973
|
} | null | undefined;
|
|
1966
1974
|
};
|
|
1967
|
-
clientId: string;
|
|
1968
|
-
createdById: string;
|
|
1969
|
-
createdBy: {
|
|
1970
|
-
id: string;
|
|
1971
|
-
firstName: string;
|
|
1972
|
-
lastName: string;
|
|
1973
|
-
email: string;
|
|
1974
|
-
};
|
|
1975
1975
|
position?: string | undefined;
|
|
1976
1976
|
source?: string | undefined;
|
|
1977
1977
|
}, {
|
|
1978
|
-
id: string;
|
|
1979
1978
|
name: string;
|
|
1980
|
-
createdAt: string | Date;
|
|
1981
|
-
updatedAt: string | Date;
|
|
1982
1979
|
email: string | null;
|
|
1983
1980
|
phone: string;
|
|
1984
|
-
|
|
1981
|
+
createdAt: string | Date;
|
|
1982
|
+
updatedAt: string | Date;
|
|
1983
|
+
createdBy: {
|
|
1984
|
+
email: string;
|
|
1985
1985
|
id: string;
|
|
1986
|
-
|
|
1986
|
+
firstName: string;
|
|
1987
|
+
lastName: string;
|
|
1988
|
+
};
|
|
1989
|
+
id: string;
|
|
1990
|
+
createdById: string;
|
|
1991
|
+
clientId: string;
|
|
1992
|
+
client: {
|
|
1987
1993
|
name: string;
|
|
1988
|
-
director: string;
|
|
1989
1994
|
createdAt: string | Date;
|
|
1990
1995
|
updatedAt: string | Date;
|
|
1996
|
+
id: string;
|
|
1997
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1991
1998
|
crn: string | null;
|
|
1992
1999
|
govLink: string;
|
|
2000
|
+
director: string;
|
|
1993
2001
|
soleTrader: boolean;
|
|
1994
2002
|
blacklistReason?: string | null | undefined;
|
|
2003
|
+
agentClientLinks?: {
|
|
2004
|
+
agentId: string;
|
|
2005
|
+
} | null | undefined;
|
|
1995
2006
|
lastUpdatedBy?: {
|
|
2007
|
+
email: string;
|
|
1996
2008
|
id: string;
|
|
1997
2009
|
firstName: string;
|
|
1998
2010
|
lastName: string;
|
|
1999
|
-
email: string;
|
|
2000
|
-
} | null | undefined;
|
|
2001
|
-
agentClientLinks?: {
|
|
2002
|
-
agentId: string;
|
|
2003
2011
|
} | null | undefined;
|
|
2004
2012
|
};
|
|
2005
|
-
clientId: string;
|
|
2006
|
-
createdById: string;
|
|
2007
|
-
createdBy: {
|
|
2008
|
-
id: string;
|
|
2009
|
-
firstName: string;
|
|
2010
|
-
lastName: string;
|
|
2011
|
-
email: string;
|
|
2012
|
-
};
|
|
2013
2013
|
position?: string | undefined;
|
|
2014
2014
|
source?: string | undefined;
|
|
2015
2015
|
}>;
|
|
@@ -2199,15 +2199,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2199
2199
|
lastName: z.ZodString;
|
|
2200
2200
|
email: z.ZodString;
|
|
2201
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2202
|
+
email: string;
|
|
2202
2203
|
id: string;
|
|
2203
2204
|
firstName: string;
|
|
2204
2205
|
lastName: string;
|
|
2205
|
-
email: string;
|
|
2206
2206
|
}, {
|
|
2207
|
+
email: string;
|
|
2207
2208
|
id: string;
|
|
2208
2209
|
firstName: string;
|
|
2209
2210
|
lastName: string;
|
|
2210
|
-
email: string;
|
|
2211
2211
|
}>>>;
|
|
2212
2212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2213
2213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2219,44 +2219,44 @@ export declare const clientContactsContractRouter: {
|
|
|
2219
2219
|
agentId: string;
|
|
2220
2220
|
}>>>;
|
|
2221
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2222
|
-
id: string;
|
|
2223
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2224
2222
|
name: string;
|
|
2225
|
-
director: string;
|
|
2226
2223
|
createdAt: string;
|
|
2227
2224
|
updatedAt: string;
|
|
2225
|
+
id: string;
|
|
2226
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2228
2227
|
crn: string | null;
|
|
2229
2228
|
govLink: string;
|
|
2229
|
+
director: string;
|
|
2230
2230
|
soleTrader: boolean;
|
|
2231
2231
|
blacklistReason?: string | null | undefined;
|
|
2232
|
+
agentClientLinks?: {
|
|
2233
|
+
agentId: string;
|
|
2234
|
+
} | null | undefined;
|
|
2232
2235
|
lastUpdatedBy?: {
|
|
2236
|
+
email: string;
|
|
2233
2237
|
id: string;
|
|
2234
2238
|
firstName: string;
|
|
2235
2239
|
lastName: string;
|
|
2236
|
-
email: string;
|
|
2237
|
-
} | null | undefined;
|
|
2238
|
-
agentClientLinks?: {
|
|
2239
|
-
agentId: string;
|
|
2240
2240
|
} | null | undefined;
|
|
2241
2241
|
}, {
|
|
2242
|
-
id: string;
|
|
2243
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2244
2242
|
name: string;
|
|
2245
|
-
director: string;
|
|
2246
2243
|
createdAt: string | Date;
|
|
2247
2244
|
updatedAt: string | Date;
|
|
2245
|
+
id: string;
|
|
2246
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2248
2247
|
crn: string | null;
|
|
2249
2248
|
govLink: string;
|
|
2249
|
+
director: string;
|
|
2250
2250
|
soleTrader: boolean;
|
|
2251
2251
|
blacklistReason?: string | null | undefined;
|
|
2252
|
+
agentClientLinks?: {
|
|
2253
|
+
agentId: string;
|
|
2254
|
+
} | null | undefined;
|
|
2252
2255
|
lastUpdatedBy?: {
|
|
2256
|
+
email: string;
|
|
2253
2257
|
id: string;
|
|
2254
2258
|
firstName: string;
|
|
2255
2259
|
lastName: string;
|
|
2256
|
-
email: string;
|
|
2257
|
-
} | null | undefined;
|
|
2258
|
-
agentClientLinks?: {
|
|
2259
|
-
agentId: string;
|
|
2260
2260
|
} | null | undefined;
|
|
2261
2261
|
}>;
|
|
2262
2262
|
name: z.ZodString;
|
|
@@ -2270,93 +2270,93 @@ export declare const clientContactsContractRouter: {
|
|
|
2270
2270
|
lastName: z.ZodString;
|
|
2271
2271
|
email: z.ZodString;
|
|
2272
2272
|
}, "strip", z.ZodTypeAny, {
|
|
2273
|
+
email: string;
|
|
2273
2274
|
id: string;
|
|
2274
2275
|
firstName: string;
|
|
2275
2276
|
lastName: string;
|
|
2276
|
-
email: string;
|
|
2277
2277
|
}, {
|
|
2278
|
+
email: string;
|
|
2278
2279
|
id: string;
|
|
2279
2280
|
firstName: string;
|
|
2280
2281
|
lastName: string;
|
|
2281
|
-
email: string;
|
|
2282
2282
|
}>;
|
|
2283
2283
|
createdById: z.ZodString;
|
|
2284
2284
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2285
2285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2286
2286
|
}, "strip", z.ZodTypeAny, {
|
|
2287
|
-
id: string;
|
|
2288
2287
|
name: string;
|
|
2289
|
-
createdAt: string;
|
|
2290
|
-
updatedAt: string;
|
|
2291
2288
|
email: string | null;
|
|
2292
2289
|
phone: string;
|
|
2293
|
-
|
|
2290
|
+
createdAt: string;
|
|
2291
|
+
updatedAt: string;
|
|
2292
|
+
createdBy: {
|
|
2293
|
+
email: string;
|
|
2294
2294
|
id: string;
|
|
2295
|
-
|
|
2295
|
+
firstName: string;
|
|
2296
|
+
lastName: string;
|
|
2297
|
+
};
|
|
2298
|
+
id: string;
|
|
2299
|
+
createdById: string;
|
|
2300
|
+
clientId: string;
|
|
2301
|
+
client: {
|
|
2296
2302
|
name: string;
|
|
2297
|
-
director: string;
|
|
2298
2303
|
createdAt: string;
|
|
2299
2304
|
updatedAt: string;
|
|
2305
|
+
id: string;
|
|
2306
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2300
2307
|
crn: string | null;
|
|
2301
2308
|
govLink: string;
|
|
2309
|
+
director: string;
|
|
2302
2310
|
soleTrader: boolean;
|
|
2303
2311
|
blacklistReason?: string | null | undefined;
|
|
2312
|
+
agentClientLinks?: {
|
|
2313
|
+
agentId: string;
|
|
2314
|
+
} | null | undefined;
|
|
2304
2315
|
lastUpdatedBy?: {
|
|
2316
|
+
email: string;
|
|
2305
2317
|
id: string;
|
|
2306
2318
|
firstName: string;
|
|
2307
2319
|
lastName: string;
|
|
2308
|
-
email: string;
|
|
2309
|
-
} | null | undefined;
|
|
2310
|
-
agentClientLinks?: {
|
|
2311
|
-
agentId: string;
|
|
2312
2320
|
} | null | undefined;
|
|
2313
2321
|
};
|
|
2314
|
-
clientId: string;
|
|
2315
|
-
createdById: string;
|
|
2316
|
-
createdBy: {
|
|
2317
|
-
id: string;
|
|
2318
|
-
firstName: string;
|
|
2319
|
-
lastName: string;
|
|
2320
|
-
email: string;
|
|
2321
|
-
};
|
|
2322
2322
|
position?: string | undefined;
|
|
2323
2323
|
source?: string | undefined;
|
|
2324
2324
|
}, {
|
|
2325
|
-
id: string;
|
|
2326
2325
|
name: string;
|
|
2327
|
-
createdAt: string | Date;
|
|
2328
|
-
updatedAt: string | Date;
|
|
2329
2326
|
email: string | null;
|
|
2330
2327
|
phone: string;
|
|
2331
|
-
|
|
2328
|
+
createdAt: string | Date;
|
|
2329
|
+
updatedAt: string | Date;
|
|
2330
|
+
createdBy: {
|
|
2331
|
+
email: string;
|
|
2332
2332
|
id: string;
|
|
2333
|
-
|
|
2333
|
+
firstName: string;
|
|
2334
|
+
lastName: string;
|
|
2335
|
+
};
|
|
2336
|
+
id: string;
|
|
2337
|
+
createdById: string;
|
|
2338
|
+
clientId: string;
|
|
2339
|
+
client: {
|
|
2334
2340
|
name: string;
|
|
2335
|
-
director: string;
|
|
2336
2341
|
createdAt: string | Date;
|
|
2337
2342
|
updatedAt: string | Date;
|
|
2343
|
+
id: string;
|
|
2344
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2338
2345
|
crn: string | null;
|
|
2339
2346
|
govLink: string;
|
|
2347
|
+
director: string;
|
|
2340
2348
|
soleTrader: boolean;
|
|
2341
2349
|
blacklistReason?: string | null | undefined;
|
|
2350
|
+
agentClientLinks?: {
|
|
2351
|
+
agentId: string;
|
|
2352
|
+
} | null | undefined;
|
|
2342
2353
|
lastUpdatedBy?: {
|
|
2354
|
+
email: string;
|
|
2343
2355
|
id: string;
|
|
2344
2356
|
firstName: string;
|
|
2345
2357
|
lastName: string;
|
|
2346
|
-
email: string;
|
|
2347
|
-
} | null | undefined;
|
|
2348
|
-
agentClientLinks?: {
|
|
2349
|
-
agentId: string;
|
|
2350
2358
|
} | null | undefined;
|
|
2351
2359
|
};
|
|
2352
|
-
clientId: string;
|
|
2353
|
-
createdById: string;
|
|
2354
|
-
createdBy: {
|
|
2355
|
-
id: string;
|
|
2356
|
-
firstName: string;
|
|
2357
|
-
lastName: string;
|
|
2358
|
-
email: string;
|
|
2359
|
-
};
|
|
2360
2360
|
position?: string | undefined;
|
|
2361
2361
|
source?: string | undefined;
|
|
2362
2362
|
}>;
|