@dakkitor/api-contracts 1.8.0 → 1.9.1
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/abilities.contract.d.ts +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +11 -0
- package/dist/abilities/second-agent.abilities.json +16 -0
- package/dist/actives/actives.contract.d.ts +6327 -6196
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1148 -1046
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +23 -23
- package/dist/bookings/bookings.contract.d.ts +9238 -9006
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +768 -731
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +99 -92
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2738 -2634
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2281 -2184
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.d.ts +7 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2663 -2045
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +37 -4
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +228 -228
- package/dist/curated-worker-leads/contact-history.spec.js +55 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +1928 -1928
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +1195 -1195
- package/dist/dashboards/dashboard-widgets.contract.d.ts +396 -396
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/export-jobs/export-jobs.contract.d.ts +675 -675
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/jobs/jobs.contract.d.ts +7903 -7645
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +72 -72
- package/dist/lead-assignments/lead-assignments.contract.d.ts +999 -928
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +244 -220
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +259 -259
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +801 -716
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/user-access-grants/user-access-grants.contract.d.ts +179 -179
- package/dist/users/users.contract.d.ts +227 -198
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +124 -124
- package/dist/workers/workers.contract.d.ts +2761 -2717
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
|
@@ -21,13 +21,13 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
21
21
|
lastName: z.ZodString;
|
|
22
22
|
email: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
id: string;
|
|
25
24
|
email: string;
|
|
25
|
+
id: string;
|
|
26
26
|
lastName: string;
|
|
27
27
|
firstName: string;
|
|
28
28
|
}, {
|
|
29
|
-
id: string;
|
|
30
29
|
email: string;
|
|
30
|
+
id: string;
|
|
31
31
|
lastName: string;
|
|
32
32
|
firstName: string;
|
|
33
33
|
}>>>;
|
|
@@ -41,45 +41,45 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
41
41
|
agentId: string;
|
|
42
42
|
}>>>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
45
|
-
id: string;
|
|
46
44
|
name: string;
|
|
47
|
-
updatedAt: string;
|
|
48
45
|
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
id: string;
|
|
48
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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
|
-
id: string;
|
|
59
55
|
email: string;
|
|
56
|
+
id: string;
|
|
60
57
|
lastName: string;
|
|
61
58
|
firstName: string;
|
|
62
59
|
} | null | undefined;
|
|
60
|
+
agentClientLinks?: {
|
|
61
|
+
agentId: string;
|
|
62
|
+
} | null | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
65
|
-
id: string;
|
|
66
64
|
name: string;
|
|
67
|
-
updatedAt: string | Date;
|
|
68
65
|
createdAt: string | Date;
|
|
66
|
+
updatedAt: string | Date;
|
|
67
|
+
id: string;
|
|
68
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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
|
-
id: string;
|
|
79
75
|
email: string;
|
|
76
|
+
id: string;
|
|
80
77
|
lastName: string;
|
|
81
78
|
firstName: string;
|
|
82
79
|
} | null | undefined;
|
|
80
|
+
agentClientLinks?: {
|
|
81
|
+
agentId: string;
|
|
82
|
+
} | null | undefined;
|
|
83
83
|
}>;
|
|
84
84
|
agentId: z.ZodString;
|
|
85
85
|
agent: z.ZodObject<{
|
|
@@ -122,16 +122,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
122
122
|
firstName: string;
|
|
123
123
|
}>, "many">>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
id: string;
|
|
126
125
|
name: string;
|
|
126
|
+
id: string;
|
|
127
127
|
managers?: {
|
|
128
128
|
id: string;
|
|
129
129
|
lastName: string;
|
|
130
130
|
firstName: string;
|
|
131
131
|
}[] | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
id: string;
|
|
134
133
|
name: string;
|
|
134
|
+
id: string;
|
|
135
135
|
managers?: {
|
|
136
136
|
id: string;
|
|
137
137
|
lastName: string;
|
|
@@ -152,15 +152,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
152
152
|
firstName: string;
|
|
153
153
|
}>, "many">>;
|
|
154
154
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
155
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
155
156
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
156
157
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
157
158
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
158
159
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
status: "ACTIVE" | "INACTIVE";
|
|
160
|
-
id: string;
|
|
161
|
-
updatedAt: string;
|
|
162
|
-
createdAt: string;
|
|
163
160
|
email: string;
|
|
161
|
+
createdAt: string;
|
|
162
|
+
updatedAt: string;
|
|
163
|
+
id: string;
|
|
164
|
+
status: "ACTIVE" | "INACTIVE";
|
|
164
165
|
lastName: string;
|
|
165
166
|
firstName: string;
|
|
166
167
|
phoneNumbers: {
|
|
@@ -172,8 +173,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
172
173
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
173
174
|
officeId?: string | null | undefined;
|
|
174
175
|
office?: {
|
|
175
|
-
id: string;
|
|
176
176
|
name: string;
|
|
177
|
+
id: string;
|
|
177
178
|
managers?: {
|
|
178
179
|
id: string;
|
|
179
180
|
lastName: string;
|
|
@@ -185,20 +186,21 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
185
186
|
lastName: string;
|
|
186
187
|
firstName: string;
|
|
187
188
|
}[] | undefined;
|
|
189
|
+
dialpadUserId?: string | null | undefined;
|
|
188
190
|
deletedAt?: string | null | undefined;
|
|
189
191
|
}, {
|
|
190
|
-
status: "ACTIVE" | "INACTIVE";
|
|
191
|
-
id: string;
|
|
192
|
-
updatedAt: string | Date;
|
|
193
|
-
createdAt: string | Date;
|
|
194
192
|
email: string;
|
|
193
|
+
createdAt: string | Date;
|
|
194
|
+
updatedAt: string | Date;
|
|
195
|
+
id: string;
|
|
196
|
+
status: "ACTIVE" | "INACTIVE";
|
|
195
197
|
lastName: string;
|
|
196
198
|
firstName: string;
|
|
197
199
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
198
200
|
officeId?: string | null | undefined;
|
|
199
201
|
office?: {
|
|
200
|
-
id: string;
|
|
201
202
|
name: string;
|
|
203
|
+
id: string;
|
|
202
204
|
managers?: {
|
|
203
205
|
id: string;
|
|
204
206
|
lastName: string;
|
|
@@ -216,6 +218,7 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
216
218
|
lastName: string;
|
|
217
219
|
firstName: string;
|
|
218
220
|
}[] | undefined;
|
|
221
|
+
dialpadUserId?: string | null | undefined;
|
|
219
222
|
deletedAt?: string | Date | null | undefined;
|
|
220
223
|
}>;
|
|
221
224
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -263,16 +266,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
263
266
|
firstName: string;
|
|
264
267
|
}>, "many">>;
|
|
265
268
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
id: string;
|
|
267
269
|
name: string;
|
|
270
|
+
id: string;
|
|
268
271
|
managers?: {
|
|
269
272
|
id: string;
|
|
270
273
|
lastName: string;
|
|
271
274
|
firstName: string;
|
|
272
275
|
}[] | undefined;
|
|
273
276
|
}, {
|
|
274
|
-
id: string;
|
|
275
277
|
name: string;
|
|
278
|
+
id: string;
|
|
276
279
|
managers?: {
|
|
277
280
|
id: string;
|
|
278
281
|
lastName: string;
|
|
@@ -293,15 +296,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
293
296
|
firstName: string;
|
|
294
297
|
}>, "many">>;
|
|
295
298
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
299
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
296
300
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
297
301
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
298
302
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
299
303
|
}, "strip", z.ZodTypeAny, {
|
|
300
|
-
status: "ACTIVE" | "INACTIVE";
|
|
301
|
-
id: string;
|
|
302
|
-
updatedAt: string;
|
|
303
|
-
createdAt: string;
|
|
304
304
|
email: string;
|
|
305
|
+
createdAt: string;
|
|
306
|
+
updatedAt: string;
|
|
307
|
+
id: string;
|
|
308
|
+
status: "ACTIVE" | "INACTIVE";
|
|
305
309
|
lastName: string;
|
|
306
310
|
firstName: string;
|
|
307
311
|
phoneNumbers: {
|
|
@@ -313,8 +317,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
313
317
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
314
318
|
officeId?: string | null | undefined;
|
|
315
319
|
office?: {
|
|
316
|
-
id: string;
|
|
317
320
|
name: string;
|
|
321
|
+
id: string;
|
|
318
322
|
managers?: {
|
|
319
323
|
id: string;
|
|
320
324
|
lastName: string;
|
|
@@ -326,20 +330,21 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
326
330
|
lastName: string;
|
|
327
331
|
firstName: string;
|
|
328
332
|
}[] | undefined;
|
|
333
|
+
dialpadUserId?: string | null | undefined;
|
|
329
334
|
deletedAt?: string | null | undefined;
|
|
330
335
|
}, {
|
|
331
|
-
status: "ACTIVE" | "INACTIVE";
|
|
332
|
-
id: string;
|
|
333
|
-
updatedAt: string | Date;
|
|
334
|
-
createdAt: string | Date;
|
|
335
336
|
email: string;
|
|
337
|
+
createdAt: string | Date;
|
|
338
|
+
updatedAt: string | Date;
|
|
339
|
+
id: string;
|
|
340
|
+
status: "ACTIVE" | "INACTIVE";
|
|
336
341
|
lastName: string;
|
|
337
342
|
firstName: string;
|
|
338
343
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
339
344
|
officeId?: string | null | undefined;
|
|
340
345
|
office?: {
|
|
341
|
-
id: string;
|
|
342
346
|
name: string;
|
|
347
|
+
id: string;
|
|
343
348
|
managers?: {
|
|
344
349
|
id: string;
|
|
345
350
|
lastName: string;
|
|
@@ -357,6 +362,7 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
357
362
|
lastName: string;
|
|
358
363
|
firstName: string;
|
|
359
364
|
}[] | undefined;
|
|
365
|
+
dialpadUserId?: string | null | undefined;
|
|
360
366
|
deletedAt?: string | Date | null | undefined;
|
|
361
367
|
}>>>;
|
|
362
368
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -401,16 +407,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
401
407
|
firstName: string;
|
|
402
408
|
}>, "many">>;
|
|
403
409
|
}, "strip", z.ZodTypeAny, {
|
|
404
|
-
id: string;
|
|
405
410
|
name: string;
|
|
411
|
+
id: string;
|
|
406
412
|
managers?: {
|
|
407
413
|
id: string;
|
|
408
414
|
lastName: string;
|
|
409
415
|
firstName: string;
|
|
410
416
|
}[] | undefined;
|
|
411
417
|
}, {
|
|
412
|
-
id: string;
|
|
413
418
|
name: string;
|
|
419
|
+
id: string;
|
|
414
420
|
managers?: {
|
|
415
421
|
id: string;
|
|
416
422
|
lastName: string;
|
|
@@ -431,15 +437,16 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
431
437
|
firstName: string;
|
|
432
438
|
}>, "many">>;
|
|
433
439
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
440
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
434
441
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
435
442
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
436
443
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
437
444
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
status: "ACTIVE" | "INACTIVE";
|
|
439
|
-
id: string;
|
|
440
|
-
updatedAt: string;
|
|
441
|
-
createdAt: string;
|
|
442
445
|
email: string;
|
|
446
|
+
createdAt: string;
|
|
447
|
+
updatedAt: string;
|
|
448
|
+
id: string;
|
|
449
|
+
status: "ACTIVE" | "INACTIVE";
|
|
443
450
|
lastName: string;
|
|
444
451
|
firstName: string;
|
|
445
452
|
phoneNumbers: {
|
|
@@ -451,8 +458,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
451
458
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
452
459
|
officeId?: string | null | undefined;
|
|
453
460
|
office?: {
|
|
454
|
-
id: string;
|
|
455
461
|
name: string;
|
|
462
|
+
id: string;
|
|
456
463
|
managers?: {
|
|
457
464
|
id: string;
|
|
458
465
|
lastName: string;
|
|
@@ -464,20 +471,21 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
464
471
|
lastName: string;
|
|
465
472
|
firstName: string;
|
|
466
473
|
}[] | undefined;
|
|
474
|
+
dialpadUserId?: string | null | undefined;
|
|
467
475
|
deletedAt?: string | null | undefined;
|
|
468
476
|
}, {
|
|
469
|
-
status: "ACTIVE" | "INACTIVE";
|
|
470
|
-
id: string;
|
|
471
|
-
updatedAt: string | Date;
|
|
472
|
-
createdAt: string | Date;
|
|
473
477
|
email: string;
|
|
478
|
+
createdAt: string | Date;
|
|
479
|
+
updatedAt: string | Date;
|
|
480
|
+
id: string;
|
|
481
|
+
status: "ACTIVE" | "INACTIVE";
|
|
474
482
|
lastName: string;
|
|
475
483
|
firstName: string;
|
|
476
484
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
477
485
|
officeId?: string | null | undefined;
|
|
478
486
|
office?: {
|
|
479
|
-
id: string;
|
|
480
487
|
name: string;
|
|
488
|
+
id: string;
|
|
481
489
|
managers?: {
|
|
482
490
|
id: string;
|
|
483
491
|
lastName: string;
|
|
@@ -495,46 +503,24 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
495
503
|
lastName: string;
|
|
496
504
|
firstName: string;
|
|
497
505
|
}[] | undefined;
|
|
506
|
+
dialpadUserId?: string | null | undefined;
|
|
498
507
|
deletedAt?: string | Date | null | undefined;
|
|
499
508
|
}>;
|
|
500
509
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
501
510
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
502
511
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
504
|
-
id: string;
|
|
505
|
-
updatedAt: string;
|
|
506
512
|
createdAt: string;
|
|
507
|
-
|
|
508
|
-
client: {
|
|
509
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
510
|
-
id: string;
|
|
511
|
-
name: string;
|
|
512
|
-
updatedAt: string;
|
|
513
|
-
createdAt: string;
|
|
514
|
-
crn: string | null;
|
|
515
|
-
govLink: string | null;
|
|
516
|
-
director: string;
|
|
517
|
-
soleTrader: boolean;
|
|
518
|
-
blacklistReason?: string | null | undefined;
|
|
519
|
-
agentClientLinks?: {
|
|
520
|
-
agentId: string;
|
|
521
|
-
} | null | undefined;
|
|
522
|
-
lastUpdatedBy?: {
|
|
523
|
-
id: string;
|
|
524
|
-
email: string;
|
|
525
|
-
lastName: string;
|
|
526
|
-
firstName: string;
|
|
527
|
-
} | null | undefined;
|
|
528
|
-
};
|
|
529
|
-
agentId: string;
|
|
530
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
513
|
+
updatedAt: string;
|
|
531
514
|
createdBy: string;
|
|
515
|
+
id: string;
|
|
516
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
517
|
+
agentId: string;
|
|
532
518
|
agent: {
|
|
533
|
-
status: "ACTIVE" | "INACTIVE";
|
|
534
|
-
id: string;
|
|
535
|
-
updatedAt: string;
|
|
536
|
-
createdAt: string;
|
|
537
519
|
email: string;
|
|
520
|
+
createdAt: string;
|
|
521
|
+
updatedAt: string;
|
|
522
|
+
id: string;
|
|
523
|
+
status: "ACTIVE" | "INACTIVE";
|
|
538
524
|
lastName: string;
|
|
539
525
|
firstName: string;
|
|
540
526
|
phoneNumbers: {
|
|
@@ -546,8 +532,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
546
532
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
547
533
|
officeId?: string | null | undefined;
|
|
548
534
|
office?: {
|
|
549
|
-
id: string;
|
|
550
535
|
name: string;
|
|
536
|
+
id: string;
|
|
551
537
|
managers?: {
|
|
552
538
|
id: string;
|
|
553
539
|
lastName: string;
|
|
@@ -559,14 +545,38 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
559
545
|
lastName: string;
|
|
560
546
|
firstName: string;
|
|
561
547
|
}[] | undefined;
|
|
548
|
+
dialpadUserId?: string | null | undefined;
|
|
562
549
|
deletedAt?: string | null | undefined;
|
|
563
550
|
};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
updatedAt: string;
|
|
551
|
+
clientId: string;
|
|
552
|
+
client: {
|
|
553
|
+
name: string;
|
|
568
554
|
createdAt: string;
|
|
555
|
+
updatedAt: string;
|
|
556
|
+
id: string;
|
|
557
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
558
|
+
crn: string | null;
|
|
559
|
+
govLink: string | null;
|
|
560
|
+
soleTrader: boolean;
|
|
561
|
+
director: string;
|
|
562
|
+
blacklistReason?: string | null | undefined;
|
|
563
|
+
lastUpdatedBy?: {
|
|
564
|
+
email: string;
|
|
565
|
+
id: string;
|
|
566
|
+
lastName: string;
|
|
567
|
+
firstName: string;
|
|
568
|
+
} | null | undefined;
|
|
569
|
+
agentClientLinks?: {
|
|
570
|
+
agentId: string;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
};
|
|
573
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
574
|
+
creator: {
|
|
569
575
|
email: string;
|
|
576
|
+
createdAt: string;
|
|
577
|
+
updatedAt: string;
|
|
578
|
+
id: string;
|
|
579
|
+
status: "ACTIVE" | "INACTIVE";
|
|
570
580
|
lastName: string;
|
|
571
581
|
firstName: string;
|
|
572
582
|
phoneNumbers: {
|
|
@@ -578,8 +588,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
578
588
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
579
589
|
officeId?: string | null | undefined;
|
|
580
590
|
office?: {
|
|
581
|
-
id: string;
|
|
582
591
|
name: string;
|
|
592
|
+
id: string;
|
|
583
593
|
managers?: {
|
|
584
594
|
id: string;
|
|
585
595
|
lastName: string;
|
|
@@ -591,18 +601,18 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
591
601
|
lastName: string;
|
|
592
602
|
firstName: string;
|
|
593
603
|
}[] | undefined;
|
|
604
|
+
dialpadUserId?: string | null | undefined;
|
|
594
605
|
deletedAt?: string | null | undefined;
|
|
595
606
|
};
|
|
596
|
-
reviewedAt?: string | null | undefined;
|
|
597
607
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
598
608
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
599
609
|
reviewedBy?: string | null | undefined;
|
|
600
610
|
reviewer?: {
|
|
601
|
-
status: "ACTIVE" | "INACTIVE";
|
|
602
|
-
id: string;
|
|
603
|
-
updatedAt: string;
|
|
604
|
-
createdAt: string;
|
|
605
611
|
email: string;
|
|
612
|
+
createdAt: string;
|
|
613
|
+
updatedAt: string;
|
|
614
|
+
id: string;
|
|
615
|
+
status: "ACTIVE" | "INACTIVE";
|
|
606
616
|
lastName: string;
|
|
607
617
|
firstName: string;
|
|
608
618
|
phoneNumbers: {
|
|
@@ -614,8 +624,8 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
614
624
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
615
625
|
officeId?: string | null | undefined;
|
|
616
626
|
office?: {
|
|
617
|
-
id: string;
|
|
618
627
|
name: string;
|
|
628
|
+
id: string;
|
|
619
629
|
managers?: {
|
|
620
630
|
id: string;
|
|
621
631
|
lastName: string;
|
|
@@ -627,51 +637,30 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
627
637
|
lastName: string;
|
|
628
638
|
firstName: string;
|
|
629
639
|
}[] | undefined;
|
|
640
|
+
dialpadUserId?: string | null | undefined;
|
|
630
641
|
deletedAt?: string | null | undefined;
|
|
631
642
|
} | null | undefined;
|
|
643
|
+
reviewedAt?: string | null | undefined;
|
|
632
644
|
}, {
|
|
633
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
634
|
-
id: string;
|
|
635
|
-
updatedAt: string | Date;
|
|
636
645
|
createdAt: string | Date;
|
|
637
|
-
|
|
638
|
-
client: {
|
|
639
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
640
|
-
id: string;
|
|
641
|
-
name: string;
|
|
642
|
-
updatedAt: string | Date;
|
|
643
|
-
createdAt: string | Date;
|
|
644
|
-
crn: string | null;
|
|
645
|
-
govLink: string | null;
|
|
646
|
-
director: string;
|
|
647
|
-
soleTrader: boolean;
|
|
648
|
-
blacklistReason?: string | null | undefined;
|
|
649
|
-
agentClientLinks?: {
|
|
650
|
-
agentId: string;
|
|
651
|
-
} | null | undefined;
|
|
652
|
-
lastUpdatedBy?: {
|
|
653
|
-
id: string;
|
|
654
|
-
email: string;
|
|
655
|
-
lastName: string;
|
|
656
|
-
firstName: string;
|
|
657
|
-
} | null | undefined;
|
|
658
|
-
};
|
|
659
|
-
agentId: string;
|
|
660
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
646
|
+
updatedAt: string | Date;
|
|
661
647
|
createdBy: string;
|
|
648
|
+
id: string;
|
|
649
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
650
|
+
agentId: string;
|
|
662
651
|
agent: {
|
|
663
|
-
status: "ACTIVE" | "INACTIVE";
|
|
664
|
-
id: string;
|
|
665
|
-
updatedAt: string | Date;
|
|
666
|
-
createdAt: string | Date;
|
|
667
652
|
email: string;
|
|
653
|
+
createdAt: string | Date;
|
|
654
|
+
updatedAt: string | Date;
|
|
655
|
+
id: string;
|
|
656
|
+
status: "ACTIVE" | "INACTIVE";
|
|
668
657
|
lastName: string;
|
|
669
658
|
firstName: string;
|
|
670
659
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
671
660
|
officeId?: string | null | undefined;
|
|
672
661
|
office?: {
|
|
673
|
-
id: string;
|
|
674
662
|
name: string;
|
|
663
|
+
id: string;
|
|
675
664
|
managers?: {
|
|
676
665
|
id: string;
|
|
677
666
|
lastName: string;
|
|
@@ -689,21 +678,45 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
689
678
|
lastName: string;
|
|
690
679
|
firstName: string;
|
|
691
680
|
}[] | undefined;
|
|
681
|
+
dialpadUserId?: string | null | undefined;
|
|
692
682
|
deletedAt?: string | Date | null | undefined;
|
|
693
683
|
};
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
updatedAt: string | Date;
|
|
684
|
+
clientId: string;
|
|
685
|
+
client: {
|
|
686
|
+
name: string;
|
|
698
687
|
createdAt: string | Date;
|
|
688
|
+
updatedAt: string | Date;
|
|
689
|
+
id: string;
|
|
690
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
691
|
+
crn: string | null;
|
|
692
|
+
govLink: string | null;
|
|
693
|
+
soleTrader: boolean;
|
|
694
|
+
director: string;
|
|
695
|
+
blacklistReason?: string | null | undefined;
|
|
696
|
+
lastUpdatedBy?: {
|
|
697
|
+
email: string;
|
|
698
|
+
id: string;
|
|
699
|
+
lastName: string;
|
|
700
|
+
firstName: string;
|
|
701
|
+
} | null | undefined;
|
|
702
|
+
agentClientLinks?: {
|
|
703
|
+
agentId: string;
|
|
704
|
+
} | null | undefined;
|
|
705
|
+
};
|
|
706
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
707
|
+
creator: {
|
|
699
708
|
email: string;
|
|
709
|
+
createdAt: string | Date;
|
|
710
|
+
updatedAt: string | Date;
|
|
711
|
+
id: string;
|
|
712
|
+
status: "ACTIVE" | "INACTIVE";
|
|
700
713
|
lastName: string;
|
|
701
714
|
firstName: string;
|
|
702
715
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
703
716
|
officeId?: string | null | undefined;
|
|
704
717
|
office?: {
|
|
705
|
-
id: string;
|
|
706
718
|
name: string;
|
|
719
|
+
id: string;
|
|
707
720
|
managers?: {
|
|
708
721
|
id: string;
|
|
709
722
|
lastName: string;
|
|
@@ -721,25 +734,25 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
721
734
|
lastName: string;
|
|
722
735
|
firstName: string;
|
|
723
736
|
}[] | undefined;
|
|
737
|
+
dialpadUserId?: string | null | undefined;
|
|
724
738
|
deletedAt?: string | Date | null | undefined;
|
|
725
739
|
};
|
|
726
|
-
reviewedAt?: string | Date | null | undefined;
|
|
727
740
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
728
741
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
729
742
|
reviewedBy?: string | null | undefined;
|
|
730
743
|
reviewer?: {
|
|
731
|
-
status: "ACTIVE" | "INACTIVE";
|
|
732
|
-
id: string;
|
|
733
|
-
updatedAt: string | Date;
|
|
734
|
-
createdAt: string | Date;
|
|
735
744
|
email: string;
|
|
745
|
+
createdAt: string | Date;
|
|
746
|
+
updatedAt: string | Date;
|
|
747
|
+
id: string;
|
|
748
|
+
status: "ACTIVE" | "INACTIVE";
|
|
736
749
|
lastName: string;
|
|
737
750
|
firstName: string;
|
|
738
751
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
739
752
|
officeId?: string | null | undefined;
|
|
740
753
|
office?: {
|
|
741
|
-
id: string;
|
|
742
754
|
name: string;
|
|
755
|
+
id: string;
|
|
743
756
|
managers?: {
|
|
744
757
|
id: string;
|
|
745
758
|
lastName: string;
|
|
@@ -757,8 +770,10 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
757
770
|
lastName: string;
|
|
758
771
|
firstName: string;
|
|
759
772
|
}[] | undefined;
|
|
773
|
+
dialpadUserId?: string | null | undefined;
|
|
760
774
|
deletedAt?: string | Date | null | undefined;
|
|
761
775
|
} | null | undefined;
|
|
776
|
+
reviewedAt?: string | Date | null | undefined;
|
|
762
777
|
}>;
|
|
763
778
|
export declare const FilterAgentClientLinkSchema: z.ZodObject<{
|
|
764
779
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -775,19 +790,19 @@ export declare const FilterAgentClientLinkSchema: z.ZodObject<{
|
|
|
775
790
|
limit: number;
|
|
776
791
|
sortBy: "createdAt";
|
|
777
792
|
sortOrder: "ASC" | "DESC";
|
|
778
|
-
status?: "
|
|
779
|
-
clientId?: string | undefined;
|
|
793
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
780
794
|
agentId?: string | undefined;
|
|
795
|
+
clientId?: string | undefined;
|
|
781
796
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
782
797
|
}, {
|
|
783
|
-
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
784
798
|
page?: number | undefined;
|
|
785
799
|
limit?: number | undefined;
|
|
786
|
-
|
|
800
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
787
801
|
agentId?: string | undefined;
|
|
788
|
-
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
789
802
|
sortBy?: "createdAt" | undefined;
|
|
790
803
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
804
|
+
clientId?: string | undefined;
|
|
805
|
+
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
791
806
|
}>;
|
|
792
807
|
export declare const ApplyChangesSchema: z.ZodObject<{
|
|
793
808
|
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -802,12 +817,12 @@ export declare const UpdateAgentClientLinkSchema: z.ZodObject<{
|
|
|
802
817
|
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
803
818
|
status: z.ZodOptional<z.ZodEnum<["PENDING_REVIEW", "APPROVED", "REJECTED"]>>;
|
|
804
819
|
}, "strip", z.ZodTypeAny, {
|
|
805
|
-
status?: "
|
|
820
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
806
821
|
clientId?: string | undefined;
|
|
807
822
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
808
823
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
809
824
|
}, {
|
|
810
|
-
status?: "
|
|
825
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
811
826
|
clientId?: string | undefined;
|
|
812
827
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
813
828
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -832,13 +847,13 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
832
847
|
lastName: z.ZodString;
|
|
833
848
|
email: z.ZodString;
|
|
834
849
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
id: string;
|
|
836
850
|
email: string;
|
|
851
|
+
id: string;
|
|
837
852
|
lastName: string;
|
|
838
853
|
firstName: string;
|
|
839
854
|
}, {
|
|
840
|
-
id: string;
|
|
841
855
|
email: string;
|
|
856
|
+
id: string;
|
|
842
857
|
lastName: string;
|
|
843
858
|
firstName: string;
|
|
844
859
|
}>>>;
|
|
@@ -852,45 +867,45 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
852
867
|
agentId: string;
|
|
853
868
|
}>>>;
|
|
854
869
|
}, "strip", z.ZodTypeAny, {
|
|
855
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
856
|
-
id: string;
|
|
857
870
|
name: string;
|
|
858
|
-
updatedAt: string;
|
|
859
871
|
createdAt: string;
|
|
872
|
+
updatedAt: string;
|
|
873
|
+
id: string;
|
|
874
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
860
875
|
crn: string | null;
|
|
861
876
|
govLink: string | null;
|
|
862
|
-
director: string;
|
|
863
877
|
soleTrader: boolean;
|
|
878
|
+
director: string;
|
|
864
879
|
blacklistReason?: string | null | undefined;
|
|
865
|
-
agentClientLinks?: {
|
|
866
|
-
agentId: string;
|
|
867
|
-
} | null | undefined;
|
|
868
880
|
lastUpdatedBy?: {
|
|
869
|
-
id: string;
|
|
870
881
|
email: string;
|
|
882
|
+
id: string;
|
|
871
883
|
lastName: string;
|
|
872
884
|
firstName: string;
|
|
873
885
|
} | null | undefined;
|
|
886
|
+
agentClientLinks?: {
|
|
887
|
+
agentId: string;
|
|
888
|
+
} | null | undefined;
|
|
874
889
|
}, {
|
|
875
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
876
|
-
id: string;
|
|
877
890
|
name: string;
|
|
878
|
-
updatedAt: string | Date;
|
|
879
891
|
createdAt: string | Date;
|
|
892
|
+
updatedAt: string | Date;
|
|
893
|
+
id: string;
|
|
894
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
880
895
|
crn: string | null;
|
|
881
896
|
govLink: string | null;
|
|
882
|
-
director: string;
|
|
883
897
|
soleTrader: boolean;
|
|
898
|
+
director: string;
|
|
884
899
|
blacklistReason?: string | null | undefined;
|
|
885
|
-
agentClientLinks?: {
|
|
886
|
-
agentId: string;
|
|
887
|
-
} | null | undefined;
|
|
888
900
|
lastUpdatedBy?: {
|
|
889
|
-
id: string;
|
|
890
901
|
email: string;
|
|
902
|
+
id: string;
|
|
891
903
|
lastName: string;
|
|
892
904
|
firstName: string;
|
|
893
905
|
} | null | undefined;
|
|
906
|
+
agentClientLinks?: {
|
|
907
|
+
agentId: string;
|
|
908
|
+
} | null | undefined;
|
|
894
909
|
}>;
|
|
895
910
|
agentId: z.ZodString;
|
|
896
911
|
agent: z.ZodObject<{
|
|
@@ -933,16 +948,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
933
948
|
firstName: string;
|
|
934
949
|
}>, "many">>;
|
|
935
950
|
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
id: string;
|
|
937
951
|
name: string;
|
|
952
|
+
id: string;
|
|
938
953
|
managers?: {
|
|
939
954
|
id: string;
|
|
940
955
|
lastName: string;
|
|
941
956
|
firstName: string;
|
|
942
957
|
}[] | undefined;
|
|
943
958
|
}, {
|
|
944
|
-
id: string;
|
|
945
959
|
name: string;
|
|
960
|
+
id: string;
|
|
946
961
|
managers?: {
|
|
947
962
|
id: string;
|
|
948
963
|
lastName: string;
|
|
@@ -963,15 +978,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
963
978
|
firstName: string;
|
|
964
979
|
}>, "many">>;
|
|
965
980
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
981
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
966
982
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
967
983
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
968
984
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
969
985
|
}, "strip", z.ZodTypeAny, {
|
|
970
|
-
status: "ACTIVE" | "INACTIVE";
|
|
971
|
-
id: string;
|
|
972
|
-
updatedAt: string;
|
|
973
|
-
createdAt: string;
|
|
974
986
|
email: string;
|
|
987
|
+
createdAt: string;
|
|
988
|
+
updatedAt: string;
|
|
989
|
+
id: string;
|
|
990
|
+
status: "ACTIVE" | "INACTIVE";
|
|
975
991
|
lastName: string;
|
|
976
992
|
firstName: string;
|
|
977
993
|
phoneNumbers: {
|
|
@@ -983,8 +999,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
983
999
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
984
1000
|
officeId?: string | null | undefined;
|
|
985
1001
|
office?: {
|
|
986
|
-
id: string;
|
|
987
1002
|
name: string;
|
|
1003
|
+
id: string;
|
|
988
1004
|
managers?: {
|
|
989
1005
|
id: string;
|
|
990
1006
|
lastName: string;
|
|
@@ -996,20 +1012,21 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
996
1012
|
lastName: string;
|
|
997
1013
|
firstName: string;
|
|
998
1014
|
}[] | undefined;
|
|
1015
|
+
dialpadUserId?: string | null | undefined;
|
|
999
1016
|
deletedAt?: string | null | undefined;
|
|
1000
1017
|
}, {
|
|
1001
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1002
|
-
id: string;
|
|
1003
|
-
updatedAt: string | Date;
|
|
1004
|
-
createdAt: string | Date;
|
|
1005
1018
|
email: string;
|
|
1019
|
+
createdAt: string | Date;
|
|
1020
|
+
updatedAt: string | Date;
|
|
1021
|
+
id: string;
|
|
1022
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1006
1023
|
lastName: string;
|
|
1007
1024
|
firstName: string;
|
|
1008
1025
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1009
1026
|
officeId?: string | null | undefined;
|
|
1010
1027
|
office?: {
|
|
1011
|
-
id: string;
|
|
1012
1028
|
name: string;
|
|
1029
|
+
id: string;
|
|
1013
1030
|
managers?: {
|
|
1014
1031
|
id: string;
|
|
1015
1032
|
lastName: string;
|
|
@@ -1027,6 +1044,7 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1027
1044
|
lastName: string;
|
|
1028
1045
|
firstName: string;
|
|
1029
1046
|
}[] | undefined;
|
|
1047
|
+
dialpadUserId?: string | null | undefined;
|
|
1030
1048
|
deletedAt?: string | Date | null | undefined;
|
|
1031
1049
|
}>;
|
|
1032
1050
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -1074,16 +1092,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1074
1092
|
firstName: string;
|
|
1075
1093
|
}>, "many">>;
|
|
1076
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1077
|
-
id: string;
|
|
1078
1095
|
name: string;
|
|
1096
|
+
id: string;
|
|
1079
1097
|
managers?: {
|
|
1080
1098
|
id: string;
|
|
1081
1099
|
lastName: string;
|
|
1082
1100
|
firstName: string;
|
|
1083
1101
|
}[] | undefined;
|
|
1084
1102
|
}, {
|
|
1085
|
-
id: string;
|
|
1086
1103
|
name: string;
|
|
1104
|
+
id: string;
|
|
1087
1105
|
managers?: {
|
|
1088
1106
|
id: string;
|
|
1089
1107
|
lastName: string;
|
|
@@ -1104,15 +1122,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1104
1122
|
firstName: string;
|
|
1105
1123
|
}>, "many">>;
|
|
1106
1124
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1125
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1107
1126
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1108
1127
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1109
1128
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1110
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1111
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1112
|
-
id: string;
|
|
1113
|
-
updatedAt: string;
|
|
1114
|
-
createdAt: string;
|
|
1115
1130
|
email: string;
|
|
1131
|
+
createdAt: string;
|
|
1132
|
+
updatedAt: string;
|
|
1133
|
+
id: string;
|
|
1134
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1116
1135
|
lastName: string;
|
|
1117
1136
|
firstName: string;
|
|
1118
1137
|
phoneNumbers: {
|
|
@@ -1124,8 +1143,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1124
1143
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1125
1144
|
officeId?: string | null | undefined;
|
|
1126
1145
|
office?: {
|
|
1127
|
-
id: string;
|
|
1128
1146
|
name: string;
|
|
1147
|
+
id: string;
|
|
1129
1148
|
managers?: {
|
|
1130
1149
|
id: string;
|
|
1131
1150
|
lastName: string;
|
|
@@ -1137,20 +1156,21 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1137
1156
|
lastName: string;
|
|
1138
1157
|
firstName: string;
|
|
1139
1158
|
}[] | undefined;
|
|
1159
|
+
dialpadUserId?: string | null | undefined;
|
|
1140
1160
|
deletedAt?: string | null | undefined;
|
|
1141
1161
|
}, {
|
|
1142
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1143
|
-
id: string;
|
|
1144
|
-
updatedAt: string | Date;
|
|
1145
|
-
createdAt: string | Date;
|
|
1146
1162
|
email: string;
|
|
1163
|
+
createdAt: string | Date;
|
|
1164
|
+
updatedAt: string | Date;
|
|
1165
|
+
id: string;
|
|
1166
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1147
1167
|
lastName: string;
|
|
1148
1168
|
firstName: string;
|
|
1149
1169
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1150
1170
|
officeId?: string | null | undefined;
|
|
1151
1171
|
office?: {
|
|
1152
|
-
id: string;
|
|
1153
1172
|
name: string;
|
|
1173
|
+
id: string;
|
|
1154
1174
|
managers?: {
|
|
1155
1175
|
id: string;
|
|
1156
1176
|
lastName: string;
|
|
@@ -1168,6 +1188,7 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1168
1188
|
lastName: string;
|
|
1169
1189
|
firstName: string;
|
|
1170
1190
|
}[] | undefined;
|
|
1191
|
+
dialpadUserId?: string | null | undefined;
|
|
1171
1192
|
deletedAt?: string | Date | null | undefined;
|
|
1172
1193
|
}>>>;
|
|
1173
1194
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -1212,16 +1233,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1212
1233
|
firstName: string;
|
|
1213
1234
|
}>, "many">>;
|
|
1214
1235
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
id: string;
|
|
1216
1236
|
name: string;
|
|
1237
|
+
id: string;
|
|
1217
1238
|
managers?: {
|
|
1218
1239
|
id: string;
|
|
1219
1240
|
lastName: string;
|
|
1220
1241
|
firstName: string;
|
|
1221
1242
|
}[] | undefined;
|
|
1222
1243
|
}, {
|
|
1223
|
-
id: string;
|
|
1224
1244
|
name: string;
|
|
1245
|
+
id: string;
|
|
1225
1246
|
managers?: {
|
|
1226
1247
|
id: string;
|
|
1227
1248
|
lastName: string;
|
|
@@ -1242,15 +1263,16 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1242
1263
|
firstName: string;
|
|
1243
1264
|
}>, "many">>;
|
|
1244
1265
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1266
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1245
1267
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1246
1268
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1247
1269
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1248
1270
|
}, "strip", z.ZodTypeAny, {
|
|
1249
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1250
|
-
id: string;
|
|
1251
|
-
updatedAt: string;
|
|
1252
|
-
createdAt: string;
|
|
1253
1271
|
email: string;
|
|
1272
|
+
createdAt: string;
|
|
1273
|
+
updatedAt: string;
|
|
1274
|
+
id: string;
|
|
1275
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1254
1276
|
lastName: string;
|
|
1255
1277
|
firstName: string;
|
|
1256
1278
|
phoneNumbers: {
|
|
@@ -1262,8 +1284,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1262
1284
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1263
1285
|
officeId?: string | null | undefined;
|
|
1264
1286
|
office?: {
|
|
1265
|
-
id: string;
|
|
1266
1287
|
name: string;
|
|
1288
|
+
id: string;
|
|
1267
1289
|
managers?: {
|
|
1268
1290
|
id: string;
|
|
1269
1291
|
lastName: string;
|
|
@@ -1275,20 +1297,21 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1275
1297
|
lastName: string;
|
|
1276
1298
|
firstName: string;
|
|
1277
1299
|
}[] | undefined;
|
|
1300
|
+
dialpadUserId?: string | null | undefined;
|
|
1278
1301
|
deletedAt?: string | null | undefined;
|
|
1279
1302
|
}, {
|
|
1280
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1281
|
-
id: string;
|
|
1282
|
-
updatedAt: string | Date;
|
|
1283
|
-
createdAt: string | Date;
|
|
1284
1303
|
email: string;
|
|
1304
|
+
createdAt: string | Date;
|
|
1305
|
+
updatedAt: string | Date;
|
|
1306
|
+
id: string;
|
|
1307
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1285
1308
|
lastName: string;
|
|
1286
1309
|
firstName: string;
|
|
1287
1310
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1288
1311
|
officeId?: string | null | undefined;
|
|
1289
1312
|
office?: {
|
|
1290
|
-
id: string;
|
|
1291
1313
|
name: string;
|
|
1314
|
+
id: string;
|
|
1292
1315
|
managers?: {
|
|
1293
1316
|
id: string;
|
|
1294
1317
|
lastName: string;
|
|
@@ -1306,46 +1329,24 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1306
1329
|
lastName: string;
|
|
1307
1330
|
firstName: string;
|
|
1308
1331
|
}[] | undefined;
|
|
1332
|
+
dialpadUserId?: string | null | undefined;
|
|
1309
1333
|
deletedAt?: string | Date | null | undefined;
|
|
1310
1334
|
}>;
|
|
1311
1335
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1312
1336
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1313
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1315
|
-
id: string;
|
|
1316
|
-
updatedAt: string;
|
|
1317
1338
|
createdAt: string;
|
|
1318
|
-
|
|
1319
|
-
client: {
|
|
1320
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1321
|
-
id: string;
|
|
1322
|
-
name: string;
|
|
1323
|
-
updatedAt: string;
|
|
1324
|
-
createdAt: string;
|
|
1325
|
-
crn: string | null;
|
|
1326
|
-
govLink: string | null;
|
|
1327
|
-
director: string;
|
|
1328
|
-
soleTrader: boolean;
|
|
1329
|
-
blacklistReason?: string | null | undefined;
|
|
1330
|
-
agentClientLinks?: {
|
|
1331
|
-
agentId: string;
|
|
1332
|
-
} | null | undefined;
|
|
1333
|
-
lastUpdatedBy?: {
|
|
1334
|
-
id: string;
|
|
1335
|
-
email: string;
|
|
1336
|
-
lastName: string;
|
|
1337
|
-
firstName: string;
|
|
1338
|
-
} | null | undefined;
|
|
1339
|
-
};
|
|
1340
|
-
agentId: string;
|
|
1341
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1339
|
+
updatedAt: string;
|
|
1342
1340
|
createdBy: string;
|
|
1341
|
+
id: string;
|
|
1342
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
1343
|
+
agentId: string;
|
|
1343
1344
|
agent: {
|
|
1344
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1345
|
-
id: string;
|
|
1346
|
-
updatedAt: string;
|
|
1347
|
-
createdAt: string;
|
|
1348
1345
|
email: string;
|
|
1346
|
+
createdAt: string;
|
|
1347
|
+
updatedAt: string;
|
|
1348
|
+
id: string;
|
|
1349
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1349
1350
|
lastName: string;
|
|
1350
1351
|
firstName: string;
|
|
1351
1352
|
phoneNumbers: {
|
|
@@ -1357,8 +1358,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1357
1358
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1358
1359
|
officeId?: string | null | undefined;
|
|
1359
1360
|
office?: {
|
|
1360
|
-
id: string;
|
|
1361
1361
|
name: string;
|
|
1362
|
+
id: string;
|
|
1362
1363
|
managers?: {
|
|
1363
1364
|
id: string;
|
|
1364
1365
|
lastName: string;
|
|
@@ -1370,14 +1371,38 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1370
1371
|
lastName: string;
|
|
1371
1372
|
firstName: string;
|
|
1372
1373
|
}[] | undefined;
|
|
1374
|
+
dialpadUserId?: string | null | undefined;
|
|
1373
1375
|
deletedAt?: string | null | undefined;
|
|
1374
1376
|
};
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
updatedAt: string;
|
|
1377
|
+
clientId: string;
|
|
1378
|
+
client: {
|
|
1379
|
+
name: string;
|
|
1379
1380
|
createdAt: string;
|
|
1381
|
+
updatedAt: string;
|
|
1382
|
+
id: string;
|
|
1383
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1384
|
+
crn: string | null;
|
|
1385
|
+
govLink: string | null;
|
|
1386
|
+
soleTrader: boolean;
|
|
1387
|
+
director: string;
|
|
1388
|
+
blacklistReason?: string | null | undefined;
|
|
1389
|
+
lastUpdatedBy?: {
|
|
1390
|
+
email: string;
|
|
1391
|
+
id: string;
|
|
1392
|
+
lastName: string;
|
|
1393
|
+
firstName: string;
|
|
1394
|
+
} | null | undefined;
|
|
1395
|
+
agentClientLinks?: {
|
|
1396
|
+
agentId: string;
|
|
1397
|
+
} | null | undefined;
|
|
1398
|
+
};
|
|
1399
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1400
|
+
creator: {
|
|
1380
1401
|
email: string;
|
|
1402
|
+
createdAt: string;
|
|
1403
|
+
updatedAt: string;
|
|
1404
|
+
id: string;
|
|
1405
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1381
1406
|
lastName: string;
|
|
1382
1407
|
firstName: string;
|
|
1383
1408
|
phoneNumbers: {
|
|
@@ -1389,8 +1414,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1389
1414
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1390
1415
|
officeId?: string | null | undefined;
|
|
1391
1416
|
office?: {
|
|
1392
|
-
id: string;
|
|
1393
1417
|
name: string;
|
|
1418
|
+
id: string;
|
|
1394
1419
|
managers?: {
|
|
1395
1420
|
id: string;
|
|
1396
1421
|
lastName: string;
|
|
@@ -1402,18 +1427,18 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1402
1427
|
lastName: string;
|
|
1403
1428
|
firstName: string;
|
|
1404
1429
|
}[] | undefined;
|
|
1430
|
+
dialpadUserId?: string | null | undefined;
|
|
1405
1431
|
deletedAt?: string | null | undefined;
|
|
1406
1432
|
};
|
|
1407
|
-
reviewedAt?: string | null | undefined;
|
|
1408
1433
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1409
1434
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1410
1435
|
reviewedBy?: string | null | undefined;
|
|
1411
1436
|
reviewer?: {
|
|
1412
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1413
|
-
id: string;
|
|
1414
|
-
updatedAt: string;
|
|
1415
|
-
createdAt: string;
|
|
1416
1437
|
email: string;
|
|
1438
|
+
createdAt: string;
|
|
1439
|
+
updatedAt: string;
|
|
1440
|
+
id: string;
|
|
1441
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1417
1442
|
lastName: string;
|
|
1418
1443
|
firstName: string;
|
|
1419
1444
|
phoneNumbers: {
|
|
@@ -1425,8 +1450,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1425
1450
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1426
1451
|
officeId?: string | null | undefined;
|
|
1427
1452
|
office?: {
|
|
1428
|
-
id: string;
|
|
1429
1453
|
name: string;
|
|
1454
|
+
id: string;
|
|
1430
1455
|
managers?: {
|
|
1431
1456
|
id: string;
|
|
1432
1457
|
lastName: string;
|
|
@@ -1438,51 +1463,30 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1438
1463
|
lastName: string;
|
|
1439
1464
|
firstName: string;
|
|
1440
1465
|
}[] | undefined;
|
|
1466
|
+
dialpadUserId?: string | null | undefined;
|
|
1441
1467
|
deletedAt?: string | null | undefined;
|
|
1442
1468
|
} | null | undefined;
|
|
1469
|
+
reviewedAt?: string | null | undefined;
|
|
1443
1470
|
}, {
|
|
1444
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1445
|
-
id: string;
|
|
1446
|
-
updatedAt: string | Date;
|
|
1447
1471
|
createdAt: string | Date;
|
|
1448
|
-
|
|
1449
|
-
client: {
|
|
1450
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1451
|
-
id: string;
|
|
1452
|
-
name: string;
|
|
1453
|
-
updatedAt: string | Date;
|
|
1454
|
-
createdAt: string | Date;
|
|
1455
|
-
crn: string | null;
|
|
1456
|
-
govLink: string | null;
|
|
1457
|
-
director: string;
|
|
1458
|
-
soleTrader: boolean;
|
|
1459
|
-
blacklistReason?: string | null | undefined;
|
|
1460
|
-
agentClientLinks?: {
|
|
1461
|
-
agentId: string;
|
|
1462
|
-
} | null | undefined;
|
|
1463
|
-
lastUpdatedBy?: {
|
|
1464
|
-
id: string;
|
|
1465
|
-
email: string;
|
|
1466
|
-
lastName: string;
|
|
1467
|
-
firstName: string;
|
|
1468
|
-
} | null | undefined;
|
|
1469
|
-
};
|
|
1470
|
-
agentId: string;
|
|
1471
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1472
|
+
updatedAt: string | Date;
|
|
1472
1473
|
createdBy: string;
|
|
1474
|
+
id: string;
|
|
1475
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
1476
|
+
agentId: string;
|
|
1473
1477
|
agent: {
|
|
1474
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1475
|
-
id: string;
|
|
1476
|
-
updatedAt: string | Date;
|
|
1477
|
-
createdAt: string | Date;
|
|
1478
1478
|
email: string;
|
|
1479
|
+
createdAt: string | Date;
|
|
1480
|
+
updatedAt: string | Date;
|
|
1481
|
+
id: string;
|
|
1482
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1479
1483
|
lastName: string;
|
|
1480
1484
|
firstName: string;
|
|
1481
1485
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1482
1486
|
officeId?: string | null | undefined;
|
|
1483
1487
|
office?: {
|
|
1484
|
-
id: string;
|
|
1485
1488
|
name: string;
|
|
1489
|
+
id: string;
|
|
1486
1490
|
managers?: {
|
|
1487
1491
|
id: string;
|
|
1488
1492
|
lastName: string;
|
|
@@ -1500,21 +1504,45 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1500
1504
|
lastName: string;
|
|
1501
1505
|
firstName: string;
|
|
1502
1506
|
}[] | undefined;
|
|
1507
|
+
dialpadUserId?: string | null | undefined;
|
|
1503
1508
|
deletedAt?: string | Date | null | undefined;
|
|
1504
1509
|
};
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
updatedAt: string | Date;
|
|
1510
|
+
clientId: string;
|
|
1511
|
+
client: {
|
|
1512
|
+
name: string;
|
|
1509
1513
|
createdAt: string | Date;
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1514
|
+
updatedAt: string | Date;
|
|
1515
|
+
id: string;
|
|
1516
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1517
|
+
crn: string | null;
|
|
1518
|
+
govLink: string | null;
|
|
1519
|
+
soleTrader: boolean;
|
|
1520
|
+
director: string;
|
|
1521
|
+
blacklistReason?: string | null | undefined;
|
|
1522
|
+
lastUpdatedBy?: {
|
|
1523
|
+
email: string;
|
|
1524
|
+
id: string;
|
|
1525
|
+
lastName: string;
|
|
1526
|
+
firstName: string;
|
|
1527
|
+
} | null | undefined;
|
|
1528
|
+
agentClientLinks?: {
|
|
1529
|
+
agentId: string;
|
|
1530
|
+
} | null | undefined;
|
|
1531
|
+
};
|
|
1532
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1533
|
+
creator: {
|
|
1534
|
+
email: string;
|
|
1535
|
+
createdAt: string | Date;
|
|
1536
|
+
updatedAt: string | Date;
|
|
1537
|
+
id: string;
|
|
1538
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1539
|
+
lastName: string;
|
|
1540
|
+
firstName: string;
|
|
1541
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1542
|
+
officeId?: string | null | undefined;
|
|
1543
|
+
office?: {
|
|
1517
1544
|
name: string;
|
|
1545
|
+
id: string;
|
|
1518
1546
|
managers?: {
|
|
1519
1547
|
id: string;
|
|
1520
1548
|
lastName: string;
|
|
@@ -1532,25 +1560,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1532
1560
|
lastName: string;
|
|
1533
1561
|
firstName: string;
|
|
1534
1562
|
}[] | undefined;
|
|
1563
|
+
dialpadUserId?: string | null | undefined;
|
|
1535
1564
|
deletedAt?: string | Date | null | undefined;
|
|
1536
1565
|
};
|
|
1537
|
-
reviewedAt?: string | Date | null | undefined;
|
|
1538
1566
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1539
1567
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1540
1568
|
reviewedBy?: string | null | undefined;
|
|
1541
1569
|
reviewer?: {
|
|
1542
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1543
|
-
id: string;
|
|
1544
|
-
updatedAt: string | Date;
|
|
1545
|
-
createdAt: string | Date;
|
|
1546
1570
|
email: string;
|
|
1571
|
+
createdAt: string | Date;
|
|
1572
|
+
updatedAt: string | Date;
|
|
1573
|
+
id: string;
|
|
1574
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1547
1575
|
lastName: string;
|
|
1548
1576
|
firstName: string;
|
|
1549
1577
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1550
1578
|
officeId?: string | null | undefined;
|
|
1551
1579
|
office?: {
|
|
1552
|
-
id: string;
|
|
1553
1580
|
name: string;
|
|
1581
|
+
id: string;
|
|
1554
1582
|
managers?: {
|
|
1555
1583
|
id: string;
|
|
1556
1584
|
lastName: string;
|
|
@@ -1568,8 +1596,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1568
1596
|
lastName: string;
|
|
1569
1597
|
firstName: string;
|
|
1570
1598
|
}[] | undefined;
|
|
1599
|
+
dialpadUserId?: string | null | undefined;
|
|
1571
1600
|
deletedAt?: string | Date | null | undefined;
|
|
1572
1601
|
} | null | undefined;
|
|
1602
|
+
reviewedAt?: string | Date | null | undefined;
|
|
1573
1603
|
}>, "many">;
|
|
1574
1604
|
totalCount: z.ZodNumber;
|
|
1575
1605
|
limit: z.ZodNumber;
|
|
@@ -1579,41 +1609,18 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1579
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1580
1610
|
limit: number;
|
|
1581
1611
|
items: {
|
|
1582
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1583
|
-
id: string;
|
|
1584
|
-
updatedAt: string;
|
|
1585
1612
|
createdAt: string;
|
|
1586
|
-
|
|
1587
|
-
client: {
|
|
1588
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1589
|
-
id: string;
|
|
1590
|
-
name: string;
|
|
1591
|
-
updatedAt: string;
|
|
1592
|
-
createdAt: string;
|
|
1593
|
-
crn: string | null;
|
|
1594
|
-
govLink: string | null;
|
|
1595
|
-
director: string;
|
|
1596
|
-
soleTrader: boolean;
|
|
1597
|
-
blacklistReason?: string | null | undefined;
|
|
1598
|
-
agentClientLinks?: {
|
|
1599
|
-
agentId: string;
|
|
1600
|
-
} | null | undefined;
|
|
1601
|
-
lastUpdatedBy?: {
|
|
1602
|
-
id: string;
|
|
1603
|
-
email: string;
|
|
1604
|
-
lastName: string;
|
|
1605
|
-
firstName: string;
|
|
1606
|
-
} | null | undefined;
|
|
1607
|
-
};
|
|
1608
|
-
agentId: string;
|
|
1609
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1613
|
+
updatedAt: string;
|
|
1610
1614
|
createdBy: string;
|
|
1615
|
+
id: string;
|
|
1616
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
1617
|
+
agentId: string;
|
|
1611
1618
|
agent: {
|
|
1612
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1613
|
-
id: string;
|
|
1614
|
-
updatedAt: string;
|
|
1615
|
-
createdAt: string;
|
|
1616
1619
|
email: string;
|
|
1620
|
+
createdAt: string;
|
|
1621
|
+
updatedAt: string;
|
|
1622
|
+
id: string;
|
|
1623
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1617
1624
|
lastName: string;
|
|
1618
1625
|
firstName: string;
|
|
1619
1626
|
phoneNumbers: {
|
|
@@ -1625,8 +1632,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1625
1632
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1626
1633
|
officeId?: string | null | undefined;
|
|
1627
1634
|
office?: {
|
|
1628
|
-
id: string;
|
|
1629
1635
|
name: string;
|
|
1636
|
+
id: string;
|
|
1630
1637
|
managers?: {
|
|
1631
1638
|
id: string;
|
|
1632
1639
|
lastName: string;
|
|
@@ -1638,14 +1645,38 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1638
1645
|
lastName: string;
|
|
1639
1646
|
firstName: string;
|
|
1640
1647
|
}[] | undefined;
|
|
1648
|
+
dialpadUserId?: string | null | undefined;
|
|
1641
1649
|
deletedAt?: string | null | undefined;
|
|
1642
1650
|
};
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
updatedAt: string;
|
|
1651
|
+
clientId: string;
|
|
1652
|
+
client: {
|
|
1653
|
+
name: string;
|
|
1647
1654
|
createdAt: string;
|
|
1655
|
+
updatedAt: string;
|
|
1656
|
+
id: string;
|
|
1657
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1658
|
+
crn: string | null;
|
|
1659
|
+
govLink: string | null;
|
|
1660
|
+
soleTrader: boolean;
|
|
1661
|
+
director: string;
|
|
1662
|
+
blacklistReason?: string | null | undefined;
|
|
1663
|
+
lastUpdatedBy?: {
|
|
1664
|
+
email: string;
|
|
1665
|
+
id: string;
|
|
1666
|
+
lastName: string;
|
|
1667
|
+
firstName: string;
|
|
1668
|
+
} | null | undefined;
|
|
1669
|
+
agentClientLinks?: {
|
|
1670
|
+
agentId: string;
|
|
1671
|
+
} | null | undefined;
|
|
1672
|
+
};
|
|
1673
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1674
|
+
creator: {
|
|
1648
1675
|
email: string;
|
|
1676
|
+
createdAt: string;
|
|
1677
|
+
updatedAt: string;
|
|
1678
|
+
id: string;
|
|
1679
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1649
1680
|
lastName: string;
|
|
1650
1681
|
firstName: string;
|
|
1651
1682
|
phoneNumbers: {
|
|
@@ -1657,8 +1688,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1657
1688
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1658
1689
|
officeId?: string | null | undefined;
|
|
1659
1690
|
office?: {
|
|
1660
|
-
id: string;
|
|
1661
1691
|
name: string;
|
|
1692
|
+
id: string;
|
|
1662
1693
|
managers?: {
|
|
1663
1694
|
id: string;
|
|
1664
1695
|
lastName: string;
|
|
@@ -1670,18 +1701,18 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1670
1701
|
lastName: string;
|
|
1671
1702
|
firstName: string;
|
|
1672
1703
|
}[] | undefined;
|
|
1704
|
+
dialpadUserId?: string | null | undefined;
|
|
1673
1705
|
deletedAt?: string | null | undefined;
|
|
1674
1706
|
};
|
|
1675
|
-
reviewedAt?: string | null | undefined;
|
|
1676
1707
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1677
1708
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1678
1709
|
reviewedBy?: string | null | undefined;
|
|
1679
1710
|
reviewer?: {
|
|
1680
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1681
|
-
id: string;
|
|
1682
|
-
updatedAt: string;
|
|
1683
|
-
createdAt: string;
|
|
1684
1711
|
email: string;
|
|
1712
|
+
createdAt: string;
|
|
1713
|
+
updatedAt: string;
|
|
1714
|
+
id: string;
|
|
1715
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1685
1716
|
lastName: string;
|
|
1686
1717
|
firstName: string;
|
|
1687
1718
|
phoneNumbers: {
|
|
@@ -1693,8 +1724,8 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1693
1724
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1694
1725
|
officeId?: string | null | undefined;
|
|
1695
1726
|
office?: {
|
|
1696
|
-
id: string;
|
|
1697
1727
|
name: string;
|
|
1728
|
+
id: string;
|
|
1698
1729
|
managers?: {
|
|
1699
1730
|
id: string;
|
|
1700
1731
|
lastName: string;
|
|
@@ -1706,8 +1737,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1706
1737
|
lastName: string;
|
|
1707
1738
|
firstName: string;
|
|
1708
1739
|
}[] | undefined;
|
|
1740
|
+
dialpadUserId?: string | null | undefined;
|
|
1709
1741
|
deletedAt?: string | null | undefined;
|
|
1710
1742
|
} | null | undefined;
|
|
1743
|
+
reviewedAt?: string | null | undefined;
|
|
1711
1744
|
}[];
|
|
1712
1745
|
totalCount: number;
|
|
1713
1746
|
skip: number;
|
|
@@ -1716,48 +1749,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1716
1749
|
}, {
|
|
1717
1750
|
limit: number;
|
|
1718
1751
|
items: {
|
|
1719
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
1720
|
-
id: string;
|
|
1721
|
-
updatedAt: string | Date;
|
|
1722
1752
|
createdAt: string | Date;
|
|
1723
|
-
|
|
1724
|
-
client: {
|
|
1725
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1726
|
-
id: string;
|
|
1727
|
-
name: string;
|
|
1728
|
-
updatedAt: string | Date;
|
|
1729
|
-
createdAt: string | Date;
|
|
1730
|
-
crn: string | null;
|
|
1731
|
-
govLink: string | null;
|
|
1732
|
-
director: string;
|
|
1733
|
-
soleTrader: boolean;
|
|
1734
|
-
blacklistReason?: string | null | undefined;
|
|
1735
|
-
agentClientLinks?: {
|
|
1736
|
-
agentId: string;
|
|
1737
|
-
} | null | undefined;
|
|
1738
|
-
lastUpdatedBy?: {
|
|
1739
|
-
id: string;
|
|
1740
|
-
email: string;
|
|
1741
|
-
lastName: string;
|
|
1742
|
-
firstName: string;
|
|
1743
|
-
} | null | undefined;
|
|
1744
|
-
};
|
|
1745
|
-
agentId: string;
|
|
1746
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1753
|
+
updatedAt: string | Date;
|
|
1747
1754
|
createdBy: string;
|
|
1755
|
+
id: string;
|
|
1756
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
1757
|
+
agentId: string;
|
|
1748
1758
|
agent: {
|
|
1749
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1750
|
-
id: string;
|
|
1751
|
-
updatedAt: string | Date;
|
|
1752
|
-
createdAt: string | Date;
|
|
1753
1759
|
email: string;
|
|
1760
|
+
createdAt: string | Date;
|
|
1761
|
+
updatedAt: string | Date;
|
|
1762
|
+
id: string;
|
|
1763
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1754
1764
|
lastName: string;
|
|
1755
1765
|
firstName: string;
|
|
1756
1766
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1757
1767
|
officeId?: string | null | undefined;
|
|
1758
1768
|
office?: {
|
|
1759
|
-
id: string;
|
|
1760
1769
|
name: string;
|
|
1770
|
+
id: string;
|
|
1761
1771
|
managers?: {
|
|
1762
1772
|
id: string;
|
|
1763
1773
|
lastName: string;
|
|
@@ -1775,21 +1785,45 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1775
1785
|
lastName: string;
|
|
1776
1786
|
firstName: string;
|
|
1777
1787
|
}[] | undefined;
|
|
1788
|
+
dialpadUserId?: string | null | undefined;
|
|
1778
1789
|
deletedAt?: string | Date | null | undefined;
|
|
1779
1790
|
};
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
updatedAt: string | Date;
|
|
1791
|
+
clientId: string;
|
|
1792
|
+
client: {
|
|
1793
|
+
name: string;
|
|
1784
1794
|
createdAt: string | Date;
|
|
1795
|
+
updatedAt: string | Date;
|
|
1796
|
+
id: string;
|
|
1797
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1798
|
+
crn: string | null;
|
|
1799
|
+
govLink: string | null;
|
|
1800
|
+
soleTrader: boolean;
|
|
1801
|
+
director: string;
|
|
1802
|
+
blacklistReason?: string | null | undefined;
|
|
1803
|
+
lastUpdatedBy?: {
|
|
1804
|
+
email: string;
|
|
1805
|
+
id: string;
|
|
1806
|
+
lastName: string;
|
|
1807
|
+
firstName: string;
|
|
1808
|
+
} | null | undefined;
|
|
1809
|
+
agentClientLinks?: {
|
|
1810
|
+
agentId: string;
|
|
1811
|
+
} | null | undefined;
|
|
1812
|
+
};
|
|
1813
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1814
|
+
creator: {
|
|
1785
1815
|
email: string;
|
|
1816
|
+
createdAt: string | Date;
|
|
1817
|
+
updatedAt: string | Date;
|
|
1818
|
+
id: string;
|
|
1819
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1786
1820
|
lastName: string;
|
|
1787
1821
|
firstName: string;
|
|
1788
1822
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1789
1823
|
officeId?: string | null | undefined;
|
|
1790
1824
|
office?: {
|
|
1791
|
-
id: string;
|
|
1792
1825
|
name: string;
|
|
1826
|
+
id: string;
|
|
1793
1827
|
managers?: {
|
|
1794
1828
|
id: string;
|
|
1795
1829
|
lastName: string;
|
|
@@ -1807,25 +1841,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1807
1841
|
lastName: string;
|
|
1808
1842
|
firstName: string;
|
|
1809
1843
|
}[] | undefined;
|
|
1844
|
+
dialpadUserId?: string | null | undefined;
|
|
1810
1845
|
deletedAt?: string | Date | null | undefined;
|
|
1811
1846
|
};
|
|
1812
|
-
reviewedAt?: string | Date | null | undefined;
|
|
1813
1847
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1814
1848
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1815
1849
|
reviewedBy?: string | null | undefined;
|
|
1816
1850
|
reviewer?: {
|
|
1817
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1818
|
-
id: string;
|
|
1819
|
-
updatedAt: string | Date;
|
|
1820
|
-
createdAt: string | Date;
|
|
1821
1851
|
email: string;
|
|
1852
|
+
createdAt: string | Date;
|
|
1853
|
+
updatedAt: string | Date;
|
|
1854
|
+
id: string;
|
|
1855
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1822
1856
|
lastName: string;
|
|
1823
1857
|
firstName: string;
|
|
1824
1858
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1825
1859
|
officeId?: string | null | undefined;
|
|
1826
1860
|
office?: {
|
|
1827
|
-
id: string;
|
|
1828
1861
|
name: string;
|
|
1862
|
+
id: string;
|
|
1829
1863
|
managers?: {
|
|
1830
1864
|
id: string;
|
|
1831
1865
|
lastName: string;
|
|
@@ -1843,8 +1877,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
1843
1877
|
lastName: string;
|
|
1844
1878
|
firstName: string;
|
|
1845
1879
|
}[] | undefined;
|
|
1880
|
+
dialpadUserId?: string | null | undefined;
|
|
1846
1881
|
deletedAt?: string | Date | null | undefined;
|
|
1847
1882
|
} | null | undefined;
|
|
1883
|
+
reviewedAt?: string | Date | null | undefined;
|
|
1848
1884
|
}[];
|
|
1849
1885
|
totalCount: number;
|
|
1850
1886
|
skip: number;
|
|
@@ -1859,6 +1895,9 @@ export type ApplyChanges = z.infer<typeof ApplyChangesSchema>;
|
|
|
1859
1895
|
export type PaginatedAgentClientLinkResponse = z.infer<typeof PaginatedAgentClientLinkResponseSchema>;
|
|
1860
1896
|
export declare const agentClientLinksContract: {
|
|
1861
1897
|
findAll: {
|
|
1898
|
+
metadata: {
|
|
1899
|
+
tags: string[];
|
|
1900
|
+
};
|
|
1862
1901
|
query: z.ZodObject<{
|
|
1863
1902
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1864
1903
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1874,23 +1913,20 @@ export declare const agentClientLinksContract: {
|
|
|
1874
1913
|
limit: number;
|
|
1875
1914
|
sortBy: "createdAt";
|
|
1876
1915
|
sortOrder: "ASC" | "DESC";
|
|
1877
|
-
status?: "
|
|
1878
|
-
clientId?: string | undefined;
|
|
1916
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
1879
1917
|
agentId?: string | undefined;
|
|
1918
|
+
clientId?: string | undefined;
|
|
1880
1919
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
1881
1920
|
}, {
|
|
1882
|
-
status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
|
|
1883
1921
|
page?: number | undefined;
|
|
1884
1922
|
limit?: number | undefined;
|
|
1885
|
-
|
|
1923
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
1886
1924
|
agentId?: string | undefined;
|
|
1887
|
-
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
1888
1925
|
sortBy?: "createdAt" | undefined;
|
|
1889
1926
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1927
|
+
clientId?: string | undefined;
|
|
1928
|
+
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
1890
1929
|
}>;
|
|
1891
|
-
metadata: {
|
|
1892
|
-
tags: string[];
|
|
1893
|
-
};
|
|
1894
1930
|
summary: "Get all agent-client links";
|
|
1895
1931
|
method: "GET";
|
|
1896
1932
|
path: "/v2/agent-client-links";
|
|
@@ -1920,7 +1956,7 @@ export declare const agentClientLinksContract: {
|
|
|
1920
1956
|
details?: unknown;
|
|
1921
1957
|
correlationId?: string | undefined;
|
|
1922
1958
|
}>;
|
|
1923
|
-
|
|
1959
|
+
403: z.ZodObject<{
|
|
1924
1960
|
statusCode: z.ZodNumber;
|
|
1925
1961
|
message: z.ZodString;
|
|
1926
1962
|
code: z.ZodString;
|
|
@@ -1945,7 +1981,7 @@ export declare const agentClientLinksContract: {
|
|
|
1945
1981
|
details?: unknown;
|
|
1946
1982
|
correlationId?: string | undefined;
|
|
1947
1983
|
}>;
|
|
1948
|
-
|
|
1984
|
+
401: z.ZodObject<{
|
|
1949
1985
|
statusCode: z.ZodNumber;
|
|
1950
1986
|
message: z.ZodString;
|
|
1951
1987
|
code: z.ZodString;
|
|
@@ -2014,13 +2050,13 @@ export declare const agentClientLinksContract: {
|
|
|
2014
2050
|
lastName: z.ZodString;
|
|
2015
2051
|
email: z.ZodString;
|
|
2016
2052
|
}, "strip", z.ZodTypeAny, {
|
|
2017
|
-
id: string;
|
|
2018
2053
|
email: string;
|
|
2054
|
+
id: string;
|
|
2019
2055
|
lastName: string;
|
|
2020
2056
|
firstName: string;
|
|
2021
2057
|
}, {
|
|
2022
|
-
id: string;
|
|
2023
2058
|
email: string;
|
|
2059
|
+
id: string;
|
|
2024
2060
|
lastName: string;
|
|
2025
2061
|
firstName: string;
|
|
2026
2062
|
}>>>;
|
|
@@ -2034,45 +2070,45 @@ export declare const agentClientLinksContract: {
|
|
|
2034
2070
|
agentId: string;
|
|
2035
2071
|
}>>>;
|
|
2036
2072
|
}, "strip", z.ZodTypeAny, {
|
|
2037
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2038
|
-
id: string;
|
|
2039
2073
|
name: string;
|
|
2040
|
-
updatedAt: string;
|
|
2041
2074
|
createdAt: string;
|
|
2075
|
+
updatedAt: string;
|
|
2076
|
+
id: string;
|
|
2077
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2042
2078
|
crn: string | null;
|
|
2043
2079
|
govLink: string | null;
|
|
2044
|
-
director: string;
|
|
2045
2080
|
soleTrader: boolean;
|
|
2081
|
+
director: string;
|
|
2046
2082
|
blacklistReason?: string | null | undefined;
|
|
2047
|
-
agentClientLinks?: {
|
|
2048
|
-
agentId: string;
|
|
2049
|
-
} | null | undefined;
|
|
2050
2083
|
lastUpdatedBy?: {
|
|
2051
|
-
id: string;
|
|
2052
2084
|
email: string;
|
|
2085
|
+
id: string;
|
|
2053
2086
|
lastName: string;
|
|
2054
2087
|
firstName: string;
|
|
2055
2088
|
} | null | undefined;
|
|
2089
|
+
agentClientLinks?: {
|
|
2090
|
+
agentId: string;
|
|
2091
|
+
} | null | undefined;
|
|
2056
2092
|
}, {
|
|
2057
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2058
|
-
id: string;
|
|
2059
2093
|
name: string;
|
|
2060
|
-
updatedAt: string | Date;
|
|
2061
2094
|
createdAt: string | Date;
|
|
2095
|
+
updatedAt: string | Date;
|
|
2096
|
+
id: string;
|
|
2097
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2062
2098
|
crn: string | null;
|
|
2063
2099
|
govLink: string | null;
|
|
2064
|
-
director: string;
|
|
2065
2100
|
soleTrader: boolean;
|
|
2101
|
+
director: string;
|
|
2066
2102
|
blacklistReason?: string | null | undefined;
|
|
2067
|
-
agentClientLinks?: {
|
|
2068
|
-
agentId: string;
|
|
2069
|
-
} | null | undefined;
|
|
2070
2103
|
lastUpdatedBy?: {
|
|
2071
|
-
id: string;
|
|
2072
2104
|
email: string;
|
|
2105
|
+
id: string;
|
|
2073
2106
|
lastName: string;
|
|
2074
2107
|
firstName: string;
|
|
2075
2108
|
} | null | undefined;
|
|
2109
|
+
agentClientLinks?: {
|
|
2110
|
+
agentId: string;
|
|
2111
|
+
} | null | undefined;
|
|
2076
2112
|
}>;
|
|
2077
2113
|
agentId: z.ZodString;
|
|
2078
2114
|
agent: z.ZodObject<{
|
|
@@ -2115,16 +2151,16 @@ export declare const agentClientLinksContract: {
|
|
|
2115
2151
|
firstName: string;
|
|
2116
2152
|
}>, "many">>;
|
|
2117
2153
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
-
id: string;
|
|
2119
2154
|
name: string;
|
|
2155
|
+
id: string;
|
|
2120
2156
|
managers?: {
|
|
2121
2157
|
id: string;
|
|
2122
2158
|
lastName: string;
|
|
2123
2159
|
firstName: string;
|
|
2124
2160
|
}[] | undefined;
|
|
2125
2161
|
}, {
|
|
2126
|
-
id: string;
|
|
2127
2162
|
name: string;
|
|
2163
|
+
id: string;
|
|
2128
2164
|
managers?: {
|
|
2129
2165
|
id: string;
|
|
2130
2166
|
lastName: string;
|
|
@@ -2145,15 +2181,16 @@ export declare const agentClientLinksContract: {
|
|
|
2145
2181
|
firstName: string;
|
|
2146
2182
|
}>, "many">>;
|
|
2147
2183
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2184
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
2148
2185
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2149
2186
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2150
2187
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2151
2188
|
}, "strip", z.ZodTypeAny, {
|
|
2152
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2153
|
-
id: string;
|
|
2154
|
-
updatedAt: string;
|
|
2155
|
-
createdAt: string;
|
|
2156
2189
|
email: string;
|
|
2190
|
+
createdAt: string;
|
|
2191
|
+
updatedAt: string;
|
|
2192
|
+
id: string;
|
|
2193
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2157
2194
|
lastName: string;
|
|
2158
2195
|
firstName: string;
|
|
2159
2196
|
phoneNumbers: {
|
|
@@ -2165,8 +2202,8 @@ export declare const agentClientLinksContract: {
|
|
|
2165
2202
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2166
2203
|
officeId?: string | null | undefined;
|
|
2167
2204
|
office?: {
|
|
2168
|
-
id: string;
|
|
2169
2205
|
name: string;
|
|
2206
|
+
id: string;
|
|
2170
2207
|
managers?: {
|
|
2171
2208
|
id: string;
|
|
2172
2209
|
lastName: string;
|
|
@@ -2178,20 +2215,21 @@ export declare const agentClientLinksContract: {
|
|
|
2178
2215
|
lastName: string;
|
|
2179
2216
|
firstName: string;
|
|
2180
2217
|
}[] | undefined;
|
|
2218
|
+
dialpadUserId?: string | null | undefined;
|
|
2181
2219
|
deletedAt?: string | null | undefined;
|
|
2182
2220
|
}, {
|
|
2183
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2184
|
-
id: string;
|
|
2185
|
-
updatedAt: string | Date;
|
|
2186
|
-
createdAt: string | Date;
|
|
2187
2221
|
email: string;
|
|
2222
|
+
createdAt: string | Date;
|
|
2223
|
+
updatedAt: string | Date;
|
|
2224
|
+
id: string;
|
|
2225
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2188
2226
|
lastName: string;
|
|
2189
2227
|
firstName: string;
|
|
2190
2228
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2191
2229
|
officeId?: string | null | undefined;
|
|
2192
2230
|
office?: {
|
|
2193
|
-
id: string;
|
|
2194
2231
|
name: string;
|
|
2232
|
+
id: string;
|
|
2195
2233
|
managers?: {
|
|
2196
2234
|
id: string;
|
|
2197
2235
|
lastName: string;
|
|
@@ -2209,6 +2247,7 @@ export declare const agentClientLinksContract: {
|
|
|
2209
2247
|
lastName: string;
|
|
2210
2248
|
firstName: string;
|
|
2211
2249
|
}[] | undefined;
|
|
2250
|
+
dialpadUserId?: string | null | undefined;
|
|
2212
2251
|
deletedAt?: string | Date | null | undefined;
|
|
2213
2252
|
}>;
|
|
2214
2253
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -2256,16 +2295,16 @@ export declare const agentClientLinksContract: {
|
|
|
2256
2295
|
firstName: string;
|
|
2257
2296
|
}>, "many">>;
|
|
2258
2297
|
}, "strip", z.ZodTypeAny, {
|
|
2259
|
-
id: string;
|
|
2260
2298
|
name: string;
|
|
2299
|
+
id: string;
|
|
2261
2300
|
managers?: {
|
|
2262
2301
|
id: string;
|
|
2263
2302
|
lastName: string;
|
|
2264
2303
|
firstName: string;
|
|
2265
2304
|
}[] | undefined;
|
|
2266
2305
|
}, {
|
|
2267
|
-
id: string;
|
|
2268
2306
|
name: string;
|
|
2307
|
+
id: string;
|
|
2269
2308
|
managers?: {
|
|
2270
2309
|
id: string;
|
|
2271
2310
|
lastName: string;
|
|
@@ -2286,15 +2325,16 @@ export declare const agentClientLinksContract: {
|
|
|
2286
2325
|
firstName: string;
|
|
2287
2326
|
}>, "many">>;
|
|
2288
2327
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2328
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
2289
2329
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2290
2330
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2291
2331
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2292
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2293
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2294
|
-
id: string;
|
|
2295
|
-
updatedAt: string;
|
|
2296
|
-
createdAt: string;
|
|
2297
2333
|
email: string;
|
|
2334
|
+
createdAt: string;
|
|
2335
|
+
updatedAt: string;
|
|
2336
|
+
id: string;
|
|
2337
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2298
2338
|
lastName: string;
|
|
2299
2339
|
firstName: string;
|
|
2300
2340
|
phoneNumbers: {
|
|
@@ -2306,8 +2346,8 @@ export declare const agentClientLinksContract: {
|
|
|
2306
2346
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2307
2347
|
officeId?: string | null | undefined;
|
|
2308
2348
|
office?: {
|
|
2309
|
-
id: string;
|
|
2310
2349
|
name: string;
|
|
2350
|
+
id: string;
|
|
2311
2351
|
managers?: {
|
|
2312
2352
|
id: string;
|
|
2313
2353
|
lastName: string;
|
|
@@ -2319,20 +2359,21 @@ export declare const agentClientLinksContract: {
|
|
|
2319
2359
|
lastName: string;
|
|
2320
2360
|
firstName: string;
|
|
2321
2361
|
}[] | undefined;
|
|
2362
|
+
dialpadUserId?: string | null | undefined;
|
|
2322
2363
|
deletedAt?: string | null | undefined;
|
|
2323
2364
|
}, {
|
|
2324
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2325
|
-
id: string;
|
|
2326
|
-
updatedAt: string | Date;
|
|
2327
|
-
createdAt: string | Date;
|
|
2328
2365
|
email: string;
|
|
2366
|
+
createdAt: string | Date;
|
|
2367
|
+
updatedAt: string | Date;
|
|
2368
|
+
id: string;
|
|
2369
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2329
2370
|
lastName: string;
|
|
2330
2371
|
firstName: string;
|
|
2331
2372
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2332
2373
|
officeId?: string | null | undefined;
|
|
2333
2374
|
office?: {
|
|
2334
|
-
id: string;
|
|
2335
2375
|
name: string;
|
|
2376
|
+
id: string;
|
|
2336
2377
|
managers?: {
|
|
2337
2378
|
id: string;
|
|
2338
2379
|
lastName: string;
|
|
@@ -2350,6 +2391,7 @@ export declare const agentClientLinksContract: {
|
|
|
2350
2391
|
lastName: string;
|
|
2351
2392
|
firstName: string;
|
|
2352
2393
|
}[] | undefined;
|
|
2394
|
+
dialpadUserId?: string | null | undefined;
|
|
2353
2395
|
deletedAt?: string | Date | null | undefined;
|
|
2354
2396
|
}>>>;
|
|
2355
2397
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -2394,16 +2436,16 @@ export declare const agentClientLinksContract: {
|
|
|
2394
2436
|
firstName: string;
|
|
2395
2437
|
}>, "many">>;
|
|
2396
2438
|
}, "strip", z.ZodTypeAny, {
|
|
2397
|
-
id: string;
|
|
2398
2439
|
name: string;
|
|
2440
|
+
id: string;
|
|
2399
2441
|
managers?: {
|
|
2400
2442
|
id: string;
|
|
2401
2443
|
lastName: string;
|
|
2402
2444
|
firstName: string;
|
|
2403
2445
|
}[] | undefined;
|
|
2404
2446
|
}, {
|
|
2405
|
-
id: string;
|
|
2406
2447
|
name: string;
|
|
2448
|
+
id: string;
|
|
2407
2449
|
managers?: {
|
|
2408
2450
|
id: string;
|
|
2409
2451
|
lastName: string;
|
|
@@ -2424,15 +2466,16 @@ export declare const agentClientLinksContract: {
|
|
|
2424
2466
|
firstName: string;
|
|
2425
2467
|
}>, "many">>;
|
|
2426
2468
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2469
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
2427
2470
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2428
2471
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2429
2472
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2430
2473
|
}, "strip", z.ZodTypeAny, {
|
|
2431
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2432
|
-
id: string;
|
|
2433
|
-
updatedAt: string;
|
|
2434
|
-
createdAt: string;
|
|
2435
2474
|
email: string;
|
|
2475
|
+
createdAt: string;
|
|
2476
|
+
updatedAt: string;
|
|
2477
|
+
id: string;
|
|
2478
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2436
2479
|
lastName: string;
|
|
2437
2480
|
firstName: string;
|
|
2438
2481
|
phoneNumbers: {
|
|
@@ -2444,8 +2487,8 @@ export declare const agentClientLinksContract: {
|
|
|
2444
2487
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2445
2488
|
officeId?: string | null | undefined;
|
|
2446
2489
|
office?: {
|
|
2447
|
-
id: string;
|
|
2448
2490
|
name: string;
|
|
2491
|
+
id: string;
|
|
2449
2492
|
managers?: {
|
|
2450
2493
|
id: string;
|
|
2451
2494
|
lastName: string;
|
|
@@ -2457,20 +2500,21 @@ export declare const agentClientLinksContract: {
|
|
|
2457
2500
|
lastName: string;
|
|
2458
2501
|
firstName: string;
|
|
2459
2502
|
}[] | undefined;
|
|
2503
|
+
dialpadUserId?: string | null | undefined;
|
|
2460
2504
|
deletedAt?: string | null | undefined;
|
|
2461
2505
|
}, {
|
|
2462
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2463
|
-
id: string;
|
|
2464
|
-
updatedAt: string | Date;
|
|
2465
|
-
createdAt: string | Date;
|
|
2466
2506
|
email: string;
|
|
2507
|
+
createdAt: string | Date;
|
|
2508
|
+
updatedAt: string | Date;
|
|
2509
|
+
id: string;
|
|
2510
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2467
2511
|
lastName: string;
|
|
2468
2512
|
firstName: string;
|
|
2469
2513
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2470
2514
|
officeId?: string | null | undefined;
|
|
2471
2515
|
office?: {
|
|
2472
|
-
id: string;
|
|
2473
2516
|
name: string;
|
|
2517
|
+
id: string;
|
|
2474
2518
|
managers?: {
|
|
2475
2519
|
id: string;
|
|
2476
2520
|
lastName: string;
|
|
@@ -2488,46 +2532,24 @@ export declare const agentClientLinksContract: {
|
|
|
2488
2532
|
lastName: string;
|
|
2489
2533
|
firstName: string;
|
|
2490
2534
|
}[] | undefined;
|
|
2535
|
+
dialpadUserId?: string | null | undefined;
|
|
2491
2536
|
deletedAt?: string | Date | null | undefined;
|
|
2492
2537
|
}>;
|
|
2493
2538
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2494
2539
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2495
2540
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2497
|
-
id: string;
|
|
2498
|
-
updatedAt: string;
|
|
2499
2541
|
createdAt: string;
|
|
2500
|
-
|
|
2501
|
-
client: {
|
|
2502
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2503
|
-
id: string;
|
|
2504
|
-
name: string;
|
|
2505
|
-
updatedAt: string;
|
|
2506
|
-
createdAt: string;
|
|
2507
|
-
crn: string | null;
|
|
2508
|
-
govLink: string | null;
|
|
2509
|
-
director: string;
|
|
2510
|
-
soleTrader: boolean;
|
|
2511
|
-
blacklistReason?: string | null | undefined;
|
|
2512
|
-
agentClientLinks?: {
|
|
2513
|
-
agentId: string;
|
|
2514
|
-
} | null | undefined;
|
|
2515
|
-
lastUpdatedBy?: {
|
|
2516
|
-
id: string;
|
|
2517
|
-
email: string;
|
|
2518
|
-
lastName: string;
|
|
2519
|
-
firstName: string;
|
|
2520
|
-
} | null | undefined;
|
|
2521
|
-
};
|
|
2522
|
-
agentId: string;
|
|
2523
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2542
|
+
updatedAt: string;
|
|
2524
2543
|
createdBy: string;
|
|
2544
|
+
id: string;
|
|
2545
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
2546
|
+
agentId: string;
|
|
2525
2547
|
agent: {
|
|
2526
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2527
|
-
id: string;
|
|
2528
|
-
updatedAt: string;
|
|
2529
|
-
createdAt: string;
|
|
2530
2548
|
email: string;
|
|
2549
|
+
createdAt: string;
|
|
2550
|
+
updatedAt: string;
|
|
2551
|
+
id: string;
|
|
2552
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2531
2553
|
lastName: string;
|
|
2532
2554
|
firstName: string;
|
|
2533
2555
|
phoneNumbers: {
|
|
@@ -2539,8 +2561,8 @@ export declare const agentClientLinksContract: {
|
|
|
2539
2561
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2540
2562
|
officeId?: string | null | undefined;
|
|
2541
2563
|
office?: {
|
|
2542
|
-
id: string;
|
|
2543
2564
|
name: string;
|
|
2565
|
+
id: string;
|
|
2544
2566
|
managers?: {
|
|
2545
2567
|
id: string;
|
|
2546
2568
|
lastName: string;
|
|
@@ -2552,14 +2574,38 @@ export declare const agentClientLinksContract: {
|
|
|
2552
2574
|
lastName: string;
|
|
2553
2575
|
firstName: string;
|
|
2554
2576
|
}[] | undefined;
|
|
2577
|
+
dialpadUserId?: string | null | undefined;
|
|
2555
2578
|
deletedAt?: string | null | undefined;
|
|
2556
2579
|
};
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
updatedAt: string;
|
|
2580
|
+
clientId: string;
|
|
2581
|
+
client: {
|
|
2582
|
+
name: string;
|
|
2561
2583
|
createdAt: string;
|
|
2584
|
+
updatedAt: string;
|
|
2585
|
+
id: string;
|
|
2586
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2587
|
+
crn: string | null;
|
|
2588
|
+
govLink: string | null;
|
|
2589
|
+
soleTrader: boolean;
|
|
2590
|
+
director: string;
|
|
2591
|
+
blacklistReason?: string | null | undefined;
|
|
2592
|
+
lastUpdatedBy?: {
|
|
2593
|
+
email: string;
|
|
2594
|
+
id: string;
|
|
2595
|
+
lastName: string;
|
|
2596
|
+
firstName: string;
|
|
2597
|
+
} | null | undefined;
|
|
2598
|
+
agentClientLinks?: {
|
|
2599
|
+
agentId: string;
|
|
2600
|
+
} | null | undefined;
|
|
2601
|
+
};
|
|
2602
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2603
|
+
creator: {
|
|
2562
2604
|
email: string;
|
|
2605
|
+
createdAt: string;
|
|
2606
|
+
updatedAt: string;
|
|
2607
|
+
id: string;
|
|
2608
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2563
2609
|
lastName: string;
|
|
2564
2610
|
firstName: string;
|
|
2565
2611
|
phoneNumbers: {
|
|
@@ -2571,8 +2617,8 @@ export declare const agentClientLinksContract: {
|
|
|
2571
2617
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2572
2618
|
officeId?: string | null | undefined;
|
|
2573
2619
|
office?: {
|
|
2574
|
-
id: string;
|
|
2575
2620
|
name: string;
|
|
2621
|
+
id: string;
|
|
2576
2622
|
managers?: {
|
|
2577
2623
|
id: string;
|
|
2578
2624
|
lastName: string;
|
|
@@ -2584,18 +2630,18 @@ export declare const agentClientLinksContract: {
|
|
|
2584
2630
|
lastName: string;
|
|
2585
2631
|
firstName: string;
|
|
2586
2632
|
}[] | undefined;
|
|
2633
|
+
dialpadUserId?: string | null | undefined;
|
|
2587
2634
|
deletedAt?: string | null | undefined;
|
|
2588
2635
|
};
|
|
2589
|
-
reviewedAt?: string | null | undefined;
|
|
2590
2636
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
2591
2637
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
2592
2638
|
reviewedBy?: string | null | undefined;
|
|
2593
2639
|
reviewer?: {
|
|
2594
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2595
|
-
id: string;
|
|
2596
|
-
updatedAt: string;
|
|
2597
|
-
createdAt: string;
|
|
2598
2640
|
email: string;
|
|
2641
|
+
createdAt: string;
|
|
2642
|
+
updatedAt: string;
|
|
2643
|
+
id: string;
|
|
2644
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2599
2645
|
lastName: string;
|
|
2600
2646
|
firstName: string;
|
|
2601
2647
|
phoneNumbers: {
|
|
@@ -2607,8 +2653,8 @@ export declare const agentClientLinksContract: {
|
|
|
2607
2653
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2608
2654
|
officeId?: string | null | undefined;
|
|
2609
2655
|
office?: {
|
|
2610
|
-
id: string;
|
|
2611
2656
|
name: string;
|
|
2657
|
+
id: string;
|
|
2612
2658
|
managers?: {
|
|
2613
2659
|
id: string;
|
|
2614
2660
|
lastName: string;
|
|
@@ -2620,51 +2666,30 @@ export declare const agentClientLinksContract: {
|
|
|
2620
2666
|
lastName: string;
|
|
2621
2667
|
firstName: string;
|
|
2622
2668
|
}[] | undefined;
|
|
2669
|
+
dialpadUserId?: string | null | undefined;
|
|
2623
2670
|
deletedAt?: string | null | undefined;
|
|
2624
2671
|
} | null | undefined;
|
|
2672
|
+
reviewedAt?: string | null | undefined;
|
|
2625
2673
|
}, {
|
|
2626
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2627
|
-
id: string;
|
|
2628
|
-
updatedAt: string | Date;
|
|
2629
2674
|
createdAt: string | Date;
|
|
2630
|
-
|
|
2631
|
-
client: {
|
|
2632
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2633
|
-
id: string;
|
|
2634
|
-
name: string;
|
|
2635
|
-
updatedAt: string | Date;
|
|
2636
|
-
createdAt: string | Date;
|
|
2637
|
-
crn: string | null;
|
|
2638
|
-
govLink: string | null;
|
|
2639
|
-
director: string;
|
|
2640
|
-
soleTrader: boolean;
|
|
2641
|
-
blacklistReason?: string | null | undefined;
|
|
2642
|
-
agentClientLinks?: {
|
|
2643
|
-
agentId: string;
|
|
2644
|
-
} | null | undefined;
|
|
2645
|
-
lastUpdatedBy?: {
|
|
2646
|
-
id: string;
|
|
2647
|
-
email: string;
|
|
2648
|
-
lastName: string;
|
|
2649
|
-
firstName: string;
|
|
2650
|
-
} | null | undefined;
|
|
2651
|
-
};
|
|
2652
|
-
agentId: string;
|
|
2653
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2675
|
+
updatedAt: string | Date;
|
|
2654
2676
|
createdBy: string;
|
|
2677
|
+
id: string;
|
|
2678
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
2679
|
+
agentId: string;
|
|
2655
2680
|
agent: {
|
|
2656
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2657
|
-
id: string;
|
|
2658
|
-
updatedAt: string | Date;
|
|
2659
|
-
createdAt: string | Date;
|
|
2660
2681
|
email: string;
|
|
2682
|
+
createdAt: string | Date;
|
|
2683
|
+
updatedAt: string | Date;
|
|
2684
|
+
id: string;
|
|
2685
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2661
2686
|
lastName: string;
|
|
2662
2687
|
firstName: string;
|
|
2663
2688
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2664
2689
|
officeId?: string | null | undefined;
|
|
2665
2690
|
office?: {
|
|
2666
|
-
id: string;
|
|
2667
2691
|
name: string;
|
|
2692
|
+
id: string;
|
|
2668
2693
|
managers?: {
|
|
2669
2694
|
id: string;
|
|
2670
2695
|
lastName: string;
|
|
@@ -2681,22 +2706,46 @@ export declare const agentClientLinksContract: {
|
|
|
2681
2706
|
id: string;
|
|
2682
2707
|
lastName: string;
|
|
2683
2708
|
firstName: string;
|
|
2684
|
-
}[] | undefined;
|
|
2685
|
-
|
|
2709
|
+
}[] | undefined;
|
|
2710
|
+
dialpadUserId?: string | null | undefined;
|
|
2711
|
+
deletedAt?: string | Date | null | undefined;
|
|
2712
|
+
};
|
|
2713
|
+
clientId: string;
|
|
2714
|
+
client: {
|
|
2715
|
+
name: string;
|
|
2716
|
+
createdAt: string | Date;
|
|
2717
|
+
updatedAt: string | Date;
|
|
2718
|
+
id: string;
|
|
2719
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2720
|
+
crn: string | null;
|
|
2721
|
+
govLink: string | null;
|
|
2722
|
+
soleTrader: boolean;
|
|
2723
|
+
director: string;
|
|
2724
|
+
blacklistReason?: string | null | undefined;
|
|
2725
|
+
lastUpdatedBy?: {
|
|
2726
|
+
email: string;
|
|
2727
|
+
id: string;
|
|
2728
|
+
lastName: string;
|
|
2729
|
+
firstName: string;
|
|
2730
|
+
} | null | undefined;
|
|
2731
|
+
agentClientLinks?: {
|
|
2732
|
+
agentId: string;
|
|
2733
|
+
} | null | undefined;
|
|
2686
2734
|
};
|
|
2735
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2687
2736
|
creator: {
|
|
2688
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2689
|
-
id: string;
|
|
2690
|
-
updatedAt: string | Date;
|
|
2691
|
-
createdAt: string | Date;
|
|
2692
2737
|
email: string;
|
|
2738
|
+
createdAt: string | Date;
|
|
2739
|
+
updatedAt: string | Date;
|
|
2740
|
+
id: string;
|
|
2741
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2693
2742
|
lastName: string;
|
|
2694
2743
|
firstName: string;
|
|
2695
2744
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2696
2745
|
officeId?: string | null | undefined;
|
|
2697
2746
|
office?: {
|
|
2698
|
-
id: string;
|
|
2699
2747
|
name: string;
|
|
2748
|
+
id: string;
|
|
2700
2749
|
managers?: {
|
|
2701
2750
|
id: string;
|
|
2702
2751
|
lastName: string;
|
|
@@ -2714,25 +2763,25 @@ export declare const agentClientLinksContract: {
|
|
|
2714
2763
|
lastName: string;
|
|
2715
2764
|
firstName: string;
|
|
2716
2765
|
}[] | undefined;
|
|
2766
|
+
dialpadUserId?: string | null | undefined;
|
|
2717
2767
|
deletedAt?: string | Date | null | undefined;
|
|
2718
2768
|
};
|
|
2719
|
-
reviewedAt?: string | Date | null | undefined;
|
|
2720
2769
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
2721
2770
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
2722
2771
|
reviewedBy?: string | null | undefined;
|
|
2723
2772
|
reviewer?: {
|
|
2724
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2725
|
-
id: string;
|
|
2726
|
-
updatedAt: string | Date;
|
|
2727
|
-
createdAt: string | Date;
|
|
2728
2773
|
email: string;
|
|
2774
|
+
createdAt: string | Date;
|
|
2775
|
+
updatedAt: string | Date;
|
|
2776
|
+
id: string;
|
|
2777
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2729
2778
|
lastName: string;
|
|
2730
2779
|
firstName: string;
|
|
2731
2780
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2732
2781
|
officeId?: string | null | undefined;
|
|
2733
2782
|
office?: {
|
|
2734
|
-
id: string;
|
|
2735
2783
|
name: string;
|
|
2784
|
+
id: string;
|
|
2736
2785
|
managers?: {
|
|
2737
2786
|
id: string;
|
|
2738
2787
|
lastName: string;
|
|
@@ -2750,8 +2799,10 @@ export declare const agentClientLinksContract: {
|
|
|
2750
2799
|
lastName: string;
|
|
2751
2800
|
firstName: string;
|
|
2752
2801
|
}[] | undefined;
|
|
2802
|
+
dialpadUserId?: string | null | undefined;
|
|
2753
2803
|
deletedAt?: string | Date | null | undefined;
|
|
2754
2804
|
} | null | undefined;
|
|
2805
|
+
reviewedAt?: string | Date | null | undefined;
|
|
2755
2806
|
}>, "many">;
|
|
2756
2807
|
totalCount: z.ZodNumber;
|
|
2757
2808
|
limit: z.ZodNumber;
|
|
@@ -2761,41 +2812,18 @@ export declare const agentClientLinksContract: {
|
|
|
2761
2812
|
}, "strip", z.ZodTypeAny, {
|
|
2762
2813
|
limit: number;
|
|
2763
2814
|
items: {
|
|
2764
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2765
|
-
id: string;
|
|
2766
|
-
updatedAt: string;
|
|
2767
2815
|
createdAt: string;
|
|
2768
|
-
|
|
2769
|
-
client: {
|
|
2770
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2771
|
-
id: string;
|
|
2772
|
-
name: string;
|
|
2773
|
-
updatedAt: string;
|
|
2774
|
-
createdAt: string;
|
|
2775
|
-
crn: string | null;
|
|
2776
|
-
govLink: string | null;
|
|
2777
|
-
director: string;
|
|
2778
|
-
soleTrader: boolean;
|
|
2779
|
-
blacklistReason?: string | null | undefined;
|
|
2780
|
-
agentClientLinks?: {
|
|
2781
|
-
agentId: string;
|
|
2782
|
-
} | null | undefined;
|
|
2783
|
-
lastUpdatedBy?: {
|
|
2784
|
-
id: string;
|
|
2785
|
-
email: string;
|
|
2786
|
-
lastName: string;
|
|
2787
|
-
firstName: string;
|
|
2788
|
-
} | null | undefined;
|
|
2789
|
-
};
|
|
2790
|
-
agentId: string;
|
|
2791
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2816
|
+
updatedAt: string;
|
|
2792
2817
|
createdBy: string;
|
|
2818
|
+
id: string;
|
|
2819
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
2820
|
+
agentId: string;
|
|
2793
2821
|
agent: {
|
|
2794
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2795
|
-
id: string;
|
|
2796
|
-
updatedAt: string;
|
|
2797
|
-
createdAt: string;
|
|
2798
2822
|
email: string;
|
|
2823
|
+
createdAt: string;
|
|
2824
|
+
updatedAt: string;
|
|
2825
|
+
id: string;
|
|
2826
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2799
2827
|
lastName: string;
|
|
2800
2828
|
firstName: string;
|
|
2801
2829
|
phoneNumbers: {
|
|
@@ -2807,8 +2835,8 @@ export declare const agentClientLinksContract: {
|
|
|
2807
2835
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2808
2836
|
officeId?: string | null | undefined;
|
|
2809
2837
|
office?: {
|
|
2810
|
-
id: string;
|
|
2811
2838
|
name: string;
|
|
2839
|
+
id: string;
|
|
2812
2840
|
managers?: {
|
|
2813
2841
|
id: string;
|
|
2814
2842
|
lastName: string;
|
|
@@ -2820,14 +2848,38 @@ export declare const agentClientLinksContract: {
|
|
|
2820
2848
|
lastName: string;
|
|
2821
2849
|
firstName: string;
|
|
2822
2850
|
}[] | undefined;
|
|
2851
|
+
dialpadUserId?: string | null | undefined;
|
|
2823
2852
|
deletedAt?: string | null | undefined;
|
|
2824
2853
|
};
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
updatedAt: string;
|
|
2854
|
+
clientId: string;
|
|
2855
|
+
client: {
|
|
2856
|
+
name: string;
|
|
2829
2857
|
createdAt: string;
|
|
2858
|
+
updatedAt: string;
|
|
2859
|
+
id: string;
|
|
2860
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2861
|
+
crn: string | null;
|
|
2862
|
+
govLink: string | null;
|
|
2863
|
+
soleTrader: boolean;
|
|
2864
|
+
director: string;
|
|
2865
|
+
blacklistReason?: string | null | undefined;
|
|
2866
|
+
lastUpdatedBy?: {
|
|
2867
|
+
email: string;
|
|
2868
|
+
id: string;
|
|
2869
|
+
lastName: string;
|
|
2870
|
+
firstName: string;
|
|
2871
|
+
} | null | undefined;
|
|
2872
|
+
agentClientLinks?: {
|
|
2873
|
+
agentId: string;
|
|
2874
|
+
} | null | undefined;
|
|
2875
|
+
};
|
|
2876
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2877
|
+
creator: {
|
|
2830
2878
|
email: string;
|
|
2879
|
+
createdAt: string;
|
|
2880
|
+
updatedAt: string;
|
|
2881
|
+
id: string;
|
|
2882
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2831
2883
|
lastName: string;
|
|
2832
2884
|
firstName: string;
|
|
2833
2885
|
phoneNumbers: {
|
|
@@ -2839,8 +2891,8 @@ export declare const agentClientLinksContract: {
|
|
|
2839
2891
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2840
2892
|
officeId?: string | null | undefined;
|
|
2841
2893
|
office?: {
|
|
2842
|
-
id: string;
|
|
2843
2894
|
name: string;
|
|
2895
|
+
id: string;
|
|
2844
2896
|
managers?: {
|
|
2845
2897
|
id: string;
|
|
2846
2898
|
lastName: string;
|
|
@@ -2852,18 +2904,18 @@ export declare const agentClientLinksContract: {
|
|
|
2852
2904
|
lastName: string;
|
|
2853
2905
|
firstName: string;
|
|
2854
2906
|
}[] | undefined;
|
|
2907
|
+
dialpadUserId?: string | null | undefined;
|
|
2855
2908
|
deletedAt?: string | null | undefined;
|
|
2856
2909
|
};
|
|
2857
|
-
reviewedAt?: string | null | undefined;
|
|
2858
2910
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
2859
2911
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
2860
2912
|
reviewedBy?: string | null | undefined;
|
|
2861
2913
|
reviewer?: {
|
|
2862
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2863
|
-
id: string;
|
|
2864
|
-
updatedAt: string;
|
|
2865
|
-
createdAt: string;
|
|
2866
2914
|
email: string;
|
|
2915
|
+
createdAt: string;
|
|
2916
|
+
updatedAt: string;
|
|
2917
|
+
id: string;
|
|
2918
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2867
2919
|
lastName: string;
|
|
2868
2920
|
firstName: string;
|
|
2869
2921
|
phoneNumbers: {
|
|
@@ -2875,8 +2927,8 @@ export declare const agentClientLinksContract: {
|
|
|
2875
2927
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2876
2928
|
officeId?: string | null | undefined;
|
|
2877
2929
|
office?: {
|
|
2878
|
-
id: string;
|
|
2879
2930
|
name: string;
|
|
2931
|
+
id: string;
|
|
2880
2932
|
managers?: {
|
|
2881
2933
|
id: string;
|
|
2882
2934
|
lastName: string;
|
|
@@ -2888,8 +2940,10 @@ export declare const agentClientLinksContract: {
|
|
|
2888
2940
|
lastName: string;
|
|
2889
2941
|
firstName: string;
|
|
2890
2942
|
}[] | undefined;
|
|
2943
|
+
dialpadUserId?: string | null | undefined;
|
|
2891
2944
|
deletedAt?: string | null | undefined;
|
|
2892
2945
|
} | null | undefined;
|
|
2946
|
+
reviewedAt?: string | null | undefined;
|
|
2893
2947
|
}[];
|
|
2894
2948
|
totalCount: number;
|
|
2895
2949
|
skip: number;
|
|
@@ -2898,48 +2952,25 @@ export declare const agentClientLinksContract: {
|
|
|
2898
2952
|
}, {
|
|
2899
2953
|
limit: number;
|
|
2900
2954
|
items: {
|
|
2901
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
2902
|
-
id: string;
|
|
2903
|
-
updatedAt: string | Date;
|
|
2904
2955
|
createdAt: string | Date;
|
|
2905
|
-
|
|
2906
|
-
client: {
|
|
2907
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2908
|
-
id: string;
|
|
2909
|
-
name: string;
|
|
2910
|
-
updatedAt: string | Date;
|
|
2911
|
-
createdAt: string | Date;
|
|
2912
|
-
crn: string | null;
|
|
2913
|
-
govLink: string | null;
|
|
2914
|
-
director: string;
|
|
2915
|
-
soleTrader: boolean;
|
|
2916
|
-
blacklistReason?: string | null | undefined;
|
|
2917
|
-
agentClientLinks?: {
|
|
2918
|
-
agentId: string;
|
|
2919
|
-
} | null | undefined;
|
|
2920
|
-
lastUpdatedBy?: {
|
|
2921
|
-
id: string;
|
|
2922
|
-
email: string;
|
|
2923
|
-
lastName: string;
|
|
2924
|
-
firstName: string;
|
|
2925
|
-
} | null | undefined;
|
|
2926
|
-
};
|
|
2927
|
-
agentId: string;
|
|
2928
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
2956
|
+
updatedAt: string | Date;
|
|
2929
2957
|
createdBy: string;
|
|
2958
|
+
id: string;
|
|
2959
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
2960
|
+
agentId: string;
|
|
2930
2961
|
agent: {
|
|
2931
|
-
status: "ACTIVE" | "INACTIVE";
|
|
2932
|
-
id: string;
|
|
2933
|
-
updatedAt: string | Date;
|
|
2934
|
-
createdAt: string | Date;
|
|
2935
2962
|
email: string;
|
|
2963
|
+
createdAt: string | Date;
|
|
2964
|
+
updatedAt: string | Date;
|
|
2965
|
+
id: string;
|
|
2966
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2936
2967
|
lastName: string;
|
|
2937
2968
|
firstName: string;
|
|
2938
2969
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2939
2970
|
officeId?: string | null | undefined;
|
|
2940
2971
|
office?: {
|
|
2941
|
-
id: string;
|
|
2942
2972
|
name: string;
|
|
2973
|
+
id: string;
|
|
2943
2974
|
managers?: {
|
|
2944
2975
|
id: string;
|
|
2945
2976
|
lastName: string;
|
|
@@ -2957,21 +2988,45 @@ export declare const agentClientLinksContract: {
|
|
|
2957
2988
|
lastName: string;
|
|
2958
2989
|
firstName: string;
|
|
2959
2990
|
}[] | undefined;
|
|
2991
|
+
dialpadUserId?: string | null | undefined;
|
|
2960
2992
|
deletedAt?: string | Date | null | undefined;
|
|
2961
2993
|
};
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
updatedAt: string | Date;
|
|
2994
|
+
clientId: string;
|
|
2995
|
+
client: {
|
|
2996
|
+
name: string;
|
|
2966
2997
|
createdAt: string | Date;
|
|
2998
|
+
updatedAt: string | Date;
|
|
2999
|
+
id: string;
|
|
3000
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3001
|
+
crn: string | null;
|
|
3002
|
+
govLink: string | null;
|
|
3003
|
+
soleTrader: boolean;
|
|
3004
|
+
director: string;
|
|
3005
|
+
blacklistReason?: string | null | undefined;
|
|
3006
|
+
lastUpdatedBy?: {
|
|
3007
|
+
email: string;
|
|
3008
|
+
id: string;
|
|
3009
|
+
lastName: string;
|
|
3010
|
+
firstName: string;
|
|
3011
|
+
} | null | undefined;
|
|
3012
|
+
agentClientLinks?: {
|
|
3013
|
+
agentId: string;
|
|
3014
|
+
} | null | undefined;
|
|
3015
|
+
};
|
|
3016
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3017
|
+
creator: {
|
|
2967
3018
|
email: string;
|
|
3019
|
+
createdAt: string | Date;
|
|
3020
|
+
updatedAt: string | Date;
|
|
3021
|
+
id: string;
|
|
3022
|
+
status: "ACTIVE" | "INACTIVE";
|
|
2968
3023
|
lastName: string;
|
|
2969
3024
|
firstName: string;
|
|
2970
3025
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2971
3026
|
officeId?: string | null | undefined;
|
|
2972
3027
|
office?: {
|
|
2973
|
-
id: string;
|
|
2974
3028
|
name: string;
|
|
3029
|
+
id: string;
|
|
2975
3030
|
managers?: {
|
|
2976
3031
|
id: string;
|
|
2977
3032
|
lastName: string;
|
|
@@ -2989,25 +3044,25 @@ export declare const agentClientLinksContract: {
|
|
|
2989
3044
|
lastName: string;
|
|
2990
3045
|
firstName: string;
|
|
2991
3046
|
}[] | undefined;
|
|
3047
|
+
dialpadUserId?: string | null | undefined;
|
|
2992
3048
|
deletedAt?: string | Date | null | undefined;
|
|
2993
3049
|
};
|
|
2994
|
-
reviewedAt?: string | Date | null | undefined;
|
|
2995
3050
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
2996
3051
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
2997
3052
|
reviewedBy?: string | null | undefined;
|
|
2998
3053
|
reviewer?: {
|
|
2999
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3000
|
-
id: string;
|
|
3001
|
-
updatedAt: string | Date;
|
|
3002
|
-
createdAt: string | Date;
|
|
3003
3054
|
email: string;
|
|
3055
|
+
createdAt: string | Date;
|
|
3056
|
+
updatedAt: string | Date;
|
|
3057
|
+
id: string;
|
|
3058
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3004
3059
|
lastName: string;
|
|
3005
3060
|
firstName: string;
|
|
3006
3061
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3007
3062
|
officeId?: string | null | undefined;
|
|
3008
3063
|
office?: {
|
|
3009
|
-
id: string;
|
|
3010
3064
|
name: string;
|
|
3065
|
+
id: string;
|
|
3011
3066
|
managers?: {
|
|
3012
3067
|
id: string;
|
|
3013
3068
|
lastName: string;
|
|
@@ -3025,8 +3080,10 @@ export declare const agentClientLinksContract: {
|
|
|
3025
3080
|
lastName: string;
|
|
3026
3081
|
firstName: string;
|
|
3027
3082
|
}[] | undefined;
|
|
3083
|
+
dialpadUserId?: string | null | undefined;
|
|
3028
3084
|
deletedAt?: string | Date | null | undefined;
|
|
3029
3085
|
} | null | undefined;
|
|
3086
|
+
reviewedAt?: string | Date | null | undefined;
|
|
3030
3087
|
}[];
|
|
3031
3088
|
totalCount: number;
|
|
3032
3089
|
skip: number;
|
|
@@ -3075,7 +3132,7 @@ export declare const agentClientLinksContract: {
|
|
|
3075
3132
|
details?: unknown;
|
|
3076
3133
|
correlationId?: string | undefined;
|
|
3077
3134
|
}>;
|
|
3078
|
-
|
|
3135
|
+
403: z.ZodObject<{
|
|
3079
3136
|
statusCode: z.ZodNumber;
|
|
3080
3137
|
message: z.ZodString;
|
|
3081
3138
|
code: z.ZodString;
|
|
@@ -3100,7 +3157,7 @@ export declare const agentClientLinksContract: {
|
|
|
3100
3157
|
details?: unknown;
|
|
3101
3158
|
correlationId?: string | undefined;
|
|
3102
3159
|
}>;
|
|
3103
|
-
|
|
3160
|
+
401: z.ZodObject<{
|
|
3104
3161
|
statusCode: z.ZodNumber;
|
|
3105
3162
|
message: z.ZodString;
|
|
3106
3163
|
code: z.ZodString;
|
|
@@ -3168,13 +3225,13 @@ export declare const agentClientLinksContract: {
|
|
|
3168
3225
|
lastName: z.ZodString;
|
|
3169
3226
|
email: z.ZodString;
|
|
3170
3227
|
}, "strip", z.ZodTypeAny, {
|
|
3171
|
-
id: string;
|
|
3172
3228
|
email: string;
|
|
3229
|
+
id: string;
|
|
3173
3230
|
lastName: string;
|
|
3174
3231
|
firstName: string;
|
|
3175
3232
|
}, {
|
|
3176
|
-
id: string;
|
|
3177
3233
|
email: string;
|
|
3234
|
+
id: string;
|
|
3178
3235
|
lastName: string;
|
|
3179
3236
|
firstName: string;
|
|
3180
3237
|
}>>>;
|
|
@@ -3188,45 +3245,45 @@ export declare const agentClientLinksContract: {
|
|
|
3188
3245
|
agentId: string;
|
|
3189
3246
|
}>>>;
|
|
3190
3247
|
}, "strip", z.ZodTypeAny, {
|
|
3191
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3192
|
-
id: string;
|
|
3193
3248
|
name: string;
|
|
3194
|
-
updatedAt: string;
|
|
3195
3249
|
createdAt: string;
|
|
3250
|
+
updatedAt: string;
|
|
3251
|
+
id: string;
|
|
3252
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3196
3253
|
crn: string | null;
|
|
3197
3254
|
govLink: string | null;
|
|
3198
|
-
director: string;
|
|
3199
3255
|
soleTrader: boolean;
|
|
3256
|
+
director: string;
|
|
3200
3257
|
blacklistReason?: string | null | undefined;
|
|
3201
|
-
agentClientLinks?: {
|
|
3202
|
-
agentId: string;
|
|
3203
|
-
} | null | undefined;
|
|
3204
3258
|
lastUpdatedBy?: {
|
|
3205
|
-
id: string;
|
|
3206
3259
|
email: string;
|
|
3260
|
+
id: string;
|
|
3207
3261
|
lastName: string;
|
|
3208
3262
|
firstName: string;
|
|
3209
3263
|
} | null | undefined;
|
|
3264
|
+
agentClientLinks?: {
|
|
3265
|
+
agentId: string;
|
|
3266
|
+
} | null | undefined;
|
|
3210
3267
|
}, {
|
|
3211
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3212
|
-
id: string;
|
|
3213
3268
|
name: string;
|
|
3214
|
-
updatedAt: string | Date;
|
|
3215
3269
|
createdAt: string | Date;
|
|
3270
|
+
updatedAt: string | Date;
|
|
3271
|
+
id: string;
|
|
3272
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3216
3273
|
crn: string | null;
|
|
3217
3274
|
govLink: string | null;
|
|
3218
|
-
director: string;
|
|
3219
3275
|
soleTrader: boolean;
|
|
3276
|
+
director: string;
|
|
3220
3277
|
blacklistReason?: string | null | undefined;
|
|
3221
|
-
agentClientLinks?: {
|
|
3222
|
-
agentId: string;
|
|
3223
|
-
} | null | undefined;
|
|
3224
3278
|
lastUpdatedBy?: {
|
|
3225
|
-
id: string;
|
|
3226
3279
|
email: string;
|
|
3280
|
+
id: string;
|
|
3227
3281
|
lastName: string;
|
|
3228
3282
|
firstName: string;
|
|
3229
3283
|
} | null | undefined;
|
|
3284
|
+
agentClientLinks?: {
|
|
3285
|
+
agentId: string;
|
|
3286
|
+
} | null | undefined;
|
|
3230
3287
|
}>;
|
|
3231
3288
|
agentId: z.ZodString;
|
|
3232
3289
|
agent: z.ZodObject<{
|
|
@@ -3269,16 +3326,16 @@ export declare const agentClientLinksContract: {
|
|
|
3269
3326
|
firstName: string;
|
|
3270
3327
|
}>, "many">>;
|
|
3271
3328
|
}, "strip", z.ZodTypeAny, {
|
|
3272
|
-
id: string;
|
|
3273
3329
|
name: string;
|
|
3330
|
+
id: string;
|
|
3274
3331
|
managers?: {
|
|
3275
3332
|
id: string;
|
|
3276
3333
|
lastName: string;
|
|
3277
3334
|
firstName: string;
|
|
3278
3335
|
}[] | undefined;
|
|
3279
3336
|
}, {
|
|
3280
|
-
id: string;
|
|
3281
3337
|
name: string;
|
|
3338
|
+
id: string;
|
|
3282
3339
|
managers?: {
|
|
3283
3340
|
id: string;
|
|
3284
3341
|
lastName: string;
|
|
@@ -3299,15 +3356,16 @@ export declare const agentClientLinksContract: {
|
|
|
3299
3356
|
firstName: string;
|
|
3300
3357
|
}>, "many">>;
|
|
3301
3358
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3359
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
3302
3360
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3303
3361
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3304
3362
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3305
3363
|
}, "strip", z.ZodTypeAny, {
|
|
3306
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3307
|
-
id: string;
|
|
3308
|
-
updatedAt: string;
|
|
3309
|
-
createdAt: string;
|
|
3310
3364
|
email: string;
|
|
3365
|
+
createdAt: string;
|
|
3366
|
+
updatedAt: string;
|
|
3367
|
+
id: string;
|
|
3368
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3311
3369
|
lastName: string;
|
|
3312
3370
|
firstName: string;
|
|
3313
3371
|
phoneNumbers: {
|
|
@@ -3319,8 +3377,8 @@ export declare const agentClientLinksContract: {
|
|
|
3319
3377
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3320
3378
|
officeId?: string | null | undefined;
|
|
3321
3379
|
office?: {
|
|
3322
|
-
id: string;
|
|
3323
3380
|
name: string;
|
|
3381
|
+
id: string;
|
|
3324
3382
|
managers?: {
|
|
3325
3383
|
id: string;
|
|
3326
3384
|
lastName: string;
|
|
@@ -3332,20 +3390,21 @@ export declare const agentClientLinksContract: {
|
|
|
3332
3390
|
lastName: string;
|
|
3333
3391
|
firstName: string;
|
|
3334
3392
|
}[] | undefined;
|
|
3393
|
+
dialpadUserId?: string | null | undefined;
|
|
3335
3394
|
deletedAt?: string | null | undefined;
|
|
3336
3395
|
}, {
|
|
3337
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3338
|
-
id: string;
|
|
3339
|
-
updatedAt: string | Date;
|
|
3340
|
-
createdAt: string | Date;
|
|
3341
3396
|
email: string;
|
|
3397
|
+
createdAt: string | Date;
|
|
3398
|
+
updatedAt: string | Date;
|
|
3399
|
+
id: string;
|
|
3400
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3342
3401
|
lastName: string;
|
|
3343
3402
|
firstName: string;
|
|
3344
3403
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3345
3404
|
officeId?: string | null | undefined;
|
|
3346
3405
|
office?: {
|
|
3347
|
-
id: string;
|
|
3348
3406
|
name: string;
|
|
3407
|
+
id: string;
|
|
3349
3408
|
managers?: {
|
|
3350
3409
|
id: string;
|
|
3351
3410
|
lastName: string;
|
|
@@ -3363,6 +3422,7 @@ export declare const agentClientLinksContract: {
|
|
|
3363
3422
|
lastName: string;
|
|
3364
3423
|
firstName: string;
|
|
3365
3424
|
}[] | undefined;
|
|
3425
|
+
dialpadUserId?: string | null | undefined;
|
|
3366
3426
|
deletedAt?: string | Date | null | undefined;
|
|
3367
3427
|
}>;
|
|
3368
3428
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -3410,16 +3470,16 @@ export declare const agentClientLinksContract: {
|
|
|
3410
3470
|
firstName: string;
|
|
3411
3471
|
}>, "many">>;
|
|
3412
3472
|
}, "strip", z.ZodTypeAny, {
|
|
3413
|
-
id: string;
|
|
3414
3473
|
name: string;
|
|
3474
|
+
id: string;
|
|
3415
3475
|
managers?: {
|
|
3416
3476
|
id: string;
|
|
3417
3477
|
lastName: string;
|
|
3418
3478
|
firstName: string;
|
|
3419
3479
|
}[] | undefined;
|
|
3420
3480
|
}, {
|
|
3421
|
-
id: string;
|
|
3422
3481
|
name: string;
|
|
3482
|
+
id: string;
|
|
3423
3483
|
managers?: {
|
|
3424
3484
|
id: string;
|
|
3425
3485
|
lastName: string;
|
|
@@ -3440,15 +3500,16 @@ export declare const agentClientLinksContract: {
|
|
|
3440
3500
|
firstName: string;
|
|
3441
3501
|
}>, "many">>;
|
|
3442
3502
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3503
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
3443
3504
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3444
3505
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3445
3506
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3446
3507
|
}, "strip", z.ZodTypeAny, {
|
|
3447
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3448
|
-
id: string;
|
|
3449
|
-
updatedAt: string;
|
|
3450
|
-
createdAt: string;
|
|
3451
3508
|
email: string;
|
|
3509
|
+
createdAt: string;
|
|
3510
|
+
updatedAt: string;
|
|
3511
|
+
id: string;
|
|
3512
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3452
3513
|
lastName: string;
|
|
3453
3514
|
firstName: string;
|
|
3454
3515
|
phoneNumbers: {
|
|
@@ -3460,8 +3521,8 @@ export declare const agentClientLinksContract: {
|
|
|
3460
3521
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3461
3522
|
officeId?: string | null | undefined;
|
|
3462
3523
|
office?: {
|
|
3463
|
-
id: string;
|
|
3464
3524
|
name: string;
|
|
3525
|
+
id: string;
|
|
3465
3526
|
managers?: {
|
|
3466
3527
|
id: string;
|
|
3467
3528
|
lastName: string;
|
|
@@ -3473,20 +3534,21 @@ export declare const agentClientLinksContract: {
|
|
|
3473
3534
|
lastName: string;
|
|
3474
3535
|
firstName: string;
|
|
3475
3536
|
}[] | undefined;
|
|
3537
|
+
dialpadUserId?: string | null | undefined;
|
|
3476
3538
|
deletedAt?: string | null | undefined;
|
|
3477
3539
|
}, {
|
|
3478
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3479
|
-
id: string;
|
|
3480
|
-
updatedAt: string | Date;
|
|
3481
|
-
createdAt: string | Date;
|
|
3482
3540
|
email: string;
|
|
3541
|
+
createdAt: string | Date;
|
|
3542
|
+
updatedAt: string | Date;
|
|
3543
|
+
id: string;
|
|
3544
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3483
3545
|
lastName: string;
|
|
3484
3546
|
firstName: string;
|
|
3485
3547
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3486
3548
|
officeId?: string | null | undefined;
|
|
3487
3549
|
office?: {
|
|
3488
|
-
id: string;
|
|
3489
3550
|
name: string;
|
|
3551
|
+
id: string;
|
|
3490
3552
|
managers?: {
|
|
3491
3553
|
id: string;
|
|
3492
3554
|
lastName: string;
|
|
@@ -3504,6 +3566,7 @@ export declare const agentClientLinksContract: {
|
|
|
3504
3566
|
lastName: string;
|
|
3505
3567
|
firstName: string;
|
|
3506
3568
|
}[] | undefined;
|
|
3569
|
+
dialpadUserId?: string | null | undefined;
|
|
3507
3570
|
deletedAt?: string | Date | null | undefined;
|
|
3508
3571
|
}>>>;
|
|
3509
3572
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -3548,16 +3611,16 @@ export declare const agentClientLinksContract: {
|
|
|
3548
3611
|
firstName: string;
|
|
3549
3612
|
}>, "many">>;
|
|
3550
3613
|
}, "strip", z.ZodTypeAny, {
|
|
3551
|
-
id: string;
|
|
3552
3614
|
name: string;
|
|
3615
|
+
id: string;
|
|
3553
3616
|
managers?: {
|
|
3554
3617
|
id: string;
|
|
3555
3618
|
lastName: string;
|
|
3556
3619
|
firstName: string;
|
|
3557
3620
|
}[] | undefined;
|
|
3558
3621
|
}, {
|
|
3559
|
-
id: string;
|
|
3560
3622
|
name: string;
|
|
3623
|
+
id: string;
|
|
3561
3624
|
managers?: {
|
|
3562
3625
|
id: string;
|
|
3563
3626
|
lastName: string;
|
|
@@ -3578,15 +3641,16 @@ export declare const agentClientLinksContract: {
|
|
|
3578
3641
|
firstName: string;
|
|
3579
3642
|
}>, "many">>;
|
|
3580
3643
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3644
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
3581
3645
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3582
3646
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3583
3647
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3584
3648
|
}, "strip", z.ZodTypeAny, {
|
|
3585
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3586
|
-
id: string;
|
|
3587
|
-
updatedAt: string;
|
|
3588
|
-
createdAt: string;
|
|
3589
3649
|
email: string;
|
|
3650
|
+
createdAt: string;
|
|
3651
|
+
updatedAt: string;
|
|
3652
|
+
id: string;
|
|
3653
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3590
3654
|
lastName: string;
|
|
3591
3655
|
firstName: string;
|
|
3592
3656
|
phoneNumbers: {
|
|
@@ -3598,8 +3662,8 @@ export declare const agentClientLinksContract: {
|
|
|
3598
3662
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3599
3663
|
officeId?: string | null | undefined;
|
|
3600
3664
|
office?: {
|
|
3601
|
-
id: string;
|
|
3602
3665
|
name: string;
|
|
3666
|
+
id: string;
|
|
3603
3667
|
managers?: {
|
|
3604
3668
|
id: string;
|
|
3605
3669
|
lastName: string;
|
|
@@ -3611,20 +3675,21 @@ export declare const agentClientLinksContract: {
|
|
|
3611
3675
|
lastName: string;
|
|
3612
3676
|
firstName: string;
|
|
3613
3677
|
}[] | undefined;
|
|
3678
|
+
dialpadUserId?: string | null | undefined;
|
|
3614
3679
|
deletedAt?: string | null | undefined;
|
|
3615
3680
|
}, {
|
|
3616
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3617
|
-
id: string;
|
|
3618
|
-
updatedAt: string | Date;
|
|
3619
|
-
createdAt: string | Date;
|
|
3620
3681
|
email: string;
|
|
3682
|
+
createdAt: string | Date;
|
|
3683
|
+
updatedAt: string | Date;
|
|
3684
|
+
id: string;
|
|
3685
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3621
3686
|
lastName: string;
|
|
3622
3687
|
firstName: string;
|
|
3623
3688
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3624
3689
|
officeId?: string | null | undefined;
|
|
3625
3690
|
office?: {
|
|
3626
|
-
id: string;
|
|
3627
3691
|
name: string;
|
|
3692
|
+
id: string;
|
|
3628
3693
|
managers?: {
|
|
3629
3694
|
id: string;
|
|
3630
3695
|
lastName: string;
|
|
@@ -3642,46 +3707,24 @@ export declare const agentClientLinksContract: {
|
|
|
3642
3707
|
lastName: string;
|
|
3643
3708
|
firstName: string;
|
|
3644
3709
|
}[] | undefined;
|
|
3710
|
+
dialpadUserId?: string | null | undefined;
|
|
3645
3711
|
deletedAt?: string | Date | null | undefined;
|
|
3646
3712
|
}>;
|
|
3647
3713
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3648
3714
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3649
3715
|
}, "strip", z.ZodTypeAny, {
|
|
3650
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
3651
|
-
id: string;
|
|
3652
|
-
updatedAt: string;
|
|
3653
3716
|
createdAt: string;
|
|
3654
|
-
|
|
3655
|
-
client: {
|
|
3656
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3657
|
-
id: string;
|
|
3658
|
-
name: string;
|
|
3659
|
-
updatedAt: string;
|
|
3660
|
-
createdAt: string;
|
|
3661
|
-
crn: string | null;
|
|
3662
|
-
govLink: string | null;
|
|
3663
|
-
director: string;
|
|
3664
|
-
soleTrader: boolean;
|
|
3665
|
-
blacklistReason?: string | null | undefined;
|
|
3666
|
-
agentClientLinks?: {
|
|
3667
|
-
agentId: string;
|
|
3668
|
-
} | null | undefined;
|
|
3669
|
-
lastUpdatedBy?: {
|
|
3670
|
-
id: string;
|
|
3671
|
-
email: string;
|
|
3672
|
-
lastName: string;
|
|
3673
|
-
firstName: string;
|
|
3674
|
-
} | null | undefined;
|
|
3675
|
-
};
|
|
3676
|
-
agentId: string;
|
|
3677
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3717
|
+
updatedAt: string;
|
|
3678
3718
|
createdBy: string;
|
|
3719
|
+
id: string;
|
|
3720
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
3721
|
+
agentId: string;
|
|
3679
3722
|
agent: {
|
|
3680
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3681
|
-
id: string;
|
|
3682
|
-
updatedAt: string;
|
|
3683
|
-
createdAt: string;
|
|
3684
3723
|
email: string;
|
|
3724
|
+
createdAt: string;
|
|
3725
|
+
updatedAt: string;
|
|
3726
|
+
id: string;
|
|
3727
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3685
3728
|
lastName: string;
|
|
3686
3729
|
firstName: string;
|
|
3687
3730
|
phoneNumbers: {
|
|
@@ -3693,8 +3736,8 @@ export declare const agentClientLinksContract: {
|
|
|
3693
3736
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3694
3737
|
officeId?: string | null | undefined;
|
|
3695
3738
|
office?: {
|
|
3696
|
-
id: string;
|
|
3697
3739
|
name: string;
|
|
3740
|
+
id: string;
|
|
3698
3741
|
managers?: {
|
|
3699
3742
|
id: string;
|
|
3700
3743
|
lastName: string;
|
|
@@ -3706,14 +3749,38 @@ export declare const agentClientLinksContract: {
|
|
|
3706
3749
|
lastName: string;
|
|
3707
3750
|
firstName: string;
|
|
3708
3751
|
}[] | undefined;
|
|
3752
|
+
dialpadUserId?: string | null | undefined;
|
|
3709
3753
|
deletedAt?: string | null | undefined;
|
|
3710
3754
|
};
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
updatedAt: string;
|
|
3755
|
+
clientId: string;
|
|
3756
|
+
client: {
|
|
3757
|
+
name: string;
|
|
3715
3758
|
createdAt: string;
|
|
3759
|
+
updatedAt: string;
|
|
3760
|
+
id: string;
|
|
3761
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3762
|
+
crn: string | null;
|
|
3763
|
+
govLink: string | null;
|
|
3764
|
+
soleTrader: boolean;
|
|
3765
|
+
director: string;
|
|
3766
|
+
blacklistReason?: string | null | undefined;
|
|
3767
|
+
lastUpdatedBy?: {
|
|
3768
|
+
email: string;
|
|
3769
|
+
id: string;
|
|
3770
|
+
lastName: string;
|
|
3771
|
+
firstName: string;
|
|
3772
|
+
} | null | undefined;
|
|
3773
|
+
agentClientLinks?: {
|
|
3774
|
+
agentId: string;
|
|
3775
|
+
} | null | undefined;
|
|
3776
|
+
};
|
|
3777
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3778
|
+
creator: {
|
|
3716
3779
|
email: string;
|
|
3780
|
+
createdAt: string;
|
|
3781
|
+
updatedAt: string;
|
|
3782
|
+
id: string;
|
|
3783
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3717
3784
|
lastName: string;
|
|
3718
3785
|
firstName: string;
|
|
3719
3786
|
phoneNumbers: {
|
|
@@ -3725,8 +3792,8 @@ export declare const agentClientLinksContract: {
|
|
|
3725
3792
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3726
3793
|
officeId?: string | null | undefined;
|
|
3727
3794
|
office?: {
|
|
3728
|
-
id: string;
|
|
3729
3795
|
name: string;
|
|
3796
|
+
id: string;
|
|
3730
3797
|
managers?: {
|
|
3731
3798
|
id: string;
|
|
3732
3799
|
lastName: string;
|
|
@@ -3738,18 +3805,18 @@ export declare const agentClientLinksContract: {
|
|
|
3738
3805
|
lastName: string;
|
|
3739
3806
|
firstName: string;
|
|
3740
3807
|
}[] | undefined;
|
|
3808
|
+
dialpadUserId?: string | null | undefined;
|
|
3741
3809
|
deletedAt?: string | null | undefined;
|
|
3742
3810
|
};
|
|
3743
|
-
reviewedAt?: string | null | undefined;
|
|
3744
3811
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
3745
3812
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
3746
3813
|
reviewedBy?: string | null | undefined;
|
|
3747
3814
|
reviewer?: {
|
|
3748
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3749
|
-
id: string;
|
|
3750
|
-
updatedAt: string;
|
|
3751
|
-
createdAt: string;
|
|
3752
3815
|
email: string;
|
|
3816
|
+
createdAt: string;
|
|
3817
|
+
updatedAt: string;
|
|
3818
|
+
id: string;
|
|
3819
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3753
3820
|
lastName: string;
|
|
3754
3821
|
firstName: string;
|
|
3755
3822
|
phoneNumbers: {
|
|
@@ -3761,8 +3828,8 @@ export declare const agentClientLinksContract: {
|
|
|
3761
3828
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3762
3829
|
officeId?: string | null | undefined;
|
|
3763
3830
|
office?: {
|
|
3764
|
-
id: string;
|
|
3765
3831
|
name: string;
|
|
3832
|
+
id: string;
|
|
3766
3833
|
managers?: {
|
|
3767
3834
|
id: string;
|
|
3768
3835
|
lastName: string;
|
|
@@ -3774,51 +3841,30 @@ export declare const agentClientLinksContract: {
|
|
|
3774
3841
|
lastName: string;
|
|
3775
3842
|
firstName: string;
|
|
3776
3843
|
}[] | undefined;
|
|
3844
|
+
dialpadUserId?: string | null | undefined;
|
|
3777
3845
|
deletedAt?: string | null | undefined;
|
|
3778
3846
|
} | null | undefined;
|
|
3847
|
+
reviewedAt?: string | null | undefined;
|
|
3779
3848
|
}, {
|
|
3780
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
3781
|
-
id: string;
|
|
3782
|
-
updatedAt: string | Date;
|
|
3783
3849
|
createdAt: string | Date;
|
|
3784
|
-
|
|
3785
|
-
client: {
|
|
3786
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3787
|
-
id: string;
|
|
3788
|
-
name: string;
|
|
3789
|
-
updatedAt: string | Date;
|
|
3790
|
-
createdAt: string | Date;
|
|
3791
|
-
crn: string | null;
|
|
3792
|
-
govLink: string | null;
|
|
3793
|
-
director: string;
|
|
3794
|
-
soleTrader: boolean;
|
|
3795
|
-
blacklistReason?: string | null | undefined;
|
|
3796
|
-
agentClientLinks?: {
|
|
3797
|
-
agentId: string;
|
|
3798
|
-
} | null | undefined;
|
|
3799
|
-
lastUpdatedBy?: {
|
|
3800
|
-
id: string;
|
|
3801
|
-
email: string;
|
|
3802
|
-
lastName: string;
|
|
3803
|
-
firstName: string;
|
|
3804
|
-
} | null | undefined;
|
|
3805
|
-
};
|
|
3806
|
-
agentId: string;
|
|
3807
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3850
|
+
updatedAt: string | Date;
|
|
3808
3851
|
createdBy: string;
|
|
3852
|
+
id: string;
|
|
3853
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
3854
|
+
agentId: string;
|
|
3809
3855
|
agent: {
|
|
3810
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3811
|
-
id: string;
|
|
3812
|
-
updatedAt: string | Date;
|
|
3813
|
-
createdAt: string | Date;
|
|
3814
3856
|
email: string;
|
|
3857
|
+
createdAt: string | Date;
|
|
3858
|
+
updatedAt: string | Date;
|
|
3859
|
+
id: string;
|
|
3860
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3815
3861
|
lastName: string;
|
|
3816
3862
|
firstName: string;
|
|
3817
3863
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3818
3864
|
officeId?: string | null | undefined;
|
|
3819
3865
|
office?: {
|
|
3820
|
-
id: string;
|
|
3821
3866
|
name: string;
|
|
3867
|
+
id: string;
|
|
3822
3868
|
managers?: {
|
|
3823
3869
|
id: string;
|
|
3824
3870
|
lastName: string;
|
|
@@ -3836,21 +3882,45 @@ export declare const agentClientLinksContract: {
|
|
|
3836
3882
|
lastName: string;
|
|
3837
3883
|
firstName: string;
|
|
3838
3884
|
}[] | undefined;
|
|
3885
|
+
dialpadUserId?: string | null | undefined;
|
|
3839
3886
|
deletedAt?: string | Date | null | undefined;
|
|
3840
3887
|
};
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
updatedAt: string | Date;
|
|
3888
|
+
clientId: string;
|
|
3889
|
+
client: {
|
|
3890
|
+
name: string;
|
|
3845
3891
|
createdAt: string | Date;
|
|
3892
|
+
updatedAt: string | Date;
|
|
3893
|
+
id: string;
|
|
3894
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3895
|
+
crn: string | null;
|
|
3896
|
+
govLink: string | null;
|
|
3897
|
+
soleTrader: boolean;
|
|
3898
|
+
director: string;
|
|
3899
|
+
blacklistReason?: string | null | undefined;
|
|
3900
|
+
lastUpdatedBy?: {
|
|
3901
|
+
email: string;
|
|
3902
|
+
id: string;
|
|
3903
|
+
lastName: string;
|
|
3904
|
+
firstName: string;
|
|
3905
|
+
} | null | undefined;
|
|
3906
|
+
agentClientLinks?: {
|
|
3907
|
+
agentId: string;
|
|
3908
|
+
} | null | undefined;
|
|
3909
|
+
};
|
|
3910
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
3911
|
+
creator: {
|
|
3846
3912
|
email: string;
|
|
3913
|
+
createdAt: string | Date;
|
|
3914
|
+
updatedAt: string | Date;
|
|
3915
|
+
id: string;
|
|
3916
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3847
3917
|
lastName: string;
|
|
3848
3918
|
firstName: string;
|
|
3849
3919
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3850
3920
|
officeId?: string | null | undefined;
|
|
3851
3921
|
office?: {
|
|
3852
|
-
id: string;
|
|
3853
3922
|
name: string;
|
|
3923
|
+
id: string;
|
|
3854
3924
|
managers?: {
|
|
3855
3925
|
id: string;
|
|
3856
3926
|
lastName: string;
|
|
@@ -3868,25 +3938,25 @@ export declare const agentClientLinksContract: {
|
|
|
3868
3938
|
lastName: string;
|
|
3869
3939
|
firstName: string;
|
|
3870
3940
|
}[] | undefined;
|
|
3941
|
+
dialpadUserId?: string | null | undefined;
|
|
3871
3942
|
deletedAt?: string | Date | null | undefined;
|
|
3872
3943
|
};
|
|
3873
|
-
reviewedAt?: string | Date | null | undefined;
|
|
3874
3944
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
3875
3945
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
3876
3946
|
reviewedBy?: string | null | undefined;
|
|
3877
3947
|
reviewer?: {
|
|
3878
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3879
|
-
id: string;
|
|
3880
|
-
updatedAt: string | Date;
|
|
3881
|
-
createdAt: string | Date;
|
|
3882
3948
|
email: string;
|
|
3949
|
+
createdAt: string | Date;
|
|
3950
|
+
updatedAt: string | Date;
|
|
3951
|
+
id: string;
|
|
3952
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3883
3953
|
lastName: string;
|
|
3884
3954
|
firstName: string;
|
|
3885
3955
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3886
3956
|
officeId?: string | null | undefined;
|
|
3887
3957
|
office?: {
|
|
3888
|
-
id: string;
|
|
3889
3958
|
name: string;
|
|
3959
|
+
id: string;
|
|
3890
3960
|
managers?: {
|
|
3891
3961
|
id: string;
|
|
3892
3962
|
lastName: string;
|
|
@@ -3904,8 +3974,10 @@ export declare const agentClientLinksContract: {
|
|
|
3904
3974
|
lastName: string;
|
|
3905
3975
|
firstName: string;
|
|
3906
3976
|
}[] | undefined;
|
|
3977
|
+
dialpadUserId?: string | null | undefined;
|
|
3907
3978
|
deletedAt?: string | Date | null | undefined;
|
|
3908
3979
|
} | null | undefined;
|
|
3980
|
+
reviewedAt?: string | Date | null | undefined;
|
|
3909
3981
|
}>;
|
|
3910
3982
|
404: z.ZodObject<{
|
|
3911
3983
|
statusCode: z.ZodNumber;
|
|
@@ -3981,7 +4053,7 @@ export declare const agentClientLinksContract: {
|
|
|
3981
4053
|
details?: unknown;
|
|
3982
4054
|
correlationId?: string | undefined;
|
|
3983
4055
|
}>;
|
|
3984
|
-
|
|
4056
|
+
403: z.ZodObject<{
|
|
3985
4057
|
statusCode: z.ZodNumber;
|
|
3986
4058
|
message: z.ZodString;
|
|
3987
4059
|
code: z.ZodString;
|
|
@@ -4006,7 +4078,7 @@ export declare const agentClientLinksContract: {
|
|
|
4006
4078
|
details?: unknown;
|
|
4007
4079
|
correlationId?: string | undefined;
|
|
4008
4080
|
}>;
|
|
4009
|
-
|
|
4081
|
+
401: z.ZodObject<{
|
|
4010
4082
|
statusCode: z.ZodNumber;
|
|
4011
4083
|
message: z.ZodString;
|
|
4012
4084
|
code: z.ZodString;
|
|
@@ -4074,13 +4146,13 @@ export declare const agentClientLinksContract: {
|
|
|
4074
4146
|
lastName: z.ZodString;
|
|
4075
4147
|
email: z.ZodString;
|
|
4076
4148
|
}, "strip", z.ZodTypeAny, {
|
|
4077
|
-
id: string;
|
|
4078
4149
|
email: string;
|
|
4150
|
+
id: string;
|
|
4079
4151
|
lastName: string;
|
|
4080
4152
|
firstName: string;
|
|
4081
4153
|
}, {
|
|
4082
|
-
id: string;
|
|
4083
4154
|
email: string;
|
|
4155
|
+
id: string;
|
|
4084
4156
|
lastName: string;
|
|
4085
4157
|
firstName: string;
|
|
4086
4158
|
}>>>;
|
|
@@ -4094,45 +4166,45 @@ export declare const agentClientLinksContract: {
|
|
|
4094
4166
|
agentId: string;
|
|
4095
4167
|
}>>>;
|
|
4096
4168
|
}, "strip", z.ZodTypeAny, {
|
|
4097
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4098
|
-
id: string;
|
|
4099
4169
|
name: string;
|
|
4100
|
-
updatedAt: string;
|
|
4101
4170
|
createdAt: string;
|
|
4171
|
+
updatedAt: string;
|
|
4172
|
+
id: string;
|
|
4173
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4102
4174
|
crn: string | null;
|
|
4103
4175
|
govLink: string | null;
|
|
4104
|
-
director: string;
|
|
4105
4176
|
soleTrader: boolean;
|
|
4177
|
+
director: string;
|
|
4106
4178
|
blacklistReason?: string | null | undefined;
|
|
4107
|
-
agentClientLinks?: {
|
|
4108
|
-
agentId: string;
|
|
4109
|
-
} | null | undefined;
|
|
4110
4179
|
lastUpdatedBy?: {
|
|
4111
|
-
id: string;
|
|
4112
4180
|
email: string;
|
|
4181
|
+
id: string;
|
|
4113
4182
|
lastName: string;
|
|
4114
4183
|
firstName: string;
|
|
4115
4184
|
} | null | undefined;
|
|
4185
|
+
agentClientLinks?: {
|
|
4186
|
+
agentId: string;
|
|
4187
|
+
} | null | undefined;
|
|
4116
4188
|
}, {
|
|
4117
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4118
|
-
id: string;
|
|
4119
4189
|
name: string;
|
|
4120
|
-
updatedAt: string | Date;
|
|
4121
4190
|
createdAt: string | Date;
|
|
4191
|
+
updatedAt: string | Date;
|
|
4192
|
+
id: string;
|
|
4193
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4122
4194
|
crn: string | null;
|
|
4123
4195
|
govLink: string | null;
|
|
4124
|
-
director: string;
|
|
4125
4196
|
soleTrader: boolean;
|
|
4197
|
+
director: string;
|
|
4126
4198
|
blacklistReason?: string | null | undefined;
|
|
4127
|
-
agentClientLinks?: {
|
|
4128
|
-
agentId: string;
|
|
4129
|
-
} | null | undefined;
|
|
4130
4199
|
lastUpdatedBy?: {
|
|
4131
|
-
id: string;
|
|
4132
4200
|
email: string;
|
|
4201
|
+
id: string;
|
|
4133
4202
|
lastName: string;
|
|
4134
4203
|
firstName: string;
|
|
4135
4204
|
} | null | undefined;
|
|
4205
|
+
agentClientLinks?: {
|
|
4206
|
+
agentId: string;
|
|
4207
|
+
} | null | undefined;
|
|
4136
4208
|
}>;
|
|
4137
4209
|
agentId: z.ZodString;
|
|
4138
4210
|
agent: z.ZodObject<{
|
|
@@ -4175,16 +4247,16 @@ export declare const agentClientLinksContract: {
|
|
|
4175
4247
|
firstName: string;
|
|
4176
4248
|
}>, "many">>;
|
|
4177
4249
|
}, "strip", z.ZodTypeAny, {
|
|
4178
|
-
id: string;
|
|
4179
4250
|
name: string;
|
|
4251
|
+
id: string;
|
|
4180
4252
|
managers?: {
|
|
4181
4253
|
id: string;
|
|
4182
4254
|
lastName: string;
|
|
4183
4255
|
firstName: string;
|
|
4184
4256
|
}[] | undefined;
|
|
4185
4257
|
}, {
|
|
4186
|
-
id: string;
|
|
4187
4258
|
name: string;
|
|
4259
|
+
id: string;
|
|
4188
4260
|
managers?: {
|
|
4189
4261
|
id: string;
|
|
4190
4262
|
lastName: string;
|
|
@@ -4205,15 +4277,16 @@ export declare const agentClientLinksContract: {
|
|
|
4205
4277
|
firstName: string;
|
|
4206
4278
|
}>, "many">>;
|
|
4207
4279
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4280
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
4208
4281
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4209
4282
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4210
4283
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
4211
4284
|
}, "strip", z.ZodTypeAny, {
|
|
4212
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4213
|
-
id: string;
|
|
4214
|
-
updatedAt: string;
|
|
4215
|
-
createdAt: string;
|
|
4216
4285
|
email: string;
|
|
4286
|
+
createdAt: string;
|
|
4287
|
+
updatedAt: string;
|
|
4288
|
+
id: string;
|
|
4289
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4217
4290
|
lastName: string;
|
|
4218
4291
|
firstName: string;
|
|
4219
4292
|
phoneNumbers: {
|
|
@@ -4225,8 +4298,8 @@ export declare const agentClientLinksContract: {
|
|
|
4225
4298
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4226
4299
|
officeId?: string | null | undefined;
|
|
4227
4300
|
office?: {
|
|
4228
|
-
id: string;
|
|
4229
4301
|
name: string;
|
|
4302
|
+
id: string;
|
|
4230
4303
|
managers?: {
|
|
4231
4304
|
id: string;
|
|
4232
4305
|
lastName: string;
|
|
@@ -4238,20 +4311,21 @@ export declare const agentClientLinksContract: {
|
|
|
4238
4311
|
lastName: string;
|
|
4239
4312
|
firstName: string;
|
|
4240
4313
|
}[] | undefined;
|
|
4314
|
+
dialpadUserId?: string | null | undefined;
|
|
4241
4315
|
deletedAt?: string | null | undefined;
|
|
4242
4316
|
}, {
|
|
4243
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4244
|
-
id: string;
|
|
4245
|
-
updatedAt: string | Date;
|
|
4246
|
-
createdAt: string | Date;
|
|
4247
4317
|
email: string;
|
|
4318
|
+
createdAt: string | Date;
|
|
4319
|
+
updatedAt: string | Date;
|
|
4320
|
+
id: string;
|
|
4321
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4248
4322
|
lastName: string;
|
|
4249
4323
|
firstName: string;
|
|
4250
4324
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4251
4325
|
officeId?: string | null | undefined;
|
|
4252
4326
|
office?: {
|
|
4253
|
-
id: string;
|
|
4254
4327
|
name: string;
|
|
4328
|
+
id: string;
|
|
4255
4329
|
managers?: {
|
|
4256
4330
|
id: string;
|
|
4257
4331
|
lastName: string;
|
|
@@ -4269,6 +4343,7 @@ export declare const agentClientLinksContract: {
|
|
|
4269
4343
|
lastName: string;
|
|
4270
4344
|
firstName: string;
|
|
4271
4345
|
}[] | undefined;
|
|
4346
|
+
dialpadUserId?: string | null | undefined;
|
|
4272
4347
|
deletedAt?: string | Date | null | undefined;
|
|
4273
4348
|
}>;
|
|
4274
4349
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -4316,16 +4391,16 @@ export declare const agentClientLinksContract: {
|
|
|
4316
4391
|
firstName: string;
|
|
4317
4392
|
}>, "many">>;
|
|
4318
4393
|
}, "strip", z.ZodTypeAny, {
|
|
4319
|
-
id: string;
|
|
4320
4394
|
name: string;
|
|
4395
|
+
id: string;
|
|
4321
4396
|
managers?: {
|
|
4322
4397
|
id: string;
|
|
4323
4398
|
lastName: string;
|
|
4324
4399
|
firstName: string;
|
|
4325
4400
|
}[] | undefined;
|
|
4326
4401
|
}, {
|
|
4327
|
-
id: string;
|
|
4328
4402
|
name: string;
|
|
4403
|
+
id: string;
|
|
4329
4404
|
managers?: {
|
|
4330
4405
|
id: string;
|
|
4331
4406
|
lastName: string;
|
|
@@ -4346,15 +4421,16 @@ export declare const agentClientLinksContract: {
|
|
|
4346
4421
|
firstName: string;
|
|
4347
4422
|
}>, "many">>;
|
|
4348
4423
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4424
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
4349
4425
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4350
4426
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4351
4427
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
4352
4428
|
}, "strip", z.ZodTypeAny, {
|
|
4353
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4354
|
-
id: string;
|
|
4355
|
-
updatedAt: string;
|
|
4356
|
-
createdAt: string;
|
|
4357
4429
|
email: string;
|
|
4430
|
+
createdAt: string;
|
|
4431
|
+
updatedAt: string;
|
|
4432
|
+
id: string;
|
|
4433
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4358
4434
|
lastName: string;
|
|
4359
4435
|
firstName: string;
|
|
4360
4436
|
phoneNumbers: {
|
|
@@ -4366,8 +4442,8 @@ export declare const agentClientLinksContract: {
|
|
|
4366
4442
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4367
4443
|
officeId?: string | null | undefined;
|
|
4368
4444
|
office?: {
|
|
4369
|
-
id: string;
|
|
4370
4445
|
name: string;
|
|
4446
|
+
id: string;
|
|
4371
4447
|
managers?: {
|
|
4372
4448
|
id: string;
|
|
4373
4449
|
lastName: string;
|
|
@@ -4379,20 +4455,21 @@ export declare const agentClientLinksContract: {
|
|
|
4379
4455
|
lastName: string;
|
|
4380
4456
|
firstName: string;
|
|
4381
4457
|
}[] | undefined;
|
|
4458
|
+
dialpadUserId?: string | null | undefined;
|
|
4382
4459
|
deletedAt?: string | null | undefined;
|
|
4383
4460
|
}, {
|
|
4384
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4385
|
-
id: string;
|
|
4386
|
-
updatedAt: string | Date;
|
|
4387
|
-
createdAt: string | Date;
|
|
4388
4461
|
email: string;
|
|
4462
|
+
createdAt: string | Date;
|
|
4463
|
+
updatedAt: string | Date;
|
|
4464
|
+
id: string;
|
|
4465
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4389
4466
|
lastName: string;
|
|
4390
4467
|
firstName: string;
|
|
4391
4468
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4392
4469
|
officeId?: string | null | undefined;
|
|
4393
4470
|
office?: {
|
|
4394
|
-
id: string;
|
|
4395
4471
|
name: string;
|
|
4472
|
+
id: string;
|
|
4396
4473
|
managers?: {
|
|
4397
4474
|
id: string;
|
|
4398
4475
|
lastName: string;
|
|
@@ -4410,6 +4487,7 @@ export declare const agentClientLinksContract: {
|
|
|
4410
4487
|
lastName: string;
|
|
4411
4488
|
firstName: string;
|
|
4412
4489
|
}[] | undefined;
|
|
4490
|
+
dialpadUserId?: string | null | undefined;
|
|
4413
4491
|
deletedAt?: string | Date | null | undefined;
|
|
4414
4492
|
}>>>;
|
|
4415
4493
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -4454,16 +4532,16 @@ export declare const agentClientLinksContract: {
|
|
|
4454
4532
|
firstName: string;
|
|
4455
4533
|
}>, "many">>;
|
|
4456
4534
|
}, "strip", z.ZodTypeAny, {
|
|
4457
|
-
id: string;
|
|
4458
4535
|
name: string;
|
|
4536
|
+
id: string;
|
|
4459
4537
|
managers?: {
|
|
4460
4538
|
id: string;
|
|
4461
4539
|
lastName: string;
|
|
4462
4540
|
firstName: string;
|
|
4463
4541
|
}[] | undefined;
|
|
4464
4542
|
}, {
|
|
4465
|
-
id: string;
|
|
4466
4543
|
name: string;
|
|
4544
|
+
id: string;
|
|
4467
4545
|
managers?: {
|
|
4468
4546
|
id: string;
|
|
4469
4547
|
lastName: string;
|
|
@@ -4484,15 +4562,16 @@ export declare const agentClientLinksContract: {
|
|
|
4484
4562
|
firstName: string;
|
|
4485
4563
|
}>, "many">>;
|
|
4486
4564
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4565
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
4487
4566
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4488
4567
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4489
4568
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
4490
4569
|
}, "strip", z.ZodTypeAny, {
|
|
4491
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4492
|
-
id: string;
|
|
4493
|
-
updatedAt: string;
|
|
4494
|
-
createdAt: string;
|
|
4495
4570
|
email: string;
|
|
4571
|
+
createdAt: string;
|
|
4572
|
+
updatedAt: string;
|
|
4573
|
+
id: string;
|
|
4574
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4496
4575
|
lastName: string;
|
|
4497
4576
|
firstName: string;
|
|
4498
4577
|
phoneNumbers: {
|
|
@@ -4504,8 +4583,8 @@ export declare const agentClientLinksContract: {
|
|
|
4504
4583
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4505
4584
|
officeId?: string | null | undefined;
|
|
4506
4585
|
office?: {
|
|
4507
|
-
id: string;
|
|
4508
4586
|
name: string;
|
|
4587
|
+
id: string;
|
|
4509
4588
|
managers?: {
|
|
4510
4589
|
id: string;
|
|
4511
4590
|
lastName: string;
|
|
@@ -4517,20 +4596,21 @@ export declare const agentClientLinksContract: {
|
|
|
4517
4596
|
lastName: string;
|
|
4518
4597
|
firstName: string;
|
|
4519
4598
|
}[] | undefined;
|
|
4599
|
+
dialpadUserId?: string | null | undefined;
|
|
4520
4600
|
deletedAt?: string | null | undefined;
|
|
4521
4601
|
}, {
|
|
4522
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4523
|
-
id: string;
|
|
4524
|
-
updatedAt: string | Date;
|
|
4525
|
-
createdAt: string | Date;
|
|
4526
4602
|
email: string;
|
|
4603
|
+
createdAt: string | Date;
|
|
4604
|
+
updatedAt: string | Date;
|
|
4605
|
+
id: string;
|
|
4606
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4527
4607
|
lastName: string;
|
|
4528
4608
|
firstName: string;
|
|
4529
4609
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4530
4610
|
officeId?: string | null | undefined;
|
|
4531
4611
|
office?: {
|
|
4532
|
-
id: string;
|
|
4533
4612
|
name: string;
|
|
4613
|
+
id: string;
|
|
4534
4614
|
managers?: {
|
|
4535
4615
|
id: string;
|
|
4536
4616
|
lastName: string;
|
|
@@ -4548,46 +4628,24 @@ export declare const agentClientLinksContract: {
|
|
|
4548
4628
|
lastName: string;
|
|
4549
4629
|
firstName: string;
|
|
4550
4630
|
}[] | undefined;
|
|
4631
|
+
dialpadUserId?: string | null | undefined;
|
|
4551
4632
|
deletedAt?: string | Date | null | undefined;
|
|
4552
4633
|
}>;
|
|
4553
4634
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4554
4635
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4555
4636
|
}, "strip", z.ZodTypeAny, {
|
|
4556
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
4557
|
-
id: string;
|
|
4558
|
-
updatedAt: string;
|
|
4559
4637
|
createdAt: string;
|
|
4560
|
-
|
|
4561
|
-
client: {
|
|
4562
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4563
|
-
id: string;
|
|
4564
|
-
name: string;
|
|
4565
|
-
updatedAt: string;
|
|
4566
|
-
createdAt: string;
|
|
4567
|
-
crn: string | null;
|
|
4568
|
-
govLink: string | null;
|
|
4569
|
-
director: string;
|
|
4570
|
-
soleTrader: boolean;
|
|
4571
|
-
blacklistReason?: string | null | undefined;
|
|
4572
|
-
agentClientLinks?: {
|
|
4573
|
-
agentId: string;
|
|
4574
|
-
} | null | undefined;
|
|
4575
|
-
lastUpdatedBy?: {
|
|
4576
|
-
id: string;
|
|
4577
|
-
email: string;
|
|
4578
|
-
lastName: string;
|
|
4579
|
-
firstName: string;
|
|
4580
|
-
} | null | undefined;
|
|
4581
|
-
};
|
|
4582
|
-
agentId: string;
|
|
4583
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4638
|
+
updatedAt: string;
|
|
4584
4639
|
createdBy: string;
|
|
4640
|
+
id: string;
|
|
4641
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
4642
|
+
agentId: string;
|
|
4585
4643
|
agent: {
|
|
4586
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4587
|
-
id: string;
|
|
4588
|
-
updatedAt: string;
|
|
4589
|
-
createdAt: string;
|
|
4590
4644
|
email: string;
|
|
4645
|
+
createdAt: string;
|
|
4646
|
+
updatedAt: string;
|
|
4647
|
+
id: string;
|
|
4648
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4591
4649
|
lastName: string;
|
|
4592
4650
|
firstName: string;
|
|
4593
4651
|
phoneNumbers: {
|
|
@@ -4599,8 +4657,8 @@ export declare const agentClientLinksContract: {
|
|
|
4599
4657
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4600
4658
|
officeId?: string | null | undefined;
|
|
4601
4659
|
office?: {
|
|
4602
|
-
id: string;
|
|
4603
4660
|
name: string;
|
|
4661
|
+
id: string;
|
|
4604
4662
|
managers?: {
|
|
4605
4663
|
id: string;
|
|
4606
4664
|
lastName: string;
|
|
@@ -4612,14 +4670,38 @@ export declare const agentClientLinksContract: {
|
|
|
4612
4670
|
lastName: string;
|
|
4613
4671
|
firstName: string;
|
|
4614
4672
|
}[] | undefined;
|
|
4673
|
+
dialpadUserId?: string | null | undefined;
|
|
4615
4674
|
deletedAt?: string | null | undefined;
|
|
4616
4675
|
};
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
updatedAt: string;
|
|
4676
|
+
clientId: string;
|
|
4677
|
+
client: {
|
|
4678
|
+
name: string;
|
|
4621
4679
|
createdAt: string;
|
|
4680
|
+
updatedAt: string;
|
|
4681
|
+
id: string;
|
|
4682
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4683
|
+
crn: string | null;
|
|
4684
|
+
govLink: string | null;
|
|
4685
|
+
soleTrader: boolean;
|
|
4686
|
+
director: string;
|
|
4687
|
+
blacklistReason?: string | null | undefined;
|
|
4688
|
+
lastUpdatedBy?: {
|
|
4689
|
+
email: string;
|
|
4690
|
+
id: string;
|
|
4691
|
+
lastName: string;
|
|
4692
|
+
firstName: string;
|
|
4693
|
+
} | null | undefined;
|
|
4694
|
+
agentClientLinks?: {
|
|
4695
|
+
agentId: string;
|
|
4696
|
+
} | null | undefined;
|
|
4697
|
+
};
|
|
4698
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4699
|
+
creator: {
|
|
4622
4700
|
email: string;
|
|
4701
|
+
createdAt: string;
|
|
4702
|
+
updatedAt: string;
|
|
4703
|
+
id: string;
|
|
4704
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4623
4705
|
lastName: string;
|
|
4624
4706
|
firstName: string;
|
|
4625
4707
|
phoneNumbers: {
|
|
@@ -4631,8 +4713,8 @@ export declare const agentClientLinksContract: {
|
|
|
4631
4713
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4632
4714
|
officeId?: string | null | undefined;
|
|
4633
4715
|
office?: {
|
|
4634
|
-
id: string;
|
|
4635
4716
|
name: string;
|
|
4717
|
+
id: string;
|
|
4636
4718
|
managers?: {
|
|
4637
4719
|
id: string;
|
|
4638
4720
|
lastName: string;
|
|
@@ -4644,18 +4726,18 @@ export declare const agentClientLinksContract: {
|
|
|
4644
4726
|
lastName: string;
|
|
4645
4727
|
firstName: string;
|
|
4646
4728
|
}[] | undefined;
|
|
4729
|
+
dialpadUserId?: string | null | undefined;
|
|
4647
4730
|
deletedAt?: string | null | undefined;
|
|
4648
4731
|
};
|
|
4649
|
-
reviewedAt?: string | null | undefined;
|
|
4650
4732
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
4651
4733
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
4652
4734
|
reviewedBy?: string | null | undefined;
|
|
4653
4735
|
reviewer?: {
|
|
4654
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4655
|
-
id: string;
|
|
4656
|
-
updatedAt: string;
|
|
4657
|
-
createdAt: string;
|
|
4658
4736
|
email: string;
|
|
4737
|
+
createdAt: string;
|
|
4738
|
+
updatedAt: string;
|
|
4739
|
+
id: string;
|
|
4740
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4659
4741
|
lastName: string;
|
|
4660
4742
|
firstName: string;
|
|
4661
4743
|
phoneNumbers: {
|
|
@@ -4667,8 +4749,8 @@ export declare const agentClientLinksContract: {
|
|
|
4667
4749
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4668
4750
|
officeId?: string | null | undefined;
|
|
4669
4751
|
office?: {
|
|
4670
|
-
id: string;
|
|
4671
4752
|
name: string;
|
|
4753
|
+
id: string;
|
|
4672
4754
|
managers?: {
|
|
4673
4755
|
id: string;
|
|
4674
4756
|
lastName: string;
|
|
@@ -4680,51 +4762,30 @@ export declare const agentClientLinksContract: {
|
|
|
4680
4762
|
lastName: string;
|
|
4681
4763
|
firstName: string;
|
|
4682
4764
|
}[] | undefined;
|
|
4765
|
+
dialpadUserId?: string | null | undefined;
|
|
4683
4766
|
deletedAt?: string | null | undefined;
|
|
4684
4767
|
} | null | undefined;
|
|
4768
|
+
reviewedAt?: string | null | undefined;
|
|
4685
4769
|
}, {
|
|
4686
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
4687
|
-
id: string;
|
|
4688
|
-
updatedAt: string | Date;
|
|
4689
4770
|
createdAt: string | Date;
|
|
4690
|
-
|
|
4691
|
-
client: {
|
|
4692
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4693
|
-
id: string;
|
|
4694
|
-
name: string;
|
|
4695
|
-
updatedAt: string | Date;
|
|
4696
|
-
createdAt: string | Date;
|
|
4697
|
-
crn: string | null;
|
|
4698
|
-
govLink: string | null;
|
|
4699
|
-
director: string;
|
|
4700
|
-
soleTrader: boolean;
|
|
4701
|
-
blacklistReason?: string | null | undefined;
|
|
4702
|
-
agentClientLinks?: {
|
|
4703
|
-
agentId: string;
|
|
4704
|
-
} | null | undefined;
|
|
4705
|
-
lastUpdatedBy?: {
|
|
4706
|
-
id: string;
|
|
4707
|
-
email: string;
|
|
4708
|
-
lastName: string;
|
|
4709
|
-
firstName: string;
|
|
4710
|
-
} | null | undefined;
|
|
4711
|
-
};
|
|
4712
|
-
agentId: string;
|
|
4713
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4771
|
+
updatedAt: string | Date;
|
|
4714
4772
|
createdBy: string;
|
|
4773
|
+
id: string;
|
|
4774
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
4775
|
+
agentId: string;
|
|
4715
4776
|
agent: {
|
|
4716
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4717
|
-
id: string;
|
|
4718
|
-
updatedAt: string | Date;
|
|
4719
|
-
createdAt: string | Date;
|
|
4720
4777
|
email: string;
|
|
4778
|
+
createdAt: string | Date;
|
|
4779
|
+
updatedAt: string | Date;
|
|
4780
|
+
id: string;
|
|
4781
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4721
4782
|
lastName: string;
|
|
4722
4783
|
firstName: string;
|
|
4723
4784
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4724
4785
|
officeId?: string | null | undefined;
|
|
4725
4786
|
office?: {
|
|
4726
|
-
id: string;
|
|
4727
4787
|
name: string;
|
|
4788
|
+
id: string;
|
|
4728
4789
|
managers?: {
|
|
4729
4790
|
id: string;
|
|
4730
4791
|
lastName: string;
|
|
@@ -4742,21 +4803,45 @@ export declare const agentClientLinksContract: {
|
|
|
4742
4803
|
lastName: string;
|
|
4743
4804
|
firstName: string;
|
|
4744
4805
|
}[] | undefined;
|
|
4806
|
+
dialpadUserId?: string | null | undefined;
|
|
4745
4807
|
deletedAt?: string | Date | null | undefined;
|
|
4746
4808
|
};
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
updatedAt: string | Date;
|
|
4809
|
+
clientId: string;
|
|
4810
|
+
client: {
|
|
4811
|
+
name: string;
|
|
4751
4812
|
createdAt: string | Date;
|
|
4813
|
+
updatedAt: string | Date;
|
|
4814
|
+
id: string;
|
|
4815
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4816
|
+
crn: string | null;
|
|
4817
|
+
govLink: string | null;
|
|
4818
|
+
soleTrader: boolean;
|
|
4819
|
+
director: string;
|
|
4820
|
+
blacklistReason?: string | null | undefined;
|
|
4821
|
+
lastUpdatedBy?: {
|
|
4822
|
+
email: string;
|
|
4823
|
+
id: string;
|
|
4824
|
+
lastName: string;
|
|
4825
|
+
firstName: string;
|
|
4826
|
+
} | null | undefined;
|
|
4827
|
+
agentClientLinks?: {
|
|
4828
|
+
agentId: string;
|
|
4829
|
+
} | null | undefined;
|
|
4830
|
+
};
|
|
4831
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
4832
|
+
creator: {
|
|
4752
4833
|
email: string;
|
|
4834
|
+
createdAt: string | Date;
|
|
4835
|
+
updatedAt: string | Date;
|
|
4836
|
+
id: string;
|
|
4837
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4753
4838
|
lastName: string;
|
|
4754
4839
|
firstName: string;
|
|
4755
4840
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4756
4841
|
officeId?: string | null | undefined;
|
|
4757
4842
|
office?: {
|
|
4758
|
-
id: string;
|
|
4759
4843
|
name: string;
|
|
4844
|
+
id: string;
|
|
4760
4845
|
managers?: {
|
|
4761
4846
|
id: string;
|
|
4762
4847
|
lastName: string;
|
|
@@ -4774,25 +4859,25 @@ export declare const agentClientLinksContract: {
|
|
|
4774
4859
|
lastName: string;
|
|
4775
4860
|
firstName: string;
|
|
4776
4861
|
}[] | undefined;
|
|
4862
|
+
dialpadUserId?: string | null | undefined;
|
|
4777
4863
|
deletedAt?: string | Date | null | undefined;
|
|
4778
4864
|
};
|
|
4779
|
-
reviewedAt?: string | Date | null | undefined;
|
|
4780
4865
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
4781
4866
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
4782
4867
|
reviewedBy?: string | null | undefined;
|
|
4783
4868
|
reviewer?: {
|
|
4784
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4785
|
-
id: string;
|
|
4786
|
-
updatedAt: string | Date;
|
|
4787
|
-
createdAt: string | Date;
|
|
4788
4869
|
email: string;
|
|
4870
|
+
createdAt: string | Date;
|
|
4871
|
+
updatedAt: string | Date;
|
|
4872
|
+
id: string;
|
|
4873
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4789
4874
|
lastName: string;
|
|
4790
4875
|
firstName: string;
|
|
4791
4876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4792
4877
|
officeId?: string | null | undefined;
|
|
4793
4878
|
office?: {
|
|
4794
|
-
id: string;
|
|
4795
4879
|
name: string;
|
|
4880
|
+
id: string;
|
|
4796
4881
|
managers?: {
|
|
4797
4882
|
id: string;
|
|
4798
4883
|
lastName: string;
|
|
@@ -4810,8 +4895,10 @@ export declare const agentClientLinksContract: {
|
|
|
4810
4895
|
lastName: string;
|
|
4811
4896
|
firstName: string;
|
|
4812
4897
|
}[] | undefined;
|
|
4898
|
+
dialpadUserId?: string | null | undefined;
|
|
4813
4899
|
deletedAt?: string | Date | null | undefined;
|
|
4814
4900
|
} | null | undefined;
|
|
4901
|
+
reviewedAt?: string | Date | null | undefined;
|
|
4815
4902
|
}>;
|
|
4816
4903
|
404: z.ZodObject<{
|
|
4817
4904
|
statusCode: z.ZodNumber;
|
|
@@ -4859,12 +4946,12 @@ export declare const agentClientLinksContract: {
|
|
|
4859
4946
|
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4860
4947
|
status: z.ZodOptional<z.ZodEnum<["PENDING_REVIEW", "APPROVED", "REJECTED"]>>;
|
|
4861
4948
|
}, "strip", z.ZodTypeAny, {
|
|
4862
|
-
status?: "
|
|
4949
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
4863
4950
|
clientId?: string | undefined;
|
|
4864
4951
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
4865
4952
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
4866
4953
|
}, {
|
|
4867
|
-
status?: "
|
|
4954
|
+
status?: "REJECTED" | "APPROVED" | "PENDING_REVIEW" | undefined;
|
|
4868
4955
|
clientId?: string | undefined;
|
|
4869
4956
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
4870
4957
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -4896,7 +4983,7 @@ export declare const agentClientLinksContract: {
|
|
|
4896
4983
|
details?: unknown;
|
|
4897
4984
|
correlationId?: string | undefined;
|
|
4898
4985
|
}>;
|
|
4899
|
-
|
|
4986
|
+
403: z.ZodObject<{
|
|
4900
4987
|
statusCode: z.ZodNumber;
|
|
4901
4988
|
message: z.ZodString;
|
|
4902
4989
|
code: z.ZodString;
|
|
@@ -4921,7 +5008,7 @@ export declare const agentClientLinksContract: {
|
|
|
4921
5008
|
details?: unknown;
|
|
4922
5009
|
correlationId?: string | undefined;
|
|
4923
5010
|
}>;
|
|
4924
|
-
|
|
5011
|
+
401: z.ZodObject<{
|
|
4925
5012
|
statusCode: z.ZodNumber;
|
|
4926
5013
|
message: z.ZodString;
|
|
4927
5014
|
code: z.ZodString;
|
|
@@ -4989,13 +5076,13 @@ export declare const agentClientLinksContract: {
|
|
|
4989
5076
|
lastName: z.ZodString;
|
|
4990
5077
|
email: z.ZodString;
|
|
4991
5078
|
}, "strip", z.ZodTypeAny, {
|
|
4992
|
-
id: string;
|
|
4993
5079
|
email: string;
|
|
5080
|
+
id: string;
|
|
4994
5081
|
lastName: string;
|
|
4995
5082
|
firstName: string;
|
|
4996
5083
|
}, {
|
|
4997
|
-
id: string;
|
|
4998
5084
|
email: string;
|
|
5085
|
+
id: string;
|
|
4999
5086
|
lastName: string;
|
|
5000
5087
|
firstName: string;
|
|
5001
5088
|
}>>>;
|
|
@@ -5009,45 +5096,45 @@ export declare const agentClientLinksContract: {
|
|
|
5009
5096
|
agentId: string;
|
|
5010
5097
|
}>>>;
|
|
5011
5098
|
}, "strip", z.ZodTypeAny, {
|
|
5012
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5013
|
-
id: string;
|
|
5014
5099
|
name: string;
|
|
5015
|
-
updatedAt: string;
|
|
5016
5100
|
createdAt: string;
|
|
5101
|
+
updatedAt: string;
|
|
5102
|
+
id: string;
|
|
5103
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5017
5104
|
crn: string | null;
|
|
5018
5105
|
govLink: string | null;
|
|
5019
|
-
director: string;
|
|
5020
5106
|
soleTrader: boolean;
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
agentId: string;
|
|
5024
|
-
} | null | undefined;
|
|
5107
|
+
director: string;
|
|
5108
|
+
blacklistReason?: string | null | undefined;
|
|
5025
5109
|
lastUpdatedBy?: {
|
|
5026
|
-
id: string;
|
|
5027
5110
|
email: string;
|
|
5111
|
+
id: string;
|
|
5028
5112
|
lastName: string;
|
|
5029
5113
|
firstName: string;
|
|
5030
5114
|
} | null | undefined;
|
|
5115
|
+
agentClientLinks?: {
|
|
5116
|
+
agentId: string;
|
|
5117
|
+
} | null | undefined;
|
|
5031
5118
|
}, {
|
|
5032
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5033
|
-
id: string;
|
|
5034
5119
|
name: string;
|
|
5035
|
-
updatedAt: string | Date;
|
|
5036
5120
|
createdAt: string | Date;
|
|
5121
|
+
updatedAt: string | Date;
|
|
5122
|
+
id: string;
|
|
5123
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5037
5124
|
crn: string | null;
|
|
5038
5125
|
govLink: string | null;
|
|
5039
|
-
director: string;
|
|
5040
5126
|
soleTrader: boolean;
|
|
5127
|
+
director: string;
|
|
5041
5128
|
blacklistReason?: string | null | undefined;
|
|
5042
|
-
agentClientLinks?: {
|
|
5043
|
-
agentId: string;
|
|
5044
|
-
} | null | undefined;
|
|
5045
5129
|
lastUpdatedBy?: {
|
|
5046
|
-
id: string;
|
|
5047
5130
|
email: string;
|
|
5131
|
+
id: string;
|
|
5048
5132
|
lastName: string;
|
|
5049
5133
|
firstName: string;
|
|
5050
5134
|
} | null | undefined;
|
|
5135
|
+
agentClientLinks?: {
|
|
5136
|
+
agentId: string;
|
|
5137
|
+
} | null | undefined;
|
|
5051
5138
|
}>;
|
|
5052
5139
|
agentId: z.ZodString;
|
|
5053
5140
|
agent: z.ZodObject<{
|
|
@@ -5090,16 +5177,16 @@ export declare const agentClientLinksContract: {
|
|
|
5090
5177
|
firstName: string;
|
|
5091
5178
|
}>, "many">>;
|
|
5092
5179
|
}, "strip", z.ZodTypeAny, {
|
|
5093
|
-
id: string;
|
|
5094
5180
|
name: string;
|
|
5181
|
+
id: string;
|
|
5095
5182
|
managers?: {
|
|
5096
5183
|
id: string;
|
|
5097
5184
|
lastName: string;
|
|
5098
5185
|
firstName: string;
|
|
5099
5186
|
}[] | undefined;
|
|
5100
5187
|
}, {
|
|
5101
|
-
id: string;
|
|
5102
5188
|
name: string;
|
|
5189
|
+
id: string;
|
|
5103
5190
|
managers?: {
|
|
5104
5191
|
id: string;
|
|
5105
5192
|
lastName: string;
|
|
@@ -5120,15 +5207,16 @@ export declare const agentClientLinksContract: {
|
|
|
5120
5207
|
firstName: string;
|
|
5121
5208
|
}>, "many">>;
|
|
5122
5209
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
5210
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
5123
5211
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5124
5212
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5125
5213
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
5126
5214
|
}, "strip", z.ZodTypeAny, {
|
|
5127
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5128
|
-
id: string;
|
|
5129
|
-
updatedAt: string;
|
|
5130
|
-
createdAt: string;
|
|
5131
5215
|
email: string;
|
|
5216
|
+
createdAt: string;
|
|
5217
|
+
updatedAt: string;
|
|
5218
|
+
id: string;
|
|
5219
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5132
5220
|
lastName: string;
|
|
5133
5221
|
firstName: string;
|
|
5134
5222
|
phoneNumbers: {
|
|
@@ -5140,8 +5228,8 @@ export declare const agentClientLinksContract: {
|
|
|
5140
5228
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5141
5229
|
officeId?: string | null | undefined;
|
|
5142
5230
|
office?: {
|
|
5143
|
-
id: string;
|
|
5144
5231
|
name: string;
|
|
5232
|
+
id: string;
|
|
5145
5233
|
managers?: {
|
|
5146
5234
|
id: string;
|
|
5147
5235
|
lastName: string;
|
|
@@ -5153,20 +5241,21 @@ export declare const agentClientLinksContract: {
|
|
|
5153
5241
|
lastName: string;
|
|
5154
5242
|
firstName: string;
|
|
5155
5243
|
}[] | undefined;
|
|
5244
|
+
dialpadUserId?: string | null | undefined;
|
|
5156
5245
|
deletedAt?: string | null | undefined;
|
|
5157
5246
|
}, {
|
|
5158
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5159
|
-
id: string;
|
|
5160
|
-
updatedAt: string | Date;
|
|
5161
|
-
createdAt: string | Date;
|
|
5162
5247
|
email: string;
|
|
5248
|
+
createdAt: string | Date;
|
|
5249
|
+
updatedAt: string | Date;
|
|
5250
|
+
id: string;
|
|
5251
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5163
5252
|
lastName: string;
|
|
5164
5253
|
firstName: string;
|
|
5165
5254
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5166
5255
|
officeId?: string | null | undefined;
|
|
5167
5256
|
office?: {
|
|
5168
|
-
id: string;
|
|
5169
5257
|
name: string;
|
|
5258
|
+
id: string;
|
|
5170
5259
|
managers?: {
|
|
5171
5260
|
id: string;
|
|
5172
5261
|
lastName: string;
|
|
@@ -5184,6 +5273,7 @@ export declare const agentClientLinksContract: {
|
|
|
5184
5273
|
lastName: string;
|
|
5185
5274
|
firstName: string;
|
|
5186
5275
|
}[] | undefined;
|
|
5276
|
+
dialpadUserId?: string | null | undefined;
|
|
5187
5277
|
deletedAt?: string | Date | null | undefined;
|
|
5188
5278
|
}>;
|
|
5189
5279
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
@@ -5231,16 +5321,16 @@ export declare const agentClientLinksContract: {
|
|
|
5231
5321
|
firstName: string;
|
|
5232
5322
|
}>, "many">>;
|
|
5233
5323
|
}, "strip", z.ZodTypeAny, {
|
|
5234
|
-
id: string;
|
|
5235
5324
|
name: string;
|
|
5325
|
+
id: string;
|
|
5236
5326
|
managers?: {
|
|
5237
5327
|
id: string;
|
|
5238
5328
|
lastName: string;
|
|
5239
5329
|
firstName: string;
|
|
5240
5330
|
}[] | undefined;
|
|
5241
5331
|
}, {
|
|
5242
|
-
id: string;
|
|
5243
5332
|
name: string;
|
|
5333
|
+
id: string;
|
|
5244
5334
|
managers?: {
|
|
5245
5335
|
id: string;
|
|
5246
5336
|
lastName: string;
|
|
@@ -5261,15 +5351,16 @@ export declare const agentClientLinksContract: {
|
|
|
5261
5351
|
firstName: string;
|
|
5262
5352
|
}>, "many">>;
|
|
5263
5353
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
5354
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
5264
5355
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5265
5356
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5266
5357
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
5267
5358
|
}, "strip", z.ZodTypeAny, {
|
|
5268
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5269
|
-
id: string;
|
|
5270
|
-
updatedAt: string;
|
|
5271
|
-
createdAt: string;
|
|
5272
5359
|
email: string;
|
|
5360
|
+
createdAt: string;
|
|
5361
|
+
updatedAt: string;
|
|
5362
|
+
id: string;
|
|
5363
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5273
5364
|
lastName: string;
|
|
5274
5365
|
firstName: string;
|
|
5275
5366
|
phoneNumbers: {
|
|
@@ -5281,8 +5372,8 @@ export declare const agentClientLinksContract: {
|
|
|
5281
5372
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5282
5373
|
officeId?: string | null | undefined;
|
|
5283
5374
|
office?: {
|
|
5284
|
-
id: string;
|
|
5285
5375
|
name: string;
|
|
5376
|
+
id: string;
|
|
5286
5377
|
managers?: {
|
|
5287
5378
|
id: string;
|
|
5288
5379
|
lastName: string;
|
|
@@ -5294,20 +5385,21 @@ export declare const agentClientLinksContract: {
|
|
|
5294
5385
|
lastName: string;
|
|
5295
5386
|
firstName: string;
|
|
5296
5387
|
}[] | undefined;
|
|
5388
|
+
dialpadUserId?: string | null | undefined;
|
|
5297
5389
|
deletedAt?: string | null | undefined;
|
|
5298
5390
|
}, {
|
|
5299
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5300
|
-
id: string;
|
|
5301
|
-
updatedAt: string | Date;
|
|
5302
|
-
createdAt: string | Date;
|
|
5303
5391
|
email: string;
|
|
5392
|
+
createdAt: string | Date;
|
|
5393
|
+
updatedAt: string | Date;
|
|
5394
|
+
id: string;
|
|
5395
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5304
5396
|
lastName: string;
|
|
5305
5397
|
firstName: string;
|
|
5306
5398
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5307
5399
|
officeId?: string | null | undefined;
|
|
5308
5400
|
office?: {
|
|
5309
|
-
id: string;
|
|
5310
5401
|
name: string;
|
|
5402
|
+
id: string;
|
|
5311
5403
|
managers?: {
|
|
5312
5404
|
id: string;
|
|
5313
5405
|
lastName: string;
|
|
@@ -5325,6 +5417,7 @@ export declare const agentClientLinksContract: {
|
|
|
5325
5417
|
lastName: string;
|
|
5326
5418
|
firstName: string;
|
|
5327
5419
|
}[] | undefined;
|
|
5420
|
+
dialpadUserId?: string | null | undefined;
|
|
5328
5421
|
deletedAt?: string | Date | null | undefined;
|
|
5329
5422
|
}>>>;
|
|
5330
5423
|
reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
@@ -5369,16 +5462,16 @@ export declare const agentClientLinksContract: {
|
|
|
5369
5462
|
firstName: string;
|
|
5370
5463
|
}>, "many">>;
|
|
5371
5464
|
}, "strip", z.ZodTypeAny, {
|
|
5372
|
-
id: string;
|
|
5373
5465
|
name: string;
|
|
5466
|
+
id: string;
|
|
5374
5467
|
managers?: {
|
|
5375
5468
|
id: string;
|
|
5376
5469
|
lastName: string;
|
|
5377
5470
|
firstName: string;
|
|
5378
5471
|
}[] | undefined;
|
|
5379
5472
|
}, {
|
|
5380
|
-
id: string;
|
|
5381
5473
|
name: string;
|
|
5474
|
+
id: string;
|
|
5382
5475
|
managers?: {
|
|
5383
5476
|
id: string;
|
|
5384
5477
|
lastName: string;
|
|
@@ -5399,15 +5492,16 @@ export declare const agentClientLinksContract: {
|
|
|
5399
5492
|
firstName: string;
|
|
5400
5493
|
}>, "many">>;
|
|
5401
5494
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
5495
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
5402
5496
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5403
5497
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5404
5498
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
5405
5499
|
}, "strip", z.ZodTypeAny, {
|
|
5406
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5407
|
-
id: string;
|
|
5408
|
-
updatedAt: string;
|
|
5409
|
-
createdAt: string;
|
|
5410
5500
|
email: string;
|
|
5501
|
+
createdAt: string;
|
|
5502
|
+
updatedAt: string;
|
|
5503
|
+
id: string;
|
|
5504
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5411
5505
|
lastName: string;
|
|
5412
5506
|
firstName: string;
|
|
5413
5507
|
phoneNumbers: {
|
|
@@ -5419,8 +5513,8 @@ export declare const agentClientLinksContract: {
|
|
|
5419
5513
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5420
5514
|
officeId?: string | null | undefined;
|
|
5421
5515
|
office?: {
|
|
5422
|
-
id: string;
|
|
5423
5516
|
name: string;
|
|
5517
|
+
id: string;
|
|
5424
5518
|
managers?: {
|
|
5425
5519
|
id: string;
|
|
5426
5520
|
lastName: string;
|
|
@@ -5432,20 +5526,21 @@ export declare const agentClientLinksContract: {
|
|
|
5432
5526
|
lastName: string;
|
|
5433
5527
|
firstName: string;
|
|
5434
5528
|
}[] | undefined;
|
|
5529
|
+
dialpadUserId?: string | null | undefined;
|
|
5435
5530
|
deletedAt?: string | null | undefined;
|
|
5436
5531
|
}, {
|
|
5437
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5438
|
-
id: string;
|
|
5439
|
-
updatedAt: string | Date;
|
|
5440
|
-
createdAt: string | Date;
|
|
5441
5532
|
email: string;
|
|
5533
|
+
createdAt: string | Date;
|
|
5534
|
+
updatedAt: string | Date;
|
|
5535
|
+
id: string;
|
|
5536
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5442
5537
|
lastName: string;
|
|
5443
5538
|
firstName: string;
|
|
5444
5539
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5445
5540
|
officeId?: string | null | undefined;
|
|
5446
5541
|
office?: {
|
|
5447
|
-
id: string;
|
|
5448
5542
|
name: string;
|
|
5543
|
+
id: string;
|
|
5449
5544
|
managers?: {
|
|
5450
5545
|
id: string;
|
|
5451
5546
|
lastName: string;
|
|
@@ -5463,46 +5558,24 @@ export declare const agentClientLinksContract: {
|
|
|
5463
5558
|
lastName: string;
|
|
5464
5559
|
firstName: string;
|
|
5465
5560
|
}[] | undefined;
|
|
5561
|
+
dialpadUserId?: string | null | undefined;
|
|
5466
5562
|
deletedAt?: string | Date | null | undefined;
|
|
5467
5563
|
}>;
|
|
5468
5564
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5469
5565
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5470
5566
|
}, "strip", z.ZodTypeAny, {
|
|
5471
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
5472
|
-
id: string;
|
|
5473
|
-
updatedAt: string;
|
|
5474
5567
|
createdAt: string;
|
|
5475
|
-
|
|
5476
|
-
client: {
|
|
5477
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5478
|
-
id: string;
|
|
5479
|
-
name: string;
|
|
5480
|
-
updatedAt: string;
|
|
5481
|
-
createdAt: string;
|
|
5482
|
-
crn: string | null;
|
|
5483
|
-
govLink: string | null;
|
|
5484
|
-
director: string;
|
|
5485
|
-
soleTrader: boolean;
|
|
5486
|
-
blacklistReason?: string | null | undefined;
|
|
5487
|
-
agentClientLinks?: {
|
|
5488
|
-
agentId: string;
|
|
5489
|
-
} | null | undefined;
|
|
5490
|
-
lastUpdatedBy?: {
|
|
5491
|
-
id: string;
|
|
5492
|
-
email: string;
|
|
5493
|
-
lastName: string;
|
|
5494
|
-
firstName: string;
|
|
5495
|
-
} | null | undefined;
|
|
5496
|
-
};
|
|
5497
|
-
agentId: string;
|
|
5498
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
5568
|
+
updatedAt: string;
|
|
5499
5569
|
createdBy: string;
|
|
5570
|
+
id: string;
|
|
5571
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
5572
|
+
agentId: string;
|
|
5500
5573
|
agent: {
|
|
5501
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5502
|
-
id: string;
|
|
5503
|
-
updatedAt: string;
|
|
5504
|
-
createdAt: string;
|
|
5505
5574
|
email: string;
|
|
5575
|
+
createdAt: string;
|
|
5576
|
+
updatedAt: string;
|
|
5577
|
+
id: string;
|
|
5578
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5506
5579
|
lastName: string;
|
|
5507
5580
|
firstName: string;
|
|
5508
5581
|
phoneNumbers: {
|
|
@@ -5514,8 +5587,8 @@ export declare const agentClientLinksContract: {
|
|
|
5514
5587
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5515
5588
|
officeId?: string | null | undefined;
|
|
5516
5589
|
office?: {
|
|
5517
|
-
id: string;
|
|
5518
5590
|
name: string;
|
|
5591
|
+
id: string;
|
|
5519
5592
|
managers?: {
|
|
5520
5593
|
id: string;
|
|
5521
5594
|
lastName: string;
|
|
@@ -5527,14 +5600,38 @@ export declare const agentClientLinksContract: {
|
|
|
5527
5600
|
lastName: string;
|
|
5528
5601
|
firstName: string;
|
|
5529
5602
|
}[] | undefined;
|
|
5603
|
+
dialpadUserId?: string | null | undefined;
|
|
5530
5604
|
deletedAt?: string | null | undefined;
|
|
5531
5605
|
};
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
updatedAt: string;
|
|
5606
|
+
clientId: string;
|
|
5607
|
+
client: {
|
|
5608
|
+
name: string;
|
|
5536
5609
|
createdAt: string;
|
|
5610
|
+
updatedAt: string;
|
|
5611
|
+
id: string;
|
|
5612
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5613
|
+
crn: string | null;
|
|
5614
|
+
govLink: string | null;
|
|
5615
|
+
soleTrader: boolean;
|
|
5616
|
+
director: string;
|
|
5617
|
+
blacklistReason?: string | null | undefined;
|
|
5618
|
+
lastUpdatedBy?: {
|
|
5619
|
+
email: string;
|
|
5620
|
+
id: string;
|
|
5621
|
+
lastName: string;
|
|
5622
|
+
firstName: string;
|
|
5623
|
+
} | null | undefined;
|
|
5624
|
+
agentClientLinks?: {
|
|
5625
|
+
agentId: string;
|
|
5626
|
+
} | null | undefined;
|
|
5627
|
+
};
|
|
5628
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
5629
|
+
creator: {
|
|
5537
5630
|
email: string;
|
|
5631
|
+
createdAt: string;
|
|
5632
|
+
updatedAt: string;
|
|
5633
|
+
id: string;
|
|
5634
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5538
5635
|
lastName: string;
|
|
5539
5636
|
firstName: string;
|
|
5540
5637
|
phoneNumbers: {
|
|
@@ -5546,8 +5643,8 @@ export declare const agentClientLinksContract: {
|
|
|
5546
5643
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5547
5644
|
officeId?: string | null | undefined;
|
|
5548
5645
|
office?: {
|
|
5549
|
-
id: string;
|
|
5550
5646
|
name: string;
|
|
5647
|
+
id: string;
|
|
5551
5648
|
managers?: {
|
|
5552
5649
|
id: string;
|
|
5553
5650
|
lastName: string;
|
|
@@ -5559,18 +5656,18 @@ export declare const agentClientLinksContract: {
|
|
|
5559
5656
|
lastName: string;
|
|
5560
5657
|
firstName: string;
|
|
5561
5658
|
}[] | undefined;
|
|
5659
|
+
dialpadUserId?: string | null | undefined;
|
|
5562
5660
|
deletedAt?: string | null | undefined;
|
|
5563
5661
|
};
|
|
5564
|
-
reviewedAt?: string | null | undefined;
|
|
5565
5662
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
5566
5663
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
5567
5664
|
reviewedBy?: string | null | undefined;
|
|
5568
5665
|
reviewer?: {
|
|
5569
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5570
|
-
id: string;
|
|
5571
|
-
updatedAt: string;
|
|
5572
|
-
createdAt: string;
|
|
5573
5666
|
email: string;
|
|
5667
|
+
createdAt: string;
|
|
5668
|
+
updatedAt: string;
|
|
5669
|
+
id: string;
|
|
5670
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5574
5671
|
lastName: string;
|
|
5575
5672
|
firstName: string;
|
|
5576
5673
|
phoneNumbers: {
|
|
@@ -5582,8 +5679,8 @@ export declare const agentClientLinksContract: {
|
|
|
5582
5679
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5583
5680
|
officeId?: string | null | undefined;
|
|
5584
5681
|
office?: {
|
|
5585
|
-
id: string;
|
|
5586
5682
|
name: string;
|
|
5683
|
+
id: string;
|
|
5587
5684
|
managers?: {
|
|
5588
5685
|
id: string;
|
|
5589
5686
|
lastName: string;
|
|
@@ -5595,51 +5692,30 @@ export declare const agentClientLinksContract: {
|
|
|
5595
5692
|
lastName: string;
|
|
5596
5693
|
firstName: string;
|
|
5597
5694
|
}[] | undefined;
|
|
5695
|
+
dialpadUserId?: string | null | undefined;
|
|
5598
5696
|
deletedAt?: string | null | undefined;
|
|
5599
5697
|
} | null | undefined;
|
|
5698
|
+
reviewedAt?: string | null | undefined;
|
|
5600
5699
|
}, {
|
|
5601
|
-
status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
|
|
5602
|
-
id: string;
|
|
5603
|
-
updatedAt: string | Date;
|
|
5604
5700
|
createdAt: string | Date;
|
|
5605
|
-
|
|
5606
|
-
client: {
|
|
5607
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5608
|
-
id: string;
|
|
5609
|
-
name: string;
|
|
5610
|
-
updatedAt: string | Date;
|
|
5611
|
-
createdAt: string | Date;
|
|
5612
|
-
crn: string | null;
|
|
5613
|
-
govLink: string | null;
|
|
5614
|
-
director: string;
|
|
5615
|
-
soleTrader: boolean;
|
|
5616
|
-
blacklistReason?: string | null | undefined;
|
|
5617
|
-
agentClientLinks?: {
|
|
5618
|
-
agentId: string;
|
|
5619
|
-
} | null | undefined;
|
|
5620
|
-
lastUpdatedBy?: {
|
|
5621
|
-
id: string;
|
|
5622
|
-
email: string;
|
|
5623
|
-
lastName: string;
|
|
5624
|
-
firstName: string;
|
|
5625
|
-
} | null | undefined;
|
|
5626
|
-
};
|
|
5627
|
-
agentId: string;
|
|
5628
|
-
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
5701
|
+
updatedAt: string | Date;
|
|
5629
5702
|
createdBy: string;
|
|
5703
|
+
id: string;
|
|
5704
|
+
status: "REJECTED" | "APPROVED" | "PENDING_REVIEW";
|
|
5705
|
+
agentId: string;
|
|
5630
5706
|
agent: {
|
|
5631
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5632
|
-
id: string;
|
|
5633
|
-
updatedAt: string | Date;
|
|
5634
|
-
createdAt: string | Date;
|
|
5635
5707
|
email: string;
|
|
5708
|
+
createdAt: string | Date;
|
|
5709
|
+
updatedAt: string | Date;
|
|
5710
|
+
id: string;
|
|
5711
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5636
5712
|
lastName: string;
|
|
5637
5713
|
firstName: string;
|
|
5638
5714
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5639
5715
|
officeId?: string | null | undefined;
|
|
5640
5716
|
office?: {
|
|
5641
|
-
id: string;
|
|
5642
5717
|
name: string;
|
|
5718
|
+
id: string;
|
|
5643
5719
|
managers?: {
|
|
5644
5720
|
id: string;
|
|
5645
5721
|
lastName: string;
|
|
@@ -5657,21 +5733,45 @@ export declare const agentClientLinksContract: {
|
|
|
5657
5733
|
lastName: string;
|
|
5658
5734
|
firstName: string;
|
|
5659
5735
|
}[] | undefined;
|
|
5736
|
+
dialpadUserId?: string | null | undefined;
|
|
5660
5737
|
deletedAt?: string | Date | null | undefined;
|
|
5661
5738
|
};
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
updatedAt: string | Date;
|
|
5739
|
+
clientId: string;
|
|
5740
|
+
client: {
|
|
5741
|
+
name: string;
|
|
5666
5742
|
createdAt: string | Date;
|
|
5743
|
+
updatedAt: string | Date;
|
|
5744
|
+
id: string;
|
|
5745
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
5746
|
+
crn: string | null;
|
|
5747
|
+
govLink: string | null;
|
|
5748
|
+
soleTrader: boolean;
|
|
5749
|
+
director: string;
|
|
5750
|
+
blacklistReason?: string | null | undefined;
|
|
5751
|
+
lastUpdatedBy?: {
|
|
5752
|
+
email: string;
|
|
5753
|
+
id: string;
|
|
5754
|
+
lastName: string;
|
|
5755
|
+
firstName: string;
|
|
5756
|
+
} | null | undefined;
|
|
5757
|
+
agentClientLinks?: {
|
|
5758
|
+
agentId: string;
|
|
5759
|
+
} | null | undefined;
|
|
5760
|
+
};
|
|
5761
|
+
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
5762
|
+
creator: {
|
|
5667
5763
|
email: string;
|
|
5764
|
+
createdAt: string | Date;
|
|
5765
|
+
updatedAt: string | Date;
|
|
5766
|
+
id: string;
|
|
5767
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5668
5768
|
lastName: string;
|
|
5669
5769
|
firstName: string;
|
|
5670
5770
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5671
5771
|
officeId?: string | null | undefined;
|
|
5672
5772
|
office?: {
|
|
5673
|
-
id: string;
|
|
5674
5773
|
name: string;
|
|
5774
|
+
id: string;
|
|
5675
5775
|
managers?: {
|
|
5676
5776
|
id: string;
|
|
5677
5777
|
lastName: string;
|
|
@@ -5689,25 +5789,25 @@ export declare const agentClientLinksContract: {
|
|
|
5689
5789
|
lastName: string;
|
|
5690
5790
|
firstName: string;
|
|
5691
5791
|
}[] | undefined;
|
|
5792
|
+
dialpadUserId?: string | null | undefined;
|
|
5692
5793
|
deletedAt?: string | Date | null | undefined;
|
|
5693
5794
|
};
|
|
5694
|
-
reviewedAt?: string | Date | null | undefined;
|
|
5695
5795
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
5696
5796
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
5697
5797
|
reviewedBy?: string | null | undefined;
|
|
5698
5798
|
reviewer?: {
|
|
5699
|
-
status: "ACTIVE" | "INACTIVE";
|
|
5700
|
-
id: string;
|
|
5701
|
-
updatedAt: string | Date;
|
|
5702
|
-
createdAt: string | Date;
|
|
5703
5799
|
email: string;
|
|
5800
|
+
createdAt: string | Date;
|
|
5801
|
+
updatedAt: string | Date;
|
|
5802
|
+
id: string;
|
|
5803
|
+
status: "ACTIVE" | "INACTIVE";
|
|
5704
5804
|
lastName: string;
|
|
5705
5805
|
firstName: string;
|
|
5706
5806
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
5707
5807
|
officeId?: string | null | undefined;
|
|
5708
5808
|
office?: {
|
|
5709
|
-
id: string;
|
|
5710
5809
|
name: string;
|
|
5810
|
+
id: string;
|
|
5711
5811
|
managers?: {
|
|
5712
5812
|
id: string;
|
|
5713
5813
|
lastName: string;
|
|
@@ -5725,8 +5825,10 @@ export declare const agentClientLinksContract: {
|
|
|
5725
5825
|
lastName: string;
|
|
5726
5826
|
firstName: string;
|
|
5727
5827
|
}[] | undefined;
|
|
5828
|
+
dialpadUserId?: string | null | undefined;
|
|
5728
5829
|
deletedAt?: string | Date | null | undefined;
|
|
5729
5830
|
} | null | undefined;
|
|
5831
|
+
reviewedAt?: string | Date | null | undefined;
|
|
5730
5832
|
}>;
|
|
5731
5833
|
404: z.ZodObject<{
|
|
5732
5834
|
statusCode: z.ZodNumber;
|