@dakkitor/api-contracts 1.1.100 → 1.1.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/first-agent.abilities.json +4 -1
- package/dist/actives/actives.contract.d.ts +4231 -4231
- package/dist/auth/auth.contract.d.ts +8 -8
- package/dist/bookings/bookings.contract.d.ts +15265 -15265
- package/dist/call-history/call-history.contract.d.ts +422 -422
- package/dist/curated-workers/curated-workers.contract.d.ts +256 -256
- package/dist/jobs/jobs.contract.d.ts +224 -40
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +47 -3
- package/dist/lead-assignments/lead-assignments.contract.d.ts +378 -378
- package/dist/leads/leads.contract.d.ts +115 -115
- package/dist/workers/workers.contract.d.ts +339 -339
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
phoneNumber: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
name: string;
|
|
36
35
|
phoneNumber: string;
|
|
37
|
-
}, {
|
|
38
36
|
name: string;
|
|
37
|
+
}, {
|
|
39
38
|
phoneNumber: string;
|
|
39
|
+
name: string;
|
|
40
40
|
}>>;
|
|
41
41
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -51,22 +51,22 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
51
51
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
id: string;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
updatedAt: string;
|
|
54
56
|
firstName: string;
|
|
55
57
|
lastName: string;
|
|
56
58
|
email: string;
|
|
57
59
|
phone: string;
|
|
58
|
-
createdAt: string;
|
|
59
|
-
updatedAt: string;
|
|
60
60
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
61
61
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
id: string;
|
|
64
|
+
createdAt: string | Date;
|
|
65
|
+
updatedAt: string | Date;
|
|
64
66
|
firstName: string;
|
|
65
67
|
lastName: string;
|
|
66
68
|
email: string;
|
|
67
69
|
phone: string;
|
|
68
|
-
createdAt: string | Date;
|
|
69
|
-
updatedAt: string | Date;
|
|
70
70
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
71
71
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
72
72
|
}>>;
|
|
@@ -81,79 +81,79 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
81
81
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
id: string;
|
|
84
|
-
name: string;
|
|
85
84
|
createdAt: string;
|
|
86
85
|
updatedAt: string;
|
|
86
|
+
name: string;
|
|
87
87
|
}, {
|
|
88
88
|
id: string;
|
|
89
|
-
name: string;
|
|
90
89
|
createdAt: string | Date;
|
|
91
90
|
updatedAt: string | Date;
|
|
91
|
+
name: string;
|
|
92
92
|
}>>>;
|
|
93
93
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
94
94
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
id: string;
|
|
97
|
-
leadId: string;
|
|
98
|
-
agentId: string | null;
|
|
99
97
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
100
98
|
createdAt: string;
|
|
101
99
|
updatedAt: string;
|
|
100
|
+
leadId: string;
|
|
101
|
+
agentId: string | null;
|
|
102
|
+
companyId: string | null;
|
|
102
103
|
assignedAt: string;
|
|
103
104
|
assignedBy: string | null;
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
company?: {
|
|
106
|
+
id: string;
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
106
109
|
name: string;
|
|
110
|
+
} | null | undefined;
|
|
111
|
+
lead?: {
|
|
107
112
|
phoneNumber: string;
|
|
113
|
+
name: string;
|
|
108
114
|
} | undefined;
|
|
109
115
|
agent?: {
|
|
110
116
|
id: string;
|
|
117
|
+
createdAt: string;
|
|
118
|
+
updatedAt: string;
|
|
111
119
|
firstName: string;
|
|
112
120
|
lastName: string;
|
|
113
121
|
email: string;
|
|
114
122
|
phone: string;
|
|
115
|
-
createdAt: string;
|
|
116
|
-
updatedAt: string;
|
|
117
123
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
118
124
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
119
125
|
} | undefined;
|
|
120
|
-
company?: {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
createdAt: string;
|
|
124
|
-
updatedAt: string;
|
|
125
|
-
} | null | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
id: string;
|
|
128
|
-
leadId: string;
|
|
129
|
-
agentId: string | null;
|
|
130
128
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
131
129
|
createdAt: string | Date;
|
|
132
130
|
updatedAt: string | Date;
|
|
131
|
+
leadId: string;
|
|
132
|
+
agentId: string | null;
|
|
133
|
+
companyId: string | null;
|
|
133
134
|
assignedAt: string | Date;
|
|
134
135
|
assignedBy: string | null;
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
company?: {
|
|
137
|
+
id: string;
|
|
138
|
+
createdAt: string | Date;
|
|
139
|
+
updatedAt: string | Date;
|
|
137
140
|
name: string;
|
|
141
|
+
} | null | undefined;
|
|
142
|
+
lead?: {
|
|
138
143
|
phoneNumber: string;
|
|
144
|
+
name: string;
|
|
139
145
|
} | undefined;
|
|
140
146
|
agent?: {
|
|
141
147
|
id: string;
|
|
148
|
+
createdAt: string | Date;
|
|
149
|
+
updatedAt: string | Date;
|
|
142
150
|
firstName: string;
|
|
143
151
|
lastName: string;
|
|
144
152
|
email: string;
|
|
145
153
|
phone: string;
|
|
146
|
-
createdAt: string | Date;
|
|
147
|
-
updatedAt: string | Date;
|
|
148
154
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
149
155
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
150
156
|
} | undefined;
|
|
151
|
-
company?: {
|
|
152
|
-
id: string;
|
|
153
|
-
name: string;
|
|
154
|
-
createdAt: string | Date;
|
|
155
|
-
updatedAt: string | Date;
|
|
156
|
-
} | null | undefined;
|
|
157
157
|
}>>>;
|
|
158
158
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
159
159
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -164,9 +164,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
164
164
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
|
-
assignmentId: string;
|
|
168
167
|
createdAt: string;
|
|
169
168
|
updatedAt: string;
|
|
169
|
+
assignmentId: string;
|
|
170
170
|
callDate: string;
|
|
171
171
|
callType: CallType;
|
|
172
172
|
rating: CallRating;
|
|
@@ -176,41 +176,41 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
176
176
|
agentId?: string | undefined;
|
|
177
177
|
assignment?: {
|
|
178
178
|
id: string;
|
|
179
|
-
leadId: string;
|
|
180
|
-
agentId: string | null;
|
|
181
179
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
182
180
|
createdAt: string;
|
|
183
181
|
updatedAt: string;
|
|
182
|
+
leadId: string;
|
|
183
|
+
agentId: string | null;
|
|
184
|
+
companyId: string | null;
|
|
184
185
|
assignedAt: string;
|
|
185
186
|
assignedBy: string | null;
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
company?: {
|
|
188
|
+
id: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
188
191
|
name: string;
|
|
192
|
+
} | null | undefined;
|
|
193
|
+
lead?: {
|
|
189
194
|
phoneNumber: string;
|
|
195
|
+
name: string;
|
|
190
196
|
} | undefined;
|
|
191
197
|
agent?: {
|
|
192
198
|
id: string;
|
|
199
|
+
createdAt: string;
|
|
200
|
+
updatedAt: string;
|
|
193
201
|
firstName: string;
|
|
194
202
|
lastName: string;
|
|
195
203
|
email: string;
|
|
196
204
|
phone: string;
|
|
197
|
-
createdAt: string;
|
|
198
|
-
updatedAt: string;
|
|
199
205
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
200
206
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
201
207
|
} | undefined;
|
|
202
|
-
company?: {
|
|
203
|
-
id: string;
|
|
204
|
-
name: string;
|
|
205
|
-
createdAt: string;
|
|
206
|
-
updatedAt: string;
|
|
207
|
-
} | null | undefined;
|
|
208
208
|
} | null | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
id: string;
|
|
211
|
-
assignmentId: string;
|
|
212
211
|
createdAt: string | Date;
|
|
213
212
|
updatedAt: string | Date;
|
|
213
|
+
assignmentId: string;
|
|
214
214
|
callDate: string | Date;
|
|
215
215
|
callType: CallType;
|
|
216
216
|
rating: CallRating;
|
|
@@ -220,35 +220,35 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
220
220
|
agentId?: string | undefined;
|
|
221
221
|
assignment?: {
|
|
222
222
|
id: string;
|
|
223
|
-
leadId: string;
|
|
224
|
-
agentId: string | null;
|
|
225
223
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
226
224
|
createdAt: string | Date;
|
|
227
225
|
updatedAt: string | Date;
|
|
226
|
+
leadId: string;
|
|
227
|
+
agentId: string | null;
|
|
228
|
+
companyId: string | null;
|
|
228
229
|
assignedAt: string | Date;
|
|
229
230
|
assignedBy: string | null;
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
company?: {
|
|
232
|
+
id: string;
|
|
233
|
+
createdAt: string | Date;
|
|
234
|
+
updatedAt: string | Date;
|
|
232
235
|
name: string;
|
|
236
|
+
} | null | undefined;
|
|
237
|
+
lead?: {
|
|
233
238
|
phoneNumber: string;
|
|
239
|
+
name: string;
|
|
234
240
|
} | undefined;
|
|
235
241
|
agent?: {
|
|
236
242
|
id: string;
|
|
243
|
+
createdAt: string | Date;
|
|
244
|
+
updatedAt: string | Date;
|
|
237
245
|
firstName: string;
|
|
238
246
|
lastName: string;
|
|
239
247
|
email: string;
|
|
240
248
|
phone: string;
|
|
241
|
-
createdAt: string | Date;
|
|
242
|
-
updatedAt: string | Date;
|
|
243
249
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
244
250
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
245
251
|
} | undefined;
|
|
246
|
-
company?: {
|
|
247
|
-
id: string;
|
|
248
|
-
name: string;
|
|
249
|
-
createdAt: string | Date;
|
|
250
|
-
updatedAt: string | Date;
|
|
251
|
-
} | null | undefined;
|
|
252
252
|
} | null | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -264,11 +264,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
264
264
|
name: z.ZodString;
|
|
265
265
|
phoneNumber: z.ZodString;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
name: string;
|
|
268
267
|
phoneNumber: string;
|
|
269
|
-
}, {
|
|
270
268
|
name: string;
|
|
269
|
+
}, {
|
|
271
270
|
phoneNumber: string;
|
|
271
|
+
name: string;
|
|
272
272
|
}>>;
|
|
273
273
|
agentId: z.ZodNullable<z.ZodString>;
|
|
274
274
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -283,22 +283,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
283
283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
285
|
id: string;
|
|
286
|
+
createdAt: string;
|
|
287
|
+
updatedAt: string;
|
|
286
288
|
firstName: string;
|
|
287
289
|
lastName: string;
|
|
288
290
|
email: string;
|
|
289
291
|
phone: string;
|
|
290
|
-
createdAt: string;
|
|
291
|
-
updatedAt: string;
|
|
292
292
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
293
293
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
id: string;
|
|
296
|
+
createdAt: string | Date;
|
|
297
|
+
updatedAt: string | Date;
|
|
296
298
|
firstName: string;
|
|
297
299
|
lastName: string;
|
|
298
300
|
email: string;
|
|
299
301
|
phone: string;
|
|
300
|
-
createdAt: string | Date;
|
|
301
|
-
updatedAt: string | Date;
|
|
302
302
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
303
303
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
304
304
|
}>>;
|
|
@@ -313,79 +313,79 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
313
313
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
id: string;
|
|
316
|
-
name: string;
|
|
317
316
|
createdAt: string;
|
|
318
317
|
updatedAt: string;
|
|
318
|
+
name: string;
|
|
319
319
|
}, {
|
|
320
320
|
id: string;
|
|
321
|
-
name: string;
|
|
322
321
|
createdAt: string | Date;
|
|
323
322
|
updatedAt: string | Date;
|
|
323
|
+
name: string;
|
|
324
324
|
}>>>;
|
|
325
325
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
id: string;
|
|
329
|
-
leadId: string;
|
|
330
|
-
agentId: string | null;
|
|
331
329
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
332
330
|
createdAt: string;
|
|
333
331
|
updatedAt: string;
|
|
332
|
+
leadId: string;
|
|
333
|
+
agentId: string | null;
|
|
334
|
+
companyId: string | null;
|
|
334
335
|
assignedAt: string;
|
|
335
336
|
assignedBy: string | null;
|
|
336
|
-
|
|
337
|
-
|
|
337
|
+
company?: {
|
|
338
|
+
id: string;
|
|
339
|
+
createdAt: string;
|
|
340
|
+
updatedAt: string;
|
|
338
341
|
name: string;
|
|
342
|
+
} | null | undefined;
|
|
343
|
+
lead?: {
|
|
339
344
|
phoneNumber: string;
|
|
345
|
+
name: string;
|
|
340
346
|
} | undefined;
|
|
341
347
|
agent?: {
|
|
342
348
|
id: string;
|
|
349
|
+
createdAt: string;
|
|
350
|
+
updatedAt: string;
|
|
343
351
|
firstName: string;
|
|
344
352
|
lastName: string;
|
|
345
353
|
email: string;
|
|
346
354
|
phone: string;
|
|
347
|
-
createdAt: string;
|
|
348
|
-
updatedAt: string;
|
|
349
355
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
350
356
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
351
357
|
} | undefined;
|
|
352
|
-
company?: {
|
|
353
|
-
id: string;
|
|
354
|
-
name: string;
|
|
355
|
-
createdAt: string;
|
|
356
|
-
updatedAt: string;
|
|
357
|
-
} | null | undefined;
|
|
358
358
|
}, {
|
|
359
359
|
id: string;
|
|
360
|
-
leadId: string;
|
|
361
|
-
agentId: string | null;
|
|
362
360
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
363
361
|
createdAt: string | Date;
|
|
364
362
|
updatedAt: string | Date;
|
|
363
|
+
leadId: string;
|
|
364
|
+
agentId: string | null;
|
|
365
|
+
companyId: string | null;
|
|
365
366
|
assignedAt: string | Date;
|
|
366
367
|
assignedBy: string | null;
|
|
367
|
-
|
|
368
|
-
|
|
368
|
+
company?: {
|
|
369
|
+
id: string;
|
|
370
|
+
createdAt: string | Date;
|
|
371
|
+
updatedAt: string | Date;
|
|
369
372
|
name: string;
|
|
373
|
+
} | null | undefined;
|
|
374
|
+
lead?: {
|
|
370
375
|
phoneNumber: string;
|
|
376
|
+
name: string;
|
|
371
377
|
} | undefined;
|
|
372
378
|
agent?: {
|
|
373
379
|
id: string;
|
|
380
|
+
createdAt: string | Date;
|
|
381
|
+
updatedAt: string | Date;
|
|
374
382
|
firstName: string;
|
|
375
383
|
lastName: string;
|
|
376
384
|
email: string;
|
|
377
385
|
phone: string;
|
|
378
|
-
createdAt: string | Date;
|
|
379
|
-
updatedAt: string | Date;
|
|
380
386
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
381
387
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
382
388
|
} | undefined;
|
|
383
|
-
company?: {
|
|
384
|
-
id: string;
|
|
385
|
-
name: string;
|
|
386
|
-
createdAt: string | Date;
|
|
387
|
-
updatedAt: string | Date;
|
|
388
|
-
} | null | undefined;
|
|
389
389
|
}>>>;
|
|
390
390
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
391
391
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -396,9 +396,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
396
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
id: string;
|
|
399
|
-
assignmentId: string;
|
|
400
399
|
createdAt: string;
|
|
401
400
|
updatedAt: string;
|
|
401
|
+
assignmentId: string;
|
|
402
402
|
callDate: string;
|
|
403
403
|
callType: CallType;
|
|
404
404
|
rating: CallRating;
|
|
@@ -408,41 +408,41 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
408
408
|
agentId?: string | undefined;
|
|
409
409
|
assignment?: {
|
|
410
410
|
id: string;
|
|
411
|
-
leadId: string;
|
|
412
|
-
agentId: string | null;
|
|
413
411
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
414
412
|
createdAt: string;
|
|
415
413
|
updatedAt: string;
|
|
414
|
+
leadId: string;
|
|
415
|
+
agentId: string | null;
|
|
416
|
+
companyId: string | null;
|
|
416
417
|
assignedAt: string;
|
|
417
418
|
assignedBy: string | null;
|
|
418
|
-
|
|
419
|
-
|
|
419
|
+
company?: {
|
|
420
|
+
id: string;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
updatedAt: string;
|
|
420
423
|
name: string;
|
|
424
|
+
} | null | undefined;
|
|
425
|
+
lead?: {
|
|
421
426
|
phoneNumber: string;
|
|
427
|
+
name: string;
|
|
422
428
|
} | undefined;
|
|
423
429
|
agent?: {
|
|
424
430
|
id: string;
|
|
431
|
+
createdAt: string;
|
|
432
|
+
updatedAt: string;
|
|
425
433
|
firstName: string;
|
|
426
434
|
lastName: string;
|
|
427
435
|
email: string;
|
|
428
436
|
phone: string;
|
|
429
|
-
createdAt: string;
|
|
430
|
-
updatedAt: string;
|
|
431
437
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
432
438
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
433
439
|
} | undefined;
|
|
434
|
-
company?: {
|
|
435
|
-
id: string;
|
|
436
|
-
name: string;
|
|
437
|
-
createdAt: string;
|
|
438
|
-
updatedAt: string;
|
|
439
|
-
} | null | undefined;
|
|
440
440
|
} | null | undefined;
|
|
441
441
|
}, {
|
|
442
442
|
id: string;
|
|
443
|
-
assignmentId: string;
|
|
444
443
|
createdAt: string | Date;
|
|
445
444
|
updatedAt: string | Date;
|
|
445
|
+
assignmentId: string;
|
|
446
446
|
callDate: string | Date;
|
|
447
447
|
callType: CallType;
|
|
448
448
|
rating: CallRating;
|
|
@@ -452,35 +452,35 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
452
452
|
agentId?: string | undefined;
|
|
453
453
|
assignment?: {
|
|
454
454
|
id: string;
|
|
455
|
-
leadId: string;
|
|
456
|
-
agentId: string | null;
|
|
457
455
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
458
456
|
createdAt: string | Date;
|
|
459
457
|
updatedAt: string | Date;
|
|
458
|
+
leadId: string;
|
|
459
|
+
agentId: string | null;
|
|
460
|
+
companyId: string | null;
|
|
460
461
|
assignedAt: string | Date;
|
|
461
462
|
assignedBy: string | null;
|
|
462
|
-
|
|
463
|
-
|
|
463
|
+
company?: {
|
|
464
|
+
id: string;
|
|
465
|
+
createdAt: string | Date;
|
|
466
|
+
updatedAt: string | Date;
|
|
464
467
|
name: string;
|
|
468
|
+
} | null | undefined;
|
|
469
|
+
lead?: {
|
|
465
470
|
phoneNumber: string;
|
|
471
|
+
name: string;
|
|
466
472
|
} | undefined;
|
|
467
473
|
agent?: {
|
|
468
474
|
id: string;
|
|
475
|
+
createdAt: string | Date;
|
|
476
|
+
updatedAt: string | Date;
|
|
469
477
|
firstName: string;
|
|
470
478
|
lastName: string;
|
|
471
479
|
email: string;
|
|
472
480
|
phone: string;
|
|
473
|
-
createdAt: string | Date;
|
|
474
|
-
updatedAt: string | Date;
|
|
475
481
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
476
482
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
477
483
|
} | undefined;
|
|
478
|
-
company?: {
|
|
479
|
-
id: string;
|
|
480
|
-
name: string;
|
|
481
|
-
createdAt: string | Date;
|
|
482
|
-
updatedAt: string | Date;
|
|
483
|
-
} | null | undefined;
|
|
484
484
|
} | null | undefined;
|
|
485
485
|
}>, "many">;
|
|
486
486
|
totalCount: z.ZodNumber;
|
|
@@ -489,11 +489,12 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
489
489
|
currentPage: z.ZodNumber;
|
|
490
490
|
totalPages: z.ZodNumber;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
limit: number;
|
|
492
493
|
items: {
|
|
493
494
|
id: string;
|
|
494
|
-
assignmentId: string;
|
|
495
495
|
createdAt: string;
|
|
496
496
|
updatedAt: string;
|
|
497
|
+
assignmentId: string;
|
|
497
498
|
callDate: string;
|
|
498
499
|
callType: CallType;
|
|
499
500
|
rating: CallRating;
|
|
@@ -503,48 +504,48 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
503
504
|
agentId?: string | undefined;
|
|
504
505
|
assignment?: {
|
|
505
506
|
id: string;
|
|
506
|
-
leadId: string;
|
|
507
|
-
agentId: string | null;
|
|
508
507
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
509
508
|
createdAt: string;
|
|
510
509
|
updatedAt: string;
|
|
510
|
+
leadId: string;
|
|
511
|
+
agentId: string | null;
|
|
512
|
+
companyId: string | null;
|
|
511
513
|
assignedAt: string;
|
|
512
514
|
assignedBy: string | null;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
+
company?: {
|
|
516
|
+
id: string;
|
|
517
|
+
createdAt: string;
|
|
518
|
+
updatedAt: string;
|
|
515
519
|
name: string;
|
|
520
|
+
} | null | undefined;
|
|
521
|
+
lead?: {
|
|
516
522
|
phoneNumber: string;
|
|
523
|
+
name: string;
|
|
517
524
|
} | undefined;
|
|
518
525
|
agent?: {
|
|
519
526
|
id: string;
|
|
527
|
+
createdAt: string;
|
|
528
|
+
updatedAt: string;
|
|
520
529
|
firstName: string;
|
|
521
530
|
lastName: string;
|
|
522
531
|
email: string;
|
|
523
532
|
phone: string;
|
|
524
|
-
createdAt: string;
|
|
525
|
-
updatedAt: string;
|
|
526
533
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
527
534
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
528
535
|
} | undefined;
|
|
529
|
-
company?: {
|
|
530
|
-
id: string;
|
|
531
|
-
name: string;
|
|
532
|
-
createdAt: string;
|
|
533
|
-
updatedAt: string;
|
|
534
|
-
} | null | undefined;
|
|
535
536
|
} | null | undefined;
|
|
536
537
|
}[];
|
|
537
538
|
totalCount: number;
|
|
538
|
-
limit: number;
|
|
539
539
|
skip: number;
|
|
540
540
|
currentPage: number;
|
|
541
541
|
totalPages: number;
|
|
542
542
|
}, {
|
|
543
|
+
limit: number;
|
|
543
544
|
items: {
|
|
544
545
|
id: string;
|
|
545
|
-
assignmentId: string;
|
|
546
546
|
createdAt: string | Date;
|
|
547
547
|
updatedAt: string | Date;
|
|
548
|
+
assignmentId: string;
|
|
548
549
|
callDate: string | Date;
|
|
549
550
|
callType: CallType;
|
|
550
551
|
rating: CallRating;
|
|
@@ -554,39 +555,38 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
554
555
|
agentId?: string | undefined;
|
|
555
556
|
assignment?: {
|
|
556
557
|
id: string;
|
|
557
|
-
leadId: string;
|
|
558
|
-
agentId: string | null;
|
|
559
558
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
560
559
|
createdAt: string | Date;
|
|
561
560
|
updatedAt: string | Date;
|
|
561
|
+
leadId: string;
|
|
562
|
+
agentId: string | null;
|
|
563
|
+
companyId: string | null;
|
|
562
564
|
assignedAt: string | Date;
|
|
563
565
|
assignedBy: string | null;
|
|
564
|
-
|
|
565
|
-
|
|
566
|
+
company?: {
|
|
567
|
+
id: string;
|
|
568
|
+
createdAt: string | Date;
|
|
569
|
+
updatedAt: string | Date;
|
|
566
570
|
name: string;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
lead?: {
|
|
567
573
|
phoneNumber: string;
|
|
574
|
+
name: string;
|
|
568
575
|
} | undefined;
|
|
569
576
|
agent?: {
|
|
570
577
|
id: string;
|
|
578
|
+
createdAt: string | Date;
|
|
579
|
+
updatedAt: string | Date;
|
|
571
580
|
firstName: string;
|
|
572
581
|
lastName: string;
|
|
573
582
|
email: string;
|
|
574
583
|
phone: string;
|
|
575
|
-
createdAt: string | Date;
|
|
576
|
-
updatedAt: string | Date;
|
|
577
584
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
578
585
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
579
586
|
} | undefined;
|
|
580
|
-
company?: {
|
|
581
|
-
id: string;
|
|
582
|
-
name: string;
|
|
583
|
-
createdAt: string | Date;
|
|
584
|
-
updatedAt: string | Date;
|
|
585
|
-
} | null | undefined;
|
|
586
587
|
} | null | undefined;
|
|
587
588
|
}[];
|
|
588
589
|
totalCount: number;
|
|
589
|
-
limit: number;
|
|
590
590
|
skip: number;
|
|
591
591
|
currentPage: number;
|
|
592
592
|
totalPages: number;
|
|
@@ -643,29 +643,29 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
limit: number;
|
|
645
645
|
page: number;
|
|
646
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
647
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
646
648
|
agentId?: string | undefined;
|
|
647
|
-
companyId?: string | undefined;
|
|
648
649
|
callDate?: {
|
|
649
650
|
from?: string | null | undefined;
|
|
650
651
|
to?: string | null | undefined;
|
|
651
652
|
} | null | undefined;
|
|
652
653
|
callType?: CallType | undefined;
|
|
653
654
|
rating?: CallRating | undefined;
|
|
655
|
+
companyId?: string | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
limit?: number | undefined;
|
|
658
|
+
page?: number | undefined;
|
|
654
659
|
sortBy?: CallHistorySortableFields | undefined;
|
|
655
660
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
656
|
-
}, {
|
|
657
661
|
agentId?: string | undefined;
|
|
658
|
-
companyId?: string | undefined;
|
|
659
662
|
callDate?: {
|
|
660
663
|
from?: string | null | undefined;
|
|
661
664
|
to?: string | null | undefined;
|
|
662
665
|
} | null | undefined;
|
|
663
666
|
callType?: CallType | undefined;
|
|
664
667
|
rating?: unknown;
|
|
665
|
-
|
|
666
|
-
page?: number | undefined;
|
|
667
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
668
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
668
|
+
companyId?: string | undefined;
|
|
669
669
|
}>;
|
|
670
670
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
671
671
|
totalCalls: z.ZodNumber;
|
|
@@ -823,11 +823,11 @@ export declare const callHistoryContract: {
|
|
|
823
823
|
name: z.ZodString;
|
|
824
824
|
phoneNumber: z.ZodString;
|
|
825
825
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
name: string;
|
|
827
826
|
phoneNumber: string;
|
|
828
|
-
}, {
|
|
829
827
|
name: string;
|
|
828
|
+
}, {
|
|
830
829
|
phoneNumber: string;
|
|
830
|
+
name: string;
|
|
831
831
|
}>>;
|
|
832
832
|
agentId: z.ZodNullable<z.ZodString>;
|
|
833
833
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -842,22 +842,22 @@ export declare const callHistoryContract: {
|
|
|
842
842
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
843
843
|
}, "strip", z.ZodTypeAny, {
|
|
844
844
|
id: string;
|
|
845
|
+
createdAt: string;
|
|
846
|
+
updatedAt: string;
|
|
845
847
|
firstName: string;
|
|
846
848
|
lastName: string;
|
|
847
849
|
email: string;
|
|
848
850
|
phone: string;
|
|
849
|
-
createdAt: string;
|
|
850
|
-
updatedAt: string;
|
|
851
851
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
852
852
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
853
853
|
}, {
|
|
854
854
|
id: string;
|
|
855
|
+
createdAt: string | Date;
|
|
856
|
+
updatedAt: string | Date;
|
|
855
857
|
firstName: string;
|
|
856
858
|
lastName: string;
|
|
857
859
|
email: string;
|
|
858
860
|
phone: string;
|
|
859
|
-
createdAt: string | Date;
|
|
860
|
-
updatedAt: string | Date;
|
|
861
861
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
862
862
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
863
863
|
}>>;
|
|
@@ -872,79 +872,79 @@ export declare const callHistoryContract: {
|
|
|
872
872
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
873
873
|
}, "strip", z.ZodTypeAny, {
|
|
874
874
|
id: string;
|
|
875
|
-
name: string;
|
|
876
875
|
createdAt: string;
|
|
877
876
|
updatedAt: string;
|
|
877
|
+
name: string;
|
|
878
878
|
}, {
|
|
879
879
|
id: string;
|
|
880
|
-
name: string;
|
|
881
880
|
createdAt: string | Date;
|
|
882
881
|
updatedAt: string | Date;
|
|
882
|
+
name: string;
|
|
883
883
|
}>>>;
|
|
884
884
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
885
885
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
886
886
|
}, "strip", z.ZodTypeAny, {
|
|
887
887
|
id: string;
|
|
888
|
-
leadId: string;
|
|
889
|
-
agentId: string | null;
|
|
890
888
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
891
889
|
createdAt: string;
|
|
892
890
|
updatedAt: string;
|
|
891
|
+
leadId: string;
|
|
892
|
+
agentId: string | null;
|
|
893
|
+
companyId: string | null;
|
|
893
894
|
assignedAt: string;
|
|
894
895
|
assignedBy: string | null;
|
|
895
|
-
|
|
896
|
-
|
|
896
|
+
company?: {
|
|
897
|
+
id: string;
|
|
898
|
+
createdAt: string;
|
|
899
|
+
updatedAt: string;
|
|
897
900
|
name: string;
|
|
901
|
+
} | null | undefined;
|
|
902
|
+
lead?: {
|
|
898
903
|
phoneNumber: string;
|
|
904
|
+
name: string;
|
|
899
905
|
} | undefined;
|
|
900
906
|
agent?: {
|
|
901
907
|
id: string;
|
|
908
|
+
createdAt: string;
|
|
909
|
+
updatedAt: string;
|
|
902
910
|
firstName: string;
|
|
903
911
|
lastName: string;
|
|
904
912
|
email: string;
|
|
905
913
|
phone: string;
|
|
906
|
-
createdAt: string;
|
|
907
|
-
updatedAt: string;
|
|
908
914
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
909
915
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
910
916
|
} | undefined;
|
|
911
|
-
company?: {
|
|
912
|
-
id: string;
|
|
913
|
-
name: string;
|
|
914
|
-
createdAt: string;
|
|
915
|
-
updatedAt: string;
|
|
916
|
-
} | null | undefined;
|
|
917
917
|
}, {
|
|
918
918
|
id: string;
|
|
919
|
-
leadId: string;
|
|
920
|
-
agentId: string | null;
|
|
921
919
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
922
920
|
createdAt: string | Date;
|
|
923
921
|
updatedAt: string | Date;
|
|
922
|
+
leadId: string;
|
|
923
|
+
agentId: string | null;
|
|
924
|
+
companyId: string | null;
|
|
924
925
|
assignedAt: string | Date;
|
|
925
926
|
assignedBy: string | null;
|
|
926
|
-
|
|
927
|
-
|
|
927
|
+
company?: {
|
|
928
|
+
id: string;
|
|
929
|
+
createdAt: string | Date;
|
|
930
|
+
updatedAt: string | Date;
|
|
928
931
|
name: string;
|
|
932
|
+
} | null | undefined;
|
|
933
|
+
lead?: {
|
|
929
934
|
phoneNumber: string;
|
|
935
|
+
name: string;
|
|
930
936
|
} | undefined;
|
|
931
937
|
agent?: {
|
|
932
938
|
id: string;
|
|
939
|
+
createdAt: string | Date;
|
|
940
|
+
updatedAt: string | Date;
|
|
933
941
|
firstName: string;
|
|
934
942
|
lastName: string;
|
|
935
943
|
email: string;
|
|
936
944
|
phone: string;
|
|
937
|
-
createdAt: string | Date;
|
|
938
|
-
updatedAt: string | Date;
|
|
939
945
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
940
946
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
941
947
|
} | undefined;
|
|
942
|
-
company?: {
|
|
943
|
-
id: string;
|
|
944
|
-
name: string;
|
|
945
|
-
createdAt: string | Date;
|
|
946
|
-
updatedAt: string | Date;
|
|
947
|
-
} | null | undefined;
|
|
948
948
|
}>>>;
|
|
949
949
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
950
950
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -955,9 +955,9 @@ export declare const callHistoryContract: {
|
|
|
955
955
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
956
956
|
}, "strip", z.ZodTypeAny, {
|
|
957
957
|
id: string;
|
|
958
|
-
assignmentId: string;
|
|
959
958
|
createdAt: string;
|
|
960
959
|
updatedAt: string;
|
|
960
|
+
assignmentId: string;
|
|
961
961
|
callDate: string;
|
|
962
962
|
callType: CallType;
|
|
963
963
|
rating: CallRating;
|
|
@@ -967,41 +967,41 @@ export declare const callHistoryContract: {
|
|
|
967
967
|
agentId?: string | undefined;
|
|
968
968
|
assignment?: {
|
|
969
969
|
id: string;
|
|
970
|
-
leadId: string;
|
|
971
|
-
agentId: string | null;
|
|
972
970
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
973
971
|
createdAt: string;
|
|
974
972
|
updatedAt: string;
|
|
973
|
+
leadId: string;
|
|
974
|
+
agentId: string | null;
|
|
975
|
+
companyId: string | null;
|
|
975
976
|
assignedAt: string;
|
|
976
977
|
assignedBy: string | null;
|
|
977
|
-
|
|
978
|
-
|
|
978
|
+
company?: {
|
|
979
|
+
id: string;
|
|
980
|
+
createdAt: string;
|
|
981
|
+
updatedAt: string;
|
|
979
982
|
name: string;
|
|
983
|
+
} | null | undefined;
|
|
984
|
+
lead?: {
|
|
980
985
|
phoneNumber: string;
|
|
986
|
+
name: string;
|
|
981
987
|
} | undefined;
|
|
982
988
|
agent?: {
|
|
983
989
|
id: string;
|
|
990
|
+
createdAt: string;
|
|
991
|
+
updatedAt: string;
|
|
984
992
|
firstName: string;
|
|
985
993
|
lastName: string;
|
|
986
994
|
email: string;
|
|
987
995
|
phone: string;
|
|
988
|
-
createdAt: string;
|
|
989
|
-
updatedAt: string;
|
|
990
996
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
991
997
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
992
998
|
} | undefined;
|
|
993
|
-
company?: {
|
|
994
|
-
id: string;
|
|
995
|
-
name: string;
|
|
996
|
-
createdAt: string;
|
|
997
|
-
updatedAt: string;
|
|
998
|
-
} | null | undefined;
|
|
999
999
|
} | null | undefined;
|
|
1000
1000
|
}, {
|
|
1001
1001
|
id: string;
|
|
1002
|
-
assignmentId: string;
|
|
1003
1002
|
createdAt: string | Date;
|
|
1004
1003
|
updatedAt: string | Date;
|
|
1004
|
+
assignmentId: string;
|
|
1005
1005
|
callDate: string | Date;
|
|
1006
1006
|
callType: CallType;
|
|
1007
1007
|
rating: CallRating;
|
|
@@ -1011,35 +1011,35 @@ export declare const callHistoryContract: {
|
|
|
1011
1011
|
agentId?: string | undefined;
|
|
1012
1012
|
assignment?: {
|
|
1013
1013
|
id: string;
|
|
1014
|
-
leadId: string;
|
|
1015
|
-
agentId: string | null;
|
|
1016
1014
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1017
1015
|
createdAt: string | Date;
|
|
1018
1016
|
updatedAt: string | Date;
|
|
1017
|
+
leadId: string;
|
|
1018
|
+
agentId: string | null;
|
|
1019
|
+
companyId: string | null;
|
|
1019
1020
|
assignedAt: string | Date;
|
|
1020
1021
|
assignedBy: string | null;
|
|
1021
|
-
|
|
1022
|
-
|
|
1022
|
+
company?: {
|
|
1023
|
+
id: string;
|
|
1024
|
+
createdAt: string | Date;
|
|
1025
|
+
updatedAt: string | Date;
|
|
1023
1026
|
name: string;
|
|
1027
|
+
} | null | undefined;
|
|
1028
|
+
lead?: {
|
|
1024
1029
|
phoneNumber: string;
|
|
1030
|
+
name: string;
|
|
1025
1031
|
} | undefined;
|
|
1026
1032
|
agent?: {
|
|
1027
1033
|
id: string;
|
|
1034
|
+
createdAt: string | Date;
|
|
1035
|
+
updatedAt: string | Date;
|
|
1028
1036
|
firstName: string;
|
|
1029
1037
|
lastName: string;
|
|
1030
1038
|
email: string;
|
|
1031
1039
|
phone: string;
|
|
1032
|
-
createdAt: string | Date;
|
|
1033
|
-
updatedAt: string | Date;
|
|
1034
1040
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1035
1041
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1036
1042
|
} | undefined;
|
|
1037
|
-
company?: {
|
|
1038
|
-
id: string;
|
|
1039
|
-
name: string;
|
|
1040
|
-
createdAt: string | Date;
|
|
1041
|
-
updatedAt: string | Date;
|
|
1042
|
-
} | null | undefined;
|
|
1043
1043
|
} | null | undefined;
|
|
1044
1044
|
}>;
|
|
1045
1045
|
409: z.ZodObject<{
|
|
@@ -1070,9 +1070,6 @@ export declare const callHistoryContract: {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
1072
|
findAll: {
|
|
1073
|
-
metadata: {
|
|
1074
|
-
tags: string[];
|
|
1075
|
-
};
|
|
1076
1073
|
query: z.ZodObject<{
|
|
1077
1074
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1078
1075
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1096,30 +1093,33 @@ export declare const callHistoryContract: {
|
|
|
1096
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1097
1094
|
limit: number;
|
|
1098
1095
|
page: number;
|
|
1096
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1097
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1099
1098
|
agentId?: string | undefined;
|
|
1100
|
-
companyId?: string | undefined;
|
|
1101
1099
|
callDate?: {
|
|
1102
1100
|
from?: string | null | undefined;
|
|
1103
1101
|
to?: string | null | undefined;
|
|
1104
1102
|
} | null | undefined;
|
|
1105
1103
|
callType?: CallType | undefined;
|
|
1106
1104
|
rating?: CallRating | undefined;
|
|
1105
|
+
companyId?: string | undefined;
|
|
1106
|
+
}, {
|
|
1107
|
+
limit?: number | undefined;
|
|
1108
|
+
page?: number | undefined;
|
|
1107
1109
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1108
1110
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1109
|
-
}, {
|
|
1110
1111
|
agentId?: string | undefined;
|
|
1111
|
-
companyId?: string | undefined;
|
|
1112
1112
|
callDate?: {
|
|
1113
1113
|
from?: string | null | undefined;
|
|
1114
1114
|
to?: string | null | undefined;
|
|
1115
1115
|
} | null | undefined;
|
|
1116
1116
|
callType?: CallType | undefined;
|
|
1117
1117
|
rating?: unknown;
|
|
1118
|
-
|
|
1119
|
-
page?: number | undefined;
|
|
1120
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1121
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1118
|
+
companyId?: string | undefined;
|
|
1122
1119
|
}>;
|
|
1120
|
+
metadata: {
|
|
1121
|
+
tags: string[];
|
|
1122
|
+
};
|
|
1123
1123
|
summary: "Get call history records";
|
|
1124
1124
|
method: "GET";
|
|
1125
1125
|
path: "/v2/call-history";
|
|
@@ -1237,11 +1237,11 @@ export declare const callHistoryContract: {
|
|
|
1237
1237
|
name: z.ZodString;
|
|
1238
1238
|
phoneNumber: z.ZodString;
|
|
1239
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
name: string;
|
|
1241
1240
|
phoneNumber: string;
|
|
1242
|
-
}, {
|
|
1243
1241
|
name: string;
|
|
1242
|
+
}, {
|
|
1244
1243
|
phoneNumber: string;
|
|
1244
|
+
name: string;
|
|
1245
1245
|
}>>;
|
|
1246
1246
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1247
1247
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1256,22 +1256,22 @@ export declare const callHistoryContract: {
|
|
|
1256
1256
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1257
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1258
1258
|
id: string;
|
|
1259
|
+
createdAt: string;
|
|
1260
|
+
updatedAt: string;
|
|
1259
1261
|
firstName: string;
|
|
1260
1262
|
lastName: string;
|
|
1261
1263
|
email: string;
|
|
1262
1264
|
phone: string;
|
|
1263
|
-
createdAt: string;
|
|
1264
|
-
updatedAt: string;
|
|
1265
1265
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1266
1266
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1267
1267
|
}, {
|
|
1268
1268
|
id: string;
|
|
1269
|
+
createdAt: string | Date;
|
|
1270
|
+
updatedAt: string | Date;
|
|
1269
1271
|
firstName: string;
|
|
1270
1272
|
lastName: string;
|
|
1271
1273
|
email: string;
|
|
1272
1274
|
phone: string;
|
|
1273
|
-
createdAt: string | Date;
|
|
1274
|
-
updatedAt: string | Date;
|
|
1275
1275
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1276
1276
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1277
1277
|
}>>;
|
|
@@ -1286,79 +1286,79 @@ export declare const callHistoryContract: {
|
|
|
1286
1286
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1287
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1288
1288
|
id: string;
|
|
1289
|
-
name: string;
|
|
1290
1289
|
createdAt: string;
|
|
1291
1290
|
updatedAt: string;
|
|
1291
|
+
name: string;
|
|
1292
1292
|
}, {
|
|
1293
1293
|
id: string;
|
|
1294
|
-
name: string;
|
|
1295
1294
|
createdAt: string | Date;
|
|
1296
1295
|
updatedAt: string | Date;
|
|
1296
|
+
name: string;
|
|
1297
1297
|
}>>>;
|
|
1298
1298
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1299
1299
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
1301
|
id: string;
|
|
1302
|
-
leadId: string;
|
|
1303
|
-
agentId: string | null;
|
|
1304
1302
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1305
1303
|
createdAt: string;
|
|
1306
1304
|
updatedAt: string;
|
|
1305
|
+
leadId: string;
|
|
1306
|
+
agentId: string | null;
|
|
1307
|
+
companyId: string | null;
|
|
1307
1308
|
assignedAt: string;
|
|
1308
1309
|
assignedBy: string | null;
|
|
1309
|
-
|
|
1310
|
-
|
|
1310
|
+
company?: {
|
|
1311
|
+
id: string;
|
|
1312
|
+
createdAt: string;
|
|
1313
|
+
updatedAt: string;
|
|
1311
1314
|
name: string;
|
|
1315
|
+
} | null | undefined;
|
|
1316
|
+
lead?: {
|
|
1312
1317
|
phoneNumber: string;
|
|
1318
|
+
name: string;
|
|
1313
1319
|
} | undefined;
|
|
1314
1320
|
agent?: {
|
|
1315
1321
|
id: string;
|
|
1322
|
+
createdAt: string;
|
|
1323
|
+
updatedAt: string;
|
|
1316
1324
|
firstName: string;
|
|
1317
1325
|
lastName: string;
|
|
1318
1326
|
email: string;
|
|
1319
1327
|
phone: string;
|
|
1320
|
-
createdAt: string;
|
|
1321
|
-
updatedAt: string;
|
|
1322
1328
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1323
1329
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1324
1330
|
} | undefined;
|
|
1325
|
-
company?: {
|
|
1326
|
-
id: string;
|
|
1327
|
-
name: string;
|
|
1328
|
-
createdAt: string;
|
|
1329
|
-
updatedAt: string;
|
|
1330
|
-
} | null | undefined;
|
|
1331
1331
|
}, {
|
|
1332
1332
|
id: string;
|
|
1333
|
-
leadId: string;
|
|
1334
|
-
agentId: string | null;
|
|
1335
1333
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1336
1334
|
createdAt: string | Date;
|
|
1337
1335
|
updatedAt: string | Date;
|
|
1336
|
+
leadId: string;
|
|
1337
|
+
agentId: string | null;
|
|
1338
|
+
companyId: string | null;
|
|
1338
1339
|
assignedAt: string | Date;
|
|
1339
1340
|
assignedBy: string | null;
|
|
1340
|
-
|
|
1341
|
-
|
|
1341
|
+
company?: {
|
|
1342
|
+
id: string;
|
|
1343
|
+
createdAt: string | Date;
|
|
1344
|
+
updatedAt: string | Date;
|
|
1342
1345
|
name: string;
|
|
1346
|
+
} | null | undefined;
|
|
1347
|
+
lead?: {
|
|
1343
1348
|
phoneNumber: string;
|
|
1349
|
+
name: string;
|
|
1344
1350
|
} | undefined;
|
|
1345
1351
|
agent?: {
|
|
1346
1352
|
id: string;
|
|
1353
|
+
createdAt: string | Date;
|
|
1354
|
+
updatedAt: string | Date;
|
|
1347
1355
|
firstName: string;
|
|
1348
1356
|
lastName: string;
|
|
1349
1357
|
email: string;
|
|
1350
1358
|
phone: string;
|
|
1351
|
-
createdAt: string | Date;
|
|
1352
|
-
updatedAt: string | Date;
|
|
1353
1359
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1354
1360
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1355
1361
|
} | undefined;
|
|
1356
|
-
company?: {
|
|
1357
|
-
id: string;
|
|
1358
|
-
name: string;
|
|
1359
|
-
createdAt: string | Date;
|
|
1360
|
-
updatedAt: string | Date;
|
|
1361
|
-
} | null | undefined;
|
|
1362
1362
|
}>>>;
|
|
1363
1363
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1364
1364
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1369,9 +1369,9 @@ export declare const callHistoryContract: {
|
|
|
1369
1369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1370
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1371
1371
|
id: string;
|
|
1372
|
-
assignmentId: string;
|
|
1373
1372
|
createdAt: string;
|
|
1374
1373
|
updatedAt: string;
|
|
1374
|
+
assignmentId: string;
|
|
1375
1375
|
callDate: string;
|
|
1376
1376
|
callType: CallType;
|
|
1377
1377
|
rating: CallRating;
|
|
@@ -1381,41 +1381,41 @@ export declare const callHistoryContract: {
|
|
|
1381
1381
|
agentId?: string | undefined;
|
|
1382
1382
|
assignment?: {
|
|
1383
1383
|
id: string;
|
|
1384
|
-
leadId: string;
|
|
1385
|
-
agentId: string | null;
|
|
1386
1384
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1387
1385
|
createdAt: string;
|
|
1388
1386
|
updatedAt: string;
|
|
1387
|
+
leadId: string;
|
|
1388
|
+
agentId: string | null;
|
|
1389
|
+
companyId: string | null;
|
|
1389
1390
|
assignedAt: string;
|
|
1390
1391
|
assignedBy: string | null;
|
|
1391
|
-
|
|
1392
|
-
|
|
1392
|
+
company?: {
|
|
1393
|
+
id: string;
|
|
1394
|
+
createdAt: string;
|
|
1395
|
+
updatedAt: string;
|
|
1393
1396
|
name: string;
|
|
1397
|
+
} | null | undefined;
|
|
1398
|
+
lead?: {
|
|
1394
1399
|
phoneNumber: string;
|
|
1400
|
+
name: string;
|
|
1395
1401
|
} | undefined;
|
|
1396
1402
|
agent?: {
|
|
1397
1403
|
id: string;
|
|
1404
|
+
createdAt: string;
|
|
1405
|
+
updatedAt: string;
|
|
1398
1406
|
firstName: string;
|
|
1399
1407
|
lastName: string;
|
|
1400
1408
|
email: string;
|
|
1401
1409
|
phone: string;
|
|
1402
|
-
createdAt: string;
|
|
1403
|
-
updatedAt: string;
|
|
1404
1410
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1405
1411
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1406
1412
|
} | undefined;
|
|
1407
|
-
company?: {
|
|
1408
|
-
id: string;
|
|
1409
|
-
name: string;
|
|
1410
|
-
createdAt: string;
|
|
1411
|
-
updatedAt: string;
|
|
1412
|
-
} | null | undefined;
|
|
1413
1413
|
} | null | undefined;
|
|
1414
1414
|
}, {
|
|
1415
1415
|
id: string;
|
|
1416
|
-
assignmentId: string;
|
|
1417
1416
|
createdAt: string | Date;
|
|
1418
1417
|
updatedAt: string | Date;
|
|
1418
|
+
assignmentId: string;
|
|
1419
1419
|
callDate: string | Date;
|
|
1420
1420
|
callType: CallType;
|
|
1421
1421
|
rating: CallRating;
|
|
@@ -1425,35 +1425,35 @@ export declare const callHistoryContract: {
|
|
|
1425
1425
|
agentId?: string | undefined;
|
|
1426
1426
|
assignment?: {
|
|
1427
1427
|
id: string;
|
|
1428
|
-
leadId: string;
|
|
1429
|
-
agentId: string | null;
|
|
1430
1428
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1431
1429
|
createdAt: string | Date;
|
|
1432
1430
|
updatedAt: string | Date;
|
|
1431
|
+
leadId: string;
|
|
1432
|
+
agentId: string | null;
|
|
1433
|
+
companyId: string | null;
|
|
1433
1434
|
assignedAt: string | Date;
|
|
1434
1435
|
assignedBy: string | null;
|
|
1435
|
-
|
|
1436
|
-
|
|
1436
|
+
company?: {
|
|
1437
|
+
id: string;
|
|
1438
|
+
createdAt: string | Date;
|
|
1439
|
+
updatedAt: string | Date;
|
|
1437
1440
|
name: string;
|
|
1441
|
+
} | null | undefined;
|
|
1442
|
+
lead?: {
|
|
1438
1443
|
phoneNumber: string;
|
|
1444
|
+
name: string;
|
|
1439
1445
|
} | undefined;
|
|
1440
1446
|
agent?: {
|
|
1441
1447
|
id: string;
|
|
1448
|
+
createdAt: string | Date;
|
|
1449
|
+
updatedAt: string | Date;
|
|
1442
1450
|
firstName: string;
|
|
1443
1451
|
lastName: string;
|
|
1444
1452
|
email: string;
|
|
1445
1453
|
phone: string;
|
|
1446
|
-
createdAt: string | Date;
|
|
1447
|
-
updatedAt: string | Date;
|
|
1448
1454
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1449
1455
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1450
1456
|
} | undefined;
|
|
1451
|
-
company?: {
|
|
1452
|
-
id: string;
|
|
1453
|
-
name: string;
|
|
1454
|
-
createdAt: string | Date;
|
|
1455
|
-
updatedAt: string | Date;
|
|
1456
|
-
} | null | undefined;
|
|
1457
1457
|
} | null | undefined;
|
|
1458
1458
|
}>, "many">;
|
|
1459
1459
|
totalCount: z.ZodNumber;
|
|
@@ -1462,11 +1462,12 @@ export declare const callHistoryContract: {
|
|
|
1462
1462
|
currentPage: z.ZodNumber;
|
|
1463
1463
|
totalPages: z.ZodNumber;
|
|
1464
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
|
+
limit: number;
|
|
1465
1466
|
items: {
|
|
1466
1467
|
id: string;
|
|
1467
|
-
assignmentId: string;
|
|
1468
1468
|
createdAt: string;
|
|
1469
1469
|
updatedAt: string;
|
|
1470
|
+
assignmentId: string;
|
|
1470
1471
|
callDate: string;
|
|
1471
1472
|
callType: CallType;
|
|
1472
1473
|
rating: CallRating;
|
|
@@ -1476,48 +1477,48 @@ export declare const callHistoryContract: {
|
|
|
1476
1477
|
agentId?: string | undefined;
|
|
1477
1478
|
assignment?: {
|
|
1478
1479
|
id: string;
|
|
1479
|
-
leadId: string;
|
|
1480
|
-
agentId: string | null;
|
|
1481
1480
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1482
1481
|
createdAt: string;
|
|
1483
1482
|
updatedAt: string;
|
|
1483
|
+
leadId: string;
|
|
1484
|
+
agentId: string | null;
|
|
1485
|
+
companyId: string | null;
|
|
1484
1486
|
assignedAt: string;
|
|
1485
1487
|
assignedBy: string | null;
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
+
company?: {
|
|
1489
|
+
id: string;
|
|
1490
|
+
createdAt: string;
|
|
1491
|
+
updatedAt: string;
|
|
1488
1492
|
name: string;
|
|
1493
|
+
} | null | undefined;
|
|
1494
|
+
lead?: {
|
|
1489
1495
|
phoneNumber: string;
|
|
1496
|
+
name: string;
|
|
1490
1497
|
} | undefined;
|
|
1491
1498
|
agent?: {
|
|
1492
1499
|
id: string;
|
|
1500
|
+
createdAt: string;
|
|
1501
|
+
updatedAt: string;
|
|
1493
1502
|
firstName: string;
|
|
1494
1503
|
lastName: string;
|
|
1495
1504
|
email: string;
|
|
1496
1505
|
phone: string;
|
|
1497
|
-
createdAt: string;
|
|
1498
|
-
updatedAt: string;
|
|
1499
1506
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1500
1507
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1501
1508
|
} | undefined;
|
|
1502
|
-
company?: {
|
|
1503
|
-
id: string;
|
|
1504
|
-
name: string;
|
|
1505
|
-
createdAt: string;
|
|
1506
|
-
updatedAt: string;
|
|
1507
|
-
} | null | undefined;
|
|
1508
1509
|
} | null | undefined;
|
|
1509
1510
|
}[];
|
|
1510
1511
|
totalCount: number;
|
|
1511
|
-
limit: number;
|
|
1512
1512
|
skip: number;
|
|
1513
1513
|
currentPage: number;
|
|
1514
1514
|
totalPages: number;
|
|
1515
1515
|
}, {
|
|
1516
|
+
limit: number;
|
|
1516
1517
|
items: {
|
|
1517
1518
|
id: string;
|
|
1518
|
-
assignmentId: string;
|
|
1519
1519
|
createdAt: string | Date;
|
|
1520
1520
|
updatedAt: string | Date;
|
|
1521
|
+
assignmentId: string;
|
|
1521
1522
|
callDate: string | Date;
|
|
1522
1523
|
callType: CallType;
|
|
1523
1524
|
rating: CallRating;
|
|
@@ -1526,40 +1527,39 @@ export declare const callHistoryContract: {
|
|
|
1526
1527
|
leadId?: string | undefined;
|
|
1527
1528
|
agentId?: string | undefined;
|
|
1528
1529
|
assignment?: {
|
|
1529
|
-
id: string;
|
|
1530
|
-
leadId: string;
|
|
1531
|
-
agentId: string | null;
|
|
1530
|
+
id: string;
|
|
1532
1531
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1533
1532
|
createdAt: string | Date;
|
|
1534
1533
|
updatedAt: string | Date;
|
|
1534
|
+
leadId: string;
|
|
1535
|
+
agentId: string | null;
|
|
1536
|
+
companyId: string | null;
|
|
1535
1537
|
assignedAt: string | Date;
|
|
1536
1538
|
assignedBy: string | null;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
+
company?: {
|
|
1540
|
+
id: string;
|
|
1541
|
+
createdAt: string | Date;
|
|
1542
|
+
updatedAt: string | Date;
|
|
1539
1543
|
name: string;
|
|
1544
|
+
} | null | undefined;
|
|
1545
|
+
lead?: {
|
|
1540
1546
|
phoneNumber: string;
|
|
1547
|
+
name: string;
|
|
1541
1548
|
} | undefined;
|
|
1542
1549
|
agent?: {
|
|
1543
1550
|
id: string;
|
|
1551
|
+
createdAt: string | Date;
|
|
1552
|
+
updatedAt: string | Date;
|
|
1544
1553
|
firstName: string;
|
|
1545
1554
|
lastName: string;
|
|
1546
1555
|
email: string;
|
|
1547
1556
|
phone: string;
|
|
1548
|
-
createdAt: string | Date;
|
|
1549
|
-
updatedAt: string | Date;
|
|
1550
1557
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1551
1558
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1552
1559
|
} | undefined;
|
|
1553
|
-
company?: {
|
|
1554
|
-
id: string;
|
|
1555
|
-
name: string;
|
|
1556
|
-
createdAt: string | Date;
|
|
1557
|
-
updatedAt: string | Date;
|
|
1558
|
-
} | null | undefined;
|
|
1559
1560
|
} | null | undefined;
|
|
1560
1561
|
}[];
|
|
1561
1562
|
totalCount: number;
|
|
1562
|
-
limit: number;
|
|
1563
1563
|
skip: number;
|
|
1564
1564
|
currentPage: number;
|
|
1565
1565
|
totalPages: number;
|
|
@@ -1693,11 +1693,11 @@ export declare const callHistoryContract: {
|
|
|
1693
1693
|
name: z.ZodString;
|
|
1694
1694
|
phoneNumber: z.ZodString;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
name: string;
|
|
1697
1696
|
phoneNumber: string;
|
|
1698
|
-
}, {
|
|
1699
1697
|
name: string;
|
|
1698
|
+
}, {
|
|
1700
1699
|
phoneNumber: string;
|
|
1700
|
+
name: string;
|
|
1701
1701
|
}>>;
|
|
1702
1702
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1703
1703
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1712,22 +1712,22 @@ export declare const callHistoryContract: {
|
|
|
1712
1712
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1713
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1714
1714
|
id: string;
|
|
1715
|
+
createdAt: string;
|
|
1716
|
+
updatedAt: string;
|
|
1715
1717
|
firstName: string;
|
|
1716
1718
|
lastName: string;
|
|
1717
1719
|
email: string;
|
|
1718
1720
|
phone: string;
|
|
1719
|
-
createdAt: string;
|
|
1720
|
-
updatedAt: string;
|
|
1721
1721
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1722
1722
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1723
1723
|
}, {
|
|
1724
1724
|
id: string;
|
|
1725
|
+
createdAt: string | Date;
|
|
1726
|
+
updatedAt: string | Date;
|
|
1725
1727
|
firstName: string;
|
|
1726
1728
|
lastName: string;
|
|
1727
1729
|
email: string;
|
|
1728
1730
|
phone: string;
|
|
1729
|
-
createdAt: string | Date;
|
|
1730
|
-
updatedAt: string | Date;
|
|
1731
1731
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1732
1732
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1733
1733
|
}>>;
|
|
@@ -1742,79 +1742,79 @@ export declare const callHistoryContract: {
|
|
|
1742
1742
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1743
1743
|
}, "strip", z.ZodTypeAny, {
|
|
1744
1744
|
id: string;
|
|
1745
|
-
name: string;
|
|
1746
1745
|
createdAt: string;
|
|
1747
1746
|
updatedAt: string;
|
|
1747
|
+
name: string;
|
|
1748
1748
|
}, {
|
|
1749
1749
|
id: string;
|
|
1750
|
-
name: string;
|
|
1751
1750
|
createdAt: string | Date;
|
|
1752
1751
|
updatedAt: string | Date;
|
|
1752
|
+
name: string;
|
|
1753
1753
|
}>>>;
|
|
1754
1754
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1755
1755
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1756
1756
|
}, "strip", z.ZodTypeAny, {
|
|
1757
1757
|
id: string;
|
|
1758
|
-
leadId: string;
|
|
1759
|
-
agentId: string | null;
|
|
1760
1758
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1761
1759
|
createdAt: string;
|
|
1762
1760
|
updatedAt: string;
|
|
1761
|
+
leadId: string;
|
|
1762
|
+
agentId: string | null;
|
|
1763
|
+
companyId: string | null;
|
|
1763
1764
|
assignedAt: string;
|
|
1764
1765
|
assignedBy: string | null;
|
|
1765
|
-
|
|
1766
|
-
|
|
1766
|
+
company?: {
|
|
1767
|
+
id: string;
|
|
1768
|
+
createdAt: string;
|
|
1769
|
+
updatedAt: string;
|
|
1767
1770
|
name: string;
|
|
1771
|
+
} | null | undefined;
|
|
1772
|
+
lead?: {
|
|
1768
1773
|
phoneNumber: string;
|
|
1774
|
+
name: string;
|
|
1769
1775
|
} | undefined;
|
|
1770
1776
|
agent?: {
|
|
1771
1777
|
id: string;
|
|
1778
|
+
createdAt: string;
|
|
1779
|
+
updatedAt: string;
|
|
1772
1780
|
firstName: string;
|
|
1773
1781
|
lastName: string;
|
|
1774
1782
|
email: string;
|
|
1775
1783
|
phone: string;
|
|
1776
|
-
createdAt: string;
|
|
1777
|
-
updatedAt: string;
|
|
1778
1784
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1779
1785
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1780
1786
|
} | undefined;
|
|
1781
|
-
company?: {
|
|
1782
|
-
id: string;
|
|
1783
|
-
name: string;
|
|
1784
|
-
createdAt: string;
|
|
1785
|
-
updatedAt: string;
|
|
1786
|
-
} | null | undefined;
|
|
1787
1787
|
}, {
|
|
1788
1788
|
id: string;
|
|
1789
|
-
leadId: string;
|
|
1790
|
-
agentId: string | null;
|
|
1791
1789
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1792
1790
|
createdAt: string | Date;
|
|
1793
1791
|
updatedAt: string | Date;
|
|
1792
|
+
leadId: string;
|
|
1793
|
+
agentId: string | null;
|
|
1794
|
+
companyId: string | null;
|
|
1794
1795
|
assignedAt: string | Date;
|
|
1795
1796
|
assignedBy: string | null;
|
|
1796
|
-
|
|
1797
|
-
|
|
1797
|
+
company?: {
|
|
1798
|
+
id: string;
|
|
1799
|
+
createdAt: string | Date;
|
|
1800
|
+
updatedAt: string | Date;
|
|
1798
1801
|
name: string;
|
|
1802
|
+
} | null | undefined;
|
|
1803
|
+
lead?: {
|
|
1799
1804
|
phoneNumber: string;
|
|
1805
|
+
name: string;
|
|
1800
1806
|
} | undefined;
|
|
1801
1807
|
agent?: {
|
|
1802
1808
|
id: string;
|
|
1809
|
+
createdAt: string | Date;
|
|
1810
|
+
updatedAt: string | Date;
|
|
1803
1811
|
firstName: string;
|
|
1804
1812
|
lastName: string;
|
|
1805
1813
|
email: string;
|
|
1806
1814
|
phone: string;
|
|
1807
|
-
createdAt: string | Date;
|
|
1808
|
-
updatedAt: string | Date;
|
|
1809
1815
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1810
1816
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1811
1817
|
} | undefined;
|
|
1812
|
-
company?: {
|
|
1813
|
-
id: string;
|
|
1814
|
-
name: string;
|
|
1815
|
-
createdAt: string | Date;
|
|
1816
|
-
updatedAt: string | Date;
|
|
1817
|
-
} | null | undefined;
|
|
1818
1818
|
}>>>;
|
|
1819
1819
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
1820
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1825,9 +1825,9 @@ export declare const callHistoryContract: {
|
|
|
1825
1825
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1826
1826
|
}, "strip", z.ZodTypeAny, {
|
|
1827
1827
|
id: string;
|
|
1828
|
-
assignmentId: string;
|
|
1829
1828
|
createdAt: string;
|
|
1830
1829
|
updatedAt: string;
|
|
1830
|
+
assignmentId: string;
|
|
1831
1831
|
callDate: string;
|
|
1832
1832
|
callType: CallType;
|
|
1833
1833
|
rating: CallRating;
|
|
@@ -1837,41 +1837,41 @@ export declare const callHistoryContract: {
|
|
|
1837
1837
|
agentId?: string | undefined;
|
|
1838
1838
|
assignment?: {
|
|
1839
1839
|
id: string;
|
|
1840
|
-
leadId: string;
|
|
1841
|
-
agentId: string | null;
|
|
1842
1840
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1843
1841
|
createdAt: string;
|
|
1844
1842
|
updatedAt: string;
|
|
1843
|
+
leadId: string;
|
|
1844
|
+
agentId: string | null;
|
|
1845
|
+
companyId: string | null;
|
|
1845
1846
|
assignedAt: string;
|
|
1846
1847
|
assignedBy: string | null;
|
|
1847
|
-
|
|
1848
|
-
|
|
1848
|
+
company?: {
|
|
1849
|
+
id: string;
|
|
1850
|
+
createdAt: string;
|
|
1851
|
+
updatedAt: string;
|
|
1849
1852
|
name: string;
|
|
1853
|
+
} | null | undefined;
|
|
1854
|
+
lead?: {
|
|
1850
1855
|
phoneNumber: string;
|
|
1856
|
+
name: string;
|
|
1851
1857
|
} | undefined;
|
|
1852
1858
|
agent?: {
|
|
1853
1859
|
id: string;
|
|
1860
|
+
createdAt: string;
|
|
1861
|
+
updatedAt: string;
|
|
1854
1862
|
firstName: string;
|
|
1855
1863
|
lastName: string;
|
|
1856
1864
|
email: string;
|
|
1857
1865
|
phone: string;
|
|
1858
|
-
createdAt: string;
|
|
1859
|
-
updatedAt: string;
|
|
1860
1866
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1861
1867
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1862
1868
|
} | undefined;
|
|
1863
|
-
company?: {
|
|
1864
|
-
id: string;
|
|
1865
|
-
name: string;
|
|
1866
|
-
createdAt: string;
|
|
1867
|
-
updatedAt: string;
|
|
1868
|
-
} | null | undefined;
|
|
1869
1869
|
} | null | undefined;
|
|
1870
1870
|
}, {
|
|
1871
1871
|
id: string;
|
|
1872
|
-
assignmentId: string;
|
|
1873
1872
|
createdAt: string | Date;
|
|
1874
1873
|
updatedAt: string | Date;
|
|
1874
|
+
assignmentId: string;
|
|
1875
1875
|
callDate: string | Date;
|
|
1876
1876
|
callType: CallType;
|
|
1877
1877
|
rating: CallRating;
|
|
@@ -1881,35 +1881,35 @@ export declare const callHistoryContract: {
|
|
|
1881
1881
|
agentId?: string | undefined;
|
|
1882
1882
|
assignment?: {
|
|
1883
1883
|
id: string;
|
|
1884
|
-
leadId: string;
|
|
1885
|
-
agentId: string | null;
|
|
1886
1884
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1887
1885
|
createdAt: string | Date;
|
|
1888
1886
|
updatedAt: string | Date;
|
|
1887
|
+
leadId: string;
|
|
1888
|
+
agentId: string | null;
|
|
1889
|
+
companyId: string | null;
|
|
1889
1890
|
assignedAt: string | Date;
|
|
1890
1891
|
assignedBy: string | null;
|
|
1891
|
-
|
|
1892
|
-
|
|
1892
|
+
company?: {
|
|
1893
|
+
id: string;
|
|
1894
|
+
createdAt: string | Date;
|
|
1895
|
+
updatedAt: string | Date;
|
|
1893
1896
|
name: string;
|
|
1897
|
+
} | null | undefined;
|
|
1898
|
+
lead?: {
|
|
1894
1899
|
phoneNumber: string;
|
|
1900
|
+
name: string;
|
|
1895
1901
|
} | undefined;
|
|
1896
1902
|
agent?: {
|
|
1897
1903
|
id: string;
|
|
1904
|
+
createdAt: string | Date;
|
|
1905
|
+
updatedAt: string | Date;
|
|
1898
1906
|
firstName: string;
|
|
1899
1907
|
lastName: string;
|
|
1900
1908
|
email: string;
|
|
1901
1909
|
phone: string;
|
|
1902
|
-
createdAt: string | Date;
|
|
1903
|
-
updatedAt: string | Date;
|
|
1904
1910
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1905
1911
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1906
1912
|
} | undefined;
|
|
1907
|
-
company?: {
|
|
1908
|
-
id: string;
|
|
1909
|
-
name: string;
|
|
1910
|
-
createdAt: string | Date;
|
|
1911
|
-
updatedAt: string | Date;
|
|
1912
|
-
} | null | undefined;
|
|
1913
1913
|
} | null | undefined;
|
|
1914
1914
|
}>;
|
|
1915
1915
|
404: z.ZodObject<{
|
|
@@ -2079,11 +2079,11 @@ export declare const callHistoryContract: {
|
|
|
2079
2079
|
name: z.ZodString;
|
|
2080
2080
|
phoneNumber: z.ZodString;
|
|
2081
2081
|
}, "strip", z.ZodTypeAny, {
|
|
2082
|
-
name: string;
|
|
2083
2082
|
phoneNumber: string;
|
|
2084
|
-
}, {
|
|
2085
2083
|
name: string;
|
|
2084
|
+
}, {
|
|
2086
2085
|
phoneNumber: string;
|
|
2086
|
+
name: string;
|
|
2087
2087
|
}>>;
|
|
2088
2088
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2089
2089
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2098,22 +2098,22 @@ export declare const callHistoryContract: {
|
|
|
2098
2098
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2099
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2100
2100
|
id: string;
|
|
2101
|
+
createdAt: string;
|
|
2102
|
+
updatedAt: string;
|
|
2101
2103
|
firstName: string;
|
|
2102
2104
|
lastName: string;
|
|
2103
2105
|
email: string;
|
|
2104
2106
|
phone: string;
|
|
2105
|
-
createdAt: string;
|
|
2106
|
-
updatedAt: string;
|
|
2107
2107
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2108
2108
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2109
2109
|
}, {
|
|
2110
2110
|
id: string;
|
|
2111
|
+
createdAt: string | Date;
|
|
2112
|
+
updatedAt: string | Date;
|
|
2111
2113
|
firstName: string;
|
|
2112
2114
|
lastName: string;
|
|
2113
2115
|
email: string;
|
|
2114
2116
|
phone: string;
|
|
2115
|
-
createdAt: string | Date;
|
|
2116
|
-
updatedAt: string | Date;
|
|
2117
2117
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2118
2118
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2119
2119
|
}>>;
|
|
@@ -2128,79 +2128,79 @@ export declare const callHistoryContract: {
|
|
|
2128
2128
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2129
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2130
2130
|
id: string;
|
|
2131
|
-
name: string;
|
|
2132
2131
|
createdAt: string;
|
|
2133
2132
|
updatedAt: string;
|
|
2133
|
+
name: string;
|
|
2134
2134
|
}, {
|
|
2135
2135
|
id: string;
|
|
2136
|
-
name: string;
|
|
2137
2136
|
createdAt: string | Date;
|
|
2138
2137
|
updatedAt: string | Date;
|
|
2138
|
+
name: string;
|
|
2139
2139
|
}>>>;
|
|
2140
2140
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2141
2141
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2142
2142
|
}, "strip", z.ZodTypeAny, {
|
|
2143
2143
|
id: string;
|
|
2144
|
-
leadId: string;
|
|
2145
|
-
agentId: string | null;
|
|
2146
2144
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2147
2145
|
createdAt: string;
|
|
2148
2146
|
updatedAt: string;
|
|
2147
|
+
leadId: string;
|
|
2148
|
+
agentId: string | null;
|
|
2149
|
+
companyId: string | null;
|
|
2149
2150
|
assignedAt: string;
|
|
2150
2151
|
assignedBy: string | null;
|
|
2151
|
-
|
|
2152
|
-
|
|
2152
|
+
company?: {
|
|
2153
|
+
id: string;
|
|
2154
|
+
createdAt: string;
|
|
2155
|
+
updatedAt: string;
|
|
2153
2156
|
name: string;
|
|
2157
|
+
} | null | undefined;
|
|
2158
|
+
lead?: {
|
|
2154
2159
|
phoneNumber: string;
|
|
2160
|
+
name: string;
|
|
2155
2161
|
} | undefined;
|
|
2156
2162
|
agent?: {
|
|
2157
2163
|
id: string;
|
|
2164
|
+
createdAt: string;
|
|
2165
|
+
updatedAt: string;
|
|
2158
2166
|
firstName: string;
|
|
2159
2167
|
lastName: string;
|
|
2160
2168
|
email: string;
|
|
2161
2169
|
phone: string;
|
|
2162
|
-
createdAt: string;
|
|
2163
|
-
updatedAt: string;
|
|
2164
2170
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2165
2171
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2166
2172
|
} | undefined;
|
|
2167
|
-
company?: {
|
|
2168
|
-
id: string;
|
|
2169
|
-
name: string;
|
|
2170
|
-
createdAt: string;
|
|
2171
|
-
updatedAt: string;
|
|
2172
|
-
} | null | undefined;
|
|
2173
2173
|
}, {
|
|
2174
2174
|
id: string;
|
|
2175
|
-
leadId: string;
|
|
2176
|
-
agentId: string | null;
|
|
2177
2175
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2178
2176
|
createdAt: string | Date;
|
|
2179
2177
|
updatedAt: string | Date;
|
|
2178
|
+
leadId: string;
|
|
2179
|
+
agentId: string | null;
|
|
2180
|
+
companyId: string | null;
|
|
2180
2181
|
assignedAt: string | Date;
|
|
2181
2182
|
assignedBy: string | null;
|
|
2182
|
-
|
|
2183
|
-
|
|
2183
|
+
company?: {
|
|
2184
|
+
id: string;
|
|
2185
|
+
createdAt: string | Date;
|
|
2186
|
+
updatedAt: string | Date;
|
|
2184
2187
|
name: string;
|
|
2188
|
+
} | null | undefined;
|
|
2189
|
+
lead?: {
|
|
2185
2190
|
phoneNumber: string;
|
|
2191
|
+
name: string;
|
|
2186
2192
|
} | undefined;
|
|
2187
2193
|
agent?: {
|
|
2188
2194
|
id: string;
|
|
2195
|
+
createdAt: string | Date;
|
|
2196
|
+
updatedAt: string | Date;
|
|
2189
2197
|
firstName: string;
|
|
2190
2198
|
lastName: string;
|
|
2191
2199
|
email: string;
|
|
2192
2200
|
phone: string;
|
|
2193
|
-
createdAt: string | Date;
|
|
2194
|
-
updatedAt: string | Date;
|
|
2195
2201
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2196
2202
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2197
2203
|
} | undefined;
|
|
2198
|
-
company?: {
|
|
2199
|
-
id: string;
|
|
2200
|
-
name: string;
|
|
2201
|
-
createdAt: string | Date;
|
|
2202
|
-
updatedAt: string | Date;
|
|
2203
|
-
} | null | undefined;
|
|
2204
2204
|
}>>>;
|
|
2205
2205
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2206
2206
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2211,9 +2211,9 @@ export declare const callHistoryContract: {
|
|
|
2211
2211
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2212
2212
|
}, "strip", z.ZodTypeAny, {
|
|
2213
2213
|
id: string;
|
|
2214
|
-
assignmentId: string;
|
|
2215
2214
|
createdAt: string;
|
|
2216
2215
|
updatedAt: string;
|
|
2216
|
+
assignmentId: string;
|
|
2217
2217
|
callDate: string;
|
|
2218
2218
|
callType: CallType;
|
|
2219
2219
|
rating: CallRating;
|
|
@@ -2223,41 +2223,41 @@ export declare const callHistoryContract: {
|
|
|
2223
2223
|
agentId?: string | undefined;
|
|
2224
2224
|
assignment?: {
|
|
2225
2225
|
id: string;
|
|
2226
|
-
leadId: string;
|
|
2227
|
-
agentId: string | null;
|
|
2228
2226
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2229
2227
|
createdAt: string;
|
|
2230
2228
|
updatedAt: string;
|
|
2229
|
+
leadId: string;
|
|
2230
|
+
agentId: string | null;
|
|
2231
|
+
companyId: string | null;
|
|
2231
2232
|
assignedAt: string;
|
|
2232
2233
|
assignedBy: string | null;
|
|
2233
|
-
|
|
2234
|
-
|
|
2234
|
+
company?: {
|
|
2235
|
+
id: string;
|
|
2236
|
+
createdAt: string;
|
|
2237
|
+
updatedAt: string;
|
|
2235
2238
|
name: string;
|
|
2239
|
+
} | null | undefined;
|
|
2240
|
+
lead?: {
|
|
2236
2241
|
phoneNumber: string;
|
|
2242
|
+
name: string;
|
|
2237
2243
|
} | undefined;
|
|
2238
2244
|
agent?: {
|
|
2239
2245
|
id: string;
|
|
2246
|
+
createdAt: string;
|
|
2247
|
+
updatedAt: string;
|
|
2240
2248
|
firstName: string;
|
|
2241
2249
|
lastName: string;
|
|
2242
2250
|
email: string;
|
|
2243
2251
|
phone: string;
|
|
2244
|
-
createdAt: string;
|
|
2245
|
-
updatedAt: string;
|
|
2246
2252
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2247
2253
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2248
2254
|
} | undefined;
|
|
2249
|
-
company?: {
|
|
2250
|
-
id: string;
|
|
2251
|
-
name: string;
|
|
2252
|
-
createdAt: string;
|
|
2253
|
-
updatedAt: string;
|
|
2254
|
-
} | null | undefined;
|
|
2255
2255
|
} | null | undefined;
|
|
2256
2256
|
}, {
|
|
2257
2257
|
id: string;
|
|
2258
|
-
assignmentId: string;
|
|
2259
2258
|
createdAt: string | Date;
|
|
2260
2259
|
updatedAt: string | Date;
|
|
2260
|
+
assignmentId: string;
|
|
2261
2261
|
callDate: string | Date;
|
|
2262
2262
|
callType: CallType;
|
|
2263
2263
|
rating: CallRating;
|
|
@@ -2267,35 +2267,35 @@ export declare const callHistoryContract: {
|
|
|
2267
2267
|
agentId?: string | undefined;
|
|
2268
2268
|
assignment?: {
|
|
2269
2269
|
id: string;
|
|
2270
|
-
leadId: string;
|
|
2271
|
-
agentId: string | null;
|
|
2272
2270
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2273
2271
|
createdAt: string | Date;
|
|
2274
2272
|
updatedAt: string | Date;
|
|
2273
|
+
leadId: string;
|
|
2274
|
+
agentId: string | null;
|
|
2275
|
+
companyId: string | null;
|
|
2275
2276
|
assignedAt: string | Date;
|
|
2276
2277
|
assignedBy: string | null;
|
|
2277
|
-
|
|
2278
|
-
|
|
2278
|
+
company?: {
|
|
2279
|
+
id: string;
|
|
2280
|
+
createdAt: string | Date;
|
|
2281
|
+
updatedAt: string | Date;
|
|
2279
2282
|
name: string;
|
|
2283
|
+
} | null | undefined;
|
|
2284
|
+
lead?: {
|
|
2280
2285
|
phoneNumber: string;
|
|
2286
|
+
name: string;
|
|
2281
2287
|
} | undefined;
|
|
2282
2288
|
agent?: {
|
|
2283
2289
|
id: string;
|
|
2290
|
+
createdAt: string | Date;
|
|
2291
|
+
updatedAt: string | Date;
|
|
2284
2292
|
firstName: string;
|
|
2285
2293
|
lastName: string;
|
|
2286
2294
|
email: string;
|
|
2287
2295
|
phone: string;
|
|
2288
|
-
createdAt: string | Date;
|
|
2289
|
-
updatedAt: string | Date;
|
|
2290
2296
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2291
2297
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2292
2298
|
} | undefined;
|
|
2293
|
-
company?: {
|
|
2294
|
-
id: string;
|
|
2295
|
-
name: string;
|
|
2296
|
-
createdAt: string | Date;
|
|
2297
|
-
updatedAt: string | Date;
|
|
2298
|
-
} | null | undefined;
|
|
2299
2299
|
} | null | undefined;
|
|
2300
2300
|
}>;
|
|
2301
2301
|
404: z.ZodObject<{
|