@dakkitor/api-contracts 1.1.148 → 1.1.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +6074 -6074
- package/dist/bookings/bookings.contract.d.ts +8956 -8956
- package/dist/call-history/call-history.contract.d.ts +365 -365
- package/dist/dashboards/dashboard-widgets.contract.d.ts +120 -120
- package/dist/jobs/jobs.contract.d.ts +2984 -2934
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +10 -19
- package/dist/lead-assignments/lead-assignments.contract.d.ts +316 -454
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +1 -20
- package/dist/leads/leads.contract.d.ts +99 -99
- package/dist/own-research/own-research.contract.d.ts +335 -335
- package/package.json +1 -1
|
@@ -19,13 +19,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
19
19
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
id: string;
|
|
23
22
|
phoneNumber: string;
|
|
23
|
+
id: string;
|
|
24
24
|
isPrimary: boolean;
|
|
25
25
|
description?: string | null | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
id: string;
|
|
28
27
|
phoneNumber: string;
|
|
28
|
+
id: string;
|
|
29
29
|
description?: string | null | undefined;
|
|
30
30
|
isPrimary?: boolean | undefined;
|
|
31
31
|
}>, "many">>>;
|
|
@@ -34,11 +34,11 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
34
34
|
id: z.ZodString;
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
id: string;
|
|
38
37
|
name: string;
|
|
39
|
-
}, {
|
|
40
38
|
id: string;
|
|
39
|
+
}, {
|
|
41
40
|
name: string;
|
|
41
|
+
id: string;
|
|
42
42
|
}>>>;
|
|
43
43
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
@@ -61,8 +61,8 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
61
61
|
lastName: string;
|
|
62
62
|
email: string;
|
|
63
63
|
phoneNumbers: {
|
|
64
|
-
id: string;
|
|
65
64
|
phoneNumber: string;
|
|
65
|
+
id: string;
|
|
66
66
|
isPrimary: boolean;
|
|
67
67
|
description?: string | null | undefined;
|
|
68
68
|
}[];
|
|
@@ -70,8 +70,8 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
70
70
|
updatedAt: string;
|
|
71
71
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
72
72
|
office?: {
|
|
73
|
-
id: string;
|
|
74
73
|
name: string;
|
|
74
|
+
id: string;
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
canImpersonateUsers?: {
|
|
77
77
|
id: string;
|
|
@@ -86,15 +86,15 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
86
86
|
createdAt: string | Date;
|
|
87
87
|
updatedAt: string | Date;
|
|
88
88
|
phoneNumbers?: {
|
|
89
|
-
id: string;
|
|
90
89
|
phoneNumber: string;
|
|
90
|
+
id: string;
|
|
91
91
|
description?: string | null | undefined;
|
|
92
92
|
isPrimary?: boolean | undefined;
|
|
93
93
|
}[] | undefined;
|
|
94
94
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
95
95
|
office?: {
|
|
96
|
-
id: string;
|
|
97
96
|
name: string;
|
|
97
|
+
id: string;
|
|
98
98
|
} | null | undefined;
|
|
99
99
|
canImpersonateUsers?: {
|
|
100
100
|
id: string;
|
|
@@ -115,11 +115,11 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
115
115
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
116
116
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
|
|
118
|
+
name: string;
|
|
119
119
|
phoneNumber: string;
|
|
120
120
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
121
|
+
id: string;
|
|
121
122
|
agentId: string;
|
|
122
|
-
name: string;
|
|
123
123
|
createdAt: string;
|
|
124
124
|
updatedAt: string;
|
|
125
125
|
callCount: number;
|
|
@@ -135,8 +135,8 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
135
135
|
lastName: string;
|
|
136
136
|
email: string;
|
|
137
137
|
phoneNumbers: {
|
|
138
|
-
id: string;
|
|
139
138
|
phoneNumber: string;
|
|
139
|
+
id: string;
|
|
140
140
|
isPrimary: boolean;
|
|
141
141
|
description?: string | null | undefined;
|
|
142
142
|
}[];
|
|
@@ -144,8 +144,8 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
144
144
|
updatedAt: string;
|
|
145
145
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
146
146
|
office?: {
|
|
147
|
-
id: string;
|
|
148
147
|
name: string;
|
|
148
|
+
id: string;
|
|
149
149
|
} | null | undefined;
|
|
150
150
|
canImpersonateUsers?: {
|
|
151
151
|
id: string;
|
|
@@ -154,11 +154,11 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
} | undefined;
|
|
156
156
|
}, {
|
|
157
|
-
|
|
157
|
+
name: string;
|
|
158
158
|
phoneNumber: string;
|
|
159
159
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
160
|
+
id: string;
|
|
160
161
|
agentId: string;
|
|
161
|
-
name: string;
|
|
162
162
|
createdAt: string | Date;
|
|
163
163
|
updatedAt: string | Date;
|
|
164
164
|
callCount: number;
|
|
@@ -176,15 +176,15 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
176
176
|
createdAt: string | Date;
|
|
177
177
|
updatedAt: string | Date;
|
|
178
178
|
phoneNumbers?: {
|
|
179
|
-
id: string;
|
|
180
179
|
phoneNumber: string;
|
|
180
|
+
id: string;
|
|
181
181
|
description?: string | null | undefined;
|
|
182
182
|
isPrimary?: boolean | undefined;
|
|
183
183
|
}[] | undefined;
|
|
184
184
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
185
185
|
office?: {
|
|
186
|
-
id: string;
|
|
187
186
|
name: string;
|
|
187
|
+
id: string;
|
|
188
188
|
} | null | undefined;
|
|
189
189
|
canImpersonateUsers?: {
|
|
190
190
|
id: string;
|
|
@@ -203,16 +203,16 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
203
203
|
status: z.ZodString;
|
|
204
204
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
|
|
206
|
+
name: string;
|
|
207
207
|
phoneNumber: string;
|
|
208
208
|
status: string;
|
|
209
|
-
|
|
209
|
+
id: string;
|
|
210
210
|
cooldownUntil: string | null;
|
|
211
211
|
}, {
|
|
212
|
-
|
|
212
|
+
name: string;
|
|
213
213
|
phoneNumber: string;
|
|
214
214
|
status: string;
|
|
215
|
-
|
|
215
|
+
id: string;
|
|
216
216
|
cooldownUntil: string | Date | null;
|
|
217
217
|
}>>>;
|
|
218
218
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -229,13 +229,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
229
229
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
230
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
id: string;
|
|
233
232
|
phoneNumber: string;
|
|
233
|
+
id: string;
|
|
234
234
|
isPrimary: boolean;
|
|
235
235
|
description?: string | null | undefined;
|
|
236
236
|
}, {
|
|
237
|
-
id: string;
|
|
238
237
|
phoneNumber: string;
|
|
238
|
+
id: string;
|
|
239
239
|
description?: string | null | undefined;
|
|
240
240
|
isPrimary?: boolean | undefined;
|
|
241
241
|
}>, "many">>>;
|
|
@@ -244,11 +244,11 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
244
244
|
id: z.ZodString;
|
|
245
245
|
name: z.ZodString;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
id: string;
|
|
248
247
|
name: string;
|
|
249
|
-
}, {
|
|
250
248
|
id: string;
|
|
249
|
+
}, {
|
|
251
250
|
name: string;
|
|
251
|
+
id: string;
|
|
252
252
|
}>>>;
|
|
253
253
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
254
|
id: z.ZodString;
|
|
@@ -271,8 +271,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
271
271
|
lastName: string;
|
|
272
272
|
email: string;
|
|
273
273
|
phoneNumbers: {
|
|
274
|
-
id: string;
|
|
275
274
|
phoneNumber: string;
|
|
275
|
+
id: string;
|
|
276
276
|
isPrimary: boolean;
|
|
277
277
|
description?: string | null | undefined;
|
|
278
278
|
}[];
|
|
@@ -280,8 +280,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
280
280
|
updatedAt: string;
|
|
281
281
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
282
282
|
office?: {
|
|
283
|
-
id: string;
|
|
284
283
|
name: string;
|
|
284
|
+
id: string;
|
|
285
285
|
} | null | undefined;
|
|
286
286
|
canImpersonateUsers?: {
|
|
287
287
|
id: string;
|
|
@@ -296,15 +296,15 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
296
296
|
createdAt: string | Date;
|
|
297
297
|
updatedAt: string | Date;
|
|
298
298
|
phoneNumbers?: {
|
|
299
|
-
id: string;
|
|
300
299
|
phoneNumber: string;
|
|
300
|
+
id: string;
|
|
301
301
|
description?: string | null | undefined;
|
|
302
302
|
isPrimary?: boolean | undefined;
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
305
305
|
office?: {
|
|
306
|
-
id: string;
|
|
307
306
|
name: string;
|
|
307
|
+
id: string;
|
|
308
308
|
} | null | undefined;
|
|
309
309
|
canImpersonateUsers?: {
|
|
310
310
|
id: string;
|
|
@@ -325,11 +325,11 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
325
325
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
|
|
328
|
+
name: string;
|
|
329
329
|
phoneNumber: string;
|
|
330
330
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
331
|
+
id: string;
|
|
331
332
|
agentId: string;
|
|
332
|
-
name: string;
|
|
333
333
|
createdAt: string;
|
|
334
334
|
updatedAt: string;
|
|
335
335
|
callCount: number;
|
|
@@ -345,8 +345,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
345
345
|
lastName: string;
|
|
346
346
|
email: string;
|
|
347
347
|
phoneNumbers: {
|
|
348
|
-
id: string;
|
|
349
348
|
phoneNumber: string;
|
|
349
|
+
id: string;
|
|
350
350
|
isPrimary: boolean;
|
|
351
351
|
description?: string | null | undefined;
|
|
352
352
|
}[];
|
|
@@ -354,8 +354,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
354
354
|
updatedAt: string;
|
|
355
355
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
356
356
|
office?: {
|
|
357
|
-
id: string;
|
|
358
357
|
name: string;
|
|
358
|
+
id: string;
|
|
359
359
|
} | null | undefined;
|
|
360
360
|
canImpersonateUsers?: {
|
|
361
361
|
id: string;
|
|
@@ -364,11 +364,11 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
364
364
|
}[] | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
}, {
|
|
367
|
-
|
|
367
|
+
name: string;
|
|
368
368
|
phoneNumber: string;
|
|
369
369
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
370
|
+
id: string;
|
|
370
371
|
agentId: string;
|
|
371
|
-
name: string;
|
|
372
372
|
createdAt: string | Date;
|
|
373
373
|
updatedAt: string | Date;
|
|
374
374
|
callCount: number;
|
|
@@ -386,15 +386,15 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
386
386
|
createdAt: string | Date;
|
|
387
387
|
updatedAt: string | Date;
|
|
388
388
|
phoneNumbers?: {
|
|
389
|
-
id: string;
|
|
390
389
|
phoneNumber: string;
|
|
390
|
+
id: string;
|
|
391
391
|
description?: string | null | undefined;
|
|
392
392
|
isPrimary?: boolean | undefined;
|
|
393
393
|
}[] | undefined;
|
|
394
394
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
395
395
|
office?: {
|
|
396
|
-
id: string;
|
|
397
396
|
name: string;
|
|
397
|
+
id: string;
|
|
398
398
|
} | null | undefined;
|
|
399
399
|
canImpersonateUsers?: {
|
|
400
400
|
id: string;
|
|
@@ -411,18 +411,18 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
411
411
|
existsInOwnResearch: boolean;
|
|
412
412
|
isOnCooldown: boolean;
|
|
413
413
|
lead?: {
|
|
414
|
-
|
|
414
|
+
name: string;
|
|
415
415
|
phoneNumber: string;
|
|
416
416
|
status: string;
|
|
417
|
-
|
|
417
|
+
id: string;
|
|
418
418
|
cooldownUntil: string | null;
|
|
419
419
|
} | null | undefined;
|
|
420
420
|
ownResearchLead?: {
|
|
421
|
-
|
|
421
|
+
name: string;
|
|
422
422
|
phoneNumber: string;
|
|
423
423
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
424
|
+
id: string;
|
|
424
425
|
agentId: string;
|
|
425
|
-
name: string;
|
|
426
426
|
createdAt: string;
|
|
427
427
|
updatedAt: string;
|
|
428
428
|
callCount: number;
|
|
@@ -438,8 +438,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
438
438
|
lastName: string;
|
|
439
439
|
email: string;
|
|
440
440
|
phoneNumbers: {
|
|
441
|
-
id: string;
|
|
442
441
|
phoneNumber: string;
|
|
442
|
+
id: string;
|
|
443
443
|
isPrimary: boolean;
|
|
444
444
|
description?: string | null | undefined;
|
|
445
445
|
}[];
|
|
@@ -447,8 +447,8 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
447
447
|
updatedAt: string;
|
|
448
448
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
449
449
|
office?: {
|
|
450
|
-
id: string;
|
|
451
450
|
name: string;
|
|
451
|
+
id: string;
|
|
452
452
|
} | null | undefined;
|
|
453
453
|
canImpersonateUsers?: {
|
|
454
454
|
id: string;
|
|
@@ -463,18 +463,18 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
463
463
|
existsInOwnResearch: boolean;
|
|
464
464
|
isOnCooldown: boolean;
|
|
465
465
|
lead?: {
|
|
466
|
-
|
|
466
|
+
name: string;
|
|
467
467
|
phoneNumber: string;
|
|
468
468
|
status: string;
|
|
469
|
-
|
|
469
|
+
id: string;
|
|
470
470
|
cooldownUntil: string | Date | null;
|
|
471
471
|
} | null | undefined;
|
|
472
472
|
ownResearchLead?: {
|
|
473
|
-
|
|
473
|
+
name: string;
|
|
474
474
|
phoneNumber: string;
|
|
475
475
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
476
|
+
id: string;
|
|
476
477
|
agentId: string;
|
|
477
|
-
name: string;
|
|
478
478
|
createdAt: string | Date;
|
|
479
479
|
updatedAt: string | Date;
|
|
480
480
|
callCount: number;
|
|
@@ -492,15 +492,15 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
492
492
|
createdAt: string | Date;
|
|
493
493
|
updatedAt: string | Date;
|
|
494
494
|
phoneNumbers?: {
|
|
495
|
-
id: string;
|
|
496
495
|
phoneNumber: string;
|
|
496
|
+
id: string;
|
|
497
497
|
description?: string | null | undefined;
|
|
498
498
|
isPrimary?: boolean | undefined;
|
|
499
499
|
}[] | undefined;
|
|
500
500
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
501
501
|
office?: {
|
|
502
|
-
id: string;
|
|
503
502
|
name: string;
|
|
503
|
+
id: string;
|
|
504
504
|
} | null | undefined;
|
|
505
505
|
canImpersonateUsers?: {
|
|
506
506
|
id: string;
|
|
@@ -524,14 +524,14 @@ export declare const RecordOwnResearchCallSchema: z.ZodObject<{
|
|
|
524
524
|
notes: z.ZodOptional<z.ZodString>;
|
|
525
525
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
|
-
phoneNumber: string;
|
|
528
527
|
name: string;
|
|
528
|
+
phoneNumber: string;
|
|
529
529
|
rating: import("../common/call-rating.schema").CallRating;
|
|
530
530
|
notes?: string | undefined;
|
|
531
531
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
532
532
|
}, {
|
|
533
|
-
phoneNumber: string;
|
|
534
533
|
name: string;
|
|
534
|
+
phoneNumber: string;
|
|
535
535
|
rating: import("../common/call-rating.schema").CallRating;
|
|
536
536
|
notes?: string | undefined;
|
|
537
537
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
@@ -544,11 +544,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
544
544
|
name: z.ZodString;
|
|
545
545
|
phoneNumber: z.ZodString;
|
|
546
546
|
}, "strip", z.ZodTypeAny, {
|
|
547
|
-
phoneNumber: string;
|
|
548
547
|
name: string;
|
|
549
|
-
}, {
|
|
550
548
|
phoneNumber: string;
|
|
549
|
+
}, {
|
|
551
550
|
name: string;
|
|
551
|
+
phoneNumber: string;
|
|
552
552
|
}>>;
|
|
553
553
|
agentId: z.ZodNullable<z.ZodString>;
|
|
554
554
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -562,13 +562,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
562
562
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
563
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
564
564
|
}, "strip", z.ZodTypeAny, {
|
|
565
|
-
id: string;
|
|
566
565
|
phoneNumber: string;
|
|
566
|
+
id: string;
|
|
567
567
|
isPrimary: boolean;
|
|
568
568
|
description?: string | null | undefined;
|
|
569
569
|
}, {
|
|
570
|
-
id: string;
|
|
571
570
|
phoneNumber: string;
|
|
571
|
+
id: string;
|
|
572
572
|
description?: string | null | undefined;
|
|
573
573
|
isPrimary?: boolean | undefined;
|
|
574
574
|
}>, "many">>>;
|
|
@@ -577,11 +577,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
577
577
|
id: z.ZodString;
|
|
578
578
|
name: z.ZodString;
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
|
-
id: string;
|
|
581
580
|
name: string;
|
|
582
|
-
}, {
|
|
583
581
|
id: string;
|
|
582
|
+
}, {
|
|
584
583
|
name: string;
|
|
584
|
+
id: string;
|
|
585
585
|
}>>>;
|
|
586
586
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
587
587
|
id: z.ZodString;
|
|
@@ -604,8 +604,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
604
604
|
lastName: string;
|
|
605
605
|
email: string;
|
|
606
606
|
phoneNumbers: {
|
|
607
|
-
id: string;
|
|
608
607
|
phoneNumber: string;
|
|
608
|
+
id: string;
|
|
609
609
|
isPrimary: boolean;
|
|
610
610
|
description?: string | null | undefined;
|
|
611
611
|
}[];
|
|
@@ -613,8 +613,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
613
613
|
updatedAt: string;
|
|
614
614
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
615
615
|
office?: {
|
|
616
|
-
id: string;
|
|
617
616
|
name: string;
|
|
617
|
+
id: string;
|
|
618
618
|
} | null | undefined;
|
|
619
619
|
canImpersonateUsers?: {
|
|
620
620
|
id: string;
|
|
@@ -629,15 +629,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
629
629
|
createdAt: string | Date;
|
|
630
630
|
updatedAt: string | Date;
|
|
631
631
|
phoneNumbers?: {
|
|
632
|
-
id: string;
|
|
633
632
|
phoneNumber: string;
|
|
633
|
+
id: string;
|
|
634
634
|
description?: string | null | undefined;
|
|
635
635
|
isPrimary?: boolean | undefined;
|
|
636
636
|
}[] | undefined;
|
|
637
637
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
638
638
|
office?: {
|
|
639
|
-
id: string;
|
|
640
639
|
name: string;
|
|
640
|
+
id: string;
|
|
641
641
|
} | null | undefined;
|
|
642
642
|
canImpersonateUsers?: {
|
|
643
643
|
id: string;
|
|
@@ -655,36 +655,40 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
655
655
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
656
656
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
657
657
|
}, "strip", z.ZodTypeAny, {
|
|
658
|
-
id: string;
|
|
659
658
|
name: string;
|
|
659
|
+
id: string;
|
|
660
660
|
createdAt: string;
|
|
661
661
|
updatedAt: string;
|
|
662
662
|
}, {
|
|
663
|
-
id: string;
|
|
664
663
|
name: string;
|
|
664
|
+
id: string;
|
|
665
665
|
createdAt: string | Date;
|
|
666
666
|
updatedAt: string | Date;
|
|
667
667
|
}>>>;
|
|
668
668
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
669
669
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
670
670
|
}, "strip", z.ZodTypeAny, {
|
|
671
|
-
id: string;
|
|
672
671
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
672
|
+
id: string;
|
|
673
|
+
leadId: string;
|
|
673
674
|
agentId: string | null;
|
|
674
675
|
createdAt: string;
|
|
675
676
|
updatedAt: string;
|
|
676
|
-
leadId: string;
|
|
677
677
|
assignedAt: string;
|
|
678
678
|
assignedBy: string | null;
|
|
679
679
|
companyId: string | null;
|
|
680
|
+
lead?: {
|
|
681
|
+
name: string;
|
|
682
|
+
phoneNumber: string;
|
|
683
|
+
} | undefined;
|
|
680
684
|
agent?: {
|
|
681
685
|
id: string;
|
|
682
686
|
firstName: string;
|
|
683
687
|
lastName: string;
|
|
684
688
|
email: string;
|
|
685
689
|
phoneNumbers: {
|
|
686
|
-
id: string;
|
|
687
690
|
phoneNumber: string;
|
|
691
|
+
id: string;
|
|
688
692
|
isPrimary: boolean;
|
|
689
693
|
description?: string | null | undefined;
|
|
690
694
|
}[];
|
|
@@ -692,8 +696,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
692
696
|
updatedAt: string;
|
|
693
697
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
694
698
|
office?: {
|
|
695
|
-
id: string;
|
|
696
699
|
name: string;
|
|
700
|
+
id: string;
|
|
697
701
|
} | null | undefined;
|
|
698
702
|
canImpersonateUsers?: {
|
|
699
703
|
id: string;
|
|
@@ -701,26 +705,26 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
701
705
|
lastName: string;
|
|
702
706
|
}[] | undefined;
|
|
703
707
|
} | undefined;
|
|
704
|
-
lead?: {
|
|
705
|
-
phoneNumber: string;
|
|
706
|
-
name: string;
|
|
707
|
-
} | undefined;
|
|
708
708
|
company?: {
|
|
709
|
-
id: string;
|
|
710
709
|
name: string;
|
|
710
|
+
id: string;
|
|
711
711
|
createdAt: string;
|
|
712
712
|
updatedAt: string;
|
|
713
713
|
} | null | undefined;
|
|
714
714
|
}, {
|
|
715
|
-
id: string;
|
|
716
715
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
716
|
+
id: string;
|
|
717
|
+
leadId: string;
|
|
717
718
|
agentId: string | null;
|
|
718
719
|
createdAt: string | Date;
|
|
719
720
|
updatedAt: string | Date;
|
|
720
|
-
leadId: string;
|
|
721
721
|
assignedAt: string | Date;
|
|
722
722
|
assignedBy: string | null;
|
|
723
723
|
companyId: string | null;
|
|
724
|
+
lead?: {
|
|
725
|
+
name: string;
|
|
726
|
+
phoneNumber: string;
|
|
727
|
+
} | undefined;
|
|
724
728
|
agent?: {
|
|
725
729
|
id: string;
|
|
726
730
|
firstName: string;
|
|
@@ -729,15 +733,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
729
733
|
createdAt: string | Date;
|
|
730
734
|
updatedAt: string | Date;
|
|
731
735
|
phoneNumbers?: {
|
|
732
|
-
id: string;
|
|
733
736
|
phoneNumber: string;
|
|
737
|
+
id: string;
|
|
734
738
|
description?: string | null | undefined;
|
|
735
739
|
isPrimary?: boolean | undefined;
|
|
736
740
|
}[] | undefined;
|
|
737
741
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
738
742
|
office?: {
|
|
739
|
-
id: string;
|
|
740
743
|
name: string;
|
|
744
|
+
id: string;
|
|
741
745
|
} | null | undefined;
|
|
742
746
|
canImpersonateUsers?: {
|
|
743
747
|
id: string;
|
|
@@ -745,13 +749,9 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
745
749
|
lastName: string;
|
|
746
750
|
}[] | undefined;
|
|
747
751
|
} | undefined;
|
|
748
|
-
lead?: {
|
|
749
|
-
phoneNumber: string;
|
|
750
|
-
name: string;
|
|
751
|
-
} | undefined;
|
|
752
752
|
company?: {
|
|
753
|
-
id: string;
|
|
754
753
|
name: string;
|
|
754
|
+
id: string;
|
|
755
755
|
createdAt: string | Date;
|
|
756
756
|
updatedAt: string | Date;
|
|
757
757
|
} | null | undefined;
|
|
@@ -770,13 +770,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
770
770
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
771
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
772
772
|
}, "strip", z.ZodTypeAny, {
|
|
773
|
-
id: string;
|
|
774
773
|
phoneNumber: string;
|
|
774
|
+
id: string;
|
|
775
775
|
isPrimary: boolean;
|
|
776
776
|
description?: string | null | undefined;
|
|
777
777
|
}, {
|
|
778
|
-
id: string;
|
|
779
778
|
phoneNumber: string;
|
|
779
|
+
id: string;
|
|
780
780
|
description?: string | null | undefined;
|
|
781
781
|
isPrimary?: boolean | undefined;
|
|
782
782
|
}>, "many">>>;
|
|
@@ -785,11 +785,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
785
785
|
id: z.ZodString;
|
|
786
786
|
name: z.ZodString;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
id: string;
|
|
789
788
|
name: string;
|
|
790
|
-
}, {
|
|
791
789
|
id: string;
|
|
790
|
+
}, {
|
|
792
791
|
name: string;
|
|
792
|
+
id: string;
|
|
793
793
|
}>>>;
|
|
794
794
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
795
|
id: z.ZodString;
|
|
@@ -812,8 +812,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
812
812
|
lastName: string;
|
|
813
813
|
email: string;
|
|
814
814
|
phoneNumbers: {
|
|
815
|
-
id: string;
|
|
816
815
|
phoneNumber: string;
|
|
816
|
+
id: string;
|
|
817
817
|
isPrimary: boolean;
|
|
818
818
|
description?: string | null | undefined;
|
|
819
819
|
}[];
|
|
@@ -821,8 +821,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
821
821
|
updatedAt: string;
|
|
822
822
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
823
823
|
office?: {
|
|
824
|
-
id: string;
|
|
825
824
|
name: string;
|
|
825
|
+
id: string;
|
|
826
826
|
} | null | undefined;
|
|
827
827
|
canImpersonateUsers?: {
|
|
828
828
|
id: string;
|
|
@@ -837,15 +837,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
837
837
|
createdAt: string | Date;
|
|
838
838
|
updatedAt: string | Date;
|
|
839
839
|
phoneNumbers?: {
|
|
840
|
-
id: string;
|
|
841
840
|
phoneNumber: string;
|
|
841
|
+
id: string;
|
|
842
842
|
description?: string | null | undefined;
|
|
843
843
|
isPrimary?: boolean | undefined;
|
|
844
844
|
}[] | undefined;
|
|
845
845
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
846
846
|
office?: {
|
|
847
|
-
id: string;
|
|
848
847
|
name: string;
|
|
848
|
+
id: string;
|
|
849
849
|
} | null | undefined;
|
|
850
850
|
canImpersonateUsers?: {
|
|
851
851
|
id: string;
|
|
@@ -866,11 +866,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
866
866
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
867
867
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
868
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
|
-
|
|
869
|
+
name: string;
|
|
870
870
|
phoneNumber: string;
|
|
871
871
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
872
|
+
id: string;
|
|
872
873
|
agentId: string;
|
|
873
|
-
name: string;
|
|
874
874
|
createdAt: string;
|
|
875
875
|
updatedAt: string;
|
|
876
876
|
callCount: number;
|
|
@@ -886,8 +886,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
886
886
|
lastName: string;
|
|
887
887
|
email: string;
|
|
888
888
|
phoneNumbers: {
|
|
889
|
-
id: string;
|
|
890
889
|
phoneNumber: string;
|
|
890
|
+
id: string;
|
|
891
891
|
isPrimary: boolean;
|
|
892
892
|
description?: string | null | undefined;
|
|
893
893
|
}[];
|
|
@@ -895,8 +895,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
895
895
|
updatedAt: string;
|
|
896
896
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
897
897
|
office?: {
|
|
898
|
-
id: string;
|
|
899
898
|
name: string;
|
|
899
|
+
id: string;
|
|
900
900
|
} | null | undefined;
|
|
901
901
|
canImpersonateUsers?: {
|
|
902
902
|
id: string;
|
|
@@ -905,11 +905,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
905
905
|
}[] | undefined;
|
|
906
906
|
} | undefined;
|
|
907
907
|
}, {
|
|
908
|
-
|
|
908
|
+
name: string;
|
|
909
909
|
phoneNumber: string;
|
|
910
910
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
911
|
+
id: string;
|
|
911
912
|
agentId: string;
|
|
912
|
-
name: string;
|
|
913
913
|
createdAt: string | Date;
|
|
914
914
|
updatedAt: string | Date;
|
|
915
915
|
callCount: number;
|
|
@@ -927,15 +927,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
927
927
|
createdAt: string | Date;
|
|
928
928
|
updatedAt: string | Date;
|
|
929
929
|
phoneNumbers?: {
|
|
930
|
-
id: string;
|
|
931
930
|
phoneNumber: string;
|
|
931
|
+
id: string;
|
|
932
932
|
description?: string | null | undefined;
|
|
933
933
|
isPrimary?: boolean | undefined;
|
|
934
934
|
}[] | undefined;
|
|
935
935
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
936
936
|
office?: {
|
|
937
|
-
id: string;
|
|
938
937
|
name: string;
|
|
938
|
+
id: string;
|
|
939
939
|
} | null | undefined;
|
|
940
940
|
canImpersonateUsers?: {
|
|
941
941
|
id: string;
|
|
@@ -946,11 +946,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
946
946
|
}>;
|
|
947
947
|
}, "strip", z.ZodTypeAny, {
|
|
948
948
|
ownResearchLead: {
|
|
949
|
-
|
|
949
|
+
name: string;
|
|
950
950
|
phoneNumber: string;
|
|
951
951
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
952
|
+
id: string;
|
|
952
953
|
agentId: string;
|
|
953
|
-
name: string;
|
|
954
954
|
createdAt: string;
|
|
955
955
|
updatedAt: string;
|
|
956
956
|
callCount: number;
|
|
@@ -966,8 +966,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
966
966
|
lastName: string;
|
|
967
967
|
email: string;
|
|
968
968
|
phoneNumbers: {
|
|
969
|
-
id: string;
|
|
970
969
|
phoneNumber: string;
|
|
970
|
+
id: string;
|
|
971
971
|
isPrimary: boolean;
|
|
972
972
|
description?: string | null | undefined;
|
|
973
973
|
}[];
|
|
@@ -975,8 +975,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
975
975
|
updatedAt: string;
|
|
976
976
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
977
977
|
office?: {
|
|
978
|
-
id: string;
|
|
979
978
|
name: string;
|
|
979
|
+
id: string;
|
|
980
980
|
} | null | undefined;
|
|
981
981
|
canImpersonateUsers?: {
|
|
982
982
|
id: string;
|
|
@@ -986,23 +986,27 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
986
986
|
} | undefined;
|
|
987
987
|
};
|
|
988
988
|
assignment?: {
|
|
989
|
-
id: string;
|
|
990
989
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
990
|
+
id: string;
|
|
991
|
+
leadId: string;
|
|
991
992
|
agentId: string | null;
|
|
992
993
|
createdAt: string;
|
|
993
994
|
updatedAt: string;
|
|
994
|
-
leadId: string;
|
|
995
995
|
assignedAt: string;
|
|
996
996
|
assignedBy: string | null;
|
|
997
997
|
companyId: string | null;
|
|
998
|
+
lead?: {
|
|
999
|
+
name: string;
|
|
1000
|
+
phoneNumber: string;
|
|
1001
|
+
} | undefined;
|
|
998
1002
|
agent?: {
|
|
999
1003
|
id: string;
|
|
1000
1004
|
firstName: string;
|
|
1001
1005
|
lastName: string;
|
|
1002
1006
|
email: string;
|
|
1003
1007
|
phoneNumbers: {
|
|
1004
|
-
id: string;
|
|
1005
1008
|
phoneNumber: string;
|
|
1009
|
+
id: string;
|
|
1006
1010
|
isPrimary: boolean;
|
|
1007
1011
|
description?: string | null | undefined;
|
|
1008
1012
|
}[];
|
|
@@ -1010,8 +1014,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1010
1014
|
updatedAt: string;
|
|
1011
1015
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1012
1016
|
office?: {
|
|
1013
|
-
id: string;
|
|
1014
1017
|
name: string;
|
|
1018
|
+
id: string;
|
|
1015
1019
|
} | null | undefined;
|
|
1016
1020
|
canImpersonateUsers?: {
|
|
1017
1021
|
id: string;
|
|
@@ -1019,24 +1023,20 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1019
1023
|
lastName: string;
|
|
1020
1024
|
}[] | undefined;
|
|
1021
1025
|
} | undefined;
|
|
1022
|
-
lead?: {
|
|
1023
|
-
phoneNumber: string;
|
|
1024
|
-
name: string;
|
|
1025
|
-
} | undefined;
|
|
1026
1026
|
company?: {
|
|
1027
|
-
id: string;
|
|
1028
1027
|
name: string;
|
|
1028
|
+
id: string;
|
|
1029
1029
|
createdAt: string;
|
|
1030
1030
|
updatedAt: string;
|
|
1031
1031
|
} | null | undefined;
|
|
1032
1032
|
} | null | undefined;
|
|
1033
1033
|
}, {
|
|
1034
1034
|
ownResearchLead: {
|
|
1035
|
-
|
|
1035
|
+
name: string;
|
|
1036
1036
|
phoneNumber: string;
|
|
1037
1037
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1038
|
+
id: string;
|
|
1038
1039
|
agentId: string;
|
|
1039
|
-
name: string;
|
|
1040
1040
|
createdAt: string | Date;
|
|
1041
1041
|
updatedAt: string | Date;
|
|
1042
1042
|
callCount: number;
|
|
@@ -1054,15 +1054,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1054
1054
|
createdAt: string | Date;
|
|
1055
1055
|
updatedAt: string | Date;
|
|
1056
1056
|
phoneNumbers?: {
|
|
1057
|
-
id: string;
|
|
1058
1057
|
phoneNumber: string;
|
|
1058
|
+
id: string;
|
|
1059
1059
|
description?: string | null | undefined;
|
|
1060
1060
|
isPrimary?: boolean | undefined;
|
|
1061
1061
|
}[] | undefined;
|
|
1062
1062
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1063
1063
|
office?: {
|
|
1064
|
-
id: string;
|
|
1065
1064
|
name: string;
|
|
1065
|
+
id: string;
|
|
1066
1066
|
} | null | undefined;
|
|
1067
1067
|
canImpersonateUsers?: {
|
|
1068
1068
|
id: string;
|
|
@@ -1072,15 +1072,19 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1072
1072
|
} | undefined;
|
|
1073
1073
|
};
|
|
1074
1074
|
assignment?: {
|
|
1075
|
-
id: string;
|
|
1076
1075
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1076
|
+
id: string;
|
|
1077
|
+
leadId: string;
|
|
1077
1078
|
agentId: string | null;
|
|
1078
1079
|
createdAt: string | Date;
|
|
1079
1080
|
updatedAt: string | Date;
|
|
1080
|
-
leadId: string;
|
|
1081
1081
|
assignedAt: string | Date;
|
|
1082
1082
|
assignedBy: string | null;
|
|
1083
1083
|
companyId: string | null;
|
|
1084
|
+
lead?: {
|
|
1085
|
+
name: string;
|
|
1086
|
+
phoneNumber: string;
|
|
1087
|
+
} | undefined;
|
|
1084
1088
|
agent?: {
|
|
1085
1089
|
id: string;
|
|
1086
1090
|
firstName: string;
|
|
@@ -1089,15 +1093,15 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1089
1093
|
createdAt: string | Date;
|
|
1090
1094
|
updatedAt: string | Date;
|
|
1091
1095
|
phoneNumbers?: {
|
|
1092
|
-
id: string;
|
|
1093
1096
|
phoneNumber: string;
|
|
1097
|
+
id: string;
|
|
1094
1098
|
description?: string | null | undefined;
|
|
1095
1099
|
isPrimary?: boolean | undefined;
|
|
1096
1100
|
}[] | undefined;
|
|
1097
1101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1098
1102
|
office?: {
|
|
1099
|
-
id: string;
|
|
1100
1103
|
name: string;
|
|
1104
|
+
id: string;
|
|
1101
1105
|
} | null | undefined;
|
|
1102
1106
|
canImpersonateUsers?: {
|
|
1103
1107
|
id: string;
|
|
@@ -1105,13 +1109,9 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1105
1109
|
lastName: string;
|
|
1106
1110
|
}[] | undefined;
|
|
1107
1111
|
} | undefined;
|
|
1108
|
-
lead?: {
|
|
1109
|
-
phoneNumber: string;
|
|
1110
|
-
name: string;
|
|
1111
|
-
} | undefined;
|
|
1112
1112
|
company?: {
|
|
1113
|
-
id: string;
|
|
1114
1113
|
name: string;
|
|
1114
|
+
id: string;
|
|
1115
1115
|
createdAt: string | Date;
|
|
1116
1116
|
updatedAt: string | Date;
|
|
1117
1117
|
} | null | undefined;
|
|
@@ -1121,11 +1121,11 @@ export declare const AddOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1121
1121
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1122
1122
|
name: z.ZodString;
|
|
1123
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1124
|
-
phoneNumber: string;
|
|
1125
1124
|
name: string;
|
|
1126
|
-
}, {
|
|
1127
1125
|
phoneNumber: string;
|
|
1126
|
+
}, {
|
|
1128
1127
|
name: string;
|
|
1128
|
+
phoneNumber: string;
|
|
1129
1129
|
}>;
|
|
1130
1130
|
export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
1131
1131
|
ownResearchLead: z.ZodObject<{
|
|
@@ -1142,13 +1142,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1142
1142
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
1143
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1144
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1145
|
-
id: string;
|
|
1146
1145
|
phoneNumber: string;
|
|
1146
|
+
id: string;
|
|
1147
1147
|
isPrimary: boolean;
|
|
1148
1148
|
description?: string | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
|
-
id: string;
|
|
1151
1150
|
phoneNumber: string;
|
|
1151
|
+
id: string;
|
|
1152
1152
|
description?: string | null | undefined;
|
|
1153
1153
|
isPrimary?: boolean | undefined;
|
|
1154
1154
|
}>, "many">>>;
|
|
@@ -1157,11 +1157,11 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1157
1157
|
id: z.ZodString;
|
|
1158
1158
|
name: z.ZodString;
|
|
1159
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1160
|
-
id: string;
|
|
1161
1160
|
name: string;
|
|
1162
|
-
}, {
|
|
1163
1161
|
id: string;
|
|
1162
|
+
}, {
|
|
1164
1163
|
name: string;
|
|
1164
|
+
id: string;
|
|
1165
1165
|
}>>>;
|
|
1166
1166
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1167
1167
|
id: z.ZodString;
|
|
@@ -1184,8 +1184,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1184
1184
|
lastName: string;
|
|
1185
1185
|
email: string;
|
|
1186
1186
|
phoneNumbers: {
|
|
1187
|
-
id: string;
|
|
1188
1187
|
phoneNumber: string;
|
|
1188
|
+
id: string;
|
|
1189
1189
|
isPrimary: boolean;
|
|
1190
1190
|
description?: string | null | undefined;
|
|
1191
1191
|
}[];
|
|
@@ -1193,8 +1193,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1193
1193
|
updatedAt: string;
|
|
1194
1194
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1195
1195
|
office?: {
|
|
1196
|
-
id: string;
|
|
1197
1196
|
name: string;
|
|
1197
|
+
id: string;
|
|
1198
1198
|
} | null | undefined;
|
|
1199
1199
|
canImpersonateUsers?: {
|
|
1200
1200
|
id: string;
|
|
@@ -1209,15 +1209,15 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1209
1209
|
createdAt: string | Date;
|
|
1210
1210
|
updatedAt: string | Date;
|
|
1211
1211
|
phoneNumbers?: {
|
|
1212
|
-
id: string;
|
|
1213
1212
|
phoneNumber: string;
|
|
1213
|
+
id: string;
|
|
1214
1214
|
description?: string | null | undefined;
|
|
1215
1215
|
isPrimary?: boolean | undefined;
|
|
1216
1216
|
}[] | undefined;
|
|
1217
1217
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1218
1218
|
office?: {
|
|
1219
|
-
id: string;
|
|
1220
1219
|
name: string;
|
|
1220
|
+
id: string;
|
|
1221
1221
|
} | null | undefined;
|
|
1222
1222
|
canImpersonateUsers?: {
|
|
1223
1223
|
id: string;
|
|
@@ -1238,11 +1238,11 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1238
1238
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1239
1239
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1240
1240
|
}, "strip", z.ZodTypeAny, {
|
|
1241
|
-
|
|
1241
|
+
name: string;
|
|
1242
1242
|
phoneNumber: string;
|
|
1243
1243
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1244
|
+
id: string;
|
|
1244
1245
|
agentId: string;
|
|
1245
|
-
name: string;
|
|
1246
1246
|
createdAt: string;
|
|
1247
1247
|
updatedAt: string;
|
|
1248
1248
|
callCount: number;
|
|
@@ -1258,8 +1258,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1258
1258
|
lastName: string;
|
|
1259
1259
|
email: string;
|
|
1260
1260
|
phoneNumbers: {
|
|
1261
|
-
id: string;
|
|
1262
1261
|
phoneNumber: string;
|
|
1262
|
+
id: string;
|
|
1263
1263
|
isPrimary: boolean;
|
|
1264
1264
|
description?: string | null | undefined;
|
|
1265
1265
|
}[];
|
|
@@ -1267,8 +1267,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1267
1267
|
updatedAt: string;
|
|
1268
1268
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1269
1269
|
office?: {
|
|
1270
|
-
id: string;
|
|
1271
1270
|
name: string;
|
|
1271
|
+
id: string;
|
|
1272
1272
|
} | null | undefined;
|
|
1273
1273
|
canImpersonateUsers?: {
|
|
1274
1274
|
id: string;
|
|
@@ -1277,11 +1277,11 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1277
1277
|
}[] | undefined;
|
|
1278
1278
|
} | undefined;
|
|
1279
1279
|
}, {
|
|
1280
|
-
|
|
1280
|
+
name: string;
|
|
1281
1281
|
phoneNumber: string;
|
|
1282
1282
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1283
|
+
id: string;
|
|
1283
1284
|
agentId: string;
|
|
1284
|
-
name: string;
|
|
1285
1285
|
createdAt: string | Date;
|
|
1286
1286
|
updatedAt: string | Date;
|
|
1287
1287
|
callCount: number;
|
|
@@ -1299,15 +1299,15 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1299
1299
|
createdAt: string | Date;
|
|
1300
1300
|
updatedAt: string | Date;
|
|
1301
1301
|
phoneNumbers?: {
|
|
1302
|
-
id: string;
|
|
1303
1302
|
phoneNumber: string;
|
|
1303
|
+
id: string;
|
|
1304
1304
|
description?: string | null | undefined;
|
|
1305
1305
|
isPrimary?: boolean | undefined;
|
|
1306
1306
|
}[] | undefined;
|
|
1307
1307
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1308
1308
|
office?: {
|
|
1309
|
-
id: string;
|
|
1310
1309
|
name: string;
|
|
1310
|
+
id: string;
|
|
1311
1311
|
} | null | undefined;
|
|
1312
1312
|
canImpersonateUsers?: {
|
|
1313
1313
|
id: string;
|
|
@@ -1318,11 +1318,11 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1318
1318
|
}>;
|
|
1319
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
1320
|
ownResearchLead: {
|
|
1321
|
-
|
|
1321
|
+
name: string;
|
|
1322
1322
|
phoneNumber: string;
|
|
1323
1323
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1324
|
+
id: string;
|
|
1324
1325
|
agentId: string;
|
|
1325
|
-
name: string;
|
|
1326
1326
|
createdAt: string;
|
|
1327
1327
|
updatedAt: string;
|
|
1328
1328
|
callCount: number;
|
|
@@ -1338,8 +1338,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1338
1338
|
lastName: string;
|
|
1339
1339
|
email: string;
|
|
1340
1340
|
phoneNumbers: {
|
|
1341
|
-
id: string;
|
|
1342
1341
|
phoneNumber: string;
|
|
1342
|
+
id: string;
|
|
1343
1343
|
isPrimary: boolean;
|
|
1344
1344
|
description?: string | null | undefined;
|
|
1345
1345
|
}[];
|
|
@@ -1347,8 +1347,8 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1347
1347
|
updatedAt: string;
|
|
1348
1348
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1349
1349
|
office?: {
|
|
1350
|
-
id: string;
|
|
1351
1350
|
name: string;
|
|
1351
|
+
id: string;
|
|
1352
1352
|
} | null | undefined;
|
|
1353
1353
|
canImpersonateUsers?: {
|
|
1354
1354
|
id: string;
|
|
@@ -1359,11 +1359,11 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1359
1359
|
};
|
|
1360
1360
|
}, {
|
|
1361
1361
|
ownResearchLead: {
|
|
1362
|
-
|
|
1362
|
+
name: string;
|
|
1363
1363
|
phoneNumber: string;
|
|
1364
1364
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1365
|
+
id: string;
|
|
1365
1366
|
agentId: string;
|
|
1366
|
-
name: string;
|
|
1367
1367
|
createdAt: string | Date;
|
|
1368
1368
|
updatedAt: string | Date;
|
|
1369
1369
|
callCount: number;
|
|
@@ -1381,15 +1381,15 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1381
1381
|
createdAt: string | Date;
|
|
1382
1382
|
updatedAt: string | Date;
|
|
1383
1383
|
phoneNumbers?: {
|
|
1384
|
-
id: string;
|
|
1385
1384
|
phoneNumber: string;
|
|
1385
|
+
id: string;
|
|
1386
1386
|
description?: string | null | undefined;
|
|
1387
1387
|
isPrimary?: boolean | undefined;
|
|
1388
1388
|
}[] | undefined;
|
|
1389
1389
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1390
1390
|
office?: {
|
|
1391
|
-
id: string;
|
|
1392
1391
|
name: string;
|
|
1392
|
+
id: string;
|
|
1393
1393
|
} | null | undefined;
|
|
1394
1394
|
canImpersonateUsers?: {
|
|
1395
1395
|
id: string;
|
|
@@ -1433,9 +1433,9 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1433
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1434
1434
|
limit: number;
|
|
1435
1435
|
page: number;
|
|
1436
|
+
name?: string | undefined;
|
|
1436
1437
|
phoneNumber?: string | undefined;
|
|
1437
1438
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1438
|
-
name?: string | undefined;
|
|
1439
1439
|
lastCalledAt?: {
|
|
1440
1440
|
from?: string | null | undefined;
|
|
1441
1441
|
to?: string | null | undefined;
|
|
@@ -1444,9 +1444,9 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1444
1444
|
sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1445
1445
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1446
1446
|
}, {
|
|
1447
|
+
name?: string | undefined;
|
|
1447
1448
|
phoneNumber?: string | undefined;
|
|
1448
1449
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1449
|
-
name?: string | undefined;
|
|
1450
1450
|
lastCalledAt?: {
|
|
1451
1451
|
from?: string | null | undefined;
|
|
1452
1452
|
to?: string | null | undefined;
|
|
@@ -1472,13 +1472,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1472
1472
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1473
1473
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1474
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
id: string;
|
|
1476
1475
|
phoneNumber: string;
|
|
1476
|
+
id: string;
|
|
1477
1477
|
isPrimary: boolean;
|
|
1478
1478
|
description?: string | null | undefined;
|
|
1479
1479
|
}, {
|
|
1480
|
-
id: string;
|
|
1481
1480
|
phoneNumber: string;
|
|
1481
|
+
id: string;
|
|
1482
1482
|
description?: string | null | undefined;
|
|
1483
1483
|
isPrimary?: boolean | undefined;
|
|
1484
1484
|
}>, "many">>>;
|
|
@@ -1487,11 +1487,11 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1487
1487
|
id: z.ZodString;
|
|
1488
1488
|
name: z.ZodString;
|
|
1489
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1490
|
-
id: string;
|
|
1491
1490
|
name: string;
|
|
1492
|
-
}, {
|
|
1493
1491
|
id: string;
|
|
1492
|
+
}, {
|
|
1494
1493
|
name: string;
|
|
1494
|
+
id: string;
|
|
1495
1495
|
}>>>;
|
|
1496
1496
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1497
1497
|
id: z.ZodString;
|
|
@@ -1514,8 +1514,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1514
1514
|
lastName: string;
|
|
1515
1515
|
email: string;
|
|
1516
1516
|
phoneNumbers: {
|
|
1517
|
-
id: string;
|
|
1518
1517
|
phoneNumber: string;
|
|
1518
|
+
id: string;
|
|
1519
1519
|
isPrimary: boolean;
|
|
1520
1520
|
description?: string | null | undefined;
|
|
1521
1521
|
}[];
|
|
@@ -1523,8 +1523,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1523
1523
|
updatedAt: string;
|
|
1524
1524
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1525
1525
|
office?: {
|
|
1526
|
-
id: string;
|
|
1527
1526
|
name: string;
|
|
1527
|
+
id: string;
|
|
1528
1528
|
} | null | undefined;
|
|
1529
1529
|
canImpersonateUsers?: {
|
|
1530
1530
|
id: string;
|
|
@@ -1539,15 +1539,15 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1539
1539
|
createdAt: string | Date;
|
|
1540
1540
|
updatedAt: string | Date;
|
|
1541
1541
|
phoneNumbers?: {
|
|
1542
|
-
id: string;
|
|
1543
1542
|
phoneNumber: string;
|
|
1543
|
+
id: string;
|
|
1544
1544
|
description?: string | null | undefined;
|
|
1545
1545
|
isPrimary?: boolean | undefined;
|
|
1546
1546
|
}[] | undefined;
|
|
1547
1547
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1548
1548
|
office?: {
|
|
1549
|
-
id: string;
|
|
1550
1549
|
name: string;
|
|
1550
|
+
id: string;
|
|
1551
1551
|
} | null | undefined;
|
|
1552
1552
|
canImpersonateUsers?: {
|
|
1553
1553
|
id: string;
|
|
@@ -1568,11 +1568,11 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1568
1568
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1569
1569
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1570
1570
|
}, "strip", z.ZodTypeAny, {
|
|
1571
|
-
|
|
1571
|
+
name: string;
|
|
1572
1572
|
phoneNumber: string;
|
|
1573
1573
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1574
|
+
id: string;
|
|
1574
1575
|
agentId: string;
|
|
1575
|
-
name: string;
|
|
1576
1576
|
createdAt: string;
|
|
1577
1577
|
updatedAt: string;
|
|
1578
1578
|
callCount: number;
|
|
@@ -1588,8 +1588,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1588
1588
|
lastName: string;
|
|
1589
1589
|
email: string;
|
|
1590
1590
|
phoneNumbers: {
|
|
1591
|
-
id: string;
|
|
1592
1591
|
phoneNumber: string;
|
|
1592
|
+
id: string;
|
|
1593
1593
|
isPrimary: boolean;
|
|
1594
1594
|
description?: string | null | undefined;
|
|
1595
1595
|
}[];
|
|
@@ -1597,8 +1597,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1597
1597
|
updatedAt: string;
|
|
1598
1598
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1599
1599
|
office?: {
|
|
1600
|
-
id: string;
|
|
1601
1600
|
name: string;
|
|
1601
|
+
id: string;
|
|
1602
1602
|
} | null | undefined;
|
|
1603
1603
|
canImpersonateUsers?: {
|
|
1604
1604
|
id: string;
|
|
@@ -1607,11 +1607,11 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1607
1607
|
}[] | undefined;
|
|
1608
1608
|
} | undefined;
|
|
1609
1609
|
}, {
|
|
1610
|
-
|
|
1610
|
+
name: string;
|
|
1611
1611
|
phoneNumber: string;
|
|
1612
1612
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1613
|
+
id: string;
|
|
1613
1614
|
agentId: string;
|
|
1614
|
-
name: string;
|
|
1615
1615
|
createdAt: string | Date;
|
|
1616
1616
|
updatedAt: string | Date;
|
|
1617
1617
|
callCount: number;
|
|
@@ -1629,15 +1629,15 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1629
1629
|
createdAt: string | Date;
|
|
1630
1630
|
updatedAt: string | Date;
|
|
1631
1631
|
phoneNumbers?: {
|
|
1632
|
-
id: string;
|
|
1633
1632
|
phoneNumber: string;
|
|
1633
|
+
id: string;
|
|
1634
1634
|
description?: string | null | undefined;
|
|
1635
1635
|
isPrimary?: boolean | undefined;
|
|
1636
1636
|
}[] | undefined;
|
|
1637
1637
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1638
1638
|
office?: {
|
|
1639
|
-
id: string;
|
|
1640
1639
|
name: string;
|
|
1640
|
+
id: string;
|
|
1641
1641
|
} | null | undefined;
|
|
1642
1642
|
canImpersonateUsers?: {
|
|
1643
1643
|
id: string;
|
|
@@ -1654,11 +1654,11 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1654
1654
|
}, "strip", z.ZodTypeAny, {
|
|
1655
1655
|
limit: number;
|
|
1656
1656
|
items: {
|
|
1657
|
-
|
|
1657
|
+
name: string;
|
|
1658
1658
|
phoneNumber: string;
|
|
1659
1659
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1660
|
+
id: string;
|
|
1660
1661
|
agentId: string;
|
|
1661
|
-
name: string;
|
|
1662
1662
|
createdAt: string;
|
|
1663
1663
|
updatedAt: string;
|
|
1664
1664
|
callCount: number;
|
|
@@ -1674,8 +1674,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1674
1674
|
lastName: string;
|
|
1675
1675
|
email: string;
|
|
1676
1676
|
phoneNumbers: {
|
|
1677
|
-
id: string;
|
|
1678
1677
|
phoneNumber: string;
|
|
1678
|
+
id: string;
|
|
1679
1679
|
isPrimary: boolean;
|
|
1680
1680
|
description?: string | null | undefined;
|
|
1681
1681
|
}[];
|
|
@@ -1683,8 +1683,8 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1683
1683
|
updatedAt: string;
|
|
1684
1684
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1685
1685
|
office?: {
|
|
1686
|
-
id: string;
|
|
1687
1686
|
name: string;
|
|
1687
|
+
id: string;
|
|
1688
1688
|
} | null | undefined;
|
|
1689
1689
|
canImpersonateUsers?: {
|
|
1690
1690
|
id: string;
|
|
@@ -1700,11 +1700,11 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1700
1700
|
}, {
|
|
1701
1701
|
limit: number;
|
|
1702
1702
|
items: {
|
|
1703
|
-
|
|
1703
|
+
name: string;
|
|
1704
1704
|
phoneNumber: string;
|
|
1705
1705
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1706
|
+
id: string;
|
|
1706
1707
|
agentId: string;
|
|
1707
|
-
name: string;
|
|
1708
1708
|
createdAt: string | Date;
|
|
1709
1709
|
updatedAt: string | Date;
|
|
1710
1710
|
callCount: number;
|
|
@@ -1722,15 +1722,15 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1722
1722
|
createdAt: string | Date;
|
|
1723
1723
|
updatedAt: string | Date;
|
|
1724
1724
|
phoneNumbers?: {
|
|
1725
|
-
id: string;
|
|
1726
1725
|
phoneNumber: string;
|
|
1726
|
+
id: string;
|
|
1727
1727
|
description?: string | null | undefined;
|
|
1728
1728
|
isPrimary?: boolean | undefined;
|
|
1729
1729
|
}[] | undefined;
|
|
1730
1730
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1731
1731
|
office?: {
|
|
1732
|
-
id: string;
|
|
1733
1732
|
name: string;
|
|
1733
|
+
id: string;
|
|
1734
1734
|
} | null | undefined;
|
|
1735
1735
|
canImpersonateUsers?: {
|
|
1736
1736
|
id: string;
|
|
@@ -1876,6 +1876,9 @@ export declare const ownResearchContract: {
|
|
|
1876
1876
|
};
|
|
1877
1877
|
};
|
|
1878
1878
|
findAll: {
|
|
1879
|
+
metadata: {
|
|
1880
|
+
tags: string[];
|
|
1881
|
+
};
|
|
1879
1882
|
query: z.ZodObject<{
|
|
1880
1883
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1881
1884
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1899,9 +1902,9 @@ export declare const ownResearchContract: {
|
|
|
1899
1902
|
}, "strip", z.ZodTypeAny, {
|
|
1900
1903
|
limit: number;
|
|
1901
1904
|
page: number;
|
|
1905
|
+
name?: string | undefined;
|
|
1902
1906
|
phoneNumber?: string | undefined;
|
|
1903
1907
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1904
|
-
name?: string | undefined;
|
|
1905
1908
|
lastCalledAt?: {
|
|
1906
1909
|
from?: string | null | undefined;
|
|
1907
1910
|
to?: string | null | undefined;
|
|
@@ -1910,9 +1913,9 @@ export declare const ownResearchContract: {
|
|
|
1910
1913
|
sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1911
1914
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1912
1915
|
}, {
|
|
1916
|
+
name?: string | undefined;
|
|
1913
1917
|
phoneNumber?: string | undefined;
|
|
1914
1918
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1915
|
-
name?: string | undefined;
|
|
1916
1919
|
lastCalledAt?: {
|
|
1917
1920
|
from?: string | null | undefined;
|
|
1918
1921
|
to?: string | null | undefined;
|
|
@@ -1923,9 +1926,6 @@ export declare const ownResearchContract: {
|
|
|
1923
1926
|
sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1924
1927
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1925
1928
|
}>;
|
|
1926
|
-
metadata: {
|
|
1927
|
-
tags: string[];
|
|
1928
|
-
};
|
|
1929
1929
|
summary: "Get all own research leads for the current agent";
|
|
1930
1930
|
method: "GET";
|
|
1931
1931
|
path: "/v2/own-research/leads";
|
|
@@ -2045,13 +2045,13 @@ export declare const ownResearchContract: {
|
|
|
2045
2045
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2046
2046
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2047
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2048
|
-
id: string;
|
|
2049
2048
|
phoneNumber: string;
|
|
2049
|
+
id: string;
|
|
2050
2050
|
isPrimary: boolean;
|
|
2051
2051
|
description?: string | null | undefined;
|
|
2052
2052
|
}, {
|
|
2053
|
-
id: string;
|
|
2054
2053
|
phoneNumber: string;
|
|
2054
|
+
id: string;
|
|
2055
2055
|
description?: string | null | undefined;
|
|
2056
2056
|
isPrimary?: boolean | undefined;
|
|
2057
2057
|
}>, "many">>>;
|
|
@@ -2060,11 +2060,11 @@ export declare const ownResearchContract: {
|
|
|
2060
2060
|
id: z.ZodString;
|
|
2061
2061
|
name: z.ZodString;
|
|
2062
2062
|
}, "strip", z.ZodTypeAny, {
|
|
2063
|
-
id: string;
|
|
2064
2063
|
name: string;
|
|
2065
|
-
}, {
|
|
2066
2064
|
id: string;
|
|
2065
|
+
}, {
|
|
2067
2066
|
name: string;
|
|
2067
|
+
id: string;
|
|
2068
2068
|
}>>>;
|
|
2069
2069
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2070
2070
|
id: z.ZodString;
|
|
@@ -2087,8 +2087,8 @@ export declare const ownResearchContract: {
|
|
|
2087
2087
|
lastName: string;
|
|
2088
2088
|
email: string;
|
|
2089
2089
|
phoneNumbers: {
|
|
2090
|
-
id: string;
|
|
2091
2090
|
phoneNumber: string;
|
|
2091
|
+
id: string;
|
|
2092
2092
|
isPrimary: boolean;
|
|
2093
2093
|
description?: string | null | undefined;
|
|
2094
2094
|
}[];
|
|
@@ -2096,8 +2096,8 @@ export declare const ownResearchContract: {
|
|
|
2096
2096
|
updatedAt: string;
|
|
2097
2097
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2098
2098
|
office?: {
|
|
2099
|
-
id: string;
|
|
2100
2099
|
name: string;
|
|
2100
|
+
id: string;
|
|
2101
2101
|
} | null | undefined;
|
|
2102
2102
|
canImpersonateUsers?: {
|
|
2103
2103
|
id: string;
|
|
@@ -2112,15 +2112,15 @@ export declare const ownResearchContract: {
|
|
|
2112
2112
|
createdAt: string | Date;
|
|
2113
2113
|
updatedAt: string | Date;
|
|
2114
2114
|
phoneNumbers?: {
|
|
2115
|
-
id: string;
|
|
2116
2115
|
phoneNumber: string;
|
|
2116
|
+
id: string;
|
|
2117
2117
|
description?: string | null | undefined;
|
|
2118
2118
|
isPrimary?: boolean | undefined;
|
|
2119
2119
|
}[] | undefined;
|
|
2120
2120
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2121
2121
|
office?: {
|
|
2122
|
-
id: string;
|
|
2123
2122
|
name: string;
|
|
2123
|
+
id: string;
|
|
2124
2124
|
} | null | undefined;
|
|
2125
2125
|
canImpersonateUsers?: {
|
|
2126
2126
|
id: string;
|
|
@@ -2141,11 +2141,11 @@ export declare const ownResearchContract: {
|
|
|
2141
2141
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2142
2142
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2143
2143
|
}, "strip", z.ZodTypeAny, {
|
|
2144
|
-
|
|
2144
|
+
name: string;
|
|
2145
2145
|
phoneNumber: string;
|
|
2146
2146
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2147
|
+
id: string;
|
|
2147
2148
|
agentId: string;
|
|
2148
|
-
name: string;
|
|
2149
2149
|
createdAt: string;
|
|
2150
2150
|
updatedAt: string;
|
|
2151
2151
|
callCount: number;
|
|
@@ -2161,8 +2161,8 @@ export declare const ownResearchContract: {
|
|
|
2161
2161
|
lastName: string;
|
|
2162
2162
|
email: string;
|
|
2163
2163
|
phoneNumbers: {
|
|
2164
|
-
id: string;
|
|
2165
2164
|
phoneNumber: string;
|
|
2165
|
+
id: string;
|
|
2166
2166
|
isPrimary: boolean;
|
|
2167
2167
|
description?: string | null | undefined;
|
|
2168
2168
|
}[];
|
|
@@ -2170,8 +2170,8 @@ export declare const ownResearchContract: {
|
|
|
2170
2170
|
updatedAt: string;
|
|
2171
2171
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2172
2172
|
office?: {
|
|
2173
|
-
id: string;
|
|
2174
2173
|
name: string;
|
|
2174
|
+
id: string;
|
|
2175
2175
|
} | null | undefined;
|
|
2176
2176
|
canImpersonateUsers?: {
|
|
2177
2177
|
id: string;
|
|
@@ -2180,11 +2180,11 @@ export declare const ownResearchContract: {
|
|
|
2180
2180
|
}[] | undefined;
|
|
2181
2181
|
} | undefined;
|
|
2182
2182
|
}, {
|
|
2183
|
-
|
|
2183
|
+
name: string;
|
|
2184
2184
|
phoneNumber: string;
|
|
2185
2185
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2186
|
+
id: string;
|
|
2186
2187
|
agentId: string;
|
|
2187
|
-
name: string;
|
|
2188
2188
|
createdAt: string | Date;
|
|
2189
2189
|
updatedAt: string | Date;
|
|
2190
2190
|
callCount: number;
|
|
@@ -2202,15 +2202,15 @@ export declare const ownResearchContract: {
|
|
|
2202
2202
|
createdAt: string | Date;
|
|
2203
2203
|
updatedAt: string | Date;
|
|
2204
2204
|
phoneNumbers?: {
|
|
2205
|
-
id: string;
|
|
2206
2205
|
phoneNumber: string;
|
|
2206
|
+
id: string;
|
|
2207
2207
|
description?: string | null | undefined;
|
|
2208
2208
|
isPrimary?: boolean | undefined;
|
|
2209
2209
|
}[] | undefined;
|
|
2210
2210
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2211
2211
|
office?: {
|
|
2212
|
-
id: string;
|
|
2213
2212
|
name: string;
|
|
2213
|
+
id: string;
|
|
2214
2214
|
} | null | undefined;
|
|
2215
2215
|
canImpersonateUsers?: {
|
|
2216
2216
|
id: string;
|
|
@@ -2227,11 +2227,11 @@ export declare const ownResearchContract: {
|
|
|
2227
2227
|
}, "strip", z.ZodTypeAny, {
|
|
2228
2228
|
limit: number;
|
|
2229
2229
|
items: {
|
|
2230
|
-
|
|
2230
|
+
name: string;
|
|
2231
2231
|
phoneNumber: string;
|
|
2232
2232
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2233
|
+
id: string;
|
|
2233
2234
|
agentId: string;
|
|
2234
|
-
name: string;
|
|
2235
2235
|
createdAt: string;
|
|
2236
2236
|
updatedAt: string;
|
|
2237
2237
|
callCount: number;
|
|
@@ -2247,8 +2247,8 @@ export declare const ownResearchContract: {
|
|
|
2247
2247
|
lastName: string;
|
|
2248
2248
|
email: string;
|
|
2249
2249
|
phoneNumbers: {
|
|
2250
|
-
id: string;
|
|
2251
2250
|
phoneNumber: string;
|
|
2251
|
+
id: string;
|
|
2252
2252
|
isPrimary: boolean;
|
|
2253
2253
|
description?: string | null | undefined;
|
|
2254
2254
|
}[];
|
|
@@ -2256,8 +2256,8 @@ export declare const ownResearchContract: {
|
|
|
2256
2256
|
updatedAt: string;
|
|
2257
2257
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2258
2258
|
office?: {
|
|
2259
|
-
id: string;
|
|
2260
2259
|
name: string;
|
|
2260
|
+
id: string;
|
|
2261
2261
|
} | null | undefined;
|
|
2262
2262
|
canImpersonateUsers?: {
|
|
2263
2263
|
id: string;
|
|
@@ -2273,11 +2273,11 @@ export declare const ownResearchContract: {
|
|
|
2273
2273
|
}, {
|
|
2274
2274
|
limit: number;
|
|
2275
2275
|
items: {
|
|
2276
|
-
|
|
2276
|
+
name: string;
|
|
2277
2277
|
phoneNumber: string;
|
|
2278
2278
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2279
|
+
id: string;
|
|
2279
2280
|
agentId: string;
|
|
2280
|
-
name: string;
|
|
2281
2281
|
createdAt: string | Date;
|
|
2282
2282
|
updatedAt: string | Date;
|
|
2283
2283
|
callCount: number;
|
|
@@ -2295,15 +2295,15 @@ export declare const ownResearchContract: {
|
|
|
2295
2295
|
createdAt: string | Date;
|
|
2296
2296
|
updatedAt: string | Date;
|
|
2297
2297
|
phoneNumbers?: {
|
|
2298
|
-
id: string;
|
|
2299
2298
|
phoneNumber: string;
|
|
2299
|
+
id: string;
|
|
2300
2300
|
description?: string | null | undefined;
|
|
2301
2301
|
isPrimary?: boolean | undefined;
|
|
2302
2302
|
}[] | undefined;
|
|
2303
2303
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2304
2304
|
office?: {
|
|
2305
|
-
id: string;
|
|
2306
2305
|
name: string;
|
|
2306
|
+
id: string;
|
|
2307
2307
|
} | null | undefined;
|
|
2308
2308
|
canImpersonateUsers?: {
|
|
2309
2309
|
id: string;
|
|
@@ -2444,16 +2444,16 @@ export declare const ownResearchContract: {
|
|
|
2444
2444
|
status: z.ZodString;
|
|
2445
2445
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
2446
2446
|
}, "strip", z.ZodTypeAny, {
|
|
2447
|
-
|
|
2447
|
+
name: string;
|
|
2448
2448
|
phoneNumber: string;
|
|
2449
2449
|
status: string;
|
|
2450
|
-
|
|
2450
|
+
id: string;
|
|
2451
2451
|
cooldownUntil: string | null;
|
|
2452
2452
|
}, {
|
|
2453
|
-
|
|
2453
|
+
name: string;
|
|
2454
2454
|
phoneNumber: string;
|
|
2455
2455
|
status: string;
|
|
2456
|
-
|
|
2456
|
+
id: string;
|
|
2457
2457
|
cooldownUntil: string | Date | null;
|
|
2458
2458
|
}>>>;
|
|
2459
2459
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2470,13 +2470,13 @@ export declare const ownResearchContract: {
|
|
|
2470
2470
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2471
2471
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2472
2472
|
}, "strip", z.ZodTypeAny, {
|
|
2473
|
-
id: string;
|
|
2474
2473
|
phoneNumber: string;
|
|
2474
|
+
id: string;
|
|
2475
2475
|
isPrimary: boolean;
|
|
2476
2476
|
description?: string | null | undefined;
|
|
2477
2477
|
}, {
|
|
2478
|
-
id: string;
|
|
2479
2478
|
phoneNumber: string;
|
|
2479
|
+
id: string;
|
|
2480
2480
|
description?: string | null | undefined;
|
|
2481
2481
|
isPrimary?: boolean | undefined;
|
|
2482
2482
|
}>, "many">>>;
|
|
@@ -2485,11 +2485,11 @@ export declare const ownResearchContract: {
|
|
|
2485
2485
|
id: z.ZodString;
|
|
2486
2486
|
name: z.ZodString;
|
|
2487
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2488
|
-
id: string;
|
|
2489
2488
|
name: string;
|
|
2490
|
-
}, {
|
|
2491
2489
|
id: string;
|
|
2490
|
+
}, {
|
|
2492
2491
|
name: string;
|
|
2492
|
+
id: string;
|
|
2493
2493
|
}>>>;
|
|
2494
2494
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2495
2495
|
id: z.ZodString;
|
|
@@ -2512,8 +2512,8 @@ export declare const ownResearchContract: {
|
|
|
2512
2512
|
lastName: string;
|
|
2513
2513
|
email: string;
|
|
2514
2514
|
phoneNumbers: {
|
|
2515
|
-
id: string;
|
|
2516
2515
|
phoneNumber: string;
|
|
2516
|
+
id: string;
|
|
2517
2517
|
isPrimary: boolean;
|
|
2518
2518
|
description?: string | null | undefined;
|
|
2519
2519
|
}[];
|
|
@@ -2521,8 +2521,8 @@ export declare const ownResearchContract: {
|
|
|
2521
2521
|
updatedAt: string;
|
|
2522
2522
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2523
2523
|
office?: {
|
|
2524
|
-
id: string;
|
|
2525
2524
|
name: string;
|
|
2525
|
+
id: string;
|
|
2526
2526
|
} | null | undefined;
|
|
2527
2527
|
canImpersonateUsers?: {
|
|
2528
2528
|
id: string;
|
|
@@ -2537,15 +2537,15 @@ export declare const ownResearchContract: {
|
|
|
2537
2537
|
createdAt: string | Date;
|
|
2538
2538
|
updatedAt: string | Date;
|
|
2539
2539
|
phoneNumbers?: {
|
|
2540
|
-
id: string;
|
|
2541
2540
|
phoneNumber: string;
|
|
2541
|
+
id: string;
|
|
2542
2542
|
description?: string | null | undefined;
|
|
2543
2543
|
isPrimary?: boolean | undefined;
|
|
2544
2544
|
}[] | undefined;
|
|
2545
2545
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2546
2546
|
office?: {
|
|
2547
|
-
id: string;
|
|
2548
2547
|
name: string;
|
|
2548
|
+
id: string;
|
|
2549
2549
|
} | null | undefined;
|
|
2550
2550
|
canImpersonateUsers?: {
|
|
2551
2551
|
id: string;
|
|
@@ -2566,11 +2566,11 @@ export declare const ownResearchContract: {
|
|
|
2566
2566
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2567
2567
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2568
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2569
|
-
|
|
2569
|
+
name: string;
|
|
2570
2570
|
phoneNumber: string;
|
|
2571
2571
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2572
|
+
id: string;
|
|
2572
2573
|
agentId: string;
|
|
2573
|
-
name: string;
|
|
2574
2574
|
createdAt: string;
|
|
2575
2575
|
updatedAt: string;
|
|
2576
2576
|
callCount: number;
|
|
@@ -2586,8 +2586,8 @@ export declare const ownResearchContract: {
|
|
|
2586
2586
|
lastName: string;
|
|
2587
2587
|
email: string;
|
|
2588
2588
|
phoneNumbers: {
|
|
2589
|
-
id: string;
|
|
2590
2589
|
phoneNumber: string;
|
|
2590
|
+
id: string;
|
|
2591
2591
|
isPrimary: boolean;
|
|
2592
2592
|
description?: string | null | undefined;
|
|
2593
2593
|
}[];
|
|
@@ -2595,8 +2595,8 @@ export declare const ownResearchContract: {
|
|
|
2595
2595
|
updatedAt: string;
|
|
2596
2596
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2597
2597
|
office?: {
|
|
2598
|
-
id: string;
|
|
2599
2598
|
name: string;
|
|
2599
|
+
id: string;
|
|
2600
2600
|
} | null | undefined;
|
|
2601
2601
|
canImpersonateUsers?: {
|
|
2602
2602
|
id: string;
|
|
@@ -2605,11 +2605,11 @@ export declare const ownResearchContract: {
|
|
|
2605
2605
|
}[] | undefined;
|
|
2606
2606
|
} | undefined;
|
|
2607
2607
|
}, {
|
|
2608
|
-
|
|
2608
|
+
name: string;
|
|
2609
2609
|
phoneNumber: string;
|
|
2610
2610
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2611
|
+
id: string;
|
|
2611
2612
|
agentId: string;
|
|
2612
|
-
name: string;
|
|
2613
2613
|
createdAt: string | Date;
|
|
2614
2614
|
updatedAt: string | Date;
|
|
2615
2615
|
callCount: number;
|
|
@@ -2627,15 +2627,15 @@ export declare const ownResearchContract: {
|
|
|
2627
2627
|
createdAt: string | Date;
|
|
2628
2628
|
updatedAt: string | Date;
|
|
2629
2629
|
phoneNumbers?: {
|
|
2630
|
-
id: string;
|
|
2631
2630
|
phoneNumber: string;
|
|
2631
|
+
id: string;
|
|
2632
2632
|
description?: string | null | undefined;
|
|
2633
2633
|
isPrimary?: boolean | undefined;
|
|
2634
2634
|
}[] | undefined;
|
|
2635
2635
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2636
2636
|
office?: {
|
|
2637
|
-
id: string;
|
|
2638
2637
|
name: string;
|
|
2638
|
+
id: string;
|
|
2639
2639
|
} | null | undefined;
|
|
2640
2640
|
canImpersonateUsers?: {
|
|
2641
2641
|
id: string;
|
|
@@ -2652,18 +2652,18 @@ export declare const ownResearchContract: {
|
|
|
2652
2652
|
existsInOwnResearch: boolean;
|
|
2653
2653
|
isOnCooldown: boolean;
|
|
2654
2654
|
lead?: {
|
|
2655
|
-
|
|
2655
|
+
name: string;
|
|
2656
2656
|
phoneNumber: string;
|
|
2657
2657
|
status: string;
|
|
2658
|
-
|
|
2658
|
+
id: string;
|
|
2659
2659
|
cooldownUntil: string | null;
|
|
2660
2660
|
} | null | undefined;
|
|
2661
2661
|
ownResearchLead?: {
|
|
2662
|
-
|
|
2662
|
+
name: string;
|
|
2663
2663
|
phoneNumber: string;
|
|
2664
2664
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2665
|
+
id: string;
|
|
2665
2666
|
agentId: string;
|
|
2666
|
-
name: string;
|
|
2667
2667
|
createdAt: string;
|
|
2668
2668
|
updatedAt: string;
|
|
2669
2669
|
callCount: number;
|
|
@@ -2679,8 +2679,8 @@ export declare const ownResearchContract: {
|
|
|
2679
2679
|
lastName: string;
|
|
2680
2680
|
email: string;
|
|
2681
2681
|
phoneNumbers: {
|
|
2682
|
-
id: string;
|
|
2683
2682
|
phoneNumber: string;
|
|
2683
|
+
id: string;
|
|
2684
2684
|
isPrimary: boolean;
|
|
2685
2685
|
description?: string | null | undefined;
|
|
2686
2686
|
}[];
|
|
@@ -2688,8 +2688,8 @@ export declare const ownResearchContract: {
|
|
|
2688
2688
|
updatedAt: string;
|
|
2689
2689
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2690
2690
|
office?: {
|
|
2691
|
-
id: string;
|
|
2692
2691
|
name: string;
|
|
2692
|
+
id: string;
|
|
2693
2693
|
} | null | undefined;
|
|
2694
2694
|
canImpersonateUsers?: {
|
|
2695
2695
|
id: string;
|
|
@@ -2704,18 +2704,18 @@ export declare const ownResearchContract: {
|
|
|
2704
2704
|
existsInOwnResearch: boolean;
|
|
2705
2705
|
isOnCooldown: boolean;
|
|
2706
2706
|
lead?: {
|
|
2707
|
-
|
|
2707
|
+
name: string;
|
|
2708
2708
|
phoneNumber: string;
|
|
2709
2709
|
status: string;
|
|
2710
|
-
|
|
2710
|
+
id: string;
|
|
2711
2711
|
cooldownUntil: string | Date | null;
|
|
2712
2712
|
} | null | undefined;
|
|
2713
2713
|
ownResearchLead?: {
|
|
2714
|
-
|
|
2714
|
+
name: string;
|
|
2715
2715
|
phoneNumber: string;
|
|
2716
2716
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2717
|
+
id: string;
|
|
2717
2718
|
agentId: string;
|
|
2718
|
-
name: string;
|
|
2719
2719
|
createdAt: string | Date;
|
|
2720
2720
|
updatedAt: string | Date;
|
|
2721
2721
|
callCount: number;
|
|
@@ -2733,15 +2733,15 @@ export declare const ownResearchContract: {
|
|
|
2733
2733
|
createdAt: string | Date;
|
|
2734
2734
|
updatedAt: string | Date;
|
|
2735
2735
|
phoneNumbers?: {
|
|
2736
|
-
id: string;
|
|
2737
2736
|
phoneNumber: string;
|
|
2737
|
+
id: string;
|
|
2738
2738
|
description?: string | null | undefined;
|
|
2739
2739
|
isPrimary?: boolean | undefined;
|
|
2740
2740
|
}[] | undefined;
|
|
2741
2741
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2742
2742
|
office?: {
|
|
2743
|
-
id: string;
|
|
2744
2743
|
name: string;
|
|
2744
|
+
id: string;
|
|
2745
2745
|
} | null | undefined;
|
|
2746
2746
|
canImpersonateUsers?: {
|
|
2747
2747
|
id: string;
|
|
@@ -2763,11 +2763,11 @@ export declare const ownResearchContract: {
|
|
|
2763
2763
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
2764
2764
|
name: z.ZodString;
|
|
2765
2765
|
}, "strip", z.ZodTypeAny, {
|
|
2766
|
-
phoneNumber: string;
|
|
2767
2766
|
name: string;
|
|
2768
|
-
}, {
|
|
2769
2767
|
phoneNumber: string;
|
|
2768
|
+
}, {
|
|
2770
2769
|
name: string;
|
|
2770
|
+
phoneNumber: string;
|
|
2771
2771
|
}>;
|
|
2772
2772
|
path: "/v2/own-research/leads";
|
|
2773
2773
|
responses: {
|
|
@@ -2886,13 +2886,13 @@ export declare const ownResearchContract: {
|
|
|
2886
2886
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
2887
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2888
2888
|
}, "strip", z.ZodTypeAny, {
|
|
2889
|
-
id: string;
|
|
2890
2889
|
phoneNumber: string;
|
|
2890
|
+
id: string;
|
|
2891
2891
|
isPrimary: boolean;
|
|
2892
2892
|
description?: string | null | undefined;
|
|
2893
2893
|
}, {
|
|
2894
|
-
id: string;
|
|
2895
2894
|
phoneNumber: string;
|
|
2895
|
+
id: string;
|
|
2896
2896
|
description?: string | null | undefined;
|
|
2897
2897
|
isPrimary?: boolean | undefined;
|
|
2898
2898
|
}>, "many">>>;
|
|
@@ -2901,11 +2901,11 @@ export declare const ownResearchContract: {
|
|
|
2901
2901
|
id: z.ZodString;
|
|
2902
2902
|
name: z.ZodString;
|
|
2903
2903
|
}, "strip", z.ZodTypeAny, {
|
|
2904
|
-
id: string;
|
|
2905
2904
|
name: string;
|
|
2906
|
-
}, {
|
|
2907
2905
|
id: string;
|
|
2906
|
+
}, {
|
|
2908
2907
|
name: string;
|
|
2908
|
+
id: string;
|
|
2909
2909
|
}>>>;
|
|
2910
2910
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2911
2911
|
id: z.ZodString;
|
|
@@ -2928,8 +2928,8 @@ export declare const ownResearchContract: {
|
|
|
2928
2928
|
lastName: string;
|
|
2929
2929
|
email: string;
|
|
2930
2930
|
phoneNumbers: {
|
|
2931
|
-
id: string;
|
|
2932
2931
|
phoneNumber: string;
|
|
2932
|
+
id: string;
|
|
2933
2933
|
isPrimary: boolean;
|
|
2934
2934
|
description?: string | null | undefined;
|
|
2935
2935
|
}[];
|
|
@@ -2937,8 +2937,8 @@ export declare const ownResearchContract: {
|
|
|
2937
2937
|
updatedAt: string;
|
|
2938
2938
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2939
2939
|
office?: {
|
|
2940
|
-
id: string;
|
|
2941
2940
|
name: string;
|
|
2941
|
+
id: string;
|
|
2942
2942
|
} | null | undefined;
|
|
2943
2943
|
canImpersonateUsers?: {
|
|
2944
2944
|
id: string;
|
|
@@ -2953,15 +2953,15 @@ export declare const ownResearchContract: {
|
|
|
2953
2953
|
createdAt: string | Date;
|
|
2954
2954
|
updatedAt: string | Date;
|
|
2955
2955
|
phoneNumbers?: {
|
|
2956
|
-
id: string;
|
|
2957
2956
|
phoneNumber: string;
|
|
2957
|
+
id: string;
|
|
2958
2958
|
description?: string | null | undefined;
|
|
2959
2959
|
isPrimary?: boolean | undefined;
|
|
2960
2960
|
}[] | undefined;
|
|
2961
2961
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2962
2962
|
office?: {
|
|
2963
|
-
id: string;
|
|
2964
2963
|
name: string;
|
|
2964
|
+
id: string;
|
|
2965
2965
|
} | null | undefined;
|
|
2966
2966
|
canImpersonateUsers?: {
|
|
2967
2967
|
id: string;
|
|
@@ -2982,11 +2982,11 @@ export declare const ownResearchContract: {
|
|
|
2982
2982
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2983
2983
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2984
2984
|
}, "strip", z.ZodTypeAny, {
|
|
2985
|
-
|
|
2985
|
+
name: string;
|
|
2986
2986
|
phoneNumber: string;
|
|
2987
2987
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2988
|
+
id: string;
|
|
2988
2989
|
agentId: string;
|
|
2989
|
-
name: string;
|
|
2990
2990
|
createdAt: string;
|
|
2991
2991
|
updatedAt: string;
|
|
2992
2992
|
callCount: number;
|
|
@@ -3002,8 +3002,8 @@ export declare const ownResearchContract: {
|
|
|
3002
3002
|
lastName: string;
|
|
3003
3003
|
email: string;
|
|
3004
3004
|
phoneNumbers: {
|
|
3005
|
-
id: string;
|
|
3006
3005
|
phoneNumber: string;
|
|
3006
|
+
id: string;
|
|
3007
3007
|
isPrimary: boolean;
|
|
3008
3008
|
description?: string | null | undefined;
|
|
3009
3009
|
}[];
|
|
@@ -3011,8 +3011,8 @@ export declare const ownResearchContract: {
|
|
|
3011
3011
|
updatedAt: string;
|
|
3012
3012
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3013
3013
|
office?: {
|
|
3014
|
-
id: string;
|
|
3015
3014
|
name: string;
|
|
3015
|
+
id: string;
|
|
3016
3016
|
} | null | undefined;
|
|
3017
3017
|
canImpersonateUsers?: {
|
|
3018
3018
|
id: string;
|
|
@@ -3021,11 +3021,11 @@ export declare const ownResearchContract: {
|
|
|
3021
3021
|
}[] | undefined;
|
|
3022
3022
|
} | undefined;
|
|
3023
3023
|
}, {
|
|
3024
|
-
|
|
3024
|
+
name: string;
|
|
3025
3025
|
phoneNumber: string;
|
|
3026
3026
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3027
|
+
id: string;
|
|
3027
3028
|
agentId: string;
|
|
3028
|
-
name: string;
|
|
3029
3029
|
createdAt: string | Date;
|
|
3030
3030
|
updatedAt: string | Date;
|
|
3031
3031
|
callCount: number;
|
|
@@ -3043,15 +3043,15 @@ export declare const ownResearchContract: {
|
|
|
3043
3043
|
createdAt: string | Date;
|
|
3044
3044
|
updatedAt: string | Date;
|
|
3045
3045
|
phoneNumbers?: {
|
|
3046
|
-
id: string;
|
|
3047
3046
|
phoneNumber: string;
|
|
3047
|
+
id: string;
|
|
3048
3048
|
description?: string | null | undefined;
|
|
3049
3049
|
isPrimary?: boolean | undefined;
|
|
3050
3050
|
}[] | undefined;
|
|
3051
3051
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3052
3052
|
office?: {
|
|
3053
|
-
id: string;
|
|
3054
3053
|
name: string;
|
|
3054
|
+
id: string;
|
|
3055
3055
|
} | null | undefined;
|
|
3056
3056
|
canImpersonateUsers?: {
|
|
3057
3057
|
id: string;
|
|
@@ -3062,11 +3062,11 @@ export declare const ownResearchContract: {
|
|
|
3062
3062
|
}>;
|
|
3063
3063
|
}, "strip", z.ZodTypeAny, {
|
|
3064
3064
|
ownResearchLead: {
|
|
3065
|
-
|
|
3065
|
+
name: string;
|
|
3066
3066
|
phoneNumber: string;
|
|
3067
3067
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3068
|
+
id: string;
|
|
3068
3069
|
agentId: string;
|
|
3069
|
-
name: string;
|
|
3070
3070
|
createdAt: string;
|
|
3071
3071
|
updatedAt: string;
|
|
3072
3072
|
callCount: number;
|
|
@@ -3082,8 +3082,8 @@ export declare const ownResearchContract: {
|
|
|
3082
3082
|
lastName: string;
|
|
3083
3083
|
email: string;
|
|
3084
3084
|
phoneNumbers: {
|
|
3085
|
-
id: string;
|
|
3086
3085
|
phoneNumber: string;
|
|
3086
|
+
id: string;
|
|
3087
3087
|
isPrimary: boolean;
|
|
3088
3088
|
description?: string | null | undefined;
|
|
3089
3089
|
}[];
|
|
@@ -3091,8 +3091,8 @@ export declare const ownResearchContract: {
|
|
|
3091
3091
|
updatedAt: string;
|
|
3092
3092
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3093
3093
|
office?: {
|
|
3094
|
-
id: string;
|
|
3095
3094
|
name: string;
|
|
3095
|
+
id: string;
|
|
3096
3096
|
} | null | undefined;
|
|
3097
3097
|
canImpersonateUsers?: {
|
|
3098
3098
|
id: string;
|
|
@@ -3103,11 +3103,11 @@ export declare const ownResearchContract: {
|
|
|
3103
3103
|
};
|
|
3104
3104
|
}, {
|
|
3105
3105
|
ownResearchLead: {
|
|
3106
|
-
|
|
3106
|
+
name: string;
|
|
3107
3107
|
phoneNumber: string;
|
|
3108
3108
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3109
|
+
id: string;
|
|
3109
3110
|
agentId: string;
|
|
3110
|
-
name: string;
|
|
3111
3111
|
createdAt: string | Date;
|
|
3112
3112
|
updatedAt: string | Date;
|
|
3113
3113
|
callCount: number;
|
|
@@ -3125,15 +3125,15 @@ export declare const ownResearchContract: {
|
|
|
3125
3125
|
createdAt: string | Date;
|
|
3126
3126
|
updatedAt: string | Date;
|
|
3127
3127
|
phoneNumbers?: {
|
|
3128
|
-
id: string;
|
|
3129
3128
|
phoneNumber: string;
|
|
3129
|
+
id: string;
|
|
3130
3130
|
description?: string | null | undefined;
|
|
3131
3131
|
isPrimary?: boolean | undefined;
|
|
3132
3132
|
}[] | undefined;
|
|
3133
3133
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3134
3134
|
office?: {
|
|
3135
|
-
id: string;
|
|
3136
3135
|
name: string;
|
|
3136
|
+
id: string;
|
|
3137
3137
|
} | null | undefined;
|
|
3138
3138
|
canImpersonateUsers?: {
|
|
3139
3139
|
id: string;
|
|
@@ -3158,14 +3158,14 @@ export declare const ownResearchContract: {
|
|
|
3158
3158
|
notes: z.ZodOptional<z.ZodString>;
|
|
3159
3159
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
3160
3160
|
}, "strip", z.ZodTypeAny, {
|
|
3161
|
-
phoneNumber: string;
|
|
3162
3161
|
name: string;
|
|
3162
|
+
phoneNumber: string;
|
|
3163
3163
|
rating: import("../common/call-rating.schema").CallRating;
|
|
3164
3164
|
notes?: string | undefined;
|
|
3165
3165
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
3166
3166
|
}, {
|
|
3167
|
-
phoneNumber: string;
|
|
3168
3167
|
name: string;
|
|
3168
|
+
phoneNumber: string;
|
|
3169
3169
|
rating: import("../common/call-rating.schema").CallRating;
|
|
3170
3170
|
notes?: string | undefined;
|
|
3171
3171
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
@@ -3280,11 +3280,11 @@ export declare const ownResearchContract: {
|
|
|
3280
3280
|
name: z.ZodString;
|
|
3281
3281
|
phoneNumber: z.ZodString;
|
|
3282
3282
|
}, "strip", z.ZodTypeAny, {
|
|
3283
|
-
phoneNumber: string;
|
|
3284
3283
|
name: string;
|
|
3285
|
-
}, {
|
|
3286
3284
|
phoneNumber: string;
|
|
3285
|
+
}, {
|
|
3287
3286
|
name: string;
|
|
3287
|
+
phoneNumber: string;
|
|
3288
3288
|
}>>;
|
|
3289
3289
|
agentId: z.ZodNullable<z.ZodString>;
|
|
3290
3290
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -3298,13 +3298,13 @@ export declare const ownResearchContract: {
|
|
|
3298
3298
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3299
3299
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
3300
3300
|
}, "strip", z.ZodTypeAny, {
|
|
3301
|
-
id: string;
|
|
3302
3301
|
phoneNumber: string;
|
|
3302
|
+
id: string;
|
|
3303
3303
|
isPrimary: boolean;
|
|
3304
3304
|
description?: string | null | undefined;
|
|
3305
3305
|
}, {
|
|
3306
|
-
id: string;
|
|
3307
3306
|
phoneNumber: string;
|
|
3307
|
+
id: string;
|
|
3308
3308
|
description?: string | null | undefined;
|
|
3309
3309
|
isPrimary?: boolean | undefined;
|
|
3310
3310
|
}>, "many">>>;
|
|
@@ -3313,11 +3313,11 @@ export declare const ownResearchContract: {
|
|
|
3313
3313
|
id: z.ZodString;
|
|
3314
3314
|
name: z.ZodString;
|
|
3315
3315
|
}, "strip", z.ZodTypeAny, {
|
|
3316
|
-
id: string;
|
|
3317
3316
|
name: string;
|
|
3318
|
-
}, {
|
|
3319
3317
|
id: string;
|
|
3318
|
+
}, {
|
|
3320
3319
|
name: string;
|
|
3320
|
+
id: string;
|
|
3321
3321
|
}>>>;
|
|
3322
3322
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3323
3323
|
id: z.ZodString;
|
|
@@ -3340,8 +3340,8 @@ export declare const ownResearchContract: {
|
|
|
3340
3340
|
lastName: string;
|
|
3341
3341
|
email: string;
|
|
3342
3342
|
phoneNumbers: {
|
|
3343
|
-
id: string;
|
|
3344
3343
|
phoneNumber: string;
|
|
3344
|
+
id: string;
|
|
3345
3345
|
isPrimary: boolean;
|
|
3346
3346
|
description?: string | null | undefined;
|
|
3347
3347
|
}[];
|
|
@@ -3349,8 +3349,8 @@ export declare const ownResearchContract: {
|
|
|
3349
3349
|
updatedAt: string;
|
|
3350
3350
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3351
3351
|
office?: {
|
|
3352
|
-
id: string;
|
|
3353
3352
|
name: string;
|
|
3353
|
+
id: string;
|
|
3354
3354
|
} | null | undefined;
|
|
3355
3355
|
canImpersonateUsers?: {
|
|
3356
3356
|
id: string;
|
|
@@ -3365,15 +3365,15 @@ export declare const ownResearchContract: {
|
|
|
3365
3365
|
createdAt: string | Date;
|
|
3366
3366
|
updatedAt: string | Date;
|
|
3367
3367
|
phoneNumbers?: {
|
|
3368
|
-
id: string;
|
|
3369
3368
|
phoneNumber: string;
|
|
3369
|
+
id: string;
|
|
3370
3370
|
description?: string | null | undefined;
|
|
3371
3371
|
isPrimary?: boolean | undefined;
|
|
3372
3372
|
}[] | undefined;
|
|
3373
3373
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3374
3374
|
office?: {
|
|
3375
|
-
id: string;
|
|
3376
3375
|
name: string;
|
|
3376
|
+
id: string;
|
|
3377
3377
|
} | null | undefined;
|
|
3378
3378
|
canImpersonateUsers?: {
|
|
3379
3379
|
id: string;
|
|
@@ -3391,36 +3391,40 @@ export declare const ownResearchContract: {
|
|
|
3391
3391
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3392
3392
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3393
3393
|
}, "strip", z.ZodTypeAny, {
|
|
3394
|
-
id: string;
|
|
3395
3394
|
name: string;
|
|
3395
|
+
id: string;
|
|
3396
3396
|
createdAt: string;
|
|
3397
3397
|
updatedAt: string;
|
|
3398
3398
|
}, {
|
|
3399
|
-
id: string;
|
|
3400
3399
|
name: string;
|
|
3400
|
+
id: string;
|
|
3401
3401
|
createdAt: string | Date;
|
|
3402
3402
|
updatedAt: string | Date;
|
|
3403
3403
|
}>>>;
|
|
3404
3404
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3405
3405
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3406
3406
|
}, "strip", z.ZodTypeAny, {
|
|
3407
|
-
id: string;
|
|
3408
3407
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3408
|
+
id: string;
|
|
3409
|
+
leadId: string;
|
|
3409
3410
|
agentId: string | null;
|
|
3410
3411
|
createdAt: string;
|
|
3411
3412
|
updatedAt: string;
|
|
3412
|
-
leadId: string;
|
|
3413
3413
|
assignedAt: string;
|
|
3414
3414
|
assignedBy: string | null;
|
|
3415
3415
|
companyId: string | null;
|
|
3416
|
+
lead?: {
|
|
3417
|
+
name: string;
|
|
3418
|
+
phoneNumber: string;
|
|
3419
|
+
} | undefined;
|
|
3416
3420
|
agent?: {
|
|
3417
3421
|
id: string;
|
|
3418
3422
|
firstName: string;
|
|
3419
3423
|
lastName: string;
|
|
3420
3424
|
email: string;
|
|
3421
3425
|
phoneNumbers: {
|
|
3422
|
-
id: string;
|
|
3423
3426
|
phoneNumber: string;
|
|
3427
|
+
id: string;
|
|
3424
3428
|
isPrimary: boolean;
|
|
3425
3429
|
description?: string | null | undefined;
|
|
3426
3430
|
}[];
|
|
@@ -3428,8 +3432,8 @@ export declare const ownResearchContract: {
|
|
|
3428
3432
|
updatedAt: string;
|
|
3429
3433
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3430
3434
|
office?: {
|
|
3431
|
-
id: string;
|
|
3432
3435
|
name: string;
|
|
3436
|
+
id: string;
|
|
3433
3437
|
} | null | undefined;
|
|
3434
3438
|
canImpersonateUsers?: {
|
|
3435
3439
|
id: string;
|
|
@@ -3437,26 +3441,26 @@ export declare const ownResearchContract: {
|
|
|
3437
3441
|
lastName: string;
|
|
3438
3442
|
}[] | undefined;
|
|
3439
3443
|
} | undefined;
|
|
3440
|
-
lead?: {
|
|
3441
|
-
phoneNumber: string;
|
|
3442
|
-
name: string;
|
|
3443
|
-
} | undefined;
|
|
3444
3444
|
company?: {
|
|
3445
|
-
id: string;
|
|
3446
3445
|
name: string;
|
|
3446
|
+
id: string;
|
|
3447
3447
|
createdAt: string;
|
|
3448
3448
|
updatedAt: string;
|
|
3449
3449
|
} | null | undefined;
|
|
3450
3450
|
}, {
|
|
3451
|
-
id: string;
|
|
3452
3451
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3452
|
+
id: string;
|
|
3453
|
+
leadId: string;
|
|
3453
3454
|
agentId: string | null;
|
|
3454
3455
|
createdAt: string | Date;
|
|
3455
3456
|
updatedAt: string | Date;
|
|
3456
|
-
leadId: string;
|
|
3457
3457
|
assignedAt: string | Date;
|
|
3458
3458
|
assignedBy: string | null;
|
|
3459
3459
|
companyId: string | null;
|
|
3460
|
+
lead?: {
|
|
3461
|
+
name: string;
|
|
3462
|
+
phoneNumber: string;
|
|
3463
|
+
} | undefined;
|
|
3460
3464
|
agent?: {
|
|
3461
3465
|
id: string;
|
|
3462
3466
|
firstName: string;
|
|
@@ -3465,15 +3469,15 @@ export declare const ownResearchContract: {
|
|
|
3465
3469
|
createdAt: string | Date;
|
|
3466
3470
|
updatedAt: string | Date;
|
|
3467
3471
|
phoneNumbers?: {
|
|
3468
|
-
id: string;
|
|
3469
3472
|
phoneNumber: string;
|
|
3473
|
+
id: string;
|
|
3470
3474
|
description?: string | null | undefined;
|
|
3471
3475
|
isPrimary?: boolean | undefined;
|
|
3472
3476
|
}[] | undefined;
|
|
3473
3477
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3474
3478
|
office?: {
|
|
3475
|
-
id: string;
|
|
3476
3479
|
name: string;
|
|
3480
|
+
id: string;
|
|
3477
3481
|
} | null | undefined;
|
|
3478
3482
|
canImpersonateUsers?: {
|
|
3479
3483
|
id: string;
|
|
@@ -3481,13 +3485,9 @@ export declare const ownResearchContract: {
|
|
|
3481
3485
|
lastName: string;
|
|
3482
3486
|
}[] | undefined;
|
|
3483
3487
|
} | undefined;
|
|
3484
|
-
lead?: {
|
|
3485
|
-
phoneNumber: string;
|
|
3486
|
-
name: string;
|
|
3487
|
-
} | undefined;
|
|
3488
3488
|
company?: {
|
|
3489
|
-
id: string;
|
|
3490
3489
|
name: string;
|
|
3490
|
+
id: string;
|
|
3491
3491
|
createdAt: string | Date;
|
|
3492
3492
|
updatedAt: string | Date;
|
|
3493
3493
|
} | null | undefined;
|
|
@@ -3506,13 +3506,13 @@ export declare const ownResearchContract: {
|
|
|
3506
3506
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3507
3507
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
3508
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3509
|
-
id: string;
|
|
3510
3509
|
phoneNumber: string;
|
|
3510
|
+
id: string;
|
|
3511
3511
|
isPrimary: boolean;
|
|
3512
3512
|
description?: string | null | undefined;
|
|
3513
3513
|
}, {
|
|
3514
|
-
id: string;
|
|
3515
3514
|
phoneNumber: string;
|
|
3515
|
+
id: string;
|
|
3516
3516
|
description?: string | null | undefined;
|
|
3517
3517
|
isPrimary?: boolean | undefined;
|
|
3518
3518
|
}>, "many">>>;
|
|
@@ -3521,11 +3521,11 @@ export declare const ownResearchContract: {
|
|
|
3521
3521
|
id: z.ZodString;
|
|
3522
3522
|
name: z.ZodString;
|
|
3523
3523
|
}, "strip", z.ZodTypeAny, {
|
|
3524
|
-
id: string;
|
|
3525
3524
|
name: string;
|
|
3526
|
-
}, {
|
|
3527
3525
|
id: string;
|
|
3526
|
+
}, {
|
|
3528
3527
|
name: string;
|
|
3528
|
+
id: string;
|
|
3529
3529
|
}>>>;
|
|
3530
3530
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3531
3531
|
id: z.ZodString;
|
|
@@ -3548,8 +3548,8 @@ export declare const ownResearchContract: {
|
|
|
3548
3548
|
lastName: string;
|
|
3549
3549
|
email: string;
|
|
3550
3550
|
phoneNumbers: {
|
|
3551
|
-
id: string;
|
|
3552
3551
|
phoneNumber: string;
|
|
3552
|
+
id: string;
|
|
3553
3553
|
isPrimary: boolean;
|
|
3554
3554
|
description?: string | null | undefined;
|
|
3555
3555
|
}[];
|
|
@@ -3557,8 +3557,8 @@ export declare const ownResearchContract: {
|
|
|
3557
3557
|
updatedAt: string;
|
|
3558
3558
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3559
3559
|
office?: {
|
|
3560
|
-
id: string;
|
|
3561
3560
|
name: string;
|
|
3561
|
+
id: string;
|
|
3562
3562
|
} | null | undefined;
|
|
3563
3563
|
canImpersonateUsers?: {
|
|
3564
3564
|
id: string;
|
|
@@ -3573,15 +3573,15 @@ export declare const ownResearchContract: {
|
|
|
3573
3573
|
createdAt: string | Date;
|
|
3574
3574
|
updatedAt: string | Date;
|
|
3575
3575
|
phoneNumbers?: {
|
|
3576
|
-
id: string;
|
|
3577
3576
|
phoneNumber: string;
|
|
3577
|
+
id: string;
|
|
3578
3578
|
description?: string | null | undefined;
|
|
3579
3579
|
isPrimary?: boolean | undefined;
|
|
3580
3580
|
}[] | undefined;
|
|
3581
3581
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3582
3582
|
office?: {
|
|
3583
|
-
id: string;
|
|
3584
3583
|
name: string;
|
|
3584
|
+
id: string;
|
|
3585
3585
|
} | null | undefined;
|
|
3586
3586
|
canImpersonateUsers?: {
|
|
3587
3587
|
id: string;
|
|
@@ -3602,11 +3602,11 @@ export declare const ownResearchContract: {
|
|
|
3602
3602
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3603
3603
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3604
3604
|
}, "strip", z.ZodTypeAny, {
|
|
3605
|
-
|
|
3605
|
+
name: string;
|
|
3606
3606
|
phoneNumber: string;
|
|
3607
3607
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3608
|
+
id: string;
|
|
3608
3609
|
agentId: string;
|
|
3609
|
-
name: string;
|
|
3610
3610
|
createdAt: string;
|
|
3611
3611
|
updatedAt: string;
|
|
3612
3612
|
callCount: number;
|
|
@@ -3622,8 +3622,8 @@ export declare const ownResearchContract: {
|
|
|
3622
3622
|
lastName: string;
|
|
3623
3623
|
email: string;
|
|
3624
3624
|
phoneNumbers: {
|
|
3625
|
-
id: string;
|
|
3626
3625
|
phoneNumber: string;
|
|
3626
|
+
id: string;
|
|
3627
3627
|
isPrimary: boolean;
|
|
3628
3628
|
description?: string | null | undefined;
|
|
3629
3629
|
}[];
|
|
@@ -3631,8 +3631,8 @@ export declare const ownResearchContract: {
|
|
|
3631
3631
|
updatedAt: string;
|
|
3632
3632
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3633
3633
|
office?: {
|
|
3634
|
-
id: string;
|
|
3635
3634
|
name: string;
|
|
3635
|
+
id: string;
|
|
3636
3636
|
} | null | undefined;
|
|
3637
3637
|
canImpersonateUsers?: {
|
|
3638
3638
|
id: string;
|
|
@@ -3641,11 +3641,11 @@ export declare const ownResearchContract: {
|
|
|
3641
3641
|
}[] | undefined;
|
|
3642
3642
|
} | undefined;
|
|
3643
3643
|
}, {
|
|
3644
|
-
|
|
3644
|
+
name: string;
|
|
3645
3645
|
phoneNumber: string;
|
|
3646
3646
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3647
|
+
id: string;
|
|
3647
3648
|
agentId: string;
|
|
3648
|
-
name: string;
|
|
3649
3649
|
createdAt: string | Date;
|
|
3650
3650
|
updatedAt: string | Date;
|
|
3651
3651
|
callCount: number;
|
|
@@ -3663,15 +3663,15 @@ export declare const ownResearchContract: {
|
|
|
3663
3663
|
createdAt: string | Date;
|
|
3664
3664
|
updatedAt: string | Date;
|
|
3665
3665
|
phoneNumbers?: {
|
|
3666
|
-
id: string;
|
|
3667
3666
|
phoneNumber: string;
|
|
3667
|
+
id: string;
|
|
3668
3668
|
description?: string | null | undefined;
|
|
3669
3669
|
isPrimary?: boolean | undefined;
|
|
3670
3670
|
}[] | undefined;
|
|
3671
3671
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3672
3672
|
office?: {
|
|
3673
|
-
id: string;
|
|
3674
3673
|
name: string;
|
|
3674
|
+
id: string;
|
|
3675
3675
|
} | null | undefined;
|
|
3676
3676
|
canImpersonateUsers?: {
|
|
3677
3677
|
id: string;
|
|
@@ -3682,11 +3682,11 @@ export declare const ownResearchContract: {
|
|
|
3682
3682
|
}>;
|
|
3683
3683
|
}, "strip", z.ZodTypeAny, {
|
|
3684
3684
|
ownResearchLead: {
|
|
3685
|
-
|
|
3685
|
+
name: string;
|
|
3686
3686
|
phoneNumber: string;
|
|
3687
3687
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3688
|
+
id: string;
|
|
3688
3689
|
agentId: string;
|
|
3689
|
-
name: string;
|
|
3690
3690
|
createdAt: string;
|
|
3691
3691
|
updatedAt: string;
|
|
3692
3692
|
callCount: number;
|
|
@@ -3702,8 +3702,8 @@ export declare const ownResearchContract: {
|
|
|
3702
3702
|
lastName: string;
|
|
3703
3703
|
email: string;
|
|
3704
3704
|
phoneNumbers: {
|
|
3705
|
-
id: string;
|
|
3706
3705
|
phoneNumber: string;
|
|
3706
|
+
id: string;
|
|
3707
3707
|
isPrimary: boolean;
|
|
3708
3708
|
description?: string | null | undefined;
|
|
3709
3709
|
}[];
|
|
@@ -3711,8 +3711,8 @@ export declare const ownResearchContract: {
|
|
|
3711
3711
|
updatedAt: string;
|
|
3712
3712
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3713
3713
|
office?: {
|
|
3714
|
-
id: string;
|
|
3715
3714
|
name: string;
|
|
3715
|
+
id: string;
|
|
3716
3716
|
} | null | undefined;
|
|
3717
3717
|
canImpersonateUsers?: {
|
|
3718
3718
|
id: string;
|
|
@@ -3722,23 +3722,27 @@ export declare const ownResearchContract: {
|
|
|
3722
3722
|
} | undefined;
|
|
3723
3723
|
};
|
|
3724
3724
|
assignment?: {
|
|
3725
|
-
id: string;
|
|
3726
3725
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3726
|
+
id: string;
|
|
3727
|
+
leadId: string;
|
|
3727
3728
|
agentId: string | null;
|
|
3728
3729
|
createdAt: string;
|
|
3729
3730
|
updatedAt: string;
|
|
3730
|
-
leadId: string;
|
|
3731
3731
|
assignedAt: string;
|
|
3732
3732
|
assignedBy: string | null;
|
|
3733
3733
|
companyId: string | null;
|
|
3734
|
+
lead?: {
|
|
3735
|
+
name: string;
|
|
3736
|
+
phoneNumber: string;
|
|
3737
|
+
} | undefined;
|
|
3734
3738
|
agent?: {
|
|
3735
3739
|
id: string;
|
|
3736
3740
|
firstName: string;
|
|
3737
3741
|
lastName: string;
|
|
3738
3742
|
email: string;
|
|
3739
3743
|
phoneNumbers: {
|
|
3740
|
-
id: string;
|
|
3741
3744
|
phoneNumber: string;
|
|
3745
|
+
id: string;
|
|
3742
3746
|
isPrimary: boolean;
|
|
3743
3747
|
description?: string | null | undefined;
|
|
3744
3748
|
}[];
|
|
@@ -3746,8 +3750,8 @@ export declare const ownResearchContract: {
|
|
|
3746
3750
|
updatedAt: string;
|
|
3747
3751
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3748
3752
|
office?: {
|
|
3749
|
-
id: string;
|
|
3750
3753
|
name: string;
|
|
3754
|
+
id: string;
|
|
3751
3755
|
} | null | undefined;
|
|
3752
3756
|
canImpersonateUsers?: {
|
|
3753
3757
|
id: string;
|
|
@@ -3755,24 +3759,20 @@ export declare const ownResearchContract: {
|
|
|
3755
3759
|
lastName: string;
|
|
3756
3760
|
}[] | undefined;
|
|
3757
3761
|
} | undefined;
|
|
3758
|
-
lead?: {
|
|
3759
|
-
phoneNumber: string;
|
|
3760
|
-
name: string;
|
|
3761
|
-
} | undefined;
|
|
3762
3762
|
company?: {
|
|
3763
|
-
id: string;
|
|
3764
3763
|
name: string;
|
|
3764
|
+
id: string;
|
|
3765
3765
|
createdAt: string;
|
|
3766
3766
|
updatedAt: string;
|
|
3767
3767
|
} | null | undefined;
|
|
3768
3768
|
} | null | undefined;
|
|
3769
3769
|
}, {
|
|
3770
3770
|
ownResearchLead: {
|
|
3771
|
-
|
|
3771
|
+
name: string;
|
|
3772
3772
|
phoneNumber: string;
|
|
3773
3773
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3774
|
+
id: string;
|
|
3774
3775
|
agentId: string;
|
|
3775
|
-
name: string;
|
|
3776
3776
|
createdAt: string | Date;
|
|
3777
3777
|
updatedAt: string | Date;
|
|
3778
3778
|
callCount: number;
|
|
@@ -3790,15 +3790,15 @@ export declare const ownResearchContract: {
|
|
|
3790
3790
|
createdAt: string | Date;
|
|
3791
3791
|
updatedAt: string | Date;
|
|
3792
3792
|
phoneNumbers?: {
|
|
3793
|
-
id: string;
|
|
3794
3793
|
phoneNumber: string;
|
|
3794
|
+
id: string;
|
|
3795
3795
|
description?: string | null | undefined;
|
|
3796
3796
|
isPrimary?: boolean | undefined;
|
|
3797
3797
|
}[] | undefined;
|
|
3798
3798
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3799
3799
|
office?: {
|
|
3800
|
-
id: string;
|
|
3801
3800
|
name: string;
|
|
3801
|
+
id: string;
|
|
3802
3802
|
} | null | undefined;
|
|
3803
3803
|
canImpersonateUsers?: {
|
|
3804
3804
|
id: string;
|
|
@@ -3808,15 +3808,19 @@ export declare const ownResearchContract: {
|
|
|
3808
3808
|
} | undefined;
|
|
3809
3809
|
};
|
|
3810
3810
|
assignment?: {
|
|
3811
|
-
id: string;
|
|
3812
3811
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3812
|
+
id: string;
|
|
3813
|
+
leadId: string;
|
|
3813
3814
|
agentId: string | null;
|
|
3814
3815
|
createdAt: string | Date;
|
|
3815
3816
|
updatedAt: string | Date;
|
|
3816
|
-
leadId: string;
|
|
3817
3817
|
assignedAt: string | Date;
|
|
3818
3818
|
assignedBy: string | null;
|
|
3819
3819
|
companyId: string | null;
|
|
3820
|
+
lead?: {
|
|
3821
|
+
name: string;
|
|
3822
|
+
phoneNumber: string;
|
|
3823
|
+
} | undefined;
|
|
3820
3824
|
agent?: {
|
|
3821
3825
|
id: string;
|
|
3822
3826
|
firstName: string;
|
|
@@ -3825,15 +3829,15 @@ export declare const ownResearchContract: {
|
|
|
3825
3829
|
createdAt: string | Date;
|
|
3826
3830
|
updatedAt: string | Date;
|
|
3827
3831
|
phoneNumbers?: {
|
|
3828
|
-
id: string;
|
|
3829
3832
|
phoneNumber: string;
|
|
3833
|
+
id: string;
|
|
3830
3834
|
description?: string | null | undefined;
|
|
3831
3835
|
isPrimary?: boolean | undefined;
|
|
3832
3836
|
}[] | undefined;
|
|
3833
3837
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3834
3838
|
office?: {
|
|
3835
|
-
id: string;
|
|
3836
3839
|
name: string;
|
|
3840
|
+
id: string;
|
|
3837
3841
|
} | null | undefined;
|
|
3838
3842
|
canImpersonateUsers?: {
|
|
3839
3843
|
id: string;
|
|
@@ -3841,13 +3845,9 @@ export declare const ownResearchContract: {
|
|
|
3841
3845
|
lastName: string;
|
|
3842
3846
|
}[] | undefined;
|
|
3843
3847
|
} | undefined;
|
|
3844
|
-
lead?: {
|
|
3845
|
-
phoneNumber: string;
|
|
3846
|
-
name: string;
|
|
3847
|
-
} | undefined;
|
|
3848
3848
|
company?: {
|
|
3849
|
-
id: string;
|
|
3850
3849
|
name: string;
|
|
3850
|
+
id: string;
|
|
3851
3851
|
createdAt: string | Date;
|
|
3852
3852
|
updatedAt: string | Date;
|
|
3853
3853
|
} | null | undefined;
|