@dakkitor/api-contracts 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +75 -76
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +15 -15
- package/dist/agent-client-links/agent-client-links.contract.d.ts +320 -316
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +6 -6
- package/dist/auth/auth.contract.d.ts +2 -2
- package/dist/bookings/bookings.contract.d.ts +328 -328
- package/dist/call-history/call-history.contract.d.ts +205 -205
- package/dist/client-contacts/client-contacts.contract.d.ts +334 -332
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +3 -3
- package/dist/clients/clients.contract.d.ts +196 -196
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +404 -404
- package/dist/collaborations/collaborations.contract.d.ts +379 -379
- package/dist/common/error-schemas.d.ts +7 -7
- package/dist/common/error-schemas.d.ts.map +1 -1
- package/dist/companies/companies.contract.d.ts +214 -214
- package/dist/cron-executions/cron-executions.contract.d.ts +206 -206
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +124 -124
- package/dist/files/files.contract.d.ts +216 -216
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +971 -971
- package/dist/jobs/jobs.contract.d.ts +210 -210
- package/dist/lead-assignments/lead-assignments.contract.d.ts +248 -248
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +40 -40
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +153 -153
- package/dist/leads/leads.contract.d.ts +246 -246
- package/dist/locations/locations.contract.d.ts +143 -143
- package/dist/postcodes/postcodes.contract.d.ts +56 -56
- package/dist/qualifications/qualifications.contract.d.ts +248 -248
- package/dist/trades/trades.contract.d.ts +156 -156
- package/dist/users/users.contract.d.ts +68 -64
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +8 -8
- package/dist/workers/workers.contract.d.ts +226 -226
- package/package.json +1 -1
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const ClientContactSortableFieldsSchema: z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>;
|
|
2
3
|
export declare const ClientContactUserSchema: z.ZodObject<{
|
|
3
4
|
id: z.ZodString;
|
|
4
5
|
firstName: z.ZodString;
|
|
5
6
|
lastName: z.ZodString;
|
|
6
7
|
email: z.ZodString;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
id: string;
|
|
9
|
-
firstName: string;
|
|
10
9
|
lastName: string;
|
|
10
|
+
firstName: string;
|
|
11
11
|
email: string;
|
|
12
|
-
}, {
|
|
13
12
|
id: string;
|
|
14
|
-
|
|
13
|
+
}, {
|
|
15
14
|
lastName: string;
|
|
15
|
+
firstName: string;
|
|
16
16
|
email: string;
|
|
17
|
+
id: string;
|
|
17
18
|
}>;
|
|
18
19
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
19
20
|
id: z.ZodString;
|
|
@@ -32,15 +33,15 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
32
33
|
lastName: z.ZodString;
|
|
33
34
|
email: z.ZodString;
|
|
34
35
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
id: string;
|
|
36
|
-
firstName: string;
|
|
37
36
|
lastName: string;
|
|
37
|
+
firstName: string;
|
|
38
38
|
email: string;
|
|
39
|
-
}, {
|
|
40
39
|
id: string;
|
|
41
|
-
|
|
40
|
+
}, {
|
|
42
41
|
lastName: string;
|
|
42
|
+
firstName: string;
|
|
43
43
|
email: string;
|
|
44
|
+
id: string;
|
|
44
45
|
}>;
|
|
45
46
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
46
47
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -52,39 +53,39 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
52
53
|
agentId: string;
|
|
53
54
|
}>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
|
|
56
|
+
createdAt: string;
|
|
56
57
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
58
|
+
id: string;
|
|
59
|
+
updatedAt: string;
|
|
57
60
|
name: string;
|
|
58
61
|
crn: string;
|
|
59
62
|
govLink: string;
|
|
60
63
|
director: string;
|
|
61
64
|
lastUpdatedBy: {
|
|
62
|
-
id: string;
|
|
63
|
-
firstName: string;
|
|
64
65
|
lastName: string;
|
|
66
|
+
firstName: string;
|
|
65
67
|
email: string;
|
|
68
|
+
id: string;
|
|
66
69
|
};
|
|
67
|
-
createdAt: string;
|
|
68
|
-
updatedAt: string;
|
|
69
70
|
agentClientLinks: {
|
|
70
71
|
agentId: string;
|
|
71
72
|
};
|
|
72
73
|
blacklistReason?: string | null | undefined;
|
|
73
74
|
}, {
|
|
74
|
-
|
|
75
|
+
createdAt: string | Date;
|
|
75
76
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
77
|
+
id: string;
|
|
78
|
+
updatedAt: string | Date;
|
|
76
79
|
name: string;
|
|
77
80
|
crn: string;
|
|
78
81
|
govLink: string;
|
|
79
82
|
director: string;
|
|
80
83
|
lastUpdatedBy: {
|
|
81
|
-
id: string;
|
|
82
|
-
firstName: string;
|
|
83
84
|
lastName: string;
|
|
85
|
+
firstName: string;
|
|
84
86
|
email: string;
|
|
87
|
+
id: string;
|
|
85
88
|
};
|
|
86
|
-
createdAt: string | Date;
|
|
87
|
-
updatedAt: string | Date;
|
|
88
89
|
agentClientLinks: {
|
|
89
90
|
agentId: string;
|
|
90
91
|
};
|
|
@@ -101,87 +102,87 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
101
102
|
lastName: z.ZodString;
|
|
102
103
|
email: z.ZodString;
|
|
103
104
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
id: string;
|
|
105
|
-
firstName: string;
|
|
106
105
|
lastName: string;
|
|
106
|
+
firstName: string;
|
|
107
107
|
email: string;
|
|
108
|
-
}, {
|
|
109
108
|
id: string;
|
|
110
|
-
|
|
109
|
+
}, {
|
|
111
110
|
lastName: string;
|
|
111
|
+
firstName: string;
|
|
112
112
|
email: string;
|
|
113
|
+
id: string;
|
|
113
114
|
}>;
|
|
114
115
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
115
116
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
116
117
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
id: string;
|
|
118
118
|
email: string;
|
|
119
|
-
|
|
119
|
+
phone: string;
|
|
120
120
|
createdAt: string;
|
|
121
|
+
id: string;
|
|
121
122
|
updatedAt: string;
|
|
123
|
+
name: string;
|
|
122
124
|
clientId: string;
|
|
123
125
|
client: {
|
|
124
|
-
|
|
126
|
+
createdAt: string;
|
|
125
127
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
128
|
+
id: string;
|
|
129
|
+
updatedAt: string;
|
|
126
130
|
name: string;
|
|
127
131
|
crn: string;
|
|
128
132
|
govLink: string;
|
|
129
133
|
director: string;
|
|
130
134
|
lastUpdatedBy: {
|
|
131
|
-
id: string;
|
|
132
|
-
firstName: string;
|
|
133
135
|
lastName: string;
|
|
136
|
+
firstName: string;
|
|
134
137
|
email: string;
|
|
138
|
+
id: string;
|
|
135
139
|
};
|
|
136
|
-
createdAt: string;
|
|
137
|
-
updatedAt: string;
|
|
138
140
|
agentClientLinks: {
|
|
139
141
|
agentId: string;
|
|
140
142
|
};
|
|
141
143
|
blacklistReason?: string | null | undefined;
|
|
142
144
|
};
|
|
143
|
-
phone: string;
|
|
144
145
|
createdBy: {
|
|
145
|
-
id: string;
|
|
146
|
-
firstName: string;
|
|
147
146
|
lastName: string;
|
|
147
|
+
firstName: string;
|
|
148
148
|
email: string;
|
|
149
|
+
id: string;
|
|
149
150
|
};
|
|
150
151
|
position?: string | undefined;
|
|
151
152
|
source?: string | undefined;
|
|
152
153
|
}, {
|
|
153
|
-
id: string;
|
|
154
154
|
email: string;
|
|
155
|
-
|
|
155
|
+
phone: string;
|
|
156
156
|
createdAt: string | Date;
|
|
157
|
+
id: string;
|
|
157
158
|
updatedAt: string | Date;
|
|
159
|
+
name: string;
|
|
158
160
|
clientId: string;
|
|
159
161
|
client: {
|
|
160
|
-
|
|
162
|
+
createdAt: string | Date;
|
|
161
163
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
164
|
+
id: string;
|
|
165
|
+
updatedAt: string | Date;
|
|
162
166
|
name: string;
|
|
163
167
|
crn: string;
|
|
164
168
|
govLink: string;
|
|
165
169
|
director: string;
|
|
166
170
|
lastUpdatedBy: {
|
|
167
|
-
id: string;
|
|
168
|
-
firstName: string;
|
|
169
171
|
lastName: string;
|
|
172
|
+
firstName: string;
|
|
170
173
|
email: string;
|
|
174
|
+
id: string;
|
|
171
175
|
};
|
|
172
|
-
createdAt: string | Date;
|
|
173
|
-
updatedAt: string | Date;
|
|
174
176
|
agentClientLinks: {
|
|
175
177
|
agentId: string;
|
|
176
178
|
};
|
|
177
179
|
blacklistReason?: string | null | undefined;
|
|
178
180
|
};
|
|
179
|
-
phone: string;
|
|
180
181
|
createdBy: {
|
|
181
|
-
id: string;
|
|
182
|
-
firstName: string;
|
|
183
182
|
lastName: string;
|
|
183
|
+
firstName: string;
|
|
184
184
|
email: string;
|
|
185
|
+
id: string;
|
|
185
186
|
};
|
|
186
187
|
position?: string | undefined;
|
|
187
188
|
source?: string | undefined;
|
|
@@ -201,20 +202,20 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
201
202
|
source: z.ZodOptional<z.ZodString>;
|
|
202
203
|
}, "strip", z.ZodTypeAny, {
|
|
203
204
|
email: string;
|
|
205
|
+
phone: string;
|
|
204
206
|
name: string;
|
|
205
207
|
client: {
|
|
206
208
|
id: string;
|
|
207
209
|
};
|
|
208
|
-
phone: string;
|
|
209
210
|
position?: string | undefined;
|
|
210
211
|
source?: string | undefined;
|
|
211
212
|
}, {
|
|
212
213
|
email: string;
|
|
214
|
+
phone: string;
|
|
213
215
|
name: string;
|
|
214
216
|
client: {
|
|
215
217
|
id: string;
|
|
216
218
|
};
|
|
217
|
-
phone: string;
|
|
218
219
|
position?: string | undefined;
|
|
219
220
|
source?: string | undefined;
|
|
220
221
|
}>;
|
|
@@ -233,14 +234,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
233
234
|
source: z.ZodOptional<z.ZodString>;
|
|
234
235
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
235
236
|
email: string;
|
|
236
|
-
name: string;
|
|
237
237
|
phone: string;
|
|
238
|
+
name: string;
|
|
238
239
|
position?: string | undefined;
|
|
239
240
|
source?: string | undefined;
|
|
240
241
|
}, {
|
|
241
242
|
email: string;
|
|
242
|
-
name: string;
|
|
243
243
|
phone: string;
|
|
244
|
+
name: string;
|
|
244
245
|
position?: string | undefined;
|
|
245
246
|
source?: string | undefined;
|
|
246
247
|
}>;
|
|
@@ -259,14 +260,14 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
259
260
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
260
261
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
261
262
|
email?: string | undefined;
|
|
262
|
-
name?: string | undefined;
|
|
263
263
|
phone?: string | undefined;
|
|
264
|
+
name?: string | undefined;
|
|
264
265
|
position?: string | undefined;
|
|
265
266
|
source?: string | undefined;
|
|
266
267
|
}, {
|
|
267
268
|
email?: string | undefined;
|
|
268
|
-
name?: string | undefined;
|
|
269
269
|
phone?: string | undefined;
|
|
270
|
+
name?: string | undefined;
|
|
270
271
|
position?: string | undefined;
|
|
271
272
|
source?: string | undefined;
|
|
272
273
|
}>;
|
|
@@ -284,22 +285,22 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
284
285
|
}, "strip", z.ZodTypeAny, {
|
|
285
286
|
limit: number;
|
|
286
287
|
page: number;
|
|
287
|
-
sortBy: "email" | "
|
|
288
|
+
sortBy: "email" | "createdAt" | "updatedAt" | "name" | "position";
|
|
288
289
|
sortOrder: "ASC" | "DESC";
|
|
289
290
|
email?: string | undefined;
|
|
291
|
+
phone?: string | undefined;
|
|
290
292
|
name?: string | undefined;
|
|
291
293
|
clientId?: string | undefined;
|
|
292
|
-
phone?: string | undefined;
|
|
293
294
|
createdById?: string | undefined;
|
|
294
295
|
}, {
|
|
295
296
|
email?: string | undefined;
|
|
296
|
-
|
|
297
|
+
phone?: string | undefined;
|
|
297
298
|
limit?: number | undefined;
|
|
298
299
|
page?: number | undefined;
|
|
299
|
-
|
|
300
|
+
name?: string | undefined;
|
|
301
|
+
sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
|
|
300
302
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
301
303
|
clientId?: string | undefined;
|
|
302
|
-
phone?: string | undefined;
|
|
303
304
|
createdById?: string | undefined;
|
|
304
305
|
}>;
|
|
305
306
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
@@ -320,15 +321,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
320
321
|
lastName: z.ZodString;
|
|
321
322
|
email: z.ZodString;
|
|
322
323
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
id: string;
|
|
324
|
-
firstName: string;
|
|
325
324
|
lastName: string;
|
|
325
|
+
firstName: string;
|
|
326
326
|
email: string;
|
|
327
|
-
}, {
|
|
328
327
|
id: string;
|
|
329
|
-
|
|
328
|
+
}, {
|
|
330
329
|
lastName: string;
|
|
330
|
+
firstName: string;
|
|
331
331
|
email: string;
|
|
332
|
+
id: string;
|
|
332
333
|
}>;
|
|
333
334
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
334
335
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -340,39 +341,39 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
340
341
|
agentId: string;
|
|
341
342
|
}>;
|
|
342
343
|
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
|
|
344
|
+
createdAt: string;
|
|
344
345
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
346
|
+
id: string;
|
|
347
|
+
updatedAt: string;
|
|
345
348
|
name: string;
|
|
346
349
|
crn: string;
|
|
347
350
|
govLink: string;
|
|
348
351
|
director: string;
|
|
349
352
|
lastUpdatedBy: {
|
|
350
|
-
id: string;
|
|
351
|
-
firstName: string;
|
|
352
353
|
lastName: string;
|
|
354
|
+
firstName: string;
|
|
353
355
|
email: string;
|
|
356
|
+
id: string;
|
|
354
357
|
};
|
|
355
|
-
createdAt: string;
|
|
356
|
-
updatedAt: string;
|
|
357
358
|
agentClientLinks: {
|
|
358
359
|
agentId: string;
|
|
359
360
|
};
|
|
360
361
|
blacklistReason?: string | null | undefined;
|
|
361
362
|
}, {
|
|
362
|
-
|
|
363
|
+
createdAt: string | Date;
|
|
363
364
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
365
|
+
id: string;
|
|
366
|
+
updatedAt: string | Date;
|
|
364
367
|
name: string;
|
|
365
368
|
crn: string;
|
|
366
369
|
govLink: string;
|
|
367
370
|
director: string;
|
|
368
371
|
lastUpdatedBy: {
|
|
369
|
-
id: string;
|
|
370
|
-
firstName: string;
|
|
371
372
|
lastName: string;
|
|
373
|
+
firstName: string;
|
|
372
374
|
email: string;
|
|
375
|
+
id: string;
|
|
373
376
|
};
|
|
374
|
-
createdAt: string | Date;
|
|
375
|
-
updatedAt: string | Date;
|
|
376
377
|
agentClientLinks: {
|
|
377
378
|
agentId: string;
|
|
378
379
|
};
|
|
@@ -389,87 +390,87 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
389
390
|
lastName: z.ZodString;
|
|
390
391
|
email: z.ZodString;
|
|
391
392
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
id: string;
|
|
393
|
-
firstName: string;
|
|
394
393
|
lastName: string;
|
|
394
|
+
firstName: string;
|
|
395
395
|
email: string;
|
|
396
|
-
}, {
|
|
397
396
|
id: string;
|
|
398
|
-
|
|
397
|
+
}, {
|
|
399
398
|
lastName: string;
|
|
399
|
+
firstName: string;
|
|
400
400
|
email: string;
|
|
401
|
+
id: string;
|
|
401
402
|
}>;
|
|
402
403
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
403
404
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
404
405
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
id: string;
|
|
406
406
|
email: string;
|
|
407
|
-
|
|
407
|
+
phone: string;
|
|
408
408
|
createdAt: string;
|
|
409
|
+
id: string;
|
|
409
410
|
updatedAt: string;
|
|
411
|
+
name: string;
|
|
410
412
|
clientId: string;
|
|
411
413
|
client: {
|
|
412
|
-
|
|
414
|
+
createdAt: string;
|
|
413
415
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
416
|
+
id: string;
|
|
417
|
+
updatedAt: string;
|
|
414
418
|
name: string;
|
|
415
419
|
crn: string;
|
|
416
420
|
govLink: string;
|
|
417
421
|
director: string;
|
|
418
422
|
lastUpdatedBy: {
|
|
419
|
-
id: string;
|
|
420
|
-
firstName: string;
|
|
421
423
|
lastName: string;
|
|
424
|
+
firstName: string;
|
|
422
425
|
email: string;
|
|
426
|
+
id: string;
|
|
423
427
|
};
|
|
424
|
-
createdAt: string;
|
|
425
|
-
updatedAt: string;
|
|
426
428
|
agentClientLinks: {
|
|
427
429
|
agentId: string;
|
|
428
430
|
};
|
|
429
431
|
blacklistReason?: string | null | undefined;
|
|
430
432
|
};
|
|
431
|
-
phone: string;
|
|
432
433
|
createdBy: {
|
|
433
|
-
id: string;
|
|
434
|
-
firstName: string;
|
|
435
434
|
lastName: string;
|
|
435
|
+
firstName: string;
|
|
436
436
|
email: string;
|
|
437
|
+
id: string;
|
|
437
438
|
};
|
|
438
439
|
position?: string | undefined;
|
|
439
440
|
source?: string | undefined;
|
|
440
441
|
}, {
|
|
441
|
-
id: string;
|
|
442
442
|
email: string;
|
|
443
|
-
|
|
443
|
+
phone: string;
|
|
444
444
|
createdAt: string | Date;
|
|
445
|
+
id: string;
|
|
445
446
|
updatedAt: string | Date;
|
|
447
|
+
name: string;
|
|
446
448
|
clientId: string;
|
|
447
449
|
client: {
|
|
448
|
-
|
|
450
|
+
createdAt: string | Date;
|
|
449
451
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
452
|
+
id: string;
|
|
453
|
+
updatedAt: string | Date;
|
|
450
454
|
name: string;
|
|
451
455
|
crn: string;
|
|
452
456
|
govLink: string;
|
|
453
457
|
director: string;
|
|
454
458
|
lastUpdatedBy: {
|
|
455
|
-
id: string;
|
|
456
|
-
firstName: string;
|
|
457
459
|
lastName: string;
|
|
460
|
+
firstName: string;
|
|
458
461
|
email: string;
|
|
462
|
+
id: string;
|
|
459
463
|
};
|
|
460
|
-
createdAt: string | Date;
|
|
461
|
-
updatedAt: string | Date;
|
|
462
464
|
agentClientLinks: {
|
|
463
465
|
agentId: string;
|
|
464
466
|
};
|
|
465
467
|
blacklistReason?: string | null | undefined;
|
|
466
468
|
};
|
|
467
|
-
phone: string;
|
|
468
469
|
createdBy: {
|
|
469
|
-
id: string;
|
|
470
|
-
firstName: string;
|
|
471
470
|
lastName: string;
|
|
471
|
+
firstName: string;
|
|
472
472
|
email: string;
|
|
473
|
+
id: string;
|
|
473
474
|
};
|
|
474
475
|
position?: string | undefined;
|
|
475
476
|
source?: string | undefined;
|
|
@@ -482,38 +483,38 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
482
483
|
}, "strip", z.ZodTypeAny, {
|
|
483
484
|
limit: number;
|
|
484
485
|
items: {
|
|
485
|
-
id: string;
|
|
486
486
|
email: string;
|
|
487
|
-
|
|
487
|
+
phone: string;
|
|
488
488
|
createdAt: string;
|
|
489
|
+
id: string;
|
|
489
490
|
updatedAt: string;
|
|
491
|
+
name: string;
|
|
490
492
|
clientId: string;
|
|
491
493
|
client: {
|
|
492
|
-
|
|
494
|
+
createdAt: string;
|
|
493
495
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
496
|
+
id: string;
|
|
497
|
+
updatedAt: string;
|
|
494
498
|
name: string;
|
|
495
499
|
crn: string;
|
|
496
500
|
govLink: string;
|
|
497
501
|
director: string;
|
|
498
502
|
lastUpdatedBy: {
|
|
499
|
-
id: string;
|
|
500
|
-
firstName: string;
|
|
501
503
|
lastName: string;
|
|
504
|
+
firstName: string;
|
|
502
505
|
email: string;
|
|
506
|
+
id: string;
|
|
503
507
|
};
|
|
504
|
-
createdAt: string;
|
|
505
|
-
updatedAt: string;
|
|
506
508
|
agentClientLinks: {
|
|
507
509
|
agentId: string;
|
|
508
510
|
};
|
|
509
511
|
blacklistReason?: string | null | undefined;
|
|
510
512
|
};
|
|
511
|
-
phone: string;
|
|
512
513
|
createdBy: {
|
|
513
|
-
id: string;
|
|
514
|
-
firstName: string;
|
|
515
514
|
lastName: string;
|
|
515
|
+
firstName: string;
|
|
516
516
|
email: string;
|
|
517
|
+
id: string;
|
|
517
518
|
};
|
|
518
519
|
position?: string | undefined;
|
|
519
520
|
source?: string | undefined;
|
|
@@ -525,38 +526,38 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
525
526
|
}, {
|
|
526
527
|
limit: number;
|
|
527
528
|
items: {
|
|
528
|
-
id: string;
|
|
529
529
|
email: string;
|
|
530
|
-
|
|
530
|
+
phone: string;
|
|
531
531
|
createdAt: string | Date;
|
|
532
|
+
id: string;
|
|
532
533
|
updatedAt: string | Date;
|
|
534
|
+
name: string;
|
|
533
535
|
clientId: string;
|
|
534
536
|
client: {
|
|
535
|
-
|
|
537
|
+
createdAt: string | Date;
|
|
536
538
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
539
|
+
id: string;
|
|
540
|
+
updatedAt: string | Date;
|
|
537
541
|
name: string;
|
|
538
542
|
crn: string;
|
|
539
543
|
govLink: string;
|
|
540
544
|
director: string;
|
|
541
545
|
lastUpdatedBy: {
|
|
542
|
-
id: string;
|
|
543
|
-
firstName: string;
|
|
544
546
|
lastName: string;
|
|
547
|
+
firstName: string;
|
|
545
548
|
email: string;
|
|
549
|
+
id: string;
|
|
546
550
|
};
|
|
547
|
-
createdAt: string | Date;
|
|
548
|
-
updatedAt: string | Date;
|
|
549
551
|
agentClientLinks: {
|
|
550
552
|
agentId: string;
|
|
551
553
|
};
|
|
552
554
|
blacklistReason?: string | null | undefined;
|
|
553
555
|
};
|
|
554
|
-
phone: string;
|
|
555
556
|
createdBy: {
|
|
556
|
-
id: string;
|
|
557
|
-
firstName: string;
|
|
558
557
|
lastName: string;
|
|
558
|
+
firstName: string;
|
|
559
559
|
email: string;
|
|
560
|
+
id: string;
|
|
560
561
|
};
|
|
561
562
|
position?: string | undefined;
|
|
562
563
|
source?: string | undefined;
|
|
@@ -568,6 +569,7 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
568
569
|
}>;
|
|
569
570
|
export type ClientContactUser = z.infer<typeof ClientContactUserSchema>;
|
|
570
571
|
export type ClientContact = z.infer<typeof ClientContactSchema>;
|
|
572
|
+
export type ClientContactSortableFields = z.infer<typeof ClientContactSortableFieldsSchema>;
|
|
571
573
|
export type CreateClientContact = z.infer<typeof CreateClientContactSchema>;
|
|
572
574
|
export type CreateClientContactBody = z.infer<typeof CreateClientContactBodySchema>;
|
|
573
575
|
export type UpdateClientContact = z.infer<typeof UpdateClientContactSchema>;
|
|
@@ -595,20 +597,20 @@ export declare const clientContactsContractRouter: {
|
|
|
595
597
|
source: z.ZodOptional<z.ZodString>;
|
|
596
598
|
}, "strip", z.ZodTypeAny, {
|
|
597
599
|
email: string;
|
|
600
|
+
phone: string;
|
|
598
601
|
name: string;
|
|
599
602
|
client: {
|
|
600
603
|
id: string;
|
|
601
604
|
};
|
|
602
|
-
phone: string;
|
|
603
605
|
position?: string | undefined;
|
|
604
606
|
source?: string | undefined;
|
|
605
607
|
}, {
|
|
606
608
|
email: string;
|
|
609
|
+
phone: string;
|
|
607
610
|
name: string;
|
|
608
611
|
client: {
|
|
609
612
|
id: string;
|
|
610
613
|
};
|
|
611
|
-
phone: string;
|
|
612
614
|
position?: string | undefined;
|
|
613
615
|
source?: string | undefined;
|
|
614
616
|
}>;
|
|
@@ -731,15 +733,15 @@ export declare const clientContactsContractRouter: {
|
|
|
731
733
|
lastName: z.ZodString;
|
|
732
734
|
email: z.ZodString;
|
|
733
735
|
}, "strip", z.ZodTypeAny, {
|
|
734
|
-
id: string;
|
|
735
|
-
firstName: string;
|
|
736
736
|
lastName: string;
|
|
737
|
+
firstName: string;
|
|
737
738
|
email: string;
|
|
738
|
-
}, {
|
|
739
739
|
id: string;
|
|
740
|
-
|
|
740
|
+
}, {
|
|
741
741
|
lastName: string;
|
|
742
|
+
firstName: string;
|
|
742
743
|
email: string;
|
|
744
|
+
id: string;
|
|
743
745
|
}>;
|
|
744
746
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
745
747
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -751,39 +753,39 @@ export declare const clientContactsContractRouter: {
|
|
|
751
753
|
agentId: string;
|
|
752
754
|
}>;
|
|
753
755
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
|
|
756
|
+
createdAt: string;
|
|
755
757
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
758
|
+
id: string;
|
|
759
|
+
updatedAt: string;
|
|
756
760
|
name: string;
|
|
757
761
|
crn: string;
|
|
758
762
|
govLink: string;
|
|
759
763
|
director: string;
|
|
760
764
|
lastUpdatedBy: {
|
|
761
|
-
id: string;
|
|
762
|
-
firstName: string;
|
|
763
765
|
lastName: string;
|
|
766
|
+
firstName: string;
|
|
764
767
|
email: string;
|
|
768
|
+
id: string;
|
|
765
769
|
};
|
|
766
|
-
createdAt: string;
|
|
767
|
-
updatedAt: string;
|
|
768
770
|
agentClientLinks: {
|
|
769
771
|
agentId: string;
|
|
770
772
|
};
|
|
771
773
|
blacklistReason?: string | null | undefined;
|
|
772
774
|
}, {
|
|
773
|
-
|
|
775
|
+
createdAt: string | Date;
|
|
774
776
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
777
|
+
id: string;
|
|
778
|
+
updatedAt: string | Date;
|
|
775
779
|
name: string;
|
|
776
780
|
crn: string;
|
|
777
781
|
govLink: string;
|
|
778
782
|
director: string;
|
|
779
783
|
lastUpdatedBy: {
|
|
780
|
-
id: string;
|
|
781
|
-
firstName: string;
|
|
782
784
|
lastName: string;
|
|
785
|
+
firstName: string;
|
|
783
786
|
email: string;
|
|
787
|
+
id: string;
|
|
784
788
|
};
|
|
785
|
-
createdAt: string | Date;
|
|
786
|
-
updatedAt: string | Date;
|
|
787
789
|
agentClientLinks: {
|
|
788
790
|
agentId: string;
|
|
789
791
|
};
|
|
@@ -800,87 +802,87 @@ export declare const clientContactsContractRouter: {
|
|
|
800
802
|
lastName: z.ZodString;
|
|
801
803
|
email: z.ZodString;
|
|
802
804
|
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
id: string;
|
|
804
|
-
firstName: string;
|
|
805
805
|
lastName: string;
|
|
806
|
+
firstName: string;
|
|
806
807
|
email: string;
|
|
807
|
-
}, {
|
|
808
808
|
id: string;
|
|
809
|
-
|
|
809
|
+
}, {
|
|
810
810
|
lastName: string;
|
|
811
|
+
firstName: string;
|
|
811
812
|
email: string;
|
|
813
|
+
id: string;
|
|
812
814
|
}>;
|
|
813
815
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
814
816
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
815
817
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
id: string;
|
|
817
818
|
email: string;
|
|
818
|
-
|
|
819
|
+
phone: string;
|
|
819
820
|
createdAt: string;
|
|
821
|
+
id: string;
|
|
820
822
|
updatedAt: string;
|
|
823
|
+
name: string;
|
|
821
824
|
clientId: string;
|
|
822
825
|
client: {
|
|
823
|
-
|
|
826
|
+
createdAt: string;
|
|
824
827
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
828
|
+
id: string;
|
|
829
|
+
updatedAt: string;
|
|
825
830
|
name: string;
|
|
826
831
|
crn: string;
|
|
827
832
|
govLink: string;
|
|
828
833
|
director: string;
|
|
829
834
|
lastUpdatedBy: {
|
|
830
|
-
id: string;
|
|
831
|
-
firstName: string;
|
|
832
835
|
lastName: string;
|
|
836
|
+
firstName: string;
|
|
833
837
|
email: string;
|
|
838
|
+
id: string;
|
|
834
839
|
};
|
|
835
|
-
createdAt: string;
|
|
836
|
-
updatedAt: string;
|
|
837
840
|
agentClientLinks: {
|
|
838
841
|
agentId: string;
|
|
839
842
|
};
|
|
840
843
|
blacklistReason?: string | null | undefined;
|
|
841
844
|
};
|
|
842
|
-
phone: string;
|
|
843
845
|
createdBy: {
|
|
844
|
-
id: string;
|
|
845
|
-
firstName: string;
|
|
846
846
|
lastName: string;
|
|
847
|
+
firstName: string;
|
|
847
848
|
email: string;
|
|
849
|
+
id: string;
|
|
848
850
|
};
|
|
849
851
|
position?: string | undefined;
|
|
850
852
|
source?: string | undefined;
|
|
851
853
|
}, {
|
|
852
|
-
id: string;
|
|
853
854
|
email: string;
|
|
854
|
-
|
|
855
|
+
phone: string;
|
|
855
856
|
createdAt: string | Date;
|
|
857
|
+
id: string;
|
|
856
858
|
updatedAt: string | Date;
|
|
859
|
+
name: string;
|
|
857
860
|
clientId: string;
|
|
858
861
|
client: {
|
|
859
|
-
|
|
862
|
+
createdAt: string | Date;
|
|
860
863
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
864
|
+
id: string;
|
|
865
|
+
updatedAt: string | Date;
|
|
861
866
|
name: string;
|
|
862
867
|
crn: string;
|
|
863
868
|
govLink: string;
|
|
864
869
|
director: string;
|
|
865
870
|
lastUpdatedBy: {
|
|
866
|
-
id: string;
|
|
867
|
-
firstName: string;
|
|
868
871
|
lastName: string;
|
|
872
|
+
firstName: string;
|
|
869
873
|
email: string;
|
|
874
|
+
id: string;
|
|
870
875
|
};
|
|
871
|
-
createdAt: string | Date;
|
|
872
|
-
updatedAt: string | Date;
|
|
873
876
|
agentClientLinks: {
|
|
874
877
|
agentId: string;
|
|
875
878
|
};
|
|
876
879
|
blacklistReason?: string | null | undefined;
|
|
877
880
|
};
|
|
878
|
-
phone: string;
|
|
879
881
|
createdBy: {
|
|
880
|
-
id: string;
|
|
881
|
-
firstName: string;
|
|
882
882
|
lastName: string;
|
|
883
|
+
firstName: string;
|
|
883
884
|
email: string;
|
|
885
|
+
id: string;
|
|
884
886
|
};
|
|
885
887
|
position?: string | undefined;
|
|
886
888
|
source?: string | undefined;
|
|
@@ -940,14 +942,14 @@ export declare const clientContactsContractRouter: {
|
|
|
940
942
|
source: z.ZodOptional<z.ZodString>;
|
|
941
943
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
942
944
|
email: string;
|
|
943
|
-
name: string;
|
|
944
945
|
phone: string;
|
|
946
|
+
name: string;
|
|
945
947
|
position?: string | undefined;
|
|
946
948
|
source?: string | undefined;
|
|
947
949
|
}, {
|
|
948
950
|
email: string;
|
|
949
|
-
name: string;
|
|
950
951
|
phone: string;
|
|
952
|
+
name: string;
|
|
951
953
|
position?: string | undefined;
|
|
952
954
|
source?: string | undefined;
|
|
953
955
|
}>;
|
|
@@ -1070,15 +1072,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1070
1072
|
lastName: z.ZodString;
|
|
1071
1073
|
email: z.ZodString;
|
|
1072
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
id: string;
|
|
1074
|
-
firstName: string;
|
|
1075
1075
|
lastName: string;
|
|
1076
|
+
firstName: string;
|
|
1076
1077
|
email: string;
|
|
1077
|
-
}, {
|
|
1078
1078
|
id: string;
|
|
1079
|
-
|
|
1079
|
+
}, {
|
|
1080
1080
|
lastName: string;
|
|
1081
|
+
firstName: string;
|
|
1081
1082
|
email: string;
|
|
1083
|
+
id: string;
|
|
1082
1084
|
}>;
|
|
1083
1085
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1084
1086
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1090,39 +1092,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1090
1092
|
agentId: string;
|
|
1091
1093
|
}>;
|
|
1092
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
|
|
1095
|
+
createdAt: string;
|
|
1094
1096
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1097
|
+
id: string;
|
|
1098
|
+
updatedAt: string;
|
|
1095
1099
|
name: string;
|
|
1096
1100
|
crn: string;
|
|
1097
1101
|
govLink: string;
|
|
1098
1102
|
director: string;
|
|
1099
1103
|
lastUpdatedBy: {
|
|
1100
|
-
id: string;
|
|
1101
|
-
firstName: string;
|
|
1102
1104
|
lastName: string;
|
|
1105
|
+
firstName: string;
|
|
1103
1106
|
email: string;
|
|
1107
|
+
id: string;
|
|
1104
1108
|
};
|
|
1105
|
-
createdAt: string;
|
|
1106
|
-
updatedAt: string;
|
|
1107
1109
|
agentClientLinks: {
|
|
1108
1110
|
agentId: string;
|
|
1109
1111
|
};
|
|
1110
1112
|
blacklistReason?: string | null | undefined;
|
|
1111
1113
|
}, {
|
|
1112
|
-
|
|
1114
|
+
createdAt: string | Date;
|
|
1113
1115
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1116
|
+
id: string;
|
|
1117
|
+
updatedAt: string | Date;
|
|
1114
1118
|
name: string;
|
|
1115
1119
|
crn: string;
|
|
1116
1120
|
govLink: string;
|
|
1117
1121
|
director: string;
|
|
1118
1122
|
lastUpdatedBy: {
|
|
1119
|
-
id: string;
|
|
1120
|
-
firstName: string;
|
|
1121
1123
|
lastName: string;
|
|
1124
|
+
firstName: string;
|
|
1122
1125
|
email: string;
|
|
1126
|
+
id: string;
|
|
1123
1127
|
};
|
|
1124
|
-
createdAt: string | Date;
|
|
1125
|
-
updatedAt: string | Date;
|
|
1126
1128
|
agentClientLinks: {
|
|
1127
1129
|
agentId: string;
|
|
1128
1130
|
};
|
|
@@ -1139,87 +1141,87 @@ export declare const clientContactsContractRouter: {
|
|
|
1139
1141
|
lastName: z.ZodString;
|
|
1140
1142
|
email: z.ZodString;
|
|
1141
1143
|
}, "strip", z.ZodTypeAny, {
|
|
1142
|
-
id: string;
|
|
1143
|
-
firstName: string;
|
|
1144
1144
|
lastName: string;
|
|
1145
|
+
firstName: string;
|
|
1145
1146
|
email: string;
|
|
1146
|
-
}, {
|
|
1147
1147
|
id: string;
|
|
1148
|
-
|
|
1148
|
+
}, {
|
|
1149
1149
|
lastName: string;
|
|
1150
|
+
firstName: string;
|
|
1150
1151
|
email: string;
|
|
1152
|
+
id: string;
|
|
1151
1153
|
}>;
|
|
1152
1154
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1153
1155
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1154
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1155
|
-
id: string;
|
|
1156
1157
|
email: string;
|
|
1157
|
-
|
|
1158
|
+
phone: string;
|
|
1158
1159
|
createdAt: string;
|
|
1160
|
+
id: string;
|
|
1159
1161
|
updatedAt: string;
|
|
1162
|
+
name: string;
|
|
1160
1163
|
clientId: string;
|
|
1161
1164
|
client: {
|
|
1162
|
-
|
|
1165
|
+
createdAt: string;
|
|
1163
1166
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1167
|
+
id: string;
|
|
1168
|
+
updatedAt: string;
|
|
1164
1169
|
name: string;
|
|
1165
1170
|
crn: string;
|
|
1166
1171
|
govLink: string;
|
|
1167
1172
|
director: string;
|
|
1168
1173
|
lastUpdatedBy: {
|
|
1169
|
-
id: string;
|
|
1170
|
-
firstName: string;
|
|
1171
1174
|
lastName: string;
|
|
1175
|
+
firstName: string;
|
|
1172
1176
|
email: string;
|
|
1177
|
+
id: string;
|
|
1173
1178
|
};
|
|
1174
|
-
createdAt: string;
|
|
1175
|
-
updatedAt: string;
|
|
1176
1179
|
agentClientLinks: {
|
|
1177
1180
|
agentId: string;
|
|
1178
1181
|
};
|
|
1179
1182
|
blacklistReason?: string | null | undefined;
|
|
1180
1183
|
};
|
|
1181
|
-
phone: string;
|
|
1182
1184
|
createdBy: {
|
|
1183
|
-
id: string;
|
|
1184
|
-
firstName: string;
|
|
1185
1185
|
lastName: string;
|
|
1186
|
+
firstName: string;
|
|
1186
1187
|
email: string;
|
|
1188
|
+
id: string;
|
|
1187
1189
|
};
|
|
1188
1190
|
position?: string | undefined;
|
|
1189
1191
|
source?: string | undefined;
|
|
1190
1192
|
}, {
|
|
1191
|
-
id: string;
|
|
1192
1193
|
email: string;
|
|
1193
|
-
|
|
1194
|
+
phone: string;
|
|
1194
1195
|
createdAt: string | Date;
|
|
1196
|
+
id: string;
|
|
1195
1197
|
updatedAt: string | Date;
|
|
1198
|
+
name: string;
|
|
1196
1199
|
clientId: string;
|
|
1197
1200
|
client: {
|
|
1198
|
-
|
|
1201
|
+
createdAt: string | Date;
|
|
1199
1202
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1203
|
+
id: string;
|
|
1204
|
+
updatedAt: string | Date;
|
|
1200
1205
|
name: string;
|
|
1201
1206
|
crn: string;
|
|
1202
1207
|
govLink: string;
|
|
1203
1208
|
director: string;
|
|
1204
1209
|
lastUpdatedBy: {
|
|
1205
|
-
id: string;
|
|
1206
|
-
firstName: string;
|
|
1207
1210
|
lastName: string;
|
|
1211
|
+
firstName: string;
|
|
1208
1212
|
email: string;
|
|
1213
|
+
id: string;
|
|
1209
1214
|
};
|
|
1210
|
-
createdAt: string | Date;
|
|
1211
|
-
updatedAt: string | Date;
|
|
1212
1215
|
agentClientLinks: {
|
|
1213
1216
|
agentId: string;
|
|
1214
1217
|
};
|
|
1215
1218
|
blacklistReason?: string | null | undefined;
|
|
1216
1219
|
};
|
|
1217
|
-
phone: string;
|
|
1218
1220
|
createdBy: {
|
|
1219
|
-
id: string;
|
|
1220
|
-
firstName: string;
|
|
1221
1221
|
lastName: string;
|
|
1222
|
+
firstName: string;
|
|
1222
1223
|
email: string;
|
|
1224
|
+
id: string;
|
|
1223
1225
|
};
|
|
1224
1226
|
position?: string | undefined;
|
|
1225
1227
|
source?: string | undefined;
|
|
@@ -1269,22 +1271,22 @@ export declare const clientContactsContractRouter: {
|
|
|
1269
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1272
|
limit: number;
|
|
1271
1273
|
page: number;
|
|
1272
|
-
sortBy: "email" | "
|
|
1274
|
+
sortBy: "email" | "createdAt" | "updatedAt" | "name" | "position";
|
|
1273
1275
|
sortOrder: "ASC" | "DESC";
|
|
1274
1276
|
email?: string | undefined;
|
|
1277
|
+
phone?: string | undefined;
|
|
1275
1278
|
name?: string | undefined;
|
|
1276
1279
|
clientId?: string | undefined;
|
|
1277
|
-
phone?: string | undefined;
|
|
1278
1280
|
createdById?: string | undefined;
|
|
1279
1281
|
}, {
|
|
1280
1282
|
email?: string | undefined;
|
|
1281
|
-
|
|
1283
|
+
phone?: string | undefined;
|
|
1282
1284
|
limit?: number | undefined;
|
|
1283
1285
|
page?: number | undefined;
|
|
1284
|
-
|
|
1286
|
+
name?: string | undefined;
|
|
1287
|
+
sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
|
|
1285
1288
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1286
1289
|
clientId?: string | undefined;
|
|
1287
|
-
phone?: string | undefined;
|
|
1288
1290
|
createdById?: string | undefined;
|
|
1289
1291
|
}>;
|
|
1290
1292
|
summary: "Get all client contacts";
|
|
@@ -1409,15 +1411,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1409
1411
|
lastName: z.ZodString;
|
|
1410
1412
|
email: z.ZodString;
|
|
1411
1413
|
}, "strip", z.ZodTypeAny, {
|
|
1412
|
-
id: string;
|
|
1413
|
-
firstName: string;
|
|
1414
1414
|
lastName: string;
|
|
1415
|
+
firstName: string;
|
|
1415
1416
|
email: string;
|
|
1416
|
-
}, {
|
|
1417
1417
|
id: string;
|
|
1418
|
-
|
|
1418
|
+
}, {
|
|
1419
1419
|
lastName: string;
|
|
1420
|
+
firstName: string;
|
|
1420
1421
|
email: string;
|
|
1422
|
+
id: string;
|
|
1421
1423
|
}>;
|
|
1422
1424
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1423
1425
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1429,39 +1431,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1429
1431
|
agentId: string;
|
|
1430
1432
|
}>;
|
|
1431
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1432
|
-
|
|
1434
|
+
createdAt: string;
|
|
1433
1435
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1436
|
+
id: string;
|
|
1437
|
+
updatedAt: string;
|
|
1434
1438
|
name: string;
|
|
1435
1439
|
crn: string;
|
|
1436
1440
|
govLink: string;
|
|
1437
1441
|
director: string;
|
|
1438
1442
|
lastUpdatedBy: {
|
|
1439
|
-
id: string;
|
|
1440
|
-
firstName: string;
|
|
1441
1443
|
lastName: string;
|
|
1444
|
+
firstName: string;
|
|
1442
1445
|
email: string;
|
|
1446
|
+
id: string;
|
|
1443
1447
|
};
|
|
1444
|
-
createdAt: string;
|
|
1445
|
-
updatedAt: string;
|
|
1446
1448
|
agentClientLinks: {
|
|
1447
1449
|
agentId: string;
|
|
1448
1450
|
};
|
|
1449
1451
|
blacklistReason?: string | null | undefined;
|
|
1450
1452
|
}, {
|
|
1451
|
-
|
|
1453
|
+
createdAt: string | Date;
|
|
1452
1454
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1455
|
+
id: string;
|
|
1456
|
+
updatedAt: string | Date;
|
|
1453
1457
|
name: string;
|
|
1454
1458
|
crn: string;
|
|
1455
1459
|
govLink: string;
|
|
1456
1460
|
director: string;
|
|
1457
1461
|
lastUpdatedBy: {
|
|
1458
|
-
id: string;
|
|
1459
|
-
firstName: string;
|
|
1460
1462
|
lastName: string;
|
|
1463
|
+
firstName: string;
|
|
1461
1464
|
email: string;
|
|
1465
|
+
id: string;
|
|
1462
1466
|
};
|
|
1463
|
-
createdAt: string | Date;
|
|
1464
|
-
updatedAt: string | Date;
|
|
1465
1467
|
agentClientLinks: {
|
|
1466
1468
|
agentId: string;
|
|
1467
1469
|
};
|
|
@@ -1478,87 +1480,87 @@ export declare const clientContactsContractRouter: {
|
|
|
1478
1480
|
lastName: z.ZodString;
|
|
1479
1481
|
email: z.ZodString;
|
|
1480
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1481
|
-
id: string;
|
|
1482
|
-
firstName: string;
|
|
1483
1483
|
lastName: string;
|
|
1484
|
+
firstName: string;
|
|
1484
1485
|
email: string;
|
|
1485
|
-
}, {
|
|
1486
1486
|
id: string;
|
|
1487
|
-
|
|
1487
|
+
}, {
|
|
1488
1488
|
lastName: string;
|
|
1489
|
+
firstName: string;
|
|
1489
1490
|
email: string;
|
|
1491
|
+
id: string;
|
|
1490
1492
|
}>;
|
|
1491
1493
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1492
1494
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1493
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1494
|
-
id: string;
|
|
1495
1496
|
email: string;
|
|
1496
|
-
|
|
1497
|
+
phone: string;
|
|
1497
1498
|
createdAt: string;
|
|
1499
|
+
id: string;
|
|
1498
1500
|
updatedAt: string;
|
|
1501
|
+
name: string;
|
|
1499
1502
|
clientId: string;
|
|
1500
1503
|
client: {
|
|
1501
|
-
|
|
1504
|
+
createdAt: string;
|
|
1502
1505
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1506
|
+
id: string;
|
|
1507
|
+
updatedAt: string;
|
|
1503
1508
|
name: string;
|
|
1504
1509
|
crn: string;
|
|
1505
1510
|
govLink: string;
|
|
1506
1511
|
director: string;
|
|
1507
1512
|
lastUpdatedBy: {
|
|
1508
|
-
id: string;
|
|
1509
|
-
firstName: string;
|
|
1510
1513
|
lastName: string;
|
|
1514
|
+
firstName: string;
|
|
1511
1515
|
email: string;
|
|
1516
|
+
id: string;
|
|
1512
1517
|
};
|
|
1513
|
-
createdAt: string;
|
|
1514
|
-
updatedAt: string;
|
|
1515
1518
|
agentClientLinks: {
|
|
1516
1519
|
agentId: string;
|
|
1517
1520
|
};
|
|
1518
1521
|
blacklistReason?: string | null | undefined;
|
|
1519
1522
|
};
|
|
1520
|
-
phone: string;
|
|
1521
1523
|
createdBy: {
|
|
1522
|
-
id: string;
|
|
1523
|
-
firstName: string;
|
|
1524
1524
|
lastName: string;
|
|
1525
|
+
firstName: string;
|
|
1525
1526
|
email: string;
|
|
1527
|
+
id: string;
|
|
1526
1528
|
};
|
|
1527
1529
|
position?: string | undefined;
|
|
1528
1530
|
source?: string | undefined;
|
|
1529
1531
|
}, {
|
|
1530
|
-
id: string;
|
|
1531
1532
|
email: string;
|
|
1532
|
-
|
|
1533
|
+
phone: string;
|
|
1533
1534
|
createdAt: string | Date;
|
|
1535
|
+
id: string;
|
|
1534
1536
|
updatedAt: string | Date;
|
|
1537
|
+
name: string;
|
|
1535
1538
|
clientId: string;
|
|
1536
1539
|
client: {
|
|
1537
|
-
|
|
1540
|
+
createdAt: string | Date;
|
|
1538
1541
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1542
|
+
id: string;
|
|
1543
|
+
updatedAt: string | Date;
|
|
1539
1544
|
name: string;
|
|
1540
1545
|
crn: string;
|
|
1541
1546
|
govLink: string;
|
|
1542
1547
|
director: string;
|
|
1543
1548
|
lastUpdatedBy: {
|
|
1544
|
-
id: string;
|
|
1545
|
-
firstName: string;
|
|
1546
1549
|
lastName: string;
|
|
1550
|
+
firstName: string;
|
|
1547
1551
|
email: string;
|
|
1552
|
+
id: string;
|
|
1548
1553
|
};
|
|
1549
|
-
createdAt: string | Date;
|
|
1550
|
-
updatedAt: string | Date;
|
|
1551
1554
|
agentClientLinks: {
|
|
1552
1555
|
agentId: string;
|
|
1553
1556
|
};
|
|
1554
1557
|
blacklistReason?: string | null | undefined;
|
|
1555
1558
|
};
|
|
1556
|
-
phone: string;
|
|
1557
1559
|
createdBy: {
|
|
1558
|
-
id: string;
|
|
1559
|
-
firstName: string;
|
|
1560
1560
|
lastName: string;
|
|
1561
|
+
firstName: string;
|
|
1561
1562
|
email: string;
|
|
1563
|
+
id: string;
|
|
1562
1564
|
};
|
|
1563
1565
|
position?: string | undefined;
|
|
1564
1566
|
source?: string | undefined;
|
|
@@ -1571,38 +1573,38 @@ export declare const clientContactsContractRouter: {
|
|
|
1571
1573
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1574
|
limit: number;
|
|
1573
1575
|
items: {
|
|
1574
|
-
id: string;
|
|
1575
1576
|
email: string;
|
|
1576
|
-
|
|
1577
|
+
phone: string;
|
|
1577
1578
|
createdAt: string;
|
|
1579
|
+
id: string;
|
|
1578
1580
|
updatedAt: string;
|
|
1581
|
+
name: string;
|
|
1579
1582
|
clientId: string;
|
|
1580
1583
|
client: {
|
|
1581
|
-
|
|
1584
|
+
createdAt: string;
|
|
1582
1585
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1586
|
+
id: string;
|
|
1587
|
+
updatedAt: string;
|
|
1583
1588
|
name: string;
|
|
1584
1589
|
crn: string;
|
|
1585
1590
|
govLink: string;
|
|
1586
1591
|
director: string;
|
|
1587
1592
|
lastUpdatedBy: {
|
|
1588
|
-
id: string;
|
|
1589
|
-
firstName: string;
|
|
1590
1593
|
lastName: string;
|
|
1594
|
+
firstName: string;
|
|
1591
1595
|
email: string;
|
|
1596
|
+
id: string;
|
|
1592
1597
|
};
|
|
1593
|
-
createdAt: string;
|
|
1594
|
-
updatedAt: string;
|
|
1595
1598
|
agentClientLinks: {
|
|
1596
1599
|
agentId: string;
|
|
1597
1600
|
};
|
|
1598
1601
|
blacklistReason?: string | null | undefined;
|
|
1599
1602
|
};
|
|
1600
|
-
phone: string;
|
|
1601
1603
|
createdBy: {
|
|
1602
|
-
id: string;
|
|
1603
|
-
firstName: string;
|
|
1604
1604
|
lastName: string;
|
|
1605
|
+
firstName: string;
|
|
1605
1606
|
email: string;
|
|
1607
|
+
id: string;
|
|
1606
1608
|
};
|
|
1607
1609
|
position?: string | undefined;
|
|
1608
1610
|
source?: string | undefined;
|
|
@@ -1614,38 +1616,38 @@ export declare const clientContactsContractRouter: {
|
|
|
1614
1616
|
}, {
|
|
1615
1617
|
limit: number;
|
|
1616
1618
|
items: {
|
|
1617
|
-
id: string;
|
|
1618
1619
|
email: string;
|
|
1619
|
-
|
|
1620
|
+
phone: string;
|
|
1620
1621
|
createdAt: string | Date;
|
|
1622
|
+
id: string;
|
|
1621
1623
|
updatedAt: string | Date;
|
|
1624
|
+
name: string;
|
|
1622
1625
|
clientId: string;
|
|
1623
1626
|
client: {
|
|
1624
|
-
|
|
1627
|
+
createdAt: string | Date;
|
|
1625
1628
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1629
|
+
id: string;
|
|
1630
|
+
updatedAt: string | Date;
|
|
1626
1631
|
name: string;
|
|
1627
1632
|
crn: string;
|
|
1628
1633
|
govLink: string;
|
|
1629
1634
|
director: string;
|
|
1630
1635
|
lastUpdatedBy: {
|
|
1631
|
-
id: string;
|
|
1632
|
-
firstName: string;
|
|
1633
1636
|
lastName: string;
|
|
1637
|
+
firstName: string;
|
|
1634
1638
|
email: string;
|
|
1639
|
+
id: string;
|
|
1635
1640
|
};
|
|
1636
|
-
createdAt: string | Date;
|
|
1637
|
-
updatedAt: string | Date;
|
|
1638
1641
|
agentClientLinks: {
|
|
1639
1642
|
agentId: string;
|
|
1640
1643
|
};
|
|
1641
1644
|
blacklistReason?: string | null | undefined;
|
|
1642
1645
|
};
|
|
1643
|
-
phone: string;
|
|
1644
1646
|
createdBy: {
|
|
1645
|
-
id: string;
|
|
1646
|
-
firstName: string;
|
|
1647
1647
|
lastName: string;
|
|
1648
|
+
firstName: string;
|
|
1648
1649
|
email: string;
|
|
1650
|
+
id: string;
|
|
1649
1651
|
};
|
|
1650
1652
|
position?: string | undefined;
|
|
1651
1653
|
source?: string | undefined;
|
|
@@ -1789,15 +1791,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1789
1791
|
lastName: z.ZodString;
|
|
1790
1792
|
email: z.ZodString;
|
|
1791
1793
|
}, "strip", z.ZodTypeAny, {
|
|
1792
|
-
id: string;
|
|
1793
|
-
firstName: string;
|
|
1794
1794
|
lastName: string;
|
|
1795
|
+
firstName: string;
|
|
1795
1796
|
email: string;
|
|
1796
|
-
}, {
|
|
1797
1797
|
id: string;
|
|
1798
|
-
|
|
1798
|
+
}, {
|
|
1799
1799
|
lastName: string;
|
|
1800
|
+
firstName: string;
|
|
1800
1801
|
email: string;
|
|
1802
|
+
id: string;
|
|
1801
1803
|
}>;
|
|
1802
1804
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1803
1805
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1809,39 +1811,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1809
1811
|
agentId: string;
|
|
1810
1812
|
}>;
|
|
1811
1813
|
}, "strip", z.ZodTypeAny, {
|
|
1812
|
-
|
|
1814
|
+
createdAt: string;
|
|
1813
1815
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1816
|
+
id: string;
|
|
1817
|
+
updatedAt: string;
|
|
1814
1818
|
name: string;
|
|
1815
1819
|
crn: string;
|
|
1816
1820
|
govLink: string;
|
|
1817
1821
|
director: string;
|
|
1818
1822
|
lastUpdatedBy: {
|
|
1819
|
-
id: string;
|
|
1820
|
-
firstName: string;
|
|
1821
1823
|
lastName: string;
|
|
1824
|
+
firstName: string;
|
|
1822
1825
|
email: string;
|
|
1826
|
+
id: string;
|
|
1823
1827
|
};
|
|
1824
|
-
createdAt: string;
|
|
1825
|
-
updatedAt: string;
|
|
1826
1828
|
agentClientLinks: {
|
|
1827
1829
|
agentId: string;
|
|
1828
1830
|
};
|
|
1829
1831
|
blacklistReason?: string | null | undefined;
|
|
1830
1832
|
}, {
|
|
1831
|
-
|
|
1833
|
+
createdAt: string | Date;
|
|
1832
1834
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1835
|
+
id: string;
|
|
1836
|
+
updatedAt: string | Date;
|
|
1833
1837
|
name: string;
|
|
1834
1838
|
crn: string;
|
|
1835
1839
|
govLink: string;
|
|
1836
1840
|
director: string;
|
|
1837
1841
|
lastUpdatedBy: {
|
|
1838
|
-
id: string;
|
|
1839
|
-
firstName: string;
|
|
1840
1842
|
lastName: string;
|
|
1843
|
+
firstName: string;
|
|
1841
1844
|
email: string;
|
|
1845
|
+
id: string;
|
|
1842
1846
|
};
|
|
1843
|
-
createdAt: string | Date;
|
|
1844
|
-
updatedAt: string | Date;
|
|
1845
1847
|
agentClientLinks: {
|
|
1846
1848
|
agentId: string;
|
|
1847
1849
|
};
|
|
@@ -1858,87 +1860,87 @@ export declare const clientContactsContractRouter: {
|
|
|
1858
1860
|
lastName: z.ZodString;
|
|
1859
1861
|
email: z.ZodString;
|
|
1860
1862
|
}, "strip", z.ZodTypeAny, {
|
|
1861
|
-
id: string;
|
|
1862
|
-
firstName: string;
|
|
1863
1863
|
lastName: string;
|
|
1864
|
+
firstName: string;
|
|
1864
1865
|
email: string;
|
|
1865
|
-
}, {
|
|
1866
1866
|
id: string;
|
|
1867
|
-
|
|
1867
|
+
}, {
|
|
1868
1868
|
lastName: string;
|
|
1869
|
+
firstName: string;
|
|
1869
1870
|
email: string;
|
|
1871
|
+
id: string;
|
|
1870
1872
|
}>;
|
|
1871
1873
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1872
1874
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1873
1875
|
}, "strip", z.ZodTypeAny, {
|
|
1874
|
-
id: string;
|
|
1875
1876
|
email: string;
|
|
1876
|
-
|
|
1877
|
+
phone: string;
|
|
1877
1878
|
createdAt: string;
|
|
1879
|
+
id: string;
|
|
1878
1880
|
updatedAt: string;
|
|
1881
|
+
name: string;
|
|
1879
1882
|
clientId: string;
|
|
1880
1883
|
client: {
|
|
1881
|
-
|
|
1884
|
+
createdAt: string;
|
|
1882
1885
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1886
|
+
id: string;
|
|
1887
|
+
updatedAt: string;
|
|
1883
1888
|
name: string;
|
|
1884
1889
|
crn: string;
|
|
1885
1890
|
govLink: string;
|
|
1886
1891
|
director: string;
|
|
1887
1892
|
lastUpdatedBy: {
|
|
1888
|
-
id: string;
|
|
1889
|
-
firstName: string;
|
|
1890
1893
|
lastName: string;
|
|
1894
|
+
firstName: string;
|
|
1891
1895
|
email: string;
|
|
1896
|
+
id: string;
|
|
1892
1897
|
};
|
|
1893
|
-
createdAt: string;
|
|
1894
|
-
updatedAt: string;
|
|
1895
1898
|
agentClientLinks: {
|
|
1896
1899
|
agentId: string;
|
|
1897
1900
|
};
|
|
1898
1901
|
blacklistReason?: string | null | undefined;
|
|
1899
1902
|
};
|
|
1900
|
-
phone: string;
|
|
1901
1903
|
createdBy: {
|
|
1902
|
-
id: string;
|
|
1903
|
-
firstName: string;
|
|
1904
1904
|
lastName: string;
|
|
1905
|
+
firstName: string;
|
|
1905
1906
|
email: string;
|
|
1907
|
+
id: string;
|
|
1906
1908
|
};
|
|
1907
1909
|
position?: string | undefined;
|
|
1908
1910
|
source?: string | undefined;
|
|
1909
1911
|
}, {
|
|
1910
|
-
id: string;
|
|
1911
1912
|
email: string;
|
|
1912
|
-
|
|
1913
|
+
phone: string;
|
|
1913
1914
|
createdAt: string | Date;
|
|
1915
|
+
id: string;
|
|
1914
1916
|
updatedAt: string | Date;
|
|
1917
|
+
name: string;
|
|
1915
1918
|
clientId: string;
|
|
1916
1919
|
client: {
|
|
1917
|
-
|
|
1920
|
+
createdAt: string | Date;
|
|
1918
1921
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1922
|
+
id: string;
|
|
1923
|
+
updatedAt: string | Date;
|
|
1919
1924
|
name: string;
|
|
1920
1925
|
crn: string;
|
|
1921
1926
|
govLink: string;
|
|
1922
1927
|
director: string;
|
|
1923
1928
|
lastUpdatedBy: {
|
|
1924
|
-
id: string;
|
|
1925
|
-
firstName: string;
|
|
1926
1929
|
lastName: string;
|
|
1930
|
+
firstName: string;
|
|
1927
1931
|
email: string;
|
|
1932
|
+
id: string;
|
|
1928
1933
|
};
|
|
1929
|
-
createdAt: string | Date;
|
|
1930
|
-
updatedAt: string | Date;
|
|
1931
1934
|
agentClientLinks: {
|
|
1932
1935
|
agentId: string;
|
|
1933
1936
|
};
|
|
1934
1937
|
blacklistReason?: string | null | undefined;
|
|
1935
1938
|
};
|
|
1936
|
-
phone: string;
|
|
1937
1939
|
createdBy: {
|
|
1938
|
-
id: string;
|
|
1939
|
-
firstName: string;
|
|
1940
1940
|
lastName: string;
|
|
1941
|
+
firstName: string;
|
|
1941
1942
|
email: string;
|
|
1943
|
+
id: string;
|
|
1942
1944
|
};
|
|
1943
1945
|
position?: string | undefined;
|
|
1944
1946
|
source?: string | undefined;
|
|
@@ -1998,14 +2000,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1998
2000
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1999
2001
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2000
2002
|
email?: string | undefined;
|
|
2001
|
-
name?: string | undefined;
|
|
2002
2003
|
phone?: string | undefined;
|
|
2004
|
+
name?: string | undefined;
|
|
2003
2005
|
position?: string | undefined;
|
|
2004
2006
|
source?: string | undefined;
|
|
2005
2007
|
}, {
|
|
2006
2008
|
email?: string | undefined;
|
|
2007
|
-
name?: string | undefined;
|
|
2008
2009
|
phone?: string | undefined;
|
|
2010
|
+
name?: string | undefined;
|
|
2009
2011
|
position?: string | undefined;
|
|
2010
2012
|
source?: string | undefined;
|
|
2011
2013
|
}>;
|
|
@@ -2128,15 +2130,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2128
2130
|
lastName: z.ZodString;
|
|
2129
2131
|
email: z.ZodString;
|
|
2130
2132
|
}, "strip", z.ZodTypeAny, {
|
|
2131
|
-
id: string;
|
|
2132
|
-
firstName: string;
|
|
2133
2133
|
lastName: string;
|
|
2134
|
+
firstName: string;
|
|
2134
2135
|
email: string;
|
|
2135
|
-
}, {
|
|
2136
2136
|
id: string;
|
|
2137
|
-
|
|
2137
|
+
}, {
|
|
2138
2138
|
lastName: string;
|
|
2139
|
+
firstName: string;
|
|
2139
2140
|
email: string;
|
|
2141
|
+
id: string;
|
|
2140
2142
|
}>;
|
|
2141
2143
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2142
2144
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2148,39 +2150,39 @@ export declare const clientContactsContractRouter: {
|
|
|
2148
2150
|
agentId: string;
|
|
2149
2151
|
}>;
|
|
2150
2152
|
}, "strip", z.ZodTypeAny, {
|
|
2151
|
-
|
|
2153
|
+
createdAt: string;
|
|
2152
2154
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2155
|
+
id: string;
|
|
2156
|
+
updatedAt: string;
|
|
2153
2157
|
name: string;
|
|
2154
2158
|
crn: string;
|
|
2155
2159
|
govLink: string;
|
|
2156
2160
|
director: string;
|
|
2157
2161
|
lastUpdatedBy: {
|
|
2158
|
-
id: string;
|
|
2159
|
-
firstName: string;
|
|
2160
2162
|
lastName: string;
|
|
2163
|
+
firstName: string;
|
|
2161
2164
|
email: string;
|
|
2165
|
+
id: string;
|
|
2162
2166
|
};
|
|
2163
|
-
createdAt: string;
|
|
2164
|
-
updatedAt: string;
|
|
2165
2167
|
agentClientLinks: {
|
|
2166
2168
|
agentId: string;
|
|
2167
2169
|
};
|
|
2168
2170
|
blacklistReason?: string | null | undefined;
|
|
2169
2171
|
}, {
|
|
2170
|
-
|
|
2172
|
+
createdAt: string | Date;
|
|
2171
2173
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2174
|
+
id: string;
|
|
2175
|
+
updatedAt: string | Date;
|
|
2172
2176
|
name: string;
|
|
2173
2177
|
crn: string;
|
|
2174
2178
|
govLink: string;
|
|
2175
2179
|
director: string;
|
|
2176
2180
|
lastUpdatedBy: {
|
|
2177
|
-
id: string;
|
|
2178
|
-
firstName: string;
|
|
2179
2181
|
lastName: string;
|
|
2182
|
+
firstName: string;
|
|
2180
2183
|
email: string;
|
|
2184
|
+
id: string;
|
|
2181
2185
|
};
|
|
2182
|
-
createdAt: string | Date;
|
|
2183
|
-
updatedAt: string | Date;
|
|
2184
2186
|
agentClientLinks: {
|
|
2185
2187
|
agentId: string;
|
|
2186
2188
|
};
|
|
@@ -2197,87 +2199,87 @@ export declare const clientContactsContractRouter: {
|
|
|
2197
2199
|
lastName: z.ZodString;
|
|
2198
2200
|
email: z.ZodString;
|
|
2199
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2200
|
-
id: string;
|
|
2201
|
-
firstName: string;
|
|
2202
2202
|
lastName: string;
|
|
2203
|
+
firstName: string;
|
|
2203
2204
|
email: string;
|
|
2204
|
-
}, {
|
|
2205
2205
|
id: string;
|
|
2206
|
-
|
|
2206
|
+
}, {
|
|
2207
2207
|
lastName: string;
|
|
2208
|
+
firstName: string;
|
|
2208
2209
|
email: string;
|
|
2210
|
+
id: string;
|
|
2209
2211
|
}>;
|
|
2210
2212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2211
2213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2212
2214
|
}, "strip", z.ZodTypeAny, {
|
|
2213
|
-
id: string;
|
|
2214
2215
|
email: string;
|
|
2215
|
-
|
|
2216
|
+
phone: string;
|
|
2216
2217
|
createdAt: string;
|
|
2218
|
+
id: string;
|
|
2217
2219
|
updatedAt: string;
|
|
2220
|
+
name: string;
|
|
2218
2221
|
clientId: string;
|
|
2219
2222
|
client: {
|
|
2220
|
-
|
|
2223
|
+
createdAt: string;
|
|
2221
2224
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2225
|
+
id: string;
|
|
2226
|
+
updatedAt: string;
|
|
2222
2227
|
name: string;
|
|
2223
2228
|
crn: string;
|
|
2224
2229
|
govLink: string;
|
|
2225
2230
|
director: string;
|
|
2226
2231
|
lastUpdatedBy: {
|
|
2227
|
-
id: string;
|
|
2228
|
-
firstName: string;
|
|
2229
2232
|
lastName: string;
|
|
2233
|
+
firstName: string;
|
|
2230
2234
|
email: string;
|
|
2235
|
+
id: string;
|
|
2231
2236
|
};
|
|
2232
|
-
createdAt: string;
|
|
2233
|
-
updatedAt: string;
|
|
2234
2237
|
agentClientLinks: {
|
|
2235
2238
|
agentId: string;
|
|
2236
2239
|
};
|
|
2237
2240
|
blacklistReason?: string | null | undefined;
|
|
2238
2241
|
};
|
|
2239
|
-
phone: string;
|
|
2240
2242
|
createdBy: {
|
|
2241
|
-
id: string;
|
|
2242
|
-
firstName: string;
|
|
2243
2243
|
lastName: string;
|
|
2244
|
+
firstName: string;
|
|
2244
2245
|
email: string;
|
|
2246
|
+
id: string;
|
|
2245
2247
|
};
|
|
2246
2248
|
position?: string | undefined;
|
|
2247
2249
|
source?: string | undefined;
|
|
2248
2250
|
}, {
|
|
2249
|
-
id: string;
|
|
2250
2251
|
email: string;
|
|
2251
|
-
|
|
2252
|
+
phone: string;
|
|
2252
2253
|
createdAt: string | Date;
|
|
2254
|
+
id: string;
|
|
2253
2255
|
updatedAt: string | Date;
|
|
2256
|
+
name: string;
|
|
2254
2257
|
clientId: string;
|
|
2255
2258
|
client: {
|
|
2256
|
-
|
|
2259
|
+
createdAt: string | Date;
|
|
2257
2260
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2261
|
+
id: string;
|
|
2262
|
+
updatedAt: string | Date;
|
|
2258
2263
|
name: string;
|
|
2259
2264
|
crn: string;
|
|
2260
2265
|
govLink: string;
|
|
2261
2266
|
director: string;
|
|
2262
2267
|
lastUpdatedBy: {
|
|
2263
|
-
id: string;
|
|
2264
|
-
firstName: string;
|
|
2265
2268
|
lastName: string;
|
|
2269
|
+
firstName: string;
|
|
2266
2270
|
email: string;
|
|
2271
|
+
id: string;
|
|
2267
2272
|
};
|
|
2268
|
-
createdAt: string | Date;
|
|
2269
|
-
updatedAt: string | Date;
|
|
2270
2273
|
agentClientLinks: {
|
|
2271
2274
|
agentId: string;
|
|
2272
2275
|
};
|
|
2273
2276
|
blacklistReason?: string | null | undefined;
|
|
2274
2277
|
};
|
|
2275
|
-
phone: string;
|
|
2276
2278
|
createdBy: {
|
|
2277
|
-
id: string;
|
|
2278
|
-
firstName: string;
|
|
2279
2279
|
lastName: string;
|
|
2280
|
+
firstName: string;
|
|
2280
2281
|
email: string;
|
|
2282
|
+
id: string;
|
|
2281
2283
|
};
|
|
2282
2284
|
position?: string | undefined;
|
|
2283
2285
|
source?: string | undefined;
|