@dakkitor/api-contracts 1.1.72 → 1.1.75
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/second-agent.abilities.json +2 -4
- package/dist/actives/actives.contract.d.ts +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -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
|
-
id: string;
|
|
97
|
-
leadId: string;
|
|
98
|
-
agentId: string | null;
|
|
99
96
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
97
|
+
id: string;
|
|
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
|
+
company?: {
|
|
106
|
+
id: string;
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
109
|
+
name: string;
|
|
110
|
+
} | null | undefined;
|
|
105
111
|
lead?: {
|
|
106
112
|
name: string;
|
|
107
113
|
phoneNumber: 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
|
-
id: string;
|
|
128
|
-
leadId: string;
|
|
129
|
-
agentId: string | null;
|
|
130
127
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
128
|
+
id: string;
|
|
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
|
+
company?: {
|
|
137
|
+
id: string;
|
|
138
|
+
createdAt: string | Date;
|
|
139
|
+
updatedAt: string | Date;
|
|
140
|
+
name: string;
|
|
141
|
+
} | null | undefined;
|
|
136
142
|
lead?: {
|
|
137
143
|
name: string;
|
|
138
144
|
phoneNumber: 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;
|
|
@@ -175,42 +175,42 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
175
175
|
leadId?: string | undefined;
|
|
176
176
|
agentId?: string | undefined;
|
|
177
177
|
assignment?: {
|
|
178
|
-
id: string;
|
|
179
|
-
leadId: string;
|
|
180
|
-
agentId: string | null;
|
|
181
178
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
179
|
+
id: string;
|
|
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
|
+
company?: {
|
|
188
|
+
id: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
191
|
+
name: string;
|
|
192
|
+
} | null | undefined;
|
|
187
193
|
lead?: {
|
|
188
194
|
name: string;
|
|
189
195
|
phoneNumber: 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;
|
|
@@ -219,36 +219,36 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
219
219
|
leadId?: string | undefined;
|
|
220
220
|
agentId?: string | undefined;
|
|
221
221
|
assignment?: {
|
|
222
|
-
id: string;
|
|
223
|
-
leadId: string;
|
|
224
|
-
agentId: string | null;
|
|
225
222
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
223
|
+
id: string;
|
|
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
|
+
company?: {
|
|
232
|
+
id: string;
|
|
233
|
+
createdAt: string | Date;
|
|
234
|
+
updatedAt: string | Date;
|
|
235
|
+
name: string;
|
|
236
|
+
} | null | undefined;
|
|
231
237
|
lead?: {
|
|
232
238
|
name: string;
|
|
233
239
|
phoneNumber: 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<{
|
|
@@ -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
|
-
id: string;
|
|
329
|
-
leadId: string;
|
|
330
|
-
agentId: string | null;
|
|
331
328
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
329
|
+
id: string;
|
|
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
|
+
company?: {
|
|
338
|
+
id: string;
|
|
339
|
+
createdAt: string;
|
|
340
|
+
updatedAt: string;
|
|
341
|
+
name: string;
|
|
342
|
+
} | null | undefined;
|
|
337
343
|
lead?: {
|
|
338
344
|
name: string;
|
|
339
345
|
phoneNumber: 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
|
-
id: string;
|
|
360
|
-
leadId: string;
|
|
361
|
-
agentId: string | null;
|
|
362
359
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
360
|
+
id: string;
|
|
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
|
+
company?: {
|
|
369
|
+
id: string;
|
|
370
|
+
createdAt: string | Date;
|
|
371
|
+
updatedAt: string | Date;
|
|
372
|
+
name: string;
|
|
373
|
+
} | null | undefined;
|
|
368
374
|
lead?: {
|
|
369
375
|
name: string;
|
|
370
376
|
phoneNumber: 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;
|
|
@@ -407,42 +407,42 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
407
407
|
leadId?: string | undefined;
|
|
408
408
|
agentId?: string | undefined;
|
|
409
409
|
assignment?: {
|
|
410
|
-
id: string;
|
|
411
|
-
leadId: string;
|
|
412
|
-
agentId: string | null;
|
|
413
410
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
411
|
+
id: string;
|
|
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
|
+
company?: {
|
|
420
|
+
id: string;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
updatedAt: string;
|
|
423
|
+
name: string;
|
|
424
|
+
} | null | undefined;
|
|
419
425
|
lead?: {
|
|
420
426
|
name: string;
|
|
421
427
|
phoneNumber: 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;
|
|
@@ -451,36 +451,36 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
451
451
|
leadId?: string | undefined;
|
|
452
452
|
agentId?: string | undefined;
|
|
453
453
|
assignment?: {
|
|
454
|
-
id: string;
|
|
455
|
-
leadId: string;
|
|
456
|
-
agentId: string | null;
|
|
457
454
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
455
|
+
id: string;
|
|
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
|
+
company?: {
|
|
464
|
+
id: string;
|
|
465
|
+
createdAt: string | Date;
|
|
466
|
+
updatedAt: string | Date;
|
|
467
|
+
name: string;
|
|
468
|
+
} | null | undefined;
|
|
463
469
|
lead?: {
|
|
464
470
|
name: string;
|
|
465
471
|
phoneNumber: 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;
|
|
@@ -502,49 +503,49 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
502
503
|
leadId?: string | undefined;
|
|
503
504
|
agentId?: string | undefined;
|
|
504
505
|
assignment?: {
|
|
505
|
-
id: string;
|
|
506
|
-
leadId: string;
|
|
507
|
-
agentId: string | null;
|
|
508
506
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
507
|
+
id: string;
|
|
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
|
-
|
|
515
|
+
company?: {
|
|
516
|
+
id: string;
|
|
517
|
+
createdAt: string;
|
|
518
|
+
updatedAt: string;
|
|
519
|
+
name: string;
|
|
520
|
+
} | null | undefined;
|
|
514
521
|
lead?: {
|
|
515
522
|
name: string;
|
|
516
523
|
phoneNumber: 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;
|
|
@@ -553,40 +554,39 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
553
554
|
leadId?: string | undefined;
|
|
554
555
|
agentId?: string | undefined;
|
|
555
556
|
assignment?: {
|
|
556
|
-
id: string;
|
|
557
|
-
leadId: string;
|
|
558
|
-
agentId: string | null;
|
|
559
557
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
558
|
+
id: string;
|
|
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
|
-
|
|
566
|
+
company?: {
|
|
567
|
+
id: string;
|
|
568
|
+
createdAt: string | Date;
|
|
569
|
+
updatedAt: string | Date;
|
|
570
|
+
name: string;
|
|
571
|
+
} | null | undefined;
|
|
565
572
|
lead?: {
|
|
566
573
|
name: string;
|
|
567
574
|
phoneNumber: 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;
|
|
@@ -642,6 +642,8 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
642
642
|
}, "strip", z.ZodTypeAny, {
|
|
643
643
|
limit: number;
|
|
644
644
|
page: number;
|
|
645
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
646
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
645
647
|
assignmentId?: string | undefined;
|
|
646
648
|
callDate?: {
|
|
647
649
|
from?: string | null | undefined;
|
|
@@ -649,9 +651,11 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
649
651
|
} | null | undefined;
|
|
650
652
|
callType?: CallType | undefined;
|
|
651
653
|
rating?: CallRating | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
limit?: number | undefined;
|
|
656
|
+
page?: number | undefined;
|
|
652
657
|
sortBy?: CallHistorySortableFields | undefined;
|
|
653
658
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
654
|
-
}, {
|
|
655
659
|
assignmentId?: string | undefined;
|
|
656
660
|
callDate?: {
|
|
657
661
|
from?: string | null | undefined;
|
|
@@ -659,10 +663,6 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
659
663
|
} | null | undefined;
|
|
660
664
|
callType?: CallType | undefined;
|
|
661
665
|
rating?: unknown;
|
|
662
|
-
limit?: number | undefined;
|
|
663
|
-
page?: number | undefined;
|
|
664
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
665
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
666
666
|
}>;
|
|
667
667
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
668
668
|
totalCalls: z.ZodNumber;
|
|
@@ -839,22 +839,22 @@ export declare const callHistoryContract: {
|
|
|
839
839
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
841
|
id: string;
|
|
842
|
+
createdAt: string;
|
|
843
|
+
updatedAt: string;
|
|
842
844
|
firstName: string;
|
|
843
845
|
lastName: string;
|
|
844
846
|
email: string;
|
|
845
847
|
phone: string;
|
|
846
|
-
createdAt: string;
|
|
847
|
-
updatedAt: string;
|
|
848
848
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
849
849
|
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;
|
|
850
850
|
}, {
|
|
851
851
|
id: string;
|
|
852
|
+
createdAt: string | Date;
|
|
853
|
+
updatedAt: string | Date;
|
|
852
854
|
firstName: string;
|
|
853
855
|
lastName: string;
|
|
854
856
|
email: string;
|
|
855
857
|
phone: string;
|
|
856
|
-
createdAt: string | Date;
|
|
857
|
-
updatedAt: string | Date;
|
|
858
858
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
859
859
|
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;
|
|
860
860
|
}>>;
|
|
@@ -869,79 +869,79 @@ export declare const callHistoryContract: {
|
|
|
869
869
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
871
|
id: string;
|
|
872
|
-
name: string;
|
|
873
872
|
createdAt: string;
|
|
874
873
|
updatedAt: string;
|
|
874
|
+
name: string;
|
|
875
875
|
}, {
|
|
876
876
|
id: string;
|
|
877
|
-
name: string;
|
|
878
877
|
createdAt: string | Date;
|
|
879
878
|
updatedAt: string | Date;
|
|
879
|
+
name: string;
|
|
880
880
|
}>>>;
|
|
881
881
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
882
882
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
883
|
-
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
id: string;
|
|
885
|
-
leadId: string;
|
|
886
|
-
agentId: string | null;
|
|
883
|
+
}, "strip", z.ZodTypeAny, {
|
|
887
884
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
885
|
+
id: string;
|
|
888
886
|
createdAt: string;
|
|
889
887
|
updatedAt: string;
|
|
888
|
+
leadId: string;
|
|
889
|
+
agentId: string | null;
|
|
890
|
+
companyId: string | null;
|
|
890
891
|
assignedAt: string;
|
|
891
892
|
assignedBy: string | null;
|
|
892
|
-
|
|
893
|
+
company?: {
|
|
894
|
+
id: string;
|
|
895
|
+
createdAt: string;
|
|
896
|
+
updatedAt: string;
|
|
897
|
+
name: string;
|
|
898
|
+
} | null | undefined;
|
|
893
899
|
lead?: {
|
|
894
900
|
name: string;
|
|
895
901
|
phoneNumber: string;
|
|
896
902
|
} | undefined;
|
|
897
903
|
agent?: {
|
|
898
904
|
id: string;
|
|
905
|
+
createdAt: string;
|
|
906
|
+
updatedAt: string;
|
|
899
907
|
firstName: string;
|
|
900
908
|
lastName: string;
|
|
901
909
|
email: string;
|
|
902
910
|
phone: string;
|
|
903
|
-
createdAt: string;
|
|
904
|
-
updatedAt: string;
|
|
905
911
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
906
912
|
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;
|
|
907
913
|
} | undefined;
|
|
908
|
-
company?: {
|
|
909
|
-
id: string;
|
|
910
|
-
name: string;
|
|
911
|
-
createdAt: string;
|
|
912
|
-
updatedAt: string;
|
|
913
|
-
} | null | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
id: string;
|
|
916
|
-
leadId: string;
|
|
917
|
-
agentId: string | null;
|
|
918
915
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
916
|
+
id: string;
|
|
919
917
|
createdAt: string | Date;
|
|
920
918
|
updatedAt: string | Date;
|
|
919
|
+
leadId: string;
|
|
920
|
+
agentId: string | null;
|
|
921
|
+
companyId: string | null;
|
|
921
922
|
assignedAt: string | Date;
|
|
922
923
|
assignedBy: string | null;
|
|
923
|
-
|
|
924
|
+
company?: {
|
|
925
|
+
id: string;
|
|
926
|
+
createdAt: string | Date;
|
|
927
|
+
updatedAt: string | Date;
|
|
928
|
+
name: string;
|
|
929
|
+
} | null | undefined;
|
|
924
930
|
lead?: {
|
|
925
931
|
name: string;
|
|
926
932
|
phoneNumber: string;
|
|
927
933
|
} | undefined;
|
|
928
934
|
agent?: {
|
|
929
935
|
id: string;
|
|
936
|
+
createdAt: string | Date;
|
|
937
|
+
updatedAt: string | Date;
|
|
930
938
|
firstName: string;
|
|
931
939
|
lastName: string;
|
|
932
940
|
email: string;
|
|
933
941
|
phone: string;
|
|
934
|
-
createdAt: string | Date;
|
|
935
|
-
updatedAt: string | Date;
|
|
936
942
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
937
943
|
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;
|
|
938
944
|
} | undefined;
|
|
939
|
-
company?: {
|
|
940
|
-
id: string;
|
|
941
|
-
name: string;
|
|
942
|
-
createdAt: string | Date;
|
|
943
|
-
updatedAt: string | Date;
|
|
944
|
-
} | null | undefined;
|
|
945
945
|
}>>>;
|
|
946
946
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
947
947
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -952,9 +952,9 @@ export declare const callHistoryContract: {
|
|
|
952
952
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
953
953
|
}, "strip", z.ZodTypeAny, {
|
|
954
954
|
id: string;
|
|
955
|
-
assignmentId: string;
|
|
956
955
|
createdAt: string;
|
|
957
956
|
updatedAt: string;
|
|
957
|
+
assignmentId: string;
|
|
958
958
|
callDate: string;
|
|
959
959
|
callType: CallType;
|
|
960
960
|
rating: CallRating;
|
|
@@ -963,42 +963,42 @@ export declare const callHistoryContract: {
|
|
|
963
963
|
leadId?: string | undefined;
|
|
964
964
|
agentId?: string | undefined;
|
|
965
965
|
assignment?: {
|
|
966
|
-
id: string;
|
|
967
|
-
leadId: string;
|
|
968
|
-
agentId: string | null;
|
|
969
966
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
967
|
+
id: string;
|
|
970
968
|
createdAt: string;
|
|
971
969
|
updatedAt: string;
|
|
970
|
+
leadId: string;
|
|
971
|
+
agentId: string | null;
|
|
972
|
+
companyId: string | null;
|
|
972
973
|
assignedAt: string;
|
|
973
974
|
assignedBy: string | null;
|
|
974
|
-
|
|
975
|
+
company?: {
|
|
976
|
+
id: string;
|
|
977
|
+
createdAt: string;
|
|
978
|
+
updatedAt: string;
|
|
979
|
+
name: string;
|
|
980
|
+
} | null | undefined;
|
|
975
981
|
lead?: {
|
|
976
982
|
name: string;
|
|
977
983
|
phoneNumber: string;
|
|
978
984
|
} | undefined;
|
|
979
985
|
agent?: {
|
|
980
986
|
id: string;
|
|
987
|
+
createdAt: string;
|
|
988
|
+
updatedAt: string;
|
|
981
989
|
firstName: string;
|
|
982
990
|
lastName: string;
|
|
983
991
|
email: string;
|
|
984
992
|
phone: string;
|
|
985
|
-
createdAt: string;
|
|
986
|
-
updatedAt: string;
|
|
987
993
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
988
994
|
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;
|
|
989
995
|
} | undefined;
|
|
990
|
-
company?: {
|
|
991
|
-
id: string;
|
|
992
|
-
name: string;
|
|
993
|
-
createdAt: string;
|
|
994
|
-
updatedAt: string;
|
|
995
|
-
} | null | undefined;
|
|
996
996
|
} | null | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
id: string;
|
|
999
|
-
assignmentId: string;
|
|
1000
999
|
createdAt: string | Date;
|
|
1001
1000
|
updatedAt: string | Date;
|
|
1001
|
+
assignmentId: string;
|
|
1002
1002
|
callDate: string | Date;
|
|
1003
1003
|
callType: CallType;
|
|
1004
1004
|
rating: CallRating;
|
|
@@ -1007,36 +1007,36 @@ export declare const callHistoryContract: {
|
|
|
1007
1007
|
leadId?: string | undefined;
|
|
1008
1008
|
agentId?: string | undefined;
|
|
1009
1009
|
assignment?: {
|
|
1010
|
-
id: string;
|
|
1011
|
-
leadId: string;
|
|
1012
|
-
agentId: string | null;
|
|
1013
1010
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1011
|
+
id: string;
|
|
1014
1012
|
createdAt: string | Date;
|
|
1015
1013
|
updatedAt: string | Date;
|
|
1014
|
+
leadId: string;
|
|
1015
|
+
agentId: string | null;
|
|
1016
|
+
companyId: string | null;
|
|
1016
1017
|
assignedAt: string | Date;
|
|
1017
1018
|
assignedBy: string | null;
|
|
1018
|
-
|
|
1019
|
+
company?: {
|
|
1020
|
+
id: string;
|
|
1021
|
+
createdAt: string | Date;
|
|
1022
|
+
updatedAt: string | Date;
|
|
1023
|
+
name: string;
|
|
1024
|
+
} | null | undefined;
|
|
1019
1025
|
lead?: {
|
|
1020
1026
|
name: string;
|
|
1021
1027
|
phoneNumber: string;
|
|
1022
1028
|
} | undefined;
|
|
1023
1029
|
agent?: {
|
|
1024
1030
|
id: string;
|
|
1031
|
+
createdAt: string | Date;
|
|
1032
|
+
updatedAt: string | Date;
|
|
1025
1033
|
firstName: string;
|
|
1026
1034
|
lastName: string;
|
|
1027
1035
|
email: string;
|
|
1028
1036
|
phone: string;
|
|
1029
|
-
createdAt: string | Date;
|
|
1030
|
-
updatedAt: string | Date;
|
|
1031
1037
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1032
1038
|
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;
|
|
1033
1039
|
} | undefined;
|
|
1034
|
-
company?: {
|
|
1035
|
-
id: string;
|
|
1036
|
-
name: string;
|
|
1037
|
-
createdAt: string | Date;
|
|
1038
|
-
updatedAt: string | Date;
|
|
1039
|
-
} | null | undefined;
|
|
1040
1040
|
} | null | undefined;
|
|
1041
1041
|
}>;
|
|
1042
1042
|
409: z.ZodObject<{
|
|
@@ -1067,9 +1067,6 @@ export declare const callHistoryContract: {
|
|
|
1067
1067
|
};
|
|
1068
1068
|
};
|
|
1069
1069
|
findAll: {
|
|
1070
|
-
metadata: {
|
|
1071
|
-
tags: string[];
|
|
1072
|
-
};
|
|
1073
1070
|
query: z.ZodObject<{
|
|
1074
1071
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1075
1072
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1092,6 +1089,8 @@ export declare const callHistoryContract: {
|
|
|
1092
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1090
|
limit: number;
|
|
1094
1091
|
page: number;
|
|
1092
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1093
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1095
1094
|
assignmentId?: string | undefined;
|
|
1096
1095
|
callDate?: {
|
|
1097
1096
|
from?: string | null | undefined;
|
|
@@ -1099,9 +1098,11 @@ export declare const callHistoryContract: {
|
|
|
1099
1098
|
} | null | undefined;
|
|
1100
1099
|
callType?: CallType | undefined;
|
|
1101
1100
|
rating?: CallRating | undefined;
|
|
1101
|
+
}, {
|
|
1102
|
+
limit?: number | undefined;
|
|
1103
|
+
page?: number | undefined;
|
|
1102
1104
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1103
1105
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1104
|
-
}, {
|
|
1105
1106
|
assignmentId?: string | undefined;
|
|
1106
1107
|
callDate?: {
|
|
1107
1108
|
from?: string | null | undefined;
|
|
@@ -1109,11 +1110,10 @@ export declare const callHistoryContract: {
|
|
|
1109
1110
|
} | null | undefined;
|
|
1110
1111
|
callType?: CallType | undefined;
|
|
1111
1112
|
rating?: unknown;
|
|
1112
|
-
limit?: number | undefined;
|
|
1113
|
-
page?: number | undefined;
|
|
1114
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1115
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1116
1113
|
}>;
|
|
1114
|
+
metadata: {
|
|
1115
|
+
tags: string[];
|
|
1116
|
+
};
|
|
1117
1117
|
summary: "Get call history records";
|
|
1118
1118
|
method: "GET";
|
|
1119
1119
|
path: "/v2/call-history";
|
|
@@ -1250,22 +1250,22 @@ export declare const callHistoryContract: {
|
|
|
1250
1250
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1251
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1252
|
id: string;
|
|
1253
|
+
createdAt: string;
|
|
1254
|
+
updatedAt: string;
|
|
1253
1255
|
firstName: string;
|
|
1254
1256
|
lastName: string;
|
|
1255
1257
|
email: string;
|
|
1256
1258
|
phone: string;
|
|
1257
|
-
createdAt: string;
|
|
1258
|
-
updatedAt: string;
|
|
1259
1259
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1260
1260
|
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;
|
|
1261
1261
|
}, {
|
|
1262
1262
|
id: string;
|
|
1263
|
+
createdAt: string | Date;
|
|
1264
|
+
updatedAt: string | Date;
|
|
1263
1265
|
firstName: string;
|
|
1264
1266
|
lastName: string;
|
|
1265
1267
|
email: string;
|
|
1266
1268
|
phone: string;
|
|
1267
|
-
createdAt: string | Date;
|
|
1268
|
-
updatedAt: string | Date;
|
|
1269
1269
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1270
1270
|
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;
|
|
1271
1271
|
}>>;
|
|
@@ -1280,79 +1280,79 @@ export declare const callHistoryContract: {
|
|
|
1280
1280
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1281
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1282
1282
|
id: string;
|
|
1283
|
-
name: string;
|
|
1284
1283
|
createdAt: string;
|
|
1285
1284
|
updatedAt: string;
|
|
1285
|
+
name: string;
|
|
1286
1286
|
}, {
|
|
1287
1287
|
id: string;
|
|
1288
|
-
name: string;
|
|
1289
1288
|
createdAt: string | Date;
|
|
1290
1289
|
updatedAt: string | Date;
|
|
1290
|
+
name: string;
|
|
1291
1291
|
}>>>;
|
|
1292
1292
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1293
1293
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1294
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1295
|
-
id: string;
|
|
1296
|
-
leadId: string;
|
|
1297
|
-
agentId: string | null;
|
|
1298
1295
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1296
|
+
id: string;
|
|
1299
1297
|
createdAt: string;
|
|
1300
1298
|
updatedAt: string;
|
|
1299
|
+
leadId: string;
|
|
1300
|
+
agentId: string | null;
|
|
1301
|
+
companyId: string | null;
|
|
1301
1302
|
assignedAt: string;
|
|
1302
1303
|
assignedBy: string | null;
|
|
1303
|
-
|
|
1304
|
+
company?: {
|
|
1305
|
+
id: string;
|
|
1306
|
+
createdAt: string;
|
|
1307
|
+
updatedAt: string;
|
|
1308
|
+
name: string;
|
|
1309
|
+
} | null | undefined;
|
|
1304
1310
|
lead?: {
|
|
1305
1311
|
name: string;
|
|
1306
1312
|
phoneNumber: string;
|
|
1307
1313
|
} | undefined;
|
|
1308
1314
|
agent?: {
|
|
1309
1315
|
id: string;
|
|
1316
|
+
createdAt: string;
|
|
1317
|
+
updatedAt: string;
|
|
1310
1318
|
firstName: string;
|
|
1311
1319
|
lastName: string;
|
|
1312
1320
|
email: string;
|
|
1313
1321
|
phone: string;
|
|
1314
|
-
createdAt: string;
|
|
1315
|
-
updatedAt: string;
|
|
1316
1322
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1317
1323
|
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;
|
|
1318
1324
|
} | undefined;
|
|
1319
|
-
company?: {
|
|
1320
|
-
id: string;
|
|
1321
|
-
name: string;
|
|
1322
|
-
createdAt: string;
|
|
1323
|
-
updatedAt: string;
|
|
1324
|
-
} | null | undefined;
|
|
1325
1325
|
}, {
|
|
1326
|
-
id: string;
|
|
1327
|
-
leadId: string;
|
|
1328
|
-
agentId: string | null;
|
|
1329
1326
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1327
|
+
id: string;
|
|
1330
1328
|
createdAt: string | Date;
|
|
1331
1329
|
updatedAt: string | Date;
|
|
1330
|
+
leadId: string;
|
|
1331
|
+
agentId: string | null;
|
|
1332
|
+
companyId: string | null;
|
|
1332
1333
|
assignedAt: string | Date;
|
|
1333
1334
|
assignedBy: string | null;
|
|
1334
|
-
|
|
1335
|
+
company?: {
|
|
1336
|
+
id: string;
|
|
1337
|
+
createdAt: string | Date;
|
|
1338
|
+
updatedAt: string | Date;
|
|
1339
|
+
name: string;
|
|
1340
|
+
} | null | undefined;
|
|
1335
1341
|
lead?: {
|
|
1336
1342
|
name: string;
|
|
1337
1343
|
phoneNumber: string;
|
|
1338
1344
|
} | undefined;
|
|
1339
1345
|
agent?: {
|
|
1340
1346
|
id: string;
|
|
1347
|
+
createdAt: string | Date;
|
|
1348
|
+
updatedAt: string | Date;
|
|
1341
1349
|
firstName: string;
|
|
1342
1350
|
lastName: string;
|
|
1343
1351
|
email: string;
|
|
1344
1352
|
phone: string;
|
|
1345
|
-
createdAt: string | Date;
|
|
1346
|
-
updatedAt: string | Date;
|
|
1347
1353
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1348
1354
|
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;
|
|
1349
1355
|
} | undefined;
|
|
1350
|
-
company?: {
|
|
1351
|
-
id: string;
|
|
1352
|
-
name: string;
|
|
1353
|
-
createdAt: string | Date;
|
|
1354
|
-
updatedAt: string | Date;
|
|
1355
|
-
} | null | undefined;
|
|
1356
1356
|
}>>>;
|
|
1357
1357
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1358
1358
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1363,9 +1363,9 @@ export declare const callHistoryContract: {
|
|
|
1363
1363
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1364
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1365
1365
|
id: string;
|
|
1366
|
-
assignmentId: string;
|
|
1367
1366
|
createdAt: string;
|
|
1368
1367
|
updatedAt: string;
|
|
1368
|
+
assignmentId: string;
|
|
1369
1369
|
callDate: string;
|
|
1370
1370
|
callType: CallType;
|
|
1371
1371
|
rating: CallRating;
|
|
@@ -1374,42 +1374,42 @@ export declare const callHistoryContract: {
|
|
|
1374
1374
|
leadId?: string | undefined;
|
|
1375
1375
|
agentId?: string | undefined;
|
|
1376
1376
|
assignment?: {
|
|
1377
|
-
id: string;
|
|
1378
|
-
leadId: string;
|
|
1379
|
-
agentId: string | null;
|
|
1380
1377
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1378
|
+
id: string;
|
|
1381
1379
|
createdAt: string;
|
|
1382
1380
|
updatedAt: string;
|
|
1381
|
+
leadId: string;
|
|
1382
|
+
agentId: string | null;
|
|
1383
|
+
companyId: string | null;
|
|
1383
1384
|
assignedAt: string;
|
|
1384
1385
|
assignedBy: string | null;
|
|
1385
|
-
|
|
1386
|
+
company?: {
|
|
1387
|
+
id: string;
|
|
1388
|
+
createdAt: string;
|
|
1389
|
+
updatedAt: string;
|
|
1390
|
+
name: string;
|
|
1391
|
+
} | null | undefined;
|
|
1386
1392
|
lead?: {
|
|
1387
1393
|
name: string;
|
|
1388
1394
|
phoneNumber: string;
|
|
1389
1395
|
} | undefined;
|
|
1390
1396
|
agent?: {
|
|
1391
1397
|
id: string;
|
|
1398
|
+
createdAt: string;
|
|
1399
|
+
updatedAt: string;
|
|
1392
1400
|
firstName: string;
|
|
1393
1401
|
lastName: string;
|
|
1394
1402
|
email: string;
|
|
1395
1403
|
phone: string;
|
|
1396
|
-
createdAt: string;
|
|
1397
|
-
updatedAt: string;
|
|
1398
1404
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1399
1405
|
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;
|
|
1400
1406
|
} | undefined;
|
|
1401
|
-
company?: {
|
|
1402
|
-
id: string;
|
|
1403
|
-
name: string;
|
|
1404
|
-
createdAt: string;
|
|
1405
|
-
updatedAt: string;
|
|
1406
|
-
} | null | undefined;
|
|
1407
1407
|
} | null | undefined;
|
|
1408
1408
|
}, {
|
|
1409
1409
|
id: string;
|
|
1410
|
-
assignmentId: string;
|
|
1411
1410
|
createdAt: string | Date;
|
|
1412
1411
|
updatedAt: string | Date;
|
|
1412
|
+
assignmentId: string;
|
|
1413
1413
|
callDate: string | Date;
|
|
1414
1414
|
callType: CallType;
|
|
1415
1415
|
rating: CallRating;
|
|
@@ -1418,36 +1418,36 @@ export declare const callHistoryContract: {
|
|
|
1418
1418
|
leadId?: string | undefined;
|
|
1419
1419
|
agentId?: string | undefined;
|
|
1420
1420
|
assignment?: {
|
|
1421
|
-
id: string;
|
|
1422
|
-
leadId: string;
|
|
1423
|
-
agentId: string | null;
|
|
1424
1421
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1422
|
+
id: string;
|
|
1425
1423
|
createdAt: string | Date;
|
|
1426
1424
|
updatedAt: string | Date;
|
|
1425
|
+
leadId: string;
|
|
1426
|
+
agentId: string | null;
|
|
1427
|
+
companyId: string | null;
|
|
1427
1428
|
assignedAt: string | Date;
|
|
1428
1429
|
assignedBy: string | null;
|
|
1429
|
-
|
|
1430
|
+
company?: {
|
|
1431
|
+
id: string;
|
|
1432
|
+
createdAt: string | Date;
|
|
1433
|
+
updatedAt: string | Date;
|
|
1434
|
+
name: string;
|
|
1435
|
+
} | null | undefined;
|
|
1430
1436
|
lead?: {
|
|
1431
1437
|
name: string;
|
|
1432
1438
|
phoneNumber: string;
|
|
1433
1439
|
} | undefined;
|
|
1434
1440
|
agent?: {
|
|
1435
1441
|
id: string;
|
|
1442
|
+
createdAt: string | Date;
|
|
1443
|
+
updatedAt: string | Date;
|
|
1436
1444
|
firstName: string;
|
|
1437
1445
|
lastName: string;
|
|
1438
1446
|
email: string;
|
|
1439
1447
|
phone: string;
|
|
1440
|
-
createdAt: string | Date;
|
|
1441
|
-
updatedAt: string | Date;
|
|
1442
1448
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1443
1449
|
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;
|
|
1444
1450
|
} | undefined;
|
|
1445
|
-
company?: {
|
|
1446
|
-
id: string;
|
|
1447
|
-
name: string;
|
|
1448
|
-
createdAt: string | Date;
|
|
1449
|
-
updatedAt: string | Date;
|
|
1450
|
-
} | null | undefined;
|
|
1451
1451
|
} | null | undefined;
|
|
1452
1452
|
}>, "many">;
|
|
1453
1453
|
totalCount: z.ZodNumber;
|
|
@@ -1456,11 +1456,12 @@ export declare const callHistoryContract: {
|
|
|
1456
1456
|
currentPage: z.ZodNumber;
|
|
1457
1457
|
totalPages: z.ZodNumber;
|
|
1458
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
+
limit: number;
|
|
1459
1460
|
items: {
|
|
1460
1461
|
id: string;
|
|
1461
|
-
assignmentId: string;
|
|
1462
1462
|
createdAt: string;
|
|
1463
1463
|
updatedAt: string;
|
|
1464
|
+
assignmentId: string;
|
|
1464
1465
|
callDate: string;
|
|
1465
1466
|
callType: CallType;
|
|
1466
1467
|
rating: CallRating;
|
|
@@ -1469,49 +1470,49 @@ export declare const callHistoryContract: {
|
|
|
1469
1470
|
leadId?: string | undefined;
|
|
1470
1471
|
agentId?: string | undefined;
|
|
1471
1472
|
assignment?: {
|
|
1472
|
-
id: string;
|
|
1473
|
-
leadId: string;
|
|
1474
|
-
agentId: string | null;
|
|
1475
1473
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1474
|
+
id: string;
|
|
1476
1475
|
createdAt: string;
|
|
1477
1476
|
updatedAt: string;
|
|
1477
|
+
leadId: string;
|
|
1478
|
+
agentId: string | null;
|
|
1479
|
+
companyId: string | null;
|
|
1478
1480
|
assignedAt: string;
|
|
1479
1481
|
assignedBy: string | null;
|
|
1480
|
-
|
|
1482
|
+
company?: {
|
|
1483
|
+
id: string;
|
|
1484
|
+
createdAt: string;
|
|
1485
|
+
updatedAt: string;
|
|
1486
|
+
name: string;
|
|
1487
|
+
} | null | undefined;
|
|
1481
1488
|
lead?: {
|
|
1482
1489
|
name: string;
|
|
1483
1490
|
phoneNumber: string;
|
|
1484
1491
|
} | undefined;
|
|
1485
1492
|
agent?: {
|
|
1486
1493
|
id: string;
|
|
1494
|
+
createdAt: string;
|
|
1495
|
+
updatedAt: string;
|
|
1487
1496
|
firstName: string;
|
|
1488
1497
|
lastName: string;
|
|
1489
1498
|
email: string;
|
|
1490
1499
|
phone: string;
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
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;
|
|
1495
|
-
} | undefined;
|
|
1496
|
-
company?: {
|
|
1497
|
-
id: string;
|
|
1498
|
-
name: string;
|
|
1499
|
-
createdAt: string;
|
|
1500
|
-
updatedAt: string;
|
|
1501
|
-
} | null | undefined;
|
|
1500
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1501
|
+
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;
|
|
1502
|
+
} | undefined;
|
|
1502
1503
|
} | null | undefined;
|
|
1503
1504
|
}[];
|
|
1504
1505
|
totalCount: number;
|
|
1505
|
-
limit: number;
|
|
1506
1506
|
skip: number;
|
|
1507
1507
|
currentPage: number;
|
|
1508
1508
|
totalPages: number;
|
|
1509
1509
|
}, {
|
|
1510
|
+
limit: number;
|
|
1510
1511
|
items: {
|
|
1511
1512
|
id: string;
|
|
1512
|
-
assignmentId: string;
|
|
1513
1513
|
createdAt: string | Date;
|
|
1514
1514
|
updatedAt: string | Date;
|
|
1515
|
+
assignmentId: string;
|
|
1515
1516
|
callDate: string | Date;
|
|
1516
1517
|
callType: CallType;
|
|
1517
1518
|
rating: CallRating;
|
|
@@ -1520,40 +1521,39 @@ export declare const callHistoryContract: {
|
|
|
1520
1521
|
leadId?: string | undefined;
|
|
1521
1522
|
agentId?: string | undefined;
|
|
1522
1523
|
assignment?: {
|
|
1523
|
-
id: string;
|
|
1524
|
-
leadId: string;
|
|
1525
|
-
agentId: string | null;
|
|
1526
1524
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1525
|
+
id: string;
|
|
1527
1526
|
createdAt: string | Date;
|
|
1528
1527
|
updatedAt: string | Date;
|
|
1528
|
+
leadId: string;
|
|
1529
|
+
agentId: string | null;
|
|
1530
|
+
companyId: string | null;
|
|
1529
1531
|
assignedAt: string | Date;
|
|
1530
1532
|
assignedBy: string | null;
|
|
1531
|
-
|
|
1533
|
+
company?: {
|
|
1534
|
+
id: string;
|
|
1535
|
+
createdAt: string | Date;
|
|
1536
|
+
updatedAt: string | Date;
|
|
1537
|
+
name: string;
|
|
1538
|
+
} | null | undefined;
|
|
1532
1539
|
lead?: {
|
|
1533
1540
|
name: string;
|
|
1534
1541
|
phoneNumber: string;
|
|
1535
1542
|
} | undefined;
|
|
1536
1543
|
agent?: {
|
|
1537
1544
|
id: string;
|
|
1545
|
+
createdAt: string | Date;
|
|
1546
|
+
updatedAt: string | Date;
|
|
1538
1547
|
firstName: string;
|
|
1539
1548
|
lastName: string;
|
|
1540
1549
|
email: string;
|
|
1541
1550
|
phone: string;
|
|
1542
|
-
createdAt: string | Date;
|
|
1543
|
-
updatedAt: string | Date;
|
|
1544
1551
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1545
1552
|
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;
|
|
1546
1553
|
} | undefined;
|
|
1547
|
-
company?: {
|
|
1548
|
-
id: string;
|
|
1549
|
-
name: string;
|
|
1550
|
-
createdAt: string | Date;
|
|
1551
|
-
updatedAt: string | Date;
|
|
1552
|
-
} | null | undefined;
|
|
1553
1554
|
} | null | undefined;
|
|
1554
1555
|
}[];
|
|
1555
1556
|
totalCount: number;
|
|
1556
|
-
limit: number;
|
|
1557
1557
|
skip: number;
|
|
1558
1558
|
currentPage: number;
|
|
1559
1559
|
totalPages: number;
|
|
@@ -1706,22 +1706,22 @@ export declare const callHistoryContract: {
|
|
|
1706
1706
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1707
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1708
|
id: string;
|
|
1709
|
+
createdAt: string;
|
|
1710
|
+
updatedAt: string;
|
|
1709
1711
|
firstName: string;
|
|
1710
1712
|
lastName: string;
|
|
1711
1713
|
email: string;
|
|
1712
1714
|
phone: string;
|
|
1713
|
-
createdAt: string;
|
|
1714
|
-
updatedAt: string;
|
|
1715
1715
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1716
1716
|
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;
|
|
1717
1717
|
}, {
|
|
1718
1718
|
id: string;
|
|
1719
|
+
createdAt: string | Date;
|
|
1720
|
+
updatedAt: string | Date;
|
|
1719
1721
|
firstName: string;
|
|
1720
1722
|
lastName: string;
|
|
1721
1723
|
email: string;
|
|
1722
1724
|
phone: string;
|
|
1723
|
-
createdAt: string | Date;
|
|
1724
|
-
updatedAt: string | Date;
|
|
1725
1725
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1726
1726
|
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;
|
|
1727
1727
|
}>>;
|
|
@@ -1736,79 +1736,79 @@ export declare const callHistoryContract: {
|
|
|
1736
1736
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1737
1737
|
}, "strip", z.ZodTypeAny, {
|
|
1738
1738
|
id: string;
|
|
1739
|
-
name: string;
|
|
1740
1739
|
createdAt: string;
|
|
1741
1740
|
updatedAt: string;
|
|
1741
|
+
name: string;
|
|
1742
1742
|
}, {
|
|
1743
1743
|
id: string;
|
|
1744
|
-
name: string;
|
|
1745
1744
|
createdAt: string | Date;
|
|
1746
1745
|
updatedAt: string | Date;
|
|
1746
|
+
name: string;
|
|
1747
1747
|
}>>>;
|
|
1748
1748
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1749
1749
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
-
id: string;
|
|
1752
|
-
leadId: string;
|
|
1753
|
-
agentId: string | null;
|
|
1754
1751
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1752
|
+
id: string;
|
|
1755
1753
|
createdAt: string;
|
|
1756
1754
|
updatedAt: string;
|
|
1755
|
+
leadId: string;
|
|
1756
|
+
agentId: string | null;
|
|
1757
|
+
companyId: string | null;
|
|
1757
1758
|
assignedAt: string;
|
|
1758
1759
|
assignedBy: string | null;
|
|
1759
|
-
|
|
1760
|
+
company?: {
|
|
1761
|
+
id: string;
|
|
1762
|
+
createdAt: string;
|
|
1763
|
+
updatedAt: string;
|
|
1764
|
+
name: string;
|
|
1765
|
+
} | null | undefined;
|
|
1760
1766
|
lead?: {
|
|
1761
1767
|
name: string;
|
|
1762
1768
|
phoneNumber: string;
|
|
1763
1769
|
} | undefined;
|
|
1764
1770
|
agent?: {
|
|
1765
1771
|
id: string;
|
|
1772
|
+
createdAt: string;
|
|
1773
|
+
updatedAt: string;
|
|
1766
1774
|
firstName: string;
|
|
1767
1775
|
lastName: string;
|
|
1768
1776
|
email: string;
|
|
1769
1777
|
phone: string;
|
|
1770
|
-
createdAt: string;
|
|
1771
|
-
updatedAt: string;
|
|
1772
1778
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1773
1779
|
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;
|
|
1774
1780
|
} | undefined;
|
|
1775
|
-
company?: {
|
|
1776
|
-
id: string;
|
|
1777
|
-
name: string;
|
|
1778
|
-
createdAt: string;
|
|
1779
|
-
updatedAt: string;
|
|
1780
|
-
} | null | undefined;
|
|
1781
1781
|
}, {
|
|
1782
|
-
id: string;
|
|
1783
|
-
leadId: string;
|
|
1784
|
-
agentId: string | null;
|
|
1785
1782
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1783
|
+
id: string;
|
|
1786
1784
|
createdAt: string | Date;
|
|
1787
1785
|
updatedAt: string | Date;
|
|
1786
|
+
leadId: string;
|
|
1787
|
+
agentId: string | null;
|
|
1788
|
+
companyId: string | null;
|
|
1788
1789
|
assignedAt: string | Date;
|
|
1789
1790
|
assignedBy: string | null;
|
|
1790
|
-
|
|
1791
|
+
company?: {
|
|
1792
|
+
id: string;
|
|
1793
|
+
createdAt: string | Date;
|
|
1794
|
+
updatedAt: string | Date;
|
|
1795
|
+
name: string;
|
|
1796
|
+
} | null | undefined;
|
|
1791
1797
|
lead?: {
|
|
1792
1798
|
name: string;
|
|
1793
1799
|
phoneNumber: string;
|
|
1794
1800
|
} | undefined;
|
|
1795
1801
|
agent?: {
|
|
1796
1802
|
id: string;
|
|
1803
|
+
createdAt: string | Date;
|
|
1804
|
+
updatedAt: string | Date;
|
|
1797
1805
|
firstName: string;
|
|
1798
1806
|
lastName: string;
|
|
1799
1807
|
email: string;
|
|
1800
1808
|
phone: string;
|
|
1801
|
-
createdAt: string | Date;
|
|
1802
|
-
updatedAt: string | Date;
|
|
1803
1809
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1804
1810
|
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;
|
|
1805
1811
|
} | undefined;
|
|
1806
|
-
company?: {
|
|
1807
|
-
id: string;
|
|
1808
|
-
name: string;
|
|
1809
|
-
createdAt: string | Date;
|
|
1810
|
-
updatedAt: string | Date;
|
|
1811
|
-
} | null | undefined;
|
|
1812
1812
|
}>>>;
|
|
1813
1813
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1814
1814
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1819,9 +1819,9 @@ export declare const callHistoryContract: {
|
|
|
1819
1819
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
1820
|
}, "strip", z.ZodTypeAny, {
|
|
1821
1821
|
id: string;
|
|
1822
|
-
assignmentId: string;
|
|
1823
1822
|
createdAt: string;
|
|
1824
1823
|
updatedAt: string;
|
|
1824
|
+
assignmentId: string;
|
|
1825
1825
|
callDate: string;
|
|
1826
1826
|
callType: CallType;
|
|
1827
1827
|
rating: CallRating;
|
|
@@ -1830,42 +1830,42 @@ export declare const callHistoryContract: {
|
|
|
1830
1830
|
leadId?: string | undefined;
|
|
1831
1831
|
agentId?: string | undefined;
|
|
1832
1832
|
assignment?: {
|
|
1833
|
-
id: string;
|
|
1834
|
-
leadId: string;
|
|
1835
|
-
agentId: string | null;
|
|
1836
1833
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1834
|
+
id: string;
|
|
1837
1835
|
createdAt: string;
|
|
1838
1836
|
updatedAt: string;
|
|
1837
|
+
leadId: string;
|
|
1838
|
+
agentId: string | null;
|
|
1839
|
+
companyId: string | null;
|
|
1839
1840
|
assignedAt: string;
|
|
1840
1841
|
assignedBy: string | null;
|
|
1841
|
-
|
|
1842
|
+
company?: {
|
|
1843
|
+
id: string;
|
|
1844
|
+
createdAt: string;
|
|
1845
|
+
updatedAt: string;
|
|
1846
|
+
name: string;
|
|
1847
|
+
} | null | undefined;
|
|
1842
1848
|
lead?: {
|
|
1843
1849
|
name: string;
|
|
1844
1850
|
phoneNumber: string;
|
|
1845
1851
|
} | undefined;
|
|
1846
1852
|
agent?: {
|
|
1847
1853
|
id: string;
|
|
1854
|
+
createdAt: string;
|
|
1855
|
+
updatedAt: string;
|
|
1848
1856
|
firstName: string;
|
|
1849
1857
|
lastName: string;
|
|
1850
1858
|
email: string;
|
|
1851
1859
|
phone: string;
|
|
1852
|
-
createdAt: string;
|
|
1853
|
-
updatedAt: string;
|
|
1854
1860
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1855
1861
|
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;
|
|
1856
1862
|
} | undefined;
|
|
1857
|
-
company?: {
|
|
1858
|
-
id: string;
|
|
1859
|
-
name: string;
|
|
1860
|
-
createdAt: string;
|
|
1861
|
-
updatedAt: string;
|
|
1862
|
-
} | null | undefined;
|
|
1863
1863
|
} | null | undefined;
|
|
1864
1864
|
}, {
|
|
1865
1865
|
id: string;
|
|
1866
|
-
assignmentId: string;
|
|
1867
1866
|
createdAt: string | Date;
|
|
1868
1867
|
updatedAt: string | Date;
|
|
1868
|
+
assignmentId: string;
|
|
1869
1869
|
callDate: string | Date;
|
|
1870
1870
|
callType: CallType;
|
|
1871
1871
|
rating: CallRating;
|
|
@@ -1874,36 +1874,36 @@ export declare const callHistoryContract: {
|
|
|
1874
1874
|
leadId?: string | undefined;
|
|
1875
1875
|
agentId?: string | undefined;
|
|
1876
1876
|
assignment?: {
|
|
1877
|
-
id: string;
|
|
1878
|
-
leadId: string;
|
|
1879
|
-
agentId: string | null;
|
|
1880
1877
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1878
|
+
id: string;
|
|
1881
1879
|
createdAt: string | Date;
|
|
1882
1880
|
updatedAt: string | Date;
|
|
1881
|
+
leadId: string;
|
|
1882
|
+
agentId: string | null;
|
|
1883
|
+
companyId: string | null;
|
|
1883
1884
|
assignedAt: string | Date;
|
|
1884
1885
|
assignedBy: string | null;
|
|
1885
|
-
|
|
1886
|
+
company?: {
|
|
1887
|
+
id: string;
|
|
1888
|
+
createdAt: string | Date;
|
|
1889
|
+
updatedAt: string | Date;
|
|
1890
|
+
name: string;
|
|
1891
|
+
} | null | undefined;
|
|
1886
1892
|
lead?: {
|
|
1887
1893
|
name: string;
|
|
1888
1894
|
phoneNumber: string;
|
|
1889
1895
|
} | undefined;
|
|
1890
1896
|
agent?: {
|
|
1891
1897
|
id: string;
|
|
1898
|
+
createdAt: string | Date;
|
|
1899
|
+
updatedAt: string | Date;
|
|
1892
1900
|
firstName: string;
|
|
1893
1901
|
lastName: string;
|
|
1894
1902
|
email: string;
|
|
1895
1903
|
phone: string;
|
|
1896
|
-
createdAt: string | Date;
|
|
1897
|
-
updatedAt: string | Date;
|
|
1898
1904
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1899
1905
|
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;
|
|
1900
1906
|
} | undefined;
|
|
1901
|
-
company?: {
|
|
1902
|
-
id: string;
|
|
1903
|
-
name: string;
|
|
1904
|
-
createdAt: string | Date;
|
|
1905
|
-
updatedAt: string | Date;
|
|
1906
|
-
} | null | undefined;
|
|
1907
1907
|
} | null | undefined;
|
|
1908
1908
|
}>;
|
|
1909
1909
|
404: z.ZodObject<{
|
|
@@ -2092,22 +2092,22 @@ export declare const callHistoryContract: {
|
|
|
2092
2092
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2093
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2094
|
id: string;
|
|
2095
|
+
createdAt: string;
|
|
2096
|
+
updatedAt: string;
|
|
2095
2097
|
firstName: string;
|
|
2096
2098
|
lastName: string;
|
|
2097
2099
|
email: string;
|
|
2098
2100
|
phone: string;
|
|
2099
|
-
createdAt: string;
|
|
2100
|
-
updatedAt: string;
|
|
2101
2101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2102
2102
|
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;
|
|
2103
2103
|
}, {
|
|
2104
2104
|
id: string;
|
|
2105
|
+
createdAt: string | Date;
|
|
2106
|
+
updatedAt: string | Date;
|
|
2105
2107
|
firstName: string;
|
|
2106
2108
|
lastName: string;
|
|
2107
2109
|
email: string;
|
|
2108
2110
|
phone: string;
|
|
2109
|
-
createdAt: string | Date;
|
|
2110
|
-
updatedAt: string | Date;
|
|
2111
2111
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2112
2112
|
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;
|
|
2113
2113
|
}>>;
|
|
@@ -2122,79 +2122,79 @@ export declare const callHistoryContract: {
|
|
|
2122
2122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2123
2123
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2124
|
id: string;
|
|
2125
|
-
name: string;
|
|
2126
2125
|
createdAt: string;
|
|
2127
2126
|
updatedAt: string;
|
|
2127
|
+
name: string;
|
|
2128
2128
|
}, {
|
|
2129
2129
|
id: string;
|
|
2130
|
-
name: string;
|
|
2131
2130
|
createdAt: string | Date;
|
|
2132
2131
|
updatedAt: string | Date;
|
|
2132
|
+
name: string;
|
|
2133
2133
|
}>>>;
|
|
2134
2134
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2135
2135
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2136
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2137
|
-
id: string;
|
|
2138
|
-
leadId: string;
|
|
2139
|
-
agentId: string | null;
|
|
2140
2137
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2138
|
+
id: string;
|
|
2141
2139
|
createdAt: string;
|
|
2142
2140
|
updatedAt: string;
|
|
2141
|
+
leadId: string;
|
|
2142
|
+
agentId: string | null;
|
|
2143
|
+
companyId: string | null;
|
|
2143
2144
|
assignedAt: string;
|
|
2144
2145
|
assignedBy: string | null;
|
|
2145
|
-
|
|
2146
|
+
company?: {
|
|
2147
|
+
id: string;
|
|
2148
|
+
createdAt: string;
|
|
2149
|
+
updatedAt: string;
|
|
2150
|
+
name: string;
|
|
2151
|
+
} | null | undefined;
|
|
2146
2152
|
lead?: {
|
|
2147
2153
|
name: string;
|
|
2148
2154
|
phoneNumber: string;
|
|
2149
2155
|
} | undefined;
|
|
2150
2156
|
agent?: {
|
|
2151
2157
|
id: string;
|
|
2158
|
+
createdAt: string;
|
|
2159
|
+
updatedAt: string;
|
|
2152
2160
|
firstName: string;
|
|
2153
2161
|
lastName: string;
|
|
2154
2162
|
email: string;
|
|
2155
2163
|
phone: string;
|
|
2156
|
-
createdAt: string;
|
|
2157
|
-
updatedAt: string;
|
|
2158
2164
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2159
2165
|
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;
|
|
2160
2166
|
} | undefined;
|
|
2161
|
-
company?: {
|
|
2162
|
-
id: string;
|
|
2163
|
-
name: string;
|
|
2164
|
-
createdAt: string;
|
|
2165
|
-
updatedAt: string;
|
|
2166
|
-
} | null | undefined;
|
|
2167
2167
|
}, {
|
|
2168
|
-
id: string;
|
|
2169
|
-
leadId: string;
|
|
2170
|
-
agentId: string | null;
|
|
2171
2168
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2169
|
+
id: string;
|
|
2172
2170
|
createdAt: string | Date;
|
|
2173
2171
|
updatedAt: string | Date;
|
|
2172
|
+
leadId: string;
|
|
2173
|
+
agentId: string | null;
|
|
2174
|
+
companyId: string | null;
|
|
2174
2175
|
assignedAt: string | Date;
|
|
2175
2176
|
assignedBy: string | null;
|
|
2176
|
-
|
|
2177
|
+
company?: {
|
|
2178
|
+
id: string;
|
|
2179
|
+
createdAt: string | Date;
|
|
2180
|
+
updatedAt: string | Date;
|
|
2181
|
+
name: string;
|
|
2182
|
+
} | null | undefined;
|
|
2177
2183
|
lead?: {
|
|
2178
2184
|
name: string;
|
|
2179
2185
|
phoneNumber: string;
|
|
2180
2186
|
} | undefined;
|
|
2181
2187
|
agent?: {
|
|
2182
2188
|
id: string;
|
|
2189
|
+
createdAt: string | Date;
|
|
2190
|
+
updatedAt: string | Date;
|
|
2183
2191
|
firstName: string;
|
|
2184
2192
|
lastName: string;
|
|
2185
2193
|
email: string;
|
|
2186
2194
|
phone: string;
|
|
2187
|
-
createdAt: string | Date;
|
|
2188
|
-
updatedAt: string | Date;
|
|
2189
2195
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2190
2196
|
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;
|
|
2191
2197
|
} | undefined;
|
|
2192
|
-
company?: {
|
|
2193
|
-
id: string;
|
|
2194
|
-
name: string;
|
|
2195
|
-
createdAt: string | Date;
|
|
2196
|
-
updatedAt: string | Date;
|
|
2197
|
-
} | null | undefined;
|
|
2198
2198
|
}>>>;
|
|
2199
2199
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2200
2200
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2205,9 +2205,9 @@ export declare const callHistoryContract: {
|
|
|
2205
2205
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2206
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2207
2207
|
id: string;
|
|
2208
|
-
assignmentId: string;
|
|
2209
2208
|
createdAt: string;
|
|
2210
2209
|
updatedAt: string;
|
|
2210
|
+
assignmentId: string;
|
|
2211
2211
|
callDate: string;
|
|
2212
2212
|
callType: CallType;
|
|
2213
2213
|
rating: CallRating;
|
|
@@ -2216,42 +2216,42 @@ export declare const callHistoryContract: {
|
|
|
2216
2216
|
leadId?: string | undefined;
|
|
2217
2217
|
agentId?: string | undefined;
|
|
2218
2218
|
assignment?: {
|
|
2219
|
-
id: string;
|
|
2220
|
-
leadId: string;
|
|
2221
|
-
agentId: string | null;
|
|
2222
2219
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2220
|
+
id: string;
|
|
2223
2221
|
createdAt: string;
|
|
2224
2222
|
updatedAt: string;
|
|
2223
|
+
leadId: string;
|
|
2224
|
+
agentId: string | null;
|
|
2225
|
+
companyId: string | null;
|
|
2225
2226
|
assignedAt: string;
|
|
2226
2227
|
assignedBy: string | null;
|
|
2227
|
-
|
|
2228
|
+
company?: {
|
|
2229
|
+
id: string;
|
|
2230
|
+
createdAt: string;
|
|
2231
|
+
updatedAt: string;
|
|
2232
|
+
name: string;
|
|
2233
|
+
} | null | undefined;
|
|
2228
2234
|
lead?: {
|
|
2229
2235
|
name: string;
|
|
2230
2236
|
phoneNumber: string;
|
|
2231
2237
|
} | undefined;
|
|
2232
2238
|
agent?: {
|
|
2233
2239
|
id: string;
|
|
2240
|
+
createdAt: string;
|
|
2241
|
+
updatedAt: string;
|
|
2234
2242
|
firstName: string;
|
|
2235
2243
|
lastName: string;
|
|
2236
2244
|
email: string;
|
|
2237
2245
|
phone: string;
|
|
2238
|
-
createdAt: string;
|
|
2239
|
-
updatedAt: string;
|
|
2240
2246
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2241
2247
|
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;
|
|
2242
2248
|
} | undefined;
|
|
2243
|
-
company?: {
|
|
2244
|
-
id: string;
|
|
2245
|
-
name: string;
|
|
2246
|
-
createdAt: string;
|
|
2247
|
-
updatedAt: string;
|
|
2248
|
-
} | null | undefined;
|
|
2249
2249
|
} | null | undefined;
|
|
2250
2250
|
}, {
|
|
2251
2251
|
id: string;
|
|
2252
|
-
assignmentId: string;
|
|
2253
2252
|
createdAt: string | Date;
|
|
2254
2253
|
updatedAt: string | Date;
|
|
2254
|
+
assignmentId: string;
|
|
2255
2255
|
callDate: string | Date;
|
|
2256
2256
|
callType: CallType;
|
|
2257
2257
|
rating: CallRating;
|
|
@@ -2260,36 +2260,36 @@ export declare const callHistoryContract: {
|
|
|
2260
2260
|
leadId?: string | undefined;
|
|
2261
2261
|
agentId?: string | undefined;
|
|
2262
2262
|
assignment?: {
|
|
2263
|
-
id: string;
|
|
2264
|
-
leadId: string;
|
|
2265
|
-
agentId: string | null;
|
|
2266
2263
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2264
|
+
id: string;
|
|
2267
2265
|
createdAt: string | Date;
|
|
2268
2266
|
updatedAt: string | Date;
|
|
2267
|
+
leadId: string;
|
|
2268
|
+
agentId: string | null;
|
|
2269
|
+
companyId: string | null;
|
|
2269
2270
|
assignedAt: string | Date;
|
|
2270
2271
|
assignedBy: string | null;
|
|
2271
|
-
|
|
2272
|
+
company?: {
|
|
2273
|
+
id: string;
|
|
2274
|
+
createdAt: string | Date;
|
|
2275
|
+
updatedAt: string | Date;
|
|
2276
|
+
name: string;
|
|
2277
|
+
} | null | undefined;
|
|
2272
2278
|
lead?: {
|
|
2273
2279
|
name: string;
|
|
2274
2280
|
phoneNumber: string;
|
|
2275
2281
|
} | undefined;
|
|
2276
2282
|
agent?: {
|
|
2277
2283
|
id: string;
|
|
2284
|
+
createdAt: string | Date;
|
|
2285
|
+
updatedAt: string | Date;
|
|
2278
2286
|
firstName: string;
|
|
2279
2287
|
lastName: string;
|
|
2280
2288
|
email: string;
|
|
2281
2289
|
phone: string;
|
|
2282
|
-
createdAt: string | Date;
|
|
2283
|
-
updatedAt: string | Date;
|
|
2284
2290
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2285
2291
|
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;
|
|
2286
2292
|
} | undefined;
|
|
2287
|
-
company?: {
|
|
2288
|
-
id: string;
|
|
2289
|
-
name: string;
|
|
2290
|
-
createdAt: string | Date;
|
|
2291
|
-
updatedAt: string | Date;
|
|
2292
|
-
} | null | undefined;
|
|
2293
2293
|
} | null | undefined;
|
|
2294
2294
|
}>;
|
|
2295
2295
|
404: z.ZodObject<{
|