@dakkitor/api-contracts 1.1.146 → 1.1.147
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/first-agent.abilities.json +39 -0
- package/dist/abilities/second-agent.abilities.json +36 -0
- package/dist/abilities/team-leads.json +30 -0
- package/dist/actives/actives.contract.d.ts +8207 -7871
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +973 -973
- package/dist/auth/auth.contract.d.ts +12 -12
- package/dist/bookings/bookings.contract.d.ts +12034 -11506
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +620 -620
- package/dist/client-contacts/client-contacts.contract.d.ts +277 -277
- package/dist/clients/clients.contract.d.ts +173 -173
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1868 -1868
- package/dist/collaborations/collaborations.contract.d.ts +1548 -1548
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +9 -7
- package/dist/companies/companies.contract.d.ts +26 -26
- package/dist/crews/crews.contract.d.ts +2549 -0
- package/dist/crews/crews.contract.d.ts.map +1 -0
- package/dist/crews/crews.contract.js +203 -0
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +517 -517
- package/dist/dashboards/dashboard-widgets.contract.d.ts +122 -122
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/jobs/jobs.contract.d.ts +4309 -4309
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +26 -26
- package/dist/lead-assignments/lead-assignments.contract.d.ts +498 -498
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +131 -131
- package/dist/leads/leads.contract.d.ts +184 -184
- package/dist/locations/locations.contract.d.ts +28 -28
- package/dist/own-research/own-research.contract.d.ts +728 -728
- package/dist/users/users.contract.d.ts +154 -154
- package/dist/workers/workers.contract.d.ts +6476 -4566
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +217 -65
- package/package.json +1 -1
|
@@ -22,14 +22,14 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
22
22
|
email: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
id: string;
|
|
25
|
-
email: string;
|
|
26
25
|
firstName: string;
|
|
27
26
|
lastName: string;
|
|
27
|
+
email: string;
|
|
28
28
|
}, {
|
|
29
29
|
id: string;
|
|
30
|
-
email: string;
|
|
31
30
|
firstName: string;
|
|
32
31
|
lastName: string;
|
|
32
|
+
email: string;
|
|
33
33
|
}>>>;
|
|
34
34
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
35
35
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -42,43 +42,43 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
42
42
|
}>>>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
id: string;
|
|
45
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
45
46
|
name: string;
|
|
46
|
-
updatedAt: string;
|
|
47
47
|
createdAt: string;
|
|
48
|
-
|
|
48
|
+
updatedAt: string;
|
|
49
49
|
crn: string | null;
|
|
50
50
|
govLink: string | null;
|
|
51
|
-
director: string;
|
|
52
51
|
soleTrader: boolean;
|
|
52
|
+
director: string;
|
|
53
53
|
blacklistReason?: string | null | undefined;
|
|
54
|
-
agentClientLinks?: {
|
|
55
|
-
agentId: string;
|
|
56
|
-
} | null | undefined;
|
|
57
54
|
lastUpdatedBy?: {
|
|
58
55
|
id: string;
|
|
59
|
-
email: string;
|
|
60
56
|
firstName: string;
|
|
61
57
|
lastName: string;
|
|
58
|
+
email: string;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
agentClientLinks?: {
|
|
61
|
+
agentId: string;
|
|
62
62
|
} | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
id: string;
|
|
65
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
65
66
|
name: string;
|
|
66
|
-
updatedAt: string | Date;
|
|
67
67
|
createdAt: string | Date;
|
|
68
|
-
|
|
68
|
+
updatedAt: string | Date;
|
|
69
69
|
crn: string | null;
|
|
70
70
|
govLink: string | null;
|
|
71
|
-
director: string;
|
|
72
71
|
soleTrader: boolean;
|
|
72
|
+
director: string;
|
|
73
73
|
blacklistReason?: string | null | undefined;
|
|
74
|
-
agentClientLinks?: {
|
|
75
|
-
agentId: string;
|
|
76
|
-
} | null | undefined;
|
|
77
74
|
lastUpdatedBy?: {
|
|
78
75
|
id: string;
|
|
79
|
-
email: string;
|
|
80
76
|
firstName: string;
|
|
81
77
|
lastName: string;
|
|
78
|
+
email: string;
|
|
79
|
+
} | null | undefined;
|
|
80
|
+
agentClientLinks?: {
|
|
81
|
+
agentId: string;
|
|
82
82
|
} | null | undefined;
|
|
83
83
|
}>;
|
|
84
84
|
agentId: z.ZodString;
|
|
@@ -131,17 +131,17 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
131
131
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
133
|
id: string;
|
|
134
|
-
updatedAt: string;
|
|
135
|
-
createdAt: string;
|
|
136
|
-
email: string;
|
|
137
134
|
firstName: string;
|
|
138
135
|
lastName: string;
|
|
136
|
+
email: string;
|
|
139
137
|
phoneNumbers: {
|
|
140
138
|
id: string;
|
|
141
139
|
phoneNumber: string;
|
|
142
140
|
isPrimary: boolean;
|
|
143
141
|
description?: string | null | undefined;
|
|
144
142
|
}[];
|
|
143
|
+
createdAt: string;
|
|
144
|
+
updatedAt: string;
|
|
145
145
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
146
146
|
office?: {
|
|
147
147
|
id: string;
|
|
@@ -154,22 +154,22 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
id: string;
|
|
157
|
-
updatedAt: string | Date;
|
|
158
|
-
createdAt: string | Date;
|
|
159
|
-
email: string;
|
|
160
157
|
firstName: string;
|
|
161
158
|
lastName: string;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
name: string;
|
|
166
|
-
} | null | undefined;
|
|
159
|
+
email: string;
|
|
160
|
+
createdAt: string | Date;
|
|
161
|
+
updatedAt: string | Date;
|
|
167
162
|
phoneNumbers?: {
|
|
168
163
|
id: string;
|
|
169
164
|
phoneNumber: string;
|
|
170
165
|
description?: string | null | undefined;
|
|
171
166
|
isPrimary?: boolean | undefined;
|
|
172
167
|
}[] | undefined;
|
|
168
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
169
|
+
office?: {
|
|
170
|
+
id: string;
|
|
171
|
+
name: string;
|
|
172
|
+
} | null | undefined;
|
|
173
173
|
canImpersonateUsers?: {
|
|
174
174
|
id: string;
|
|
175
175
|
firstName: string;
|
|
@@ -230,17 +230,17 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
230
230
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
id: string;
|
|
233
|
-
updatedAt: string;
|
|
234
|
-
createdAt: string;
|
|
235
|
-
email: string;
|
|
236
233
|
firstName: string;
|
|
237
234
|
lastName: string;
|
|
235
|
+
email: string;
|
|
238
236
|
phoneNumbers: {
|
|
239
237
|
id: string;
|
|
240
238
|
phoneNumber: string;
|
|
241
239
|
isPrimary: boolean;
|
|
242
240
|
description?: string | null | undefined;
|
|
243
241
|
}[];
|
|
242
|
+
createdAt: string;
|
|
243
|
+
updatedAt: string;
|
|
244
244
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
245
245
|
office?: {
|
|
246
246
|
id: string;
|
|
@@ -253,22 +253,22 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
253
253
|
}[] | undefined;
|
|
254
254
|
}, {
|
|
255
255
|
id: string;
|
|
256
|
-
updatedAt: string | Date;
|
|
257
|
-
createdAt: string | Date;
|
|
258
|
-
email: string;
|
|
259
256
|
firstName: string;
|
|
260
257
|
lastName: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
name: string;
|
|
265
|
-
} | null | undefined;
|
|
258
|
+
email: string;
|
|
259
|
+
createdAt: string | Date;
|
|
260
|
+
updatedAt: string | Date;
|
|
266
261
|
phoneNumbers?: {
|
|
267
262
|
id: string;
|
|
268
263
|
phoneNumber: string;
|
|
269
264
|
description?: string | null | undefined;
|
|
270
265
|
isPrimary?: boolean | undefined;
|
|
271
266
|
}[] | undefined;
|
|
267
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
268
|
+
office?: {
|
|
269
|
+
id: string;
|
|
270
|
+
name: string;
|
|
271
|
+
} | null | undefined;
|
|
272
272
|
canImpersonateUsers?: {
|
|
273
273
|
id: string;
|
|
274
274
|
firstName: string;
|
|
@@ -326,17 +326,17 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
326
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
id: string;
|
|
329
|
-
updatedAt: string;
|
|
330
|
-
createdAt: string;
|
|
331
|
-
email: string;
|
|
332
329
|
firstName: string;
|
|
333
330
|
lastName: string;
|
|
331
|
+
email: string;
|
|
334
332
|
phoneNumbers: {
|
|
335
333
|
id: string;
|
|
336
334
|
phoneNumber: string;
|
|
337
335
|
isPrimary: boolean;
|
|
338
336
|
description?: string | null | undefined;
|
|
339
337
|
}[];
|
|
338
|
+
createdAt: string;
|
|
339
|
+
updatedAt: string;
|
|
340
340
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
341
341
|
office?: {
|
|
342
342
|
id: string;
|
|
@@ -349,22 +349,22 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
349
349
|
}[] | undefined;
|
|
350
350
|
}, {
|
|
351
351
|
id: string;
|
|
352
|
-
updatedAt: string | Date;
|
|
353
|
-
createdAt: string | Date;
|
|
354
|
-
email: string;
|
|
355
352
|
firstName: string;
|
|
356
353
|
lastName: string;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
name: string;
|
|
361
|
-
} | null | undefined;
|
|
354
|
+
email: string;
|
|
355
|
+
createdAt: string | Date;
|
|
356
|
+
updatedAt: string | Date;
|
|
362
357
|
phoneNumbers?: {
|
|
363
358
|
id: string;
|
|
364
359
|
phoneNumber: string;
|
|
365
360
|
description?: string | null | undefined;
|
|
366
361
|
isPrimary?: boolean | undefined;
|
|
367
362
|
}[] | undefined;
|
|
363
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
364
|
+
office?: {
|
|
365
|
+
id: string;
|
|
366
|
+
name: string;
|
|
367
|
+
} | null | undefined;
|
|
368
368
|
canImpersonateUsers?: {
|
|
369
369
|
id: string;
|
|
370
370
|
firstName: string;
|
|
@@ -375,47 +375,23 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
375
375
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
id: string;
|
|
378
|
-
updatedAt: string;
|
|
379
|
-
createdAt: string;
|
|
380
378
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
381
|
-
clientId: string;
|
|
382
|
-
client: {
|
|
383
|
-
id: string;
|
|
384
|
-
name: string;
|
|
385
|
-
updatedAt: string;
|
|
386
|
-
createdAt: string;
|
|
387
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
388
|
-
crn: string | null;
|
|
389
|
-
govLink: string | null;
|
|
390
|
-
director: string;
|
|
391
|
-
soleTrader: boolean;
|
|
392
|
-
blacklistReason?: string | null | undefined;
|
|
393
|
-
agentClientLinks?: {
|
|
394
|
-
agentId: string;
|
|
395
|
-
} | null | undefined;
|
|
396
|
-
lastUpdatedBy?: {
|
|
397
|
-
id: string;
|
|
398
|
-
email: string;
|
|
399
|
-
firstName: string;
|
|
400
|
-
lastName: string;
|
|
401
|
-
} | null | undefined;
|
|
402
|
-
};
|
|
403
379
|
agentId: string;
|
|
404
|
-
|
|
405
|
-
|
|
380
|
+
createdAt: string;
|
|
381
|
+
updatedAt: string;
|
|
406
382
|
agent: {
|
|
407
383
|
id: string;
|
|
408
|
-
updatedAt: string;
|
|
409
|
-
createdAt: string;
|
|
410
|
-
email: string;
|
|
411
384
|
firstName: string;
|
|
412
385
|
lastName: string;
|
|
386
|
+
email: string;
|
|
413
387
|
phoneNumbers: {
|
|
414
388
|
id: string;
|
|
415
389
|
phoneNumber: string;
|
|
416
390
|
isPrimary: boolean;
|
|
417
391
|
description?: string | null | undefined;
|
|
418
392
|
}[];
|
|
393
|
+
createdAt: string;
|
|
394
|
+
updatedAt: string;
|
|
419
395
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
420
396
|
office?: {
|
|
421
397
|
id: string;
|
|
@@ -427,19 +403,43 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
427
403
|
lastName: string;
|
|
428
404
|
}[] | undefined;
|
|
429
405
|
};
|
|
430
|
-
|
|
406
|
+
client: {
|
|
431
407
|
id: string;
|
|
432
|
-
|
|
408
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
409
|
+
name: string;
|
|
433
410
|
createdAt: string;
|
|
434
|
-
|
|
411
|
+
updatedAt: string;
|
|
412
|
+
crn: string | null;
|
|
413
|
+
govLink: string | null;
|
|
414
|
+
soleTrader: boolean;
|
|
415
|
+
director: string;
|
|
416
|
+
blacklistReason?: string | null | undefined;
|
|
417
|
+
lastUpdatedBy?: {
|
|
418
|
+
id: string;
|
|
419
|
+
firstName: string;
|
|
420
|
+
lastName: string;
|
|
421
|
+
email: string;
|
|
422
|
+
} | null | undefined;
|
|
423
|
+
agentClientLinks?: {
|
|
424
|
+
agentId: string;
|
|
425
|
+
} | null | undefined;
|
|
426
|
+
};
|
|
427
|
+
clientId: string;
|
|
428
|
+
createdBy: string;
|
|
429
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
430
|
+
creator: {
|
|
431
|
+
id: string;
|
|
435
432
|
firstName: string;
|
|
436
433
|
lastName: string;
|
|
434
|
+
email: string;
|
|
437
435
|
phoneNumbers: {
|
|
438
436
|
id: string;
|
|
439
437
|
phoneNumber: string;
|
|
440
438
|
isPrimary: boolean;
|
|
441
439
|
description?: string | null | undefined;
|
|
442
440
|
}[];
|
|
441
|
+
createdAt: string;
|
|
442
|
+
updatedAt: string;
|
|
443
443
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
444
444
|
office?: {
|
|
445
445
|
id: string;
|
|
@@ -456,17 +456,17 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
456
456
|
reviewedBy?: string | null | undefined;
|
|
457
457
|
reviewer?: {
|
|
458
458
|
id: string;
|
|
459
|
-
updatedAt: string;
|
|
460
|
-
createdAt: string;
|
|
461
|
-
email: string;
|
|
462
459
|
firstName: string;
|
|
463
460
|
lastName: string;
|
|
461
|
+
email: string;
|
|
464
462
|
phoneNumbers: {
|
|
465
463
|
id: string;
|
|
466
464
|
phoneNumber: string;
|
|
467
465
|
isPrimary: boolean;
|
|
468
466
|
description?: string | null | undefined;
|
|
469
467
|
}[];
|
|
468
|
+
createdAt: string;
|
|
469
|
+
updatedAt: string;
|
|
470
470
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
471
471
|
office?: {
|
|
472
472
|
id: string;
|
|
@@ -481,76 +481,76 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
481
481
|
reviewedAt?: string | null | undefined;
|
|
482
482
|
}, {
|
|
483
483
|
id: string;
|
|
484
|
-
updatedAt: string | Date;
|
|
485
|
-
createdAt: string | Date;
|
|
486
484
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
487
|
-
|
|
485
|
+
agentId: string;
|
|
486
|
+
createdAt: string | Date;
|
|
487
|
+
updatedAt: string | Date;
|
|
488
|
+
agent: {
|
|
489
|
+
id: string;
|
|
490
|
+
firstName: string;
|
|
491
|
+
lastName: string;
|
|
492
|
+
email: string;
|
|
493
|
+
createdAt: string | Date;
|
|
494
|
+
updatedAt: string | Date;
|
|
495
|
+
phoneNumbers?: {
|
|
496
|
+
id: string;
|
|
497
|
+
phoneNumber: string;
|
|
498
|
+
description?: string | null | undefined;
|
|
499
|
+
isPrimary?: boolean | undefined;
|
|
500
|
+
}[] | undefined;
|
|
501
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
502
|
+
office?: {
|
|
503
|
+
id: string;
|
|
504
|
+
name: string;
|
|
505
|
+
} | null | undefined;
|
|
506
|
+
canImpersonateUsers?: {
|
|
507
|
+
id: string;
|
|
508
|
+
firstName: string;
|
|
509
|
+
lastName: string;
|
|
510
|
+
}[] | undefined;
|
|
511
|
+
};
|
|
488
512
|
client: {
|
|
489
513
|
id: string;
|
|
514
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
490
515
|
name: string;
|
|
491
|
-
updatedAt: string | Date;
|
|
492
516
|
createdAt: string | Date;
|
|
493
|
-
|
|
517
|
+
updatedAt: string | Date;
|
|
494
518
|
crn: string | null;
|
|
495
519
|
govLink: string | null;
|
|
496
|
-
director: string;
|
|
497
520
|
soleTrader: boolean;
|
|
521
|
+
director: string;
|
|
498
522
|
blacklistReason?: string | null | undefined;
|
|
499
|
-
agentClientLinks?: {
|
|
500
|
-
agentId: string;
|
|
501
|
-
} | null | undefined;
|
|
502
523
|
lastUpdatedBy?: {
|
|
503
524
|
id: string;
|
|
504
|
-
email: string;
|
|
505
525
|
firstName: string;
|
|
506
526
|
lastName: string;
|
|
527
|
+
email: string;
|
|
528
|
+
} | null | undefined;
|
|
529
|
+
agentClientLinks?: {
|
|
530
|
+
agentId: string;
|
|
507
531
|
} | null | undefined;
|
|
508
532
|
};
|
|
509
|
-
|
|
510
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
533
|
+
clientId: string;
|
|
511
534
|
createdBy: string;
|
|
512
|
-
|
|
535
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
536
|
+
creator: {
|
|
513
537
|
id: string;
|
|
514
|
-
updatedAt: string | Date;
|
|
515
|
-
createdAt: string | Date;
|
|
516
|
-
email: string;
|
|
517
538
|
firstName: string;
|
|
518
539
|
lastName: string;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
name: string;
|
|
523
|
-
} | null | undefined;
|
|
540
|
+
email: string;
|
|
541
|
+
createdAt: string | Date;
|
|
542
|
+
updatedAt: string | Date;
|
|
524
543
|
phoneNumbers?: {
|
|
525
544
|
id: string;
|
|
526
545
|
phoneNumber: string;
|
|
527
546
|
description?: string | null | undefined;
|
|
528
547
|
isPrimary?: boolean | undefined;
|
|
529
548
|
}[] | undefined;
|
|
530
|
-
canImpersonateUsers?: {
|
|
531
|
-
id: string;
|
|
532
|
-
firstName: string;
|
|
533
|
-
lastName: string;
|
|
534
|
-
}[] | undefined;
|
|
535
|
-
};
|
|
536
|
-
creator: {
|
|
537
|
-
id: string;
|
|
538
|
-
updatedAt: string | Date;
|
|
539
|
-
createdAt: string | Date;
|
|
540
|
-
email: string;
|
|
541
|
-
firstName: string;
|
|
542
|
-
lastName: string;
|
|
543
549
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
544
550
|
office?: {
|
|
545
551
|
id: string;
|
|
546
552
|
name: string;
|
|
547
553
|
} | null | undefined;
|
|
548
|
-
phoneNumbers?: {
|
|
549
|
-
id: string;
|
|
550
|
-
phoneNumber: string;
|
|
551
|
-
description?: string | null | undefined;
|
|
552
|
-
isPrimary?: boolean | undefined;
|
|
553
|
-
}[] | undefined;
|
|
554
554
|
canImpersonateUsers?: {
|
|
555
555
|
id: string;
|
|
556
556
|
firstName: string;
|
|
@@ -562,22 +562,22 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
562
562
|
reviewedBy?: string | null | undefined;
|
|
563
563
|
reviewer?: {
|
|
564
564
|
id: string;
|
|
565
|
-
updatedAt: string | Date;
|
|
566
|
-
createdAt: string | Date;
|
|
567
|
-
email: string;
|
|
568
565
|
firstName: string;
|
|
569
566
|
lastName: string;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
name: string;
|
|
574
|
-
} | null | undefined;
|
|
567
|
+
email: string;
|
|
568
|
+
createdAt: string | Date;
|
|
569
|
+
updatedAt: string | Date;
|
|
575
570
|
phoneNumbers?: {
|
|
576
571
|
id: string;
|
|
577
572
|
phoneNumber: string;
|
|
578
573
|
description?: string | null | undefined;
|
|
579
574
|
isPrimary?: boolean | undefined;
|
|
580
575
|
}[] | undefined;
|
|
576
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
577
|
+
office?: {
|
|
578
|
+
id: string;
|
|
579
|
+
name: string;
|
|
580
|
+
} | null | undefined;
|
|
581
581
|
canImpersonateUsers?: {
|
|
582
582
|
id: string;
|
|
583
583
|
firstName: string;
|
|
@@ -597,22 +597,22 @@ export declare const FilterAgentClientLinkSchema: z.ZodObject<{
|
|
|
597
597
|
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["createdAt"]>>>;
|
|
598
598
|
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
+
limit: number;
|
|
601
|
+
page: number;
|
|
600
602
|
sortBy: "createdAt";
|
|
601
603
|
sortOrder: "ASC" | "DESC";
|
|
602
|
-
page: number;
|
|
603
|
-
limit: number;
|
|
604
604
|
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
605
|
-
clientId?: string | undefined;
|
|
606
605
|
agentId?: string | undefined;
|
|
606
|
+
clientId?: string | undefined;
|
|
607
607
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
608
608
|
}, {
|
|
609
609
|
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
610
|
-
|
|
610
|
+
agentId?: string | undefined;
|
|
611
|
+
limit?: number | undefined;
|
|
612
|
+
page?: number | undefined;
|
|
611
613
|
sortBy?: "createdAt" | undefined;
|
|
612
614
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
613
|
-
|
|
614
|
-
limit?: number | undefined;
|
|
615
|
-
agentId?: string | undefined;
|
|
615
|
+
clientId?: string | undefined;
|
|
616
616
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
617
617
|
}>;
|
|
618
618
|
export declare const ApplyChangesSchema: z.ZodObject<{
|
|
@@ -659,14 +659,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
659
659
|
email: z.ZodString;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
661
|
id: string;
|
|
662
|
-
email: string;
|
|
663
662
|
firstName: string;
|
|
664
663
|
lastName: string;
|
|
664
|
+
email: string;
|
|
665
665
|
}, {
|
|
666
666
|
id: string;
|
|
667
|
-
email: string;
|
|
668
667
|
firstName: string;
|
|
669
668
|
lastName: string;
|
|
669
|
+
email: string;
|
|
670
670
|
}>>>;
|
|
671
671
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
672
672
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -679,43 +679,43 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
679
679
|
}>>>;
|
|
680
680
|
}, "strip", z.ZodTypeAny, {
|
|
681
681
|
id: string;
|
|
682
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
682
683
|
name: string;
|
|
683
|
-
updatedAt: string;
|
|
684
684
|
createdAt: string;
|
|
685
|
-
|
|
685
|
+
updatedAt: string;
|
|
686
686
|
crn: string | null;
|
|
687
687
|
govLink: string | null;
|
|
688
|
-
director: string;
|
|
689
688
|
soleTrader: boolean;
|
|
689
|
+
director: string;
|
|
690
690
|
blacklistReason?: string | null | undefined;
|
|
691
|
-
agentClientLinks?: {
|
|
692
|
-
agentId: string;
|
|
693
|
-
} | null | undefined;
|
|
694
691
|
lastUpdatedBy?: {
|
|
695
692
|
id: string;
|
|
696
|
-
email: string;
|
|
697
693
|
firstName: string;
|
|
698
694
|
lastName: string;
|
|
695
|
+
email: string;
|
|
696
|
+
} | null | undefined;
|
|
697
|
+
agentClientLinks?: {
|
|
698
|
+
agentId: string;
|
|
699
699
|
} | null | undefined;
|
|
700
700
|
}, {
|
|
701
701
|
id: string;
|
|
702
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
702
703
|
name: string;
|
|
703
|
-
updatedAt: string | Date;
|
|
704
704
|
createdAt: string | Date;
|
|
705
|
-
|
|
705
|
+
updatedAt: string | Date;
|
|
706
706
|
crn: string | null;
|
|
707
707
|
govLink: string | null;
|
|
708
|
-
director: string;
|
|
709
708
|
soleTrader: boolean;
|
|
709
|
+
director: string;
|
|
710
710
|
blacklistReason?: string | null | undefined;
|
|
711
|
-
agentClientLinks?: {
|
|
712
|
-
agentId: string;
|
|
713
|
-
} | null | undefined;
|
|
714
711
|
lastUpdatedBy?: {
|
|
715
712
|
id: string;
|
|
716
|
-
email: string;
|
|
717
713
|
firstName: string;
|
|
718
714
|
lastName: string;
|
|
715
|
+
email: string;
|
|
716
|
+
} | null | undefined;
|
|
717
|
+
agentClientLinks?: {
|
|
718
|
+
agentId: string;
|
|
719
719
|
} | null | undefined;
|
|
720
720
|
}>;
|
|
721
721
|
agentId: z.ZodString;
|
|
@@ -768,17 +768,17 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
768
768
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
770
|
id: string;
|
|
771
|
-
updatedAt: string;
|
|
772
|
-
createdAt: string;
|
|
773
|
-
email: string;
|
|
774
771
|
firstName: string;
|
|
775
772
|
lastName: string;
|
|
773
|
+
email: string;
|
|
776
774
|
phoneNumbers: {
|
|
777
775
|
id: string;
|
|
778
776
|
phoneNumber: string;
|
|
779
777
|
isPrimary: boolean;
|
|
780
778
|
description?: string | null | undefined;
|
|
781
779
|
}[];
|
|
780
|
+
createdAt: string;
|
|
781
|
+
updatedAt: string;
|
|
782
782
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
783
783
|
office?: {
|
|
784
784
|
id: string;
|
|
@@ -791,22 +791,22 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
791
791
|
}[] | undefined;
|
|
792
792
|
}, {
|
|
793
793
|
id: string;
|
|
794
|
-
updatedAt: string | Date;
|
|
795
|
-
createdAt: string | Date;
|
|
796
|
-
email: string;
|
|
797
794
|
firstName: string;
|
|
798
795
|
lastName: string;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
name: string;
|
|
803
|
-
} | null | undefined;
|
|
796
|
+
email: string;
|
|
797
|
+
createdAt: string | Date;
|
|
798
|
+
updatedAt: string | Date;
|
|
804
799
|
phoneNumbers?: {
|
|
805
800
|
id: string;
|
|
806
801
|
phoneNumber: string;
|
|
807
802
|
description?: string | null | undefined;
|
|
808
803
|
isPrimary?: boolean | undefined;
|
|
809
804
|
}[] | undefined;
|
|
805
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
806
|
+
office?: {
|
|
807
|
+
id: string;
|
|
808
|
+
name: string;
|
|
809
|
+
} | null | undefined;
|
|
810
810
|
canImpersonateUsers?: {
|
|
811
811
|
id: string;
|
|
812
812
|
firstName: string;
|
|
@@ -867,17 +867,17 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
867
867
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
868
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
869
|
id: string;
|
|
870
|
-
updatedAt: string;
|
|
871
|
-
createdAt: string;
|
|
872
|
-
email: string;
|
|
873
870
|
firstName: string;
|
|
874
871
|
lastName: string;
|
|
872
|
+
email: string;
|
|
875
873
|
phoneNumbers: {
|
|
876
874
|
id: string;
|
|
877
875
|
phoneNumber: string;
|
|
878
876
|
isPrimary: boolean;
|
|
879
877
|
description?: string | null | undefined;
|
|
880
878
|
}[];
|
|
879
|
+
createdAt: string;
|
|
880
|
+
updatedAt: string;
|
|
881
881
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
882
882
|
office?: {
|
|
883
883
|
id: string;
|
|
@@ -890,22 +890,22 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
890
890
|
}[] | undefined;
|
|
891
891
|
}, {
|
|
892
892
|
id: string;
|
|
893
|
-
updatedAt: string | Date;
|
|
894
|
-
createdAt: string | Date;
|
|
895
|
-
email: string;
|
|
896
893
|
firstName: string;
|
|
897
894
|
lastName: string;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
name: string;
|
|
902
|
-
} | null | undefined;
|
|
895
|
+
email: string;
|
|
896
|
+
createdAt: string | Date;
|
|
897
|
+
updatedAt: string | Date;
|
|
903
898
|
phoneNumbers?: {
|
|
904
899
|
id: string;
|
|
905
900
|
phoneNumber: string;
|
|
906
901
|
description?: string | null | undefined;
|
|
907
902
|
isPrimary?: boolean | undefined;
|
|
908
903
|
}[] | undefined;
|
|
904
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
905
|
+
office?: {
|
|
906
|
+
id: string;
|
|
907
|
+
name: string;
|
|
908
|
+
} | null | undefined;
|
|
909
909
|
canImpersonateUsers?: {
|
|
910
910
|
id: string;
|
|
911
911
|
firstName: string;
|
|
@@ -963,17 +963,17 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
963
963
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
965
|
id: string;
|
|
966
|
-
updatedAt: string;
|
|
967
|
-
createdAt: string;
|
|
968
|
-
email: string;
|
|
969
966
|
firstName: string;
|
|
970
967
|
lastName: string;
|
|
968
|
+
email: string;
|
|
971
969
|
phoneNumbers: {
|
|
972
970
|
id: string;
|
|
973
971
|
phoneNumber: string;
|
|
974
972
|
isPrimary: boolean;
|
|
975
973
|
description?: string | null | undefined;
|
|
976
974
|
}[];
|
|
975
|
+
createdAt: string;
|
|
976
|
+
updatedAt: string;
|
|
977
977
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
978
978
|
office?: {
|
|
979
979
|
id: string;
|
|
@@ -986,22 +986,22 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
986
986
|
}[] | undefined;
|
|
987
987
|
}, {
|
|
988
988
|
id: string;
|
|
989
|
-
updatedAt: string | Date;
|
|
990
|
-
createdAt: string | Date;
|
|
991
|
-
email: string;
|
|
992
989
|
firstName: string;
|
|
993
990
|
lastName: string;
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
name: string;
|
|
998
|
-
} | null | undefined;
|
|
991
|
+
email: string;
|
|
992
|
+
createdAt: string | Date;
|
|
993
|
+
updatedAt: string | Date;
|
|
999
994
|
phoneNumbers?: {
|
|
1000
995
|
id: string;
|
|
1001
996
|
phoneNumber: string;
|
|
1002
997
|
description?: string | null | undefined;
|
|
1003
998
|
isPrimary?: boolean | undefined;
|
|
1004
999
|
}[] | undefined;
|
|
1000
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1001
|
+
office?: {
|
|
1002
|
+
id: string;
|
|
1003
|
+
name: string;
|
|
1004
|
+
} | null | undefined;
|
|
1005
1005
|
canImpersonateUsers?: {
|
|
1006
1006
|
id: string;
|
|
1007
1007
|
firstName: string;
|
|
@@ -1012,47 +1012,23 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1012
1012
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1013
1013
|
}, "strip", z.ZodTypeAny, {
|
|
1014
1014
|
id: string;
|
|
1015
|
-
updatedAt: string;
|
|
1016
|
-
createdAt: string;
|
|
1017
1015
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1018
|
-
clientId: string;
|
|
1019
|
-
client: {
|
|
1020
|
-
id: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
updatedAt: string;
|
|
1023
|
-
createdAt: string;
|
|
1024
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1025
|
-
crn: string | null;
|
|
1026
|
-
govLink: string | null;
|
|
1027
|
-
director: string;
|
|
1028
|
-
soleTrader: boolean;
|
|
1029
|
-
blacklistReason?: string | null | undefined;
|
|
1030
|
-
agentClientLinks?: {
|
|
1031
|
-
agentId: string;
|
|
1032
|
-
} | null | undefined;
|
|
1033
|
-
lastUpdatedBy?: {
|
|
1034
|
-
id: string;
|
|
1035
|
-
email: string;
|
|
1036
|
-
firstName: string;
|
|
1037
|
-
lastName: string;
|
|
1038
|
-
} | null | undefined;
|
|
1039
|
-
};
|
|
1040
1016
|
agentId: string;
|
|
1041
|
-
|
|
1042
|
-
|
|
1017
|
+
createdAt: string;
|
|
1018
|
+
updatedAt: string;
|
|
1043
1019
|
agent: {
|
|
1044
1020
|
id: string;
|
|
1045
|
-
updatedAt: string;
|
|
1046
|
-
createdAt: string;
|
|
1047
|
-
email: string;
|
|
1048
1021
|
firstName: string;
|
|
1049
1022
|
lastName: string;
|
|
1023
|
+
email: string;
|
|
1050
1024
|
phoneNumbers: {
|
|
1051
1025
|
id: string;
|
|
1052
1026
|
phoneNumber: string;
|
|
1053
1027
|
isPrimary: boolean;
|
|
1054
1028
|
description?: string | null | undefined;
|
|
1055
1029
|
}[];
|
|
1030
|
+
createdAt: string;
|
|
1031
|
+
updatedAt: string;
|
|
1056
1032
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1057
1033
|
office?: {
|
|
1058
1034
|
id: string;
|
|
@@ -1064,19 +1040,43 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1064
1040
|
lastName: string;
|
|
1065
1041
|
}[] | undefined;
|
|
1066
1042
|
};
|
|
1067
|
-
|
|
1043
|
+
client: {
|
|
1068
1044
|
id: string;
|
|
1069
|
-
|
|
1045
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1046
|
+
name: string;
|
|
1070
1047
|
createdAt: string;
|
|
1071
|
-
|
|
1048
|
+
updatedAt: string;
|
|
1049
|
+
crn: string | null;
|
|
1050
|
+
govLink: string | null;
|
|
1051
|
+
soleTrader: boolean;
|
|
1052
|
+
director: string;
|
|
1053
|
+
blacklistReason?: string | null | undefined;
|
|
1054
|
+
lastUpdatedBy?: {
|
|
1055
|
+
id: string;
|
|
1056
|
+
firstName: string;
|
|
1057
|
+
lastName: string;
|
|
1058
|
+
email: string;
|
|
1059
|
+
} | null | undefined;
|
|
1060
|
+
agentClientLinks?: {
|
|
1061
|
+
agentId: string;
|
|
1062
|
+
} | null | undefined;
|
|
1063
|
+
};
|
|
1064
|
+
clientId: string;
|
|
1065
|
+
createdBy: string;
|
|
1066
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1067
|
+
creator: {
|
|
1068
|
+
id: string;
|
|
1072
1069
|
firstName: string;
|
|
1073
1070
|
lastName: string;
|
|
1071
|
+
email: string;
|
|
1074
1072
|
phoneNumbers: {
|
|
1075
1073
|
id: string;
|
|
1076
1074
|
phoneNumber: string;
|
|
1077
1075
|
isPrimary: boolean;
|
|
1078
1076
|
description?: string | null | undefined;
|
|
1079
1077
|
}[];
|
|
1078
|
+
createdAt: string;
|
|
1079
|
+
updatedAt: string;
|
|
1080
1080
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1081
1081
|
office?: {
|
|
1082
1082
|
id: string;
|
|
@@ -1093,17 +1093,17 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1093
1093
|
reviewedBy?: string | null | undefined;
|
|
1094
1094
|
reviewer?: {
|
|
1095
1095
|
id: string;
|
|
1096
|
-
updatedAt: string;
|
|
1097
|
-
createdAt: string;
|
|
1098
|
-
email: string;
|
|
1099
1096
|
firstName: string;
|
|
1100
1097
|
lastName: string;
|
|
1098
|
+
email: string;
|
|
1101
1099
|
phoneNumbers: {
|
|
1102
1100
|
id: string;
|
|
1103
1101
|
phoneNumber: string;
|
|
1104
1102
|
isPrimary: boolean;
|
|
1105
1103
|
description?: string | null | undefined;
|
|
1106
1104
|
}[];
|
|
1105
|
+
createdAt: string;
|
|
1106
|
+
updatedAt: string;
|
|
1107
1107
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1108
1108
|
office?: {
|
|
1109
1109
|
id: string;
|
|
@@ -1118,76 +1118,76 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1118
1118
|
reviewedAt?: string | null | undefined;
|
|
1119
1119
|
}, {
|
|
1120
1120
|
id: string;
|
|
1121
|
-
updatedAt: string | Date;
|
|
1122
|
-
createdAt: string | Date;
|
|
1123
1121
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1124
|
-
|
|
1122
|
+
agentId: string;
|
|
1123
|
+
createdAt: string | Date;
|
|
1124
|
+
updatedAt: string | Date;
|
|
1125
|
+
agent: {
|
|
1126
|
+
id: string;
|
|
1127
|
+
firstName: string;
|
|
1128
|
+
lastName: string;
|
|
1129
|
+
email: string;
|
|
1130
|
+
createdAt: string | Date;
|
|
1131
|
+
updatedAt: string | Date;
|
|
1132
|
+
phoneNumbers?: {
|
|
1133
|
+
id: string;
|
|
1134
|
+
phoneNumber: string;
|
|
1135
|
+
description?: string | null | undefined;
|
|
1136
|
+
isPrimary?: boolean | undefined;
|
|
1137
|
+
}[] | undefined;
|
|
1138
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1139
|
+
office?: {
|
|
1140
|
+
id: string;
|
|
1141
|
+
name: string;
|
|
1142
|
+
} | null | undefined;
|
|
1143
|
+
canImpersonateUsers?: {
|
|
1144
|
+
id: string;
|
|
1145
|
+
firstName: string;
|
|
1146
|
+
lastName: string;
|
|
1147
|
+
}[] | undefined;
|
|
1148
|
+
};
|
|
1125
1149
|
client: {
|
|
1126
1150
|
id: string;
|
|
1151
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1127
1152
|
name: string;
|
|
1128
|
-
updatedAt: string | Date;
|
|
1129
1153
|
createdAt: string | Date;
|
|
1130
|
-
|
|
1154
|
+
updatedAt: string | Date;
|
|
1131
1155
|
crn: string | null;
|
|
1132
1156
|
govLink: string | null;
|
|
1133
|
-
director: string;
|
|
1134
1157
|
soleTrader: boolean;
|
|
1158
|
+
director: string;
|
|
1135
1159
|
blacklistReason?: string | null | undefined;
|
|
1136
|
-
agentClientLinks?: {
|
|
1137
|
-
agentId: string;
|
|
1138
|
-
} | null | undefined;
|
|
1139
1160
|
lastUpdatedBy?: {
|
|
1140
1161
|
id: string;
|
|
1141
|
-
email: string;
|
|
1142
1162
|
firstName: string;
|
|
1143
1163
|
lastName: string;
|
|
1164
|
+
email: string;
|
|
1165
|
+
} | null | undefined;
|
|
1166
|
+
agentClientLinks?: {
|
|
1167
|
+
agentId: string;
|
|
1144
1168
|
} | null | undefined;
|
|
1145
1169
|
};
|
|
1146
|
-
|
|
1147
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1170
|
+
clientId: string;
|
|
1148
1171
|
createdBy: string;
|
|
1149
|
-
|
|
1172
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1173
|
+
creator: {
|
|
1150
1174
|
id: string;
|
|
1151
|
-
updatedAt: string | Date;
|
|
1152
|
-
createdAt: string | Date;
|
|
1153
|
-
email: string;
|
|
1154
1175
|
firstName: string;
|
|
1155
1176
|
lastName: string;
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
name: string;
|
|
1160
|
-
} | null | undefined;
|
|
1177
|
+
email: string;
|
|
1178
|
+
createdAt: string | Date;
|
|
1179
|
+
updatedAt: string | Date;
|
|
1161
1180
|
phoneNumbers?: {
|
|
1162
1181
|
id: string;
|
|
1163
1182
|
phoneNumber: string;
|
|
1164
1183
|
description?: string | null | undefined;
|
|
1165
1184
|
isPrimary?: boolean | undefined;
|
|
1166
1185
|
}[] | undefined;
|
|
1167
|
-
canImpersonateUsers?: {
|
|
1168
|
-
id: string;
|
|
1169
|
-
firstName: string;
|
|
1170
|
-
lastName: string;
|
|
1171
|
-
}[] | undefined;
|
|
1172
|
-
};
|
|
1173
|
-
creator: {
|
|
1174
|
-
id: string;
|
|
1175
|
-
updatedAt: string | Date;
|
|
1176
|
-
createdAt: string | Date;
|
|
1177
|
-
email: string;
|
|
1178
|
-
firstName: string;
|
|
1179
|
-
lastName: string;
|
|
1180
1186
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1181
1187
|
office?: {
|
|
1182
1188
|
id: string;
|
|
1183
1189
|
name: string;
|
|
1184
1190
|
} | null | undefined;
|
|
1185
|
-
phoneNumbers?: {
|
|
1186
|
-
id: string;
|
|
1187
|
-
phoneNumber: string;
|
|
1188
|
-
description?: string | null | undefined;
|
|
1189
|
-
isPrimary?: boolean | undefined;
|
|
1190
|
-
}[] | undefined;
|
|
1191
1191
|
canImpersonateUsers?: {
|
|
1192
1192
|
id: string;
|
|
1193
1193
|
firstName: string;
|
|
@@ -1199,22 +1199,22 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1199
1199
|
reviewedBy?: string | null | undefined;
|
|
1200
1200
|
reviewer?: {
|
|
1201
1201
|
id: string;
|
|
1202
|
-
updatedAt: string | Date;
|
|
1203
|
-
createdAt: string | Date;
|
|
1204
|
-
email: string;
|
|
1205
1202
|
firstName: string;
|
|
1206
1203
|
lastName: string;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
name: string;
|
|
1211
|
-
} | null | undefined;
|
|
1204
|
+
email: string;
|
|
1205
|
+
createdAt: string | Date;
|
|
1206
|
+
updatedAt: string | Date;
|
|
1212
1207
|
phoneNumbers?: {
|
|
1213
1208
|
id: string;
|
|
1214
1209
|
phoneNumber: string;
|
|
1215
1210
|
description?: string | null | undefined;
|
|
1216
1211
|
isPrimary?: boolean | undefined;
|
|
1217
1212
|
}[] | undefined;
|
|
1213
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1214
|
+
office?: {
|
|
1215
|
+
id: string;
|
|
1216
|
+
name: string;
|
|
1217
|
+
} | null | undefined;
|
|
1218
1218
|
canImpersonateUsers?: {
|
|
1219
1219
|
id: string;
|
|
1220
1220
|
firstName: string;
|
|
@@ -1232,47 +1232,23 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1232
1232
|
limit: number;
|
|
1233
1233
|
items: {
|
|
1234
1234
|
id: string;
|
|
1235
|
-
updatedAt: string;
|
|
1236
|
-
createdAt: string;
|
|
1237
1235
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1238
|
-
clientId: string;
|
|
1239
|
-
client: {
|
|
1240
|
-
id: string;
|
|
1241
|
-
name: string;
|
|
1242
|
-
updatedAt: string;
|
|
1243
|
-
createdAt: string;
|
|
1244
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1245
|
-
crn: string | null;
|
|
1246
|
-
govLink: string | null;
|
|
1247
|
-
director: string;
|
|
1248
|
-
soleTrader: boolean;
|
|
1249
|
-
blacklistReason?: string | null | undefined;
|
|
1250
|
-
agentClientLinks?: {
|
|
1251
|
-
agentId: string;
|
|
1252
|
-
} | null | undefined;
|
|
1253
|
-
lastUpdatedBy?: {
|
|
1254
|
-
id: string;
|
|
1255
|
-
email: string;
|
|
1256
|
-
firstName: string;
|
|
1257
|
-
lastName: string;
|
|
1258
|
-
} | null | undefined;
|
|
1259
|
-
};
|
|
1260
1236
|
agentId: string;
|
|
1261
|
-
|
|
1262
|
-
|
|
1237
|
+
createdAt: string;
|
|
1238
|
+
updatedAt: string;
|
|
1263
1239
|
agent: {
|
|
1264
1240
|
id: string;
|
|
1265
|
-
updatedAt: string;
|
|
1266
|
-
createdAt: string;
|
|
1267
|
-
email: string;
|
|
1268
1241
|
firstName: string;
|
|
1269
1242
|
lastName: string;
|
|
1243
|
+
email: string;
|
|
1270
1244
|
phoneNumbers: {
|
|
1271
1245
|
id: string;
|
|
1272
1246
|
phoneNumber: string;
|
|
1273
1247
|
isPrimary: boolean;
|
|
1274
1248
|
description?: string | null | undefined;
|
|
1275
1249
|
}[];
|
|
1250
|
+
createdAt: string;
|
|
1251
|
+
updatedAt: string;
|
|
1276
1252
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1277
1253
|
office?: {
|
|
1278
1254
|
id: string;
|
|
@@ -1284,19 +1260,43 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1284
1260
|
lastName: string;
|
|
1285
1261
|
}[] | undefined;
|
|
1286
1262
|
};
|
|
1287
|
-
|
|
1263
|
+
client: {
|
|
1288
1264
|
id: string;
|
|
1289
|
-
|
|
1265
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1266
|
+
name: string;
|
|
1290
1267
|
createdAt: string;
|
|
1291
|
-
|
|
1268
|
+
updatedAt: string;
|
|
1269
|
+
crn: string | null;
|
|
1270
|
+
govLink: string | null;
|
|
1271
|
+
soleTrader: boolean;
|
|
1272
|
+
director: string;
|
|
1273
|
+
blacklistReason?: string | null | undefined;
|
|
1274
|
+
lastUpdatedBy?: {
|
|
1275
|
+
id: string;
|
|
1276
|
+
firstName: string;
|
|
1277
|
+
lastName: string;
|
|
1278
|
+
email: string;
|
|
1279
|
+
} | null | undefined;
|
|
1280
|
+
agentClientLinks?: {
|
|
1281
|
+
agentId: string;
|
|
1282
|
+
} | null | undefined;
|
|
1283
|
+
};
|
|
1284
|
+
clientId: string;
|
|
1285
|
+
createdBy: string;
|
|
1286
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1287
|
+
creator: {
|
|
1288
|
+
id: string;
|
|
1292
1289
|
firstName: string;
|
|
1293
1290
|
lastName: string;
|
|
1291
|
+
email: string;
|
|
1294
1292
|
phoneNumbers: {
|
|
1295
1293
|
id: string;
|
|
1296
1294
|
phoneNumber: string;
|
|
1297
1295
|
isPrimary: boolean;
|
|
1298
1296
|
description?: string | null | undefined;
|
|
1299
1297
|
}[];
|
|
1298
|
+
createdAt: string;
|
|
1299
|
+
updatedAt: string;
|
|
1300
1300
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1301
1301
|
office?: {
|
|
1302
1302
|
id: string;
|
|
@@ -1313,17 +1313,17 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1313
1313
|
reviewedBy?: string | null | undefined;
|
|
1314
1314
|
reviewer?: {
|
|
1315
1315
|
id: string;
|
|
1316
|
-
updatedAt: string;
|
|
1317
|
-
createdAt: string;
|
|
1318
|
-
email: string;
|
|
1319
1316
|
firstName: string;
|
|
1320
1317
|
lastName: string;
|
|
1318
|
+
email: string;
|
|
1321
1319
|
phoneNumbers: {
|
|
1322
1320
|
id: string;
|
|
1323
1321
|
phoneNumber: string;
|
|
1324
1322
|
isPrimary: boolean;
|
|
1325
1323
|
description?: string | null | undefined;
|
|
1326
1324
|
}[];
|
|
1325
|
+
createdAt: string;
|
|
1326
|
+
updatedAt: string;
|
|
1327
1327
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1328
1328
|
office?: {
|
|
1329
1329
|
id: string;
|
|
@@ -1345,76 +1345,76 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1345
1345
|
limit: number;
|
|
1346
1346
|
items: {
|
|
1347
1347
|
id: string;
|
|
1348
|
-
updatedAt: string | Date;
|
|
1349
|
-
createdAt: string | Date;
|
|
1350
1348
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1351
|
-
|
|
1349
|
+
agentId: string;
|
|
1350
|
+
createdAt: string | Date;
|
|
1351
|
+
updatedAt: string | Date;
|
|
1352
|
+
agent: {
|
|
1353
|
+
id: string;
|
|
1354
|
+
firstName: string;
|
|
1355
|
+
lastName: string;
|
|
1356
|
+
email: string;
|
|
1357
|
+
createdAt: string | Date;
|
|
1358
|
+
updatedAt: string | Date;
|
|
1359
|
+
phoneNumbers?: {
|
|
1360
|
+
id: string;
|
|
1361
|
+
phoneNumber: string;
|
|
1362
|
+
description?: string | null | undefined;
|
|
1363
|
+
isPrimary?: boolean | undefined;
|
|
1364
|
+
}[] | undefined;
|
|
1365
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1366
|
+
office?: {
|
|
1367
|
+
id: string;
|
|
1368
|
+
name: string;
|
|
1369
|
+
} | null | undefined;
|
|
1370
|
+
canImpersonateUsers?: {
|
|
1371
|
+
id: string;
|
|
1372
|
+
firstName: string;
|
|
1373
|
+
lastName: string;
|
|
1374
|
+
}[] | undefined;
|
|
1375
|
+
};
|
|
1352
1376
|
client: {
|
|
1353
1377
|
id: string;
|
|
1378
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1354
1379
|
name: string;
|
|
1355
|
-
updatedAt: string | Date;
|
|
1356
1380
|
createdAt: string | Date;
|
|
1357
|
-
|
|
1381
|
+
updatedAt: string | Date;
|
|
1358
1382
|
crn: string | null;
|
|
1359
1383
|
govLink: string | null;
|
|
1360
|
-
director: string;
|
|
1361
1384
|
soleTrader: boolean;
|
|
1385
|
+
director: string;
|
|
1362
1386
|
blacklistReason?: string | null | undefined;
|
|
1363
|
-
agentClientLinks?: {
|
|
1364
|
-
agentId: string;
|
|
1365
|
-
} | null | undefined;
|
|
1366
1387
|
lastUpdatedBy?: {
|
|
1367
1388
|
id: string;
|
|
1368
|
-
email: string;
|
|
1369
1389
|
firstName: string;
|
|
1370
1390
|
lastName: string;
|
|
1391
|
+
email: string;
|
|
1392
|
+
} | null | undefined;
|
|
1393
|
+
agentClientLinks?: {
|
|
1394
|
+
agentId: string;
|
|
1371
1395
|
} | null | undefined;
|
|
1372
1396
|
};
|
|
1373
|
-
|
|
1374
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1397
|
+
clientId: string;
|
|
1375
1398
|
createdBy: string;
|
|
1376
|
-
|
|
1399
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1400
|
+
creator: {
|
|
1377
1401
|
id: string;
|
|
1378
|
-
updatedAt: string | Date;
|
|
1379
|
-
createdAt: string | Date;
|
|
1380
|
-
email: string;
|
|
1381
1402
|
firstName: string;
|
|
1382
1403
|
lastName: string;
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
name: string;
|
|
1387
|
-
} | null | undefined;
|
|
1404
|
+
email: string;
|
|
1405
|
+
createdAt: string | Date;
|
|
1406
|
+
updatedAt: string | Date;
|
|
1388
1407
|
phoneNumbers?: {
|
|
1389
1408
|
id: string;
|
|
1390
1409
|
phoneNumber: string;
|
|
1391
1410
|
description?: string | null | undefined;
|
|
1392
1411
|
isPrimary?: boolean | undefined;
|
|
1393
1412
|
}[] | undefined;
|
|
1394
|
-
canImpersonateUsers?: {
|
|
1395
|
-
id: string;
|
|
1396
|
-
firstName: string;
|
|
1397
|
-
lastName: string;
|
|
1398
|
-
}[] | undefined;
|
|
1399
|
-
};
|
|
1400
|
-
creator: {
|
|
1401
|
-
id: string;
|
|
1402
|
-
updatedAt: string | Date;
|
|
1403
|
-
createdAt: string | Date;
|
|
1404
|
-
email: string;
|
|
1405
|
-
firstName: string;
|
|
1406
|
-
lastName: string;
|
|
1407
1413
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1408
1414
|
office?: {
|
|
1409
1415
|
id: string;
|
|
1410
1416
|
name: string;
|
|
1411
1417
|
} | null | undefined;
|
|
1412
|
-
phoneNumbers?: {
|
|
1413
|
-
id: string;
|
|
1414
|
-
phoneNumber: string;
|
|
1415
|
-
description?: string | null | undefined;
|
|
1416
|
-
isPrimary?: boolean | undefined;
|
|
1417
|
-
}[] | undefined;
|
|
1418
1418
|
canImpersonateUsers?: {
|
|
1419
1419
|
id: string;
|
|
1420
1420
|
firstName: string;
|
|
@@ -1426,22 +1426,22 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1426
1426
|
reviewedBy?: string | null | undefined;
|
|
1427
1427
|
reviewer?: {
|
|
1428
1428
|
id: string;
|
|
1429
|
-
updatedAt: string | Date;
|
|
1430
|
-
createdAt: string | Date;
|
|
1431
|
-
email: string;
|
|
1432
1429
|
firstName: string;
|
|
1433
1430
|
lastName: string;
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
name: string;
|
|
1438
|
-
} | null | undefined;
|
|
1431
|
+
email: string;
|
|
1432
|
+
createdAt: string | Date;
|
|
1433
|
+
updatedAt: string | Date;
|
|
1439
1434
|
phoneNumbers?: {
|
|
1440
1435
|
id: string;
|
|
1441
1436
|
phoneNumber: string;
|
|
1442
1437
|
description?: string | null | undefined;
|
|
1443
1438
|
isPrimary?: boolean | undefined;
|
|
1444
1439
|
}[] | undefined;
|
|
1440
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1441
|
+
office?: {
|
|
1442
|
+
id: string;
|
|
1443
|
+
name: string;
|
|
1444
|
+
} | null | undefined;
|
|
1445
1445
|
canImpersonateUsers?: {
|
|
1446
1446
|
id: string;
|
|
1447
1447
|
firstName: string;
|
|
@@ -1474,22 +1474,22 @@ export declare const agentClientLinksContract: {
|
|
|
1474
1474
|
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["createdAt"]>>>;
|
|
1475
1475
|
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
1476
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
limit: number;
|
|
1478
|
+
page: number;
|
|
1477
1479
|
sortBy: "createdAt";
|
|
1478
1480
|
sortOrder: "ASC" | "DESC";
|
|
1479
|
-
page: number;
|
|
1480
|
-
limit: number;
|
|
1481
1481
|
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
1482
|
-
clientId?: string | undefined;
|
|
1483
1482
|
agentId?: string | undefined;
|
|
1483
|
+
clientId?: string | undefined;
|
|
1484
1484
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
1485
1485
|
}, {
|
|
1486
1486
|
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
1487
|
-
|
|
1487
|
+
agentId?: string | undefined;
|
|
1488
|
+
limit?: number | undefined;
|
|
1489
|
+
page?: number | undefined;
|
|
1488
1490
|
sortBy?: "createdAt" | undefined;
|
|
1489
1491
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1490
|
-
|
|
1491
|
-
limit?: number | undefined;
|
|
1492
|
-
agentId?: string | undefined;
|
|
1492
|
+
clientId?: string | undefined;
|
|
1493
1493
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
1494
1494
|
}>;
|
|
1495
1495
|
metadata: {
|
|
@@ -1619,14 +1619,14 @@ export declare const agentClientLinksContract: {
|
|
|
1619
1619
|
email: z.ZodString;
|
|
1620
1620
|
}, "strip", z.ZodTypeAny, {
|
|
1621
1621
|
id: string;
|
|
1622
|
-
email: string;
|
|
1623
1622
|
firstName: string;
|
|
1624
1623
|
lastName: string;
|
|
1624
|
+
email: string;
|
|
1625
1625
|
}, {
|
|
1626
1626
|
id: string;
|
|
1627
|
-
email: string;
|
|
1628
1627
|
firstName: string;
|
|
1629
1628
|
lastName: string;
|
|
1629
|
+
email: string;
|
|
1630
1630
|
}>>>;
|
|
1631
1631
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1632
1632
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1639,43 +1639,43 @@ export declare const agentClientLinksContract: {
|
|
|
1639
1639
|
}>>>;
|
|
1640
1640
|
}, "strip", z.ZodTypeAny, {
|
|
1641
1641
|
id: string;
|
|
1642
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1642
1643
|
name: string;
|
|
1643
|
-
updatedAt: string;
|
|
1644
1644
|
createdAt: string;
|
|
1645
|
-
|
|
1645
|
+
updatedAt: string;
|
|
1646
1646
|
crn: string | null;
|
|
1647
1647
|
govLink: string | null;
|
|
1648
|
-
director: string;
|
|
1649
1648
|
soleTrader: boolean;
|
|
1649
|
+
director: string;
|
|
1650
1650
|
blacklistReason?: string | null | undefined;
|
|
1651
|
-
agentClientLinks?: {
|
|
1652
|
-
agentId: string;
|
|
1653
|
-
} | null | undefined;
|
|
1654
1651
|
lastUpdatedBy?: {
|
|
1655
1652
|
id: string;
|
|
1656
|
-
email: string;
|
|
1657
1653
|
firstName: string;
|
|
1658
1654
|
lastName: string;
|
|
1655
|
+
email: string;
|
|
1656
|
+
} | null | undefined;
|
|
1657
|
+
agentClientLinks?: {
|
|
1658
|
+
agentId: string;
|
|
1659
1659
|
} | null | undefined;
|
|
1660
1660
|
}, {
|
|
1661
1661
|
id: string;
|
|
1662
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1662
1663
|
name: string;
|
|
1663
|
-
updatedAt: string | Date;
|
|
1664
1664
|
createdAt: string | Date;
|
|
1665
|
-
|
|
1665
|
+
updatedAt: string | Date;
|
|
1666
1666
|
crn: string | null;
|
|
1667
1667
|
govLink: string | null;
|
|
1668
|
-
director: string;
|
|
1669
1668
|
soleTrader: boolean;
|
|
1669
|
+
director: string;
|
|
1670
1670
|
blacklistReason?: string | null | undefined;
|
|
1671
|
-
agentClientLinks?: {
|
|
1672
|
-
agentId: string;
|
|
1673
|
-
} | null | undefined;
|
|
1674
1671
|
lastUpdatedBy?: {
|
|
1675
1672
|
id: string;
|
|
1676
|
-
email: string;
|
|
1677
1673
|
firstName: string;
|
|
1678
1674
|
lastName: string;
|
|
1675
|
+
email: string;
|
|
1676
|
+
} | null | undefined;
|
|
1677
|
+
agentClientLinks?: {
|
|
1678
|
+
agentId: string;
|
|
1679
1679
|
} | null | undefined;
|
|
1680
1680
|
}>;
|
|
1681
1681
|
agentId: z.ZodString;
|
|
@@ -1728,17 +1728,17 @@ export declare const agentClientLinksContract: {
|
|
|
1728
1728
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1729
1729
|
}, "strip", z.ZodTypeAny, {
|
|
1730
1730
|
id: string;
|
|
1731
|
-
updatedAt: string;
|
|
1732
|
-
createdAt: string;
|
|
1733
|
-
email: string;
|
|
1734
1731
|
firstName: string;
|
|
1735
1732
|
lastName: string;
|
|
1733
|
+
email: string;
|
|
1736
1734
|
phoneNumbers: {
|
|
1737
1735
|
id: string;
|
|
1738
1736
|
phoneNumber: string;
|
|
1739
1737
|
isPrimary: boolean;
|
|
1740
1738
|
description?: string | null | undefined;
|
|
1741
1739
|
}[];
|
|
1740
|
+
createdAt: string;
|
|
1741
|
+
updatedAt: string;
|
|
1742
1742
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1743
1743
|
office?: {
|
|
1744
1744
|
id: string;
|
|
@@ -1751,22 +1751,22 @@ export declare const agentClientLinksContract: {
|
|
|
1751
1751
|
}[] | undefined;
|
|
1752
1752
|
}, {
|
|
1753
1753
|
id: string;
|
|
1754
|
-
updatedAt: string | Date;
|
|
1755
|
-
createdAt: string | Date;
|
|
1756
|
-
email: string;
|
|
1757
1754
|
firstName: string;
|
|
1758
1755
|
lastName: string;
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
name: string;
|
|
1763
|
-
} | null | undefined;
|
|
1756
|
+
email: string;
|
|
1757
|
+
createdAt: string | Date;
|
|
1758
|
+
updatedAt: string | Date;
|
|
1764
1759
|
phoneNumbers?: {
|
|
1765
1760
|
id: string;
|
|
1766
1761
|
phoneNumber: string;
|
|
1767
1762
|
description?: string | null | undefined;
|
|
1768
1763
|
isPrimary?: boolean | undefined;
|
|
1769
1764
|
}[] | undefined;
|
|
1765
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1766
|
+
office?: {
|
|
1767
|
+
id: string;
|
|
1768
|
+
name: string;
|
|
1769
|
+
} | null | undefined;
|
|
1770
1770
|
canImpersonateUsers?: {
|
|
1771
1771
|
id: string;
|
|
1772
1772
|
firstName: string;
|
|
@@ -1827,17 +1827,17 @@ export declare const agentClientLinksContract: {
|
|
|
1827
1827
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1828
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1829
1829
|
id: string;
|
|
1830
|
-
updatedAt: string;
|
|
1831
|
-
createdAt: string;
|
|
1832
|
-
email: string;
|
|
1833
1830
|
firstName: string;
|
|
1834
1831
|
lastName: string;
|
|
1832
|
+
email: string;
|
|
1835
1833
|
phoneNumbers: {
|
|
1836
1834
|
id: string;
|
|
1837
1835
|
phoneNumber: string;
|
|
1838
1836
|
isPrimary: boolean;
|
|
1839
1837
|
description?: string | null | undefined;
|
|
1840
1838
|
}[];
|
|
1839
|
+
createdAt: string;
|
|
1840
|
+
updatedAt: string;
|
|
1841
1841
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1842
1842
|
office?: {
|
|
1843
1843
|
id: string;
|
|
@@ -1850,22 +1850,22 @@ export declare const agentClientLinksContract: {
|
|
|
1850
1850
|
}[] | undefined;
|
|
1851
1851
|
}, {
|
|
1852
1852
|
id: string;
|
|
1853
|
-
updatedAt: string | Date;
|
|
1854
|
-
createdAt: string | Date;
|
|
1855
|
-
email: string;
|
|
1856
1853
|
firstName: string;
|
|
1857
1854
|
lastName: string;
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
} | null | undefined;
|
|
1863
|
-
phoneNumbers?: {
|
|
1855
|
+
email: string;
|
|
1856
|
+
createdAt: string | Date;
|
|
1857
|
+
updatedAt: string | Date;
|
|
1858
|
+
phoneNumbers?: {
|
|
1864
1859
|
id: string;
|
|
1865
1860
|
phoneNumber: string;
|
|
1866
1861
|
description?: string | null | undefined;
|
|
1867
1862
|
isPrimary?: boolean | undefined;
|
|
1868
1863
|
}[] | undefined;
|
|
1864
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1865
|
+
office?: {
|
|
1866
|
+
id: string;
|
|
1867
|
+
name: string;
|
|
1868
|
+
} | null | undefined;
|
|
1869
1869
|
canImpersonateUsers?: {
|
|
1870
1870
|
id: string;
|
|
1871
1871
|
firstName: string;
|
|
@@ -1923,17 +1923,17 @@ export declare const agentClientLinksContract: {
|
|
|
1923
1923
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1924
1924
|
}, "strip", z.ZodTypeAny, {
|
|
1925
1925
|
id: string;
|
|
1926
|
-
updatedAt: string;
|
|
1927
|
-
createdAt: string;
|
|
1928
|
-
email: string;
|
|
1929
1926
|
firstName: string;
|
|
1930
1927
|
lastName: string;
|
|
1928
|
+
email: string;
|
|
1931
1929
|
phoneNumbers: {
|
|
1932
1930
|
id: string;
|
|
1933
1931
|
phoneNumber: string;
|
|
1934
1932
|
isPrimary: boolean;
|
|
1935
1933
|
description?: string | null | undefined;
|
|
1936
1934
|
}[];
|
|
1935
|
+
createdAt: string;
|
|
1936
|
+
updatedAt: string;
|
|
1937
1937
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1938
1938
|
office?: {
|
|
1939
1939
|
id: string;
|
|
@@ -1946,22 +1946,22 @@ export declare const agentClientLinksContract: {
|
|
|
1946
1946
|
}[] | undefined;
|
|
1947
1947
|
}, {
|
|
1948
1948
|
id: string;
|
|
1949
|
-
updatedAt: string | Date;
|
|
1950
|
-
createdAt: string | Date;
|
|
1951
|
-
email: string;
|
|
1952
1949
|
firstName: string;
|
|
1953
1950
|
lastName: string;
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
name: string;
|
|
1958
|
-
} | null | undefined;
|
|
1951
|
+
email: string;
|
|
1952
|
+
createdAt: string | Date;
|
|
1953
|
+
updatedAt: string | Date;
|
|
1959
1954
|
phoneNumbers?: {
|
|
1960
1955
|
id: string;
|
|
1961
1956
|
phoneNumber: string;
|
|
1962
1957
|
description?: string | null | undefined;
|
|
1963
1958
|
isPrimary?: boolean | undefined;
|
|
1964
1959
|
}[] | undefined;
|
|
1960
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1961
|
+
office?: {
|
|
1962
|
+
id: string;
|
|
1963
|
+
name: string;
|
|
1964
|
+
} | null | undefined;
|
|
1965
1965
|
canImpersonateUsers?: {
|
|
1966
1966
|
id: string;
|
|
1967
1967
|
firstName: string;
|
|
@@ -1972,47 +1972,23 @@ export declare const agentClientLinksContract: {
|
|
|
1972
1972
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1973
1973
|
}, "strip", z.ZodTypeAny, {
|
|
1974
1974
|
id: string;
|
|
1975
|
-
updatedAt: string;
|
|
1976
|
-
createdAt: string;
|
|
1977
1975
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1978
|
-
clientId: string;
|
|
1979
|
-
client: {
|
|
1980
|
-
id: string;
|
|
1981
|
-
name: string;
|
|
1982
|
-
updatedAt: string;
|
|
1983
|
-
createdAt: string;
|
|
1984
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1985
|
-
crn: string | null;
|
|
1986
|
-
govLink: string | null;
|
|
1987
|
-
director: string;
|
|
1988
|
-
soleTrader: boolean;
|
|
1989
|
-
blacklistReason?: string | null | undefined;
|
|
1990
|
-
agentClientLinks?: {
|
|
1991
|
-
agentId: string;
|
|
1992
|
-
} | null | undefined;
|
|
1993
|
-
lastUpdatedBy?: {
|
|
1994
|
-
id: string;
|
|
1995
|
-
email: string;
|
|
1996
|
-
firstName: string;
|
|
1997
|
-
lastName: string;
|
|
1998
|
-
} | null | undefined;
|
|
1999
|
-
};
|
|
2000
1976
|
agentId: string;
|
|
2001
|
-
|
|
2002
|
-
|
|
1977
|
+
createdAt: string;
|
|
1978
|
+
updatedAt: string;
|
|
2003
1979
|
agent: {
|
|
2004
1980
|
id: string;
|
|
2005
|
-
updatedAt: string;
|
|
2006
|
-
createdAt: string;
|
|
2007
|
-
email: string;
|
|
2008
1981
|
firstName: string;
|
|
2009
1982
|
lastName: string;
|
|
1983
|
+
email: string;
|
|
2010
1984
|
phoneNumbers: {
|
|
2011
1985
|
id: string;
|
|
2012
1986
|
phoneNumber: string;
|
|
2013
1987
|
isPrimary: boolean;
|
|
2014
1988
|
description?: string | null | undefined;
|
|
2015
1989
|
}[];
|
|
1990
|
+
createdAt: string;
|
|
1991
|
+
updatedAt: string;
|
|
2016
1992
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2017
1993
|
office?: {
|
|
2018
1994
|
id: string;
|
|
@@ -2024,19 +2000,43 @@ export declare const agentClientLinksContract: {
|
|
|
2024
2000
|
lastName: string;
|
|
2025
2001
|
}[] | undefined;
|
|
2026
2002
|
};
|
|
2027
|
-
|
|
2003
|
+
client: {
|
|
2028
2004
|
id: string;
|
|
2029
|
-
|
|
2005
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2006
|
+
name: string;
|
|
2030
2007
|
createdAt: string;
|
|
2031
|
-
|
|
2008
|
+
updatedAt: string;
|
|
2009
|
+
crn: string | null;
|
|
2010
|
+
govLink: string | null;
|
|
2011
|
+
soleTrader: boolean;
|
|
2012
|
+
director: string;
|
|
2013
|
+
blacklistReason?: string | null | undefined;
|
|
2014
|
+
lastUpdatedBy?: {
|
|
2015
|
+
id: string;
|
|
2016
|
+
firstName: string;
|
|
2017
|
+
lastName: string;
|
|
2018
|
+
email: string;
|
|
2019
|
+
} | null | undefined;
|
|
2020
|
+
agentClientLinks?: {
|
|
2021
|
+
agentId: string;
|
|
2022
|
+
} | null | undefined;
|
|
2023
|
+
};
|
|
2024
|
+
clientId: string;
|
|
2025
|
+
createdBy: string;
|
|
2026
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2027
|
+
creator: {
|
|
2028
|
+
id: string;
|
|
2032
2029
|
firstName: string;
|
|
2033
2030
|
lastName: string;
|
|
2031
|
+
email: string;
|
|
2034
2032
|
phoneNumbers: {
|
|
2035
2033
|
id: string;
|
|
2036
2034
|
phoneNumber: string;
|
|
2037
2035
|
isPrimary: boolean;
|
|
2038
2036
|
description?: string | null | undefined;
|
|
2039
2037
|
}[];
|
|
2038
|
+
createdAt: string;
|
|
2039
|
+
updatedAt: string;
|
|
2040
2040
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2041
2041
|
office?: {
|
|
2042
2042
|
id: string;
|
|
@@ -2053,17 +2053,17 @@ export declare const agentClientLinksContract: {
|
|
|
2053
2053
|
reviewedBy?: string | null | undefined;
|
|
2054
2054
|
reviewer?: {
|
|
2055
2055
|
id: string;
|
|
2056
|
-
updatedAt: string;
|
|
2057
|
-
createdAt: string;
|
|
2058
|
-
email: string;
|
|
2059
2056
|
firstName: string;
|
|
2060
2057
|
lastName: string;
|
|
2058
|
+
email: string;
|
|
2061
2059
|
phoneNumbers: {
|
|
2062
2060
|
id: string;
|
|
2063
2061
|
phoneNumber: string;
|
|
2064
2062
|
isPrimary: boolean;
|
|
2065
2063
|
description?: string | null | undefined;
|
|
2066
2064
|
}[];
|
|
2065
|
+
createdAt: string;
|
|
2066
|
+
updatedAt: string;
|
|
2067
2067
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2068
2068
|
office?: {
|
|
2069
2069
|
id: string;
|
|
@@ -2078,76 +2078,76 @@ export declare const agentClientLinksContract: {
|
|
|
2078
2078
|
reviewedAt?: string | null | undefined;
|
|
2079
2079
|
}, {
|
|
2080
2080
|
id: string;
|
|
2081
|
-
updatedAt: string | Date;
|
|
2082
|
-
createdAt: string | Date;
|
|
2083
2081
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2084
|
-
|
|
2082
|
+
agentId: string;
|
|
2083
|
+
createdAt: string | Date;
|
|
2084
|
+
updatedAt: string | Date;
|
|
2085
|
+
agent: {
|
|
2086
|
+
id: string;
|
|
2087
|
+
firstName: string;
|
|
2088
|
+
lastName: string;
|
|
2089
|
+
email: string;
|
|
2090
|
+
createdAt: string | Date;
|
|
2091
|
+
updatedAt: string | Date;
|
|
2092
|
+
phoneNumbers?: {
|
|
2093
|
+
id: string;
|
|
2094
|
+
phoneNumber: string;
|
|
2095
|
+
description?: string | null | undefined;
|
|
2096
|
+
isPrimary?: boolean | undefined;
|
|
2097
|
+
}[] | undefined;
|
|
2098
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2099
|
+
office?: {
|
|
2100
|
+
id: string;
|
|
2101
|
+
name: string;
|
|
2102
|
+
} | null | undefined;
|
|
2103
|
+
canImpersonateUsers?: {
|
|
2104
|
+
id: string;
|
|
2105
|
+
firstName: string;
|
|
2106
|
+
lastName: string;
|
|
2107
|
+
}[] | undefined;
|
|
2108
|
+
};
|
|
2085
2109
|
client: {
|
|
2086
2110
|
id: string;
|
|
2111
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2087
2112
|
name: string;
|
|
2088
|
-
updatedAt: string | Date;
|
|
2089
2113
|
createdAt: string | Date;
|
|
2090
|
-
|
|
2114
|
+
updatedAt: string | Date;
|
|
2091
2115
|
crn: string | null;
|
|
2092
2116
|
govLink: string | null;
|
|
2093
|
-
director: string;
|
|
2094
2117
|
soleTrader: boolean;
|
|
2118
|
+
director: string;
|
|
2095
2119
|
blacklistReason?: string | null | undefined;
|
|
2096
|
-
agentClientLinks?: {
|
|
2097
|
-
agentId: string;
|
|
2098
|
-
} | null | undefined;
|
|
2099
2120
|
lastUpdatedBy?: {
|
|
2100
2121
|
id: string;
|
|
2101
|
-
email: string;
|
|
2102
2122
|
firstName: string;
|
|
2103
2123
|
lastName: string;
|
|
2124
|
+
email: string;
|
|
2125
|
+
} | null | undefined;
|
|
2126
|
+
agentClientLinks?: {
|
|
2127
|
+
agentId: string;
|
|
2104
2128
|
} | null | undefined;
|
|
2105
2129
|
};
|
|
2106
|
-
|
|
2107
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2130
|
+
clientId: string;
|
|
2108
2131
|
createdBy: string;
|
|
2109
|
-
|
|
2132
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2133
|
+
creator: {
|
|
2110
2134
|
id: string;
|
|
2111
|
-
updatedAt: string | Date;
|
|
2112
|
-
createdAt: string | Date;
|
|
2113
|
-
email: string;
|
|
2114
2135
|
firstName: string;
|
|
2115
2136
|
lastName: string;
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
name: string;
|
|
2120
|
-
} | null | undefined;
|
|
2137
|
+
email: string;
|
|
2138
|
+
createdAt: string | Date;
|
|
2139
|
+
updatedAt: string | Date;
|
|
2121
2140
|
phoneNumbers?: {
|
|
2122
2141
|
id: string;
|
|
2123
2142
|
phoneNumber: string;
|
|
2124
2143
|
description?: string | null | undefined;
|
|
2125
2144
|
isPrimary?: boolean | undefined;
|
|
2126
2145
|
}[] | undefined;
|
|
2127
|
-
canImpersonateUsers?: {
|
|
2128
|
-
id: string;
|
|
2129
|
-
firstName: string;
|
|
2130
|
-
lastName: string;
|
|
2131
|
-
}[] | undefined;
|
|
2132
|
-
};
|
|
2133
|
-
creator: {
|
|
2134
|
-
id: string;
|
|
2135
|
-
updatedAt: string | Date;
|
|
2136
|
-
createdAt: string | Date;
|
|
2137
|
-
email: string;
|
|
2138
|
-
firstName: string;
|
|
2139
|
-
lastName: string;
|
|
2140
2146
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2141
2147
|
office?: {
|
|
2142
2148
|
id: string;
|
|
2143
2149
|
name: string;
|
|
2144
2150
|
} | null | undefined;
|
|
2145
|
-
phoneNumbers?: {
|
|
2146
|
-
id: string;
|
|
2147
|
-
phoneNumber: string;
|
|
2148
|
-
description?: string | null | undefined;
|
|
2149
|
-
isPrimary?: boolean | undefined;
|
|
2150
|
-
}[] | undefined;
|
|
2151
2151
|
canImpersonateUsers?: {
|
|
2152
2152
|
id: string;
|
|
2153
2153
|
firstName: string;
|
|
@@ -2159,22 +2159,22 @@ export declare const agentClientLinksContract: {
|
|
|
2159
2159
|
reviewedBy?: string | null | undefined;
|
|
2160
2160
|
reviewer?: {
|
|
2161
2161
|
id: string;
|
|
2162
|
-
updatedAt: string | Date;
|
|
2163
|
-
createdAt: string | Date;
|
|
2164
|
-
email: string;
|
|
2165
2162
|
firstName: string;
|
|
2166
2163
|
lastName: string;
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
name: string;
|
|
2171
|
-
} | null | undefined;
|
|
2164
|
+
email: string;
|
|
2165
|
+
createdAt: string | Date;
|
|
2166
|
+
updatedAt: string | Date;
|
|
2172
2167
|
phoneNumbers?: {
|
|
2173
2168
|
id: string;
|
|
2174
2169
|
phoneNumber: string;
|
|
2175
2170
|
description?: string | null | undefined;
|
|
2176
2171
|
isPrimary?: boolean | undefined;
|
|
2177
2172
|
}[] | undefined;
|
|
2173
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2174
|
+
office?: {
|
|
2175
|
+
id: string;
|
|
2176
|
+
name: string;
|
|
2177
|
+
} | null | undefined;
|
|
2178
2178
|
canImpersonateUsers?: {
|
|
2179
2179
|
id: string;
|
|
2180
2180
|
firstName: string;
|
|
@@ -2192,47 +2192,23 @@ export declare const agentClientLinksContract: {
|
|
|
2192
2192
|
limit: number;
|
|
2193
2193
|
items: {
|
|
2194
2194
|
id: string;
|
|
2195
|
-
updatedAt: string;
|
|
2196
|
-
createdAt: string;
|
|
2197
2195
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2198
|
-
clientId: string;
|
|
2199
|
-
client: {
|
|
2200
|
-
id: string;
|
|
2201
|
-
name: string;
|
|
2202
|
-
updatedAt: string;
|
|
2203
|
-
createdAt: string;
|
|
2204
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2205
|
-
crn: string | null;
|
|
2206
|
-
govLink: string | null;
|
|
2207
|
-
director: string;
|
|
2208
|
-
soleTrader: boolean;
|
|
2209
|
-
blacklistReason?: string | null | undefined;
|
|
2210
|
-
agentClientLinks?: {
|
|
2211
|
-
agentId: string;
|
|
2212
|
-
} | null | undefined;
|
|
2213
|
-
lastUpdatedBy?: {
|
|
2214
|
-
id: string;
|
|
2215
|
-
email: string;
|
|
2216
|
-
firstName: string;
|
|
2217
|
-
lastName: string;
|
|
2218
|
-
} | null | undefined;
|
|
2219
|
-
};
|
|
2220
2196
|
agentId: string;
|
|
2221
|
-
|
|
2222
|
-
|
|
2197
|
+
createdAt: string;
|
|
2198
|
+
updatedAt: string;
|
|
2223
2199
|
agent: {
|
|
2224
2200
|
id: string;
|
|
2225
|
-
updatedAt: string;
|
|
2226
|
-
createdAt: string;
|
|
2227
|
-
email: string;
|
|
2228
2201
|
firstName: string;
|
|
2229
2202
|
lastName: string;
|
|
2203
|
+
email: string;
|
|
2230
2204
|
phoneNumbers: {
|
|
2231
2205
|
id: string;
|
|
2232
2206
|
phoneNumber: string;
|
|
2233
2207
|
isPrimary: boolean;
|
|
2234
2208
|
description?: string | null | undefined;
|
|
2235
2209
|
}[];
|
|
2210
|
+
createdAt: string;
|
|
2211
|
+
updatedAt: string;
|
|
2236
2212
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2237
2213
|
office?: {
|
|
2238
2214
|
id: string;
|
|
@@ -2244,19 +2220,43 @@ export declare const agentClientLinksContract: {
|
|
|
2244
2220
|
lastName: string;
|
|
2245
2221
|
}[] | undefined;
|
|
2246
2222
|
};
|
|
2247
|
-
|
|
2223
|
+
client: {
|
|
2248
2224
|
id: string;
|
|
2249
|
-
|
|
2225
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2226
|
+
name: string;
|
|
2250
2227
|
createdAt: string;
|
|
2251
|
-
|
|
2228
|
+
updatedAt: string;
|
|
2229
|
+
crn: string | null;
|
|
2230
|
+
govLink: string | null;
|
|
2231
|
+
soleTrader: boolean;
|
|
2232
|
+
director: string;
|
|
2233
|
+
blacklistReason?: string | null | undefined;
|
|
2234
|
+
lastUpdatedBy?: {
|
|
2235
|
+
id: string;
|
|
2236
|
+
firstName: string;
|
|
2237
|
+
lastName: string;
|
|
2238
|
+
email: string;
|
|
2239
|
+
} | null | undefined;
|
|
2240
|
+
agentClientLinks?: {
|
|
2241
|
+
agentId: string;
|
|
2242
|
+
} | null | undefined;
|
|
2243
|
+
};
|
|
2244
|
+
clientId: string;
|
|
2245
|
+
createdBy: string;
|
|
2246
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2247
|
+
creator: {
|
|
2248
|
+
id: string;
|
|
2252
2249
|
firstName: string;
|
|
2253
2250
|
lastName: string;
|
|
2251
|
+
email: string;
|
|
2254
2252
|
phoneNumbers: {
|
|
2255
2253
|
id: string;
|
|
2256
2254
|
phoneNumber: string;
|
|
2257
2255
|
isPrimary: boolean;
|
|
2258
2256
|
description?: string | null | undefined;
|
|
2259
2257
|
}[];
|
|
2258
|
+
createdAt: string;
|
|
2259
|
+
updatedAt: string;
|
|
2260
2260
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2261
2261
|
office?: {
|
|
2262
2262
|
id: string;
|
|
@@ -2273,17 +2273,17 @@ export declare const agentClientLinksContract: {
|
|
|
2273
2273
|
reviewedBy?: string | null | undefined;
|
|
2274
2274
|
reviewer?: {
|
|
2275
2275
|
id: string;
|
|
2276
|
-
updatedAt: string;
|
|
2277
|
-
createdAt: string;
|
|
2278
|
-
email: string;
|
|
2279
2276
|
firstName: string;
|
|
2280
2277
|
lastName: string;
|
|
2278
|
+
email: string;
|
|
2281
2279
|
phoneNumbers: {
|
|
2282
2280
|
id: string;
|
|
2283
2281
|
phoneNumber: string;
|
|
2284
2282
|
isPrimary: boolean;
|
|
2285
2283
|
description?: string | null | undefined;
|
|
2286
2284
|
}[];
|
|
2285
|
+
createdAt: string;
|
|
2286
|
+
updatedAt: string;
|
|
2287
2287
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2288
2288
|
office?: {
|
|
2289
2289
|
id: string;
|
|
@@ -2305,76 +2305,76 @@ export declare const agentClientLinksContract: {
|
|
|
2305
2305
|
limit: number;
|
|
2306
2306
|
items: {
|
|
2307
2307
|
id: string;
|
|
2308
|
-
updatedAt: string | Date;
|
|
2309
|
-
createdAt: string | Date;
|
|
2310
2308
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2311
|
-
|
|
2309
|
+
agentId: string;
|
|
2310
|
+
createdAt: string | Date;
|
|
2311
|
+
updatedAt: string | Date;
|
|
2312
|
+
agent: {
|
|
2313
|
+
id: string;
|
|
2314
|
+
firstName: string;
|
|
2315
|
+
lastName: string;
|
|
2316
|
+
email: string;
|
|
2317
|
+
createdAt: string | Date;
|
|
2318
|
+
updatedAt: string | Date;
|
|
2319
|
+
phoneNumbers?: {
|
|
2320
|
+
id: string;
|
|
2321
|
+
phoneNumber: string;
|
|
2322
|
+
description?: string | null | undefined;
|
|
2323
|
+
isPrimary?: boolean | undefined;
|
|
2324
|
+
}[] | undefined;
|
|
2325
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2326
|
+
office?: {
|
|
2327
|
+
id: string;
|
|
2328
|
+
name: string;
|
|
2329
|
+
} | null | undefined;
|
|
2330
|
+
canImpersonateUsers?: {
|
|
2331
|
+
id: string;
|
|
2332
|
+
firstName: string;
|
|
2333
|
+
lastName: string;
|
|
2334
|
+
}[] | undefined;
|
|
2335
|
+
};
|
|
2312
2336
|
client: {
|
|
2313
2337
|
id: string;
|
|
2338
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2314
2339
|
name: string;
|
|
2315
|
-
updatedAt: string | Date;
|
|
2316
2340
|
createdAt: string | Date;
|
|
2317
|
-
|
|
2341
|
+
updatedAt: string | Date;
|
|
2318
2342
|
crn: string | null;
|
|
2319
2343
|
govLink: string | null;
|
|
2320
|
-
director: string;
|
|
2321
2344
|
soleTrader: boolean;
|
|
2345
|
+
director: string;
|
|
2322
2346
|
blacklistReason?: string | null | undefined;
|
|
2323
|
-
agentClientLinks?: {
|
|
2324
|
-
agentId: string;
|
|
2325
|
-
} | null | undefined;
|
|
2326
2347
|
lastUpdatedBy?: {
|
|
2327
2348
|
id: string;
|
|
2328
|
-
email: string;
|
|
2329
2349
|
firstName: string;
|
|
2330
2350
|
lastName: string;
|
|
2351
|
+
email: string;
|
|
2352
|
+
} | null | undefined;
|
|
2353
|
+
agentClientLinks?: {
|
|
2354
|
+
agentId: string;
|
|
2331
2355
|
} | null | undefined;
|
|
2332
2356
|
};
|
|
2333
|
-
|
|
2334
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2357
|
+
clientId: string;
|
|
2335
2358
|
createdBy: string;
|
|
2336
|
-
|
|
2359
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2360
|
+
creator: {
|
|
2337
2361
|
id: string;
|
|
2338
|
-
updatedAt: string | Date;
|
|
2339
|
-
createdAt: string | Date;
|
|
2340
|
-
email: string;
|
|
2341
2362
|
firstName: string;
|
|
2342
2363
|
lastName: string;
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
name: string;
|
|
2347
|
-
} | null | undefined;
|
|
2364
|
+
email: string;
|
|
2365
|
+
createdAt: string | Date;
|
|
2366
|
+
updatedAt: string | Date;
|
|
2348
2367
|
phoneNumbers?: {
|
|
2349
2368
|
id: string;
|
|
2350
2369
|
phoneNumber: string;
|
|
2351
2370
|
description?: string | null | undefined;
|
|
2352
2371
|
isPrimary?: boolean | undefined;
|
|
2353
2372
|
}[] | undefined;
|
|
2354
|
-
canImpersonateUsers?: {
|
|
2355
|
-
id: string;
|
|
2356
|
-
firstName: string;
|
|
2357
|
-
lastName: string;
|
|
2358
|
-
}[] | undefined;
|
|
2359
|
-
};
|
|
2360
|
-
creator: {
|
|
2361
|
-
id: string;
|
|
2362
|
-
updatedAt: string | Date;
|
|
2363
|
-
createdAt: string | Date;
|
|
2364
|
-
email: string;
|
|
2365
|
-
firstName: string;
|
|
2366
|
-
lastName: string;
|
|
2367
2373
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2368
2374
|
office?: {
|
|
2369
2375
|
id: string;
|
|
2370
2376
|
name: string;
|
|
2371
2377
|
} | null | undefined;
|
|
2372
|
-
phoneNumbers?: {
|
|
2373
|
-
id: string;
|
|
2374
|
-
phoneNumber: string;
|
|
2375
|
-
description?: string | null | undefined;
|
|
2376
|
-
isPrimary?: boolean | undefined;
|
|
2377
|
-
}[] | undefined;
|
|
2378
2378
|
canImpersonateUsers?: {
|
|
2379
2379
|
id: string;
|
|
2380
2380
|
firstName: string;
|
|
@@ -2386,22 +2386,22 @@ export declare const agentClientLinksContract: {
|
|
|
2386
2386
|
reviewedBy?: string | null | undefined;
|
|
2387
2387
|
reviewer?: {
|
|
2388
2388
|
id: string;
|
|
2389
|
-
updatedAt: string | Date;
|
|
2390
|
-
createdAt: string | Date;
|
|
2391
|
-
email: string;
|
|
2392
2389
|
firstName: string;
|
|
2393
2390
|
lastName: string;
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
name: string;
|
|
2398
|
-
} | null | undefined;
|
|
2391
|
+
email: string;
|
|
2392
|
+
createdAt: string | Date;
|
|
2393
|
+
updatedAt: string | Date;
|
|
2399
2394
|
phoneNumbers?: {
|
|
2400
2395
|
id: string;
|
|
2401
2396
|
phoneNumber: string;
|
|
2402
2397
|
description?: string | null | undefined;
|
|
2403
2398
|
isPrimary?: boolean | undefined;
|
|
2404
2399
|
}[] | undefined;
|
|
2400
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2401
|
+
office?: {
|
|
2402
|
+
id: string;
|
|
2403
|
+
name: string;
|
|
2404
|
+
} | null | undefined;
|
|
2405
2405
|
canImpersonateUsers?: {
|
|
2406
2406
|
id: string;
|
|
2407
2407
|
firstName: string;
|
|
@@ -2551,14 +2551,14 @@ export declare const agentClientLinksContract: {
|
|
|
2551
2551
|
email: z.ZodString;
|
|
2552
2552
|
}, "strip", z.ZodTypeAny, {
|
|
2553
2553
|
id: string;
|
|
2554
|
-
email: string;
|
|
2555
2554
|
firstName: string;
|
|
2556
2555
|
lastName: string;
|
|
2556
|
+
email: string;
|
|
2557
2557
|
}, {
|
|
2558
2558
|
id: string;
|
|
2559
|
-
email: string;
|
|
2560
2559
|
firstName: string;
|
|
2561
2560
|
lastName: string;
|
|
2561
|
+
email: string;
|
|
2562
2562
|
}>>>;
|
|
2563
2563
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2564
2564
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2571,43 +2571,43 @@ export declare const agentClientLinksContract: {
|
|
|
2571
2571
|
}>>>;
|
|
2572
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2573
2573
|
id: string;
|
|
2574
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2574
2575
|
name: string;
|
|
2575
|
-
updatedAt: string;
|
|
2576
2576
|
createdAt: string;
|
|
2577
|
-
|
|
2577
|
+
updatedAt: string;
|
|
2578
2578
|
crn: string | null;
|
|
2579
2579
|
govLink: string | null;
|
|
2580
|
-
director: string;
|
|
2581
2580
|
soleTrader: boolean;
|
|
2581
|
+
director: string;
|
|
2582
2582
|
blacklistReason?: string | null | undefined;
|
|
2583
|
-
agentClientLinks?: {
|
|
2584
|
-
agentId: string;
|
|
2585
|
-
} | null | undefined;
|
|
2586
2583
|
lastUpdatedBy?: {
|
|
2587
2584
|
id: string;
|
|
2588
|
-
email: string;
|
|
2589
2585
|
firstName: string;
|
|
2590
2586
|
lastName: string;
|
|
2587
|
+
email: string;
|
|
2588
|
+
} | null | undefined;
|
|
2589
|
+
agentClientLinks?: {
|
|
2590
|
+
agentId: string;
|
|
2591
2591
|
} | null | undefined;
|
|
2592
2592
|
}, {
|
|
2593
2593
|
id: string;
|
|
2594
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2594
2595
|
name: string;
|
|
2595
|
-
updatedAt: string | Date;
|
|
2596
2596
|
createdAt: string | Date;
|
|
2597
|
-
|
|
2597
|
+
updatedAt: string | Date;
|
|
2598
2598
|
crn: string | null;
|
|
2599
2599
|
govLink: string | null;
|
|
2600
|
-
director: string;
|
|
2601
2600
|
soleTrader: boolean;
|
|
2601
|
+
director: string;
|
|
2602
2602
|
blacklistReason?: string | null | undefined;
|
|
2603
|
-
agentClientLinks?: {
|
|
2604
|
-
agentId: string;
|
|
2605
|
-
} | null | undefined;
|
|
2606
2603
|
lastUpdatedBy?: {
|
|
2607
2604
|
id: string;
|
|
2608
|
-
email: string;
|
|
2609
2605
|
firstName: string;
|
|
2610
2606
|
lastName: string;
|
|
2607
|
+
email: string;
|
|
2608
|
+
} | null | undefined;
|
|
2609
|
+
agentClientLinks?: {
|
|
2610
|
+
agentId: string;
|
|
2611
2611
|
} | null | undefined;
|
|
2612
2612
|
}>;
|
|
2613
2613
|
agentId: z.ZodString;
|
|
@@ -2660,17 +2660,17 @@ export declare const agentClientLinksContract: {
|
|
|
2660
2660
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2661
2661
|
}, "strip", z.ZodTypeAny, {
|
|
2662
2662
|
id: string;
|
|
2663
|
-
updatedAt: string;
|
|
2664
|
-
createdAt: string;
|
|
2665
|
-
email: string;
|
|
2666
2663
|
firstName: string;
|
|
2667
2664
|
lastName: string;
|
|
2665
|
+
email: string;
|
|
2668
2666
|
phoneNumbers: {
|
|
2669
2667
|
id: string;
|
|
2670
2668
|
phoneNumber: string;
|
|
2671
2669
|
isPrimary: boolean;
|
|
2672
2670
|
description?: string | null | undefined;
|
|
2673
2671
|
}[];
|
|
2672
|
+
createdAt: string;
|
|
2673
|
+
updatedAt: string;
|
|
2674
2674
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2675
2675
|
office?: {
|
|
2676
2676
|
id: string;
|
|
@@ -2683,22 +2683,22 @@ export declare const agentClientLinksContract: {
|
|
|
2683
2683
|
}[] | undefined;
|
|
2684
2684
|
}, {
|
|
2685
2685
|
id: string;
|
|
2686
|
-
updatedAt: string | Date;
|
|
2687
|
-
createdAt: string | Date;
|
|
2688
|
-
email: string;
|
|
2689
2686
|
firstName: string;
|
|
2690
2687
|
lastName: string;
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
name: string;
|
|
2695
|
-
} | null | undefined;
|
|
2688
|
+
email: string;
|
|
2689
|
+
createdAt: string | Date;
|
|
2690
|
+
updatedAt: string | Date;
|
|
2696
2691
|
phoneNumbers?: {
|
|
2697
2692
|
id: string;
|
|
2698
2693
|
phoneNumber: string;
|
|
2699
2694
|
description?: string | null | undefined;
|
|
2700
2695
|
isPrimary?: boolean | undefined;
|
|
2701
2696
|
}[] | undefined;
|
|
2697
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2698
|
+
office?: {
|
|
2699
|
+
id: string;
|
|
2700
|
+
name: string;
|
|
2701
|
+
} | null | undefined;
|
|
2702
2702
|
canImpersonateUsers?: {
|
|
2703
2703
|
id: string;
|
|
2704
2704
|
firstName: string;
|
|
@@ -2759,17 +2759,17 @@ export declare const agentClientLinksContract: {
|
|
|
2759
2759
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2760
2760
|
}, "strip", z.ZodTypeAny, {
|
|
2761
2761
|
id: string;
|
|
2762
|
-
updatedAt: string;
|
|
2763
|
-
createdAt: string;
|
|
2764
|
-
email: string;
|
|
2765
2762
|
firstName: string;
|
|
2766
2763
|
lastName: string;
|
|
2764
|
+
email: string;
|
|
2767
2765
|
phoneNumbers: {
|
|
2768
2766
|
id: string;
|
|
2769
2767
|
phoneNumber: string;
|
|
2770
2768
|
isPrimary: boolean;
|
|
2771
2769
|
description?: string | null | undefined;
|
|
2772
2770
|
}[];
|
|
2771
|
+
createdAt: string;
|
|
2772
|
+
updatedAt: string;
|
|
2773
2773
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2774
2774
|
office?: {
|
|
2775
2775
|
id: string;
|
|
@@ -2782,22 +2782,22 @@ export declare const agentClientLinksContract: {
|
|
|
2782
2782
|
}[] | undefined;
|
|
2783
2783
|
}, {
|
|
2784
2784
|
id: string;
|
|
2785
|
-
updatedAt: string | Date;
|
|
2786
|
-
createdAt: string | Date;
|
|
2787
|
-
email: string;
|
|
2788
2785
|
firstName: string;
|
|
2789
2786
|
lastName: string;
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
name: string;
|
|
2794
|
-
} | null | undefined;
|
|
2787
|
+
email: string;
|
|
2788
|
+
createdAt: string | Date;
|
|
2789
|
+
updatedAt: string | Date;
|
|
2795
2790
|
phoneNumbers?: {
|
|
2796
2791
|
id: string;
|
|
2797
2792
|
phoneNumber: string;
|
|
2798
2793
|
description?: string | null | undefined;
|
|
2799
2794
|
isPrimary?: boolean | undefined;
|
|
2800
2795
|
}[] | undefined;
|
|
2796
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2797
|
+
office?: {
|
|
2798
|
+
id: string;
|
|
2799
|
+
name: string;
|
|
2800
|
+
} | null | undefined;
|
|
2801
2801
|
canImpersonateUsers?: {
|
|
2802
2802
|
id: string;
|
|
2803
2803
|
firstName: string;
|
|
@@ -2855,17 +2855,17 @@ export declare const agentClientLinksContract: {
|
|
|
2855
2855
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2856
2856
|
}, "strip", z.ZodTypeAny, {
|
|
2857
2857
|
id: string;
|
|
2858
|
-
updatedAt: string;
|
|
2859
|
-
createdAt: string;
|
|
2860
|
-
email: string;
|
|
2861
2858
|
firstName: string;
|
|
2862
2859
|
lastName: string;
|
|
2860
|
+
email: string;
|
|
2863
2861
|
phoneNumbers: {
|
|
2864
2862
|
id: string;
|
|
2865
2863
|
phoneNumber: string;
|
|
2866
2864
|
isPrimary: boolean;
|
|
2867
2865
|
description?: string | null | undefined;
|
|
2868
2866
|
}[];
|
|
2867
|
+
createdAt: string;
|
|
2868
|
+
updatedAt: string;
|
|
2869
2869
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2870
2870
|
office?: {
|
|
2871
2871
|
id: string;
|
|
@@ -2878,22 +2878,22 @@ export declare const agentClientLinksContract: {
|
|
|
2878
2878
|
}[] | undefined;
|
|
2879
2879
|
}, {
|
|
2880
2880
|
id: string;
|
|
2881
|
-
updatedAt: string | Date;
|
|
2882
|
-
createdAt: string | Date;
|
|
2883
|
-
email: string;
|
|
2884
2881
|
firstName: string;
|
|
2885
2882
|
lastName: string;
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
name: string;
|
|
2890
|
-
} | null | undefined;
|
|
2883
|
+
email: string;
|
|
2884
|
+
createdAt: string | Date;
|
|
2885
|
+
updatedAt: string | Date;
|
|
2891
2886
|
phoneNumbers?: {
|
|
2892
2887
|
id: string;
|
|
2893
2888
|
phoneNumber: string;
|
|
2894
2889
|
description?: string | null | undefined;
|
|
2895
2890
|
isPrimary?: boolean | undefined;
|
|
2896
2891
|
}[] | undefined;
|
|
2892
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2893
|
+
office?: {
|
|
2894
|
+
id: string;
|
|
2895
|
+
name: string;
|
|
2896
|
+
} | null | undefined;
|
|
2897
2897
|
canImpersonateUsers?: {
|
|
2898
2898
|
id: string;
|
|
2899
2899
|
firstName: string;
|
|
@@ -2904,47 +2904,23 @@ export declare const agentClientLinksContract: {
|
|
|
2904
2904
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2905
2905
|
}, "strip", z.ZodTypeAny, {
|
|
2906
2906
|
id: string;
|
|
2907
|
-
updatedAt: string;
|
|
2908
|
-
createdAt: string;
|
|
2909
2907
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2910
|
-
clientId: string;
|
|
2911
|
-
client: {
|
|
2912
|
-
id: string;
|
|
2913
|
-
name: string;
|
|
2914
|
-
updatedAt: string;
|
|
2915
|
-
createdAt: string;
|
|
2916
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2917
|
-
crn: string | null;
|
|
2918
|
-
govLink: string | null;
|
|
2919
|
-
director: string;
|
|
2920
|
-
soleTrader: boolean;
|
|
2921
|
-
blacklistReason?: string | null | undefined;
|
|
2922
|
-
agentClientLinks?: {
|
|
2923
|
-
agentId: string;
|
|
2924
|
-
} | null | undefined;
|
|
2925
|
-
lastUpdatedBy?: {
|
|
2926
|
-
id: string;
|
|
2927
|
-
email: string;
|
|
2928
|
-
firstName: string;
|
|
2929
|
-
lastName: string;
|
|
2930
|
-
} | null | undefined;
|
|
2931
|
-
};
|
|
2932
2908
|
agentId: string;
|
|
2933
|
-
|
|
2934
|
-
|
|
2909
|
+
createdAt: string;
|
|
2910
|
+
updatedAt: string;
|
|
2935
2911
|
agent: {
|
|
2936
2912
|
id: string;
|
|
2937
|
-
updatedAt: string;
|
|
2938
|
-
createdAt: string;
|
|
2939
|
-
email: string;
|
|
2940
2913
|
firstName: string;
|
|
2941
2914
|
lastName: string;
|
|
2915
|
+
email: string;
|
|
2942
2916
|
phoneNumbers: {
|
|
2943
2917
|
id: string;
|
|
2944
2918
|
phoneNumber: string;
|
|
2945
2919
|
isPrimary: boolean;
|
|
2946
2920
|
description?: string | null | undefined;
|
|
2947
2921
|
}[];
|
|
2922
|
+
createdAt: string;
|
|
2923
|
+
updatedAt: string;
|
|
2948
2924
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2949
2925
|
office?: {
|
|
2950
2926
|
id: string;
|
|
@@ -2956,19 +2932,43 @@ export declare const agentClientLinksContract: {
|
|
|
2956
2932
|
lastName: string;
|
|
2957
2933
|
}[] | undefined;
|
|
2958
2934
|
};
|
|
2959
|
-
|
|
2935
|
+
client: {
|
|
2960
2936
|
id: string;
|
|
2961
|
-
|
|
2937
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2938
|
+
name: string;
|
|
2962
2939
|
createdAt: string;
|
|
2963
|
-
|
|
2940
|
+
updatedAt: string;
|
|
2941
|
+
crn: string | null;
|
|
2942
|
+
govLink: string | null;
|
|
2943
|
+
soleTrader: boolean;
|
|
2944
|
+
director: string;
|
|
2945
|
+
blacklistReason?: string | null | undefined;
|
|
2946
|
+
lastUpdatedBy?: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
firstName: string;
|
|
2949
|
+
lastName: string;
|
|
2950
|
+
email: string;
|
|
2951
|
+
} | null | undefined;
|
|
2952
|
+
agentClientLinks?: {
|
|
2953
|
+
agentId: string;
|
|
2954
|
+
} | null | undefined;
|
|
2955
|
+
};
|
|
2956
|
+
clientId: string;
|
|
2957
|
+
createdBy: string;
|
|
2958
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2959
|
+
creator: {
|
|
2960
|
+
id: string;
|
|
2964
2961
|
firstName: string;
|
|
2965
2962
|
lastName: string;
|
|
2963
|
+
email: string;
|
|
2966
2964
|
phoneNumbers: {
|
|
2967
2965
|
id: string;
|
|
2968
2966
|
phoneNumber: string;
|
|
2969
2967
|
isPrimary: boolean;
|
|
2970
2968
|
description?: string | null | undefined;
|
|
2971
2969
|
}[];
|
|
2970
|
+
createdAt: string;
|
|
2971
|
+
updatedAt: string;
|
|
2972
2972
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2973
2973
|
office?: {
|
|
2974
2974
|
id: string;
|
|
@@ -2985,17 +2985,17 @@ export declare const agentClientLinksContract: {
|
|
|
2985
2985
|
reviewedBy?: string | null | undefined;
|
|
2986
2986
|
reviewer?: {
|
|
2987
2987
|
id: string;
|
|
2988
|
-
updatedAt: string;
|
|
2989
|
-
createdAt: string;
|
|
2990
|
-
email: string;
|
|
2991
2988
|
firstName: string;
|
|
2992
2989
|
lastName: string;
|
|
2990
|
+
email: string;
|
|
2993
2991
|
phoneNumbers: {
|
|
2994
2992
|
id: string;
|
|
2995
2993
|
phoneNumber: string;
|
|
2996
2994
|
isPrimary: boolean;
|
|
2997
2995
|
description?: string | null | undefined;
|
|
2998
2996
|
}[];
|
|
2997
|
+
createdAt: string;
|
|
2998
|
+
updatedAt: string;
|
|
2999
2999
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3000
3000
|
office?: {
|
|
3001
3001
|
id: string;
|
|
@@ -3010,76 +3010,76 @@ export declare const agentClientLinksContract: {
|
|
|
3010
3010
|
reviewedAt?: string | null | undefined;
|
|
3011
3011
|
}, {
|
|
3012
3012
|
id: string;
|
|
3013
|
-
updatedAt: string | Date;
|
|
3014
|
-
createdAt: string | Date;
|
|
3015
3013
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
3016
|
-
|
|
3014
|
+
agentId: string;
|
|
3015
|
+
createdAt: string | Date;
|
|
3016
|
+
updatedAt: string | Date;
|
|
3017
|
+
agent: {
|
|
3018
|
+
id: string;
|
|
3019
|
+
firstName: string;
|
|
3020
|
+
lastName: string;
|
|
3021
|
+
email: string;
|
|
3022
|
+
createdAt: string | Date;
|
|
3023
|
+
updatedAt: string | Date;
|
|
3024
|
+
phoneNumbers?: {
|
|
3025
|
+
id: string;
|
|
3026
|
+
phoneNumber: string;
|
|
3027
|
+
description?: string | null | undefined;
|
|
3028
|
+
isPrimary?: boolean | undefined;
|
|
3029
|
+
}[] | undefined;
|
|
3030
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3031
|
+
office?: {
|
|
3032
|
+
id: string;
|
|
3033
|
+
name: string;
|
|
3034
|
+
} | null | undefined;
|
|
3035
|
+
canImpersonateUsers?: {
|
|
3036
|
+
id: string;
|
|
3037
|
+
firstName: string;
|
|
3038
|
+
lastName: string;
|
|
3039
|
+
}[] | undefined;
|
|
3040
|
+
};
|
|
3017
3041
|
client: {
|
|
3018
3042
|
id: string;
|
|
3043
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3019
3044
|
name: string;
|
|
3020
|
-
updatedAt: string | Date;
|
|
3021
3045
|
createdAt: string | Date;
|
|
3022
|
-
|
|
3046
|
+
updatedAt: string | Date;
|
|
3023
3047
|
crn: string | null;
|
|
3024
3048
|
govLink: string | null;
|
|
3025
|
-
director: string;
|
|
3026
3049
|
soleTrader: boolean;
|
|
3050
|
+
director: string;
|
|
3027
3051
|
blacklistReason?: string | null | undefined;
|
|
3028
|
-
agentClientLinks?: {
|
|
3029
|
-
agentId: string;
|
|
3030
|
-
} | null | undefined;
|
|
3031
3052
|
lastUpdatedBy?: {
|
|
3032
3053
|
id: string;
|
|
3033
|
-
email: string;
|
|
3034
3054
|
firstName: string;
|
|
3035
3055
|
lastName: string;
|
|
3056
|
+
email: string;
|
|
3057
|
+
} | null | undefined;
|
|
3058
|
+
agentClientLinks?: {
|
|
3059
|
+
agentId: string;
|
|
3036
3060
|
} | null | undefined;
|
|
3037
3061
|
};
|
|
3038
|
-
|
|
3039
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3062
|
+
clientId: string;
|
|
3040
3063
|
createdBy: string;
|
|
3041
|
-
|
|
3064
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3065
|
+
creator: {
|
|
3042
3066
|
id: string;
|
|
3043
|
-
updatedAt: string | Date;
|
|
3044
|
-
createdAt: string | Date;
|
|
3045
|
-
email: string;
|
|
3046
3067
|
firstName: string;
|
|
3047
3068
|
lastName: string;
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
name: string;
|
|
3052
|
-
} | null | undefined;
|
|
3069
|
+
email: string;
|
|
3070
|
+
createdAt: string | Date;
|
|
3071
|
+
updatedAt: string | Date;
|
|
3053
3072
|
phoneNumbers?: {
|
|
3054
3073
|
id: string;
|
|
3055
3074
|
phoneNumber: string;
|
|
3056
3075
|
description?: string | null | undefined;
|
|
3057
3076
|
isPrimary?: boolean | undefined;
|
|
3058
3077
|
}[] | undefined;
|
|
3059
|
-
canImpersonateUsers?: {
|
|
3060
|
-
id: string;
|
|
3061
|
-
firstName: string;
|
|
3062
|
-
lastName: string;
|
|
3063
|
-
}[] | undefined;
|
|
3064
|
-
};
|
|
3065
|
-
creator: {
|
|
3066
|
-
id: string;
|
|
3067
|
-
updatedAt: string | Date;
|
|
3068
|
-
createdAt: string | Date;
|
|
3069
|
-
email: string;
|
|
3070
|
-
firstName: string;
|
|
3071
|
-
lastName: string;
|
|
3072
3078
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3073
3079
|
office?: {
|
|
3074
3080
|
id: string;
|
|
3075
3081
|
name: string;
|
|
3076
3082
|
} | null | undefined;
|
|
3077
|
-
phoneNumbers?: {
|
|
3078
|
-
id: string;
|
|
3079
|
-
phoneNumber: string;
|
|
3080
|
-
description?: string | null | undefined;
|
|
3081
|
-
isPrimary?: boolean | undefined;
|
|
3082
|
-
}[] | undefined;
|
|
3083
3083
|
canImpersonateUsers?: {
|
|
3084
3084
|
id: string;
|
|
3085
3085
|
firstName: string;
|
|
@@ -3091,22 +3091,22 @@ export declare const agentClientLinksContract: {
|
|
|
3091
3091
|
reviewedBy?: string | null | undefined;
|
|
3092
3092
|
reviewer?: {
|
|
3093
3093
|
id: string;
|
|
3094
|
-
updatedAt: string | Date;
|
|
3095
|
-
createdAt: string | Date;
|
|
3096
|
-
email: string;
|
|
3097
3094
|
firstName: string;
|
|
3098
3095
|
lastName: string;
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
name: string;
|
|
3103
|
-
} | null | undefined;
|
|
3096
|
+
email: string;
|
|
3097
|
+
createdAt: string | Date;
|
|
3098
|
+
updatedAt: string | Date;
|
|
3104
3099
|
phoneNumbers?: {
|
|
3105
3100
|
id: string;
|
|
3106
3101
|
phoneNumber: string;
|
|
3107
3102
|
description?: string | null | undefined;
|
|
3108
3103
|
isPrimary?: boolean | undefined;
|
|
3109
3104
|
}[] | undefined;
|
|
3105
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3106
|
+
office?: {
|
|
3107
|
+
id: string;
|
|
3108
|
+
name: string;
|
|
3109
|
+
} | null | undefined;
|
|
3110
3110
|
canImpersonateUsers?: {
|
|
3111
3111
|
id: string;
|
|
3112
3112
|
firstName: string;
|
|
@@ -3283,14 +3283,14 @@ export declare const agentClientLinksContract: {
|
|
|
3283
3283
|
email: z.ZodString;
|
|
3284
3284
|
}, "strip", z.ZodTypeAny, {
|
|
3285
3285
|
id: string;
|
|
3286
|
-
email: string;
|
|
3287
3286
|
firstName: string;
|
|
3288
3287
|
lastName: string;
|
|
3288
|
+
email: string;
|
|
3289
3289
|
}, {
|
|
3290
3290
|
id: string;
|
|
3291
|
-
email: string;
|
|
3292
3291
|
firstName: string;
|
|
3293
3292
|
lastName: string;
|
|
3293
|
+
email: string;
|
|
3294
3294
|
}>>>;
|
|
3295
3295
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3296
3296
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -3303,43 +3303,43 @@ export declare const agentClientLinksContract: {
|
|
|
3303
3303
|
}>>>;
|
|
3304
3304
|
}, "strip", z.ZodTypeAny, {
|
|
3305
3305
|
id: string;
|
|
3306
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3306
3307
|
name: string;
|
|
3307
|
-
updatedAt: string;
|
|
3308
3308
|
createdAt: string;
|
|
3309
|
-
|
|
3309
|
+
updatedAt: string;
|
|
3310
3310
|
crn: string | null;
|
|
3311
3311
|
govLink: string | null;
|
|
3312
|
-
director: string;
|
|
3313
3312
|
soleTrader: boolean;
|
|
3313
|
+
director: string;
|
|
3314
3314
|
blacklistReason?: string | null | undefined;
|
|
3315
|
-
agentClientLinks?: {
|
|
3316
|
-
agentId: string;
|
|
3317
|
-
} | null | undefined;
|
|
3318
3315
|
lastUpdatedBy?: {
|
|
3319
3316
|
id: string;
|
|
3320
|
-
email: string;
|
|
3321
3317
|
firstName: string;
|
|
3322
3318
|
lastName: string;
|
|
3319
|
+
email: string;
|
|
3320
|
+
} | null | undefined;
|
|
3321
|
+
agentClientLinks?: {
|
|
3322
|
+
agentId: string;
|
|
3323
3323
|
} | null | undefined;
|
|
3324
3324
|
}, {
|
|
3325
3325
|
id: string;
|
|
3326
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3326
3327
|
name: string;
|
|
3327
|
-
updatedAt: string | Date;
|
|
3328
3328
|
createdAt: string | Date;
|
|
3329
|
-
|
|
3329
|
+
updatedAt: string | Date;
|
|
3330
3330
|
crn: string | null;
|
|
3331
3331
|
govLink: string | null;
|
|
3332
|
-
director: string;
|
|
3333
3332
|
soleTrader: boolean;
|
|
3333
|
+
director: string;
|
|
3334
3334
|
blacklistReason?: string | null | undefined;
|
|
3335
|
-
agentClientLinks?: {
|
|
3336
|
-
agentId: string;
|
|
3337
|
-
} | null | undefined;
|
|
3338
3335
|
lastUpdatedBy?: {
|
|
3339
3336
|
id: string;
|
|
3340
|
-
email: string;
|
|
3341
3337
|
firstName: string;
|
|
3342
3338
|
lastName: string;
|
|
3339
|
+
email: string;
|
|
3340
|
+
} | null | undefined;
|
|
3341
|
+
agentClientLinks?: {
|
|
3342
|
+
agentId: string;
|
|
3343
3343
|
} | null | undefined;
|
|
3344
3344
|
}>;
|
|
3345
3345
|
agentId: z.ZodString;
|
|
@@ -3392,17 +3392,17 @@ export declare const agentClientLinksContract: {
|
|
|
3392
3392
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3393
3393
|
}, "strip", z.ZodTypeAny, {
|
|
3394
3394
|
id: string;
|
|
3395
|
-
updatedAt: string;
|
|
3396
|
-
createdAt: string;
|
|
3397
|
-
email: string;
|
|
3398
3395
|
firstName: string;
|
|
3399
3396
|
lastName: string;
|
|
3397
|
+
email: string;
|
|
3400
3398
|
phoneNumbers: {
|
|
3401
3399
|
id: string;
|
|
3402
3400
|
phoneNumber: string;
|
|
3403
3401
|
isPrimary: boolean;
|
|
3404
3402
|
description?: string | null | undefined;
|
|
3405
3403
|
}[];
|
|
3404
|
+
createdAt: string;
|
|
3405
|
+
updatedAt: string;
|
|
3406
3406
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3407
3407
|
office?: {
|
|
3408
3408
|
id: string;
|
|
@@ -3415,22 +3415,22 @@ export declare const agentClientLinksContract: {
|
|
|
3415
3415
|
}[] | undefined;
|
|
3416
3416
|
}, {
|
|
3417
3417
|
id: string;
|
|
3418
|
-
updatedAt: string | Date;
|
|
3419
|
-
createdAt: string | Date;
|
|
3420
|
-
email: string;
|
|
3421
3418
|
firstName: string;
|
|
3422
3419
|
lastName: string;
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
name: string;
|
|
3427
|
-
} | null | undefined;
|
|
3420
|
+
email: string;
|
|
3421
|
+
createdAt: string | Date;
|
|
3422
|
+
updatedAt: string | Date;
|
|
3428
3423
|
phoneNumbers?: {
|
|
3429
3424
|
id: string;
|
|
3430
3425
|
phoneNumber: string;
|
|
3431
3426
|
description?: string | null | undefined;
|
|
3432
3427
|
isPrimary?: boolean | undefined;
|
|
3433
3428
|
}[] | undefined;
|
|
3429
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3430
|
+
office?: {
|
|
3431
|
+
id: string;
|
|
3432
|
+
name: string;
|
|
3433
|
+
} | null | undefined;
|
|
3434
3434
|
canImpersonateUsers?: {
|
|
3435
3435
|
id: string;
|
|
3436
3436
|
firstName: string;
|
|
@@ -3491,17 +3491,17 @@ export declare const agentClientLinksContract: {
|
|
|
3491
3491
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3492
3492
|
}, "strip", z.ZodTypeAny, {
|
|
3493
3493
|
id: string;
|
|
3494
|
-
updatedAt: string;
|
|
3495
|
-
createdAt: string;
|
|
3496
|
-
email: string;
|
|
3497
3494
|
firstName: string;
|
|
3498
3495
|
lastName: string;
|
|
3496
|
+
email: string;
|
|
3499
3497
|
phoneNumbers: {
|
|
3500
3498
|
id: string;
|
|
3501
3499
|
phoneNumber: string;
|
|
3502
3500
|
isPrimary: boolean;
|
|
3503
3501
|
description?: string | null | undefined;
|
|
3504
3502
|
}[];
|
|
3503
|
+
createdAt: string;
|
|
3504
|
+
updatedAt: string;
|
|
3505
3505
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3506
3506
|
office?: {
|
|
3507
3507
|
id: string;
|
|
@@ -3514,22 +3514,22 @@ export declare const agentClientLinksContract: {
|
|
|
3514
3514
|
}[] | undefined;
|
|
3515
3515
|
}, {
|
|
3516
3516
|
id: string;
|
|
3517
|
-
updatedAt: string | Date;
|
|
3518
|
-
createdAt: string | Date;
|
|
3519
|
-
email: string;
|
|
3520
3517
|
firstName: string;
|
|
3521
3518
|
lastName: string;
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
name: string;
|
|
3526
|
-
} | null | undefined;
|
|
3519
|
+
email: string;
|
|
3520
|
+
createdAt: string | Date;
|
|
3521
|
+
updatedAt: string | Date;
|
|
3527
3522
|
phoneNumbers?: {
|
|
3528
3523
|
id: string;
|
|
3529
3524
|
phoneNumber: string;
|
|
3530
3525
|
description?: string | null | undefined;
|
|
3531
3526
|
isPrimary?: boolean | undefined;
|
|
3532
3527
|
}[] | undefined;
|
|
3528
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3529
|
+
office?: {
|
|
3530
|
+
id: string;
|
|
3531
|
+
name: string;
|
|
3532
|
+
} | null | undefined;
|
|
3533
3533
|
canImpersonateUsers?: {
|
|
3534
3534
|
id: string;
|
|
3535
3535
|
firstName: string;
|
|
@@ -3587,17 +3587,17 @@ export declare const agentClientLinksContract: {
|
|
|
3587
3587
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3588
3588
|
}, "strip", z.ZodTypeAny, {
|
|
3589
3589
|
id: string;
|
|
3590
|
-
updatedAt: string;
|
|
3591
|
-
createdAt: string;
|
|
3592
|
-
email: string;
|
|
3593
3590
|
firstName: string;
|
|
3594
3591
|
lastName: string;
|
|
3592
|
+
email: string;
|
|
3595
3593
|
phoneNumbers: {
|
|
3596
3594
|
id: string;
|
|
3597
3595
|
phoneNumber: string;
|
|
3598
3596
|
isPrimary: boolean;
|
|
3599
3597
|
description?: string | null | undefined;
|
|
3600
3598
|
}[];
|
|
3599
|
+
createdAt: string;
|
|
3600
|
+
updatedAt: string;
|
|
3601
3601
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3602
3602
|
office?: {
|
|
3603
3603
|
id: string;
|
|
@@ -3610,22 +3610,22 @@ export declare const agentClientLinksContract: {
|
|
|
3610
3610
|
}[] | undefined;
|
|
3611
3611
|
}, {
|
|
3612
3612
|
id: string;
|
|
3613
|
-
updatedAt: string | Date;
|
|
3614
|
-
createdAt: string | Date;
|
|
3615
|
-
email: string;
|
|
3616
3613
|
firstName: string;
|
|
3617
3614
|
lastName: string;
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
name: string;
|
|
3622
|
-
} | null | undefined;
|
|
3615
|
+
email: string;
|
|
3616
|
+
createdAt: string | Date;
|
|
3617
|
+
updatedAt: string | Date;
|
|
3623
3618
|
phoneNumbers?: {
|
|
3624
3619
|
id: string;
|
|
3625
3620
|
phoneNumber: string;
|
|
3626
3621
|
description?: string | null | undefined;
|
|
3627
3622
|
isPrimary?: boolean | undefined;
|
|
3628
3623
|
}[] | undefined;
|
|
3624
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3625
|
+
office?: {
|
|
3626
|
+
id: string;
|
|
3627
|
+
name: string;
|
|
3628
|
+
} | null | undefined;
|
|
3629
3629
|
canImpersonateUsers?: {
|
|
3630
3630
|
id: string;
|
|
3631
3631
|
firstName: string;
|
|
@@ -3636,47 +3636,23 @@ export declare const agentClientLinksContract: {
|
|
|
3636
3636
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3637
3637
|
}, "strip", z.ZodTypeAny, {
|
|
3638
3638
|
id: string;
|
|
3639
|
-
updatedAt: string;
|
|
3640
|
-
createdAt: string;
|
|
3641
3639
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
3642
|
-
clientId: string;
|
|
3643
|
-
client: {
|
|
3644
|
-
id: string;
|
|
3645
|
-
name: string;
|
|
3646
|
-
updatedAt: string;
|
|
3647
|
-
createdAt: string;
|
|
3648
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3649
|
-
crn: string | null;
|
|
3650
|
-
govLink: string | null;
|
|
3651
|
-
director: string;
|
|
3652
|
-
soleTrader: boolean;
|
|
3653
|
-
blacklistReason?: string | null | undefined;
|
|
3654
|
-
agentClientLinks?: {
|
|
3655
|
-
agentId: string;
|
|
3656
|
-
} | null | undefined;
|
|
3657
|
-
lastUpdatedBy?: {
|
|
3658
|
-
id: string;
|
|
3659
|
-
email: string;
|
|
3660
|
-
firstName: string;
|
|
3661
|
-
lastName: string;
|
|
3662
|
-
} | null | undefined;
|
|
3663
|
-
};
|
|
3664
3640
|
agentId: string;
|
|
3665
|
-
|
|
3666
|
-
|
|
3641
|
+
createdAt: string;
|
|
3642
|
+
updatedAt: string;
|
|
3667
3643
|
agent: {
|
|
3668
3644
|
id: string;
|
|
3669
|
-
updatedAt: string;
|
|
3670
|
-
createdAt: string;
|
|
3671
|
-
email: string;
|
|
3672
3645
|
firstName: string;
|
|
3673
3646
|
lastName: string;
|
|
3647
|
+
email: string;
|
|
3674
3648
|
phoneNumbers: {
|
|
3675
3649
|
id: string;
|
|
3676
3650
|
phoneNumber: string;
|
|
3677
3651
|
isPrimary: boolean;
|
|
3678
3652
|
description?: string | null | undefined;
|
|
3679
3653
|
}[];
|
|
3654
|
+
createdAt: string;
|
|
3655
|
+
updatedAt: string;
|
|
3680
3656
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3681
3657
|
office?: {
|
|
3682
3658
|
id: string;
|
|
@@ -3688,19 +3664,43 @@ export declare const agentClientLinksContract: {
|
|
|
3688
3664
|
lastName: string;
|
|
3689
3665
|
}[] | undefined;
|
|
3690
3666
|
};
|
|
3691
|
-
|
|
3667
|
+
client: {
|
|
3692
3668
|
id: string;
|
|
3693
|
-
|
|
3669
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3670
|
+
name: string;
|
|
3694
3671
|
createdAt: string;
|
|
3695
|
-
|
|
3672
|
+
updatedAt: string;
|
|
3673
|
+
crn: string | null;
|
|
3674
|
+
govLink: string | null;
|
|
3675
|
+
soleTrader: boolean;
|
|
3676
|
+
director: string;
|
|
3677
|
+
blacklistReason?: string | null | undefined;
|
|
3678
|
+
lastUpdatedBy?: {
|
|
3679
|
+
id: string;
|
|
3680
|
+
firstName: string;
|
|
3681
|
+
lastName: string;
|
|
3682
|
+
email: string;
|
|
3683
|
+
} | null | undefined;
|
|
3684
|
+
agentClientLinks?: {
|
|
3685
|
+
agentId: string;
|
|
3686
|
+
} | null | undefined;
|
|
3687
|
+
};
|
|
3688
|
+
clientId: string;
|
|
3689
|
+
createdBy: string;
|
|
3690
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3691
|
+
creator: {
|
|
3692
|
+
id: string;
|
|
3696
3693
|
firstName: string;
|
|
3697
3694
|
lastName: string;
|
|
3695
|
+
email: string;
|
|
3698
3696
|
phoneNumbers: {
|
|
3699
3697
|
id: string;
|
|
3700
3698
|
phoneNumber: string;
|
|
3701
3699
|
isPrimary: boolean;
|
|
3702
3700
|
description?: string | null | undefined;
|
|
3703
3701
|
}[];
|
|
3702
|
+
createdAt: string;
|
|
3703
|
+
updatedAt: string;
|
|
3704
3704
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3705
3705
|
office?: {
|
|
3706
3706
|
id: string;
|
|
@@ -3717,17 +3717,17 @@ export declare const agentClientLinksContract: {
|
|
|
3717
3717
|
reviewedBy?: string | null | undefined;
|
|
3718
3718
|
reviewer?: {
|
|
3719
3719
|
id: string;
|
|
3720
|
-
updatedAt: string;
|
|
3721
|
-
createdAt: string;
|
|
3722
|
-
email: string;
|
|
3723
3720
|
firstName: string;
|
|
3724
3721
|
lastName: string;
|
|
3722
|
+
email: string;
|
|
3725
3723
|
phoneNumbers: {
|
|
3726
3724
|
id: string;
|
|
3727
3725
|
phoneNumber: string;
|
|
3728
3726
|
isPrimary: boolean;
|
|
3729
3727
|
description?: string | null | undefined;
|
|
3730
3728
|
}[];
|
|
3729
|
+
createdAt: string;
|
|
3730
|
+
updatedAt: string;
|
|
3731
3731
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3732
3732
|
office?: {
|
|
3733
3733
|
id: string;
|
|
@@ -3742,76 +3742,76 @@ export declare const agentClientLinksContract: {
|
|
|
3742
3742
|
reviewedAt?: string | null | undefined;
|
|
3743
3743
|
}, {
|
|
3744
3744
|
id: string;
|
|
3745
|
-
updatedAt: string | Date;
|
|
3746
|
-
createdAt: string | Date;
|
|
3747
3745
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
3748
|
-
|
|
3746
|
+
agentId: string;
|
|
3747
|
+
createdAt: string | Date;
|
|
3748
|
+
updatedAt: string | Date;
|
|
3749
|
+
agent: {
|
|
3750
|
+
id: string;
|
|
3751
|
+
firstName: string;
|
|
3752
|
+
lastName: string;
|
|
3753
|
+
email: string;
|
|
3754
|
+
createdAt: string | Date;
|
|
3755
|
+
updatedAt: string | Date;
|
|
3756
|
+
phoneNumbers?: {
|
|
3757
|
+
id: string;
|
|
3758
|
+
phoneNumber: string;
|
|
3759
|
+
description?: string | null | undefined;
|
|
3760
|
+
isPrimary?: boolean | undefined;
|
|
3761
|
+
}[] | undefined;
|
|
3762
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3763
|
+
office?: {
|
|
3764
|
+
id: string;
|
|
3765
|
+
name: string;
|
|
3766
|
+
} | null | undefined;
|
|
3767
|
+
canImpersonateUsers?: {
|
|
3768
|
+
id: string;
|
|
3769
|
+
firstName: string;
|
|
3770
|
+
lastName: string;
|
|
3771
|
+
}[] | undefined;
|
|
3772
|
+
};
|
|
3749
3773
|
client: {
|
|
3750
3774
|
id: string;
|
|
3775
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3751
3776
|
name: string;
|
|
3752
|
-
updatedAt: string | Date;
|
|
3753
3777
|
createdAt: string | Date;
|
|
3754
|
-
|
|
3778
|
+
updatedAt: string | Date;
|
|
3755
3779
|
crn: string | null;
|
|
3756
3780
|
govLink: string | null;
|
|
3757
|
-
director: string;
|
|
3758
3781
|
soleTrader: boolean;
|
|
3782
|
+
director: string;
|
|
3759
3783
|
blacklistReason?: string | null | undefined;
|
|
3760
|
-
agentClientLinks?: {
|
|
3761
|
-
agentId: string;
|
|
3762
|
-
} | null | undefined;
|
|
3763
3784
|
lastUpdatedBy?: {
|
|
3764
3785
|
id: string;
|
|
3765
|
-
email: string;
|
|
3766
3786
|
firstName: string;
|
|
3767
3787
|
lastName: string;
|
|
3788
|
+
email: string;
|
|
3789
|
+
} | null | undefined;
|
|
3790
|
+
agentClientLinks?: {
|
|
3791
|
+
agentId: string;
|
|
3768
3792
|
} | null | undefined;
|
|
3769
3793
|
};
|
|
3770
|
-
|
|
3771
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3794
|
+
clientId: string;
|
|
3772
3795
|
createdBy: string;
|
|
3773
|
-
|
|
3796
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3797
|
+
creator: {
|
|
3774
3798
|
id: string;
|
|
3775
|
-
updatedAt: string | Date;
|
|
3776
|
-
createdAt: string | Date;
|
|
3777
|
-
email: string;
|
|
3778
3799
|
firstName: string;
|
|
3779
3800
|
lastName: string;
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
name: string;
|
|
3784
|
-
} | null | undefined;
|
|
3801
|
+
email: string;
|
|
3802
|
+
createdAt: string | Date;
|
|
3803
|
+
updatedAt: string | Date;
|
|
3785
3804
|
phoneNumbers?: {
|
|
3786
3805
|
id: string;
|
|
3787
3806
|
phoneNumber: string;
|
|
3788
3807
|
description?: string | null | undefined;
|
|
3789
3808
|
isPrimary?: boolean | undefined;
|
|
3790
3809
|
}[] | undefined;
|
|
3791
|
-
canImpersonateUsers?: {
|
|
3792
|
-
id: string;
|
|
3793
|
-
firstName: string;
|
|
3794
|
-
lastName: string;
|
|
3795
|
-
}[] | undefined;
|
|
3796
|
-
};
|
|
3797
|
-
creator: {
|
|
3798
|
-
id: string;
|
|
3799
|
-
updatedAt: string | Date;
|
|
3800
|
-
createdAt: string | Date;
|
|
3801
|
-
email: string;
|
|
3802
|
-
firstName: string;
|
|
3803
|
-
lastName: string;
|
|
3804
3810
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3805
3811
|
office?: {
|
|
3806
3812
|
id: string;
|
|
3807
3813
|
name: string;
|
|
3808
3814
|
} | null | undefined;
|
|
3809
|
-
phoneNumbers?: {
|
|
3810
|
-
id: string;
|
|
3811
|
-
phoneNumber: string;
|
|
3812
|
-
description?: string | null | undefined;
|
|
3813
|
-
isPrimary?: boolean | undefined;
|
|
3814
|
-
}[] | undefined;
|
|
3815
3815
|
canImpersonateUsers?: {
|
|
3816
3816
|
id: string;
|
|
3817
3817
|
firstName: string;
|
|
@@ -3823,22 +3823,22 @@ export declare const agentClientLinksContract: {
|
|
|
3823
3823
|
reviewedBy?: string | null | undefined;
|
|
3824
3824
|
reviewer?: {
|
|
3825
3825
|
id: string;
|
|
3826
|
-
updatedAt: string | Date;
|
|
3827
|
-
createdAt: string | Date;
|
|
3828
|
-
email: string;
|
|
3829
3826
|
firstName: string;
|
|
3830
3827
|
lastName: string;
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
name: string;
|
|
3835
|
-
} | null | undefined;
|
|
3828
|
+
email: string;
|
|
3829
|
+
createdAt: string | Date;
|
|
3830
|
+
updatedAt: string | Date;
|
|
3836
3831
|
phoneNumbers?: {
|
|
3837
3832
|
id: string;
|
|
3838
3833
|
phoneNumber: string;
|
|
3839
3834
|
description?: string | null | undefined;
|
|
3840
3835
|
isPrimary?: boolean | undefined;
|
|
3841
3836
|
}[] | undefined;
|
|
3837
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3838
|
+
office?: {
|
|
3839
|
+
id: string;
|
|
3840
|
+
name: string;
|
|
3841
|
+
} | null | undefined;
|
|
3842
3842
|
canImpersonateUsers?: {
|
|
3843
3843
|
id: string;
|
|
3844
3844
|
firstName: string;
|
|
@@ -4024,14 +4024,14 @@ export declare const agentClientLinksContract: {
|
|
|
4024
4024
|
email: z.ZodString;
|
|
4025
4025
|
}, "strip", z.ZodTypeAny, {
|
|
4026
4026
|
id: string;
|
|
4027
|
-
email: string;
|
|
4028
4027
|
firstName: string;
|
|
4029
4028
|
lastName: string;
|
|
4029
|
+
email: string;
|
|
4030
4030
|
}, {
|
|
4031
4031
|
id: string;
|
|
4032
|
-
email: string;
|
|
4033
4032
|
firstName: string;
|
|
4034
4033
|
lastName: string;
|
|
4034
|
+
email: string;
|
|
4035
4035
|
}>>>;
|
|
4036
4036
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4037
4037
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -4044,43 +4044,43 @@ export declare const agentClientLinksContract: {
|
|
|
4044
4044
|
}>>>;
|
|
4045
4045
|
}, "strip", z.ZodTypeAny, {
|
|
4046
4046
|
id: string;
|
|
4047
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4047
4048
|
name: string;
|
|
4048
|
-
updatedAt: string;
|
|
4049
4049
|
createdAt: string;
|
|
4050
|
-
|
|
4050
|
+
updatedAt: string;
|
|
4051
4051
|
crn: string | null;
|
|
4052
4052
|
govLink: string | null;
|
|
4053
|
-
director: string;
|
|
4054
4053
|
soleTrader: boolean;
|
|
4054
|
+
director: string;
|
|
4055
4055
|
blacklistReason?: string | null | undefined;
|
|
4056
|
-
agentClientLinks?: {
|
|
4057
|
-
agentId: string;
|
|
4058
|
-
} | null | undefined;
|
|
4059
4056
|
lastUpdatedBy?: {
|
|
4060
4057
|
id: string;
|
|
4061
|
-
email: string;
|
|
4062
4058
|
firstName: string;
|
|
4063
4059
|
lastName: string;
|
|
4060
|
+
email: string;
|
|
4061
|
+
} | null | undefined;
|
|
4062
|
+
agentClientLinks?: {
|
|
4063
|
+
agentId: string;
|
|
4064
4064
|
} | null | undefined;
|
|
4065
4065
|
}, {
|
|
4066
4066
|
id: string;
|
|
4067
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4067
4068
|
name: string;
|
|
4068
|
-
updatedAt: string | Date;
|
|
4069
4069
|
createdAt: string | Date;
|
|
4070
|
-
|
|
4070
|
+
updatedAt: string | Date;
|
|
4071
4071
|
crn: string | null;
|
|
4072
4072
|
govLink: string | null;
|
|
4073
|
-
director: string;
|
|
4074
4073
|
soleTrader: boolean;
|
|
4074
|
+
director: string;
|
|
4075
4075
|
blacklistReason?: string | null | undefined;
|
|
4076
|
-
agentClientLinks?: {
|
|
4077
|
-
agentId: string;
|
|
4078
|
-
} | null | undefined;
|
|
4079
4076
|
lastUpdatedBy?: {
|
|
4080
4077
|
id: string;
|
|
4081
|
-
email: string;
|
|
4082
4078
|
firstName: string;
|
|
4083
4079
|
lastName: string;
|
|
4080
|
+
email: string;
|
|
4081
|
+
} | null | undefined;
|
|
4082
|
+
agentClientLinks?: {
|
|
4083
|
+
agentId: string;
|
|
4084
4084
|
} | null | undefined;
|
|
4085
4085
|
}>;
|
|
4086
4086
|
agentId: z.ZodString;
|
|
@@ -4133,17 +4133,17 @@ export declare const agentClientLinksContract: {
|
|
|
4133
4133
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4134
4134
|
}, "strip", z.ZodTypeAny, {
|
|
4135
4135
|
id: string;
|
|
4136
|
-
updatedAt: string;
|
|
4137
|
-
createdAt: string;
|
|
4138
|
-
email: string;
|
|
4139
4136
|
firstName: string;
|
|
4140
4137
|
lastName: string;
|
|
4138
|
+
email: string;
|
|
4141
4139
|
phoneNumbers: {
|
|
4142
4140
|
id: string;
|
|
4143
4141
|
phoneNumber: string;
|
|
4144
4142
|
isPrimary: boolean;
|
|
4145
4143
|
description?: string | null | undefined;
|
|
4146
4144
|
}[];
|
|
4145
|
+
createdAt: string;
|
|
4146
|
+
updatedAt: string;
|
|
4147
4147
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4148
4148
|
office?: {
|
|
4149
4149
|
id: string;
|
|
@@ -4156,22 +4156,22 @@ export declare const agentClientLinksContract: {
|
|
|
4156
4156
|
}[] | undefined;
|
|
4157
4157
|
}, {
|
|
4158
4158
|
id: string;
|
|
4159
|
-
updatedAt: string | Date;
|
|
4160
|
-
createdAt: string | Date;
|
|
4161
|
-
email: string;
|
|
4162
4159
|
firstName: string;
|
|
4163
4160
|
lastName: string;
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
name: string;
|
|
4168
|
-
} | null | undefined;
|
|
4161
|
+
email: string;
|
|
4162
|
+
createdAt: string | Date;
|
|
4163
|
+
updatedAt: string | Date;
|
|
4169
4164
|
phoneNumbers?: {
|
|
4170
4165
|
id: string;
|
|
4171
4166
|
phoneNumber: string;
|
|
4172
4167
|
description?: string | null | undefined;
|
|
4173
4168
|
isPrimary?: boolean | undefined;
|
|
4174
4169
|
}[] | undefined;
|
|
4170
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4171
|
+
office?: {
|
|
4172
|
+
id: string;
|
|
4173
|
+
name: string;
|
|
4174
|
+
} | null | undefined;
|
|
4175
4175
|
canImpersonateUsers?: {
|
|
4176
4176
|
id: string;
|
|
4177
4177
|
firstName: string;
|
|
@@ -4232,17 +4232,17 @@ export declare const agentClientLinksContract: {
|
|
|
4232
4232
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4233
4233
|
}, "strip", z.ZodTypeAny, {
|
|
4234
4234
|
id: string;
|
|
4235
|
-
updatedAt: string;
|
|
4236
|
-
createdAt: string;
|
|
4237
|
-
email: string;
|
|
4238
4235
|
firstName: string;
|
|
4239
4236
|
lastName: string;
|
|
4237
|
+
email: string;
|
|
4240
4238
|
phoneNumbers: {
|
|
4241
4239
|
id: string;
|
|
4242
4240
|
phoneNumber: string;
|
|
4243
4241
|
isPrimary: boolean;
|
|
4244
4242
|
description?: string | null | undefined;
|
|
4245
4243
|
}[];
|
|
4244
|
+
createdAt: string;
|
|
4245
|
+
updatedAt: string;
|
|
4246
4246
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4247
4247
|
office?: {
|
|
4248
4248
|
id: string;
|
|
@@ -4255,22 +4255,22 @@ export declare const agentClientLinksContract: {
|
|
|
4255
4255
|
}[] | undefined;
|
|
4256
4256
|
}, {
|
|
4257
4257
|
id: string;
|
|
4258
|
-
updatedAt: string | Date;
|
|
4259
|
-
createdAt: string | Date;
|
|
4260
|
-
email: string;
|
|
4261
4258
|
firstName: string;
|
|
4262
4259
|
lastName: string;
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
name: string;
|
|
4267
|
-
} | null | undefined;
|
|
4260
|
+
email: string;
|
|
4261
|
+
createdAt: string | Date;
|
|
4262
|
+
updatedAt: string | Date;
|
|
4268
4263
|
phoneNumbers?: {
|
|
4269
4264
|
id: string;
|
|
4270
4265
|
phoneNumber: string;
|
|
4271
4266
|
description?: string | null | undefined;
|
|
4272
4267
|
isPrimary?: boolean | undefined;
|
|
4273
4268
|
}[] | undefined;
|
|
4269
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4270
|
+
office?: {
|
|
4271
|
+
id: string;
|
|
4272
|
+
name: string;
|
|
4273
|
+
} | null | undefined;
|
|
4274
4274
|
canImpersonateUsers?: {
|
|
4275
4275
|
id: string;
|
|
4276
4276
|
firstName: string;
|
|
@@ -4328,17 +4328,17 @@ export declare const agentClientLinksContract: {
|
|
|
4328
4328
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4329
4329
|
}, "strip", z.ZodTypeAny, {
|
|
4330
4330
|
id: string;
|
|
4331
|
-
updatedAt: string;
|
|
4332
|
-
createdAt: string;
|
|
4333
|
-
email: string;
|
|
4334
4331
|
firstName: string;
|
|
4335
4332
|
lastName: string;
|
|
4333
|
+
email: string;
|
|
4336
4334
|
phoneNumbers: {
|
|
4337
4335
|
id: string;
|
|
4338
4336
|
phoneNumber: string;
|
|
4339
4337
|
isPrimary: boolean;
|
|
4340
4338
|
description?: string | null | undefined;
|
|
4341
4339
|
}[];
|
|
4340
|
+
createdAt: string;
|
|
4341
|
+
updatedAt: string;
|
|
4342
4342
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4343
4343
|
office?: {
|
|
4344
4344
|
id: string;
|
|
@@ -4351,22 +4351,22 @@ export declare const agentClientLinksContract: {
|
|
|
4351
4351
|
}[] | undefined;
|
|
4352
4352
|
}, {
|
|
4353
4353
|
id: string;
|
|
4354
|
-
updatedAt: string | Date;
|
|
4355
|
-
createdAt: string | Date;
|
|
4356
|
-
email: string;
|
|
4357
4354
|
firstName: string;
|
|
4358
4355
|
lastName: string;
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
name: string;
|
|
4363
|
-
} | null | undefined;
|
|
4356
|
+
email: string;
|
|
4357
|
+
createdAt: string | Date;
|
|
4358
|
+
updatedAt: string | Date;
|
|
4364
4359
|
phoneNumbers?: {
|
|
4365
4360
|
id: string;
|
|
4366
4361
|
phoneNumber: string;
|
|
4367
4362
|
description?: string | null | undefined;
|
|
4368
4363
|
isPrimary?: boolean | undefined;
|
|
4369
4364
|
}[] | undefined;
|
|
4365
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4366
|
+
office?: {
|
|
4367
|
+
id: string;
|
|
4368
|
+
name: string;
|
|
4369
|
+
} | null | undefined;
|
|
4370
4370
|
canImpersonateUsers?: {
|
|
4371
4371
|
id: string;
|
|
4372
4372
|
firstName: string;
|
|
@@ -4377,47 +4377,23 @@ export declare const agentClientLinksContract: {
|
|
|
4377
4377
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4378
4378
|
}, "strip", z.ZodTypeAny, {
|
|
4379
4379
|
id: string;
|
|
4380
|
-
updatedAt: string;
|
|
4381
|
-
createdAt: string;
|
|
4382
4380
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
4383
|
-
clientId: string;
|
|
4384
|
-
client: {
|
|
4385
|
-
id: string;
|
|
4386
|
-
name: string;
|
|
4387
|
-
updatedAt: string;
|
|
4388
|
-
createdAt: string;
|
|
4389
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4390
|
-
crn: string | null;
|
|
4391
|
-
govLink: string | null;
|
|
4392
|
-
director: string;
|
|
4393
|
-
soleTrader: boolean;
|
|
4394
|
-
blacklistReason?: string | null | undefined;
|
|
4395
|
-
agentClientLinks?: {
|
|
4396
|
-
agentId: string;
|
|
4397
|
-
} | null | undefined;
|
|
4398
|
-
lastUpdatedBy?: {
|
|
4399
|
-
id: string;
|
|
4400
|
-
email: string;
|
|
4401
|
-
firstName: string;
|
|
4402
|
-
lastName: string;
|
|
4403
|
-
} | null | undefined;
|
|
4404
|
-
};
|
|
4405
4381
|
agentId: string;
|
|
4406
|
-
|
|
4407
|
-
|
|
4382
|
+
createdAt: string;
|
|
4383
|
+
updatedAt: string;
|
|
4408
4384
|
agent: {
|
|
4409
4385
|
id: string;
|
|
4410
|
-
updatedAt: string;
|
|
4411
|
-
createdAt: string;
|
|
4412
|
-
email: string;
|
|
4413
4386
|
firstName: string;
|
|
4414
4387
|
lastName: string;
|
|
4388
|
+
email: string;
|
|
4415
4389
|
phoneNumbers: {
|
|
4416
4390
|
id: string;
|
|
4417
4391
|
phoneNumber: string;
|
|
4418
4392
|
isPrimary: boolean;
|
|
4419
4393
|
description?: string | null | undefined;
|
|
4420
4394
|
}[];
|
|
4395
|
+
createdAt: string;
|
|
4396
|
+
updatedAt: string;
|
|
4421
4397
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4422
4398
|
office?: {
|
|
4423
4399
|
id: string;
|
|
@@ -4429,19 +4405,43 @@ export declare const agentClientLinksContract: {
|
|
|
4429
4405
|
lastName: string;
|
|
4430
4406
|
}[] | undefined;
|
|
4431
4407
|
};
|
|
4432
|
-
|
|
4408
|
+
client: {
|
|
4433
4409
|
id: string;
|
|
4434
|
-
|
|
4410
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4411
|
+
name: string;
|
|
4435
4412
|
createdAt: string;
|
|
4436
|
-
|
|
4413
|
+
updatedAt: string;
|
|
4414
|
+
crn: string | null;
|
|
4415
|
+
govLink: string | null;
|
|
4416
|
+
soleTrader: boolean;
|
|
4417
|
+
director: string;
|
|
4418
|
+
blacklistReason?: string | null | undefined;
|
|
4419
|
+
lastUpdatedBy?: {
|
|
4420
|
+
id: string;
|
|
4421
|
+
firstName: string;
|
|
4422
|
+
lastName: string;
|
|
4423
|
+
email: string;
|
|
4424
|
+
} | null | undefined;
|
|
4425
|
+
agentClientLinks?: {
|
|
4426
|
+
agentId: string;
|
|
4427
|
+
} | null | undefined;
|
|
4428
|
+
};
|
|
4429
|
+
clientId: string;
|
|
4430
|
+
createdBy: string;
|
|
4431
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4432
|
+
creator: {
|
|
4433
|
+
id: string;
|
|
4437
4434
|
firstName: string;
|
|
4438
4435
|
lastName: string;
|
|
4436
|
+
email: string;
|
|
4439
4437
|
phoneNumbers: {
|
|
4440
4438
|
id: string;
|
|
4441
4439
|
phoneNumber: string;
|
|
4442
4440
|
isPrimary: boolean;
|
|
4443
4441
|
description?: string | null | undefined;
|
|
4444
4442
|
}[];
|
|
4443
|
+
createdAt: string;
|
|
4444
|
+
updatedAt: string;
|
|
4445
4445
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4446
4446
|
office?: {
|
|
4447
4447
|
id: string;
|
|
@@ -4458,17 +4458,17 @@ export declare const agentClientLinksContract: {
|
|
|
4458
4458
|
reviewedBy?: string | null | undefined;
|
|
4459
4459
|
reviewer?: {
|
|
4460
4460
|
id: string;
|
|
4461
|
-
updatedAt: string;
|
|
4462
|
-
createdAt: string;
|
|
4463
|
-
email: string;
|
|
4464
4461
|
firstName: string;
|
|
4465
4462
|
lastName: string;
|
|
4463
|
+
email: string;
|
|
4466
4464
|
phoneNumbers: {
|
|
4467
4465
|
id: string;
|
|
4468
4466
|
phoneNumber: string;
|
|
4469
4467
|
isPrimary: boolean;
|
|
4470
4468
|
description?: string | null | undefined;
|
|
4471
4469
|
}[];
|
|
4470
|
+
createdAt: string;
|
|
4471
|
+
updatedAt: string;
|
|
4472
4472
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4473
4473
|
office?: {
|
|
4474
4474
|
id: string;
|
|
@@ -4483,76 +4483,76 @@ export declare const agentClientLinksContract: {
|
|
|
4483
4483
|
reviewedAt?: string | null | undefined;
|
|
4484
4484
|
}, {
|
|
4485
4485
|
id: string;
|
|
4486
|
-
updatedAt: string | Date;
|
|
4487
|
-
createdAt: string | Date;
|
|
4488
4486
|
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
4489
|
-
|
|
4487
|
+
agentId: string;
|
|
4488
|
+
createdAt: string | Date;
|
|
4489
|
+
updatedAt: string | Date;
|
|
4490
|
+
agent: {
|
|
4491
|
+
id: string;
|
|
4492
|
+
firstName: string;
|
|
4493
|
+
lastName: string;
|
|
4494
|
+
email: string;
|
|
4495
|
+
createdAt: string | Date;
|
|
4496
|
+
updatedAt: string | Date;
|
|
4497
|
+
phoneNumbers?: {
|
|
4498
|
+
id: string;
|
|
4499
|
+
phoneNumber: string;
|
|
4500
|
+
description?: string | null | undefined;
|
|
4501
|
+
isPrimary?: boolean | undefined;
|
|
4502
|
+
}[] | undefined;
|
|
4503
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4504
|
+
office?: {
|
|
4505
|
+
id: string;
|
|
4506
|
+
name: string;
|
|
4507
|
+
} | null | undefined;
|
|
4508
|
+
canImpersonateUsers?: {
|
|
4509
|
+
id: string;
|
|
4510
|
+
firstName: string;
|
|
4511
|
+
lastName: string;
|
|
4512
|
+
}[] | undefined;
|
|
4513
|
+
};
|
|
4490
4514
|
client: {
|
|
4491
4515
|
id: string;
|
|
4516
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4492
4517
|
name: string;
|
|
4493
|
-
updatedAt: string | Date;
|
|
4494
4518
|
createdAt: string | Date;
|
|
4495
|
-
|
|
4519
|
+
updatedAt: string | Date;
|
|
4496
4520
|
crn: string | null;
|
|
4497
4521
|
govLink: string | null;
|
|
4498
|
-
director: string;
|
|
4499
4522
|
soleTrader: boolean;
|
|
4523
|
+
director: string;
|
|
4500
4524
|
blacklistReason?: string | null | undefined;
|
|
4501
|
-
agentClientLinks?: {
|
|
4502
|
-
agentId: string;
|
|
4503
|
-
} | null | undefined;
|
|
4504
4525
|
lastUpdatedBy?: {
|
|
4505
4526
|
id: string;
|
|
4506
|
-
email: string;
|
|
4507
4527
|
firstName: string;
|
|
4508
4528
|
lastName: string;
|
|
4529
|
+
email: string;
|
|
4530
|
+
} | null | undefined;
|
|
4531
|
+
agentClientLinks?: {
|
|
4532
|
+
agentId: string;
|
|
4509
4533
|
} | null | undefined;
|
|
4510
4534
|
};
|
|
4511
|
-
|
|
4512
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4535
|
+
clientId: string;
|
|
4513
4536
|
createdBy: string;
|
|
4514
|
-
|
|
4537
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4538
|
+
creator: {
|
|
4515
4539
|
id: string;
|
|
4516
|
-
updatedAt: string | Date;
|
|
4517
|
-
createdAt: string | Date;
|
|
4518
|
-
email: string;
|
|
4519
4540
|
firstName: string;
|
|
4520
4541
|
lastName: string;
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
name: string;
|
|
4525
|
-
} | null | undefined;
|
|
4542
|
+
email: string;
|
|
4543
|
+
createdAt: string | Date;
|
|
4544
|
+
updatedAt: string | Date;
|
|
4526
4545
|
phoneNumbers?: {
|
|
4527
4546
|
id: string;
|
|
4528
4547
|
phoneNumber: string;
|
|
4529
4548
|
description?: string | null | undefined;
|
|
4530
4549
|
isPrimary?: boolean | undefined;
|
|
4531
4550
|
}[] | undefined;
|
|
4532
|
-
canImpersonateUsers?: {
|
|
4533
|
-
id: string;
|
|
4534
|
-
firstName: string;
|
|
4535
|
-
lastName: string;
|
|
4536
|
-
}[] | undefined;
|
|
4537
|
-
};
|
|
4538
|
-
creator: {
|
|
4539
|
-
id: string;
|
|
4540
|
-
updatedAt: string | Date;
|
|
4541
|
-
createdAt: string | Date;
|
|
4542
|
-
email: string;
|
|
4543
|
-
firstName: string;
|
|
4544
|
-
lastName: string;
|
|
4545
4551
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4546
4552
|
office?: {
|
|
4547
4553
|
id: string;
|
|
4548
4554
|
name: string;
|
|
4549
4555
|
} | null | undefined;
|
|
4550
|
-
phoneNumbers?: {
|
|
4551
|
-
id: string;
|
|
4552
|
-
phoneNumber: string;
|
|
4553
|
-
description?: string | null | undefined;
|
|
4554
|
-
isPrimary?: boolean | undefined;
|
|
4555
|
-
}[] | undefined;
|
|
4556
4556
|
canImpersonateUsers?: {
|
|
4557
4557
|
id: string;
|
|
4558
4558
|
firstName: string;
|
|
@@ -4564,22 +4564,22 @@ export declare const agentClientLinksContract: {
|
|
|
4564
4564
|
reviewedBy?: string | null | undefined;
|
|
4565
4565
|
reviewer?: {
|
|
4566
4566
|
id: string;
|
|
4567
|
-
updatedAt: string | Date;
|
|
4568
|
-
createdAt: string | Date;
|
|
4569
|
-
email: string;
|
|
4570
4567
|
firstName: string;
|
|
4571
4568
|
lastName: string;
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
name: string;
|
|
4576
|
-
} | null | undefined;
|
|
4569
|
+
email: string;
|
|
4570
|
+
createdAt: string | Date;
|
|
4571
|
+
updatedAt: string | Date;
|
|
4577
4572
|
phoneNumbers?: {
|
|
4578
4573
|
id: string;
|
|
4579
4574
|
phoneNumber: string;
|
|
4580
4575
|
description?: string | null | undefined;
|
|
4581
4576
|
isPrimary?: boolean | undefined;
|
|
4582
4577
|
}[] | undefined;
|
|
4578
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
4579
|
+
office?: {
|
|
4580
|
+
id: string;
|
|
4581
|
+
name: string;
|
|
4582
|
+
} | null | undefined;
|
|
4583
4583
|
canImpersonateUsers?: {
|
|
4584
4584
|
id: string;
|
|
4585
4585
|
firstName: string;
|