@dakkitor/api-contracts 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.spec.js +39 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +2 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +2562 -2515
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +908 -908
- package/dist/auth/auth.contract.d.ts +50 -44
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +4918 -4824
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +434 -434
- package/dist/calls-feed/calls-feed.contract.d.ts +70 -70
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1412 -1412
- package/dist/collaborations/collaborations.contract.d.ts +1278 -1278
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +19 -6
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +1255 -1188
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +22 -6
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +347 -304
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +6058 -5381
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +88 -88
- package/dist/curated-workers/curated-workers.contract.d.ts +1173 -962
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +43 -73
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +426 -426
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +3610 -3610
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +56 -56
- package/dist/lead-assignments/lead-assignments.contract.d.ts +706 -706
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +220 -220
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +86 -86
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +18 -18
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- package/dist/outreach/outreach.contract.d.ts +12 -12
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1156 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +103 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +119 -0
- package/dist/own-research/own-research.contract.d.ts +708 -708
- package/dist/proofs/proofs.contract.d.ts +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +115 -86
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +16 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +87 -58
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.schemas.js +22 -5
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +226 -226
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +327 -325
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +10 -7
- package/dist/users/users.contract.spec.js +15 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +35 -35
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +1969 -1775
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -40,28 +40,28 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
40
40
|
lastName: z.ZodString;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
id: string;
|
|
43
|
-
firstName: string;
|
|
44
43
|
lastName: string;
|
|
44
|
+
firstName: string;
|
|
45
45
|
}, {
|
|
46
46
|
id: string;
|
|
47
|
-
firstName: string;
|
|
48
47
|
lastName: string;
|
|
48
|
+
firstName: string;
|
|
49
49
|
}>, "many">>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
id: string;
|
|
52
52
|
name: string;
|
|
53
53
|
managers?: {
|
|
54
54
|
id: string;
|
|
55
|
-
firstName: string;
|
|
56
55
|
lastName: string;
|
|
56
|
+
firstName: string;
|
|
57
57
|
}[] | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
id: string;
|
|
60
60
|
name: string;
|
|
61
61
|
managers?: {
|
|
62
62
|
id: string;
|
|
63
|
-
firstName: string;
|
|
64
63
|
lastName: string;
|
|
64
|
+
firstName: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}>>>;
|
|
67
67
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -70,12 +70,12 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
70
70
|
lastName: z.ZodString;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
id: string;
|
|
73
|
-
firstName: string;
|
|
74
73
|
lastName: string;
|
|
74
|
+
firstName: string;
|
|
75
75
|
}, {
|
|
76
76
|
id: string;
|
|
77
|
-
firstName: string;
|
|
78
77
|
lastName: string;
|
|
78
|
+
firstName: string;
|
|
79
79
|
}>, "many">>;
|
|
80
80
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
81
81
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -84,49 +84,51 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
status: "ACTIVE" | "INACTIVE";
|
|
86
86
|
id: string;
|
|
87
|
-
|
|
88
|
-
lastName: string;
|
|
89
|
-
email: string;
|
|
87
|
+
updatedAt: string;
|
|
90
88
|
createdAt: string;
|
|
89
|
+
email: string;
|
|
90
|
+
lastName: string;
|
|
91
|
+
firstName: string;
|
|
91
92
|
phoneNumbers: {
|
|
92
93
|
id: string;
|
|
93
94
|
phoneNumber: string;
|
|
94
95
|
isPrimary: boolean;
|
|
95
96
|
description?: string | null | undefined;
|
|
96
97
|
}[];
|
|
97
|
-
|
|
98
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
99
|
+
officeId?: string | null | undefined;
|
|
98
100
|
office?: {
|
|
99
101
|
id: string;
|
|
100
102
|
name: string;
|
|
101
103
|
managers?: {
|
|
102
104
|
id: string;
|
|
103
|
-
firstName: string;
|
|
104
105
|
lastName: string;
|
|
106
|
+
firstName: string;
|
|
105
107
|
}[] | undefined;
|
|
106
108
|
} | null | undefined;
|
|
107
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
108
|
-
officeId?: string | null | undefined;
|
|
109
109
|
canImpersonateUsers?: {
|
|
110
110
|
id: string;
|
|
111
|
-
firstName: string;
|
|
112
111
|
lastName: string;
|
|
112
|
+
firstName: string;
|
|
113
113
|
}[] | undefined;
|
|
114
114
|
deletedAt?: string | null | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
status: "ACTIVE" | "INACTIVE";
|
|
117
117
|
id: string;
|
|
118
|
-
firstName: string;
|
|
119
|
-
lastName: string;
|
|
120
|
-
email: string;
|
|
121
|
-
createdAt: string | Date;
|
|
122
118
|
updatedAt: string | Date;
|
|
119
|
+
createdAt: string | Date;
|
|
120
|
+
email: string;
|
|
121
|
+
lastName: string;
|
|
122
|
+
firstName: string;
|
|
123
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
124
|
+
officeId?: string | null | undefined;
|
|
123
125
|
office?: {
|
|
124
126
|
id: string;
|
|
125
127
|
name: string;
|
|
126
128
|
managers?: {
|
|
127
129
|
id: string;
|
|
128
|
-
firstName: string;
|
|
129
130
|
lastName: string;
|
|
131
|
+
firstName: string;
|
|
130
132
|
}[] | undefined;
|
|
131
133
|
} | null | undefined;
|
|
132
134
|
phoneNumbers?: {
|
|
@@ -135,12 +137,10 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
135
137
|
description?: string | null | undefined;
|
|
136
138
|
isPrimary?: boolean | undefined;
|
|
137
139
|
}[] | undefined;
|
|
138
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
139
|
-
officeId?: string | null | undefined;
|
|
140
140
|
canImpersonateUsers?: {
|
|
141
141
|
id: string;
|
|
142
|
-
firstName: string;
|
|
143
142
|
lastName: string;
|
|
143
|
+
firstName: string;
|
|
144
144
|
}[] | undefined;
|
|
145
145
|
deletedAt?: string | Date | null | undefined;
|
|
146
146
|
}>>;
|
|
@@ -159,12 +159,12 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
161
161
|
id: string;
|
|
162
|
-
phoneNumber: string;
|
|
163
162
|
name: string;
|
|
164
|
-
createdAt: string;
|
|
165
163
|
updatedAt: string;
|
|
164
|
+
createdAt: string;
|
|
166
165
|
blacklistReason: string | null;
|
|
167
166
|
agentId: string;
|
|
167
|
+
phoneNumber: string;
|
|
168
168
|
lastCalledAt: string | null;
|
|
169
169
|
callCount: number;
|
|
170
170
|
lastCallNotes: string | null;
|
|
@@ -174,44 +174,44 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
174
174
|
agent?: {
|
|
175
175
|
status: "ACTIVE" | "INACTIVE";
|
|
176
176
|
id: string;
|
|
177
|
-
|
|
178
|
-
lastName: string;
|
|
179
|
-
email: string;
|
|
177
|
+
updatedAt: string;
|
|
180
178
|
createdAt: string;
|
|
179
|
+
email: string;
|
|
180
|
+
lastName: string;
|
|
181
|
+
firstName: string;
|
|
181
182
|
phoneNumbers: {
|
|
182
183
|
id: string;
|
|
183
184
|
phoneNumber: string;
|
|
184
185
|
isPrimary: boolean;
|
|
185
186
|
description?: string | null | undefined;
|
|
186
187
|
}[];
|
|
187
|
-
|
|
188
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
189
|
+
officeId?: string | null | undefined;
|
|
188
190
|
office?: {
|
|
189
191
|
id: string;
|
|
190
192
|
name: string;
|
|
191
193
|
managers?: {
|
|
192
194
|
id: string;
|
|
193
|
-
firstName: string;
|
|
194
195
|
lastName: string;
|
|
196
|
+
firstName: string;
|
|
195
197
|
}[] | undefined;
|
|
196
198
|
} | null | undefined;
|
|
197
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
198
|
-
officeId?: string | null | undefined;
|
|
199
199
|
canImpersonateUsers?: {
|
|
200
200
|
id: string;
|
|
201
|
-
firstName: string;
|
|
202
201
|
lastName: string;
|
|
202
|
+
firstName: string;
|
|
203
203
|
}[] | undefined;
|
|
204
204
|
deletedAt?: string | null | undefined;
|
|
205
205
|
} | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
208
208
|
id: string;
|
|
209
|
-
phoneNumber: string;
|
|
210
209
|
name: string;
|
|
211
|
-
createdAt: string | Date;
|
|
212
210
|
updatedAt: string | Date;
|
|
211
|
+
createdAt: string | Date;
|
|
213
212
|
blacklistReason: string | null;
|
|
214
213
|
agentId: string;
|
|
214
|
+
phoneNumber: string;
|
|
215
215
|
lastCalledAt: string | Date | null;
|
|
216
216
|
callCount: number;
|
|
217
217
|
lastCallNotes: string | null;
|
|
@@ -221,18 +221,20 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
221
221
|
agent?: {
|
|
222
222
|
status: "ACTIVE" | "INACTIVE";
|
|
223
223
|
id: string;
|
|
224
|
-
firstName: string;
|
|
225
|
-
lastName: string;
|
|
226
|
-
email: string;
|
|
227
|
-
createdAt: string | Date;
|
|
228
224
|
updatedAt: string | Date;
|
|
225
|
+
createdAt: string | Date;
|
|
226
|
+
email: string;
|
|
227
|
+
lastName: string;
|
|
228
|
+
firstName: string;
|
|
229
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
230
|
+
officeId?: string | null | undefined;
|
|
229
231
|
office?: {
|
|
230
232
|
id: string;
|
|
231
233
|
name: string;
|
|
232
234
|
managers?: {
|
|
233
235
|
id: string;
|
|
234
|
-
firstName: string;
|
|
235
236
|
lastName: string;
|
|
237
|
+
firstName: string;
|
|
236
238
|
}[] | undefined;
|
|
237
239
|
} | null | undefined;
|
|
238
240
|
phoneNumbers?: {
|
|
@@ -241,12 +243,10 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
241
243
|
description?: string | null | undefined;
|
|
242
244
|
isPrimary?: boolean | undefined;
|
|
243
245
|
}[] | undefined;
|
|
244
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
245
|
-
officeId?: string | null | undefined;
|
|
246
246
|
canImpersonateUsers?: {
|
|
247
247
|
id: string;
|
|
248
|
-
firstName: string;
|
|
249
248
|
lastName: string;
|
|
249
|
+
firstName: string;
|
|
250
250
|
}[] | undefined;
|
|
251
251
|
deletedAt?: string | Date | null | undefined;
|
|
252
252
|
} | undefined;
|
|
@@ -263,14 +263,14 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
status: string;
|
|
265
265
|
id: string;
|
|
266
|
-
phoneNumber: string;
|
|
267
266
|
name: string;
|
|
267
|
+
phoneNumber: string;
|
|
268
268
|
cooldownUntil: string | null;
|
|
269
269
|
}, {
|
|
270
270
|
status: string;
|
|
271
271
|
id: string;
|
|
272
|
-
phoneNumber: string;
|
|
273
272
|
name: string;
|
|
273
|
+
phoneNumber: string;
|
|
274
274
|
cooldownUntil: string | Date | null;
|
|
275
275
|
}>>>;
|
|
276
276
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -308,28 +308,28 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
308
308
|
lastName: z.ZodString;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
id: string;
|
|
311
|
-
firstName: string;
|
|
312
311
|
lastName: string;
|
|
312
|
+
firstName: string;
|
|
313
313
|
}, {
|
|
314
314
|
id: string;
|
|
315
|
-
firstName: string;
|
|
316
315
|
lastName: string;
|
|
316
|
+
firstName: string;
|
|
317
317
|
}>, "many">>;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
319
|
id: string;
|
|
320
320
|
name: string;
|
|
321
321
|
managers?: {
|
|
322
322
|
id: string;
|
|
323
|
-
firstName: string;
|
|
324
323
|
lastName: string;
|
|
324
|
+
firstName: string;
|
|
325
325
|
}[] | undefined;
|
|
326
326
|
}, {
|
|
327
327
|
id: string;
|
|
328
328
|
name: string;
|
|
329
329
|
managers?: {
|
|
330
330
|
id: string;
|
|
331
|
-
firstName: string;
|
|
332
331
|
lastName: string;
|
|
332
|
+
firstName: string;
|
|
333
333
|
}[] | undefined;
|
|
334
334
|
}>>>;
|
|
335
335
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -338,12 +338,12 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
338
338
|
lastName: z.ZodString;
|
|
339
339
|
}, "strip", z.ZodTypeAny, {
|
|
340
340
|
id: string;
|
|
341
|
-
firstName: string;
|
|
342
341
|
lastName: string;
|
|
342
|
+
firstName: string;
|
|
343
343
|
}, {
|
|
344
344
|
id: string;
|
|
345
|
-
firstName: string;
|
|
346
345
|
lastName: string;
|
|
346
|
+
firstName: string;
|
|
347
347
|
}>, "many">>;
|
|
348
348
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
349
349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -352,49 +352,51 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
status: "ACTIVE" | "INACTIVE";
|
|
354
354
|
id: string;
|
|
355
|
-
|
|
356
|
-
lastName: string;
|
|
357
|
-
email: string;
|
|
355
|
+
updatedAt: string;
|
|
358
356
|
createdAt: string;
|
|
357
|
+
email: string;
|
|
358
|
+
lastName: string;
|
|
359
|
+
firstName: string;
|
|
359
360
|
phoneNumbers: {
|
|
360
361
|
id: string;
|
|
361
362
|
phoneNumber: string;
|
|
362
363
|
isPrimary: boolean;
|
|
363
364
|
description?: string | null | undefined;
|
|
364
365
|
}[];
|
|
365
|
-
|
|
366
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
367
|
+
officeId?: string | null | undefined;
|
|
366
368
|
office?: {
|
|
367
369
|
id: string;
|
|
368
370
|
name: string;
|
|
369
371
|
managers?: {
|
|
370
372
|
id: string;
|
|
371
|
-
firstName: string;
|
|
372
373
|
lastName: string;
|
|
374
|
+
firstName: string;
|
|
373
375
|
}[] | undefined;
|
|
374
376
|
} | null | undefined;
|
|
375
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
376
|
-
officeId?: string | null | undefined;
|
|
377
377
|
canImpersonateUsers?: {
|
|
378
378
|
id: string;
|
|
379
|
-
firstName: string;
|
|
380
379
|
lastName: string;
|
|
380
|
+
firstName: string;
|
|
381
381
|
}[] | undefined;
|
|
382
382
|
deletedAt?: string | null | undefined;
|
|
383
383
|
}, {
|
|
384
384
|
status: "ACTIVE" | "INACTIVE";
|
|
385
385
|
id: string;
|
|
386
|
-
firstName: string;
|
|
387
|
-
lastName: string;
|
|
388
|
-
email: string;
|
|
389
|
-
createdAt: string | Date;
|
|
390
386
|
updatedAt: string | Date;
|
|
387
|
+
createdAt: string | Date;
|
|
388
|
+
email: string;
|
|
389
|
+
lastName: string;
|
|
390
|
+
firstName: string;
|
|
391
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
392
|
+
officeId?: string | null | undefined;
|
|
391
393
|
office?: {
|
|
392
394
|
id: string;
|
|
393
395
|
name: string;
|
|
394
396
|
managers?: {
|
|
395
397
|
id: string;
|
|
396
|
-
firstName: string;
|
|
397
398
|
lastName: string;
|
|
399
|
+
firstName: string;
|
|
398
400
|
}[] | undefined;
|
|
399
401
|
} | null | undefined;
|
|
400
402
|
phoneNumbers?: {
|
|
@@ -403,12 +405,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
403
405
|
description?: string | null | undefined;
|
|
404
406
|
isPrimary?: boolean | undefined;
|
|
405
407
|
}[] | undefined;
|
|
406
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
407
|
-
officeId?: string | null | undefined;
|
|
408
408
|
canImpersonateUsers?: {
|
|
409
409
|
id: string;
|
|
410
|
-
firstName: string;
|
|
411
410
|
lastName: string;
|
|
411
|
+
firstName: string;
|
|
412
412
|
}[] | undefined;
|
|
413
413
|
deletedAt?: string | Date | null | undefined;
|
|
414
414
|
}>>;
|
|
@@ -427,12 +427,12 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
427
427
|
}, "strip", z.ZodTypeAny, {
|
|
428
428
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
429
429
|
id: string;
|
|
430
|
-
phoneNumber: string;
|
|
431
430
|
name: string;
|
|
432
|
-
createdAt: string;
|
|
433
431
|
updatedAt: string;
|
|
432
|
+
createdAt: string;
|
|
434
433
|
blacklistReason: string | null;
|
|
435
434
|
agentId: string;
|
|
435
|
+
phoneNumber: string;
|
|
436
436
|
lastCalledAt: string | null;
|
|
437
437
|
callCount: number;
|
|
438
438
|
lastCallNotes: string | null;
|
|
@@ -442,44 +442,44 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
442
442
|
agent?: {
|
|
443
443
|
status: "ACTIVE" | "INACTIVE";
|
|
444
444
|
id: string;
|
|
445
|
-
|
|
446
|
-
lastName: string;
|
|
447
|
-
email: string;
|
|
445
|
+
updatedAt: string;
|
|
448
446
|
createdAt: string;
|
|
447
|
+
email: string;
|
|
448
|
+
lastName: string;
|
|
449
|
+
firstName: string;
|
|
449
450
|
phoneNumbers: {
|
|
450
451
|
id: string;
|
|
451
452
|
phoneNumber: string;
|
|
452
453
|
isPrimary: boolean;
|
|
453
454
|
description?: string | null | undefined;
|
|
454
455
|
}[];
|
|
455
|
-
|
|
456
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
457
|
+
officeId?: string | null | undefined;
|
|
456
458
|
office?: {
|
|
457
459
|
id: string;
|
|
458
460
|
name: string;
|
|
459
461
|
managers?: {
|
|
460
462
|
id: string;
|
|
461
|
-
firstName: string;
|
|
462
463
|
lastName: string;
|
|
464
|
+
firstName: string;
|
|
463
465
|
}[] | undefined;
|
|
464
466
|
} | null | undefined;
|
|
465
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
466
|
-
officeId?: string | null | undefined;
|
|
467
467
|
canImpersonateUsers?: {
|
|
468
468
|
id: string;
|
|
469
|
-
firstName: string;
|
|
470
469
|
lastName: string;
|
|
470
|
+
firstName: string;
|
|
471
471
|
}[] | undefined;
|
|
472
472
|
deletedAt?: string | null | undefined;
|
|
473
473
|
} | undefined;
|
|
474
474
|
}, {
|
|
475
475
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
476
476
|
id: string;
|
|
477
|
-
phoneNumber: string;
|
|
478
477
|
name: string;
|
|
479
|
-
createdAt: string | Date;
|
|
480
478
|
updatedAt: string | Date;
|
|
479
|
+
createdAt: string | Date;
|
|
481
480
|
blacklistReason: string | null;
|
|
482
481
|
agentId: string;
|
|
482
|
+
phoneNumber: string;
|
|
483
483
|
lastCalledAt: string | Date | null;
|
|
484
484
|
callCount: number;
|
|
485
485
|
lastCallNotes: string | null;
|
|
@@ -489,18 +489,20 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
489
489
|
agent?: {
|
|
490
490
|
status: "ACTIVE" | "INACTIVE";
|
|
491
491
|
id: string;
|
|
492
|
-
firstName: string;
|
|
493
|
-
lastName: string;
|
|
494
|
-
email: string;
|
|
495
|
-
createdAt: string | Date;
|
|
496
492
|
updatedAt: string | Date;
|
|
493
|
+
createdAt: string | Date;
|
|
494
|
+
email: string;
|
|
495
|
+
lastName: string;
|
|
496
|
+
firstName: string;
|
|
497
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
498
|
+
officeId?: string | null | undefined;
|
|
497
499
|
office?: {
|
|
498
500
|
id: string;
|
|
499
501
|
name: string;
|
|
500
502
|
managers?: {
|
|
501
503
|
id: string;
|
|
502
|
-
firstName: string;
|
|
503
504
|
lastName: string;
|
|
505
|
+
firstName: string;
|
|
504
506
|
}[] | undefined;
|
|
505
507
|
} | null | undefined;
|
|
506
508
|
phoneNumbers?: {
|
|
@@ -509,12 +511,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
509
511
|
description?: string | null | undefined;
|
|
510
512
|
isPrimary?: boolean | undefined;
|
|
511
513
|
}[] | undefined;
|
|
512
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
513
|
-
officeId?: string | null | undefined;
|
|
514
514
|
canImpersonateUsers?: {
|
|
515
515
|
id: string;
|
|
516
|
-
firstName: string;
|
|
517
516
|
lastName: string;
|
|
517
|
+
firstName: string;
|
|
518
518
|
}[] | undefined;
|
|
519
519
|
deletedAt?: string | Date | null | undefined;
|
|
520
520
|
} | undefined;
|
|
@@ -529,19 +529,19 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
529
529
|
lead?: {
|
|
530
530
|
status: string;
|
|
531
531
|
id: string;
|
|
532
|
-
phoneNumber: string;
|
|
533
532
|
name: string;
|
|
533
|
+
phoneNumber: string;
|
|
534
534
|
cooldownUntil: string | null;
|
|
535
535
|
} | null | undefined;
|
|
536
536
|
ownResearchLead?: {
|
|
537
537
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
538
538
|
id: string;
|
|
539
|
-
phoneNumber: string;
|
|
540
539
|
name: string;
|
|
541
|
-
createdAt: string;
|
|
542
540
|
updatedAt: string;
|
|
541
|
+
createdAt: string;
|
|
543
542
|
blacklistReason: string | null;
|
|
544
543
|
agentId: string;
|
|
544
|
+
phoneNumber: string;
|
|
545
545
|
lastCalledAt: string | null;
|
|
546
546
|
callCount: number;
|
|
547
547
|
lastCallNotes: string | null;
|
|
@@ -551,32 +551,32 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
551
551
|
agent?: {
|
|
552
552
|
status: "ACTIVE" | "INACTIVE";
|
|
553
553
|
id: string;
|
|
554
|
-
|
|
555
|
-
lastName: string;
|
|
556
|
-
email: string;
|
|
554
|
+
updatedAt: string;
|
|
557
555
|
createdAt: string;
|
|
556
|
+
email: string;
|
|
557
|
+
lastName: string;
|
|
558
|
+
firstName: string;
|
|
558
559
|
phoneNumbers: {
|
|
559
560
|
id: string;
|
|
560
561
|
phoneNumber: string;
|
|
561
562
|
isPrimary: boolean;
|
|
562
563
|
description?: string | null | undefined;
|
|
563
564
|
}[];
|
|
564
|
-
|
|
565
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
566
|
+
officeId?: string | null | undefined;
|
|
565
567
|
office?: {
|
|
566
568
|
id: string;
|
|
567
569
|
name: string;
|
|
568
570
|
managers?: {
|
|
569
571
|
id: string;
|
|
570
|
-
firstName: string;
|
|
571
572
|
lastName: string;
|
|
573
|
+
firstName: string;
|
|
572
574
|
}[] | undefined;
|
|
573
575
|
} | null | undefined;
|
|
574
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
575
|
-
officeId?: string | null | undefined;
|
|
576
576
|
canImpersonateUsers?: {
|
|
577
577
|
id: string;
|
|
578
|
-
firstName: string;
|
|
579
578
|
lastName: string;
|
|
579
|
+
firstName: string;
|
|
580
580
|
}[] | undefined;
|
|
581
581
|
deletedAt?: string | null | undefined;
|
|
582
582
|
} | undefined;
|
|
@@ -589,19 +589,19 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
589
589
|
lead?: {
|
|
590
590
|
status: string;
|
|
591
591
|
id: string;
|
|
592
|
-
phoneNumber: string;
|
|
593
592
|
name: string;
|
|
593
|
+
phoneNumber: string;
|
|
594
594
|
cooldownUntil: string | Date | null;
|
|
595
595
|
} | null | undefined;
|
|
596
596
|
ownResearchLead?: {
|
|
597
597
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
598
598
|
id: string;
|
|
599
|
-
phoneNumber: string;
|
|
600
599
|
name: string;
|
|
601
|
-
createdAt: string | Date;
|
|
602
600
|
updatedAt: string | Date;
|
|
601
|
+
createdAt: string | Date;
|
|
603
602
|
blacklistReason: string | null;
|
|
604
603
|
agentId: string;
|
|
604
|
+
phoneNumber: string;
|
|
605
605
|
lastCalledAt: string | Date | null;
|
|
606
606
|
callCount: number;
|
|
607
607
|
lastCallNotes: string | null;
|
|
@@ -611,18 +611,20 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
611
611
|
agent?: {
|
|
612
612
|
status: "ACTIVE" | "INACTIVE";
|
|
613
613
|
id: string;
|
|
614
|
-
firstName: string;
|
|
615
|
-
lastName: string;
|
|
616
|
-
email: string;
|
|
617
|
-
createdAt: string | Date;
|
|
618
614
|
updatedAt: string | Date;
|
|
615
|
+
createdAt: string | Date;
|
|
616
|
+
email: string;
|
|
617
|
+
lastName: string;
|
|
618
|
+
firstName: string;
|
|
619
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
620
|
+
officeId?: string | null | undefined;
|
|
619
621
|
office?: {
|
|
620
622
|
id: string;
|
|
621
623
|
name: string;
|
|
622
624
|
managers?: {
|
|
623
625
|
id: string;
|
|
624
|
-
firstName: string;
|
|
625
626
|
lastName: string;
|
|
627
|
+
firstName: string;
|
|
626
628
|
}[] | undefined;
|
|
627
629
|
} | null | undefined;
|
|
628
630
|
phoneNumbers?: {
|
|
@@ -631,12 +633,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
631
633
|
description?: string | null | undefined;
|
|
632
634
|
isPrimary?: boolean | undefined;
|
|
633
635
|
}[] | undefined;
|
|
634
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
635
|
-
officeId?: string | null | undefined;
|
|
636
636
|
canImpersonateUsers?: {
|
|
637
637
|
id: string;
|
|
638
|
-
firstName: string;
|
|
639
638
|
lastName: string;
|
|
639
|
+
firstName: string;
|
|
640
640
|
}[] | undefined;
|
|
641
641
|
deletedAt?: string | Date | null | undefined;
|
|
642
642
|
} | undefined;
|
|
@@ -656,15 +656,15 @@ export declare const RecordOwnResearchCallSchema: z.ZodObject<{
|
|
|
656
656
|
notes: z.ZodOptional<z.ZodString>;
|
|
657
657
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
phoneNumber: string;
|
|
660
659
|
name: string;
|
|
661
660
|
rating: import("../common/call-rating.schema").CallRating;
|
|
661
|
+
phoneNumber: string;
|
|
662
662
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
663
663
|
notes?: string | undefined;
|
|
664
664
|
}, {
|
|
665
|
-
phoneNumber: string;
|
|
666
665
|
name: string;
|
|
667
666
|
rating: import("../common/call-rating.schema").CallRating;
|
|
667
|
+
phoneNumber: string;
|
|
668
668
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
669
669
|
notes?: string | undefined;
|
|
670
670
|
}>;
|
|
@@ -676,11 +676,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
676
676
|
name: z.ZodString;
|
|
677
677
|
phoneNumber: z.ZodString;
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
|
-
phoneNumber: string;
|
|
680
679
|
name: string;
|
|
681
|
-
}, {
|
|
682
680
|
phoneNumber: string;
|
|
681
|
+
}, {
|
|
683
682
|
name: string;
|
|
683
|
+
phoneNumber: string;
|
|
684
684
|
}>>;
|
|
685
685
|
agentId: z.ZodNullable<z.ZodString>;
|
|
686
686
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -715,28 +715,28 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
715
715
|
lastName: z.ZodString;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
717
|
id: string;
|
|
718
|
-
firstName: string;
|
|
719
718
|
lastName: string;
|
|
719
|
+
firstName: string;
|
|
720
720
|
}, {
|
|
721
721
|
id: string;
|
|
722
|
-
firstName: string;
|
|
723
722
|
lastName: string;
|
|
723
|
+
firstName: string;
|
|
724
724
|
}>, "many">>;
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
726
|
id: string;
|
|
727
727
|
name: string;
|
|
728
728
|
managers?: {
|
|
729
729
|
id: string;
|
|
730
|
-
firstName: string;
|
|
731
730
|
lastName: string;
|
|
731
|
+
firstName: string;
|
|
732
732
|
}[] | undefined;
|
|
733
733
|
}, {
|
|
734
734
|
id: string;
|
|
735
735
|
name: string;
|
|
736
736
|
managers?: {
|
|
737
737
|
id: string;
|
|
738
|
-
firstName: string;
|
|
739
738
|
lastName: string;
|
|
739
|
+
firstName: string;
|
|
740
740
|
}[] | undefined;
|
|
741
741
|
}>>>;
|
|
742
742
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -745,12 +745,12 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
745
745
|
lastName: z.ZodString;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
747
|
id: string;
|
|
748
|
-
firstName: string;
|
|
749
748
|
lastName: string;
|
|
749
|
+
firstName: string;
|
|
750
750
|
}, {
|
|
751
751
|
id: string;
|
|
752
|
-
firstName: string;
|
|
753
752
|
lastName: string;
|
|
753
|
+
firstName: string;
|
|
754
754
|
}>, "many">>;
|
|
755
755
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
756
756
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -759,49 +759,51 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
status: "ACTIVE" | "INACTIVE";
|
|
761
761
|
id: string;
|
|
762
|
-
|
|
763
|
-
lastName: string;
|
|
764
|
-
email: string;
|
|
762
|
+
updatedAt: string;
|
|
765
763
|
createdAt: string;
|
|
764
|
+
email: string;
|
|
765
|
+
lastName: string;
|
|
766
|
+
firstName: string;
|
|
766
767
|
phoneNumbers: {
|
|
767
768
|
id: string;
|
|
768
769
|
phoneNumber: string;
|
|
769
770
|
isPrimary: boolean;
|
|
770
771
|
description?: string | null | undefined;
|
|
771
772
|
}[];
|
|
772
|
-
|
|
773
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
774
|
+
officeId?: string | null | undefined;
|
|
773
775
|
office?: {
|
|
774
776
|
id: string;
|
|
775
777
|
name: string;
|
|
776
778
|
managers?: {
|
|
777
779
|
id: string;
|
|
778
|
-
firstName: string;
|
|
779
780
|
lastName: string;
|
|
781
|
+
firstName: string;
|
|
780
782
|
}[] | undefined;
|
|
781
783
|
} | null | undefined;
|
|
782
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
783
|
-
officeId?: string | null | undefined;
|
|
784
784
|
canImpersonateUsers?: {
|
|
785
785
|
id: string;
|
|
786
|
-
firstName: string;
|
|
787
786
|
lastName: string;
|
|
787
|
+
firstName: string;
|
|
788
788
|
}[] | undefined;
|
|
789
789
|
deletedAt?: string | null | undefined;
|
|
790
790
|
}, {
|
|
791
791
|
status: "ACTIVE" | "INACTIVE";
|
|
792
792
|
id: string;
|
|
793
|
-
firstName: string;
|
|
794
|
-
lastName: string;
|
|
795
|
-
email: string;
|
|
796
|
-
createdAt: string | Date;
|
|
797
793
|
updatedAt: string | Date;
|
|
794
|
+
createdAt: string | Date;
|
|
795
|
+
email: string;
|
|
796
|
+
lastName: string;
|
|
797
|
+
firstName: string;
|
|
798
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
799
|
+
officeId?: string | null | undefined;
|
|
798
800
|
office?: {
|
|
799
801
|
id: string;
|
|
800
802
|
name: string;
|
|
801
803
|
managers?: {
|
|
802
804
|
id: string;
|
|
803
|
-
firstName: string;
|
|
804
805
|
lastName: string;
|
|
806
|
+
firstName: string;
|
|
805
807
|
}[] | undefined;
|
|
806
808
|
} | null | undefined;
|
|
807
809
|
phoneNumbers?: {
|
|
@@ -810,12 +812,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
810
812
|
description?: string | null | undefined;
|
|
811
813
|
isPrimary?: boolean | undefined;
|
|
812
814
|
}[] | undefined;
|
|
813
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
814
|
-
officeId?: string | null | undefined;
|
|
815
815
|
canImpersonateUsers?: {
|
|
816
816
|
id: string;
|
|
817
|
-
firstName: string;
|
|
818
817
|
lastName: string;
|
|
818
|
+
firstName: string;
|
|
819
819
|
}[] | undefined;
|
|
820
820
|
deletedAt?: string | Date | null | undefined;
|
|
821
821
|
}>>;
|
|
@@ -831,21 +831,21 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
831
831
|
}, "strip", z.ZodTypeAny, {
|
|
832
832
|
id: string;
|
|
833
833
|
name: string;
|
|
834
|
-
createdAt: string;
|
|
835
834
|
updatedAt: string;
|
|
835
|
+
createdAt: string;
|
|
836
836
|
}, {
|
|
837
837
|
id: string;
|
|
838
838
|
name: string;
|
|
839
|
-
createdAt: string | Date;
|
|
840
839
|
updatedAt: string | Date;
|
|
840
|
+
createdAt: string | Date;
|
|
841
841
|
}>>>;
|
|
842
842
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
843
843
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
844
844
|
}, "strip", z.ZodTypeAny, {
|
|
845
845
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
846
846
|
id: string;
|
|
847
|
-
createdAt: string;
|
|
848
847
|
updatedAt: string;
|
|
848
|
+
createdAt: string;
|
|
849
849
|
companyId: string | null;
|
|
850
850
|
agentId: string | null;
|
|
851
851
|
leadId: string;
|
|
@@ -854,50 +854,50 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
854
854
|
company?: {
|
|
855
855
|
id: string;
|
|
856
856
|
name: string;
|
|
857
|
-
createdAt: string;
|
|
858
857
|
updatedAt: string;
|
|
858
|
+
createdAt: string;
|
|
859
859
|
} | null | undefined;
|
|
860
860
|
lead?: {
|
|
861
|
-
phoneNumber: string;
|
|
862
861
|
name: string;
|
|
862
|
+
phoneNumber: string;
|
|
863
863
|
} | undefined;
|
|
864
864
|
agent?: {
|
|
865
865
|
status: "ACTIVE" | "INACTIVE";
|
|
866
866
|
id: string;
|
|
867
|
-
|
|
868
|
-
lastName: string;
|
|
869
|
-
email: string;
|
|
867
|
+
updatedAt: string;
|
|
870
868
|
createdAt: string;
|
|
869
|
+
email: string;
|
|
870
|
+
lastName: string;
|
|
871
|
+
firstName: string;
|
|
871
872
|
phoneNumbers: {
|
|
872
873
|
id: string;
|
|
873
874
|
phoneNumber: string;
|
|
874
875
|
isPrimary: boolean;
|
|
875
876
|
description?: string | null | undefined;
|
|
876
877
|
}[];
|
|
877
|
-
|
|
878
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
879
|
+
officeId?: string | null | undefined;
|
|
878
880
|
office?: {
|
|
879
881
|
id: string;
|
|
880
882
|
name: string;
|
|
881
883
|
managers?: {
|
|
882
884
|
id: string;
|
|
883
|
-
firstName: string;
|
|
884
885
|
lastName: string;
|
|
886
|
+
firstName: string;
|
|
885
887
|
}[] | undefined;
|
|
886
888
|
} | null | undefined;
|
|
887
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
888
|
-
officeId?: string | null | undefined;
|
|
889
889
|
canImpersonateUsers?: {
|
|
890
890
|
id: string;
|
|
891
|
-
firstName: string;
|
|
892
891
|
lastName: string;
|
|
892
|
+
firstName: string;
|
|
893
893
|
}[] | undefined;
|
|
894
894
|
deletedAt?: string | null | undefined;
|
|
895
895
|
} | undefined;
|
|
896
896
|
}, {
|
|
897
897
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
898
898
|
id: string;
|
|
899
|
-
createdAt: string | Date;
|
|
900
899
|
updatedAt: string | Date;
|
|
900
|
+
createdAt: string | Date;
|
|
901
901
|
companyId: string | null;
|
|
902
902
|
agentId: string | null;
|
|
903
903
|
leadId: string;
|
|
@@ -906,28 +906,30 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
906
906
|
company?: {
|
|
907
907
|
id: string;
|
|
908
908
|
name: string;
|
|
909
|
-
createdAt: string | Date;
|
|
910
909
|
updatedAt: string | Date;
|
|
910
|
+
createdAt: string | Date;
|
|
911
911
|
} | null | undefined;
|
|
912
912
|
lead?: {
|
|
913
|
-
phoneNumber: string;
|
|
914
913
|
name: string;
|
|
914
|
+
phoneNumber: string;
|
|
915
915
|
} | undefined;
|
|
916
916
|
agent?: {
|
|
917
917
|
status: "ACTIVE" | "INACTIVE";
|
|
918
918
|
id: string;
|
|
919
|
-
firstName: string;
|
|
920
|
-
lastName: string;
|
|
921
|
-
email: string;
|
|
922
|
-
createdAt: string | Date;
|
|
923
919
|
updatedAt: string | Date;
|
|
920
|
+
createdAt: string | Date;
|
|
921
|
+
email: string;
|
|
922
|
+
lastName: string;
|
|
923
|
+
firstName: string;
|
|
924
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
925
|
+
officeId?: string | null | undefined;
|
|
924
926
|
office?: {
|
|
925
927
|
id: string;
|
|
926
928
|
name: string;
|
|
927
929
|
managers?: {
|
|
928
930
|
id: string;
|
|
929
|
-
firstName: string;
|
|
930
931
|
lastName: string;
|
|
932
|
+
firstName: string;
|
|
931
933
|
}[] | undefined;
|
|
932
934
|
} | null | undefined;
|
|
933
935
|
phoneNumbers?: {
|
|
@@ -936,12 +938,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
936
938
|
description?: string | null | undefined;
|
|
937
939
|
isPrimary?: boolean | undefined;
|
|
938
940
|
}[] | undefined;
|
|
939
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
940
|
-
officeId?: string | null | undefined;
|
|
941
941
|
canImpersonateUsers?: {
|
|
942
942
|
id: string;
|
|
943
|
-
firstName: string;
|
|
944
943
|
lastName: string;
|
|
944
|
+
firstName: string;
|
|
945
945
|
}[] | undefined;
|
|
946
946
|
deletedAt?: string | Date | null | undefined;
|
|
947
947
|
} | undefined;
|
|
@@ -981,28 +981,28 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
981
981
|
lastName: z.ZodString;
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
983
|
id: string;
|
|
984
|
-
firstName: string;
|
|
985
984
|
lastName: string;
|
|
985
|
+
firstName: string;
|
|
986
986
|
}, {
|
|
987
987
|
id: string;
|
|
988
|
-
firstName: string;
|
|
989
988
|
lastName: string;
|
|
989
|
+
firstName: string;
|
|
990
990
|
}>, "many">>;
|
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
|
992
992
|
id: string;
|
|
993
993
|
name: string;
|
|
994
994
|
managers?: {
|
|
995
995
|
id: string;
|
|
996
|
-
firstName: string;
|
|
997
996
|
lastName: string;
|
|
997
|
+
firstName: string;
|
|
998
998
|
}[] | undefined;
|
|
999
999
|
}, {
|
|
1000
1000
|
id: string;
|
|
1001
1001
|
name: string;
|
|
1002
1002
|
managers?: {
|
|
1003
1003
|
id: string;
|
|
1004
|
-
firstName: string;
|
|
1005
1004
|
lastName: string;
|
|
1005
|
+
firstName: string;
|
|
1006
1006
|
}[] | undefined;
|
|
1007
1007
|
}>>>;
|
|
1008
1008
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1011,12 +1011,12 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1011
1011
|
lastName: z.ZodString;
|
|
1012
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1013
1013
|
id: string;
|
|
1014
|
-
firstName: string;
|
|
1015
1014
|
lastName: string;
|
|
1015
|
+
firstName: string;
|
|
1016
1016
|
}, {
|
|
1017
1017
|
id: string;
|
|
1018
|
-
firstName: string;
|
|
1019
1018
|
lastName: string;
|
|
1019
|
+
firstName: string;
|
|
1020
1020
|
}>, "many">>;
|
|
1021
1021
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1022
1022
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1025,49 +1025,51 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1025
1025
|
}, "strip", z.ZodTypeAny, {
|
|
1026
1026
|
status: "ACTIVE" | "INACTIVE";
|
|
1027
1027
|
id: string;
|
|
1028
|
-
|
|
1029
|
-
lastName: string;
|
|
1030
|
-
email: string;
|
|
1028
|
+
updatedAt: string;
|
|
1031
1029
|
createdAt: string;
|
|
1030
|
+
email: string;
|
|
1031
|
+
lastName: string;
|
|
1032
|
+
firstName: string;
|
|
1032
1033
|
phoneNumbers: {
|
|
1033
1034
|
id: string;
|
|
1034
1035
|
phoneNumber: string;
|
|
1035
1036
|
isPrimary: boolean;
|
|
1036
1037
|
description?: string | null | undefined;
|
|
1037
1038
|
}[];
|
|
1038
|
-
|
|
1039
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1040
|
+
officeId?: string | null | undefined;
|
|
1039
1041
|
office?: {
|
|
1040
1042
|
id: string;
|
|
1041
1043
|
name: string;
|
|
1042
1044
|
managers?: {
|
|
1043
1045
|
id: string;
|
|
1044
|
-
firstName: string;
|
|
1045
1046
|
lastName: string;
|
|
1047
|
+
firstName: string;
|
|
1046
1048
|
}[] | undefined;
|
|
1047
1049
|
} | null | undefined;
|
|
1048
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1049
|
-
officeId?: string | null | undefined;
|
|
1050
1050
|
canImpersonateUsers?: {
|
|
1051
1051
|
id: string;
|
|
1052
|
-
firstName: string;
|
|
1053
1052
|
lastName: string;
|
|
1053
|
+
firstName: string;
|
|
1054
1054
|
}[] | undefined;
|
|
1055
1055
|
deletedAt?: string | null | undefined;
|
|
1056
1056
|
}, {
|
|
1057
1057
|
status: "ACTIVE" | "INACTIVE";
|
|
1058
1058
|
id: string;
|
|
1059
|
-
firstName: string;
|
|
1060
|
-
lastName: string;
|
|
1061
|
-
email: string;
|
|
1062
|
-
createdAt: string | Date;
|
|
1063
1059
|
updatedAt: string | Date;
|
|
1060
|
+
createdAt: string | Date;
|
|
1061
|
+
email: string;
|
|
1062
|
+
lastName: string;
|
|
1063
|
+
firstName: string;
|
|
1064
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1065
|
+
officeId?: string | null | undefined;
|
|
1064
1066
|
office?: {
|
|
1065
1067
|
id: string;
|
|
1066
1068
|
name: string;
|
|
1067
1069
|
managers?: {
|
|
1068
1070
|
id: string;
|
|
1069
|
-
firstName: string;
|
|
1070
1071
|
lastName: string;
|
|
1072
|
+
firstName: string;
|
|
1071
1073
|
}[] | undefined;
|
|
1072
1074
|
} | null | undefined;
|
|
1073
1075
|
phoneNumbers?: {
|
|
@@ -1076,12 +1078,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1076
1078
|
description?: string | null | undefined;
|
|
1077
1079
|
isPrimary?: boolean | undefined;
|
|
1078
1080
|
}[] | undefined;
|
|
1079
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1080
|
-
officeId?: string | null | undefined;
|
|
1081
1081
|
canImpersonateUsers?: {
|
|
1082
1082
|
id: string;
|
|
1083
|
-
firstName: string;
|
|
1084
1083
|
lastName: string;
|
|
1084
|
+
firstName: string;
|
|
1085
1085
|
}[] | undefined;
|
|
1086
1086
|
deletedAt?: string | Date | null | undefined;
|
|
1087
1087
|
}>>;
|
|
@@ -1100,12 +1100,12 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1100
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1101
1101
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1102
1102
|
id: string;
|
|
1103
|
-
phoneNumber: string;
|
|
1104
1103
|
name: string;
|
|
1105
|
-
createdAt: string;
|
|
1106
1104
|
updatedAt: string;
|
|
1105
|
+
createdAt: string;
|
|
1107
1106
|
blacklistReason: string | null;
|
|
1108
1107
|
agentId: string;
|
|
1108
|
+
phoneNumber: string;
|
|
1109
1109
|
lastCalledAt: string | null;
|
|
1110
1110
|
callCount: number;
|
|
1111
1111
|
lastCallNotes: string | null;
|
|
@@ -1115,44 +1115,44 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1115
1115
|
agent?: {
|
|
1116
1116
|
status: "ACTIVE" | "INACTIVE";
|
|
1117
1117
|
id: string;
|
|
1118
|
-
|
|
1119
|
-
lastName: string;
|
|
1120
|
-
email: string;
|
|
1118
|
+
updatedAt: string;
|
|
1121
1119
|
createdAt: string;
|
|
1120
|
+
email: string;
|
|
1121
|
+
lastName: string;
|
|
1122
|
+
firstName: string;
|
|
1122
1123
|
phoneNumbers: {
|
|
1123
1124
|
id: string;
|
|
1124
1125
|
phoneNumber: string;
|
|
1125
1126
|
isPrimary: boolean;
|
|
1126
1127
|
description?: string | null | undefined;
|
|
1127
1128
|
}[];
|
|
1128
|
-
|
|
1129
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1130
|
+
officeId?: string | null | undefined;
|
|
1129
1131
|
office?: {
|
|
1130
1132
|
id: string;
|
|
1131
1133
|
name: string;
|
|
1132
1134
|
managers?: {
|
|
1133
1135
|
id: string;
|
|
1134
|
-
firstName: string;
|
|
1135
1136
|
lastName: string;
|
|
1137
|
+
firstName: string;
|
|
1136
1138
|
}[] | undefined;
|
|
1137
1139
|
} | null | undefined;
|
|
1138
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1139
|
-
officeId?: string | null | undefined;
|
|
1140
1140
|
canImpersonateUsers?: {
|
|
1141
1141
|
id: string;
|
|
1142
|
-
firstName: string;
|
|
1143
1142
|
lastName: string;
|
|
1143
|
+
firstName: string;
|
|
1144
1144
|
}[] | undefined;
|
|
1145
1145
|
deletedAt?: string | null | undefined;
|
|
1146
1146
|
} | undefined;
|
|
1147
1147
|
}, {
|
|
1148
1148
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1149
1149
|
id: string;
|
|
1150
|
-
phoneNumber: string;
|
|
1151
1150
|
name: string;
|
|
1152
|
-
createdAt: string | Date;
|
|
1153
1151
|
updatedAt: string | Date;
|
|
1152
|
+
createdAt: string | Date;
|
|
1154
1153
|
blacklistReason: string | null;
|
|
1155
1154
|
agentId: string;
|
|
1155
|
+
phoneNumber: string;
|
|
1156
1156
|
lastCalledAt: string | Date | null;
|
|
1157
1157
|
callCount: number;
|
|
1158
1158
|
lastCallNotes: string | null;
|
|
@@ -1162,18 +1162,20 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1162
1162
|
agent?: {
|
|
1163
1163
|
status: "ACTIVE" | "INACTIVE";
|
|
1164
1164
|
id: string;
|
|
1165
|
-
firstName: string;
|
|
1166
|
-
lastName: string;
|
|
1167
|
-
email: string;
|
|
1168
|
-
createdAt: string | Date;
|
|
1169
1165
|
updatedAt: string | Date;
|
|
1166
|
+
createdAt: string | Date;
|
|
1167
|
+
email: string;
|
|
1168
|
+
lastName: string;
|
|
1169
|
+
firstName: string;
|
|
1170
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1171
|
+
officeId?: string | null | undefined;
|
|
1170
1172
|
office?: {
|
|
1171
1173
|
id: string;
|
|
1172
1174
|
name: string;
|
|
1173
1175
|
managers?: {
|
|
1174
1176
|
id: string;
|
|
1175
|
-
firstName: string;
|
|
1176
1177
|
lastName: string;
|
|
1178
|
+
firstName: string;
|
|
1177
1179
|
}[] | undefined;
|
|
1178
1180
|
} | null | undefined;
|
|
1179
1181
|
phoneNumbers?: {
|
|
@@ -1182,12 +1184,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1182
1184
|
description?: string | null | undefined;
|
|
1183
1185
|
isPrimary?: boolean | undefined;
|
|
1184
1186
|
}[] | undefined;
|
|
1185
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1186
|
-
officeId?: string | null | undefined;
|
|
1187
1187
|
canImpersonateUsers?: {
|
|
1188
1188
|
id: string;
|
|
1189
|
-
firstName: string;
|
|
1190
1189
|
lastName: string;
|
|
1190
|
+
firstName: string;
|
|
1191
1191
|
}[] | undefined;
|
|
1192
1192
|
deletedAt?: string | Date | null | undefined;
|
|
1193
1193
|
} | undefined;
|
|
@@ -1196,12 +1196,12 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1196
1196
|
ownResearchLead: {
|
|
1197
1197
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1198
1198
|
id: string;
|
|
1199
|
-
phoneNumber: string;
|
|
1200
1199
|
name: string;
|
|
1201
|
-
createdAt: string;
|
|
1202
1200
|
updatedAt: string;
|
|
1201
|
+
createdAt: string;
|
|
1203
1202
|
blacklistReason: string | null;
|
|
1204
1203
|
agentId: string;
|
|
1204
|
+
phoneNumber: string;
|
|
1205
1205
|
lastCalledAt: string | null;
|
|
1206
1206
|
callCount: number;
|
|
1207
1207
|
lastCallNotes: string | null;
|
|
@@ -1211,32 +1211,32 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1211
1211
|
agent?: {
|
|
1212
1212
|
status: "ACTIVE" | "INACTIVE";
|
|
1213
1213
|
id: string;
|
|
1214
|
-
|
|
1215
|
-
lastName: string;
|
|
1216
|
-
email: string;
|
|
1214
|
+
updatedAt: string;
|
|
1217
1215
|
createdAt: string;
|
|
1216
|
+
email: string;
|
|
1217
|
+
lastName: string;
|
|
1218
|
+
firstName: string;
|
|
1218
1219
|
phoneNumbers: {
|
|
1219
1220
|
id: string;
|
|
1220
1221
|
phoneNumber: string;
|
|
1221
1222
|
isPrimary: boolean;
|
|
1222
1223
|
description?: string | null | undefined;
|
|
1223
1224
|
}[];
|
|
1224
|
-
|
|
1225
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1226
|
+
officeId?: string | null | undefined;
|
|
1225
1227
|
office?: {
|
|
1226
1228
|
id: string;
|
|
1227
1229
|
name: string;
|
|
1228
1230
|
managers?: {
|
|
1229
1231
|
id: string;
|
|
1230
|
-
firstName: string;
|
|
1231
1232
|
lastName: string;
|
|
1233
|
+
firstName: string;
|
|
1232
1234
|
}[] | undefined;
|
|
1233
1235
|
} | null | undefined;
|
|
1234
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1235
|
-
officeId?: string | null | undefined;
|
|
1236
1236
|
canImpersonateUsers?: {
|
|
1237
1237
|
id: string;
|
|
1238
|
-
firstName: string;
|
|
1239
1238
|
lastName: string;
|
|
1239
|
+
firstName: string;
|
|
1240
1240
|
}[] | undefined;
|
|
1241
1241
|
deletedAt?: string | null | undefined;
|
|
1242
1242
|
} | undefined;
|
|
@@ -1244,8 +1244,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1244
1244
|
assignment?: {
|
|
1245
1245
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1246
1246
|
id: string;
|
|
1247
|
-
createdAt: string;
|
|
1248
1247
|
updatedAt: string;
|
|
1248
|
+
createdAt: string;
|
|
1249
1249
|
companyId: string | null;
|
|
1250
1250
|
agentId: string | null;
|
|
1251
1251
|
leadId: string;
|
|
@@ -1254,42 +1254,42 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1254
1254
|
company?: {
|
|
1255
1255
|
id: string;
|
|
1256
1256
|
name: string;
|
|
1257
|
-
createdAt: string;
|
|
1258
1257
|
updatedAt: string;
|
|
1258
|
+
createdAt: string;
|
|
1259
1259
|
} | null | undefined;
|
|
1260
1260
|
lead?: {
|
|
1261
|
-
phoneNumber: string;
|
|
1262
1261
|
name: string;
|
|
1262
|
+
phoneNumber: string;
|
|
1263
1263
|
} | undefined;
|
|
1264
1264
|
agent?: {
|
|
1265
1265
|
status: "ACTIVE" | "INACTIVE";
|
|
1266
1266
|
id: string;
|
|
1267
|
-
|
|
1268
|
-
lastName: string;
|
|
1269
|
-
email: string;
|
|
1267
|
+
updatedAt: string;
|
|
1270
1268
|
createdAt: string;
|
|
1269
|
+
email: string;
|
|
1270
|
+
lastName: string;
|
|
1271
|
+
firstName: string;
|
|
1271
1272
|
phoneNumbers: {
|
|
1272
1273
|
id: string;
|
|
1273
1274
|
phoneNumber: string;
|
|
1274
1275
|
isPrimary: boolean;
|
|
1275
1276
|
description?: string | null | undefined;
|
|
1276
1277
|
}[];
|
|
1277
|
-
|
|
1278
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1279
|
+
officeId?: string | null | undefined;
|
|
1278
1280
|
office?: {
|
|
1279
1281
|
id: string;
|
|
1280
1282
|
name: string;
|
|
1281
1283
|
managers?: {
|
|
1282
1284
|
id: string;
|
|
1283
|
-
firstName: string;
|
|
1284
1285
|
lastName: string;
|
|
1286
|
+
firstName: string;
|
|
1285
1287
|
}[] | undefined;
|
|
1286
1288
|
} | null | undefined;
|
|
1287
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1288
|
-
officeId?: string | null | undefined;
|
|
1289
1289
|
canImpersonateUsers?: {
|
|
1290
1290
|
id: string;
|
|
1291
|
-
firstName: string;
|
|
1292
1291
|
lastName: string;
|
|
1292
|
+
firstName: string;
|
|
1293
1293
|
}[] | undefined;
|
|
1294
1294
|
deletedAt?: string | null | undefined;
|
|
1295
1295
|
} | undefined;
|
|
@@ -1298,12 +1298,12 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1298
1298
|
ownResearchLead: {
|
|
1299
1299
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1300
1300
|
id: string;
|
|
1301
|
-
phoneNumber: string;
|
|
1302
1301
|
name: string;
|
|
1303
|
-
createdAt: string | Date;
|
|
1304
1302
|
updatedAt: string | Date;
|
|
1303
|
+
createdAt: string | Date;
|
|
1305
1304
|
blacklistReason: string | null;
|
|
1306
1305
|
agentId: string;
|
|
1306
|
+
phoneNumber: string;
|
|
1307
1307
|
lastCalledAt: string | Date | null;
|
|
1308
1308
|
callCount: number;
|
|
1309
1309
|
lastCallNotes: string | null;
|
|
@@ -1313,18 +1313,20 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1313
1313
|
agent?: {
|
|
1314
1314
|
status: "ACTIVE" | "INACTIVE";
|
|
1315
1315
|
id: string;
|
|
1316
|
-
firstName: string;
|
|
1317
|
-
lastName: string;
|
|
1318
|
-
email: string;
|
|
1319
|
-
createdAt: string | Date;
|
|
1320
1316
|
updatedAt: string | Date;
|
|
1317
|
+
createdAt: string | Date;
|
|
1318
|
+
email: string;
|
|
1319
|
+
lastName: string;
|
|
1320
|
+
firstName: string;
|
|
1321
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1322
|
+
officeId?: string | null | undefined;
|
|
1321
1323
|
office?: {
|
|
1322
1324
|
id: string;
|
|
1323
1325
|
name: string;
|
|
1324
1326
|
managers?: {
|
|
1325
1327
|
id: string;
|
|
1326
|
-
firstName: string;
|
|
1327
1328
|
lastName: string;
|
|
1329
|
+
firstName: string;
|
|
1328
1330
|
}[] | undefined;
|
|
1329
1331
|
} | null | undefined;
|
|
1330
1332
|
phoneNumbers?: {
|
|
@@ -1333,12 +1335,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1333
1335
|
description?: string | null | undefined;
|
|
1334
1336
|
isPrimary?: boolean | undefined;
|
|
1335
1337
|
}[] | undefined;
|
|
1336
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1337
|
-
officeId?: string | null | undefined;
|
|
1338
1338
|
canImpersonateUsers?: {
|
|
1339
1339
|
id: string;
|
|
1340
|
-
firstName: string;
|
|
1341
1340
|
lastName: string;
|
|
1341
|
+
firstName: string;
|
|
1342
1342
|
}[] | undefined;
|
|
1343
1343
|
deletedAt?: string | Date | null | undefined;
|
|
1344
1344
|
} | undefined;
|
|
@@ -1346,8 +1346,8 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1346
1346
|
assignment?: {
|
|
1347
1347
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1348
1348
|
id: string;
|
|
1349
|
-
createdAt: string | Date;
|
|
1350
1349
|
updatedAt: string | Date;
|
|
1350
|
+
createdAt: string | Date;
|
|
1351
1351
|
companyId: string | null;
|
|
1352
1352
|
agentId: string | null;
|
|
1353
1353
|
leadId: string;
|
|
@@ -1356,28 +1356,30 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1356
1356
|
company?: {
|
|
1357
1357
|
id: string;
|
|
1358
1358
|
name: string;
|
|
1359
|
-
createdAt: string | Date;
|
|
1360
1359
|
updatedAt: string | Date;
|
|
1360
|
+
createdAt: string | Date;
|
|
1361
1361
|
} | null | undefined;
|
|
1362
1362
|
lead?: {
|
|
1363
|
-
phoneNumber: string;
|
|
1364
1363
|
name: string;
|
|
1364
|
+
phoneNumber: string;
|
|
1365
1365
|
} | undefined;
|
|
1366
1366
|
agent?: {
|
|
1367
1367
|
status: "ACTIVE" | "INACTIVE";
|
|
1368
1368
|
id: string;
|
|
1369
|
-
firstName: string;
|
|
1370
|
-
lastName: string;
|
|
1371
|
-
email: string;
|
|
1372
|
-
createdAt: string | Date;
|
|
1373
1369
|
updatedAt: string | Date;
|
|
1370
|
+
createdAt: string | Date;
|
|
1371
|
+
email: string;
|
|
1372
|
+
lastName: string;
|
|
1373
|
+
firstName: string;
|
|
1374
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1375
|
+
officeId?: string | null | undefined;
|
|
1374
1376
|
office?: {
|
|
1375
1377
|
id: string;
|
|
1376
1378
|
name: string;
|
|
1377
1379
|
managers?: {
|
|
1378
1380
|
id: string;
|
|
1379
|
-
firstName: string;
|
|
1380
1381
|
lastName: string;
|
|
1382
|
+
firstName: string;
|
|
1381
1383
|
}[] | undefined;
|
|
1382
1384
|
} | null | undefined;
|
|
1383
1385
|
phoneNumbers?: {
|
|
@@ -1386,12 +1388,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1386
1388
|
description?: string | null | undefined;
|
|
1387
1389
|
isPrimary?: boolean | undefined;
|
|
1388
1390
|
}[] | undefined;
|
|
1389
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1390
|
-
officeId?: string | null | undefined;
|
|
1391
1391
|
canImpersonateUsers?: {
|
|
1392
1392
|
id: string;
|
|
1393
|
-
firstName: string;
|
|
1394
1393
|
lastName: string;
|
|
1394
|
+
firstName: string;
|
|
1395
1395
|
}[] | undefined;
|
|
1396
1396
|
deletedAt?: string | Date | null | undefined;
|
|
1397
1397
|
} | undefined;
|
|
@@ -1401,11 +1401,11 @@ export declare const AddOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1401
1401
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1402
1402
|
name: z.ZodString;
|
|
1403
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
phoneNumber: string;
|
|
1405
1404
|
name: string;
|
|
1406
|
-
}, {
|
|
1407
1405
|
phoneNumber: string;
|
|
1406
|
+
}, {
|
|
1408
1407
|
name: string;
|
|
1408
|
+
phoneNumber: string;
|
|
1409
1409
|
}>;
|
|
1410
1410
|
export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
1411
1411
|
ownResearchLead: z.ZodObject<{
|
|
@@ -1443,28 +1443,28 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1443
1443
|
lastName: z.ZodString;
|
|
1444
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1445
1445
|
id: string;
|
|
1446
|
-
firstName: string;
|
|
1447
1446
|
lastName: string;
|
|
1447
|
+
firstName: string;
|
|
1448
1448
|
}, {
|
|
1449
1449
|
id: string;
|
|
1450
|
-
firstName: string;
|
|
1451
1450
|
lastName: string;
|
|
1451
|
+
firstName: string;
|
|
1452
1452
|
}>, "many">>;
|
|
1453
1453
|
}, "strip", z.ZodTypeAny, {
|
|
1454
1454
|
id: string;
|
|
1455
1455
|
name: string;
|
|
1456
1456
|
managers?: {
|
|
1457
1457
|
id: string;
|
|
1458
|
-
firstName: string;
|
|
1459
1458
|
lastName: string;
|
|
1459
|
+
firstName: string;
|
|
1460
1460
|
}[] | undefined;
|
|
1461
1461
|
}, {
|
|
1462
1462
|
id: string;
|
|
1463
1463
|
name: string;
|
|
1464
1464
|
managers?: {
|
|
1465
1465
|
id: string;
|
|
1466
|
-
firstName: string;
|
|
1467
1466
|
lastName: string;
|
|
1467
|
+
firstName: string;
|
|
1468
1468
|
}[] | undefined;
|
|
1469
1469
|
}>>>;
|
|
1470
1470
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1473,12 +1473,12 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1473
1473
|
lastName: z.ZodString;
|
|
1474
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1475
1475
|
id: string;
|
|
1476
|
-
firstName: string;
|
|
1477
1476
|
lastName: string;
|
|
1477
|
+
firstName: string;
|
|
1478
1478
|
}, {
|
|
1479
1479
|
id: string;
|
|
1480
|
-
firstName: string;
|
|
1481
1480
|
lastName: string;
|
|
1481
|
+
firstName: string;
|
|
1482
1482
|
}>, "many">>;
|
|
1483
1483
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1484
1484
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1487,49 +1487,51 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1487
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1488
1488
|
status: "ACTIVE" | "INACTIVE";
|
|
1489
1489
|
id: string;
|
|
1490
|
-
|
|
1491
|
-
lastName: string;
|
|
1492
|
-
email: string;
|
|
1490
|
+
updatedAt: string;
|
|
1493
1491
|
createdAt: string;
|
|
1492
|
+
email: string;
|
|
1493
|
+
lastName: string;
|
|
1494
|
+
firstName: string;
|
|
1494
1495
|
phoneNumbers: {
|
|
1495
1496
|
id: string;
|
|
1496
1497
|
phoneNumber: string;
|
|
1497
1498
|
isPrimary: boolean;
|
|
1498
1499
|
description?: string | null | undefined;
|
|
1499
1500
|
}[];
|
|
1500
|
-
|
|
1501
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1502
|
+
officeId?: string | null | undefined;
|
|
1501
1503
|
office?: {
|
|
1502
1504
|
id: string;
|
|
1503
1505
|
name: string;
|
|
1504
1506
|
managers?: {
|
|
1505
1507
|
id: string;
|
|
1506
|
-
firstName: string;
|
|
1507
1508
|
lastName: string;
|
|
1509
|
+
firstName: string;
|
|
1508
1510
|
}[] | undefined;
|
|
1509
1511
|
} | null | undefined;
|
|
1510
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1511
|
-
officeId?: string | null | undefined;
|
|
1512
1512
|
canImpersonateUsers?: {
|
|
1513
1513
|
id: string;
|
|
1514
|
-
firstName: string;
|
|
1515
1514
|
lastName: string;
|
|
1515
|
+
firstName: string;
|
|
1516
1516
|
}[] | undefined;
|
|
1517
1517
|
deletedAt?: string | null | undefined;
|
|
1518
1518
|
}, {
|
|
1519
1519
|
status: "ACTIVE" | "INACTIVE";
|
|
1520
1520
|
id: string;
|
|
1521
|
-
firstName: string;
|
|
1522
|
-
lastName: string;
|
|
1523
|
-
email: string;
|
|
1524
|
-
createdAt: string | Date;
|
|
1525
1521
|
updatedAt: string | Date;
|
|
1522
|
+
createdAt: string | Date;
|
|
1523
|
+
email: string;
|
|
1524
|
+
lastName: string;
|
|
1525
|
+
firstName: string;
|
|
1526
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1527
|
+
officeId?: string | null | undefined;
|
|
1526
1528
|
office?: {
|
|
1527
1529
|
id: string;
|
|
1528
1530
|
name: string;
|
|
1529
1531
|
managers?: {
|
|
1530
1532
|
id: string;
|
|
1531
|
-
firstName: string;
|
|
1532
1533
|
lastName: string;
|
|
1534
|
+
firstName: string;
|
|
1533
1535
|
}[] | undefined;
|
|
1534
1536
|
} | null | undefined;
|
|
1535
1537
|
phoneNumbers?: {
|
|
@@ -1538,12 +1540,10 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1538
1540
|
description?: string | null | undefined;
|
|
1539
1541
|
isPrimary?: boolean | undefined;
|
|
1540
1542
|
}[] | undefined;
|
|
1541
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1542
|
-
officeId?: string | null | undefined;
|
|
1543
1543
|
canImpersonateUsers?: {
|
|
1544
1544
|
id: string;
|
|
1545
|
-
firstName: string;
|
|
1546
1545
|
lastName: string;
|
|
1546
|
+
firstName: string;
|
|
1547
1547
|
}[] | undefined;
|
|
1548
1548
|
deletedAt?: string | Date | null | undefined;
|
|
1549
1549
|
}>>;
|
|
@@ -1562,12 +1562,12 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1562
1562
|
}, "strip", z.ZodTypeAny, {
|
|
1563
1563
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1564
1564
|
id: string;
|
|
1565
|
-
phoneNumber: string;
|
|
1566
1565
|
name: string;
|
|
1567
|
-
createdAt: string;
|
|
1568
1566
|
updatedAt: string;
|
|
1567
|
+
createdAt: string;
|
|
1569
1568
|
blacklistReason: string | null;
|
|
1570
1569
|
agentId: string;
|
|
1570
|
+
phoneNumber: string;
|
|
1571
1571
|
lastCalledAt: string | null;
|
|
1572
1572
|
callCount: number;
|
|
1573
1573
|
lastCallNotes: string | null;
|
|
@@ -1577,44 +1577,44 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1577
1577
|
agent?: {
|
|
1578
1578
|
status: "ACTIVE" | "INACTIVE";
|
|
1579
1579
|
id: string;
|
|
1580
|
-
|
|
1581
|
-
lastName: string;
|
|
1582
|
-
email: string;
|
|
1580
|
+
updatedAt: string;
|
|
1583
1581
|
createdAt: string;
|
|
1582
|
+
email: string;
|
|
1583
|
+
lastName: string;
|
|
1584
|
+
firstName: string;
|
|
1584
1585
|
phoneNumbers: {
|
|
1585
1586
|
id: string;
|
|
1586
1587
|
phoneNumber: string;
|
|
1587
1588
|
isPrimary: boolean;
|
|
1588
1589
|
description?: string | null | undefined;
|
|
1589
1590
|
}[];
|
|
1590
|
-
|
|
1591
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1592
|
+
officeId?: string | null | undefined;
|
|
1591
1593
|
office?: {
|
|
1592
1594
|
id: string;
|
|
1593
1595
|
name: string;
|
|
1594
1596
|
managers?: {
|
|
1595
1597
|
id: string;
|
|
1596
|
-
firstName: string;
|
|
1597
1598
|
lastName: string;
|
|
1599
|
+
firstName: string;
|
|
1598
1600
|
}[] | undefined;
|
|
1599
1601
|
} | null | undefined;
|
|
1600
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1601
|
-
officeId?: string | null | undefined;
|
|
1602
1602
|
canImpersonateUsers?: {
|
|
1603
1603
|
id: string;
|
|
1604
|
-
firstName: string;
|
|
1605
1604
|
lastName: string;
|
|
1605
|
+
firstName: string;
|
|
1606
1606
|
}[] | undefined;
|
|
1607
1607
|
deletedAt?: string | null | undefined;
|
|
1608
1608
|
} | undefined;
|
|
1609
1609
|
}, {
|
|
1610
1610
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1611
1611
|
id: string;
|
|
1612
|
-
phoneNumber: string;
|
|
1613
1612
|
name: string;
|
|
1614
|
-
createdAt: string | Date;
|
|
1615
1613
|
updatedAt: string | Date;
|
|
1614
|
+
createdAt: string | Date;
|
|
1616
1615
|
blacklistReason: string | null;
|
|
1617
1616
|
agentId: string;
|
|
1617
|
+
phoneNumber: string;
|
|
1618
1618
|
lastCalledAt: string | Date | null;
|
|
1619
1619
|
callCount: number;
|
|
1620
1620
|
lastCallNotes: string | null;
|
|
@@ -1624,18 +1624,20 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1624
1624
|
agent?: {
|
|
1625
1625
|
status: "ACTIVE" | "INACTIVE";
|
|
1626
1626
|
id: string;
|
|
1627
|
-
firstName: string;
|
|
1628
|
-
lastName: string;
|
|
1629
|
-
email: string;
|
|
1630
|
-
createdAt: string | Date;
|
|
1631
1627
|
updatedAt: string | Date;
|
|
1628
|
+
createdAt: string | Date;
|
|
1629
|
+
email: string;
|
|
1630
|
+
lastName: string;
|
|
1631
|
+
firstName: string;
|
|
1632
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1633
|
+
officeId?: string | null | undefined;
|
|
1632
1634
|
office?: {
|
|
1633
1635
|
id: string;
|
|
1634
1636
|
name: string;
|
|
1635
1637
|
managers?: {
|
|
1636
1638
|
id: string;
|
|
1637
|
-
firstName: string;
|
|
1638
1639
|
lastName: string;
|
|
1640
|
+
firstName: string;
|
|
1639
1641
|
}[] | undefined;
|
|
1640
1642
|
} | null | undefined;
|
|
1641
1643
|
phoneNumbers?: {
|
|
@@ -1644,12 +1646,10 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1644
1646
|
description?: string | null | undefined;
|
|
1645
1647
|
isPrimary?: boolean | undefined;
|
|
1646
1648
|
}[] | undefined;
|
|
1647
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1648
|
-
officeId?: string | null | undefined;
|
|
1649
1649
|
canImpersonateUsers?: {
|
|
1650
1650
|
id: string;
|
|
1651
|
-
firstName: string;
|
|
1652
1651
|
lastName: string;
|
|
1652
|
+
firstName: string;
|
|
1653
1653
|
}[] | undefined;
|
|
1654
1654
|
deletedAt?: string | Date | null | undefined;
|
|
1655
1655
|
} | undefined;
|
|
@@ -1658,12 +1658,12 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1658
1658
|
ownResearchLead: {
|
|
1659
1659
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1660
1660
|
id: string;
|
|
1661
|
-
phoneNumber: string;
|
|
1662
1661
|
name: string;
|
|
1663
|
-
createdAt: string;
|
|
1664
1662
|
updatedAt: string;
|
|
1663
|
+
createdAt: string;
|
|
1665
1664
|
blacklistReason: string | null;
|
|
1666
1665
|
agentId: string;
|
|
1666
|
+
phoneNumber: string;
|
|
1667
1667
|
lastCalledAt: string | null;
|
|
1668
1668
|
callCount: number;
|
|
1669
1669
|
lastCallNotes: string | null;
|
|
@@ -1673,32 +1673,32 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1673
1673
|
agent?: {
|
|
1674
1674
|
status: "ACTIVE" | "INACTIVE";
|
|
1675
1675
|
id: string;
|
|
1676
|
-
|
|
1677
|
-
lastName: string;
|
|
1678
|
-
email: string;
|
|
1676
|
+
updatedAt: string;
|
|
1679
1677
|
createdAt: string;
|
|
1678
|
+
email: string;
|
|
1679
|
+
lastName: string;
|
|
1680
|
+
firstName: string;
|
|
1680
1681
|
phoneNumbers: {
|
|
1681
1682
|
id: string;
|
|
1682
1683
|
phoneNumber: string;
|
|
1683
1684
|
isPrimary: boolean;
|
|
1684
1685
|
description?: string | null | undefined;
|
|
1685
1686
|
}[];
|
|
1686
|
-
|
|
1687
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1688
|
+
officeId?: string | null | undefined;
|
|
1687
1689
|
office?: {
|
|
1688
1690
|
id: string;
|
|
1689
1691
|
name: string;
|
|
1690
1692
|
managers?: {
|
|
1691
1693
|
id: string;
|
|
1692
|
-
firstName: string;
|
|
1693
1694
|
lastName: string;
|
|
1695
|
+
firstName: string;
|
|
1694
1696
|
}[] | undefined;
|
|
1695
1697
|
} | null | undefined;
|
|
1696
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1697
|
-
officeId?: string | null | undefined;
|
|
1698
1698
|
canImpersonateUsers?: {
|
|
1699
1699
|
id: string;
|
|
1700
|
-
firstName: string;
|
|
1701
1700
|
lastName: string;
|
|
1701
|
+
firstName: string;
|
|
1702
1702
|
}[] | undefined;
|
|
1703
1703
|
deletedAt?: string | null | undefined;
|
|
1704
1704
|
} | undefined;
|
|
@@ -1707,12 +1707,12 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1707
1707
|
ownResearchLead: {
|
|
1708
1708
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1709
1709
|
id: string;
|
|
1710
|
-
phoneNumber: string;
|
|
1711
1710
|
name: string;
|
|
1712
|
-
createdAt: string | Date;
|
|
1713
1711
|
updatedAt: string | Date;
|
|
1712
|
+
createdAt: string | Date;
|
|
1714
1713
|
blacklistReason: string | null;
|
|
1715
1714
|
agentId: string;
|
|
1715
|
+
phoneNumber: string;
|
|
1716
1716
|
lastCalledAt: string | Date | null;
|
|
1717
1717
|
callCount: number;
|
|
1718
1718
|
lastCallNotes: string | null;
|
|
@@ -1722,18 +1722,20 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1722
1722
|
agent?: {
|
|
1723
1723
|
status: "ACTIVE" | "INACTIVE";
|
|
1724
1724
|
id: string;
|
|
1725
|
-
firstName: string;
|
|
1726
|
-
lastName: string;
|
|
1727
|
-
email: string;
|
|
1728
|
-
createdAt: string | Date;
|
|
1729
1725
|
updatedAt: string | Date;
|
|
1726
|
+
createdAt: string | Date;
|
|
1727
|
+
email: string;
|
|
1728
|
+
lastName: string;
|
|
1729
|
+
firstName: string;
|
|
1730
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1731
|
+
officeId?: string | null | undefined;
|
|
1730
1732
|
office?: {
|
|
1731
1733
|
id: string;
|
|
1732
1734
|
name: string;
|
|
1733
1735
|
managers?: {
|
|
1734
1736
|
id: string;
|
|
1735
|
-
firstName: string;
|
|
1736
1737
|
lastName: string;
|
|
1738
|
+
firstName: string;
|
|
1737
1739
|
}[] | undefined;
|
|
1738
1740
|
} | null | undefined;
|
|
1739
1741
|
phoneNumbers?: {
|
|
@@ -1742,12 +1744,10 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1742
1744
|
description?: string | null | undefined;
|
|
1743
1745
|
isPrimary?: boolean | undefined;
|
|
1744
1746
|
}[] | undefined;
|
|
1745
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1746
|
-
officeId?: string | null | undefined;
|
|
1747
1747
|
canImpersonateUsers?: {
|
|
1748
1748
|
id: string;
|
|
1749
|
-
firstName: string;
|
|
1750
1749
|
lastName: string;
|
|
1750
|
+
firstName: string;
|
|
1751
1751
|
}[] | undefined;
|
|
1752
1752
|
deletedAt?: string | Date | null | undefined;
|
|
1753
1753
|
} | undefined;
|
|
@@ -1788,30 +1788,30 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1788
1788
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "lastCalledAt", "callCount", "name"]>>;
|
|
1789
1789
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
1790
1790
|
}, "strip", z.ZodTypeAny, {
|
|
1791
|
-
limit: number;
|
|
1792
1791
|
page: number;
|
|
1792
|
+
limit: number;
|
|
1793
1793
|
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1794
|
-
phoneNumber?: string | undefined;
|
|
1795
1794
|
name?: string | undefined;
|
|
1795
|
+
phoneNumber?: string | undefined;
|
|
1796
1796
|
lastCalledAt?: {
|
|
1797
1797
|
from?: string | null | undefined;
|
|
1798
1798
|
to?: string | null | undefined;
|
|
1799
1799
|
} | undefined;
|
|
1800
1800
|
minTotalCalls?: number | undefined;
|
|
1801
|
-
sortBy?: "name" | "
|
|
1801
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | "lastCalledAt" | "callCount" | undefined;
|
|
1802
1802
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1803
1803
|
}, {
|
|
1804
1804
|
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
1805
|
-
phoneNumber?: string | undefined;
|
|
1806
|
-
name?: string | undefined;
|
|
1807
|
-
limit?: number | undefined;
|
|
1808
1805
|
page?: number | undefined;
|
|
1806
|
+
limit?: number | undefined;
|
|
1807
|
+
name?: string | undefined;
|
|
1808
|
+
phoneNumber?: string | undefined;
|
|
1809
1809
|
lastCalledAt?: {
|
|
1810
1810
|
from?: string | null | undefined;
|
|
1811
1811
|
to?: string | null | undefined;
|
|
1812
1812
|
} | undefined;
|
|
1813
1813
|
minTotalCalls?: number | undefined;
|
|
1814
|
-
sortBy?: "name" | "
|
|
1814
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | "lastCalledAt" | "callCount" | undefined;
|
|
1815
1815
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1816
1816
|
}>;
|
|
1817
1817
|
export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
@@ -1850,28 +1850,28 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1850
1850
|
lastName: z.ZodString;
|
|
1851
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1852
1852
|
id: string;
|
|
1853
|
-
firstName: string;
|
|
1854
1853
|
lastName: string;
|
|
1854
|
+
firstName: string;
|
|
1855
1855
|
}, {
|
|
1856
1856
|
id: string;
|
|
1857
|
-
firstName: string;
|
|
1858
1857
|
lastName: string;
|
|
1858
|
+
firstName: string;
|
|
1859
1859
|
}>, "many">>;
|
|
1860
1860
|
}, "strip", z.ZodTypeAny, {
|
|
1861
1861
|
id: string;
|
|
1862
1862
|
name: string;
|
|
1863
1863
|
managers?: {
|
|
1864
1864
|
id: string;
|
|
1865
|
-
firstName: string;
|
|
1866
1865
|
lastName: string;
|
|
1866
|
+
firstName: string;
|
|
1867
1867
|
}[] | undefined;
|
|
1868
1868
|
}, {
|
|
1869
1869
|
id: string;
|
|
1870
1870
|
name: string;
|
|
1871
1871
|
managers?: {
|
|
1872
1872
|
id: string;
|
|
1873
|
-
firstName: string;
|
|
1874
1873
|
lastName: string;
|
|
1874
|
+
firstName: string;
|
|
1875
1875
|
}[] | undefined;
|
|
1876
1876
|
}>>>;
|
|
1877
1877
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1880,12 +1880,12 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1880
1880
|
lastName: z.ZodString;
|
|
1881
1881
|
}, "strip", z.ZodTypeAny, {
|
|
1882
1882
|
id: string;
|
|
1883
|
-
firstName: string;
|
|
1884
1883
|
lastName: string;
|
|
1884
|
+
firstName: string;
|
|
1885
1885
|
}, {
|
|
1886
1886
|
id: string;
|
|
1887
|
-
firstName: string;
|
|
1888
1887
|
lastName: string;
|
|
1888
|
+
firstName: string;
|
|
1889
1889
|
}>, "many">>;
|
|
1890
1890
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1891
1891
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1894,49 +1894,51 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1894
1894
|
}, "strip", z.ZodTypeAny, {
|
|
1895
1895
|
status: "ACTIVE" | "INACTIVE";
|
|
1896
1896
|
id: string;
|
|
1897
|
-
|
|
1898
|
-
lastName: string;
|
|
1899
|
-
email: string;
|
|
1897
|
+
updatedAt: string;
|
|
1900
1898
|
createdAt: string;
|
|
1899
|
+
email: string;
|
|
1900
|
+
lastName: string;
|
|
1901
|
+
firstName: string;
|
|
1901
1902
|
phoneNumbers: {
|
|
1902
1903
|
id: string;
|
|
1903
1904
|
phoneNumber: string;
|
|
1904
1905
|
isPrimary: boolean;
|
|
1905
1906
|
description?: string | null | undefined;
|
|
1906
1907
|
}[];
|
|
1907
|
-
|
|
1908
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1909
|
+
officeId?: string | null | undefined;
|
|
1908
1910
|
office?: {
|
|
1909
1911
|
id: string;
|
|
1910
1912
|
name: string;
|
|
1911
1913
|
managers?: {
|
|
1912
1914
|
id: string;
|
|
1913
|
-
firstName: string;
|
|
1914
1915
|
lastName: string;
|
|
1916
|
+
firstName: string;
|
|
1915
1917
|
}[] | undefined;
|
|
1916
1918
|
} | null | undefined;
|
|
1917
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1918
|
-
officeId?: string | null | undefined;
|
|
1919
1919
|
canImpersonateUsers?: {
|
|
1920
1920
|
id: string;
|
|
1921
|
-
firstName: string;
|
|
1922
1921
|
lastName: string;
|
|
1922
|
+
firstName: string;
|
|
1923
1923
|
}[] | undefined;
|
|
1924
1924
|
deletedAt?: string | null | undefined;
|
|
1925
1925
|
}, {
|
|
1926
1926
|
status: "ACTIVE" | "INACTIVE";
|
|
1927
1927
|
id: string;
|
|
1928
|
-
firstName: string;
|
|
1929
|
-
lastName: string;
|
|
1930
|
-
email: string;
|
|
1931
|
-
createdAt: string | Date;
|
|
1932
1928
|
updatedAt: string | Date;
|
|
1929
|
+
createdAt: string | Date;
|
|
1930
|
+
email: string;
|
|
1931
|
+
lastName: string;
|
|
1932
|
+
firstName: string;
|
|
1933
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1934
|
+
officeId?: string | null | undefined;
|
|
1933
1935
|
office?: {
|
|
1934
1936
|
id: string;
|
|
1935
1937
|
name: string;
|
|
1936
1938
|
managers?: {
|
|
1937
1939
|
id: string;
|
|
1938
|
-
firstName: string;
|
|
1939
1940
|
lastName: string;
|
|
1941
|
+
firstName: string;
|
|
1940
1942
|
}[] | undefined;
|
|
1941
1943
|
} | null | undefined;
|
|
1942
1944
|
phoneNumbers?: {
|
|
@@ -1945,12 +1947,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1945
1947
|
description?: string | null | undefined;
|
|
1946
1948
|
isPrimary?: boolean | undefined;
|
|
1947
1949
|
}[] | undefined;
|
|
1948
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1949
|
-
officeId?: string | null | undefined;
|
|
1950
1950
|
canImpersonateUsers?: {
|
|
1951
1951
|
id: string;
|
|
1952
|
-
firstName: string;
|
|
1953
1952
|
lastName: string;
|
|
1953
|
+
firstName: string;
|
|
1954
1954
|
}[] | undefined;
|
|
1955
1955
|
deletedAt?: string | Date | null | undefined;
|
|
1956
1956
|
}>>;
|
|
@@ -1969,12 +1969,12 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1969
1969
|
}, "strip", z.ZodTypeAny, {
|
|
1970
1970
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
1971
1971
|
id: string;
|
|
1972
|
-
phoneNumber: string;
|
|
1973
1972
|
name: string;
|
|
1974
|
-
createdAt: string;
|
|
1975
1973
|
updatedAt: string;
|
|
1974
|
+
createdAt: string;
|
|
1976
1975
|
blacklistReason: string | null;
|
|
1977
1976
|
agentId: string;
|
|
1977
|
+
phoneNumber: string;
|
|
1978
1978
|
lastCalledAt: string | null;
|
|
1979
1979
|
callCount: number;
|
|
1980
1980
|
lastCallNotes: string | null;
|
|
@@ -1984,44 +1984,44 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1984
1984
|
agent?: {
|
|
1985
1985
|
status: "ACTIVE" | "INACTIVE";
|
|
1986
1986
|
id: string;
|
|
1987
|
-
|
|
1988
|
-
lastName: string;
|
|
1989
|
-
email: string;
|
|
1987
|
+
updatedAt: string;
|
|
1990
1988
|
createdAt: string;
|
|
1989
|
+
email: string;
|
|
1990
|
+
lastName: string;
|
|
1991
|
+
firstName: string;
|
|
1991
1992
|
phoneNumbers: {
|
|
1992
1993
|
id: string;
|
|
1993
1994
|
phoneNumber: string;
|
|
1994
1995
|
isPrimary: boolean;
|
|
1995
1996
|
description?: string | null | undefined;
|
|
1996
1997
|
}[];
|
|
1997
|
-
|
|
1998
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1999
|
+
officeId?: string | null | undefined;
|
|
1998
2000
|
office?: {
|
|
1999
2001
|
id: string;
|
|
2000
2002
|
name: string;
|
|
2001
2003
|
managers?: {
|
|
2002
2004
|
id: string;
|
|
2003
|
-
firstName: string;
|
|
2004
2005
|
lastName: string;
|
|
2006
|
+
firstName: string;
|
|
2005
2007
|
}[] | undefined;
|
|
2006
2008
|
} | null | undefined;
|
|
2007
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2008
|
-
officeId?: string | null | undefined;
|
|
2009
2009
|
canImpersonateUsers?: {
|
|
2010
2010
|
id: string;
|
|
2011
|
-
firstName: string;
|
|
2012
2011
|
lastName: string;
|
|
2012
|
+
firstName: string;
|
|
2013
2013
|
}[] | undefined;
|
|
2014
2014
|
deletedAt?: string | null | undefined;
|
|
2015
2015
|
} | undefined;
|
|
2016
2016
|
}, {
|
|
2017
2017
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2018
2018
|
id: string;
|
|
2019
|
-
phoneNumber: string;
|
|
2020
2019
|
name: string;
|
|
2021
|
-
createdAt: string | Date;
|
|
2022
2020
|
updatedAt: string | Date;
|
|
2021
|
+
createdAt: string | Date;
|
|
2023
2022
|
blacklistReason: string | null;
|
|
2024
2023
|
agentId: string;
|
|
2024
|
+
phoneNumber: string;
|
|
2025
2025
|
lastCalledAt: string | Date | null;
|
|
2026
2026
|
callCount: number;
|
|
2027
2027
|
lastCallNotes: string | null;
|
|
@@ -2031,18 +2031,20 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2031
2031
|
agent?: {
|
|
2032
2032
|
status: "ACTIVE" | "INACTIVE";
|
|
2033
2033
|
id: string;
|
|
2034
|
-
firstName: string;
|
|
2035
|
-
lastName: string;
|
|
2036
|
-
email: string;
|
|
2037
|
-
createdAt: string | Date;
|
|
2038
2034
|
updatedAt: string | Date;
|
|
2035
|
+
createdAt: string | Date;
|
|
2036
|
+
email: string;
|
|
2037
|
+
lastName: string;
|
|
2038
|
+
firstName: string;
|
|
2039
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2040
|
+
officeId?: string | null | undefined;
|
|
2039
2041
|
office?: {
|
|
2040
2042
|
id: string;
|
|
2041
2043
|
name: string;
|
|
2042
2044
|
managers?: {
|
|
2043
2045
|
id: string;
|
|
2044
|
-
firstName: string;
|
|
2045
2046
|
lastName: string;
|
|
2047
|
+
firstName: string;
|
|
2046
2048
|
}[] | undefined;
|
|
2047
2049
|
} | null | undefined;
|
|
2048
2050
|
phoneNumbers?: {
|
|
@@ -2051,12 +2053,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2051
2053
|
description?: string | null | undefined;
|
|
2052
2054
|
isPrimary?: boolean | undefined;
|
|
2053
2055
|
}[] | undefined;
|
|
2054
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2055
|
-
officeId?: string | null | undefined;
|
|
2056
2056
|
canImpersonateUsers?: {
|
|
2057
2057
|
id: string;
|
|
2058
|
-
firstName: string;
|
|
2059
2058
|
lastName: string;
|
|
2059
|
+
firstName: string;
|
|
2060
2060
|
}[] | undefined;
|
|
2061
2061
|
deletedAt?: string | Date | null | undefined;
|
|
2062
2062
|
} | undefined;
|
|
@@ -2071,12 +2071,12 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2071
2071
|
items: {
|
|
2072
2072
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2073
2073
|
id: string;
|
|
2074
|
-
phoneNumber: string;
|
|
2075
2074
|
name: string;
|
|
2076
|
-
createdAt: string;
|
|
2077
2075
|
updatedAt: string;
|
|
2076
|
+
createdAt: string;
|
|
2078
2077
|
blacklistReason: string | null;
|
|
2079
2078
|
agentId: string;
|
|
2079
|
+
phoneNumber: string;
|
|
2080
2080
|
lastCalledAt: string | null;
|
|
2081
2081
|
callCount: number;
|
|
2082
2082
|
lastCallNotes: string | null;
|
|
@@ -2086,32 +2086,32 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2086
2086
|
agent?: {
|
|
2087
2087
|
status: "ACTIVE" | "INACTIVE";
|
|
2088
2088
|
id: string;
|
|
2089
|
-
|
|
2090
|
-
lastName: string;
|
|
2091
|
-
email: string;
|
|
2089
|
+
updatedAt: string;
|
|
2092
2090
|
createdAt: string;
|
|
2091
|
+
email: string;
|
|
2092
|
+
lastName: string;
|
|
2093
|
+
firstName: string;
|
|
2093
2094
|
phoneNumbers: {
|
|
2094
2095
|
id: string;
|
|
2095
2096
|
phoneNumber: string;
|
|
2096
2097
|
isPrimary: boolean;
|
|
2097
2098
|
description?: string | null | undefined;
|
|
2098
2099
|
}[];
|
|
2099
|
-
|
|
2100
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2101
|
+
officeId?: string | null | undefined;
|
|
2100
2102
|
office?: {
|
|
2101
2103
|
id: string;
|
|
2102
2104
|
name: string;
|
|
2103
2105
|
managers?: {
|
|
2104
2106
|
id: string;
|
|
2105
|
-
firstName: string;
|
|
2106
2107
|
lastName: string;
|
|
2108
|
+
firstName: string;
|
|
2107
2109
|
}[] | undefined;
|
|
2108
2110
|
} | null | undefined;
|
|
2109
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2110
|
-
officeId?: string | null | undefined;
|
|
2111
2111
|
canImpersonateUsers?: {
|
|
2112
2112
|
id: string;
|
|
2113
|
-
firstName: string;
|
|
2114
2113
|
lastName: string;
|
|
2114
|
+
firstName: string;
|
|
2115
2115
|
}[] | undefined;
|
|
2116
2116
|
deletedAt?: string | null | undefined;
|
|
2117
2117
|
} | undefined;
|
|
@@ -2125,12 +2125,12 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2125
2125
|
items: {
|
|
2126
2126
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2127
2127
|
id: string;
|
|
2128
|
-
phoneNumber: string;
|
|
2129
2128
|
name: string;
|
|
2130
|
-
createdAt: string | Date;
|
|
2131
2129
|
updatedAt: string | Date;
|
|
2130
|
+
createdAt: string | Date;
|
|
2132
2131
|
blacklistReason: string | null;
|
|
2133
2132
|
agentId: string;
|
|
2133
|
+
phoneNumber: string;
|
|
2134
2134
|
lastCalledAt: string | Date | null;
|
|
2135
2135
|
callCount: number;
|
|
2136
2136
|
lastCallNotes: string | null;
|
|
@@ -2140,18 +2140,20 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2140
2140
|
agent?: {
|
|
2141
2141
|
status: "ACTIVE" | "INACTIVE";
|
|
2142
2142
|
id: string;
|
|
2143
|
-
firstName: string;
|
|
2144
|
-
lastName: string;
|
|
2145
|
-
email: string;
|
|
2146
|
-
createdAt: string | Date;
|
|
2147
2143
|
updatedAt: string | Date;
|
|
2144
|
+
createdAt: string | Date;
|
|
2145
|
+
email: string;
|
|
2146
|
+
lastName: string;
|
|
2147
|
+
firstName: string;
|
|
2148
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2149
|
+
officeId?: string | null | undefined;
|
|
2148
2150
|
office?: {
|
|
2149
2151
|
id: string;
|
|
2150
2152
|
name: string;
|
|
2151
2153
|
managers?: {
|
|
2152
2154
|
id: string;
|
|
2153
|
-
firstName: string;
|
|
2154
2155
|
lastName: string;
|
|
2156
|
+
firstName: string;
|
|
2155
2157
|
}[] | undefined;
|
|
2156
2158
|
} | null | undefined;
|
|
2157
2159
|
phoneNumbers?: {
|
|
@@ -2160,12 +2162,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
2160
2162
|
description?: string | null | undefined;
|
|
2161
2163
|
isPrimary?: boolean | undefined;
|
|
2162
2164
|
}[] | undefined;
|
|
2163
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2164
|
-
officeId?: string | null | undefined;
|
|
2165
2165
|
canImpersonateUsers?: {
|
|
2166
2166
|
id: string;
|
|
2167
|
-
firstName: string;
|
|
2168
2167
|
lastName: string;
|
|
2168
|
+
firstName: string;
|
|
2169
2169
|
}[] | undefined;
|
|
2170
2170
|
deletedAt?: string | Date | null | undefined;
|
|
2171
2171
|
} | undefined;
|
|
@@ -2331,30 +2331,30 @@ export declare const ownResearchContract: {
|
|
|
2331
2331
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "lastCalledAt", "callCount", "name"]>>;
|
|
2332
2332
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
2333
2333
|
}, "strip", z.ZodTypeAny, {
|
|
2334
|
-
limit: number;
|
|
2335
2334
|
page: number;
|
|
2335
|
+
limit: number;
|
|
2336
2336
|
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
2337
|
-
phoneNumber?: string | undefined;
|
|
2338
2337
|
name?: string | undefined;
|
|
2338
|
+
phoneNumber?: string | undefined;
|
|
2339
2339
|
lastCalledAt?: {
|
|
2340
2340
|
from?: string | null | undefined;
|
|
2341
2341
|
to?: string | null | undefined;
|
|
2342
2342
|
} | undefined;
|
|
2343
2343
|
minTotalCalls?: number | undefined;
|
|
2344
|
-
sortBy?: "name" | "
|
|
2344
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | "lastCalledAt" | "callCount" | undefined;
|
|
2345
2345
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2346
2346
|
}, {
|
|
2347
2347
|
status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
|
|
2348
|
-
phoneNumber?: string | undefined;
|
|
2349
|
-
name?: string | undefined;
|
|
2350
|
-
limit?: number | undefined;
|
|
2351
2348
|
page?: number | undefined;
|
|
2349
|
+
limit?: number | undefined;
|
|
2350
|
+
name?: string | undefined;
|
|
2351
|
+
phoneNumber?: string | undefined;
|
|
2352
2352
|
lastCalledAt?: {
|
|
2353
2353
|
from?: string | null | undefined;
|
|
2354
2354
|
to?: string | null | undefined;
|
|
2355
2355
|
} | undefined;
|
|
2356
2356
|
minTotalCalls?: number | undefined;
|
|
2357
|
-
sortBy?: "name" | "
|
|
2357
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | "lastCalledAt" | "callCount" | undefined;
|
|
2358
2358
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2359
2359
|
}>;
|
|
2360
2360
|
metadata: {
|
|
@@ -2500,28 +2500,28 @@ export declare const ownResearchContract: {
|
|
|
2500
2500
|
lastName: z.ZodString;
|
|
2501
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2502
2502
|
id: string;
|
|
2503
|
-
firstName: string;
|
|
2504
2503
|
lastName: string;
|
|
2504
|
+
firstName: string;
|
|
2505
2505
|
}, {
|
|
2506
2506
|
id: string;
|
|
2507
|
-
firstName: string;
|
|
2508
2507
|
lastName: string;
|
|
2508
|
+
firstName: string;
|
|
2509
2509
|
}>, "many">>;
|
|
2510
2510
|
}, "strip", z.ZodTypeAny, {
|
|
2511
2511
|
id: string;
|
|
2512
2512
|
name: string;
|
|
2513
2513
|
managers?: {
|
|
2514
2514
|
id: string;
|
|
2515
|
-
firstName: string;
|
|
2516
2515
|
lastName: string;
|
|
2516
|
+
firstName: string;
|
|
2517
2517
|
}[] | undefined;
|
|
2518
2518
|
}, {
|
|
2519
2519
|
id: string;
|
|
2520
2520
|
name: string;
|
|
2521
2521
|
managers?: {
|
|
2522
2522
|
id: string;
|
|
2523
|
-
firstName: string;
|
|
2524
2523
|
lastName: string;
|
|
2524
|
+
firstName: string;
|
|
2525
2525
|
}[] | undefined;
|
|
2526
2526
|
}>>>;
|
|
2527
2527
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2530,12 +2530,12 @@ export declare const ownResearchContract: {
|
|
|
2530
2530
|
lastName: z.ZodString;
|
|
2531
2531
|
}, "strip", z.ZodTypeAny, {
|
|
2532
2532
|
id: string;
|
|
2533
|
-
firstName: string;
|
|
2534
2533
|
lastName: string;
|
|
2534
|
+
firstName: string;
|
|
2535
2535
|
}, {
|
|
2536
2536
|
id: string;
|
|
2537
|
-
firstName: string;
|
|
2538
2537
|
lastName: string;
|
|
2538
|
+
firstName: string;
|
|
2539
2539
|
}>, "many">>;
|
|
2540
2540
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2541
2541
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2544,49 +2544,51 @@ export declare const ownResearchContract: {
|
|
|
2544
2544
|
}, "strip", z.ZodTypeAny, {
|
|
2545
2545
|
status: "ACTIVE" | "INACTIVE";
|
|
2546
2546
|
id: string;
|
|
2547
|
-
|
|
2548
|
-
lastName: string;
|
|
2549
|
-
email: string;
|
|
2547
|
+
updatedAt: string;
|
|
2550
2548
|
createdAt: string;
|
|
2549
|
+
email: string;
|
|
2550
|
+
lastName: string;
|
|
2551
|
+
firstName: string;
|
|
2551
2552
|
phoneNumbers: {
|
|
2552
2553
|
id: string;
|
|
2553
2554
|
phoneNumber: string;
|
|
2554
2555
|
isPrimary: boolean;
|
|
2555
2556
|
description?: string | null | undefined;
|
|
2556
2557
|
}[];
|
|
2557
|
-
|
|
2558
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2559
|
+
officeId?: string | null | undefined;
|
|
2558
2560
|
office?: {
|
|
2559
2561
|
id: string;
|
|
2560
2562
|
name: string;
|
|
2561
2563
|
managers?: {
|
|
2562
2564
|
id: string;
|
|
2563
|
-
firstName: string;
|
|
2564
2565
|
lastName: string;
|
|
2566
|
+
firstName: string;
|
|
2565
2567
|
}[] | undefined;
|
|
2566
2568
|
} | null | undefined;
|
|
2567
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2568
|
-
officeId?: string | null | undefined;
|
|
2569
2569
|
canImpersonateUsers?: {
|
|
2570
2570
|
id: string;
|
|
2571
|
-
firstName: string;
|
|
2572
2571
|
lastName: string;
|
|
2572
|
+
firstName: string;
|
|
2573
2573
|
}[] | undefined;
|
|
2574
2574
|
deletedAt?: string | null | undefined;
|
|
2575
2575
|
}, {
|
|
2576
2576
|
status: "ACTIVE" | "INACTIVE";
|
|
2577
2577
|
id: string;
|
|
2578
|
-
firstName: string;
|
|
2579
|
-
lastName: string;
|
|
2580
|
-
email: string;
|
|
2581
|
-
createdAt: string | Date;
|
|
2582
2578
|
updatedAt: string | Date;
|
|
2579
|
+
createdAt: string | Date;
|
|
2580
|
+
email: string;
|
|
2581
|
+
lastName: string;
|
|
2582
|
+
firstName: string;
|
|
2583
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2584
|
+
officeId?: string | null | undefined;
|
|
2583
2585
|
office?: {
|
|
2584
2586
|
id: string;
|
|
2585
2587
|
name: string;
|
|
2586
2588
|
managers?: {
|
|
2587
2589
|
id: string;
|
|
2588
|
-
firstName: string;
|
|
2589
2590
|
lastName: string;
|
|
2591
|
+
firstName: string;
|
|
2590
2592
|
}[] | undefined;
|
|
2591
2593
|
} | null | undefined;
|
|
2592
2594
|
phoneNumbers?: {
|
|
@@ -2595,12 +2597,10 @@ export declare const ownResearchContract: {
|
|
|
2595
2597
|
description?: string | null | undefined;
|
|
2596
2598
|
isPrimary?: boolean | undefined;
|
|
2597
2599
|
}[] | undefined;
|
|
2598
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2599
|
-
officeId?: string | null | undefined;
|
|
2600
2600
|
canImpersonateUsers?: {
|
|
2601
2601
|
id: string;
|
|
2602
|
-
firstName: string;
|
|
2603
2602
|
lastName: string;
|
|
2603
|
+
firstName: string;
|
|
2604
2604
|
}[] | undefined;
|
|
2605
2605
|
deletedAt?: string | Date | null | undefined;
|
|
2606
2606
|
}>>;
|
|
@@ -2619,12 +2619,12 @@ export declare const ownResearchContract: {
|
|
|
2619
2619
|
}, "strip", z.ZodTypeAny, {
|
|
2620
2620
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2621
2621
|
id: string;
|
|
2622
|
-
phoneNumber: string;
|
|
2623
2622
|
name: string;
|
|
2624
|
-
createdAt: string;
|
|
2625
2623
|
updatedAt: string;
|
|
2624
|
+
createdAt: string;
|
|
2626
2625
|
blacklistReason: string | null;
|
|
2627
2626
|
agentId: string;
|
|
2627
|
+
phoneNumber: string;
|
|
2628
2628
|
lastCalledAt: string | null;
|
|
2629
2629
|
callCount: number;
|
|
2630
2630
|
lastCallNotes: string | null;
|
|
@@ -2634,44 +2634,44 @@ export declare const ownResearchContract: {
|
|
|
2634
2634
|
agent?: {
|
|
2635
2635
|
status: "ACTIVE" | "INACTIVE";
|
|
2636
2636
|
id: string;
|
|
2637
|
-
|
|
2638
|
-
lastName: string;
|
|
2639
|
-
email: string;
|
|
2637
|
+
updatedAt: string;
|
|
2640
2638
|
createdAt: string;
|
|
2639
|
+
email: string;
|
|
2640
|
+
lastName: string;
|
|
2641
|
+
firstName: string;
|
|
2641
2642
|
phoneNumbers: {
|
|
2642
2643
|
id: string;
|
|
2643
2644
|
phoneNumber: string;
|
|
2644
2645
|
isPrimary: boolean;
|
|
2645
2646
|
description?: string | null | undefined;
|
|
2646
2647
|
}[];
|
|
2647
|
-
|
|
2648
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2649
|
+
officeId?: string | null | undefined;
|
|
2648
2650
|
office?: {
|
|
2649
2651
|
id: string;
|
|
2650
2652
|
name: string;
|
|
2651
2653
|
managers?: {
|
|
2652
2654
|
id: string;
|
|
2653
|
-
firstName: string;
|
|
2654
2655
|
lastName: string;
|
|
2656
|
+
firstName: string;
|
|
2655
2657
|
}[] | undefined;
|
|
2656
2658
|
} | null | undefined;
|
|
2657
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2658
|
-
officeId?: string | null | undefined;
|
|
2659
2659
|
canImpersonateUsers?: {
|
|
2660
2660
|
id: string;
|
|
2661
|
-
firstName: string;
|
|
2662
2661
|
lastName: string;
|
|
2662
|
+
firstName: string;
|
|
2663
2663
|
}[] | undefined;
|
|
2664
2664
|
deletedAt?: string | null | undefined;
|
|
2665
2665
|
} | undefined;
|
|
2666
2666
|
}, {
|
|
2667
2667
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2668
2668
|
id: string;
|
|
2669
|
-
phoneNumber: string;
|
|
2670
2669
|
name: string;
|
|
2671
|
-
createdAt: string | Date;
|
|
2672
2670
|
updatedAt: string | Date;
|
|
2671
|
+
createdAt: string | Date;
|
|
2673
2672
|
blacklistReason: string | null;
|
|
2674
2673
|
agentId: string;
|
|
2674
|
+
phoneNumber: string;
|
|
2675
2675
|
lastCalledAt: string | Date | null;
|
|
2676
2676
|
callCount: number;
|
|
2677
2677
|
lastCallNotes: string | null;
|
|
@@ -2681,18 +2681,20 @@ export declare const ownResearchContract: {
|
|
|
2681
2681
|
agent?: {
|
|
2682
2682
|
status: "ACTIVE" | "INACTIVE";
|
|
2683
2683
|
id: string;
|
|
2684
|
-
firstName: string;
|
|
2685
|
-
lastName: string;
|
|
2686
|
-
email: string;
|
|
2687
|
-
createdAt: string | Date;
|
|
2688
2684
|
updatedAt: string | Date;
|
|
2685
|
+
createdAt: string | Date;
|
|
2686
|
+
email: string;
|
|
2687
|
+
lastName: string;
|
|
2688
|
+
firstName: string;
|
|
2689
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2690
|
+
officeId?: string | null | undefined;
|
|
2689
2691
|
office?: {
|
|
2690
2692
|
id: string;
|
|
2691
2693
|
name: string;
|
|
2692
2694
|
managers?: {
|
|
2693
2695
|
id: string;
|
|
2694
|
-
firstName: string;
|
|
2695
2696
|
lastName: string;
|
|
2697
|
+
firstName: string;
|
|
2696
2698
|
}[] | undefined;
|
|
2697
2699
|
} | null | undefined;
|
|
2698
2700
|
phoneNumbers?: {
|
|
@@ -2701,12 +2703,10 @@ export declare const ownResearchContract: {
|
|
|
2701
2703
|
description?: string | null | undefined;
|
|
2702
2704
|
isPrimary?: boolean | undefined;
|
|
2703
2705
|
}[] | undefined;
|
|
2704
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2705
|
-
officeId?: string | null | undefined;
|
|
2706
2706
|
canImpersonateUsers?: {
|
|
2707
2707
|
id: string;
|
|
2708
|
-
firstName: string;
|
|
2709
2708
|
lastName: string;
|
|
2709
|
+
firstName: string;
|
|
2710
2710
|
}[] | undefined;
|
|
2711
2711
|
deletedAt?: string | Date | null | undefined;
|
|
2712
2712
|
} | undefined;
|
|
@@ -2721,12 +2721,12 @@ export declare const ownResearchContract: {
|
|
|
2721
2721
|
items: {
|
|
2722
2722
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2723
2723
|
id: string;
|
|
2724
|
-
phoneNumber: string;
|
|
2725
2724
|
name: string;
|
|
2726
|
-
createdAt: string;
|
|
2727
2725
|
updatedAt: string;
|
|
2726
|
+
createdAt: string;
|
|
2728
2727
|
blacklistReason: string | null;
|
|
2729
2728
|
agentId: string;
|
|
2729
|
+
phoneNumber: string;
|
|
2730
2730
|
lastCalledAt: string | null;
|
|
2731
2731
|
callCount: number;
|
|
2732
2732
|
lastCallNotes: string | null;
|
|
@@ -2736,32 +2736,32 @@ export declare const ownResearchContract: {
|
|
|
2736
2736
|
agent?: {
|
|
2737
2737
|
status: "ACTIVE" | "INACTIVE";
|
|
2738
2738
|
id: string;
|
|
2739
|
-
|
|
2740
|
-
lastName: string;
|
|
2741
|
-
email: string;
|
|
2739
|
+
updatedAt: string;
|
|
2742
2740
|
createdAt: string;
|
|
2741
|
+
email: string;
|
|
2742
|
+
lastName: string;
|
|
2743
|
+
firstName: string;
|
|
2743
2744
|
phoneNumbers: {
|
|
2744
2745
|
id: string;
|
|
2745
2746
|
phoneNumber: string;
|
|
2746
2747
|
isPrimary: boolean;
|
|
2747
2748
|
description?: string | null | undefined;
|
|
2748
2749
|
}[];
|
|
2749
|
-
|
|
2750
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2751
|
+
officeId?: string | null | undefined;
|
|
2750
2752
|
office?: {
|
|
2751
2753
|
id: string;
|
|
2752
2754
|
name: string;
|
|
2753
2755
|
managers?: {
|
|
2754
2756
|
id: string;
|
|
2755
|
-
firstName: string;
|
|
2756
2757
|
lastName: string;
|
|
2758
|
+
firstName: string;
|
|
2757
2759
|
}[] | undefined;
|
|
2758
2760
|
} | null | undefined;
|
|
2759
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2760
|
-
officeId?: string | null | undefined;
|
|
2761
2761
|
canImpersonateUsers?: {
|
|
2762
2762
|
id: string;
|
|
2763
|
-
firstName: string;
|
|
2764
2763
|
lastName: string;
|
|
2764
|
+
firstName: string;
|
|
2765
2765
|
}[] | undefined;
|
|
2766
2766
|
deletedAt?: string | null | undefined;
|
|
2767
2767
|
} | undefined;
|
|
@@ -2775,12 +2775,12 @@ export declare const ownResearchContract: {
|
|
|
2775
2775
|
items: {
|
|
2776
2776
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
2777
2777
|
id: string;
|
|
2778
|
-
phoneNumber: string;
|
|
2779
2778
|
name: string;
|
|
2780
|
-
createdAt: string | Date;
|
|
2781
2779
|
updatedAt: string | Date;
|
|
2780
|
+
createdAt: string | Date;
|
|
2782
2781
|
blacklistReason: string | null;
|
|
2783
2782
|
agentId: string;
|
|
2783
|
+
phoneNumber: string;
|
|
2784
2784
|
lastCalledAt: string | Date | null;
|
|
2785
2785
|
callCount: number;
|
|
2786
2786
|
lastCallNotes: string | null;
|
|
@@ -2790,18 +2790,20 @@ export declare const ownResearchContract: {
|
|
|
2790
2790
|
agent?: {
|
|
2791
2791
|
status: "ACTIVE" | "INACTIVE";
|
|
2792
2792
|
id: string;
|
|
2793
|
-
firstName: string;
|
|
2794
|
-
lastName: string;
|
|
2795
|
-
email: string;
|
|
2796
|
-
createdAt: string | Date;
|
|
2797
2793
|
updatedAt: string | Date;
|
|
2794
|
+
createdAt: string | Date;
|
|
2795
|
+
email: string;
|
|
2796
|
+
lastName: string;
|
|
2797
|
+
firstName: string;
|
|
2798
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2799
|
+
officeId?: string | null | undefined;
|
|
2798
2800
|
office?: {
|
|
2799
2801
|
id: string;
|
|
2800
2802
|
name: string;
|
|
2801
2803
|
managers?: {
|
|
2802
2804
|
id: string;
|
|
2803
|
-
firstName: string;
|
|
2804
2805
|
lastName: string;
|
|
2806
|
+
firstName: string;
|
|
2805
2807
|
}[] | undefined;
|
|
2806
2808
|
} | null | undefined;
|
|
2807
2809
|
phoneNumbers?: {
|
|
@@ -2810,12 +2812,10 @@ export declare const ownResearchContract: {
|
|
|
2810
2812
|
description?: string | null | undefined;
|
|
2811
2813
|
isPrimary?: boolean | undefined;
|
|
2812
2814
|
}[] | undefined;
|
|
2813
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2814
|
-
officeId?: string | null | undefined;
|
|
2815
2815
|
canImpersonateUsers?: {
|
|
2816
2816
|
id: string;
|
|
2817
|
-
firstName: string;
|
|
2818
2817
|
lastName: string;
|
|
2818
|
+
firstName: string;
|
|
2819
2819
|
}[] | undefined;
|
|
2820
2820
|
deletedAt?: string | Date | null | undefined;
|
|
2821
2821
|
} | undefined;
|
|
@@ -2954,14 +2954,14 @@ export declare const ownResearchContract: {
|
|
|
2954
2954
|
}, "strip", z.ZodTypeAny, {
|
|
2955
2955
|
status: string;
|
|
2956
2956
|
id: string;
|
|
2957
|
-
phoneNumber: string;
|
|
2958
2957
|
name: string;
|
|
2958
|
+
phoneNumber: string;
|
|
2959
2959
|
cooldownUntil: string | null;
|
|
2960
2960
|
}, {
|
|
2961
2961
|
status: string;
|
|
2962
2962
|
id: string;
|
|
2963
|
-
phoneNumber: string;
|
|
2964
2963
|
name: string;
|
|
2964
|
+
phoneNumber: string;
|
|
2965
2965
|
cooldownUntil: string | Date | null;
|
|
2966
2966
|
}>>>;
|
|
2967
2967
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2999,28 +2999,28 @@ export declare const ownResearchContract: {
|
|
|
2999
2999
|
lastName: z.ZodString;
|
|
3000
3000
|
}, "strip", z.ZodTypeAny, {
|
|
3001
3001
|
id: string;
|
|
3002
|
-
firstName: string;
|
|
3003
3002
|
lastName: string;
|
|
3003
|
+
firstName: string;
|
|
3004
3004
|
}, {
|
|
3005
3005
|
id: string;
|
|
3006
|
-
firstName: string;
|
|
3007
3006
|
lastName: string;
|
|
3007
|
+
firstName: string;
|
|
3008
3008
|
}>, "many">>;
|
|
3009
3009
|
}, "strip", z.ZodTypeAny, {
|
|
3010
3010
|
id: string;
|
|
3011
3011
|
name: string;
|
|
3012
3012
|
managers?: {
|
|
3013
3013
|
id: string;
|
|
3014
|
-
firstName: string;
|
|
3015
3014
|
lastName: string;
|
|
3015
|
+
firstName: string;
|
|
3016
3016
|
}[] | undefined;
|
|
3017
3017
|
}, {
|
|
3018
3018
|
id: string;
|
|
3019
3019
|
name: string;
|
|
3020
3020
|
managers?: {
|
|
3021
3021
|
id: string;
|
|
3022
|
-
firstName: string;
|
|
3023
3022
|
lastName: string;
|
|
3023
|
+
firstName: string;
|
|
3024
3024
|
}[] | undefined;
|
|
3025
3025
|
}>>>;
|
|
3026
3026
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3029,12 +3029,12 @@ export declare const ownResearchContract: {
|
|
|
3029
3029
|
lastName: z.ZodString;
|
|
3030
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3031
3031
|
id: string;
|
|
3032
|
-
firstName: string;
|
|
3033
3032
|
lastName: string;
|
|
3033
|
+
firstName: string;
|
|
3034
3034
|
}, {
|
|
3035
3035
|
id: string;
|
|
3036
|
-
firstName: string;
|
|
3037
3036
|
lastName: string;
|
|
3037
|
+
firstName: string;
|
|
3038
3038
|
}>, "many">>;
|
|
3039
3039
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3040
3040
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -3043,49 +3043,51 @@ export declare const ownResearchContract: {
|
|
|
3043
3043
|
}, "strip", z.ZodTypeAny, {
|
|
3044
3044
|
status: "ACTIVE" | "INACTIVE";
|
|
3045
3045
|
id: string;
|
|
3046
|
-
|
|
3047
|
-
lastName: string;
|
|
3048
|
-
email: string;
|
|
3046
|
+
updatedAt: string;
|
|
3049
3047
|
createdAt: string;
|
|
3048
|
+
email: string;
|
|
3049
|
+
lastName: string;
|
|
3050
|
+
firstName: string;
|
|
3050
3051
|
phoneNumbers: {
|
|
3051
3052
|
id: string;
|
|
3052
3053
|
phoneNumber: string;
|
|
3053
3054
|
isPrimary: boolean;
|
|
3054
3055
|
description?: string | null | undefined;
|
|
3055
3056
|
}[];
|
|
3056
|
-
|
|
3057
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3058
|
+
officeId?: string | null | undefined;
|
|
3057
3059
|
office?: {
|
|
3058
3060
|
id: string;
|
|
3059
3061
|
name: string;
|
|
3060
3062
|
managers?: {
|
|
3061
3063
|
id: string;
|
|
3062
|
-
firstName: string;
|
|
3063
3064
|
lastName: string;
|
|
3065
|
+
firstName: string;
|
|
3064
3066
|
}[] | undefined;
|
|
3065
3067
|
} | null | undefined;
|
|
3066
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3067
|
-
officeId?: string | null | undefined;
|
|
3068
3068
|
canImpersonateUsers?: {
|
|
3069
3069
|
id: string;
|
|
3070
|
-
firstName: string;
|
|
3071
3070
|
lastName: string;
|
|
3071
|
+
firstName: string;
|
|
3072
3072
|
}[] | undefined;
|
|
3073
3073
|
deletedAt?: string | null | undefined;
|
|
3074
3074
|
}, {
|
|
3075
3075
|
status: "ACTIVE" | "INACTIVE";
|
|
3076
3076
|
id: string;
|
|
3077
|
-
firstName: string;
|
|
3078
|
-
lastName: string;
|
|
3079
|
-
email: string;
|
|
3080
|
-
createdAt: string | Date;
|
|
3081
3077
|
updatedAt: string | Date;
|
|
3078
|
+
createdAt: string | Date;
|
|
3079
|
+
email: string;
|
|
3080
|
+
lastName: string;
|
|
3081
|
+
firstName: string;
|
|
3082
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3083
|
+
officeId?: string | null | undefined;
|
|
3082
3084
|
office?: {
|
|
3083
3085
|
id: string;
|
|
3084
3086
|
name: string;
|
|
3085
3087
|
managers?: {
|
|
3086
3088
|
id: string;
|
|
3087
|
-
firstName: string;
|
|
3088
3089
|
lastName: string;
|
|
3090
|
+
firstName: string;
|
|
3089
3091
|
}[] | undefined;
|
|
3090
3092
|
} | null | undefined;
|
|
3091
3093
|
phoneNumbers?: {
|
|
@@ -3094,12 +3096,10 @@ export declare const ownResearchContract: {
|
|
|
3094
3096
|
description?: string | null | undefined;
|
|
3095
3097
|
isPrimary?: boolean | undefined;
|
|
3096
3098
|
}[] | undefined;
|
|
3097
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3098
|
-
officeId?: string | null | undefined;
|
|
3099
3099
|
canImpersonateUsers?: {
|
|
3100
3100
|
id: string;
|
|
3101
|
-
firstName: string;
|
|
3102
3101
|
lastName: string;
|
|
3102
|
+
firstName: string;
|
|
3103
3103
|
}[] | undefined;
|
|
3104
3104
|
deletedAt?: string | Date | null | undefined;
|
|
3105
3105
|
}>>;
|
|
@@ -3118,12 +3118,12 @@ export declare const ownResearchContract: {
|
|
|
3118
3118
|
}, "strip", z.ZodTypeAny, {
|
|
3119
3119
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3120
3120
|
id: string;
|
|
3121
|
-
phoneNumber: string;
|
|
3122
3121
|
name: string;
|
|
3123
|
-
createdAt: string;
|
|
3124
3122
|
updatedAt: string;
|
|
3123
|
+
createdAt: string;
|
|
3125
3124
|
blacklistReason: string | null;
|
|
3126
3125
|
agentId: string;
|
|
3126
|
+
phoneNumber: string;
|
|
3127
3127
|
lastCalledAt: string | null;
|
|
3128
3128
|
callCount: number;
|
|
3129
3129
|
lastCallNotes: string | null;
|
|
@@ -3133,44 +3133,44 @@ export declare const ownResearchContract: {
|
|
|
3133
3133
|
agent?: {
|
|
3134
3134
|
status: "ACTIVE" | "INACTIVE";
|
|
3135
3135
|
id: string;
|
|
3136
|
-
|
|
3137
|
-
lastName: string;
|
|
3138
|
-
email: string;
|
|
3136
|
+
updatedAt: string;
|
|
3139
3137
|
createdAt: string;
|
|
3138
|
+
email: string;
|
|
3139
|
+
lastName: string;
|
|
3140
|
+
firstName: string;
|
|
3140
3141
|
phoneNumbers: {
|
|
3141
3142
|
id: string;
|
|
3142
3143
|
phoneNumber: string;
|
|
3143
3144
|
isPrimary: boolean;
|
|
3144
3145
|
description?: string | null | undefined;
|
|
3145
3146
|
}[];
|
|
3146
|
-
|
|
3147
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3148
|
+
officeId?: string | null | undefined;
|
|
3147
3149
|
office?: {
|
|
3148
3150
|
id: string;
|
|
3149
3151
|
name: string;
|
|
3150
3152
|
managers?: {
|
|
3151
3153
|
id: string;
|
|
3152
|
-
firstName: string;
|
|
3153
3154
|
lastName: string;
|
|
3155
|
+
firstName: string;
|
|
3154
3156
|
}[] | undefined;
|
|
3155
3157
|
} | null | undefined;
|
|
3156
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3157
|
-
officeId?: string | null | undefined;
|
|
3158
3158
|
canImpersonateUsers?: {
|
|
3159
3159
|
id: string;
|
|
3160
|
-
firstName: string;
|
|
3161
3160
|
lastName: string;
|
|
3161
|
+
firstName: string;
|
|
3162
3162
|
}[] | undefined;
|
|
3163
3163
|
deletedAt?: string | null | undefined;
|
|
3164
3164
|
} | undefined;
|
|
3165
3165
|
}, {
|
|
3166
3166
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3167
3167
|
id: string;
|
|
3168
|
-
phoneNumber: string;
|
|
3169
3168
|
name: string;
|
|
3170
|
-
createdAt: string | Date;
|
|
3171
3169
|
updatedAt: string | Date;
|
|
3170
|
+
createdAt: string | Date;
|
|
3172
3171
|
blacklistReason: string | null;
|
|
3173
3172
|
agentId: string;
|
|
3173
|
+
phoneNumber: string;
|
|
3174
3174
|
lastCalledAt: string | Date | null;
|
|
3175
3175
|
callCount: number;
|
|
3176
3176
|
lastCallNotes: string | null;
|
|
@@ -3180,18 +3180,20 @@ export declare const ownResearchContract: {
|
|
|
3180
3180
|
agent?: {
|
|
3181
3181
|
status: "ACTIVE" | "INACTIVE";
|
|
3182
3182
|
id: string;
|
|
3183
|
-
firstName: string;
|
|
3184
|
-
lastName: string;
|
|
3185
|
-
email: string;
|
|
3186
|
-
createdAt: string | Date;
|
|
3187
3183
|
updatedAt: string | Date;
|
|
3184
|
+
createdAt: string | Date;
|
|
3185
|
+
email: string;
|
|
3186
|
+
lastName: string;
|
|
3187
|
+
firstName: string;
|
|
3188
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3189
|
+
officeId?: string | null | undefined;
|
|
3188
3190
|
office?: {
|
|
3189
3191
|
id: string;
|
|
3190
3192
|
name: string;
|
|
3191
3193
|
managers?: {
|
|
3192
3194
|
id: string;
|
|
3193
|
-
firstName: string;
|
|
3194
3195
|
lastName: string;
|
|
3196
|
+
firstName: string;
|
|
3195
3197
|
}[] | undefined;
|
|
3196
3198
|
} | null | undefined;
|
|
3197
3199
|
phoneNumbers?: {
|
|
@@ -3200,12 +3202,10 @@ export declare const ownResearchContract: {
|
|
|
3200
3202
|
description?: string | null | undefined;
|
|
3201
3203
|
isPrimary?: boolean | undefined;
|
|
3202
3204
|
}[] | undefined;
|
|
3203
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3204
|
-
officeId?: string | null | undefined;
|
|
3205
3205
|
canImpersonateUsers?: {
|
|
3206
3206
|
id: string;
|
|
3207
|
-
firstName: string;
|
|
3208
3207
|
lastName: string;
|
|
3208
|
+
firstName: string;
|
|
3209
3209
|
}[] | undefined;
|
|
3210
3210
|
deletedAt?: string | Date | null | undefined;
|
|
3211
3211
|
} | undefined;
|
|
@@ -3220,19 +3220,19 @@ export declare const ownResearchContract: {
|
|
|
3220
3220
|
lead?: {
|
|
3221
3221
|
status: string;
|
|
3222
3222
|
id: string;
|
|
3223
|
-
phoneNumber: string;
|
|
3224
3223
|
name: string;
|
|
3224
|
+
phoneNumber: string;
|
|
3225
3225
|
cooldownUntil: string | null;
|
|
3226
3226
|
} | null | undefined;
|
|
3227
3227
|
ownResearchLead?: {
|
|
3228
3228
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3229
3229
|
id: string;
|
|
3230
|
-
phoneNumber: string;
|
|
3231
3230
|
name: string;
|
|
3232
|
-
createdAt: string;
|
|
3233
3231
|
updatedAt: string;
|
|
3232
|
+
createdAt: string;
|
|
3234
3233
|
blacklistReason: string | null;
|
|
3235
3234
|
agentId: string;
|
|
3235
|
+
phoneNumber: string;
|
|
3236
3236
|
lastCalledAt: string | null;
|
|
3237
3237
|
callCount: number;
|
|
3238
3238
|
lastCallNotes: string | null;
|
|
@@ -3242,32 +3242,32 @@ export declare const ownResearchContract: {
|
|
|
3242
3242
|
agent?: {
|
|
3243
3243
|
status: "ACTIVE" | "INACTIVE";
|
|
3244
3244
|
id: string;
|
|
3245
|
-
|
|
3246
|
-
lastName: string;
|
|
3247
|
-
email: string;
|
|
3245
|
+
updatedAt: string;
|
|
3248
3246
|
createdAt: string;
|
|
3247
|
+
email: string;
|
|
3248
|
+
lastName: string;
|
|
3249
|
+
firstName: string;
|
|
3249
3250
|
phoneNumbers: {
|
|
3250
3251
|
id: string;
|
|
3251
3252
|
phoneNumber: string;
|
|
3252
3253
|
isPrimary: boolean;
|
|
3253
3254
|
description?: string | null | undefined;
|
|
3254
3255
|
}[];
|
|
3255
|
-
|
|
3256
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3257
|
+
officeId?: string | null | undefined;
|
|
3256
3258
|
office?: {
|
|
3257
3259
|
id: string;
|
|
3258
3260
|
name: string;
|
|
3259
3261
|
managers?: {
|
|
3260
3262
|
id: string;
|
|
3261
|
-
firstName: string;
|
|
3262
3263
|
lastName: string;
|
|
3264
|
+
firstName: string;
|
|
3263
3265
|
}[] | undefined;
|
|
3264
3266
|
} | null | undefined;
|
|
3265
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3266
|
-
officeId?: string | null | undefined;
|
|
3267
3267
|
canImpersonateUsers?: {
|
|
3268
3268
|
id: string;
|
|
3269
|
-
firstName: string;
|
|
3270
3269
|
lastName: string;
|
|
3270
|
+
firstName: string;
|
|
3271
3271
|
}[] | undefined;
|
|
3272
3272
|
deletedAt?: string | null | undefined;
|
|
3273
3273
|
} | undefined;
|
|
@@ -3280,19 +3280,19 @@ export declare const ownResearchContract: {
|
|
|
3280
3280
|
lead?: {
|
|
3281
3281
|
status: string;
|
|
3282
3282
|
id: string;
|
|
3283
|
-
phoneNumber: string;
|
|
3284
3283
|
name: string;
|
|
3284
|
+
phoneNumber: string;
|
|
3285
3285
|
cooldownUntil: string | Date | null;
|
|
3286
3286
|
} | null | undefined;
|
|
3287
3287
|
ownResearchLead?: {
|
|
3288
3288
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3289
3289
|
id: string;
|
|
3290
|
-
phoneNumber: string;
|
|
3291
3290
|
name: string;
|
|
3292
|
-
createdAt: string | Date;
|
|
3293
3291
|
updatedAt: string | Date;
|
|
3292
|
+
createdAt: string | Date;
|
|
3294
3293
|
blacklistReason: string | null;
|
|
3295
3294
|
agentId: string;
|
|
3295
|
+
phoneNumber: string;
|
|
3296
3296
|
lastCalledAt: string | Date | null;
|
|
3297
3297
|
callCount: number;
|
|
3298
3298
|
lastCallNotes: string | null;
|
|
@@ -3302,18 +3302,20 @@ export declare const ownResearchContract: {
|
|
|
3302
3302
|
agent?: {
|
|
3303
3303
|
status: "ACTIVE" | "INACTIVE";
|
|
3304
3304
|
id: string;
|
|
3305
|
-
firstName: string;
|
|
3306
|
-
lastName: string;
|
|
3307
|
-
email: string;
|
|
3308
|
-
createdAt: string | Date;
|
|
3309
3305
|
updatedAt: string | Date;
|
|
3306
|
+
createdAt: string | Date;
|
|
3307
|
+
email: string;
|
|
3308
|
+
lastName: string;
|
|
3309
|
+
firstName: string;
|
|
3310
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3311
|
+
officeId?: string | null | undefined;
|
|
3310
3312
|
office?: {
|
|
3311
3313
|
id: string;
|
|
3312
3314
|
name: string;
|
|
3313
3315
|
managers?: {
|
|
3314
3316
|
id: string;
|
|
3315
|
-
firstName: string;
|
|
3316
3317
|
lastName: string;
|
|
3318
|
+
firstName: string;
|
|
3317
3319
|
}[] | undefined;
|
|
3318
3320
|
} | null | undefined;
|
|
3319
3321
|
phoneNumbers?: {
|
|
@@ -3322,12 +3324,10 @@ export declare const ownResearchContract: {
|
|
|
3322
3324
|
description?: string | null | undefined;
|
|
3323
3325
|
isPrimary?: boolean | undefined;
|
|
3324
3326
|
}[] | undefined;
|
|
3325
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3326
|
-
officeId?: string | null | undefined;
|
|
3327
3327
|
canImpersonateUsers?: {
|
|
3328
3328
|
id: string;
|
|
3329
|
-
firstName: string;
|
|
3330
3329
|
lastName: string;
|
|
3330
|
+
firstName: string;
|
|
3331
3331
|
}[] | undefined;
|
|
3332
3332
|
deletedAt?: string | Date | null | undefined;
|
|
3333
3333
|
} | undefined;
|
|
@@ -3345,11 +3345,11 @@ export declare const ownResearchContract: {
|
|
|
3345
3345
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
3346
3346
|
name: z.ZodString;
|
|
3347
3347
|
}, "strip", z.ZodTypeAny, {
|
|
3348
|
-
phoneNumber: string;
|
|
3349
3348
|
name: string;
|
|
3350
|
-
}, {
|
|
3351
3349
|
phoneNumber: string;
|
|
3350
|
+
}, {
|
|
3352
3351
|
name: string;
|
|
3352
|
+
phoneNumber: string;
|
|
3353
3353
|
}>;
|
|
3354
3354
|
path: "/v2/own-research/leads";
|
|
3355
3355
|
responses: {
|
|
@@ -3489,28 +3489,28 @@ export declare const ownResearchContract: {
|
|
|
3489
3489
|
lastName: z.ZodString;
|
|
3490
3490
|
}, "strip", z.ZodTypeAny, {
|
|
3491
3491
|
id: string;
|
|
3492
|
-
firstName: string;
|
|
3493
3492
|
lastName: string;
|
|
3493
|
+
firstName: string;
|
|
3494
3494
|
}, {
|
|
3495
3495
|
id: string;
|
|
3496
|
-
firstName: string;
|
|
3497
3496
|
lastName: string;
|
|
3497
|
+
firstName: string;
|
|
3498
3498
|
}>, "many">>;
|
|
3499
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3500
3500
|
id: string;
|
|
3501
3501
|
name: string;
|
|
3502
3502
|
managers?: {
|
|
3503
3503
|
id: string;
|
|
3504
|
-
firstName: string;
|
|
3505
3504
|
lastName: string;
|
|
3505
|
+
firstName: string;
|
|
3506
3506
|
}[] | undefined;
|
|
3507
3507
|
}, {
|
|
3508
3508
|
id: string;
|
|
3509
3509
|
name: string;
|
|
3510
3510
|
managers?: {
|
|
3511
3511
|
id: string;
|
|
3512
|
-
firstName: string;
|
|
3513
3512
|
lastName: string;
|
|
3513
|
+
firstName: string;
|
|
3514
3514
|
}[] | undefined;
|
|
3515
3515
|
}>>>;
|
|
3516
3516
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3519,12 +3519,12 @@ export declare const ownResearchContract: {
|
|
|
3519
3519
|
lastName: z.ZodString;
|
|
3520
3520
|
}, "strip", z.ZodTypeAny, {
|
|
3521
3521
|
id: string;
|
|
3522
|
-
firstName: string;
|
|
3523
3522
|
lastName: string;
|
|
3523
|
+
firstName: string;
|
|
3524
3524
|
}, {
|
|
3525
3525
|
id: string;
|
|
3526
|
-
firstName: string;
|
|
3527
3526
|
lastName: string;
|
|
3527
|
+
firstName: string;
|
|
3528
3528
|
}>, "many">>;
|
|
3529
3529
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3530
3530
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -3533,49 +3533,51 @@ export declare const ownResearchContract: {
|
|
|
3533
3533
|
}, "strip", z.ZodTypeAny, {
|
|
3534
3534
|
status: "ACTIVE" | "INACTIVE";
|
|
3535
3535
|
id: string;
|
|
3536
|
-
|
|
3537
|
-
lastName: string;
|
|
3538
|
-
email: string;
|
|
3536
|
+
updatedAt: string;
|
|
3539
3537
|
createdAt: string;
|
|
3538
|
+
email: string;
|
|
3539
|
+
lastName: string;
|
|
3540
|
+
firstName: string;
|
|
3540
3541
|
phoneNumbers: {
|
|
3541
3542
|
id: string;
|
|
3542
3543
|
phoneNumber: string;
|
|
3543
3544
|
isPrimary: boolean;
|
|
3544
3545
|
description?: string | null | undefined;
|
|
3545
3546
|
}[];
|
|
3546
|
-
|
|
3547
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3548
|
+
officeId?: string | null | undefined;
|
|
3547
3549
|
office?: {
|
|
3548
3550
|
id: string;
|
|
3549
3551
|
name: string;
|
|
3550
3552
|
managers?: {
|
|
3551
3553
|
id: string;
|
|
3552
|
-
firstName: string;
|
|
3553
3554
|
lastName: string;
|
|
3555
|
+
firstName: string;
|
|
3554
3556
|
}[] | undefined;
|
|
3555
3557
|
} | null | undefined;
|
|
3556
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3557
|
-
officeId?: string | null | undefined;
|
|
3558
3558
|
canImpersonateUsers?: {
|
|
3559
3559
|
id: string;
|
|
3560
|
-
firstName: string;
|
|
3561
3560
|
lastName: string;
|
|
3561
|
+
firstName: string;
|
|
3562
3562
|
}[] | undefined;
|
|
3563
3563
|
deletedAt?: string | null | undefined;
|
|
3564
3564
|
}, {
|
|
3565
3565
|
status: "ACTIVE" | "INACTIVE";
|
|
3566
3566
|
id: string;
|
|
3567
|
-
firstName: string;
|
|
3568
|
-
lastName: string;
|
|
3569
|
-
email: string;
|
|
3570
|
-
createdAt: string | Date;
|
|
3571
3567
|
updatedAt: string | Date;
|
|
3568
|
+
createdAt: string | Date;
|
|
3569
|
+
email: string;
|
|
3570
|
+
lastName: string;
|
|
3571
|
+
firstName: string;
|
|
3572
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3573
|
+
officeId?: string | null | undefined;
|
|
3572
3574
|
office?: {
|
|
3573
3575
|
id: string;
|
|
3574
3576
|
name: string;
|
|
3575
3577
|
managers?: {
|
|
3576
3578
|
id: string;
|
|
3577
|
-
firstName: string;
|
|
3578
3579
|
lastName: string;
|
|
3580
|
+
firstName: string;
|
|
3579
3581
|
}[] | undefined;
|
|
3580
3582
|
} | null | undefined;
|
|
3581
3583
|
phoneNumbers?: {
|
|
@@ -3584,12 +3586,10 @@ export declare const ownResearchContract: {
|
|
|
3584
3586
|
description?: string | null | undefined;
|
|
3585
3587
|
isPrimary?: boolean | undefined;
|
|
3586
3588
|
}[] | undefined;
|
|
3587
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3588
|
-
officeId?: string | null | undefined;
|
|
3589
3589
|
canImpersonateUsers?: {
|
|
3590
3590
|
id: string;
|
|
3591
|
-
firstName: string;
|
|
3592
3591
|
lastName: string;
|
|
3592
|
+
firstName: string;
|
|
3593
3593
|
}[] | undefined;
|
|
3594
3594
|
deletedAt?: string | Date | null | undefined;
|
|
3595
3595
|
}>>;
|
|
@@ -3608,12 +3608,12 @@ export declare const ownResearchContract: {
|
|
|
3608
3608
|
}, "strip", z.ZodTypeAny, {
|
|
3609
3609
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3610
3610
|
id: string;
|
|
3611
|
-
phoneNumber: string;
|
|
3612
3611
|
name: string;
|
|
3613
|
-
createdAt: string;
|
|
3614
3612
|
updatedAt: string;
|
|
3613
|
+
createdAt: string;
|
|
3615
3614
|
blacklistReason: string | null;
|
|
3616
3615
|
agentId: string;
|
|
3616
|
+
phoneNumber: string;
|
|
3617
3617
|
lastCalledAt: string | null;
|
|
3618
3618
|
callCount: number;
|
|
3619
3619
|
lastCallNotes: string | null;
|
|
@@ -3623,44 +3623,44 @@ export declare const ownResearchContract: {
|
|
|
3623
3623
|
agent?: {
|
|
3624
3624
|
status: "ACTIVE" | "INACTIVE";
|
|
3625
3625
|
id: string;
|
|
3626
|
-
|
|
3627
|
-
lastName: string;
|
|
3628
|
-
email: string;
|
|
3626
|
+
updatedAt: string;
|
|
3629
3627
|
createdAt: string;
|
|
3628
|
+
email: string;
|
|
3629
|
+
lastName: string;
|
|
3630
|
+
firstName: string;
|
|
3630
3631
|
phoneNumbers: {
|
|
3631
3632
|
id: string;
|
|
3632
3633
|
phoneNumber: string;
|
|
3633
3634
|
isPrimary: boolean;
|
|
3634
3635
|
description?: string | null | undefined;
|
|
3635
3636
|
}[];
|
|
3636
|
-
|
|
3637
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3638
|
+
officeId?: string | null | undefined;
|
|
3637
3639
|
office?: {
|
|
3638
3640
|
id: string;
|
|
3639
3641
|
name: string;
|
|
3640
3642
|
managers?: {
|
|
3641
3643
|
id: string;
|
|
3642
|
-
firstName: string;
|
|
3643
3644
|
lastName: string;
|
|
3645
|
+
firstName: string;
|
|
3644
3646
|
}[] | undefined;
|
|
3645
3647
|
} | null | undefined;
|
|
3646
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3647
|
-
officeId?: string | null | undefined;
|
|
3648
3648
|
canImpersonateUsers?: {
|
|
3649
3649
|
id: string;
|
|
3650
|
-
firstName: string;
|
|
3651
3650
|
lastName: string;
|
|
3651
|
+
firstName: string;
|
|
3652
3652
|
}[] | undefined;
|
|
3653
3653
|
deletedAt?: string | null | undefined;
|
|
3654
3654
|
} | undefined;
|
|
3655
3655
|
}, {
|
|
3656
3656
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3657
3657
|
id: string;
|
|
3658
|
-
phoneNumber: string;
|
|
3659
3658
|
name: string;
|
|
3660
|
-
createdAt: string | Date;
|
|
3661
3659
|
updatedAt: string | Date;
|
|
3660
|
+
createdAt: string | Date;
|
|
3662
3661
|
blacklistReason: string | null;
|
|
3663
3662
|
agentId: string;
|
|
3663
|
+
phoneNumber: string;
|
|
3664
3664
|
lastCalledAt: string | Date | null;
|
|
3665
3665
|
callCount: number;
|
|
3666
3666
|
lastCallNotes: string | null;
|
|
@@ -3670,18 +3670,20 @@ export declare const ownResearchContract: {
|
|
|
3670
3670
|
agent?: {
|
|
3671
3671
|
status: "ACTIVE" | "INACTIVE";
|
|
3672
3672
|
id: string;
|
|
3673
|
-
firstName: string;
|
|
3674
|
-
lastName: string;
|
|
3675
|
-
email: string;
|
|
3676
|
-
createdAt: string | Date;
|
|
3677
3673
|
updatedAt: string | Date;
|
|
3674
|
+
createdAt: string | Date;
|
|
3675
|
+
email: string;
|
|
3676
|
+
lastName: string;
|
|
3677
|
+
firstName: string;
|
|
3678
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3679
|
+
officeId?: string | null | undefined;
|
|
3678
3680
|
office?: {
|
|
3679
3681
|
id: string;
|
|
3680
3682
|
name: string;
|
|
3681
3683
|
managers?: {
|
|
3682
3684
|
id: string;
|
|
3683
|
-
firstName: string;
|
|
3684
3685
|
lastName: string;
|
|
3686
|
+
firstName: string;
|
|
3685
3687
|
}[] | undefined;
|
|
3686
3688
|
} | null | undefined;
|
|
3687
3689
|
phoneNumbers?: {
|
|
@@ -3690,12 +3692,10 @@ export declare const ownResearchContract: {
|
|
|
3690
3692
|
description?: string | null | undefined;
|
|
3691
3693
|
isPrimary?: boolean | undefined;
|
|
3692
3694
|
}[] | undefined;
|
|
3693
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3694
|
-
officeId?: string | null | undefined;
|
|
3695
3695
|
canImpersonateUsers?: {
|
|
3696
3696
|
id: string;
|
|
3697
|
-
firstName: string;
|
|
3698
3697
|
lastName: string;
|
|
3698
|
+
firstName: string;
|
|
3699
3699
|
}[] | undefined;
|
|
3700
3700
|
deletedAt?: string | Date | null | undefined;
|
|
3701
3701
|
} | undefined;
|
|
@@ -3704,12 +3704,12 @@ export declare const ownResearchContract: {
|
|
|
3704
3704
|
ownResearchLead: {
|
|
3705
3705
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3706
3706
|
id: string;
|
|
3707
|
-
phoneNumber: string;
|
|
3708
3707
|
name: string;
|
|
3709
|
-
createdAt: string;
|
|
3710
3708
|
updatedAt: string;
|
|
3709
|
+
createdAt: string;
|
|
3711
3710
|
blacklistReason: string | null;
|
|
3712
3711
|
agentId: string;
|
|
3712
|
+
phoneNumber: string;
|
|
3713
3713
|
lastCalledAt: string | null;
|
|
3714
3714
|
callCount: number;
|
|
3715
3715
|
lastCallNotes: string | null;
|
|
@@ -3719,32 +3719,32 @@ export declare const ownResearchContract: {
|
|
|
3719
3719
|
agent?: {
|
|
3720
3720
|
status: "ACTIVE" | "INACTIVE";
|
|
3721
3721
|
id: string;
|
|
3722
|
-
|
|
3723
|
-
lastName: string;
|
|
3724
|
-
email: string;
|
|
3722
|
+
updatedAt: string;
|
|
3725
3723
|
createdAt: string;
|
|
3724
|
+
email: string;
|
|
3725
|
+
lastName: string;
|
|
3726
|
+
firstName: string;
|
|
3726
3727
|
phoneNumbers: {
|
|
3727
3728
|
id: string;
|
|
3728
3729
|
phoneNumber: string;
|
|
3729
3730
|
isPrimary: boolean;
|
|
3730
3731
|
description?: string | null | undefined;
|
|
3731
3732
|
}[];
|
|
3732
|
-
|
|
3733
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3734
|
+
officeId?: string | null | undefined;
|
|
3733
3735
|
office?: {
|
|
3734
3736
|
id: string;
|
|
3735
3737
|
name: string;
|
|
3736
3738
|
managers?: {
|
|
3737
3739
|
id: string;
|
|
3738
|
-
firstName: string;
|
|
3739
3740
|
lastName: string;
|
|
3741
|
+
firstName: string;
|
|
3740
3742
|
}[] | undefined;
|
|
3741
3743
|
} | null | undefined;
|
|
3742
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3743
|
-
officeId?: string | null | undefined;
|
|
3744
3744
|
canImpersonateUsers?: {
|
|
3745
3745
|
id: string;
|
|
3746
|
-
firstName: string;
|
|
3747
3746
|
lastName: string;
|
|
3747
|
+
firstName: string;
|
|
3748
3748
|
}[] | undefined;
|
|
3749
3749
|
deletedAt?: string | null | undefined;
|
|
3750
3750
|
} | undefined;
|
|
@@ -3753,12 +3753,12 @@ export declare const ownResearchContract: {
|
|
|
3753
3753
|
ownResearchLead: {
|
|
3754
3754
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
3755
3755
|
id: string;
|
|
3756
|
-
phoneNumber: string;
|
|
3757
3756
|
name: string;
|
|
3758
|
-
createdAt: string | Date;
|
|
3759
3757
|
updatedAt: string | Date;
|
|
3758
|
+
createdAt: string | Date;
|
|
3760
3759
|
blacklistReason: string | null;
|
|
3761
3760
|
agentId: string;
|
|
3761
|
+
phoneNumber: string;
|
|
3762
3762
|
lastCalledAt: string | Date | null;
|
|
3763
3763
|
callCount: number;
|
|
3764
3764
|
lastCallNotes: string | null;
|
|
@@ -3768,18 +3768,20 @@ export declare const ownResearchContract: {
|
|
|
3768
3768
|
agent?: {
|
|
3769
3769
|
status: "ACTIVE" | "INACTIVE";
|
|
3770
3770
|
id: string;
|
|
3771
|
-
firstName: string;
|
|
3772
|
-
lastName: string;
|
|
3773
|
-
email: string;
|
|
3774
|
-
createdAt: string | Date;
|
|
3775
3771
|
updatedAt: string | Date;
|
|
3772
|
+
createdAt: string | Date;
|
|
3773
|
+
email: string;
|
|
3774
|
+
lastName: string;
|
|
3775
|
+
firstName: string;
|
|
3776
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3777
|
+
officeId?: string | null | undefined;
|
|
3776
3778
|
office?: {
|
|
3777
3779
|
id: string;
|
|
3778
3780
|
name: string;
|
|
3779
3781
|
managers?: {
|
|
3780
3782
|
id: string;
|
|
3781
|
-
firstName: string;
|
|
3782
3783
|
lastName: string;
|
|
3784
|
+
firstName: string;
|
|
3783
3785
|
}[] | undefined;
|
|
3784
3786
|
} | null | undefined;
|
|
3785
3787
|
phoneNumbers?: {
|
|
@@ -3788,12 +3790,10 @@ export declare const ownResearchContract: {
|
|
|
3788
3790
|
description?: string | null | undefined;
|
|
3789
3791
|
isPrimary?: boolean | undefined;
|
|
3790
3792
|
}[] | undefined;
|
|
3791
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3792
|
-
officeId?: string | null | undefined;
|
|
3793
3793
|
canImpersonateUsers?: {
|
|
3794
3794
|
id: string;
|
|
3795
|
-
firstName: string;
|
|
3796
3795
|
lastName: string;
|
|
3796
|
+
firstName: string;
|
|
3797
3797
|
}[] | undefined;
|
|
3798
3798
|
deletedAt?: string | Date | null | undefined;
|
|
3799
3799
|
} | undefined;
|
|
@@ -3814,15 +3814,15 @@ export declare const ownResearchContract: {
|
|
|
3814
3814
|
notes: z.ZodOptional<z.ZodString>;
|
|
3815
3815
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
3816
3816
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
-
phoneNumber: string;
|
|
3818
3817
|
name: string;
|
|
3819
3818
|
rating: import("../common/call-rating.schema").CallRating;
|
|
3819
|
+
phoneNumber: string;
|
|
3820
3820
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
3821
3821
|
notes?: string | undefined;
|
|
3822
3822
|
}, {
|
|
3823
|
-
phoneNumber: string;
|
|
3824
3823
|
name: string;
|
|
3825
3824
|
rating: import("../common/call-rating.schema").CallRating;
|
|
3825
|
+
phoneNumber: string;
|
|
3826
3826
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
3827
3827
|
notes?: string | undefined;
|
|
3828
3828
|
}>;
|
|
@@ -3936,11 +3936,11 @@ export declare const ownResearchContract: {
|
|
|
3936
3936
|
name: z.ZodString;
|
|
3937
3937
|
phoneNumber: z.ZodString;
|
|
3938
3938
|
}, "strip", z.ZodTypeAny, {
|
|
3939
|
-
phoneNumber: string;
|
|
3940
3939
|
name: string;
|
|
3941
|
-
}, {
|
|
3942
3940
|
phoneNumber: string;
|
|
3941
|
+
}, {
|
|
3943
3942
|
name: string;
|
|
3943
|
+
phoneNumber: string;
|
|
3944
3944
|
}>>;
|
|
3945
3945
|
agentId: z.ZodNullable<z.ZodString>;
|
|
3946
3946
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -3975,28 +3975,28 @@ export declare const ownResearchContract: {
|
|
|
3975
3975
|
lastName: z.ZodString;
|
|
3976
3976
|
}, "strip", z.ZodTypeAny, {
|
|
3977
3977
|
id: string;
|
|
3978
|
-
firstName: string;
|
|
3979
3978
|
lastName: string;
|
|
3979
|
+
firstName: string;
|
|
3980
3980
|
}, {
|
|
3981
3981
|
id: string;
|
|
3982
|
-
firstName: string;
|
|
3983
3982
|
lastName: string;
|
|
3983
|
+
firstName: string;
|
|
3984
3984
|
}>, "many">>;
|
|
3985
3985
|
}, "strip", z.ZodTypeAny, {
|
|
3986
3986
|
id: string;
|
|
3987
3987
|
name: string;
|
|
3988
3988
|
managers?: {
|
|
3989
3989
|
id: string;
|
|
3990
|
-
firstName: string;
|
|
3991
3990
|
lastName: string;
|
|
3991
|
+
firstName: string;
|
|
3992
3992
|
}[] | undefined;
|
|
3993
3993
|
}, {
|
|
3994
3994
|
id: string;
|
|
3995
3995
|
name: string;
|
|
3996
3996
|
managers?: {
|
|
3997
3997
|
id: string;
|
|
3998
|
-
firstName: string;
|
|
3999
3998
|
lastName: string;
|
|
3999
|
+
firstName: string;
|
|
4000
4000
|
}[] | undefined;
|
|
4001
4001
|
}>>>;
|
|
4002
4002
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4005,12 +4005,12 @@ export declare const ownResearchContract: {
|
|
|
4005
4005
|
lastName: z.ZodString;
|
|
4006
4006
|
}, "strip", z.ZodTypeAny, {
|
|
4007
4007
|
id: string;
|
|
4008
|
-
firstName: string;
|
|
4009
4008
|
lastName: string;
|
|
4009
|
+
firstName: string;
|
|
4010
4010
|
}, {
|
|
4011
4011
|
id: string;
|
|
4012
|
-
firstName: string;
|
|
4013
4012
|
lastName: string;
|
|
4013
|
+
firstName: string;
|
|
4014
4014
|
}>, "many">>;
|
|
4015
4015
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4016
4016
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -4019,49 +4019,51 @@ export declare const ownResearchContract: {
|
|
|
4019
4019
|
}, "strip", z.ZodTypeAny, {
|
|
4020
4020
|
status: "ACTIVE" | "INACTIVE";
|
|
4021
4021
|
id: string;
|
|
4022
|
-
|
|
4023
|
-
lastName: string;
|
|
4024
|
-
email: string;
|
|
4022
|
+
updatedAt: string;
|
|
4025
4023
|
createdAt: string;
|
|
4024
|
+
email: string;
|
|
4025
|
+
lastName: string;
|
|
4026
|
+
firstName: string;
|
|
4026
4027
|
phoneNumbers: {
|
|
4027
4028
|
id: string;
|
|
4028
4029
|
phoneNumber: string;
|
|
4029
4030
|
isPrimary: boolean;
|
|
4030
4031
|
description?: string | null | undefined;
|
|
4031
4032
|
}[];
|
|
4032
|
-
|
|
4033
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4034
|
+
officeId?: string | null | undefined;
|
|
4033
4035
|
office?: {
|
|
4034
4036
|
id: string;
|
|
4035
4037
|
name: string;
|
|
4036
4038
|
managers?: {
|
|
4037
4039
|
id: string;
|
|
4038
|
-
firstName: string;
|
|
4039
4040
|
lastName: string;
|
|
4041
|
+
firstName: string;
|
|
4040
4042
|
}[] | undefined;
|
|
4041
4043
|
} | null | undefined;
|
|
4042
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4043
|
-
officeId?: string | null | undefined;
|
|
4044
4044
|
canImpersonateUsers?: {
|
|
4045
4045
|
id: string;
|
|
4046
|
-
firstName: string;
|
|
4047
4046
|
lastName: string;
|
|
4047
|
+
firstName: string;
|
|
4048
4048
|
}[] | undefined;
|
|
4049
4049
|
deletedAt?: string | null | undefined;
|
|
4050
4050
|
}, {
|
|
4051
4051
|
status: "ACTIVE" | "INACTIVE";
|
|
4052
4052
|
id: string;
|
|
4053
|
-
firstName: string;
|
|
4054
|
-
lastName: string;
|
|
4055
|
-
email: string;
|
|
4056
|
-
createdAt: string | Date;
|
|
4057
4053
|
updatedAt: string | Date;
|
|
4054
|
+
createdAt: string | Date;
|
|
4055
|
+
email: string;
|
|
4056
|
+
lastName: string;
|
|
4057
|
+
firstName: string;
|
|
4058
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4059
|
+
officeId?: string | null | undefined;
|
|
4058
4060
|
office?: {
|
|
4059
4061
|
id: string;
|
|
4060
4062
|
name: string;
|
|
4061
4063
|
managers?: {
|
|
4062
4064
|
id: string;
|
|
4063
|
-
firstName: string;
|
|
4064
4065
|
lastName: string;
|
|
4066
|
+
firstName: string;
|
|
4065
4067
|
}[] | undefined;
|
|
4066
4068
|
} | null | undefined;
|
|
4067
4069
|
phoneNumbers?: {
|
|
@@ -4070,12 +4072,10 @@ export declare const ownResearchContract: {
|
|
|
4070
4072
|
description?: string | null | undefined;
|
|
4071
4073
|
isPrimary?: boolean | undefined;
|
|
4072
4074
|
}[] | undefined;
|
|
4073
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4074
|
-
officeId?: string | null | undefined;
|
|
4075
4075
|
canImpersonateUsers?: {
|
|
4076
4076
|
id: string;
|
|
4077
|
-
firstName: string;
|
|
4078
4077
|
lastName: string;
|
|
4078
|
+
firstName: string;
|
|
4079
4079
|
}[] | undefined;
|
|
4080
4080
|
deletedAt?: string | Date | null | undefined;
|
|
4081
4081
|
}>>;
|
|
@@ -4091,21 +4091,21 @@ export declare const ownResearchContract: {
|
|
|
4091
4091
|
}, "strip", z.ZodTypeAny, {
|
|
4092
4092
|
id: string;
|
|
4093
4093
|
name: string;
|
|
4094
|
-
createdAt: string;
|
|
4095
4094
|
updatedAt: string;
|
|
4095
|
+
createdAt: string;
|
|
4096
4096
|
}, {
|
|
4097
4097
|
id: string;
|
|
4098
4098
|
name: string;
|
|
4099
|
-
createdAt: string | Date;
|
|
4100
4099
|
updatedAt: string | Date;
|
|
4100
|
+
createdAt: string | Date;
|
|
4101
4101
|
}>>>;
|
|
4102
4102
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4103
4103
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4104
4104
|
}, "strip", z.ZodTypeAny, {
|
|
4105
4105
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
4106
4106
|
id: string;
|
|
4107
|
-
createdAt: string;
|
|
4108
4107
|
updatedAt: string;
|
|
4108
|
+
createdAt: string;
|
|
4109
4109
|
companyId: string | null;
|
|
4110
4110
|
agentId: string | null;
|
|
4111
4111
|
leadId: string;
|
|
@@ -4114,50 +4114,50 @@ export declare const ownResearchContract: {
|
|
|
4114
4114
|
company?: {
|
|
4115
4115
|
id: string;
|
|
4116
4116
|
name: string;
|
|
4117
|
-
createdAt: string;
|
|
4118
4117
|
updatedAt: string;
|
|
4118
|
+
createdAt: string;
|
|
4119
4119
|
} | null | undefined;
|
|
4120
4120
|
lead?: {
|
|
4121
|
-
phoneNumber: string;
|
|
4122
4121
|
name: string;
|
|
4122
|
+
phoneNumber: string;
|
|
4123
4123
|
} | undefined;
|
|
4124
4124
|
agent?: {
|
|
4125
4125
|
status: "ACTIVE" | "INACTIVE";
|
|
4126
4126
|
id: string;
|
|
4127
|
-
|
|
4128
|
-
lastName: string;
|
|
4129
|
-
email: string;
|
|
4127
|
+
updatedAt: string;
|
|
4130
4128
|
createdAt: string;
|
|
4129
|
+
email: string;
|
|
4130
|
+
lastName: string;
|
|
4131
|
+
firstName: string;
|
|
4131
4132
|
phoneNumbers: {
|
|
4132
4133
|
id: string;
|
|
4133
4134
|
phoneNumber: string;
|
|
4134
4135
|
isPrimary: boolean;
|
|
4135
4136
|
description?: string | null | undefined;
|
|
4136
4137
|
}[];
|
|
4137
|
-
|
|
4138
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4139
|
+
officeId?: string | null | undefined;
|
|
4138
4140
|
office?: {
|
|
4139
4141
|
id: string;
|
|
4140
4142
|
name: string;
|
|
4141
4143
|
managers?: {
|
|
4142
4144
|
id: string;
|
|
4143
|
-
firstName: string;
|
|
4144
4145
|
lastName: string;
|
|
4146
|
+
firstName: string;
|
|
4145
4147
|
}[] | undefined;
|
|
4146
4148
|
} | null | undefined;
|
|
4147
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4148
|
-
officeId?: string | null | undefined;
|
|
4149
4149
|
canImpersonateUsers?: {
|
|
4150
4150
|
id: string;
|
|
4151
|
-
firstName: string;
|
|
4152
4151
|
lastName: string;
|
|
4152
|
+
firstName: string;
|
|
4153
4153
|
}[] | undefined;
|
|
4154
4154
|
deletedAt?: string | null | undefined;
|
|
4155
4155
|
} | undefined;
|
|
4156
4156
|
}, {
|
|
4157
4157
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
4158
4158
|
id: string;
|
|
4159
|
-
createdAt: string | Date;
|
|
4160
4159
|
updatedAt: string | Date;
|
|
4160
|
+
createdAt: string | Date;
|
|
4161
4161
|
companyId: string | null;
|
|
4162
4162
|
agentId: string | null;
|
|
4163
4163
|
leadId: string;
|
|
@@ -4166,28 +4166,30 @@ export declare const ownResearchContract: {
|
|
|
4166
4166
|
company?: {
|
|
4167
4167
|
id: string;
|
|
4168
4168
|
name: string;
|
|
4169
|
-
createdAt: string | Date;
|
|
4170
4169
|
updatedAt: string | Date;
|
|
4170
|
+
createdAt: string | Date;
|
|
4171
4171
|
} | null | undefined;
|
|
4172
4172
|
lead?: {
|
|
4173
|
-
phoneNumber: string;
|
|
4174
4173
|
name: string;
|
|
4174
|
+
phoneNumber: string;
|
|
4175
4175
|
} | undefined;
|
|
4176
4176
|
agent?: {
|
|
4177
4177
|
status: "ACTIVE" | "INACTIVE";
|
|
4178
4178
|
id: string;
|
|
4179
|
-
firstName: string;
|
|
4180
|
-
lastName: string;
|
|
4181
|
-
email: string;
|
|
4182
|
-
createdAt: string | Date;
|
|
4183
4179
|
updatedAt: string | Date;
|
|
4180
|
+
createdAt: string | Date;
|
|
4181
|
+
email: string;
|
|
4182
|
+
lastName: string;
|
|
4183
|
+
firstName: string;
|
|
4184
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4185
|
+
officeId?: string | null | undefined;
|
|
4184
4186
|
office?: {
|
|
4185
4187
|
id: string;
|
|
4186
4188
|
name: string;
|
|
4187
4189
|
managers?: {
|
|
4188
4190
|
id: string;
|
|
4189
|
-
firstName: string;
|
|
4190
4191
|
lastName: string;
|
|
4192
|
+
firstName: string;
|
|
4191
4193
|
}[] | undefined;
|
|
4192
4194
|
} | null | undefined;
|
|
4193
4195
|
phoneNumbers?: {
|
|
@@ -4196,12 +4198,10 @@ export declare const ownResearchContract: {
|
|
|
4196
4198
|
description?: string | null | undefined;
|
|
4197
4199
|
isPrimary?: boolean | undefined;
|
|
4198
4200
|
}[] | undefined;
|
|
4199
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4200
|
-
officeId?: string | null | undefined;
|
|
4201
4201
|
canImpersonateUsers?: {
|
|
4202
4202
|
id: string;
|
|
4203
|
-
firstName: string;
|
|
4204
4203
|
lastName: string;
|
|
4204
|
+
firstName: string;
|
|
4205
4205
|
}[] | undefined;
|
|
4206
4206
|
deletedAt?: string | Date | null | undefined;
|
|
4207
4207
|
} | undefined;
|
|
@@ -4241,28 +4241,28 @@ export declare const ownResearchContract: {
|
|
|
4241
4241
|
lastName: z.ZodString;
|
|
4242
4242
|
}, "strip", z.ZodTypeAny, {
|
|
4243
4243
|
id: string;
|
|
4244
|
-
firstName: string;
|
|
4245
4244
|
lastName: string;
|
|
4245
|
+
firstName: string;
|
|
4246
4246
|
}, {
|
|
4247
4247
|
id: string;
|
|
4248
|
-
firstName: string;
|
|
4249
4248
|
lastName: string;
|
|
4249
|
+
firstName: string;
|
|
4250
4250
|
}>, "many">>;
|
|
4251
4251
|
}, "strip", z.ZodTypeAny, {
|
|
4252
4252
|
id: string;
|
|
4253
4253
|
name: string;
|
|
4254
4254
|
managers?: {
|
|
4255
4255
|
id: string;
|
|
4256
|
-
firstName: string;
|
|
4257
4256
|
lastName: string;
|
|
4257
|
+
firstName: string;
|
|
4258
4258
|
}[] | undefined;
|
|
4259
4259
|
}, {
|
|
4260
4260
|
id: string;
|
|
4261
4261
|
name: string;
|
|
4262
4262
|
managers?: {
|
|
4263
4263
|
id: string;
|
|
4264
|
-
firstName: string;
|
|
4265
4264
|
lastName: string;
|
|
4265
|
+
firstName: string;
|
|
4266
4266
|
}[] | undefined;
|
|
4267
4267
|
}>>>;
|
|
4268
4268
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4271,12 +4271,12 @@ export declare const ownResearchContract: {
|
|
|
4271
4271
|
lastName: z.ZodString;
|
|
4272
4272
|
}, "strip", z.ZodTypeAny, {
|
|
4273
4273
|
id: string;
|
|
4274
|
-
firstName: string;
|
|
4275
4274
|
lastName: string;
|
|
4275
|
+
firstName: string;
|
|
4276
4276
|
}, {
|
|
4277
4277
|
id: string;
|
|
4278
|
-
firstName: string;
|
|
4279
4278
|
lastName: string;
|
|
4279
|
+
firstName: string;
|
|
4280
4280
|
}>, "many">>;
|
|
4281
4281
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4282
4282
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -4285,49 +4285,51 @@ export declare const ownResearchContract: {
|
|
|
4285
4285
|
}, "strip", z.ZodTypeAny, {
|
|
4286
4286
|
status: "ACTIVE" | "INACTIVE";
|
|
4287
4287
|
id: string;
|
|
4288
|
-
|
|
4289
|
-
lastName: string;
|
|
4290
|
-
email: string;
|
|
4288
|
+
updatedAt: string;
|
|
4291
4289
|
createdAt: string;
|
|
4290
|
+
email: string;
|
|
4291
|
+
lastName: string;
|
|
4292
|
+
firstName: string;
|
|
4292
4293
|
phoneNumbers: {
|
|
4293
4294
|
id: string;
|
|
4294
4295
|
phoneNumber: string;
|
|
4295
4296
|
isPrimary: boolean;
|
|
4296
4297
|
description?: string | null | undefined;
|
|
4297
4298
|
}[];
|
|
4298
|
-
|
|
4299
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4300
|
+
officeId?: string | null | undefined;
|
|
4299
4301
|
office?: {
|
|
4300
4302
|
id: string;
|
|
4301
4303
|
name: string;
|
|
4302
4304
|
managers?: {
|
|
4303
4305
|
id: string;
|
|
4304
|
-
firstName: string;
|
|
4305
4306
|
lastName: string;
|
|
4307
|
+
firstName: string;
|
|
4306
4308
|
}[] | undefined;
|
|
4307
4309
|
} | null | undefined;
|
|
4308
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4309
|
-
officeId?: string | null | undefined;
|
|
4310
4310
|
canImpersonateUsers?: {
|
|
4311
4311
|
id: string;
|
|
4312
|
-
firstName: string;
|
|
4313
4312
|
lastName: string;
|
|
4313
|
+
firstName: string;
|
|
4314
4314
|
}[] | undefined;
|
|
4315
4315
|
deletedAt?: string | null | undefined;
|
|
4316
4316
|
}, {
|
|
4317
4317
|
status: "ACTIVE" | "INACTIVE";
|
|
4318
4318
|
id: string;
|
|
4319
|
-
firstName: string;
|
|
4320
|
-
lastName: string;
|
|
4321
|
-
email: string;
|
|
4322
|
-
createdAt: string | Date;
|
|
4323
4319
|
updatedAt: string | Date;
|
|
4320
|
+
createdAt: string | Date;
|
|
4321
|
+
email: string;
|
|
4322
|
+
lastName: string;
|
|
4323
|
+
firstName: string;
|
|
4324
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4325
|
+
officeId?: string | null | undefined;
|
|
4324
4326
|
office?: {
|
|
4325
4327
|
id: string;
|
|
4326
4328
|
name: string;
|
|
4327
4329
|
managers?: {
|
|
4328
4330
|
id: string;
|
|
4329
|
-
firstName: string;
|
|
4330
4331
|
lastName: string;
|
|
4332
|
+
firstName: string;
|
|
4331
4333
|
}[] | undefined;
|
|
4332
4334
|
} | null | undefined;
|
|
4333
4335
|
phoneNumbers?: {
|
|
@@ -4336,12 +4338,10 @@ export declare const ownResearchContract: {
|
|
|
4336
4338
|
description?: string | null | undefined;
|
|
4337
4339
|
isPrimary?: boolean | undefined;
|
|
4338
4340
|
}[] | undefined;
|
|
4339
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4340
|
-
officeId?: string | null | undefined;
|
|
4341
4341
|
canImpersonateUsers?: {
|
|
4342
4342
|
id: string;
|
|
4343
|
-
firstName: string;
|
|
4344
4343
|
lastName: string;
|
|
4344
|
+
firstName: string;
|
|
4345
4345
|
}[] | undefined;
|
|
4346
4346
|
deletedAt?: string | Date | null | undefined;
|
|
4347
4347
|
}>>;
|
|
@@ -4360,12 +4360,12 @@ export declare const ownResearchContract: {
|
|
|
4360
4360
|
}, "strip", z.ZodTypeAny, {
|
|
4361
4361
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
4362
4362
|
id: string;
|
|
4363
|
-
phoneNumber: string;
|
|
4364
4363
|
name: string;
|
|
4365
|
-
createdAt: string;
|
|
4366
4364
|
updatedAt: string;
|
|
4365
|
+
createdAt: string;
|
|
4367
4366
|
blacklistReason: string | null;
|
|
4368
4367
|
agentId: string;
|
|
4368
|
+
phoneNumber: string;
|
|
4369
4369
|
lastCalledAt: string | null;
|
|
4370
4370
|
callCount: number;
|
|
4371
4371
|
lastCallNotes: string | null;
|
|
@@ -4375,44 +4375,44 @@ export declare const ownResearchContract: {
|
|
|
4375
4375
|
agent?: {
|
|
4376
4376
|
status: "ACTIVE" | "INACTIVE";
|
|
4377
4377
|
id: string;
|
|
4378
|
-
|
|
4379
|
-
lastName: string;
|
|
4380
|
-
email: string;
|
|
4378
|
+
updatedAt: string;
|
|
4381
4379
|
createdAt: string;
|
|
4380
|
+
email: string;
|
|
4381
|
+
lastName: string;
|
|
4382
|
+
firstName: string;
|
|
4382
4383
|
phoneNumbers: {
|
|
4383
4384
|
id: string;
|
|
4384
4385
|
phoneNumber: string;
|
|
4385
4386
|
isPrimary: boolean;
|
|
4386
4387
|
description?: string | null | undefined;
|
|
4387
4388
|
}[];
|
|
4388
|
-
|
|
4389
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4390
|
+
officeId?: string | null | undefined;
|
|
4389
4391
|
office?: {
|
|
4390
4392
|
id: string;
|
|
4391
4393
|
name: string;
|
|
4392
4394
|
managers?: {
|
|
4393
4395
|
id: string;
|
|
4394
|
-
firstName: string;
|
|
4395
4396
|
lastName: string;
|
|
4397
|
+
firstName: string;
|
|
4396
4398
|
}[] | undefined;
|
|
4397
4399
|
} | null | undefined;
|
|
4398
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4399
|
-
officeId?: string | null | undefined;
|
|
4400
4400
|
canImpersonateUsers?: {
|
|
4401
4401
|
id: string;
|
|
4402
|
-
firstName: string;
|
|
4403
4402
|
lastName: string;
|
|
4403
|
+
firstName: string;
|
|
4404
4404
|
}[] | undefined;
|
|
4405
4405
|
deletedAt?: string | null | undefined;
|
|
4406
4406
|
} | undefined;
|
|
4407
4407
|
}, {
|
|
4408
4408
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
4409
4409
|
id: string;
|
|
4410
|
-
phoneNumber: string;
|
|
4411
4410
|
name: string;
|
|
4412
|
-
createdAt: string | Date;
|
|
4413
4411
|
updatedAt: string | Date;
|
|
4412
|
+
createdAt: string | Date;
|
|
4414
4413
|
blacklistReason: string | null;
|
|
4415
4414
|
agentId: string;
|
|
4415
|
+
phoneNumber: string;
|
|
4416
4416
|
lastCalledAt: string | Date | null;
|
|
4417
4417
|
callCount: number;
|
|
4418
4418
|
lastCallNotes: string | null;
|
|
@@ -4422,18 +4422,20 @@ export declare const ownResearchContract: {
|
|
|
4422
4422
|
agent?: {
|
|
4423
4423
|
status: "ACTIVE" | "INACTIVE";
|
|
4424
4424
|
id: string;
|
|
4425
|
-
firstName: string;
|
|
4426
|
-
lastName: string;
|
|
4427
|
-
email: string;
|
|
4428
|
-
createdAt: string | Date;
|
|
4429
4425
|
updatedAt: string | Date;
|
|
4426
|
+
createdAt: string | Date;
|
|
4427
|
+
email: string;
|
|
4428
|
+
lastName: string;
|
|
4429
|
+
firstName: string;
|
|
4430
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4431
|
+
officeId?: string | null | undefined;
|
|
4430
4432
|
office?: {
|
|
4431
4433
|
id: string;
|
|
4432
4434
|
name: string;
|
|
4433
4435
|
managers?: {
|
|
4434
4436
|
id: string;
|
|
4435
|
-
firstName: string;
|
|
4436
4437
|
lastName: string;
|
|
4438
|
+
firstName: string;
|
|
4437
4439
|
}[] | undefined;
|
|
4438
4440
|
} | null | undefined;
|
|
4439
4441
|
phoneNumbers?: {
|
|
@@ -4442,12 +4444,10 @@ export declare const ownResearchContract: {
|
|
|
4442
4444
|
description?: string | null | undefined;
|
|
4443
4445
|
isPrimary?: boolean | undefined;
|
|
4444
4446
|
}[] | undefined;
|
|
4445
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4446
|
-
officeId?: string | null | undefined;
|
|
4447
4447
|
canImpersonateUsers?: {
|
|
4448
4448
|
id: string;
|
|
4449
|
-
firstName: string;
|
|
4450
4449
|
lastName: string;
|
|
4450
|
+
firstName: string;
|
|
4451
4451
|
}[] | undefined;
|
|
4452
4452
|
deletedAt?: string | Date | null | undefined;
|
|
4453
4453
|
} | undefined;
|
|
@@ -4456,12 +4456,12 @@ export declare const ownResearchContract: {
|
|
|
4456
4456
|
ownResearchLead: {
|
|
4457
4457
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
4458
4458
|
id: string;
|
|
4459
|
-
phoneNumber: string;
|
|
4460
4459
|
name: string;
|
|
4461
|
-
createdAt: string;
|
|
4462
4460
|
updatedAt: string;
|
|
4461
|
+
createdAt: string;
|
|
4463
4462
|
blacklistReason: string | null;
|
|
4464
4463
|
agentId: string;
|
|
4464
|
+
phoneNumber: string;
|
|
4465
4465
|
lastCalledAt: string | null;
|
|
4466
4466
|
callCount: number;
|
|
4467
4467
|
lastCallNotes: string | null;
|
|
@@ -4471,32 +4471,32 @@ export declare const ownResearchContract: {
|
|
|
4471
4471
|
agent?: {
|
|
4472
4472
|
status: "ACTIVE" | "INACTIVE";
|
|
4473
4473
|
id: string;
|
|
4474
|
-
|
|
4475
|
-
lastName: string;
|
|
4476
|
-
email: string;
|
|
4474
|
+
updatedAt: string;
|
|
4477
4475
|
createdAt: string;
|
|
4476
|
+
email: string;
|
|
4477
|
+
lastName: string;
|
|
4478
|
+
firstName: string;
|
|
4478
4479
|
phoneNumbers: {
|
|
4479
4480
|
id: string;
|
|
4480
4481
|
phoneNumber: string;
|
|
4481
4482
|
isPrimary: boolean;
|
|
4482
4483
|
description?: string | null | undefined;
|
|
4483
4484
|
}[];
|
|
4484
|
-
|
|
4485
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4486
|
+
officeId?: string | null | undefined;
|
|
4485
4487
|
office?: {
|
|
4486
4488
|
id: string;
|
|
4487
4489
|
name: string;
|
|
4488
4490
|
managers?: {
|
|
4489
4491
|
id: string;
|
|
4490
|
-
firstName: string;
|
|
4491
4492
|
lastName: string;
|
|
4493
|
+
firstName: string;
|
|
4492
4494
|
}[] | undefined;
|
|
4493
4495
|
} | null | undefined;
|
|
4494
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4495
|
-
officeId?: string | null | undefined;
|
|
4496
4496
|
canImpersonateUsers?: {
|
|
4497
4497
|
id: string;
|
|
4498
|
-
firstName: string;
|
|
4499
4498
|
lastName: string;
|
|
4499
|
+
firstName: string;
|
|
4500
4500
|
}[] | undefined;
|
|
4501
4501
|
deletedAt?: string | null | undefined;
|
|
4502
4502
|
} | undefined;
|
|
@@ -4504,8 +4504,8 @@ export declare const ownResearchContract: {
|
|
|
4504
4504
|
assignment?: {
|
|
4505
4505
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
4506
4506
|
id: string;
|
|
4507
|
-
createdAt: string;
|
|
4508
4507
|
updatedAt: string;
|
|
4508
|
+
createdAt: string;
|
|
4509
4509
|
companyId: string | null;
|
|
4510
4510
|
agentId: string | null;
|
|
4511
4511
|
leadId: string;
|
|
@@ -4514,42 +4514,42 @@ export declare const ownResearchContract: {
|
|
|
4514
4514
|
company?: {
|
|
4515
4515
|
id: string;
|
|
4516
4516
|
name: string;
|
|
4517
|
-
createdAt: string;
|
|
4518
4517
|
updatedAt: string;
|
|
4518
|
+
createdAt: string;
|
|
4519
4519
|
} | null | undefined;
|
|
4520
4520
|
lead?: {
|
|
4521
|
-
phoneNumber: string;
|
|
4522
4521
|
name: string;
|
|
4522
|
+
phoneNumber: string;
|
|
4523
4523
|
} | undefined;
|
|
4524
4524
|
agent?: {
|
|
4525
4525
|
status: "ACTIVE" | "INACTIVE";
|
|
4526
4526
|
id: string;
|
|
4527
|
-
|
|
4528
|
-
lastName: string;
|
|
4529
|
-
email: string;
|
|
4527
|
+
updatedAt: string;
|
|
4530
4528
|
createdAt: string;
|
|
4529
|
+
email: string;
|
|
4530
|
+
lastName: string;
|
|
4531
|
+
firstName: string;
|
|
4531
4532
|
phoneNumbers: {
|
|
4532
4533
|
id: string;
|
|
4533
4534
|
phoneNumber: string;
|
|
4534
4535
|
isPrimary: boolean;
|
|
4535
4536
|
description?: string | null | undefined;
|
|
4536
4537
|
}[];
|
|
4537
|
-
|
|
4538
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4539
|
+
officeId?: string | null | undefined;
|
|
4538
4540
|
office?: {
|
|
4539
4541
|
id: string;
|
|
4540
4542
|
name: string;
|
|
4541
4543
|
managers?: {
|
|
4542
4544
|
id: string;
|
|
4543
|
-
firstName: string;
|
|
4544
4545
|
lastName: string;
|
|
4546
|
+
firstName: string;
|
|
4545
4547
|
}[] | undefined;
|
|
4546
4548
|
} | null | undefined;
|
|
4547
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4548
|
-
officeId?: string | null | undefined;
|
|
4549
4549
|
canImpersonateUsers?: {
|
|
4550
4550
|
id: string;
|
|
4551
|
-
firstName: string;
|
|
4552
4551
|
lastName: string;
|
|
4552
|
+
firstName: string;
|
|
4553
4553
|
}[] | undefined;
|
|
4554
4554
|
deletedAt?: string | null | undefined;
|
|
4555
4555
|
} | undefined;
|
|
@@ -4558,12 +4558,12 @@ export declare const ownResearchContract: {
|
|
|
4558
4558
|
ownResearchLead: {
|
|
4559
4559
|
status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
|
|
4560
4560
|
id: string;
|
|
4561
|
-
phoneNumber: string;
|
|
4562
4561
|
name: string;
|
|
4563
|
-
createdAt: string | Date;
|
|
4564
4562
|
updatedAt: string | Date;
|
|
4563
|
+
createdAt: string | Date;
|
|
4565
4564
|
blacklistReason: string | null;
|
|
4566
4565
|
agentId: string;
|
|
4566
|
+
phoneNumber: string;
|
|
4567
4567
|
lastCalledAt: string | Date | null;
|
|
4568
4568
|
callCount: number;
|
|
4569
4569
|
lastCallNotes: string | null;
|
|
@@ -4573,18 +4573,20 @@ export declare const ownResearchContract: {
|
|
|
4573
4573
|
agent?: {
|
|
4574
4574
|
status: "ACTIVE" | "INACTIVE";
|
|
4575
4575
|
id: string;
|
|
4576
|
-
firstName: string;
|
|
4577
|
-
lastName: string;
|
|
4578
|
-
email: string;
|
|
4579
|
-
createdAt: string | Date;
|
|
4580
4576
|
updatedAt: string | Date;
|
|
4577
|
+
createdAt: string | Date;
|
|
4578
|
+
email: string;
|
|
4579
|
+
lastName: string;
|
|
4580
|
+
firstName: string;
|
|
4581
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4582
|
+
officeId?: string | null | undefined;
|
|
4581
4583
|
office?: {
|
|
4582
4584
|
id: string;
|
|
4583
4585
|
name: string;
|
|
4584
4586
|
managers?: {
|
|
4585
4587
|
id: string;
|
|
4586
|
-
firstName: string;
|
|
4587
4588
|
lastName: string;
|
|
4589
|
+
firstName: string;
|
|
4588
4590
|
}[] | undefined;
|
|
4589
4591
|
} | null | undefined;
|
|
4590
4592
|
phoneNumbers?: {
|
|
@@ -4593,12 +4595,10 @@ export declare const ownResearchContract: {
|
|
|
4593
4595
|
description?: string | null | undefined;
|
|
4594
4596
|
isPrimary?: boolean | undefined;
|
|
4595
4597
|
}[] | undefined;
|
|
4596
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4597
|
-
officeId?: string | null | undefined;
|
|
4598
4598
|
canImpersonateUsers?: {
|
|
4599
4599
|
id: string;
|
|
4600
|
-
firstName: string;
|
|
4601
4600
|
lastName: string;
|
|
4601
|
+
firstName: string;
|
|
4602
4602
|
}[] | undefined;
|
|
4603
4603
|
deletedAt?: string | Date | null | undefined;
|
|
4604
4604
|
} | undefined;
|
|
@@ -4606,8 +4606,8 @@ export declare const ownResearchContract: {
|
|
|
4606
4606
|
assignment?: {
|
|
4607
4607
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
4608
4608
|
id: string;
|
|
4609
|
-
createdAt: string | Date;
|
|
4610
4609
|
updatedAt: string | Date;
|
|
4610
|
+
createdAt: string | Date;
|
|
4611
4611
|
companyId: string | null;
|
|
4612
4612
|
agentId: string | null;
|
|
4613
4613
|
leadId: string;
|
|
@@ -4616,28 +4616,30 @@ export declare const ownResearchContract: {
|
|
|
4616
4616
|
company?: {
|
|
4617
4617
|
id: string;
|
|
4618
4618
|
name: string;
|
|
4619
|
-
createdAt: string | Date;
|
|
4620
4619
|
updatedAt: string | Date;
|
|
4620
|
+
createdAt: string | Date;
|
|
4621
4621
|
} | null | undefined;
|
|
4622
4622
|
lead?: {
|
|
4623
|
-
phoneNumber: string;
|
|
4624
4623
|
name: string;
|
|
4624
|
+
phoneNumber: string;
|
|
4625
4625
|
} | undefined;
|
|
4626
4626
|
agent?: {
|
|
4627
4627
|
status: "ACTIVE" | "INACTIVE";
|
|
4628
4628
|
id: string;
|
|
4629
|
-
firstName: string;
|
|
4630
|
-
lastName: string;
|
|
4631
|
-
email: string;
|
|
4632
|
-
createdAt: string | Date;
|
|
4633
4629
|
updatedAt: string | Date;
|
|
4630
|
+
createdAt: string | Date;
|
|
4631
|
+
email: string;
|
|
4632
|
+
lastName: string;
|
|
4633
|
+
firstName: string;
|
|
4634
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4635
|
+
officeId?: string | null | undefined;
|
|
4634
4636
|
office?: {
|
|
4635
4637
|
id: string;
|
|
4636
4638
|
name: string;
|
|
4637
4639
|
managers?: {
|
|
4638
4640
|
id: string;
|
|
4639
|
-
firstName: string;
|
|
4640
4641
|
lastName: string;
|
|
4642
|
+
firstName: string;
|
|
4641
4643
|
}[] | undefined;
|
|
4642
4644
|
} | null | undefined;
|
|
4643
4645
|
phoneNumbers?: {
|
|
@@ -4646,12 +4648,10 @@ export declare const ownResearchContract: {
|
|
|
4646
4648
|
description?: string | null | undefined;
|
|
4647
4649
|
isPrimary?: boolean | undefined;
|
|
4648
4650
|
}[] | undefined;
|
|
4649
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4650
|
-
officeId?: string | null | undefined;
|
|
4651
4651
|
canImpersonateUsers?: {
|
|
4652
4652
|
id: string;
|
|
4653
|
-
firstName: string;
|
|
4654
4653
|
lastName: string;
|
|
4654
|
+
firstName: string;
|
|
4655
4655
|
}[] | undefined;
|
|
4656
4656
|
deletedAt?: string | Date | null | undefined;
|
|
4657
4657
|
} | undefined;
|