@dakkitor/api-contracts 1.7.1 → 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 +81 -81
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
- 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
|
@@ -46,11 +46,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
phoneNumber: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
phoneNumber: string;
|
|
50
49
|
name: string;
|
|
51
|
-
}, {
|
|
52
50
|
phoneNumber: string;
|
|
51
|
+
}, {
|
|
53
52
|
name: string;
|
|
53
|
+
phoneNumber: string;
|
|
54
54
|
}>>;
|
|
55
55
|
agentId: z.ZodNullable<z.ZodString>;
|
|
56
56
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -85,28 +85,28 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
85
85
|
lastName: z.ZodString;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
id: string;
|
|
88
|
-
firstName: string;
|
|
89
88
|
lastName: string;
|
|
89
|
+
firstName: string;
|
|
90
90
|
}, {
|
|
91
91
|
id: string;
|
|
92
|
-
firstName: string;
|
|
93
92
|
lastName: string;
|
|
93
|
+
firstName: string;
|
|
94
94
|
}>, "many">>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
id: string;
|
|
97
97
|
name: string;
|
|
98
98
|
managers?: {
|
|
99
99
|
id: string;
|
|
100
|
-
firstName: string;
|
|
101
100
|
lastName: string;
|
|
101
|
+
firstName: string;
|
|
102
102
|
}[] | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
id: string;
|
|
105
105
|
name: string;
|
|
106
106
|
managers?: {
|
|
107
107
|
id: string;
|
|
108
|
-
firstName: string;
|
|
109
108
|
lastName: string;
|
|
109
|
+
firstName: string;
|
|
110
110
|
}[] | undefined;
|
|
111
111
|
}>>>;
|
|
112
112
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -115,12 +115,12 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
115
115
|
lastName: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
id: string;
|
|
118
|
-
firstName: string;
|
|
119
118
|
lastName: string;
|
|
119
|
+
firstName: string;
|
|
120
120
|
}, {
|
|
121
121
|
id: string;
|
|
122
|
-
firstName: string;
|
|
123
122
|
lastName: string;
|
|
123
|
+
firstName: string;
|
|
124
124
|
}>, "many">>;
|
|
125
125
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
126
126
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -129,49 +129,51 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
130
|
status: "ACTIVE" | "INACTIVE";
|
|
131
131
|
id: string;
|
|
132
|
-
|
|
133
|
-
lastName: string;
|
|
134
|
-
email: string;
|
|
132
|
+
updatedAt: string;
|
|
135
133
|
createdAt: string;
|
|
134
|
+
email: string;
|
|
135
|
+
lastName: string;
|
|
136
|
+
firstName: string;
|
|
136
137
|
phoneNumbers: {
|
|
137
138
|
id: string;
|
|
138
139
|
phoneNumber: string;
|
|
139
140
|
isPrimary: boolean;
|
|
140
141
|
description?: string | null | undefined;
|
|
141
142
|
}[];
|
|
142
|
-
|
|
143
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
144
|
+
officeId?: string | null | undefined;
|
|
143
145
|
office?: {
|
|
144
146
|
id: string;
|
|
145
147
|
name: string;
|
|
146
148
|
managers?: {
|
|
147
149
|
id: string;
|
|
148
|
-
firstName: string;
|
|
149
150
|
lastName: string;
|
|
151
|
+
firstName: string;
|
|
150
152
|
}[] | undefined;
|
|
151
153
|
} | null | undefined;
|
|
152
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
153
|
-
officeId?: string | null | undefined;
|
|
154
154
|
canImpersonateUsers?: {
|
|
155
155
|
id: string;
|
|
156
|
-
firstName: string;
|
|
157
156
|
lastName: string;
|
|
157
|
+
firstName: string;
|
|
158
158
|
}[] | undefined;
|
|
159
159
|
deletedAt?: string | null | undefined;
|
|
160
160
|
}, {
|
|
161
161
|
status: "ACTIVE" | "INACTIVE";
|
|
162
162
|
id: string;
|
|
163
|
-
firstName: string;
|
|
164
|
-
lastName: string;
|
|
165
|
-
email: string;
|
|
166
|
-
createdAt: string | Date;
|
|
167
163
|
updatedAt: string | Date;
|
|
164
|
+
createdAt: string | Date;
|
|
165
|
+
email: string;
|
|
166
|
+
lastName: string;
|
|
167
|
+
firstName: string;
|
|
168
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
169
|
+
officeId?: string | null | undefined;
|
|
168
170
|
office?: {
|
|
169
171
|
id: string;
|
|
170
172
|
name: string;
|
|
171
173
|
managers?: {
|
|
172
174
|
id: string;
|
|
173
|
-
firstName: string;
|
|
174
175
|
lastName: string;
|
|
176
|
+
firstName: string;
|
|
175
177
|
}[] | undefined;
|
|
176
178
|
} | null | undefined;
|
|
177
179
|
phoneNumbers?: {
|
|
@@ -180,12 +182,10 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
180
182
|
description?: string | null | undefined;
|
|
181
183
|
isPrimary?: boolean | undefined;
|
|
182
184
|
}[] | undefined;
|
|
183
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
184
|
-
officeId?: string | null | undefined;
|
|
185
185
|
canImpersonateUsers?: {
|
|
186
186
|
id: string;
|
|
187
|
-
firstName: string;
|
|
188
187
|
lastName: string;
|
|
188
|
+
firstName: string;
|
|
189
189
|
}[] | undefined;
|
|
190
190
|
deletedAt?: string | Date | null | undefined;
|
|
191
191
|
}>>;
|
|
@@ -201,21 +201,21 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
202
|
id: string;
|
|
203
203
|
name: string;
|
|
204
|
-
createdAt: string;
|
|
205
204
|
updatedAt: string;
|
|
205
|
+
createdAt: string;
|
|
206
206
|
}, {
|
|
207
207
|
id: string;
|
|
208
208
|
name: string;
|
|
209
|
-
createdAt: string | Date;
|
|
210
209
|
updatedAt: string | Date;
|
|
210
|
+
createdAt: string | Date;
|
|
211
211
|
}>>>;
|
|
212
212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
213
213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
216
216
|
id: string;
|
|
217
|
-
createdAt: string;
|
|
218
217
|
updatedAt: string;
|
|
218
|
+
createdAt: string;
|
|
219
219
|
companyId: string | null;
|
|
220
220
|
agentId: string | null;
|
|
221
221
|
leadId: string;
|
|
@@ -224,50 +224,50 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
224
224
|
company?: {
|
|
225
225
|
id: string;
|
|
226
226
|
name: string;
|
|
227
|
-
createdAt: string;
|
|
228
227
|
updatedAt: string;
|
|
228
|
+
createdAt: string;
|
|
229
229
|
} | null | undefined;
|
|
230
230
|
lead?: {
|
|
231
|
-
phoneNumber: string;
|
|
232
231
|
name: string;
|
|
232
|
+
phoneNumber: string;
|
|
233
233
|
} | undefined;
|
|
234
234
|
agent?: {
|
|
235
235
|
status: "ACTIVE" | "INACTIVE";
|
|
236
236
|
id: string;
|
|
237
|
-
|
|
238
|
-
lastName: string;
|
|
239
|
-
email: string;
|
|
237
|
+
updatedAt: string;
|
|
240
238
|
createdAt: string;
|
|
239
|
+
email: string;
|
|
240
|
+
lastName: string;
|
|
241
|
+
firstName: string;
|
|
241
242
|
phoneNumbers: {
|
|
242
243
|
id: string;
|
|
243
244
|
phoneNumber: string;
|
|
244
245
|
isPrimary: boolean;
|
|
245
246
|
description?: string | null | undefined;
|
|
246
247
|
}[];
|
|
247
|
-
|
|
248
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
249
|
+
officeId?: string | null | undefined;
|
|
248
250
|
office?: {
|
|
249
251
|
id: string;
|
|
250
252
|
name: string;
|
|
251
253
|
managers?: {
|
|
252
254
|
id: string;
|
|
253
|
-
firstName: string;
|
|
254
255
|
lastName: string;
|
|
256
|
+
firstName: string;
|
|
255
257
|
}[] | undefined;
|
|
256
258
|
} | null | undefined;
|
|
257
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
258
|
-
officeId?: string | null | undefined;
|
|
259
259
|
canImpersonateUsers?: {
|
|
260
260
|
id: string;
|
|
261
|
-
firstName: string;
|
|
262
261
|
lastName: string;
|
|
262
|
+
firstName: string;
|
|
263
263
|
}[] | undefined;
|
|
264
264
|
deletedAt?: string | null | undefined;
|
|
265
265
|
} | undefined;
|
|
266
266
|
}, {
|
|
267
267
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
268
268
|
id: string;
|
|
269
|
-
createdAt: string | Date;
|
|
270
269
|
updatedAt: string | Date;
|
|
270
|
+
createdAt: string | Date;
|
|
271
271
|
companyId: string | null;
|
|
272
272
|
agentId: string | null;
|
|
273
273
|
leadId: string;
|
|
@@ -276,28 +276,30 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
276
276
|
company?: {
|
|
277
277
|
id: string;
|
|
278
278
|
name: string;
|
|
279
|
-
createdAt: string | Date;
|
|
280
279
|
updatedAt: string | Date;
|
|
280
|
+
createdAt: string | Date;
|
|
281
281
|
} | null | undefined;
|
|
282
282
|
lead?: {
|
|
283
|
-
phoneNumber: string;
|
|
284
283
|
name: string;
|
|
284
|
+
phoneNumber: string;
|
|
285
285
|
} | undefined;
|
|
286
286
|
agent?: {
|
|
287
287
|
status: "ACTIVE" | "INACTIVE";
|
|
288
288
|
id: string;
|
|
289
|
-
firstName: string;
|
|
290
|
-
lastName: string;
|
|
291
|
-
email: string;
|
|
292
|
-
createdAt: string | Date;
|
|
293
289
|
updatedAt: string | Date;
|
|
290
|
+
createdAt: string | Date;
|
|
291
|
+
email: string;
|
|
292
|
+
lastName: string;
|
|
293
|
+
firstName: string;
|
|
294
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
295
|
+
officeId?: string | null | undefined;
|
|
294
296
|
office?: {
|
|
295
297
|
id: string;
|
|
296
298
|
name: string;
|
|
297
299
|
managers?: {
|
|
298
300
|
id: string;
|
|
299
|
-
firstName: string;
|
|
300
301
|
lastName: string;
|
|
302
|
+
firstName: string;
|
|
301
303
|
}[] | undefined;
|
|
302
304
|
} | null | undefined;
|
|
303
305
|
phoneNumbers?: {
|
|
@@ -306,12 +308,10 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
306
308
|
description?: string | null | undefined;
|
|
307
309
|
isPrimary?: boolean | undefined;
|
|
308
310
|
}[] | undefined;
|
|
309
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
310
|
-
officeId?: string | null | undefined;
|
|
311
311
|
canImpersonateUsers?: {
|
|
312
312
|
id: string;
|
|
313
|
-
firstName: string;
|
|
314
313
|
lastName: string;
|
|
314
|
+
firstName: string;
|
|
315
315
|
}[] | undefined;
|
|
316
316
|
deletedAt?: string | Date | null | undefined;
|
|
317
317
|
} | undefined;
|
|
@@ -325,8 +325,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
325
325
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
327
|
id: string;
|
|
328
|
-
createdAt: string;
|
|
329
328
|
updatedAt: string;
|
|
329
|
+
createdAt: string;
|
|
330
330
|
assignmentId: string;
|
|
331
331
|
rating: CallRating;
|
|
332
332
|
callType: CallType;
|
|
@@ -338,8 +338,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
338
338
|
assignment?: {
|
|
339
339
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
340
340
|
id: string;
|
|
341
|
-
createdAt: string;
|
|
342
341
|
updatedAt: string;
|
|
342
|
+
createdAt: string;
|
|
343
343
|
companyId: string | null;
|
|
344
344
|
agentId: string | null;
|
|
345
345
|
leadId: string;
|
|
@@ -348,50 +348,50 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
348
348
|
company?: {
|
|
349
349
|
id: string;
|
|
350
350
|
name: string;
|
|
351
|
-
createdAt: string;
|
|
352
351
|
updatedAt: string;
|
|
352
|
+
createdAt: string;
|
|
353
353
|
} | null | undefined;
|
|
354
354
|
lead?: {
|
|
355
|
-
phoneNumber: string;
|
|
356
355
|
name: string;
|
|
356
|
+
phoneNumber: string;
|
|
357
357
|
} | undefined;
|
|
358
358
|
agent?: {
|
|
359
359
|
status: "ACTIVE" | "INACTIVE";
|
|
360
360
|
id: string;
|
|
361
|
-
|
|
362
|
-
lastName: string;
|
|
363
|
-
email: string;
|
|
361
|
+
updatedAt: string;
|
|
364
362
|
createdAt: string;
|
|
363
|
+
email: string;
|
|
364
|
+
lastName: string;
|
|
365
|
+
firstName: string;
|
|
365
366
|
phoneNumbers: {
|
|
366
367
|
id: string;
|
|
367
368
|
phoneNumber: string;
|
|
368
369
|
isPrimary: boolean;
|
|
369
370
|
description?: string | null | undefined;
|
|
370
371
|
}[];
|
|
371
|
-
|
|
372
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
373
|
+
officeId?: string | null | undefined;
|
|
372
374
|
office?: {
|
|
373
375
|
id: string;
|
|
374
376
|
name: string;
|
|
375
377
|
managers?: {
|
|
376
378
|
id: string;
|
|
377
|
-
firstName: string;
|
|
378
379
|
lastName: string;
|
|
380
|
+
firstName: string;
|
|
379
381
|
}[] | undefined;
|
|
380
382
|
} | null | undefined;
|
|
381
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
382
|
-
officeId?: string | null | undefined;
|
|
383
383
|
canImpersonateUsers?: {
|
|
384
384
|
id: string;
|
|
385
|
-
firstName: string;
|
|
386
385
|
lastName: string;
|
|
386
|
+
firstName: string;
|
|
387
387
|
}[] | undefined;
|
|
388
388
|
deletedAt?: string | null | undefined;
|
|
389
389
|
} | undefined;
|
|
390
390
|
} | null | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
id: string;
|
|
393
|
-
createdAt: string | Date;
|
|
394
393
|
updatedAt: string | Date;
|
|
394
|
+
createdAt: string | Date;
|
|
395
395
|
assignmentId: string;
|
|
396
396
|
rating: CallRating;
|
|
397
397
|
callType: CallType;
|
|
@@ -403,8 +403,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
403
403
|
assignment?: {
|
|
404
404
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
405
405
|
id: string;
|
|
406
|
-
createdAt: string | Date;
|
|
407
406
|
updatedAt: string | Date;
|
|
407
|
+
createdAt: string | Date;
|
|
408
408
|
companyId: string | null;
|
|
409
409
|
agentId: string | null;
|
|
410
410
|
leadId: string;
|
|
@@ -413,28 +413,30 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
413
413
|
company?: {
|
|
414
414
|
id: string;
|
|
415
415
|
name: string;
|
|
416
|
-
createdAt: string | Date;
|
|
417
416
|
updatedAt: string | Date;
|
|
417
|
+
createdAt: string | Date;
|
|
418
418
|
} | null | undefined;
|
|
419
419
|
lead?: {
|
|
420
|
-
phoneNumber: string;
|
|
421
420
|
name: string;
|
|
421
|
+
phoneNumber: string;
|
|
422
422
|
} | undefined;
|
|
423
423
|
agent?: {
|
|
424
424
|
status: "ACTIVE" | "INACTIVE";
|
|
425
425
|
id: string;
|
|
426
|
-
firstName: string;
|
|
427
|
-
lastName: string;
|
|
428
|
-
email: string;
|
|
429
|
-
createdAt: string | Date;
|
|
430
426
|
updatedAt: string | Date;
|
|
427
|
+
createdAt: string | Date;
|
|
428
|
+
email: string;
|
|
429
|
+
lastName: string;
|
|
430
|
+
firstName: string;
|
|
431
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
432
|
+
officeId?: string | null | undefined;
|
|
431
433
|
office?: {
|
|
432
434
|
id: string;
|
|
433
435
|
name: string;
|
|
434
436
|
managers?: {
|
|
435
437
|
id: string;
|
|
436
|
-
firstName: string;
|
|
437
438
|
lastName: string;
|
|
439
|
+
firstName: string;
|
|
438
440
|
}[] | undefined;
|
|
439
441
|
} | null | undefined;
|
|
440
442
|
phoneNumbers?: {
|
|
@@ -443,12 +445,10 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
443
445
|
description?: string | null | undefined;
|
|
444
446
|
isPrimary?: boolean | undefined;
|
|
445
447
|
}[] | undefined;
|
|
446
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
447
|
-
officeId?: string | null | undefined;
|
|
448
448
|
canImpersonateUsers?: {
|
|
449
449
|
id: string;
|
|
450
|
-
firstName: string;
|
|
451
450
|
lastName: string;
|
|
451
|
+
firstName: string;
|
|
452
452
|
}[] | undefined;
|
|
453
453
|
deletedAt?: string | Date | null | undefined;
|
|
454
454
|
} | undefined;
|
|
@@ -467,11 +467,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
467
467
|
name: z.ZodString;
|
|
468
468
|
phoneNumber: z.ZodString;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
phoneNumber: string;
|
|
471
470
|
name: string;
|
|
472
|
-
}, {
|
|
473
471
|
phoneNumber: string;
|
|
472
|
+
}, {
|
|
474
473
|
name: string;
|
|
474
|
+
phoneNumber: string;
|
|
475
475
|
}>>;
|
|
476
476
|
agentId: z.ZodNullable<z.ZodString>;
|
|
477
477
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -506,28 +506,28 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
506
506
|
lastName: z.ZodString;
|
|
507
507
|
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
id: string;
|
|
509
|
-
firstName: string;
|
|
510
509
|
lastName: string;
|
|
510
|
+
firstName: string;
|
|
511
511
|
}, {
|
|
512
512
|
id: string;
|
|
513
|
-
firstName: string;
|
|
514
513
|
lastName: string;
|
|
514
|
+
firstName: string;
|
|
515
515
|
}>, "many">>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
id: string;
|
|
518
518
|
name: string;
|
|
519
519
|
managers?: {
|
|
520
520
|
id: string;
|
|
521
|
-
firstName: string;
|
|
522
521
|
lastName: string;
|
|
522
|
+
firstName: string;
|
|
523
523
|
}[] | undefined;
|
|
524
524
|
}, {
|
|
525
525
|
id: string;
|
|
526
526
|
name: string;
|
|
527
527
|
managers?: {
|
|
528
528
|
id: string;
|
|
529
|
-
firstName: string;
|
|
530
529
|
lastName: string;
|
|
530
|
+
firstName: string;
|
|
531
531
|
}[] | undefined;
|
|
532
532
|
}>>>;
|
|
533
533
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -536,12 +536,12 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
536
536
|
lastName: z.ZodString;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
538
|
id: string;
|
|
539
|
-
firstName: string;
|
|
540
539
|
lastName: string;
|
|
540
|
+
firstName: string;
|
|
541
541
|
}, {
|
|
542
542
|
id: string;
|
|
543
|
-
firstName: string;
|
|
544
543
|
lastName: string;
|
|
544
|
+
firstName: string;
|
|
545
545
|
}>, "many">>;
|
|
546
546
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
547
547
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -550,49 +550,51 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
551
|
status: "ACTIVE" | "INACTIVE";
|
|
552
552
|
id: string;
|
|
553
|
-
|
|
554
|
-
lastName: string;
|
|
555
|
-
email: string;
|
|
553
|
+
updatedAt: string;
|
|
556
554
|
createdAt: string;
|
|
555
|
+
email: string;
|
|
556
|
+
lastName: string;
|
|
557
|
+
firstName: string;
|
|
557
558
|
phoneNumbers: {
|
|
558
559
|
id: string;
|
|
559
560
|
phoneNumber: string;
|
|
560
561
|
isPrimary: boolean;
|
|
561
562
|
description?: string | null | undefined;
|
|
562
563
|
}[];
|
|
563
|
-
|
|
564
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
565
|
+
officeId?: string | null | undefined;
|
|
564
566
|
office?: {
|
|
565
567
|
id: string;
|
|
566
568
|
name: string;
|
|
567
569
|
managers?: {
|
|
568
570
|
id: string;
|
|
569
|
-
firstName: string;
|
|
570
571
|
lastName: string;
|
|
572
|
+
firstName: string;
|
|
571
573
|
}[] | undefined;
|
|
572
574
|
} | null | undefined;
|
|
573
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
574
|
-
officeId?: string | null | undefined;
|
|
575
575
|
canImpersonateUsers?: {
|
|
576
576
|
id: string;
|
|
577
|
-
firstName: string;
|
|
578
577
|
lastName: string;
|
|
578
|
+
firstName: string;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
deletedAt?: string | null | undefined;
|
|
581
581
|
}, {
|
|
582
582
|
status: "ACTIVE" | "INACTIVE";
|
|
583
583
|
id: string;
|
|
584
|
-
firstName: string;
|
|
585
|
-
lastName: string;
|
|
586
|
-
email: string;
|
|
587
|
-
createdAt: string | Date;
|
|
588
584
|
updatedAt: string | Date;
|
|
585
|
+
createdAt: string | Date;
|
|
586
|
+
email: string;
|
|
587
|
+
lastName: string;
|
|
588
|
+
firstName: string;
|
|
589
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
590
|
+
officeId?: string | null | undefined;
|
|
589
591
|
office?: {
|
|
590
592
|
id: string;
|
|
591
593
|
name: string;
|
|
592
594
|
managers?: {
|
|
593
595
|
id: string;
|
|
594
|
-
firstName: string;
|
|
595
596
|
lastName: string;
|
|
597
|
+
firstName: string;
|
|
596
598
|
}[] | undefined;
|
|
597
599
|
} | null | undefined;
|
|
598
600
|
phoneNumbers?: {
|
|
@@ -601,12 +603,10 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
601
603
|
description?: string | null | undefined;
|
|
602
604
|
isPrimary?: boolean | undefined;
|
|
603
605
|
}[] | undefined;
|
|
604
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
605
|
-
officeId?: string | null | undefined;
|
|
606
606
|
canImpersonateUsers?: {
|
|
607
607
|
id: string;
|
|
608
|
-
firstName: string;
|
|
609
608
|
lastName: string;
|
|
609
|
+
firstName: string;
|
|
610
610
|
}[] | undefined;
|
|
611
611
|
deletedAt?: string | Date | null | undefined;
|
|
612
612
|
}>>;
|
|
@@ -622,21 +622,21 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
622
622
|
}, "strip", z.ZodTypeAny, {
|
|
623
623
|
id: string;
|
|
624
624
|
name: string;
|
|
625
|
-
createdAt: string;
|
|
626
625
|
updatedAt: string;
|
|
626
|
+
createdAt: string;
|
|
627
627
|
}, {
|
|
628
628
|
id: string;
|
|
629
629
|
name: string;
|
|
630
|
-
createdAt: string | Date;
|
|
631
630
|
updatedAt: string | Date;
|
|
631
|
+
createdAt: string | Date;
|
|
632
632
|
}>>>;
|
|
633
633
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
634
634
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
635
635
|
}, "strip", z.ZodTypeAny, {
|
|
636
636
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
637
637
|
id: string;
|
|
638
|
-
createdAt: string;
|
|
639
638
|
updatedAt: string;
|
|
639
|
+
createdAt: string;
|
|
640
640
|
companyId: string | null;
|
|
641
641
|
agentId: string | null;
|
|
642
642
|
leadId: string;
|
|
@@ -645,50 +645,50 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
645
645
|
company?: {
|
|
646
646
|
id: string;
|
|
647
647
|
name: string;
|
|
648
|
-
createdAt: string;
|
|
649
648
|
updatedAt: string;
|
|
649
|
+
createdAt: string;
|
|
650
650
|
} | null | undefined;
|
|
651
651
|
lead?: {
|
|
652
|
-
phoneNumber: string;
|
|
653
652
|
name: string;
|
|
653
|
+
phoneNumber: string;
|
|
654
654
|
} | undefined;
|
|
655
655
|
agent?: {
|
|
656
656
|
status: "ACTIVE" | "INACTIVE";
|
|
657
657
|
id: string;
|
|
658
|
-
|
|
659
|
-
lastName: string;
|
|
660
|
-
email: string;
|
|
658
|
+
updatedAt: string;
|
|
661
659
|
createdAt: string;
|
|
660
|
+
email: string;
|
|
661
|
+
lastName: string;
|
|
662
|
+
firstName: string;
|
|
662
663
|
phoneNumbers: {
|
|
663
664
|
id: string;
|
|
664
665
|
phoneNumber: string;
|
|
665
666
|
isPrimary: boolean;
|
|
666
667
|
description?: string | null | undefined;
|
|
667
668
|
}[];
|
|
668
|
-
|
|
669
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
670
|
+
officeId?: string | null | undefined;
|
|
669
671
|
office?: {
|
|
670
672
|
id: string;
|
|
671
673
|
name: string;
|
|
672
674
|
managers?: {
|
|
673
675
|
id: string;
|
|
674
|
-
firstName: string;
|
|
675
676
|
lastName: string;
|
|
677
|
+
firstName: string;
|
|
676
678
|
}[] | undefined;
|
|
677
679
|
} | null | undefined;
|
|
678
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
679
|
-
officeId?: string | null | undefined;
|
|
680
680
|
canImpersonateUsers?: {
|
|
681
681
|
id: string;
|
|
682
|
-
firstName: string;
|
|
683
682
|
lastName: string;
|
|
683
|
+
firstName: string;
|
|
684
684
|
}[] | undefined;
|
|
685
685
|
deletedAt?: string | null | undefined;
|
|
686
686
|
} | undefined;
|
|
687
687
|
}, {
|
|
688
688
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
689
689
|
id: string;
|
|
690
|
-
createdAt: string | Date;
|
|
691
690
|
updatedAt: string | Date;
|
|
691
|
+
createdAt: string | Date;
|
|
692
692
|
companyId: string | null;
|
|
693
693
|
agentId: string | null;
|
|
694
694
|
leadId: string;
|
|
@@ -697,28 +697,30 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
697
697
|
company?: {
|
|
698
698
|
id: string;
|
|
699
699
|
name: string;
|
|
700
|
-
createdAt: string | Date;
|
|
701
700
|
updatedAt: string | Date;
|
|
701
|
+
createdAt: string | Date;
|
|
702
702
|
} | null | undefined;
|
|
703
703
|
lead?: {
|
|
704
|
-
phoneNumber: string;
|
|
705
704
|
name: string;
|
|
705
|
+
phoneNumber: string;
|
|
706
706
|
} | undefined;
|
|
707
707
|
agent?: {
|
|
708
708
|
status: "ACTIVE" | "INACTIVE";
|
|
709
709
|
id: string;
|
|
710
|
-
firstName: string;
|
|
711
|
-
lastName: string;
|
|
712
|
-
email: string;
|
|
713
|
-
createdAt: string | Date;
|
|
714
710
|
updatedAt: string | Date;
|
|
711
|
+
createdAt: string | Date;
|
|
712
|
+
email: string;
|
|
713
|
+
lastName: string;
|
|
714
|
+
firstName: string;
|
|
715
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
716
|
+
officeId?: string | null | undefined;
|
|
715
717
|
office?: {
|
|
716
718
|
id: string;
|
|
717
719
|
name: string;
|
|
718
720
|
managers?: {
|
|
719
721
|
id: string;
|
|
720
|
-
firstName: string;
|
|
721
722
|
lastName: string;
|
|
723
|
+
firstName: string;
|
|
722
724
|
}[] | undefined;
|
|
723
725
|
} | null | undefined;
|
|
724
726
|
phoneNumbers?: {
|
|
@@ -727,12 +729,10 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
727
729
|
description?: string | null | undefined;
|
|
728
730
|
isPrimary?: boolean | undefined;
|
|
729
731
|
}[] | undefined;
|
|
730
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
731
|
-
officeId?: string | null | undefined;
|
|
732
732
|
canImpersonateUsers?: {
|
|
733
733
|
id: string;
|
|
734
|
-
firstName: string;
|
|
735
734
|
lastName: string;
|
|
735
|
+
firstName: string;
|
|
736
736
|
}[] | undefined;
|
|
737
737
|
deletedAt?: string | Date | null | undefined;
|
|
738
738
|
} | undefined;
|
|
@@ -746,8 +746,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
746
746
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
|
748
748
|
id: string;
|
|
749
|
-
createdAt: string;
|
|
750
749
|
updatedAt: string;
|
|
750
|
+
createdAt: string;
|
|
751
751
|
assignmentId: string;
|
|
752
752
|
rating: CallRating;
|
|
753
753
|
callType: CallType;
|
|
@@ -759,8 +759,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
759
759
|
assignment?: {
|
|
760
760
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
761
761
|
id: string;
|
|
762
|
-
createdAt: string;
|
|
763
762
|
updatedAt: string;
|
|
763
|
+
createdAt: string;
|
|
764
764
|
companyId: string | null;
|
|
765
765
|
agentId: string | null;
|
|
766
766
|
leadId: string;
|
|
@@ -769,50 +769,50 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
769
769
|
company?: {
|
|
770
770
|
id: string;
|
|
771
771
|
name: string;
|
|
772
|
-
createdAt: string;
|
|
773
772
|
updatedAt: string;
|
|
773
|
+
createdAt: string;
|
|
774
774
|
} | null | undefined;
|
|
775
775
|
lead?: {
|
|
776
|
-
phoneNumber: string;
|
|
777
776
|
name: string;
|
|
777
|
+
phoneNumber: string;
|
|
778
778
|
} | undefined;
|
|
779
779
|
agent?: {
|
|
780
780
|
status: "ACTIVE" | "INACTIVE";
|
|
781
781
|
id: string;
|
|
782
|
-
|
|
783
|
-
lastName: string;
|
|
784
|
-
email: string;
|
|
782
|
+
updatedAt: string;
|
|
785
783
|
createdAt: string;
|
|
784
|
+
email: string;
|
|
785
|
+
lastName: string;
|
|
786
|
+
firstName: string;
|
|
786
787
|
phoneNumbers: {
|
|
787
788
|
id: string;
|
|
788
789
|
phoneNumber: string;
|
|
789
790
|
isPrimary: boolean;
|
|
790
791
|
description?: string | null | undefined;
|
|
791
792
|
}[];
|
|
792
|
-
|
|
793
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
794
|
+
officeId?: string | null | undefined;
|
|
793
795
|
office?: {
|
|
794
796
|
id: string;
|
|
795
797
|
name: string;
|
|
796
798
|
managers?: {
|
|
797
799
|
id: string;
|
|
798
|
-
firstName: string;
|
|
799
800
|
lastName: string;
|
|
801
|
+
firstName: string;
|
|
800
802
|
}[] | undefined;
|
|
801
803
|
} | null | undefined;
|
|
802
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
803
|
-
officeId?: string | null | undefined;
|
|
804
804
|
canImpersonateUsers?: {
|
|
805
805
|
id: string;
|
|
806
|
-
firstName: string;
|
|
807
806
|
lastName: string;
|
|
807
|
+
firstName: string;
|
|
808
808
|
}[] | undefined;
|
|
809
809
|
deletedAt?: string | null | undefined;
|
|
810
810
|
} | undefined;
|
|
811
811
|
} | null | undefined;
|
|
812
812
|
}, {
|
|
813
813
|
id: string;
|
|
814
|
-
createdAt: string | Date;
|
|
815
814
|
updatedAt: string | Date;
|
|
815
|
+
createdAt: string | Date;
|
|
816
816
|
assignmentId: string;
|
|
817
817
|
rating: CallRating;
|
|
818
818
|
callType: CallType;
|
|
@@ -824,8 +824,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
824
824
|
assignment?: {
|
|
825
825
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
826
826
|
id: string;
|
|
827
|
-
createdAt: string | Date;
|
|
828
827
|
updatedAt: string | Date;
|
|
828
|
+
createdAt: string | Date;
|
|
829
829
|
companyId: string | null;
|
|
830
830
|
agentId: string | null;
|
|
831
831
|
leadId: string;
|
|
@@ -834,28 +834,30 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
834
834
|
company?: {
|
|
835
835
|
id: string;
|
|
836
836
|
name: string;
|
|
837
|
-
createdAt: string | Date;
|
|
838
837
|
updatedAt: string | Date;
|
|
838
|
+
createdAt: string | Date;
|
|
839
839
|
} | null | undefined;
|
|
840
840
|
lead?: {
|
|
841
|
-
phoneNumber: string;
|
|
842
841
|
name: string;
|
|
842
|
+
phoneNumber: string;
|
|
843
843
|
} | undefined;
|
|
844
844
|
agent?: {
|
|
845
845
|
status: "ACTIVE" | "INACTIVE";
|
|
846
846
|
id: string;
|
|
847
|
-
firstName: string;
|
|
848
|
-
lastName: string;
|
|
849
|
-
email: string;
|
|
850
|
-
createdAt: string | Date;
|
|
851
847
|
updatedAt: string | Date;
|
|
848
|
+
createdAt: string | Date;
|
|
849
|
+
email: string;
|
|
850
|
+
lastName: string;
|
|
851
|
+
firstName: string;
|
|
852
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
853
|
+
officeId?: string | null | undefined;
|
|
852
854
|
office?: {
|
|
853
855
|
id: string;
|
|
854
856
|
name: string;
|
|
855
857
|
managers?: {
|
|
856
858
|
id: string;
|
|
857
|
-
firstName: string;
|
|
858
859
|
lastName: string;
|
|
860
|
+
firstName: string;
|
|
859
861
|
}[] | undefined;
|
|
860
862
|
} | null | undefined;
|
|
861
863
|
phoneNumbers?: {
|
|
@@ -864,12 +866,10 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
864
866
|
description?: string | null | undefined;
|
|
865
867
|
isPrimary?: boolean | undefined;
|
|
866
868
|
}[] | undefined;
|
|
867
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
868
|
-
officeId?: string | null | undefined;
|
|
869
869
|
canImpersonateUsers?: {
|
|
870
870
|
id: string;
|
|
871
|
-
firstName: string;
|
|
872
871
|
lastName: string;
|
|
872
|
+
firstName: string;
|
|
873
873
|
}[] | undefined;
|
|
874
874
|
deletedAt?: string | Date | null | undefined;
|
|
875
875
|
} | undefined;
|
|
@@ -884,8 +884,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
884
884
|
limit: number;
|
|
885
885
|
items: {
|
|
886
886
|
id: string;
|
|
887
|
-
createdAt: string;
|
|
888
887
|
updatedAt: string;
|
|
888
|
+
createdAt: string;
|
|
889
889
|
assignmentId: string;
|
|
890
890
|
rating: CallRating;
|
|
891
891
|
callType: CallType;
|
|
@@ -897,8 +897,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
897
897
|
assignment?: {
|
|
898
898
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
899
899
|
id: string;
|
|
900
|
-
createdAt: string;
|
|
901
900
|
updatedAt: string;
|
|
901
|
+
createdAt: string;
|
|
902
902
|
companyId: string | null;
|
|
903
903
|
agentId: string | null;
|
|
904
904
|
leadId: string;
|
|
@@ -907,42 +907,42 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
907
907
|
company?: {
|
|
908
908
|
id: string;
|
|
909
909
|
name: string;
|
|
910
|
-
createdAt: string;
|
|
911
910
|
updatedAt: string;
|
|
911
|
+
createdAt: string;
|
|
912
912
|
} | null | undefined;
|
|
913
913
|
lead?: {
|
|
914
|
-
phoneNumber: string;
|
|
915
914
|
name: string;
|
|
915
|
+
phoneNumber: string;
|
|
916
916
|
} | undefined;
|
|
917
917
|
agent?: {
|
|
918
918
|
status: "ACTIVE" | "INACTIVE";
|
|
919
919
|
id: string;
|
|
920
|
-
|
|
921
|
-
lastName: string;
|
|
922
|
-
email: string;
|
|
920
|
+
updatedAt: string;
|
|
923
921
|
createdAt: string;
|
|
922
|
+
email: string;
|
|
923
|
+
lastName: string;
|
|
924
|
+
firstName: string;
|
|
924
925
|
phoneNumbers: {
|
|
925
926
|
id: string;
|
|
926
927
|
phoneNumber: string;
|
|
927
928
|
isPrimary: boolean;
|
|
928
929
|
description?: string | null | undefined;
|
|
929
930
|
}[];
|
|
930
|
-
|
|
931
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
932
|
+
officeId?: string | null | undefined;
|
|
931
933
|
office?: {
|
|
932
934
|
id: string;
|
|
933
935
|
name: string;
|
|
934
936
|
managers?: {
|
|
935
937
|
id: string;
|
|
936
|
-
firstName: string;
|
|
937
938
|
lastName: string;
|
|
939
|
+
firstName: string;
|
|
938
940
|
}[] | undefined;
|
|
939
941
|
} | null | undefined;
|
|
940
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
941
|
-
officeId?: string | null | undefined;
|
|
942
942
|
canImpersonateUsers?: {
|
|
943
943
|
id: string;
|
|
944
|
-
firstName: string;
|
|
945
944
|
lastName: string;
|
|
945
|
+
firstName: string;
|
|
946
946
|
}[] | undefined;
|
|
947
947
|
deletedAt?: string | null | undefined;
|
|
948
948
|
} | undefined;
|
|
@@ -956,8 +956,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
956
956
|
limit: number;
|
|
957
957
|
items: {
|
|
958
958
|
id: string;
|
|
959
|
-
createdAt: string | Date;
|
|
960
959
|
updatedAt: string | Date;
|
|
960
|
+
createdAt: string | Date;
|
|
961
961
|
assignmentId: string;
|
|
962
962
|
rating: CallRating;
|
|
963
963
|
callType: CallType;
|
|
@@ -969,8 +969,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
969
969
|
assignment?: {
|
|
970
970
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
971
971
|
id: string;
|
|
972
|
-
createdAt: string | Date;
|
|
973
972
|
updatedAt: string | Date;
|
|
973
|
+
createdAt: string | Date;
|
|
974
974
|
companyId: string | null;
|
|
975
975
|
agentId: string | null;
|
|
976
976
|
leadId: string;
|
|
@@ -979,28 +979,30 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
979
979
|
company?: {
|
|
980
980
|
id: string;
|
|
981
981
|
name: string;
|
|
982
|
-
createdAt: string | Date;
|
|
983
982
|
updatedAt: string | Date;
|
|
983
|
+
createdAt: string | Date;
|
|
984
984
|
} | null | undefined;
|
|
985
985
|
lead?: {
|
|
986
|
-
phoneNumber: string;
|
|
987
986
|
name: string;
|
|
987
|
+
phoneNumber: string;
|
|
988
988
|
} | undefined;
|
|
989
989
|
agent?: {
|
|
990
990
|
status: "ACTIVE" | "INACTIVE";
|
|
991
991
|
id: string;
|
|
992
|
-
firstName: string;
|
|
993
|
-
lastName: string;
|
|
994
|
-
email: string;
|
|
995
|
-
createdAt: string | Date;
|
|
996
992
|
updatedAt: string | Date;
|
|
993
|
+
createdAt: string | Date;
|
|
994
|
+
email: string;
|
|
995
|
+
lastName: string;
|
|
996
|
+
firstName: string;
|
|
997
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
998
|
+
officeId?: string | null | undefined;
|
|
997
999
|
office?: {
|
|
998
1000
|
id: string;
|
|
999
1001
|
name: string;
|
|
1000
1002
|
managers?: {
|
|
1001
1003
|
id: string;
|
|
1002
|
-
firstName: string;
|
|
1003
1004
|
lastName: string;
|
|
1005
|
+
firstName: string;
|
|
1004
1006
|
}[] | undefined;
|
|
1005
1007
|
} | null | undefined;
|
|
1006
1008
|
phoneNumbers?: {
|
|
@@ -1009,12 +1011,10 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
1009
1011
|
description?: string | null | undefined;
|
|
1010
1012
|
isPrimary?: boolean | undefined;
|
|
1011
1013
|
}[] | undefined;
|
|
1012
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1013
|
-
officeId?: string | null | undefined;
|
|
1014
1014
|
canImpersonateUsers?: {
|
|
1015
1015
|
id: string;
|
|
1016
|
-
firstName: string;
|
|
1017
1016
|
lastName: string;
|
|
1017
|
+
firstName: string;
|
|
1018
1018
|
}[] | undefined;
|
|
1019
1019
|
deletedAt?: string | Date | null | undefined;
|
|
1020
1020
|
} | undefined;
|
|
@@ -1047,11 +1047,11 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1047
1047
|
name: z.ZodString;
|
|
1048
1048
|
phoneNumber: z.ZodString;
|
|
1049
1049
|
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
phoneNumber: string;
|
|
1051
1050
|
name: string;
|
|
1052
|
-
}, {
|
|
1053
1051
|
phoneNumber: string;
|
|
1052
|
+
}, {
|
|
1054
1053
|
name: string;
|
|
1054
|
+
phoneNumber: string;
|
|
1055
1055
|
}>>>;
|
|
1056
1056
|
agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1057
1057
|
id: z.ZodString;
|
|
@@ -1076,8 +1076,8 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1076
1076
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1077
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1078
1078
|
id: string;
|
|
1079
|
-
firstName: string;
|
|
1080
1079
|
lastName: string;
|
|
1080
|
+
firstName: string;
|
|
1081
1081
|
phoneNumbers: {
|
|
1082
1082
|
id: string;
|
|
1083
1083
|
phoneNumber: string;
|
|
@@ -1087,8 +1087,8 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1087
1087
|
deletedAt?: string | null | undefined;
|
|
1088
1088
|
}, {
|
|
1089
1089
|
id: string;
|
|
1090
|
-
firstName: string;
|
|
1091
1090
|
lastName: string;
|
|
1091
|
+
firstName: string;
|
|
1092
1092
|
phoneNumbers?: {
|
|
1093
1093
|
id: string;
|
|
1094
1094
|
phoneNumber: string;
|
|
@@ -1109,8 +1109,8 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1109
1109
|
}>>>;
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
1111
|
id: string;
|
|
1112
|
-
createdAt: string;
|
|
1113
1112
|
updatedAt: string;
|
|
1113
|
+
createdAt: string;
|
|
1114
1114
|
agentId: string;
|
|
1115
1115
|
assignmentId: string;
|
|
1116
1116
|
rating: CallRating;
|
|
@@ -1126,13 +1126,13 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1126
1126
|
agentId: string | null;
|
|
1127
1127
|
} | null | undefined;
|
|
1128
1128
|
lead?: {
|
|
1129
|
-
phoneNumber: string;
|
|
1130
1129
|
name: string;
|
|
1130
|
+
phoneNumber: string;
|
|
1131
1131
|
} | null | undefined;
|
|
1132
1132
|
agent?: {
|
|
1133
1133
|
id: string;
|
|
1134
|
-
firstName: string;
|
|
1135
1134
|
lastName: string;
|
|
1135
|
+
firstName: string;
|
|
1136
1136
|
phoneNumbers: {
|
|
1137
1137
|
id: string;
|
|
1138
1138
|
phoneNumber: string;
|
|
@@ -1143,8 +1143,8 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1143
1143
|
} | null | undefined;
|
|
1144
1144
|
}, {
|
|
1145
1145
|
id: string;
|
|
1146
|
-
createdAt: string | Date;
|
|
1147
1146
|
updatedAt: string | Date;
|
|
1147
|
+
createdAt: string | Date;
|
|
1148
1148
|
agentId: string;
|
|
1149
1149
|
assignmentId: string;
|
|
1150
1150
|
rating: CallRating;
|
|
@@ -1160,13 +1160,13 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1160
1160
|
agentId: string | null;
|
|
1161
1161
|
} | null | undefined;
|
|
1162
1162
|
lead?: {
|
|
1163
|
-
phoneNumber: string;
|
|
1164
1163
|
name: string;
|
|
1164
|
+
phoneNumber: string;
|
|
1165
1165
|
} | null | undefined;
|
|
1166
1166
|
agent?: {
|
|
1167
1167
|
id: string;
|
|
1168
|
-
firstName: string;
|
|
1169
1168
|
lastName: string;
|
|
1169
|
+
firstName: string;
|
|
1170
1170
|
phoneNumbers?: {
|
|
1171
1171
|
id: string;
|
|
1172
1172
|
phoneNumber: string;
|
|
@@ -1199,11 +1199,11 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1199
1199
|
name: z.ZodString;
|
|
1200
1200
|
phoneNumber: z.ZodString;
|
|
1201
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1202
|
-
phoneNumber: string;
|
|
1203
1202
|
name: string;
|
|
1204
|
-
}, {
|
|
1205
1203
|
phoneNumber: string;
|
|
1204
|
+
}, {
|
|
1206
1205
|
name: string;
|
|
1206
|
+
phoneNumber: string;
|
|
1207
1207
|
}>>>;
|
|
1208
1208
|
agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1209
1209
|
id: z.ZodString;
|
|
@@ -1228,8 +1228,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1228
1228
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1229
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1230
1230
|
id: string;
|
|
1231
|
-
firstName: string;
|
|
1232
1231
|
lastName: string;
|
|
1232
|
+
firstName: string;
|
|
1233
1233
|
phoneNumbers: {
|
|
1234
1234
|
id: string;
|
|
1235
1235
|
phoneNumber: string;
|
|
@@ -1239,8 +1239,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1239
1239
|
deletedAt?: string | null | undefined;
|
|
1240
1240
|
}, {
|
|
1241
1241
|
id: string;
|
|
1242
|
-
firstName: string;
|
|
1243
1242
|
lastName: string;
|
|
1243
|
+
firstName: string;
|
|
1244
1244
|
phoneNumbers?: {
|
|
1245
1245
|
id: string;
|
|
1246
1246
|
phoneNumber: string;
|
|
@@ -1261,8 +1261,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1261
1261
|
}>>>;
|
|
1262
1262
|
}, "strip", z.ZodTypeAny, {
|
|
1263
1263
|
id: string;
|
|
1264
|
-
createdAt: string;
|
|
1265
1264
|
updatedAt: string;
|
|
1265
|
+
createdAt: string;
|
|
1266
1266
|
agentId: string;
|
|
1267
1267
|
assignmentId: string;
|
|
1268
1268
|
rating: CallRating;
|
|
@@ -1278,13 +1278,13 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1278
1278
|
agentId: string | null;
|
|
1279
1279
|
} | null | undefined;
|
|
1280
1280
|
lead?: {
|
|
1281
|
-
phoneNumber: string;
|
|
1282
1281
|
name: string;
|
|
1282
|
+
phoneNumber: string;
|
|
1283
1283
|
} | null | undefined;
|
|
1284
1284
|
agent?: {
|
|
1285
1285
|
id: string;
|
|
1286
|
-
firstName: string;
|
|
1287
1286
|
lastName: string;
|
|
1287
|
+
firstName: string;
|
|
1288
1288
|
phoneNumbers: {
|
|
1289
1289
|
id: string;
|
|
1290
1290
|
phoneNumber: string;
|
|
@@ -1295,8 +1295,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1295
1295
|
} | null | undefined;
|
|
1296
1296
|
}, {
|
|
1297
1297
|
id: string;
|
|
1298
|
-
createdAt: string | Date;
|
|
1299
1298
|
updatedAt: string | Date;
|
|
1299
|
+
createdAt: string | Date;
|
|
1300
1300
|
agentId: string;
|
|
1301
1301
|
assignmentId: string;
|
|
1302
1302
|
rating: CallRating;
|
|
@@ -1312,13 +1312,13 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1312
1312
|
agentId: string | null;
|
|
1313
1313
|
} | null | undefined;
|
|
1314
1314
|
lead?: {
|
|
1315
|
-
phoneNumber: string;
|
|
1316
1315
|
name: string;
|
|
1316
|
+
phoneNumber: string;
|
|
1317
1317
|
} | null | undefined;
|
|
1318
1318
|
agent?: {
|
|
1319
1319
|
id: string;
|
|
1320
|
-
firstName: string;
|
|
1321
1320
|
lastName: string;
|
|
1321
|
+
firstName: string;
|
|
1322
1322
|
phoneNumbers?: {
|
|
1323
1323
|
id: string;
|
|
1324
1324
|
phoneNumber: string;
|
|
@@ -1337,8 +1337,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1337
1337
|
limit: number;
|
|
1338
1338
|
items: {
|
|
1339
1339
|
id: string;
|
|
1340
|
-
createdAt: string;
|
|
1341
1340
|
updatedAt: string;
|
|
1341
|
+
createdAt: string;
|
|
1342
1342
|
agentId: string;
|
|
1343
1343
|
assignmentId: string;
|
|
1344
1344
|
rating: CallRating;
|
|
@@ -1354,13 +1354,13 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1354
1354
|
agentId: string | null;
|
|
1355
1355
|
} | null | undefined;
|
|
1356
1356
|
lead?: {
|
|
1357
|
-
phoneNumber: string;
|
|
1358
1357
|
name: string;
|
|
1358
|
+
phoneNumber: string;
|
|
1359
1359
|
} | null | undefined;
|
|
1360
1360
|
agent?: {
|
|
1361
1361
|
id: string;
|
|
1362
|
-
firstName: string;
|
|
1363
1362
|
lastName: string;
|
|
1363
|
+
firstName: string;
|
|
1364
1364
|
phoneNumbers: {
|
|
1365
1365
|
id: string;
|
|
1366
1366
|
phoneNumber: string;
|
|
@@ -1378,8 +1378,8 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1378
1378
|
limit: number;
|
|
1379
1379
|
items: {
|
|
1380
1380
|
id: string;
|
|
1381
|
-
createdAt: string | Date;
|
|
1382
1381
|
updatedAt: string | Date;
|
|
1382
|
+
createdAt: string | Date;
|
|
1383
1383
|
agentId: string;
|
|
1384
1384
|
assignmentId: string;
|
|
1385
1385
|
rating: CallRating;
|
|
@@ -1395,13 +1395,13 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1395
1395
|
agentId: string | null;
|
|
1396
1396
|
} | null | undefined;
|
|
1397
1397
|
lead?: {
|
|
1398
|
-
phoneNumber: string;
|
|
1399
1398
|
name: string;
|
|
1399
|
+
phoneNumber: string;
|
|
1400
1400
|
} | null | undefined;
|
|
1401
1401
|
agent?: {
|
|
1402
1402
|
id: string;
|
|
1403
|
-
firstName: string;
|
|
1404
1403
|
lastName: string;
|
|
1404
|
+
firstName: string;
|
|
1405
1405
|
phoneNumbers?: {
|
|
1406
1406
|
id: string;
|
|
1407
1407
|
phoneNumber: string;
|
|
@@ -1483,13 +1483,12 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
1483
1483
|
order: "ASC" | "DESC";
|
|
1484
1484
|
}>, "many">>>;
|
|
1485
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
limit: number;
|
|
1487
1486
|
page: number;
|
|
1487
|
+
limit: number;
|
|
1488
1488
|
sort?: {
|
|
1489
1489
|
field: CallHistorySortableFields;
|
|
1490
1490
|
order: "ASC" | "DESC";
|
|
1491
1491
|
}[] | null | undefined;
|
|
1492
|
-
phoneNumber?: string | undefined;
|
|
1493
1492
|
createdAt?: {
|
|
1494
1493
|
from?: string | null | undefined;
|
|
1495
1494
|
to?: string | null | undefined;
|
|
@@ -1503,14 +1502,14 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
1503
1502
|
callType?: CallType | undefined;
|
|
1504
1503
|
leadSource?: LeadSource | undefined;
|
|
1505
1504
|
leadName?: string | undefined;
|
|
1505
|
+
phoneNumber?: string | undefined;
|
|
1506
1506
|
}, {
|
|
1507
1507
|
sort?: {
|
|
1508
1508
|
field: CallHistorySortableFields;
|
|
1509
1509
|
order: "ASC" | "DESC";
|
|
1510
1510
|
}[] | null | undefined;
|
|
1511
|
-
phoneNumber?: string | undefined;
|
|
1512
|
-
limit?: number | undefined;
|
|
1513
1511
|
page?: number | undefined;
|
|
1512
|
+
limit?: number | undefined;
|
|
1514
1513
|
createdAt?: {
|
|
1515
1514
|
from?: string | null | undefined;
|
|
1516
1515
|
to?: string | null | undefined;
|
|
@@ -1524,6 +1523,7 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
1524
1523
|
callType?: CallType | undefined;
|
|
1525
1524
|
leadSource?: LeadSource | undefined;
|
|
1526
1525
|
leadName?: string | undefined;
|
|
1526
|
+
phoneNumber?: string | undefined;
|
|
1527
1527
|
}>;
|
|
1528
1528
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
1529
1529
|
totalCalls: z.ZodNumber;
|
|
@@ -1683,11 +1683,11 @@ export declare const callHistoryContract: {
|
|
|
1683
1683
|
name: z.ZodString;
|
|
1684
1684
|
phoneNumber: z.ZodString;
|
|
1685
1685
|
}, "strip", z.ZodTypeAny, {
|
|
1686
|
-
phoneNumber: string;
|
|
1687
1686
|
name: string;
|
|
1688
|
-
}, {
|
|
1689
1687
|
phoneNumber: string;
|
|
1688
|
+
}, {
|
|
1690
1689
|
name: string;
|
|
1690
|
+
phoneNumber: string;
|
|
1691
1691
|
}>>;
|
|
1692
1692
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1693
1693
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1722,28 +1722,28 @@ export declare const callHistoryContract: {
|
|
|
1722
1722
|
lastName: z.ZodString;
|
|
1723
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1724
1724
|
id: string;
|
|
1725
|
-
firstName: string;
|
|
1726
1725
|
lastName: string;
|
|
1726
|
+
firstName: string;
|
|
1727
1727
|
}, {
|
|
1728
1728
|
id: string;
|
|
1729
|
-
firstName: string;
|
|
1730
1729
|
lastName: string;
|
|
1730
|
+
firstName: string;
|
|
1731
1731
|
}>, "many">>;
|
|
1732
1732
|
}, "strip", z.ZodTypeAny, {
|
|
1733
1733
|
id: string;
|
|
1734
1734
|
name: string;
|
|
1735
1735
|
managers?: {
|
|
1736
1736
|
id: string;
|
|
1737
|
-
firstName: string;
|
|
1738
1737
|
lastName: string;
|
|
1738
|
+
firstName: string;
|
|
1739
1739
|
}[] | undefined;
|
|
1740
1740
|
}, {
|
|
1741
1741
|
id: string;
|
|
1742
1742
|
name: string;
|
|
1743
1743
|
managers?: {
|
|
1744
1744
|
id: string;
|
|
1745
|
-
firstName: string;
|
|
1746
1745
|
lastName: string;
|
|
1746
|
+
firstName: string;
|
|
1747
1747
|
}[] | undefined;
|
|
1748
1748
|
}>>>;
|
|
1749
1749
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1752,12 +1752,12 @@ export declare const callHistoryContract: {
|
|
|
1752
1752
|
lastName: z.ZodString;
|
|
1753
1753
|
}, "strip", z.ZodTypeAny, {
|
|
1754
1754
|
id: string;
|
|
1755
|
-
firstName: string;
|
|
1756
1755
|
lastName: string;
|
|
1756
|
+
firstName: string;
|
|
1757
1757
|
}, {
|
|
1758
1758
|
id: string;
|
|
1759
|
-
firstName: string;
|
|
1760
1759
|
lastName: string;
|
|
1760
|
+
firstName: string;
|
|
1761
1761
|
}>, "many">>;
|
|
1762
1762
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1763
1763
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1766,49 +1766,51 @@ export declare const callHistoryContract: {
|
|
|
1766
1766
|
}, "strip", z.ZodTypeAny, {
|
|
1767
1767
|
status: "ACTIVE" | "INACTIVE";
|
|
1768
1768
|
id: string;
|
|
1769
|
-
|
|
1770
|
-
lastName: string;
|
|
1771
|
-
email: string;
|
|
1769
|
+
updatedAt: string;
|
|
1772
1770
|
createdAt: string;
|
|
1771
|
+
email: string;
|
|
1772
|
+
lastName: string;
|
|
1773
|
+
firstName: string;
|
|
1773
1774
|
phoneNumbers: {
|
|
1774
1775
|
id: string;
|
|
1775
1776
|
phoneNumber: string;
|
|
1776
1777
|
isPrimary: boolean;
|
|
1777
1778
|
description?: string | null | undefined;
|
|
1778
1779
|
}[];
|
|
1779
|
-
|
|
1780
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1781
|
+
officeId?: string | null | undefined;
|
|
1780
1782
|
office?: {
|
|
1781
1783
|
id: string;
|
|
1782
1784
|
name: string;
|
|
1783
1785
|
managers?: {
|
|
1784
1786
|
id: string;
|
|
1785
|
-
firstName: string;
|
|
1786
1787
|
lastName: string;
|
|
1788
|
+
firstName: string;
|
|
1787
1789
|
}[] | undefined;
|
|
1788
1790
|
} | null | undefined;
|
|
1789
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1790
|
-
officeId?: string | null | undefined;
|
|
1791
1791
|
canImpersonateUsers?: {
|
|
1792
1792
|
id: string;
|
|
1793
|
-
firstName: string;
|
|
1794
1793
|
lastName: string;
|
|
1794
|
+
firstName: string;
|
|
1795
1795
|
}[] | undefined;
|
|
1796
1796
|
deletedAt?: string | null | undefined;
|
|
1797
1797
|
}, {
|
|
1798
1798
|
status: "ACTIVE" | "INACTIVE";
|
|
1799
1799
|
id: string;
|
|
1800
|
-
firstName: string;
|
|
1801
|
-
lastName: string;
|
|
1802
|
-
email: string;
|
|
1803
|
-
createdAt: string | Date;
|
|
1804
1800
|
updatedAt: string | Date;
|
|
1801
|
+
createdAt: string | Date;
|
|
1802
|
+
email: string;
|
|
1803
|
+
lastName: string;
|
|
1804
|
+
firstName: string;
|
|
1805
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1806
|
+
officeId?: string | null | undefined;
|
|
1805
1807
|
office?: {
|
|
1806
1808
|
id: string;
|
|
1807
1809
|
name: string;
|
|
1808
1810
|
managers?: {
|
|
1809
1811
|
id: string;
|
|
1810
|
-
firstName: string;
|
|
1811
1812
|
lastName: string;
|
|
1813
|
+
firstName: string;
|
|
1812
1814
|
}[] | undefined;
|
|
1813
1815
|
} | null | undefined;
|
|
1814
1816
|
phoneNumbers?: {
|
|
@@ -1817,12 +1819,10 @@ export declare const callHistoryContract: {
|
|
|
1817
1819
|
description?: string | null | undefined;
|
|
1818
1820
|
isPrimary?: boolean | undefined;
|
|
1819
1821
|
}[] | undefined;
|
|
1820
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1821
|
-
officeId?: string | null | undefined;
|
|
1822
1822
|
canImpersonateUsers?: {
|
|
1823
1823
|
id: string;
|
|
1824
|
-
firstName: string;
|
|
1825
1824
|
lastName: string;
|
|
1825
|
+
firstName: string;
|
|
1826
1826
|
}[] | undefined;
|
|
1827
1827
|
deletedAt?: string | Date | null | undefined;
|
|
1828
1828
|
}>>;
|
|
@@ -1838,21 +1838,21 @@ export declare const callHistoryContract: {
|
|
|
1838
1838
|
}, "strip", z.ZodTypeAny, {
|
|
1839
1839
|
id: string;
|
|
1840
1840
|
name: string;
|
|
1841
|
-
createdAt: string;
|
|
1842
1841
|
updatedAt: string;
|
|
1842
|
+
createdAt: string;
|
|
1843
1843
|
}, {
|
|
1844
1844
|
id: string;
|
|
1845
1845
|
name: string;
|
|
1846
|
-
createdAt: string | Date;
|
|
1847
1846
|
updatedAt: string | Date;
|
|
1847
|
+
createdAt: string | Date;
|
|
1848
1848
|
}>>>;
|
|
1849
1849
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1850
1850
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1851
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1852
1852
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1853
1853
|
id: string;
|
|
1854
|
-
createdAt: string;
|
|
1855
1854
|
updatedAt: string;
|
|
1855
|
+
createdAt: string;
|
|
1856
1856
|
companyId: string | null;
|
|
1857
1857
|
agentId: string | null;
|
|
1858
1858
|
leadId: string;
|
|
@@ -1861,50 +1861,50 @@ export declare const callHistoryContract: {
|
|
|
1861
1861
|
company?: {
|
|
1862
1862
|
id: string;
|
|
1863
1863
|
name: string;
|
|
1864
|
-
createdAt: string;
|
|
1865
1864
|
updatedAt: string;
|
|
1865
|
+
createdAt: string;
|
|
1866
1866
|
} | null | undefined;
|
|
1867
1867
|
lead?: {
|
|
1868
|
-
phoneNumber: string;
|
|
1869
1868
|
name: string;
|
|
1869
|
+
phoneNumber: string;
|
|
1870
1870
|
} | undefined;
|
|
1871
1871
|
agent?: {
|
|
1872
1872
|
status: "ACTIVE" | "INACTIVE";
|
|
1873
1873
|
id: string;
|
|
1874
|
-
|
|
1875
|
-
lastName: string;
|
|
1876
|
-
email: string;
|
|
1874
|
+
updatedAt: string;
|
|
1877
1875
|
createdAt: string;
|
|
1876
|
+
email: string;
|
|
1877
|
+
lastName: string;
|
|
1878
|
+
firstName: string;
|
|
1878
1879
|
phoneNumbers: {
|
|
1879
1880
|
id: string;
|
|
1880
1881
|
phoneNumber: string;
|
|
1881
1882
|
isPrimary: boolean;
|
|
1882
1883
|
description?: string | null | undefined;
|
|
1883
1884
|
}[];
|
|
1884
|
-
|
|
1885
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1886
|
+
officeId?: string | null | undefined;
|
|
1885
1887
|
office?: {
|
|
1886
1888
|
id: string;
|
|
1887
1889
|
name: string;
|
|
1888
1890
|
managers?: {
|
|
1889
1891
|
id: string;
|
|
1890
|
-
firstName: string;
|
|
1891
1892
|
lastName: string;
|
|
1893
|
+
firstName: string;
|
|
1892
1894
|
}[] | undefined;
|
|
1893
1895
|
} | null | undefined;
|
|
1894
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1895
|
-
officeId?: string | null | undefined;
|
|
1896
1896
|
canImpersonateUsers?: {
|
|
1897
1897
|
id: string;
|
|
1898
|
-
firstName: string;
|
|
1899
1898
|
lastName: string;
|
|
1899
|
+
firstName: string;
|
|
1900
1900
|
}[] | undefined;
|
|
1901
1901
|
deletedAt?: string | null | undefined;
|
|
1902
1902
|
} | undefined;
|
|
1903
1903
|
}, {
|
|
1904
1904
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1905
1905
|
id: string;
|
|
1906
|
-
createdAt: string | Date;
|
|
1907
1906
|
updatedAt: string | Date;
|
|
1907
|
+
createdAt: string | Date;
|
|
1908
1908
|
companyId: string | null;
|
|
1909
1909
|
agentId: string | null;
|
|
1910
1910
|
leadId: string;
|
|
@@ -1913,28 +1913,30 @@ export declare const callHistoryContract: {
|
|
|
1913
1913
|
company?: {
|
|
1914
1914
|
id: string;
|
|
1915
1915
|
name: string;
|
|
1916
|
-
createdAt: string | Date;
|
|
1917
1916
|
updatedAt: string | Date;
|
|
1917
|
+
createdAt: string | Date;
|
|
1918
1918
|
} | null | undefined;
|
|
1919
1919
|
lead?: {
|
|
1920
|
-
phoneNumber: string;
|
|
1921
1920
|
name: string;
|
|
1921
|
+
phoneNumber: string;
|
|
1922
1922
|
} | undefined;
|
|
1923
1923
|
agent?: {
|
|
1924
1924
|
status: "ACTIVE" | "INACTIVE";
|
|
1925
1925
|
id: string;
|
|
1926
|
-
firstName: string;
|
|
1927
|
-
lastName: string;
|
|
1928
|
-
email: string;
|
|
1929
|
-
createdAt: string | Date;
|
|
1930
1926
|
updatedAt: string | Date;
|
|
1927
|
+
createdAt: string | Date;
|
|
1928
|
+
email: string;
|
|
1929
|
+
lastName: string;
|
|
1930
|
+
firstName: string;
|
|
1931
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1932
|
+
officeId?: string | null | undefined;
|
|
1931
1933
|
office?: {
|
|
1932
1934
|
id: string;
|
|
1933
1935
|
name: string;
|
|
1934
1936
|
managers?: {
|
|
1935
1937
|
id: string;
|
|
1936
|
-
firstName: string;
|
|
1937
1938
|
lastName: string;
|
|
1939
|
+
firstName: string;
|
|
1938
1940
|
}[] | undefined;
|
|
1939
1941
|
} | null | undefined;
|
|
1940
1942
|
phoneNumbers?: {
|
|
@@ -1943,12 +1945,10 @@ export declare const callHistoryContract: {
|
|
|
1943
1945
|
description?: string | null | undefined;
|
|
1944
1946
|
isPrimary?: boolean | undefined;
|
|
1945
1947
|
}[] | undefined;
|
|
1946
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1947
|
-
officeId?: string | null | undefined;
|
|
1948
1948
|
canImpersonateUsers?: {
|
|
1949
1949
|
id: string;
|
|
1950
|
-
firstName: string;
|
|
1951
1950
|
lastName: string;
|
|
1951
|
+
firstName: string;
|
|
1952
1952
|
}[] | undefined;
|
|
1953
1953
|
deletedAt?: string | Date | null | undefined;
|
|
1954
1954
|
} | undefined;
|
|
@@ -1962,8 +1962,8 @@ export declare const callHistoryContract: {
|
|
|
1962
1962
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1963
1963
|
}, "strip", z.ZodTypeAny, {
|
|
1964
1964
|
id: string;
|
|
1965
|
-
createdAt: string;
|
|
1966
1965
|
updatedAt: string;
|
|
1966
|
+
createdAt: string;
|
|
1967
1967
|
assignmentId: string;
|
|
1968
1968
|
rating: CallRating;
|
|
1969
1969
|
callType: CallType;
|
|
@@ -1975,8 +1975,8 @@ export declare const callHistoryContract: {
|
|
|
1975
1975
|
assignment?: {
|
|
1976
1976
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1977
1977
|
id: string;
|
|
1978
|
-
createdAt: string;
|
|
1979
1978
|
updatedAt: string;
|
|
1979
|
+
createdAt: string;
|
|
1980
1980
|
companyId: string | null;
|
|
1981
1981
|
agentId: string | null;
|
|
1982
1982
|
leadId: string;
|
|
@@ -1985,50 +1985,50 @@ export declare const callHistoryContract: {
|
|
|
1985
1985
|
company?: {
|
|
1986
1986
|
id: string;
|
|
1987
1987
|
name: string;
|
|
1988
|
-
createdAt: string;
|
|
1989
1988
|
updatedAt: string;
|
|
1989
|
+
createdAt: string;
|
|
1990
1990
|
} | null | undefined;
|
|
1991
1991
|
lead?: {
|
|
1992
|
-
phoneNumber: string;
|
|
1993
1992
|
name: string;
|
|
1993
|
+
phoneNumber: string;
|
|
1994
1994
|
} | undefined;
|
|
1995
1995
|
agent?: {
|
|
1996
1996
|
status: "ACTIVE" | "INACTIVE";
|
|
1997
1997
|
id: string;
|
|
1998
|
-
|
|
1999
|
-
lastName: string;
|
|
2000
|
-
email: string;
|
|
1998
|
+
updatedAt: string;
|
|
2001
1999
|
createdAt: string;
|
|
2000
|
+
email: string;
|
|
2001
|
+
lastName: string;
|
|
2002
|
+
firstName: string;
|
|
2002
2003
|
phoneNumbers: {
|
|
2003
2004
|
id: string;
|
|
2004
2005
|
phoneNumber: string;
|
|
2005
2006
|
isPrimary: boolean;
|
|
2006
2007
|
description?: string | null | undefined;
|
|
2007
2008
|
}[];
|
|
2008
|
-
|
|
2009
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2010
|
+
officeId?: string | null | undefined;
|
|
2009
2011
|
office?: {
|
|
2010
2012
|
id: string;
|
|
2011
2013
|
name: string;
|
|
2012
2014
|
managers?: {
|
|
2013
2015
|
id: string;
|
|
2014
|
-
firstName: string;
|
|
2015
2016
|
lastName: string;
|
|
2017
|
+
firstName: string;
|
|
2016
2018
|
}[] | undefined;
|
|
2017
2019
|
} | null | undefined;
|
|
2018
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2019
|
-
officeId?: string | null | undefined;
|
|
2020
2020
|
canImpersonateUsers?: {
|
|
2021
2021
|
id: string;
|
|
2022
|
-
firstName: string;
|
|
2023
2022
|
lastName: string;
|
|
2023
|
+
firstName: string;
|
|
2024
2024
|
}[] | undefined;
|
|
2025
2025
|
deletedAt?: string | null | undefined;
|
|
2026
2026
|
} | undefined;
|
|
2027
2027
|
} | null | undefined;
|
|
2028
2028
|
}, {
|
|
2029
2029
|
id: string;
|
|
2030
|
-
createdAt: string | Date;
|
|
2031
2030
|
updatedAt: string | Date;
|
|
2031
|
+
createdAt: string | Date;
|
|
2032
2032
|
assignmentId: string;
|
|
2033
2033
|
rating: CallRating;
|
|
2034
2034
|
callType: CallType;
|
|
@@ -2040,8 +2040,8 @@ export declare const callHistoryContract: {
|
|
|
2040
2040
|
assignment?: {
|
|
2041
2041
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2042
2042
|
id: string;
|
|
2043
|
-
createdAt: string | Date;
|
|
2044
2043
|
updatedAt: string | Date;
|
|
2044
|
+
createdAt: string | Date;
|
|
2045
2045
|
companyId: string | null;
|
|
2046
2046
|
agentId: string | null;
|
|
2047
2047
|
leadId: string;
|
|
@@ -2050,28 +2050,30 @@ export declare const callHistoryContract: {
|
|
|
2050
2050
|
company?: {
|
|
2051
2051
|
id: string;
|
|
2052
2052
|
name: string;
|
|
2053
|
-
createdAt: string | Date;
|
|
2054
2053
|
updatedAt: string | Date;
|
|
2054
|
+
createdAt: string | Date;
|
|
2055
2055
|
} | null | undefined;
|
|
2056
2056
|
lead?: {
|
|
2057
|
-
phoneNumber: string;
|
|
2058
2057
|
name: string;
|
|
2058
|
+
phoneNumber: string;
|
|
2059
2059
|
} | undefined;
|
|
2060
2060
|
agent?: {
|
|
2061
2061
|
status: "ACTIVE" | "INACTIVE";
|
|
2062
2062
|
id: string;
|
|
2063
|
-
firstName: string;
|
|
2064
|
-
lastName: string;
|
|
2065
|
-
email: string;
|
|
2066
|
-
createdAt: string | Date;
|
|
2067
2063
|
updatedAt: string | Date;
|
|
2064
|
+
createdAt: string | Date;
|
|
2065
|
+
email: string;
|
|
2066
|
+
lastName: string;
|
|
2067
|
+
firstName: string;
|
|
2068
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2069
|
+
officeId?: string | null | undefined;
|
|
2068
2070
|
office?: {
|
|
2069
2071
|
id: string;
|
|
2070
2072
|
name: string;
|
|
2071
2073
|
managers?: {
|
|
2072
2074
|
id: string;
|
|
2073
|
-
firstName: string;
|
|
2074
2075
|
lastName: string;
|
|
2076
|
+
firstName: string;
|
|
2075
2077
|
}[] | undefined;
|
|
2076
2078
|
} | null | undefined;
|
|
2077
2079
|
phoneNumbers?: {
|
|
@@ -2080,12 +2082,10 @@ export declare const callHistoryContract: {
|
|
|
2080
2082
|
description?: string | null | undefined;
|
|
2081
2083
|
isPrimary?: boolean | undefined;
|
|
2082
2084
|
}[] | undefined;
|
|
2083
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2084
|
-
officeId?: string | null | undefined;
|
|
2085
2085
|
canImpersonateUsers?: {
|
|
2086
2086
|
id: string;
|
|
2087
|
-
firstName: string;
|
|
2088
2087
|
lastName: string;
|
|
2088
|
+
firstName: string;
|
|
2089
2089
|
}[] | undefined;
|
|
2090
2090
|
deletedAt?: string | Date | null | undefined;
|
|
2091
2091
|
} | undefined;
|
|
@@ -2160,13 +2160,12 @@ export declare const callHistoryContract: {
|
|
|
2160
2160
|
order: "ASC" | "DESC";
|
|
2161
2161
|
}>, "many">>>;
|
|
2162
2162
|
}, "strip", z.ZodTypeAny, {
|
|
2163
|
-
limit: number;
|
|
2164
2163
|
page: number;
|
|
2164
|
+
limit: number;
|
|
2165
2165
|
sort?: {
|
|
2166
2166
|
field: CallHistorySortableFields;
|
|
2167
2167
|
order: "ASC" | "DESC";
|
|
2168
2168
|
}[] | null | undefined;
|
|
2169
|
-
phoneNumber?: string | undefined;
|
|
2170
2169
|
createdAt?: {
|
|
2171
2170
|
from?: string | null | undefined;
|
|
2172
2171
|
to?: string | null | undefined;
|
|
@@ -2180,14 +2179,14 @@ export declare const callHistoryContract: {
|
|
|
2180
2179
|
callType?: CallType | undefined;
|
|
2181
2180
|
leadSource?: LeadSource | undefined;
|
|
2182
2181
|
leadName?: string | undefined;
|
|
2182
|
+
phoneNumber?: string | undefined;
|
|
2183
2183
|
}, {
|
|
2184
2184
|
sort?: {
|
|
2185
2185
|
field: CallHistorySortableFields;
|
|
2186
2186
|
order: "ASC" | "DESC";
|
|
2187
2187
|
}[] | null | undefined;
|
|
2188
|
-
phoneNumber?: string | undefined;
|
|
2189
|
-
limit?: number | undefined;
|
|
2190
2188
|
page?: number | undefined;
|
|
2189
|
+
limit?: number | undefined;
|
|
2191
2190
|
createdAt?: {
|
|
2192
2191
|
from?: string | null | undefined;
|
|
2193
2192
|
to?: string | null | undefined;
|
|
@@ -2201,6 +2200,7 @@ export declare const callHistoryContract: {
|
|
|
2201
2200
|
callType?: CallType | undefined;
|
|
2202
2201
|
leadSource?: LeadSource | undefined;
|
|
2203
2202
|
leadName?: string | undefined;
|
|
2203
|
+
phoneNumber?: string | undefined;
|
|
2204
2204
|
}>;
|
|
2205
2205
|
metadata: {
|
|
2206
2206
|
tags: string[];
|
|
@@ -2332,11 +2332,11 @@ export declare const callHistoryContract: {
|
|
|
2332
2332
|
name: z.ZodString;
|
|
2333
2333
|
phoneNumber: z.ZodString;
|
|
2334
2334
|
}, "strip", z.ZodTypeAny, {
|
|
2335
|
-
phoneNumber: string;
|
|
2336
2335
|
name: string;
|
|
2337
|
-
}, {
|
|
2338
2336
|
phoneNumber: string;
|
|
2337
|
+
}, {
|
|
2339
2338
|
name: string;
|
|
2339
|
+
phoneNumber: string;
|
|
2340
2340
|
}>>>;
|
|
2341
2341
|
agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2342
2342
|
id: z.ZodString;
|
|
@@ -2361,8 +2361,8 @@ export declare const callHistoryContract: {
|
|
|
2361
2361
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2362
2362
|
}, "strip", z.ZodTypeAny, {
|
|
2363
2363
|
id: string;
|
|
2364
|
-
firstName: string;
|
|
2365
2364
|
lastName: string;
|
|
2365
|
+
firstName: string;
|
|
2366
2366
|
phoneNumbers: {
|
|
2367
2367
|
id: string;
|
|
2368
2368
|
phoneNumber: string;
|
|
@@ -2372,8 +2372,8 @@ export declare const callHistoryContract: {
|
|
|
2372
2372
|
deletedAt?: string | null | undefined;
|
|
2373
2373
|
}, {
|
|
2374
2374
|
id: string;
|
|
2375
|
-
firstName: string;
|
|
2376
2375
|
lastName: string;
|
|
2376
|
+
firstName: string;
|
|
2377
2377
|
phoneNumbers?: {
|
|
2378
2378
|
id: string;
|
|
2379
2379
|
phoneNumber: string;
|
|
@@ -2394,8 +2394,8 @@ export declare const callHistoryContract: {
|
|
|
2394
2394
|
}>>>;
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
id: string;
|
|
2397
|
-
createdAt: string;
|
|
2398
2397
|
updatedAt: string;
|
|
2398
|
+
createdAt: string;
|
|
2399
2399
|
agentId: string;
|
|
2400
2400
|
assignmentId: string;
|
|
2401
2401
|
rating: CallRating;
|
|
@@ -2411,13 +2411,13 @@ export declare const callHistoryContract: {
|
|
|
2411
2411
|
agentId: string | null;
|
|
2412
2412
|
} | null | undefined;
|
|
2413
2413
|
lead?: {
|
|
2414
|
-
phoneNumber: string;
|
|
2415
2414
|
name: string;
|
|
2415
|
+
phoneNumber: string;
|
|
2416
2416
|
} | null | undefined;
|
|
2417
2417
|
agent?: {
|
|
2418
2418
|
id: string;
|
|
2419
|
-
firstName: string;
|
|
2420
2419
|
lastName: string;
|
|
2420
|
+
firstName: string;
|
|
2421
2421
|
phoneNumbers: {
|
|
2422
2422
|
id: string;
|
|
2423
2423
|
phoneNumber: string;
|
|
@@ -2428,8 +2428,8 @@ export declare const callHistoryContract: {
|
|
|
2428
2428
|
} | null | undefined;
|
|
2429
2429
|
}, {
|
|
2430
2430
|
id: string;
|
|
2431
|
-
createdAt: string | Date;
|
|
2432
2431
|
updatedAt: string | Date;
|
|
2432
|
+
createdAt: string | Date;
|
|
2433
2433
|
agentId: string;
|
|
2434
2434
|
assignmentId: string;
|
|
2435
2435
|
rating: CallRating;
|
|
@@ -2445,13 +2445,13 @@ export declare const callHistoryContract: {
|
|
|
2445
2445
|
agentId: string | null;
|
|
2446
2446
|
} | null | undefined;
|
|
2447
2447
|
lead?: {
|
|
2448
|
-
phoneNumber: string;
|
|
2449
2448
|
name: string;
|
|
2449
|
+
phoneNumber: string;
|
|
2450
2450
|
} | null | undefined;
|
|
2451
2451
|
agent?: {
|
|
2452
2452
|
id: string;
|
|
2453
|
-
firstName: string;
|
|
2454
2453
|
lastName: string;
|
|
2454
|
+
firstName: string;
|
|
2455
2455
|
phoneNumbers?: {
|
|
2456
2456
|
id: string;
|
|
2457
2457
|
phoneNumber: string;
|
|
@@ -2470,8 +2470,8 @@ export declare const callHistoryContract: {
|
|
|
2470
2470
|
limit: number;
|
|
2471
2471
|
items: {
|
|
2472
2472
|
id: string;
|
|
2473
|
-
createdAt: string;
|
|
2474
2473
|
updatedAt: string;
|
|
2474
|
+
createdAt: string;
|
|
2475
2475
|
agentId: string;
|
|
2476
2476
|
assignmentId: string;
|
|
2477
2477
|
rating: CallRating;
|
|
@@ -2487,13 +2487,13 @@ export declare const callHistoryContract: {
|
|
|
2487
2487
|
agentId: string | null;
|
|
2488
2488
|
} | null | undefined;
|
|
2489
2489
|
lead?: {
|
|
2490
|
-
phoneNumber: string;
|
|
2491
2490
|
name: string;
|
|
2491
|
+
phoneNumber: string;
|
|
2492
2492
|
} | null | undefined;
|
|
2493
2493
|
agent?: {
|
|
2494
2494
|
id: string;
|
|
2495
|
-
firstName: string;
|
|
2496
2495
|
lastName: string;
|
|
2496
|
+
firstName: string;
|
|
2497
2497
|
phoneNumbers: {
|
|
2498
2498
|
id: string;
|
|
2499
2499
|
phoneNumber: string;
|
|
@@ -2511,8 +2511,8 @@ export declare const callHistoryContract: {
|
|
|
2511
2511
|
limit: number;
|
|
2512
2512
|
items: {
|
|
2513
2513
|
id: string;
|
|
2514
|
-
createdAt: string | Date;
|
|
2515
2514
|
updatedAt: string | Date;
|
|
2515
|
+
createdAt: string | Date;
|
|
2516
2516
|
agentId: string;
|
|
2517
2517
|
assignmentId: string;
|
|
2518
2518
|
rating: CallRating;
|
|
@@ -2528,13 +2528,13 @@ export declare const callHistoryContract: {
|
|
|
2528
2528
|
agentId: string | null;
|
|
2529
2529
|
} | null | undefined;
|
|
2530
2530
|
lead?: {
|
|
2531
|
-
phoneNumber: string;
|
|
2532
2531
|
name: string;
|
|
2532
|
+
phoneNumber: string;
|
|
2533
2533
|
} | null | undefined;
|
|
2534
2534
|
agent?: {
|
|
2535
2535
|
id: string;
|
|
2536
|
-
firstName: string;
|
|
2537
2536
|
lastName: string;
|
|
2537
|
+
firstName: string;
|
|
2538
2538
|
phoneNumbers?: {
|
|
2539
2539
|
id: string;
|
|
2540
2540
|
phoneNumber: string;
|
|
@@ -2678,11 +2678,11 @@ export declare const callHistoryContract: {
|
|
|
2678
2678
|
name: z.ZodString;
|
|
2679
2679
|
phoneNumber: z.ZodString;
|
|
2680
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2681
|
-
phoneNumber: string;
|
|
2682
2681
|
name: string;
|
|
2683
|
-
}, {
|
|
2684
2682
|
phoneNumber: string;
|
|
2683
|
+
}, {
|
|
2685
2684
|
name: string;
|
|
2685
|
+
phoneNumber: string;
|
|
2686
2686
|
}>>;
|
|
2687
2687
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2688
2688
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2717,28 +2717,28 @@ export declare const callHistoryContract: {
|
|
|
2717
2717
|
lastName: z.ZodString;
|
|
2718
2718
|
}, "strip", z.ZodTypeAny, {
|
|
2719
2719
|
id: string;
|
|
2720
|
-
firstName: string;
|
|
2721
2720
|
lastName: string;
|
|
2721
|
+
firstName: string;
|
|
2722
2722
|
}, {
|
|
2723
2723
|
id: string;
|
|
2724
|
-
firstName: string;
|
|
2725
2724
|
lastName: string;
|
|
2725
|
+
firstName: string;
|
|
2726
2726
|
}>, "many">>;
|
|
2727
2727
|
}, "strip", z.ZodTypeAny, {
|
|
2728
2728
|
id: string;
|
|
2729
2729
|
name: string;
|
|
2730
2730
|
managers?: {
|
|
2731
2731
|
id: string;
|
|
2732
|
-
firstName: string;
|
|
2733
2732
|
lastName: string;
|
|
2733
|
+
firstName: string;
|
|
2734
2734
|
}[] | undefined;
|
|
2735
2735
|
}, {
|
|
2736
2736
|
id: string;
|
|
2737
2737
|
name: string;
|
|
2738
2738
|
managers?: {
|
|
2739
2739
|
id: string;
|
|
2740
|
-
firstName: string;
|
|
2741
2740
|
lastName: string;
|
|
2741
|
+
firstName: string;
|
|
2742
2742
|
}[] | undefined;
|
|
2743
2743
|
}>>>;
|
|
2744
2744
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2747,12 +2747,12 @@ export declare const callHistoryContract: {
|
|
|
2747
2747
|
lastName: z.ZodString;
|
|
2748
2748
|
}, "strip", z.ZodTypeAny, {
|
|
2749
2749
|
id: string;
|
|
2750
|
-
firstName: string;
|
|
2751
2750
|
lastName: string;
|
|
2751
|
+
firstName: string;
|
|
2752
2752
|
}, {
|
|
2753
2753
|
id: string;
|
|
2754
|
-
firstName: string;
|
|
2755
2754
|
lastName: string;
|
|
2755
|
+
firstName: string;
|
|
2756
2756
|
}>, "many">>;
|
|
2757
2757
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2758
2758
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2761,49 +2761,51 @@ export declare const callHistoryContract: {
|
|
|
2761
2761
|
}, "strip", z.ZodTypeAny, {
|
|
2762
2762
|
status: "ACTIVE" | "INACTIVE";
|
|
2763
2763
|
id: string;
|
|
2764
|
-
|
|
2765
|
-
lastName: string;
|
|
2766
|
-
email: string;
|
|
2764
|
+
updatedAt: string;
|
|
2767
2765
|
createdAt: string;
|
|
2766
|
+
email: string;
|
|
2767
|
+
lastName: string;
|
|
2768
|
+
firstName: string;
|
|
2768
2769
|
phoneNumbers: {
|
|
2769
2770
|
id: string;
|
|
2770
2771
|
phoneNumber: string;
|
|
2771
2772
|
isPrimary: boolean;
|
|
2772
2773
|
description?: string | null | undefined;
|
|
2773
2774
|
}[];
|
|
2774
|
-
|
|
2775
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2776
|
+
officeId?: string | null | undefined;
|
|
2775
2777
|
office?: {
|
|
2776
2778
|
id: string;
|
|
2777
2779
|
name: string;
|
|
2778
2780
|
managers?: {
|
|
2779
2781
|
id: string;
|
|
2780
|
-
firstName: string;
|
|
2781
2782
|
lastName: string;
|
|
2783
|
+
firstName: string;
|
|
2782
2784
|
}[] | undefined;
|
|
2783
2785
|
} | null | undefined;
|
|
2784
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2785
|
-
officeId?: string | null | undefined;
|
|
2786
2786
|
canImpersonateUsers?: {
|
|
2787
2787
|
id: string;
|
|
2788
|
-
firstName: string;
|
|
2789
2788
|
lastName: string;
|
|
2789
|
+
firstName: string;
|
|
2790
2790
|
}[] | undefined;
|
|
2791
2791
|
deletedAt?: string | null | undefined;
|
|
2792
2792
|
}, {
|
|
2793
2793
|
status: "ACTIVE" | "INACTIVE";
|
|
2794
2794
|
id: string;
|
|
2795
|
-
firstName: string;
|
|
2796
|
-
lastName: string;
|
|
2797
|
-
email: string;
|
|
2798
|
-
createdAt: string | Date;
|
|
2799
2795
|
updatedAt: string | Date;
|
|
2796
|
+
createdAt: string | Date;
|
|
2797
|
+
email: string;
|
|
2798
|
+
lastName: string;
|
|
2799
|
+
firstName: string;
|
|
2800
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2801
|
+
officeId?: string | null | undefined;
|
|
2800
2802
|
office?: {
|
|
2801
2803
|
id: string;
|
|
2802
2804
|
name: string;
|
|
2803
2805
|
managers?: {
|
|
2804
2806
|
id: string;
|
|
2805
|
-
firstName: string;
|
|
2806
2807
|
lastName: string;
|
|
2808
|
+
firstName: string;
|
|
2807
2809
|
}[] | undefined;
|
|
2808
2810
|
} | null | undefined;
|
|
2809
2811
|
phoneNumbers?: {
|
|
@@ -2812,12 +2814,10 @@ export declare const callHistoryContract: {
|
|
|
2812
2814
|
description?: string | null | undefined;
|
|
2813
2815
|
isPrimary?: boolean | undefined;
|
|
2814
2816
|
}[] | undefined;
|
|
2815
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2816
|
-
officeId?: string | null | undefined;
|
|
2817
2817
|
canImpersonateUsers?: {
|
|
2818
2818
|
id: string;
|
|
2819
|
-
firstName: string;
|
|
2820
2819
|
lastName: string;
|
|
2820
|
+
firstName: string;
|
|
2821
2821
|
}[] | undefined;
|
|
2822
2822
|
deletedAt?: string | Date | null | undefined;
|
|
2823
2823
|
}>>;
|
|
@@ -2833,21 +2833,21 @@ export declare const callHistoryContract: {
|
|
|
2833
2833
|
}, "strip", z.ZodTypeAny, {
|
|
2834
2834
|
id: string;
|
|
2835
2835
|
name: string;
|
|
2836
|
-
createdAt: string;
|
|
2837
2836
|
updatedAt: string;
|
|
2837
|
+
createdAt: string;
|
|
2838
2838
|
}, {
|
|
2839
2839
|
id: string;
|
|
2840
2840
|
name: string;
|
|
2841
|
-
createdAt: string | Date;
|
|
2842
2841
|
updatedAt: string | Date;
|
|
2842
|
+
createdAt: string | Date;
|
|
2843
2843
|
}>>>;
|
|
2844
2844
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2845
2845
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2846
2846
|
}, "strip", z.ZodTypeAny, {
|
|
2847
2847
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2848
2848
|
id: string;
|
|
2849
|
-
createdAt: string;
|
|
2850
2849
|
updatedAt: string;
|
|
2850
|
+
createdAt: string;
|
|
2851
2851
|
companyId: string | null;
|
|
2852
2852
|
agentId: string | null;
|
|
2853
2853
|
leadId: string;
|
|
@@ -2856,50 +2856,50 @@ export declare const callHistoryContract: {
|
|
|
2856
2856
|
company?: {
|
|
2857
2857
|
id: string;
|
|
2858
2858
|
name: string;
|
|
2859
|
-
createdAt: string;
|
|
2860
2859
|
updatedAt: string;
|
|
2860
|
+
createdAt: string;
|
|
2861
2861
|
} | null | undefined;
|
|
2862
2862
|
lead?: {
|
|
2863
|
-
phoneNumber: string;
|
|
2864
2863
|
name: string;
|
|
2864
|
+
phoneNumber: string;
|
|
2865
2865
|
} | undefined;
|
|
2866
2866
|
agent?: {
|
|
2867
2867
|
status: "ACTIVE" | "INACTIVE";
|
|
2868
2868
|
id: string;
|
|
2869
|
-
|
|
2870
|
-
lastName: string;
|
|
2871
|
-
email: string;
|
|
2869
|
+
updatedAt: string;
|
|
2872
2870
|
createdAt: string;
|
|
2871
|
+
email: string;
|
|
2872
|
+
lastName: string;
|
|
2873
|
+
firstName: string;
|
|
2873
2874
|
phoneNumbers: {
|
|
2874
2875
|
id: string;
|
|
2875
2876
|
phoneNumber: string;
|
|
2876
2877
|
isPrimary: boolean;
|
|
2877
2878
|
description?: string | null | undefined;
|
|
2878
2879
|
}[];
|
|
2879
|
-
|
|
2880
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2881
|
+
officeId?: string | null | undefined;
|
|
2880
2882
|
office?: {
|
|
2881
2883
|
id: string;
|
|
2882
2884
|
name: string;
|
|
2883
2885
|
managers?: {
|
|
2884
2886
|
id: string;
|
|
2885
|
-
firstName: string;
|
|
2886
2887
|
lastName: string;
|
|
2888
|
+
firstName: string;
|
|
2887
2889
|
}[] | undefined;
|
|
2888
2890
|
} | null | undefined;
|
|
2889
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2890
|
-
officeId?: string | null | undefined;
|
|
2891
2891
|
canImpersonateUsers?: {
|
|
2892
2892
|
id: string;
|
|
2893
|
-
firstName: string;
|
|
2894
2893
|
lastName: string;
|
|
2894
|
+
firstName: string;
|
|
2895
2895
|
}[] | undefined;
|
|
2896
2896
|
deletedAt?: string | null | undefined;
|
|
2897
2897
|
} | undefined;
|
|
2898
2898
|
}, {
|
|
2899
2899
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2900
2900
|
id: string;
|
|
2901
|
-
createdAt: string | Date;
|
|
2902
2901
|
updatedAt: string | Date;
|
|
2902
|
+
createdAt: string | Date;
|
|
2903
2903
|
companyId: string | null;
|
|
2904
2904
|
agentId: string | null;
|
|
2905
2905
|
leadId: string;
|
|
@@ -2908,28 +2908,30 @@ export declare const callHistoryContract: {
|
|
|
2908
2908
|
company?: {
|
|
2909
2909
|
id: string;
|
|
2910
2910
|
name: string;
|
|
2911
|
-
createdAt: string | Date;
|
|
2912
2911
|
updatedAt: string | Date;
|
|
2912
|
+
createdAt: string | Date;
|
|
2913
2913
|
} | null | undefined;
|
|
2914
2914
|
lead?: {
|
|
2915
|
-
phoneNumber: string;
|
|
2916
2915
|
name: string;
|
|
2916
|
+
phoneNumber: string;
|
|
2917
2917
|
} | undefined;
|
|
2918
2918
|
agent?: {
|
|
2919
2919
|
status: "ACTIVE" | "INACTIVE";
|
|
2920
2920
|
id: string;
|
|
2921
|
-
firstName: string;
|
|
2922
|
-
lastName: string;
|
|
2923
|
-
email: string;
|
|
2924
|
-
createdAt: string | Date;
|
|
2925
2921
|
updatedAt: string | Date;
|
|
2922
|
+
createdAt: string | Date;
|
|
2923
|
+
email: string;
|
|
2924
|
+
lastName: string;
|
|
2925
|
+
firstName: string;
|
|
2926
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2927
|
+
officeId?: string | null | undefined;
|
|
2926
2928
|
office?: {
|
|
2927
2929
|
id: string;
|
|
2928
2930
|
name: string;
|
|
2929
2931
|
managers?: {
|
|
2930
2932
|
id: string;
|
|
2931
|
-
firstName: string;
|
|
2932
2933
|
lastName: string;
|
|
2934
|
+
firstName: string;
|
|
2933
2935
|
}[] | undefined;
|
|
2934
2936
|
} | null | undefined;
|
|
2935
2937
|
phoneNumbers?: {
|
|
@@ -2938,12 +2940,10 @@ export declare const callHistoryContract: {
|
|
|
2938
2940
|
description?: string | null | undefined;
|
|
2939
2941
|
isPrimary?: boolean | undefined;
|
|
2940
2942
|
}[] | undefined;
|
|
2941
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2942
|
-
officeId?: string | null | undefined;
|
|
2943
2943
|
canImpersonateUsers?: {
|
|
2944
2944
|
id: string;
|
|
2945
|
-
firstName: string;
|
|
2946
2945
|
lastName: string;
|
|
2946
|
+
firstName: string;
|
|
2947
2947
|
}[] | undefined;
|
|
2948
2948
|
deletedAt?: string | Date | null | undefined;
|
|
2949
2949
|
} | undefined;
|
|
@@ -2957,8 +2957,8 @@ export declare const callHistoryContract: {
|
|
|
2957
2957
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2958
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2959
2959
|
id: string;
|
|
2960
|
-
createdAt: string;
|
|
2961
2960
|
updatedAt: string;
|
|
2961
|
+
createdAt: string;
|
|
2962
2962
|
assignmentId: string;
|
|
2963
2963
|
rating: CallRating;
|
|
2964
2964
|
callType: CallType;
|
|
@@ -2970,8 +2970,8 @@ export declare const callHistoryContract: {
|
|
|
2970
2970
|
assignment?: {
|
|
2971
2971
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2972
2972
|
id: string;
|
|
2973
|
-
createdAt: string;
|
|
2974
2973
|
updatedAt: string;
|
|
2974
|
+
createdAt: string;
|
|
2975
2975
|
companyId: string | null;
|
|
2976
2976
|
agentId: string | null;
|
|
2977
2977
|
leadId: string;
|
|
@@ -2980,50 +2980,50 @@ export declare const callHistoryContract: {
|
|
|
2980
2980
|
company?: {
|
|
2981
2981
|
id: string;
|
|
2982
2982
|
name: string;
|
|
2983
|
-
createdAt: string;
|
|
2984
2983
|
updatedAt: string;
|
|
2984
|
+
createdAt: string;
|
|
2985
2985
|
} | null | undefined;
|
|
2986
2986
|
lead?: {
|
|
2987
|
-
phoneNumber: string;
|
|
2988
2987
|
name: string;
|
|
2988
|
+
phoneNumber: string;
|
|
2989
2989
|
} | undefined;
|
|
2990
2990
|
agent?: {
|
|
2991
2991
|
status: "ACTIVE" | "INACTIVE";
|
|
2992
2992
|
id: string;
|
|
2993
|
-
|
|
2994
|
-
lastName: string;
|
|
2995
|
-
email: string;
|
|
2993
|
+
updatedAt: string;
|
|
2996
2994
|
createdAt: string;
|
|
2995
|
+
email: string;
|
|
2996
|
+
lastName: string;
|
|
2997
|
+
firstName: string;
|
|
2997
2998
|
phoneNumbers: {
|
|
2998
2999
|
id: string;
|
|
2999
3000
|
phoneNumber: string;
|
|
3000
3001
|
isPrimary: boolean;
|
|
3001
3002
|
description?: string | null | undefined;
|
|
3002
3003
|
}[];
|
|
3003
|
-
|
|
3004
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3005
|
+
officeId?: string | null | undefined;
|
|
3004
3006
|
office?: {
|
|
3005
3007
|
id: string;
|
|
3006
3008
|
name: string;
|
|
3007
3009
|
managers?: {
|
|
3008
3010
|
id: string;
|
|
3009
|
-
firstName: string;
|
|
3010
3011
|
lastName: string;
|
|
3012
|
+
firstName: string;
|
|
3011
3013
|
}[] | undefined;
|
|
3012
3014
|
} | null | undefined;
|
|
3013
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3014
|
-
officeId?: string | null | undefined;
|
|
3015
3015
|
canImpersonateUsers?: {
|
|
3016
3016
|
id: string;
|
|
3017
|
-
firstName: string;
|
|
3018
3017
|
lastName: string;
|
|
3018
|
+
firstName: string;
|
|
3019
3019
|
}[] | undefined;
|
|
3020
3020
|
deletedAt?: string | null | undefined;
|
|
3021
3021
|
} | undefined;
|
|
3022
3022
|
} | null | undefined;
|
|
3023
3023
|
}, {
|
|
3024
3024
|
id: string;
|
|
3025
|
-
createdAt: string | Date;
|
|
3026
3025
|
updatedAt: string | Date;
|
|
3026
|
+
createdAt: string | Date;
|
|
3027
3027
|
assignmentId: string;
|
|
3028
3028
|
rating: CallRating;
|
|
3029
3029
|
callType: CallType;
|
|
@@ -3035,8 +3035,8 @@ export declare const callHistoryContract: {
|
|
|
3035
3035
|
assignment?: {
|
|
3036
3036
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3037
3037
|
id: string;
|
|
3038
|
-
createdAt: string | Date;
|
|
3039
3038
|
updatedAt: string | Date;
|
|
3039
|
+
createdAt: string | Date;
|
|
3040
3040
|
companyId: string | null;
|
|
3041
3041
|
agentId: string | null;
|
|
3042
3042
|
leadId: string;
|
|
@@ -3045,28 +3045,30 @@ export declare const callHistoryContract: {
|
|
|
3045
3045
|
company?: {
|
|
3046
3046
|
id: string;
|
|
3047
3047
|
name: string;
|
|
3048
|
-
createdAt: string | Date;
|
|
3049
3048
|
updatedAt: string | Date;
|
|
3049
|
+
createdAt: string | Date;
|
|
3050
3050
|
} | null | undefined;
|
|
3051
3051
|
lead?: {
|
|
3052
|
-
phoneNumber: string;
|
|
3053
3052
|
name: string;
|
|
3053
|
+
phoneNumber: string;
|
|
3054
3054
|
} | undefined;
|
|
3055
3055
|
agent?: {
|
|
3056
3056
|
status: "ACTIVE" | "INACTIVE";
|
|
3057
3057
|
id: string;
|
|
3058
|
-
firstName: string;
|
|
3059
|
-
lastName: string;
|
|
3060
|
-
email: string;
|
|
3061
|
-
createdAt: string | Date;
|
|
3062
3058
|
updatedAt: string | Date;
|
|
3059
|
+
createdAt: string | Date;
|
|
3060
|
+
email: string;
|
|
3061
|
+
lastName: string;
|
|
3062
|
+
firstName: string;
|
|
3063
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3064
|
+
officeId?: string | null | undefined;
|
|
3063
3065
|
office?: {
|
|
3064
3066
|
id: string;
|
|
3065
3067
|
name: string;
|
|
3066
3068
|
managers?: {
|
|
3067
3069
|
id: string;
|
|
3068
|
-
firstName: string;
|
|
3069
3070
|
lastName: string;
|
|
3071
|
+
firstName: string;
|
|
3070
3072
|
}[] | undefined;
|
|
3071
3073
|
} | null | undefined;
|
|
3072
3074
|
phoneNumbers?: {
|
|
@@ -3075,12 +3077,10 @@ export declare const callHistoryContract: {
|
|
|
3075
3077
|
description?: string | null | undefined;
|
|
3076
3078
|
isPrimary?: boolean | undefined;
|
|
3077
3079
|
}[] | undefined;
|
|
3078
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3079
|
-
officeId?: string | null | undefined;
|
|
3080
3080
|
canImpersonateUsers?: {
|
|
3081
3081
|
id: string;
|
|
3082
|
-
firstName: string;
|
|
3083
3082
|
lastName: string;
|
|
3083
|
+
firstName: string;
|
|
3084
3084
|
}[] | undefined;
|
|
3085
3085
|
deletedAt?: string | Date | null | undefined;
|
|
3086
3086
|
} | undefined;
|
|
@@ -3250,11 +3250,11 @@ export declare const callHistoryContract: {
|
|
|
3250
3250
|
name: z.ZodString;
|
|
3251
3251
|
phoneNumber: z.ZodString;
|
|
3252
3252
|
}, "strip", z.ZodTypeAny, {
|
|
3253
|
-
phoneNumber: string;
|
|
3254
3253
|
name: string;
|
|
3255
|
-
}, {
|
|
3256
3254
|
phoneNumber: string;
|
|
3255
|
+
}, {
|
|
3257
3256
|
name: string;
|
|
3257
|
+
phoneNumber: string;
|
|
3258
3258
|
}>>;
|
|
3259
3259
|
agentId: z.ZodNullable<z.ZodString>;
|
|
3260
3260
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -3289,28 +3289,28 @@ export declare const callHistoryContract: {
|
|
|
3289
3289
|
lastName: z.ZodString;
|
|
3290
3290
|
}, "strip", z.ZodTypeAny, {
|
|
3291
3291
|
id: string;
|
|
3292
|
-
firstName: string;
|
|
3293
3292
|
lastName: string;
|
|
3293
|
+
firstName: string;
|
|
3294
3294
|
}, {
|
|
3295
3295
|
id: string;
|
|
3296
|
-
firstName: string;
|
|
3297
3296
|
lastName: string;
|
|
3297
|
+
firstName: string;
|
|
3298
3298
|
}>, "many">>;
|
|
3299
3299
|
}, "strip", z.ZodTypeAny, {
|
|
3300
3300
|
id: string;
|
|
3301
3301
|
name: string;
|
|
3302
3302
|
managers?: {
|
|
3303
3303
|
id: string;
|
|
3304
|
-
firstName: string;
|
|
3305
3304
|
lastName: string;
|
|
3305
|
+
firstName: string;
|
|
3306
3306
|
}[] | undefined;
|
|
3307
3307
|
}, {
|
|
3308
3308
|
id: string;
|
|
3309
3309
|
name: string;
|
|
3310
3310
|
managers?: {
|
|
3311
3311
|
id: string;
|
|
3312
|
-
firstName: string;
|
|
3313
3312
|
lastName: string;
|
|
3313
|
+
firstName: string;
|
|
3314
3314
|
}[] | undefined;
|
|
3315
3315
|
}>>>;
|
|
3316
3316
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3319,12 +3319,12 @@ export declare const callHistoryContract: {
|
|
|
3319
3319
|
lastName: z.ZodString;
|
|
3320
3320
|
}, "strip", z.ZodTypeAny, {
|
|
3321
3321
|
id: string;
|
|
3322
|
-
firstName: string;
|
|
3323
3322
|
lastName: string;
|
|
3323
|
+
firstName: string;
|
|
3324
3324
|
}, {
|
|
3325
3325
|
id: string;
|
|
3326
|
-
firstName: string;
|
|
3327
3326
|
lastName: string;
|
|
3327
|
+
firstName: string;
|
|
3328
3328
|
}>, "many">>;
|
|
3329
3329
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3330
3330
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -3333,49 +3333,51 @@ export declare const callHistoryContract: {
|
|
|
3333
3333
|
}, "strip", z.ZodTypeAny, {
|
|
3334
3334
|
status: "ACTIVE" | "INACTIVE";
|
|
3335
3335
|
id: string;
|
|
3336
|
-
|
|
3337
|
-
lastName: string;
|
|
3338
|
-
email: string;
|
|
3336
|
+
updatedAt: string;
|
|
3339
3337
|
createdAt: string;
|
|
3338
|
+
email: string;
|
|
3339
|
+
lastName: string;
|
|
3340
|
+
firstName: string;
|
|
3340
3341
|
phoneNumbers: {
|
|
3341
3342
|
id: string;
|
|
3342
3343
|
phoneNumber: string;
|
|
3343
3344
|
isPrimary: boolean;
|
|
3344
3345
|
description?: string | null | undefined;
|
|
3345
3346
|
}[];
|
|
3346
|
-
|
|
3347
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3348
|
+
officeId?: string | null | undefined;
|
|
3347
3349
|
office?: {
|
|
3348
3350
|
id: string;
|
|
3349
3351
|
name: string;
|
|
3350
3352
|
managers?: {
|
|
3351
3353
|
id: string;
|
|
3352
|
-
firstName: string;
|
|
3353
3354
|
lastName: string;
|
|
3355
|
+
firstName: string;
|
|
3354
3356
|
}[] | undefined;
|
|
3355
3357
|
} | null | undefined;
|
|
3356
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3357
|
-
officeId?: string | null | undefined;
|
|
3358
3358
|
canImpersonateUsers?: {
|
|
3359
3359
|
id: string;
|
|
3360
|
-
firstName: string;
|
|
3361
3360
|
lastName: string;
|
|
3361
|
+
firstName: string;
|
|
3362
3362
|
}[] | undefined;
|
|
3363
3363
|
deletedAt?: string | null | undefined;
|
|
3364
3364
|
}, {
|
|
3365
3365
|
status: "ACTIVE" | "INACTIVE";
|
|
3366
3366
|
id: string;
|
|
3367
|
-
firstName: string;
|
|
3368
|
-
lastName: string;
|
|
3369
|
-
email: string;
|
|
3370
|
-
createdAt: string | Date;
|
|
3371
3367
|
updatedAt: string | Date;
|
|
3368
|
+
createdAt: string | Date;
|
|
3369
|
+
email: string;
|
|
3370
|
+
lastName: string;
|
|
3371
|
+
firstName: string;
|
|
3372
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3373
|
+
officeId?: string | null | undefined;
|
|
3372
3374
|
office?: {
|
|
3373
3375
|
id: string;
|
|
3374
3376
|
name: string;
|
|
3375
3377
|
managers?: {
|
|
3376
3378
|
id: string;
|
|
3377
|
-
firstName: string;
|
|
3378
3379
|
lastName: string;
|
|
3380
|
+
firstName: string;
|
|
3379
3381
|
}[] | undefined;
|
|
3380
3382
|
} | null | undefined;
|
|
3381
3383
|
phoneNumbers?: {
|
|
@@ -3384,12 +3386,10 @@ export declare const callHistoryContract: {
|
|
|
3384
3386
|
description?: string | null | undefined;
|
|
3385
3387
|
isPrimary?: boolean | undefined;
|
|
3386
3388
|
}[] | undefined;
|
|
3387
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3388
|
-
officeId?: string | null | undefined;
|
|
3389
3389
|
canImpersonateUsers?: {
|
|
3390
3390
|
id: string;
|
|
3391
|
-
firstName: string;
|
|
3392
3391
|
lastName: string;
|
|
3392
|
+
firstName: string;
|
|
3393
3393
|
}[] | undefined;
|
|
3394
3394
|
deletedAt?: string | Date | null | undefined;
|
|
3395
3395
|
}>>;
|
|
@@ -3405,21 +3405,21 @@ export declare const callHistoryContract: {
|
|
|
3405
3405
|
}, "strip", z.ZodTypeAny, {
|
|
3406
3406
|
id: string;
|
|
3407
3407
|
name: string;
|
|
3408
|
-
createdAt: string;
|
|
3409
3408
|
updatedAt: string;
|
|
3409
|
+
createdAt: string;
|
|
3410
3410
|
}, {
|
|
3411
3411
|
id: string;
|
|
3412
3412
|
name: string;
|
|
3413
|
-
createdAt: string | Date;
|
|
3414
3413
|
updatedAt: string | Date;
|
|
3414
|
+
createdAt: string | Date;
|
|
3415
3415
|
}>>>;
|
|
3416
3416
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3417
3417
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3418
3418
|
}, "strip", z.ZodTypeAny, {
|
|
3419
3419
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3420
3420
|
id: string;
|
|
3421
|
-
createdAt: string;
|
|
3422
3421
|
updatedAt: string;
|
|
3422
|
+
createdAt: string;
|
|
3423
3423
|
companyId: string | null;
|
|
3424
3424
|
agentId: string | null;
|
|
3425
3425
|
leadId: string;
|
|
@@ -3428,50 +3428,50 @@ export declare const callHistoryContract: {
|
|
|
3428
3428
|
company?: {
|
|
3429
3429
|
id: string;
|
|
3430
3430
|
name: string;
|
|
3431
|
-
createdAt: string;
|
|
3432
3431
|
updatedAt: string;
|
|
3432
|
+
createdAt: string;
|
|
3433
3433
|
} | null | undefined;
|
|
3434
3434
|
lead?: {
|
|
3435
|
-
phoneNumber: string;
|
|
3436
3435
|
name: string;
|
|
3436
|
+
phoneNumber: string;
|
|
3437
3437
|
} | undefined;
|
|
3438
3438
|
agent?: {
|
|
3439
3439
|
status: "ACTIVE" | "INACTIVE";
|
|
3440
3440
|
id: string;
|
|
3441
|
-
|
|
3442
|
-
lastName: string;
|
|
3443
|
-
email: string;
|
|
3441
|
+
updatedAt: string;
|
|
3444
3442
|
createdAt: string;
|
|
3443
|
+
email: string;
|
|
3444
|
+
lastName: string;
|
|
3445
|
+
firstName: string;
|
|
3445
3446
|
phoneNumbers: {
|
|
3446
3447
|
id: string;
|
|
3447
3448
|
phoneNumber: string;
|
|
3448
3449
|
isPrimary: boolean;
|
|
3449
3450
|
description?: string | null | undefined;
|
|
3450
3451
|
}[];
|
|
3451
|
-
|
|
3452
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3453
|
+
officeId?: string | null | undefined;
|
|
3452
3454
|
office?: {
|
|
3453
3455
|
id: string;
|
|
3454
3456
|
name: string;
|
|
3455
3457
|
managers?: {
|
|
3456
3458
|
id: string;
|
|
3457
|
-
firstName: string;
|
|
3458
3459
|
lastName: string;
|
|
3460
|
+
firstName: string;
|
|
3459
3461
|
}[] | undefined;
|
|
3460
3462
|
} | null | undefined;
|
|
3461
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3462
|
-
officeId?: string | null | undefined;
|
|
3463
3463
|
canImpersonateUsers?: {
|
|
3464
3464
|
id: string;
|
|
3465
|
-
firstName: string;
|
|
3466
3465
|
lastName: string;
|
|
3466
|
+
firstName: string;
|
|
3467
3467
|
}[] | undefined;
|
|
3468
3468
|
deletedAt?: string | null | undefined;
|
|
3469
3469
|
} | undefined;
|
|
3470
3470
|
}, {
|
|
3471
3471
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3472
3472
|
id: string;
|
|
3473
|
-
createdAt: string | Date;
|
|
3474
3473
|
updatedAt: string | Date;
|
|
3474
|
+
createdAt: string | Date;
|
|
3475
3475
|
companyId: string | null;
|
|
3476
3476
|
agentId: string | null;
|
|
3477
3477
|
leadId: string;
|
|
@@ -3480,28 +3480,30 @@ export declare const callHistoryContract: {
|
|
|
3480
3480
|
company?: {
|
|
3481
3481
|
id: string;
|
|
3482
3482
|
name: string;
|
|
3483
|
-
createdAt: string | Date;
|
|
3484
3483
|
updatedAt: string | Date;
|
|
3484
|
+
createdAt: string | Date;
|
|
3485
3485
|
} | null | undefined;
|
|
3486
3486
|
lead?: {
|
|
3487
|
-
phoneNumber: string;
|
|
3488
3487
|
name: string;
|
|
3488
|
+
phoneNumber: string;
|
|
3489
3489
|
} | undefined;
|
|
3490
3490
|
agent?: {
|
|
3491
3491
|
status: "ACTIVE" | "INACTIVE";
|
|
3492
3492
|
id: string;
|
|
3493
|
-
firstName: string;
|
|
3494
|
-
lastName: string;
|
|
3495
|
-
email: string;
|
|
3496
|
-
createdAt: string | Date;
|
|
3497
3493
|
updatedAt: string | Date;
|
|
3494
|
+
createdAt: string | Date;
|
|
3495
|
+
email: string;
|
|
3496
|
+
lastName: string;
|
|
3497
|
+
firstName: string;
|
|
3498
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3499
|
+
officeId?: string | null | undefined;
|
|
3498
3500
|
office?: {
|
|
3499
3501
|
id: string;
|
|
3500
3502
|
name: string;
|
|
3501
3503
|
managers?: {
|
|
3502
3504
|
id: string;
|
|
3503
|
-
firstName: string;
|
|
3504
3505
|
lastName: string;
|
|
3506
|
+
firstName: string;
|
|
3505
3507
|
}[] | undefined;
|
|
3506
3508
|
} | null | undefined;
|
|
3507
3509
|
phoneNumbers?: {
|
|
@@ -3510,12 +3512,10 @@ export declare const callHistoryContract: {
|
|
|
3510
3512
|
description?: string | null | undefined;
|
|
3511
3513
|
isPrimary?: boolean | undefined;
|
|
3512
3514
|
}[] | undefined;
|
|
3513
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3514
|
-
officeId?: string | null | undefined;
|
|
3515
3515
|
canImpersonateUsers?: {
|
|
3516
3516
|
id: string;
|
|
3517
|
-
firstName: string;
|
|
3518
3517
|
lastName: string;
|
|
3518
|
+
firstName: string;
|
|
3519
3519
|
}[] | undefined;
|
|
3520
3520
|
deletedAt?: string | Date | null | undefined;
|
|
3521
3521
|
} | undefined;
|
|
@@ -3529,8 +3529,8 @@ export declare const callHistoryContract: {
|
|
|
3529
3529
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3530
3530
|
}, "strip", z.ZodTypeAny, {
|
|
3531
3531
|
id: string;
|
|
3532
|
-
createdAt: string;
|
|
3533
3532
|
updatedAt: string;
|
|
3533
|
+
createdAt: string;
|
|
3534
3534
|
assignmentId: string;
|
|
3535
3535
|
rating: CallRating;
|
|
3536
3536
|
callType: CallType;
|
|
@@ -3542,8 +3542,8 @@ export declare const callHistoryContract: {
|
|
|
3542
3542
|
assignment?: {
|
|
3543
3543
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3544
3544
|
id: string;
|
|
3545
|
-
createdAt: string;
|
|
3546
3545
|
updatedAt: string;
|
|
3546
|
+
createdAt: string;
|
|
3547
3547
|
companyId: string | null;
|
|
3548
3548
|
agentId: string | null;
|
|
3549
3549
|
leadId: string;
|
|
@@ -3552,50 +3552,50 @@ export declare const callHistoryContract: {
|
|
|
3552
3552
|
company?: {
|
|
3553
3553
|
id: string;
|
|
3554
3554
|
name: string;
|
|
3555
|
-
createdAt: string;
|
|
3556
3555
|
updatedAt: string;
|
|
3556
|
+
createdAt: string;
|
|
3557
3557
|
} | null | undefined;
|
|
3558
3558
|
lead?: {
|
|
3559
|
-
phoneNumber: string;
|
|
3560
3559
|
name: string;
|
|
3560
|
+
phoneNumber: string;
|
|
3561
3561
|
} | undefined;
|
|
3562
3562
|
agent?: {
|
|
3563
3563
|
status: "ACTIVE" | "INACTIVE";
|
|
3564
3564
|
id: string;
|
|
3565
|
-
|
|
3566
|
-
lastName: string;
|
|
3567
|
-
email: string;
|
|
3565
|
+
updatedAt: string;
|
|
3568
3566
|
createdAt: string;
|
|
3567
|
+
email: string;
|
|
3568
|
+
lastName: string;
|
|
3569
|
+
firstName: string;
|
|
3569
3570
|
phoneNumbers: {
|
|
3570
3571
|
id: string;
|
|
3571
3572
|
phoneNumber: string;
|
|
3572
3573
|
isPrimary: boolean;
|
|
3573
3574
|
description?: string | null | undefined;
|
|
3574
3575
|
}[];
|
|
3575
|
-
|
|
3576
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3577
|
+
officeId?: string | null | undefined;
|
|
3576
3578
|
office?: {
|
|
3577
3579
|
id: string;
|
|
3578
3580
|
name: string;
|
|
3579
3581
|
managers?: {
|
|
3580
3582
|
id: string;
|
|
3581
|
-
firstName: string;
|
|
3582
3583
|
lastName: string;
|
|
3584
|
+
firstName: string;
|
|
3583
3585
|
}[] | undefined;
|
|
3584
3586
|
} | null | undefined;
|
|
3585
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3586
|
-
officeId?: string | null | undefined;
|
|
3587
3587
|
canImpersonateUsers?: {
|
|
3588
3588
|
id: string;
|
|
3589
|
-
firstName: string;
|
|
3590
3589
|
lastName: string;
|
|
3590
|
+
firstName: string;
|
|
3591
3591
|
}[] | undefined;
|
|
3592
3592
|
deletedAt?: string | null | undefined;
|
|
3593
3593
|
} | undefined;
|
|
3594
3594
|
} | null | undefined;
|
|
3595
3595
|
}, {
|
|
3596
3596
|
id: string;
|
|
3597
|
-
createdAt: string | Date;
|
|
3598
3597
|
updatedAt: string | Date;
|
|
3598
|
+
createdAt: string | Date;
|
|
3599
3599
|
assignmentId: string;
|
|
3600
3600
|
rating: CallRating;
|
|
3601
3601
|
callType: CallType;
|
|
@@ -3607,8 +3607,8 @@ export declare const callHistoryContract: {
|
|
|
3607
3607
|
assignment?: {
|
|
3608
3608
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3609
3609
|
id: string;
|
|
3610
|
-
createdAt: string | Date;
|
|
3611
3610
|
updatedAt: string | Date;
|
|
3611
|
+
createdAt: string | Date;
|
|
3612
3612
|
companyId: string | null;
|
|
3613
3613
|
agentId: string | null;
|
|
3614
3614
|
leadId: string;
|
|
@@ -3617,28 +3617,30 @@ export declare const callHistoryContract: {
|
|
|
3617
3617
|
company?: {
|
|
3618
3618
|
id: string;
|
|
3619
3619
|
name: string;
|
|
3620
|
-
createdAt: string | Date;
|
|
3621
3620
|
updatedAt: string | Date;
|
|
3621
|
+
createdAt: string | Date;
|
|
3622
3622
|
} | null | undefined;
|
|
3623
3623
|
lead?: {
|
|
3624
|
-
phoneNumber: string;
|
|
3625
3624
|
name: string;
|
|
3625
|
+
phoneNumber: string;
|
|
3626
3626
|
} | undefined;
|
|
3627
3627
|
agent?: {
|
|
3628
3628
|
status: "ACTIVE" | "INACTIVE";
|
|
3629
3629
|
id: string;
|
|
3630
|
-
firstName: string;
|
|
3631
|
-
lastName: string;
|
|
3632
|
-
email: string;
|
|
3633
|
-
createdAt: string | Date;
|
|
3634
3630
|
updatedAt: string | Date;
|
|
3631
|
+
createdAt: string | Date;
|
|
3632
|
+
email: string;
|
|
3633
|
+
lastName: string;
|
|
3634
|
+
firstName: string;
|
|
3635
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3636
|
+
officeId?: string | null | undefined;
|
|
3635
3637
|
office?: {
|
|
3636
3638
|
id: string;
|
|
3637
3639
|
name: string;
|
|
3638
3640
|
managers?: {
|
|
3639
3641
|
id: string;
|
|
3640
|
-
firstName: string;
|
|
3641
3642
|
lastName: string;
|
|
3643
|
+
firstName: string;
|
|
3642
3644
|
}[] | undefined;
|
|
3643
3645
|
} | null | undefined;
|
|
3644
3646
|
phoneNumbers?: {
|
|
@@ -3647,12 +3649,10 @@ export declare const callHistoryContract: {
|
|
|
3647
3649
|
description?: string | null | undefined;
|
|
3648
3650
|
isPrimary?: boolean | undefined;
|
|
3649
3651
|
}[] | undefined;
|
|
3650
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3651
|
-
officeId?: string | null | undefined;
|
|
3652
3652
|
canImpersonateUsers?: {
|
|
3653
3653
|
id: string;
|
|
3654
|
-
firstName: string;
|
|
3655
3654
|
lastName: string;
|
|
3655
|
+
firstName: string;
|
|
3656
3656
|
}[] | undefined;
|
|
3657
3657
|
deletedAt?: string | Date | null | undefined;
|
|
3658
3658
|
} | undefined;
|