@dakkitor/api-contracts 1.1.68 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +2574 -2574
- package/dist/bookings/bookings.contract.d.ts +2309 -2309
- package/dist/call-history/call-history.contract.d.ts +554 -554
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +1 -0
- package/dist/leads/leads.contract.d.ts +84 -84
- package/dist/workers/workers.contract.d.ts +84 -20
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +38 -6
- package/package.json +1 -1
|
@@ -50,22 +50,22 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
50
50
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
51
51
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
|
|
53
|
+
id: string;
|
|
54
54
|
firstName: string;
|
|
55
|
+
lastName: string;
|
|
55
56
|
email: string;
|
|
56
57
|
phone: string;
|
|
57
58
|
createdAt: string;
|
|
58
|
-
id: string;
|
|
59
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
64
|
firstName: string;
|
|
65
|
+
lastName: string;
|
|
65
66
|
email: string;
|
|
66
67
|
phone: string;
|
|
67
68
|
createdAt: string | Date;
|
|
68
|
-
id: string;
|
|
69
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;
|
|
@@ -80,80 +80,80 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
80
80
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
81
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
createdAt: string;
|
|
84
83
|
id: string;
|
|
85
|
-
updatedAt: string;
|
|
86
84
|
name: string;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
updatedAt: string;
|
|
87
87
|
}, {
|
|
88
|
-
createdAt: string | Date;
|
|
89
88
|
id: string;
|
|
90
|
-
updatedAt: string | Date;
|
|
91
89
|
name: string;
|
|
90
|
+
createdAt: string | Date;
|
|
91
|
+
updatedAt: string | Date;
|
|
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
|
-
createdAt: string;
|
|
97
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
98
96
|
id: string;
|
|
99
|
-
updatedAt: string;
|
|
100
|
-
agentId: string | null;
|
|
101
|
-
companyId: string | null;
|
|
102
97
|
leadId: string;
|
|
98
|
+
agentId: string | null;
|
|
99
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
100
|
+
createdAt: string;
|
|
101
|
+
updatedAt: string;
|
|
103
102
|
assignedAt: string;
|
|
104
103
|
assignedBy: string | null;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
id: string;
|
|
108
|
-
updatedAt: string;
|
|
104
|
+
companyId: string | null;
|
|
105
|
+
lead?: {
|
|
109
106
|
name: string;
|
|
110
|
-
|
|
107
|
+
phoneNumber: string;
|
|
108
|
+
} | undefined;
|
|
111
109
|
agent?: {
|
|
112
|
-
|
|
110
|
+
id: string;
|
|
113
111
|
firstName: string;
|
|
112
|
+
lastName: string;
|
|
114
113
|
email: string;
|
|
115
114
|
phone: string;
|
|
116
115
|
createdAt: string;
|
|
117
|
-
id: string;
|
|
118
116
|
updatedAt: string;
|
|
119
117
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
120
118
|
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;
|
|
121
119
|
} | undefined;
|
|
122
|
-
|
|
120
|
+
company?: {
|
|
121
|
+
id: string;
|
|
123
122
|
name: string;
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
createdAt: string;
|
|
124
|
+
updatedAt: string;
|
|
125
|
+
} | null | undefined;
|
|
126
126
|
}, {
|
|
127
|
-
createdAt: string | Date;
|
|
128
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
129
127
|
id: string;
|
|
130
|
-
updatedAt: string | Date;
|
|
131
|
-
agentId: string | null;
|
|
132
|
-
companyId: string | null;
|
|
133
128
|
leadId: string;
|
|
129
|
+
agentId: string | null;
|
|
130
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
131
|
+
createdAt: string | Date;
|
|
132
|
+
updatedAt: string | Date;
|
|
134
133
|
assignedAt: string | Date;
|
|
135
134
|
assignedBy: string | null;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
id: string;
|
|
139
|
-
updatedAt: string | Date;
|
|
135
|
+
companyId: string | null;
|
|
136
|
+
lead?: {
|
|
140
137
|
name: string;
|
|
141
|
-
|
|
138
|
+
phoneNumber: string;
|
|
139
|
+
} | undefined;
|
|
142
140
|
agent?: {
|
|
143
|
-
|
|
141
|
+
id: string;
|
|
144
142
|
firstName: string;
|
|
143
|
+
lastName: string;
|
|
145
144
|
email: string;
|
|
146
145
|
phone: string;
|
|
147
146
|
createdAt: string | Date;
|
|
148
|
-
id: string;
|
|
149
147
|
updatedAt: string | Date;
|
|
150
148
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
151
149
|
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;
|
|
152
150
|
} | undefined;
|
|
153
|
-
|
|
151
|
+
company?: {
|
|
152
|
+
id: string;
|
|
154
153
|
name: string;
|
|
155
|
-
|
|
156
|
-
|
|
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>;
|
|
@@ -163,92 +163,92 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
163
163
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
164
164
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
createdAt: string;
|
|
167
166
|
id: string;
|
|
168
|
-
updatedAt: string;
|
|
169
|
-
notes: string | null;
|
|
170
167
|
assignmentId: string;
|
|
168
|
+
createdAt: string;
|
|
169
|
+
updatedAt: string;
|
|
171
170
|
callDate: string;
|
|
172
171
|
callType: CallType;
|
|
173
172
|
rating: CallRating;
|
|
174
173
|
ratingWeight: number;
|
|
175
|
-
|
|
174
|
+
notes: string | null;
|
|
176
175
|
leadId?: string | undefined;
|
|
176
|
+
agentId?: string | undefined;
|
|
177
177
|
assignment?: {
|
|
178
|
-
createdAt: string;
|
|
179
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
180
178
|
id: string;
|
|
181
|
-
updatedAt: string;
|
|
182
|
-
agentId: string | null;
|
|
183
|
-
companyId: string | null;
|
|
184
179
|
leadId: string;
|
|
180
|
+
agentId: string | null;
|
|
181
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
182
|
+
createdAt: string;
|
|
183
|
+
updatedAt: string;
|
|
185
184
|
assignedAt: string;
|
|
186
185
|
assignedBy: string | null;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
id: string;
|
|
190
|
-
updatedAt: string;
|
|
186
|
+
companyId: string | null;
|
|
187
|
+
lead?: {
|
|
191
188
|
name: string;
|
|
192
|
-
|
|
189
|
+
phoneNumber: string;
|
|
190
|
+
} | undefined;
|
|
193
191
|
agent?: {
|
|
194
|
-
|
|
192
|
+
id: string;
|
|
195
193
|
firstName: string;
|
|
194
|
+
lastName: string;
|
|
196
195
|
email: string;
|
|
197
196
|
phone: string;
|
|
198
197
|
createdAt: string;
|
|
199
|
-
id: string;
|
|
200
198
|
updatedAt: string;
|
|
201
199
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
202
200
|
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;
|
|
203
201
|
} | undefined;
|
|
204
|
-
|
|
202
|
+
company?: {
|
|
203
|
+
id: string;
|
|
205
204
|
name: string;
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
createdAt: string;
|
|
206
|
+
updatedAt: string;
|
|
207
|
+
} | null | undefined;
|
|
208
208
|
} | null | undefined;
|
|
209
209
|
}, {
|
|
210
|
-
createdAt: string | Date;
|
|
211
210
|
id: string;
|
|
212
|
-
updatedAt: string | Date;
|
|
213
|
-
notes: string | null;
|
|
214
211
|
assignmentId: string;
|
|
212
|
+
createdAt: string | Date;
|
|
213
|
+
updatedAt: string | Date;
|
|
215
214
|
callDate: string | Date;
|
|
216
215
|
callType: CallType;
|
|
217
216
|
rating: CallRating;
|
|
218
217
|
ratingWeight: number;
|
|
219
|
-
|
|
218
|
+
notes: string | null;
|
|
220
219
|
leadId?: string | undefined;
|
|
220
|
+
agentId?: string | undefined;
|
|
221
221
|
assignment?: {
|
|
222
|
-
createdAt: string | Date;
|
|
223
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
224
222
|
id: string;
|
|
225
|
-
updatedAt: string | Date;
|
|
226
|
-
agentId: string | null;
|
|
227
|
-
companyId: string | null;
|
|
228
223
|
leadId: string;
|
|
224
|
+
agentId: string | null;
|
|
225
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
226
|
+
createdAt: string | Date;
|
|
227
|
+
updatedAt: string | Date;
|
|
229
228
|
assignedAt: string | Date;
|
|
230
229
|
assignedBy: string | null;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
id: string;
|
|
234
|
-
updatedAt: string | Date;
|
|
230
|
+
companyId: string | null;
|
|
231
|
+
lead?: {
|
|
235
232
|
name: string;
|
|
236
|
-
|
|
233
|
+
phoneNumber: string;
|
|
234
|
+
} | undefined;
|
|
237
235
|
agent?: {
|
|
238
|
-
|
|
236
|
+
id: string;
|
|
239
237
|
firstName: string;
|
|
238
|
+
lastName: string;
|
|
240
239
|
email: string;
|
|
241
240
|
phone: string;
|
|
242
241
|
createdAt: string | Date;
|
|
243
|
-
id: string;
|
|
244
242
|
updatedAt: string | Date;
|
|
245
243
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
246
244
|
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;
|
|
247
245
|
} | undefined;
|
|
248
|
-
|
|
246
|
+
company?: {
|
|
247
|
+
id: string;
|
|
249
248
|
name: string;
|
|
250
|
-
|
|
251
|
-
|
|
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<{
|
|
@@ -282,22 +282,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
282
282
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
283
283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
|
|
285
|
+
id: string;
|
|
286
286
|
firstName: string;
|
|
287
|
+
lastName: string;
|
|
287
288
|
email: string;
|
|
288
289
|
phone: string;
|
|
289
290
|
createdAt: string;
|
|
290
|
-
id: string;
|
|
291
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
296
|
firstName: string;
|
|
297
|
+
lastName: string;
|
|
297
298
|
email: string;
|
|
298
299
|
phone: string;
|
|
299
300
|
createdAt: string | Date;
|
|
300
|
-
id: string;
|
|
301
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;
|
|
@@ -312,80 +312,80 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
312
312
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
313
313
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
createdAt: string;
|
|
316
315
|
id: string;
|
|
317
|
-
updatedAt: string;
|
|
318
316
|
name: string;
|
|
317
|
+
createdAt: string;
|
|
318
|
+
updatedAt: string;
|
|
319
319
|
}, {
|
|
320
|
-
createdAt: string | Date;
|
|
321
320
|
id: string;
|
|
322
|
-
updatedAt: string | Date;
|
|
323
321
|
name: string;
|
|
322
|
+
createdAt: string | Date;
|
|
323
|
+
updatedAt: string | Date;
|
|
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
|
-
createdAt: string;
|
|
329
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
330
328
|
id: string;
|
|
331
|
-
updatedAt: string;
|
|
332
|
-
agentId: string | null;
|
|
333
|
-
companyId: string | null;
|
|
334
329
|
leadId: string;
|
|
330
|
+
agentId: string | null;
|
|
331
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
332
|
+
createdAt: string;
|
|
333
|
+
updatedAt: string;
|
|
335
334
|
assignedAt: string;
|
|
336
335
|
assignedBy: string | null;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
id: string;
|
|
340
|
-
updatedAt: string;
|
|
336
|
+
companyId: string | null;
|
|
337
|
+
lead?: {
|
|
341
338
|
name: string;
|
|
342
|
-
|
|
339
|
+
phoneNumber: string;
|
|
340
|
+
} | undefined;
|
|
343
341
|
agent?: {
|
|
344
|
-
|
|
342
|
+
id: string;
|
|
345
343
|
firstName: string;
|
|
344
|
+
lastName: string;
|
|
346
345
|
email: string;
|
|
347
346
|
phone: string;
|
|
348
347
|
createdAt: string;
|
|
349
|
-
id: string;
|
|
350
348
|
updatedAt: string;
|
|
351
349
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
352
350
|
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;
|
|
353
351
|
} | undefined;
|
|
354
|
-
|
|
352
|
+
company?: {
|
|
353
|
+
id: string;
|
|
355
354
|
name: string;
|
|
356
|
-
|
|
357
|
-
|
|
355
|
+
createdAt: string;
|
|
356
|
+
updatedAt: string;
|
|
357
|
+
} | null | undefined;
|
|
358
358
|
}, {
|
|
359
|
-
createdAt: string | Date;
|
|
360
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
361
359
|
id: string;
|
|
362
|
-
updatedAt: string | Date;
|
|
363
|
-
agentId: string | null;
|
|
364
|
-
companyId: string | null;
|
|
365
360
|
leadId: string;
|
|
361
|
+
agentId: string | null;
|
|
362
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
363
|
+
createdAt: string | Date;
|
|
364
|
+
updatedAt: string | Date;
|
|
366
365
|
assignedAt: string | Date;
|
|
367
366
|
assignedBy: string | null;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
id: string;
|
|
371
|
-
updatedAt: string | Date;
|
|
367
|
+
companyId: string | null;
|
|
368
|
+
lead?: {
|
|
372
369
|
name: string;
|
|
373
|
-
|
|
370
|
+
phoneNumber: string;
|
|
371
|
+
} | undefined;
|
|
374
372
|
agent?: {
|
|
375
|
-
|
|
373
|
+
id: string;
|
|
376
374
|
firstName: string;
|
|
375
|
+
lastName: string;
|
|
377
376
|
email: string;
|
|
378
377
|
phone: string;
|
|
379
378
|
createdAt: string | Date;
|
|
380
|
-
id: string;
|
|
381
379
|
updatedAt: string | Date;
|
|
382
380
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
383
381
|
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;
|
|
384
382
|
} | undefined;
|
|
385
|
-
|
|
383
|
+
company?: {
|
|
384
|
+
id: string;
|
|
386
385
|
name: string;
|
|
387
|
-
|
|
388
|
-
|
|
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>;
|
|
@@ -395,92 +395,92 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
395
395
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
396
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
createdAt: string;
|
|
399
398
|
id: string;
|
|
400
|
-
updatedAt: string;
|
|
401
|
-
notes: string | null;
|
|
402
399
|
assignmentId: string;
|
|
400
|
+
createdAt: string;
|
|
401
|
+
updatedAt: string;
|
|
403
402
|
callDate: string;
|
|
404
403
|
callType: CallType;
|
|
405
404
|
rating: CallRating;
|
|
406
405
|
ratingWeight: number;
|
|
407
|
-
|
|
406
|
+
notes: string | null;
|
|
408
407
|
leadId?: string | undefined;
|
|
408
|
+
agentId?: string | undefined;
|
|
409
409
|
assignment?: {
|
|
410
|
-
createdAt: string;
|
|
411
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
412
410
|
id: string;
|
|
413
|
-
updatedAt: string;
|
|
414
|
-
agentId: string | null;
|
|
415
|
-
companyId: string | null;
|
|
416
411
|
leadId: string;
|
|
412
|
+
agentId: string | null;
|
|
413
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
414
|
+
createdAt: string;
|
|
415
|
+
updatedAt: string;
|
|
417
416
|
assignedAt: string;
|
|
418
417
|
assignedBy: string | null;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
id: string;
|
|
422
|
-
updatedAt: string;
|
|
418
|
+
companyId: string | null;
|
|
419
|
+
lead?: {
|
|
423
420
|
name: string;
|
|
424
|
-
|
|
421
|
+
phoneNumber: string;
|
|
422
|
+
} | undefined;
|
|
425
423
|
agent?: {
|
|
426
|
-
|
|
424
|
+
id: string;
|
|
427
425
|
firstName: string;
|
|
426
|
+
lastName: string;
|
|
428
427
|
email: string;
|
|
429
428
|
phone: string;
|
|
430
429
|
createdAt: string;
|
|
431
|
-
id: string;
|
|
432
430
|
updatedAt: string;
|
|
433
431
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
434
432
|
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;
|
|
435
433
|
} | undefined;
|
|
436
|
-
|
|
434
|
+
company?: {
|
|
435
|
+
id: string;
|
|
437
436
|
name: string;
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
createdAt: string;
|
|
438
|
+
updatedAt: string;
|
|
439
|
+
} | null | undefined;
|
|
440
440
|
} | null | undefined;
|
|
441
441
|
}, {
|
|
442
|
-
createdAt: string | Date;
|
|
443
442
|
id: string;
|
|
444
|
-
updatedAt: string | Date;
|
|
445
|
-
notes: string | null;
|
|
446
443
|
assignmentId: string;
|
|
444
|
+
createdAt: string | Date;
|
|
445
|
+
updatedAt: string | Date;
|
|
447
446
|
callDate: string | Date;
|
|
448
447
|
callType: CallType;
|
|
449
448
|
rating: CallRating;
|
|
450
449
|
ratingWeight: number;
|
|
451
|
-
|
|
450
|
+
notes: string | null;
|
|
452
451
|
leadId?: string | undefined;
|
|
452
|
+
agentId?: string | undefined;
|
|
453
453
|
assignment?: {
|
|
454
|
-
createdAt: string | Date;
|
|
455
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
456
454
|
id: string;
|
|
457
|
-
updatedAt: string | Date;
|
|
458
|
-
agentId: string | null;
|
|
459
|
-
companyId: string | null;
|
|
460
455
|
leadId: string;
|
|
456
|
+
agentId: string | null;
|
|
457
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
458
|
+
createdAt: string | Date;
|
|
459
|
+
updatedAt: string | Date;
|
|
461
460
|
assignedAt: string | Date;
|
|
462
461
|
assignedBy: string | null;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
id: string;
|
|
466
|
-
updatedAt: string | Date;
|
|
462
|
+
companyId: string | null;
|
|
463
|
+
lead?: {
|
|
467
464
|
name: string;
|
|
468
|
-
|
|
465
|
+
phoneNumber: string;
|
|
466
|
+
} | undefined;
|
|
469
467
|
agent?: {
|
|
470
|
-
|
|
468
|
+
id: string;
|
|
471
469
|
firstName: string;
|
|
470
|
+
lastName: string;
|
|
472
471
|
email: string;
|
|
473
472
|
phone: string;
|
|
474
473
|
createdAt: string | Date;
|
|
475
|
-
id: string;
|
|
476
474
|
updatedAt: string | Date;
|
|
477
475
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
478
476
|
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;
|
|
479
477
|
} | undefined;
|
|
480
|
-
|
|
478
|
+
company?: {
|
|
479
|
+
id: string;
|
|
481
480
|
name: string;
|
|
482
|
-
|
|
483
|
-
|
|
481
|
+
createdAt: string | Date;
|
|
482
|
+
updatedAt: string | Date;
|
|
483
|
+
} | null | undefined;
|
|
484
484
|
} | null | undefined;
|
|
485
485
|
}>, "many">;
|
|
486
486
|
totalCount: z.ZodNumber;
|
|
@@ -489,104 +489,104 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
489
489
|
currentPage: z.ZodNumber;
|
|
490
490
|
totalPages: z.ZodNumber;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
limit: number;
|
|
493
492
|
items: {
|
|
494
|
-
createdAt: string;
|
|
495
493
|
id: string;
|
|
496
|
-
updatedAt: string;
|
|
497
|
-
notes: string | null;
|
|
498
494
|
assignmentId: string;
|
|
495
|
+
createdAt: string;
|
|
496
|
+
updatedAt: string;
|
|
499
497
|
callDate: string;
|
|
500
498
|
callType: CallType;
|
|
501
499
|
rating: CallRating;
|
|
502
500
|
ratingWeight: number;
|
|
503
|
-
|
|
501
|
+
notes: string | null;
|
|
504
502
|
leadId?: string | undefined;
|
|
503
|
+
agentId?: string | undefined;
|
|
505
504
|
assignment?: {
|
|
506
|
-
createdAt: string;
|
|
507
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
508
505
|
id: string;
|
|
509
|
-
updatedAt: string;
|
|
510
|
-
agentId: string | null;
|
|
511
|
-
companyId: string | null;
|
|
512
506
|
leadId: string;
|
|
507
|
+
agentId: string | null;
|
|
508
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
509
|
+
createdAt: string;
|
|
510
|
+
updatedAt: string;
|
|
513
511
|
assignedAt: string;
|
|
514
512
|
assignedBy: string | null;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
id: string;
|
|
518
|
-
updatedAt: string;
|
|
513
|
+
companyId: string | null;
|
|
514
|
+
lead?: {
|
|
519
515
|
name: string;
|
|
520
|
-
|
|
516
|
+
phoneNumber: string;
|
|
517
|
+
} | undefined;
|
|
521
518
|
agent?: {
|
|
522
|
-
|
|
519
|
+
id: string;
|
|
523
520
|
firstName: string;
|
|
521
|
+
lastName: string;
|
|
524
522
|
email: string;
|
|
525
523
|
phone: string;
|
|
526
524
|
createdAt: string;
|
|
527
|
-
id: string;
|
|
528
525
|
updatedAt: string;
|
|
529
526
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
530
527
|
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;
|
|
531
528
|
} | undefined;
|
|
532
|
-
|
|
529
|
+
company?: {
|
|
530
|
+
id: string;
|
|
533
531
|
name: string;
|
|
534
|
-
|
|
535
|
-
|
|
532
|
+
createdAt: string;
|
|
533
|
+
updatedAt: string;
|
|
534
|
+
} | null | undefined;
|
|
536
535
|
} | null | undefined;
|
|
537
536
|
}[];
|
|
538
537
|
totalCount: number;
|
|
538
|
+
limit: number;
|
|
539
539
|
skip: number;
|
|
540
540
|
currentPage: number;
|
|
541
541
|
totalPages: number;
|
|
542
542
|
}, {
|
|
543
|
-
limit: number;
|
|
544
543
|
items: {
|
|
545
|
-
createdAt: string | Date;
|
|
546
544
|
id: string;
|
|
547
|
-
updatedAt: string | Date;
|
|
548
|
-
notes: string | null;
|
|
549
545
|
assignmentId: string;
|
|
546
|
+
createdAt: string | Date;
|
|
547
|
+
updatedAt: string | Date;
|
|
550
548
|
callDate: string | Date;
|
|
551
549
|
callType: CallType;
|
|
552
550
|
rating: CallRating;
|
|
553
551
|
ratingWeight: number;
|
|
554
|
-
|
|
552
|
+
notes: string | null;
|
|
555
553
|
leadId?: string | undefined;
|
|
554
|
+
agentId?: string | undefined;
|
|
556
555
|
assignment?: {
|
|
557
|
-
createdAt: string | Date;
|
|
558
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
559
556
|
id: string;
|
|
560
|
-
updatedAt: string | Date;
|
|
561
|
-
agentId: string | null;
|
|
562
|
-
companyId: string | null;
|
|
563
557
|
leadId: string;
|
|
558
|
+
agentId: string | null;
|
|
559
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
560
|
+
createdAt: string | Date;
|
|
561
|
+
updatedAt: string | Date;
|
|
564
562
|
assignedAt: string | Date;
|
|
565
563
|
assignedBy: string | null;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
id: string;
|
|
569
|
-
updatedAt: string | Date;
|
|
564
|
+
companyId: string | null;
|
|
565
|
+
lead?: {
|
|
570
566
|
name: string;
|
|
571
|
-
|
|
567
|
+
phoneNumber: string;
|
|
568
|
+
} | undefined;
|
|
572
569
|
agent?: {
|
|
573
|
-
|
|
570
|
+
id: string;
|
|
574
571
|
firstName: string;
|
|
572
|
+
lastName: string;
|
|
575
573
|
email: string;
|
|
576
574
|
phone: string;
|
|
577
575
|
createdAt: string | Date;
|
|
578
|
-
id: string;
|
|
579
576
|
updatedAt: string | Date;
|
|
580
577
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
581
578
|
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;
|
|
582
579
|
} | undefined;
|
|
583
|
-
|
|
580
|
+
company?: {
|
|
581
|
+
id: string;
|
|
584
582
|
name: string;
|
|
585
|
-
|
|
586
|
-
|
|
583
|
+
createdAt: string | Date;
|
|
584
|
+
updatedAt: string | Date;
|
|
585
|
+
} | null | undefined;
|
|
587
586
|
} | null | undefined;
|
|
588
587
|
}[];
|
|
589
588
|
totalCount: number;
|
|
589
|
+
limit: number;
|
|
590
590
|
skip: number;
|
|
591
591
|
currentPage: number;
|
|
592
592
|
totalPages: number;
|
|
@@ -610,15 +610,15 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
610
610
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
611
611
|
callDate: z.ZodOptional<z.ZodString>;
|
|
612
612
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
613
|
-
notes: z.ZodOptional<z.ZodString
|
|
613
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
notes?: string | undefined;
|
|
616
615
|
callDate?: string | undefined;
|
|
617
616
|
rating?: CallRating | undefined;
|
|
617
|
+
notes?: string | null | undefined;
|
|
618
618
|
}, {
|
|
619
|
-
notes?: string | undefined;
|
|
620
619
|
callDate?: string | undefined;
|
|
621
620
|
rating?: CallRating | undefined;
|
|
621
|
+
notes?: string | null | undefined;
|
|
622
622
|
}>;
|
|
623
623
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
624
624
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -642,8 +642,6 @@ 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;
|
|
647
645
|
assignmentId?: string | undefined;
|
|
648
646
|
callDate?: {
|
|
649
647
|
from?: string | null | undefined;
|
|
@@ -651,11 +649,9 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
651
649
|
} | null | undefined;
|
|
652
650
|
callType?: CallType | undefined;
|
|
653
651
|
rating?: CallRating | undefined;
|
|
654
|
-
}, {
|
|
655
|
-
limit?: number | undefined;
|
|
656
|
-
page?: number | undefined;
|
|
657
652
|
sortBy?: CallHistorySortableFields | undefined;
|
|
658
653
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
654
|
+
}, {
|
|
659
655
|
assignmentId?: string | undefined;
|
|
660
656
|
callDate?: {
|
|
661
657
|
from?: string | null | undefined;
|
|
@@ -663,6 +659,10 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
663
659
|
} | null | undefined;
|
|
664
660
|
callType?: CallType | undefined;
|
|
665
661
|
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;
|
|
@@ -838,22 +838,22 @@ export declare const callHistoryContract: {
|
|
|
838
838
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
839
839
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
-
|
|
841
|
+
id: string;
|
|
842
842
|
firstName: string;
|
|
843
|
+
lastName: string;
|
|
843
844
|
email: string;
|
|
844
845
|
phone: string;
|
|
845
846
|
createdAt: string;
|
|
846
|
-
id: string;
|
|
847
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
852
|
firstName: string;
|
|
853
|
+
lastName: string;
|
|
853
854
|
email: string;
|
|
854
855
|
phone: string;
|
|
855
856
|
createdAt: string | Date;
|
|
856
|
-
id: string;
|
|
857
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;
|
|
@@ -868,80 +868,80 @@ export declare const callHistoryContract: {
|
|
|
868
868
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
869
869
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
createdAt: string;
|
|
872
871
|
id: string;
|
|
873
|
-
updatedAt: string;
|
|
874
872
|
name: string;
|
|
873
|
+
createdAt: string;
|
|
874
|
+
updatedAt: string;
|
|
875
875
|
}, {
|
|
876
|
-
createdAt: string | Date;
|
|
877
876
|
id: string;
|
|
878
|
-
updatedAt: string | Date;
|
|
879
877
|
name: string;
|
|
878
|
+
createdAt: string | Date;
|
|
879
|
+
updatedAt: string | Date;
|
|
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
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
createdAt: string;
|
|
885
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
886
884
|
id: string;
|
|
887
|
-
updatedAt: string;
|
|
888
|
-
agentId: string | null;
|
|
889
|
-
companyId: string | null;
|
|
890
885
|
leadId: string;
|
|
886
|
+
agentId: string | null;
|
|
887
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
888
|
+
createdAt: string;
|
|
889
|
+
updatedAt: string;
|
|
891
890
|
assignedAt: string;
|
|
892
891
|
assignedBy: string | null;
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
id: string;
|
|
896
|
-
updatedAt: string;
|
|
892
|
+
companyId: string | null;
|
|
893
|
+
lead?: {
|
|
897
894
|
name: string;
|
|
898
|
-
|
|
895
|
+
phoneNumber: string;
|
|
896
|
+
} | undefined;
|
|
899
897
|
agent?: {
|
|
900
|
-
|
|
898
|
+
id: string;
|
|
901
899
|
firstName: string;
|
|
900
|
+
lastName: string;
|
|
902
901
|
email: string;
|
|
903
902
|
phone: string;
|
|
904
903
|
createdAt: string;
|
|
905
|
-
id: string;
|
|
906
904
|
updatedAt: string;
|
|
907
905
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
908
906
|
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;
|
|
909
907
|
} | undefined;
|
|
910
|
-
|
|
908
|
+
company?: {
|
|
909
|
+
id: string;
|
|
911
910
|
name: string;
|
|
912
|
-
|
|
913
|
-
|
|
911
|
+
createdAt: string;
|
|
912
|
+
updatedAt: string;
|
|
913
|
+
} | null | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
createdAt: string | Date;
|
|
916
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
917
915
|
id: string;
|
|
918
|
-
updatedAt: string | Date;
|
|
919
|
-
agentId: string | null;
|
|
920
|
-
companyId: string | null;
|
|
921
916
|
leadId: string;
|
|
917
|
+
agentId: string | null;
|
|
918
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
919
|
+
createdAt: string | Date;
|
|
920
|
+
updatedAt: string | Date;
|
|
922
921
|
assignedAt: string | Date;
|
|
923
922
|
assignedBy: string | null;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
id: string;
|
|
927
|
-
updatedAt: string | Date;
|
|
923
|
+
companyId: string | null;
|
|
924
|
+
lead?: {
|
|
928
925
|
name: string;
|
|
929
|
-
|
|
926
|
+
phoneNumber: string;
|
|
927
|
+
} | undefined;
|
|
930
928
|
agent?: {
|
|
931
|
-
|
|
929
|
+
id: string;
|
|
932
930
|
firstName: string;
|
|
931
|
+
lastName: string;
|
|
933
932
|
email: string;
|
|
934
933
|
phone: string;
|
|
935
934
|
createdAt: string | Date;
|
|
936
|
-
id: string;
|
|
937
935
|
updatedAt: string | Date;
|
|
938
936
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
939
937
|
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;
|
|
940
938
|
} | undefined;
|
|
941
|
-
|
|
939
|
+
company?: {
|
|
940
|
+
id: string;
|
|
942
941
|
name: string;
|
|
943
|
-
|
|
944
|
-
|
|
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>;
|
|
@@ -951,92 +951,92 @@ export declare const callHistoryContract: {
|
|
|
951
951
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
952
952
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
953
953
|
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
createdAt: string;
|
|
955
954
|
id: string;
|
|
956
|
-
updatedAt: string;
|
|
957
|
-
notes: string | null;
|
|
958
955
|
assignmentId: string;
|
|
956
|
+
createdAt: string;
|
|
957
|
+
updatedAt: string;
|
|
959
958
|
callDate: string;
|
|
960
959
|
callType: CallType;
|
|
961
960
|
rating: CallRating;
|
|
962
961
|
ratingWeight: number;
|
|
963
|
-
|
|
962
|
+
notes: string | null;
|
|
964
963
|
leadId?: string | undefined;
|
|
964
|
+
agentId?: string | undefined;
|
|
965
965
|
assignment?: {
|
|
966
|
-
createdAt: string;
|
|
967
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
968
966
|
id: string;
|
|
969
|
-
updatedAt: string;
|
|
970
|
-
agentId: string | null;
|
|
971
|
-
companyId: string | null;
|
|
972
967
|
leadId: string;
|
|
968
|
+
agentId: string | null;
|
|
969
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
970
|
+
createdAt: string;
|
|
971
|
+
updatedAt: string;
|
|
973
972
|
assignedAt: string;
|
|
974
973
|
assignedBy: string | null;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
id: string;
|
|
978
|
-
updatedAt: string;
|
|
974
|
+
companyId: string | null;
|
|
975
|
+
lead?: {
|
|
979
976
|
name: string;
|
|
980
|
-
|
|
977
|
+
phoneNumber: string;
|
|
978
|
+
} | undefined;
|
|
981
979
|
agent?: {
|
|
982
|
-
|
|
980
|
+
id: string;
|
|
983
981
|
firstName: string;
|
|
982
|
+
lastName: string;
|
|
984
983
|
email: string;
|
|
985
984
|
phone: string;
|
|
986
985
|
createdAt: string;
|
|
987
|
-
id: string;
|
|
988
986
|
updatedAt: string;
|
|
989
987
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
990
988
|
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;
|
|
991
989
|
} | undefined;
|
|
992
|
-
|
|
990
|
+
company?: {
|
|
991
|
+
id: string;
|
|
993
992
|
name: string;
|
|
994
|
-
|
|
995
|
-
|
|
993
|
+
createdAt: string;
|
|
994
|
+
updatedAt: string;
|
|
995
|
+
} | null | undefined;
|
|
996
996
|
} | null | undefined;
|
|
997
997
|
}, {
|
|
998
|
-
createdAt: string | Date;
|
|
999
998
|
id: string;
|
|
1000
|
-
updatedAt: string | Date;
|
|
1001
|
-
notes: string | null;
|
|
1002
999
|
assignmentId: string;
|
|
1000
|
+
createdAt: string | Date;
|
|
1001
|
+
updatedAt: string | Date;
|
|
1003
1002
|
callDate: string | Date;
|
|
1004
1003
|
callType: CallType;
|
|
1005
1004
|
rating: CallRating;
|
|
1006
1005
|
ratingWeight: number;
|
|
1007
|
-
|
|
1006
|
+
notes: string | null;
|
|
1008
1007
|
leadId?: string | undefined;
|
|
1008
|
+
agentId?: string | undefined;
|
|
1009
1009
|
assignment?: {
|
|
1010
|
-
createdAt: string | Date;
|
|
1011
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1012
1010
|
id: string;
|
|
1013
|
-
updatedAt: string | Date;
|
|
1014
|
-
agentId: string | null;
|
|
1015
|
-
companyId: string | null;
|
|
1016
1011
|
leadId: string;
|
|
1012
|
+
agentId: string | null;
|
|
1013
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1014
|
+
createdAt: string | Date;
|
|
1015
|
+
updatedAt: string | Date;
|
|
1017
1016
|
assignedAt: string | Date;
|
|
1018
1017
|
assignedBy: string | null;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
id: string;
|
|
1022
|
-
updatedAt: string | Date;
|
|
1018
|
+
companyId: string | null;
|
|
1019
|
+
lead?: {
|
|
1023
1020
|
name: string;
|
|
1024
|
-
|
|
1021
|
+
phoneNumber: string;
|
|
1022
|
+
} | undefined;
|
|
1025
1023
|
agent?: {
|
|
1026
|
-
|
|
1024
|
+
id: string;
|
|
1027
1025
|
firstName: string;
|
|
1026
|
+
lastName: string;
|
|
1028
1027
|
email: string;
|
|
1029
1028
|
phone: string;
|
|
1030
1029
|
createdAt: string | Date;
|
|
1031
|
-
id: string;
|
|
1032
1030
|
updatedAt: string | Date;
|
|
1033
1031
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1034
1032
|
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;
|
|
1035
1033
|
} | undefined;
|
|
1036
|
-
|
|
1034
|
+
company?: {
|
|
1035
|
+
id: string;
|
|
1037
1036
|
name: string;
|
|
1038
|
-
|
|
1039
|
-
|
|
1037
|
+
createdAt: string | Date;
|
|
1038
|
+
updatedAt: string | Date;
|
|
1039
|
+
} | null | undefined;
|
|
1040
1040
|
} | null | undefined;
|
|
1041
1041
|
}>;
|
|
1042
1042
|
409: z.ZodObject<{
|
|
@@ -1092,8 +1092,6 @@ export declare const callHistoryContract: {
|
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1093
|
limit: number;
|
|
1094
1094
|
page: number;
|
|
1095
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1096
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1097
1095
|
assignmentId?: string | undefined;
|
|
1098
1096
|
callDate?: {
|
|
1099
1097
|
from?: string | null | undefined;
|
|
@@ -1101,11 +1099,9 @@ export declare const callHistoryContract: {
|
|
|
1101
1099
|
} | null | undefined;
|
|
1102
1100
|
callType?: CallType | undefined;
|
|
1103
1101
|
rating?: CallRating | undefined;
|
|
1104
|
-
}, {
|
|
1105
|
-
limit?: number | undefined;
|
|
1106
|
-
page?: number | undefined;
|
|
1107
1102
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1108
1103
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1104
|
+
}, {
|
|
1109
1105
|
assignmentId?: string | undefined;
|
|
1110
1106
|
callDate?: {
|
|
1111
1107
|
from?: string | null | undefined;
|
|
@@ -1113,6 +1109,10 @@ export declare const callHistoryContract: {
|
|
|
1113
1109
|
} | null | undefined;
|
|
1114
1110
|
callType?: CallType | undefined;
|
|
1115
1111
|
rating?: unknown;
|
|
1112
|
+
limit?: number | undefined;
|
|
1113
|
+
page?: number | undefined;
|
|
1114
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1115
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1116
1116
|
}>;
|
|
1117
1117
|
summary: "Get call history records";
|
|
1118
1118
|
method: "GET";
|
|
@@ -1249,22 +1249,22 @@ export declare const callHistoryContract: {
|
|
|
1249
1249
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1250
1250
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1251
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1252
|
-
|
|
1252
|
+
id: string;
|
|
1253
1253
|
firstName: string;
|
|
1254
|
+
lastName: string;
|
|
1254
1255
|
email: string;
|
|
1255
1256
|
phone: string;
|
|
1256
1257
|
createdAt: string;
|
|
1257
|
-
id: string;
|
|
1258
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
1263
|
firstName: string;
|
|
1264
|
+
lastName: string;
|
|
1264
1265
|
email: string;
|
|
1265
1266
|
phone: string;
|
|
1266
1267
|
createdAt: string | Date;
|
|
1267
|
-
id: string;
|
|
1268
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;
|
|
@@ -1279,80 +1279,80 @@ export declare const callHistoryContract: {
|
|
|
1279
1279
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1280
1280
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1281
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1282
|
-
createdAt: string;
|
|
1283
1282
|
id: string;
|
|
1284
|
-
updatedAt: string;
|
|
1285
1283
|
name: string;
|
|
1284
|
+
createdAt: string;
|
|
1285
|
+
updatedAt: string;
|
|
1286
1286
|
}, {
|
|
1287
|
-
createdAt: string | Date;
|
|
1288
1287
|
id: string;
|
|
1289
|
-
updatedAt: string | Date;
|
|
1290
1288
|
name: string;
|
|
1289
|
+
createdAt: string | Date;
|
|
1290
|
+
updatedAt: string | Date;
|
|
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
|
-
createdAt: string;
|
|
1296
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1297
1295
|
id: string;
|
|
1298
|
-
updatedAt: string;
|
|
1299
|
-
agentId: string | null;
|
|
1300
|
-
companyId: string | null;
|
|
1301
1296
|
leadId: string;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1297
|
+
agentId: string | null;
|
|
1298
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1299
|
+
createdAt: string;
|
|
1300
|
+
updatedAt: string;
|
|
1301
|
+
assignedAt: string;
|
|
1302
|
+
assignedBy: string | null;
|
|
1303
|
+
companyId: string | null;
|
|
1304
|
+
lead?: {
|
|
1308
1305
|
name: string;
|
|
1309
|
-
|
|
1306
|
+
phoneNumber: string;
|
|
1307
|
+
} | undefined;
|
|
1310
1308
|
agent?: {
|
|
1311
|
-
|
|
1309
|
+
id: string;
|
|
1312
1310
|
firstName: string;
|
|
1311
|
+
lastName: string;
|
|
1313
1312
|
email: string;
|
|
1314
1313
|
phone: string;
|
|
1315
1314
|
createdAt: string;
|
|
1316
|
-
id: string;
|
|
1317
1315
|
updatedAt: string;
|
|
1318
1316
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1319
1317
|
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;
|
|
1320
1318
|
} | undefined;
|
|
1321
|
-
|
|
1319
|
+
company?: {
|
|
1320
|
+
id: string;
|
|
1322
1321
|
name: string;
|
|
1323
|
-
|
|
1324
|
-
|
|
1322
|
+
createdAt: string;
|
|
1323
|
+
updatedAt: string;
|
|
1324
|
+
} | null | undefined;
|
|
1325
1325
|
}, {
|
|
1326
|
-
createdAt: string | Date;
|
|
1327
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1328
1326
|
id: string;
|
|
1329
|
-
updatedAt: string | Date;
|
|
1330
|
-
agentId: string | null;
|
|
1331
|
-
companyId: string | null;
|
|
1332
1327
|
leadId: string;
|
|
1328
|
+
agentId: string | null;
|
|
1329
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1330
|
+
createdAt: string | Date;
|
|
1331
|
+
updatedAt: string | Date;
|
|
1333
1332
|
assignedAt: string | Date;
|
|
1334
1333
|
assignedBy: string | null;
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
id: string;
|
|
1338
|
-
updatedAt: string | Date;
|
|
1334
|
+
companyId: string | null;
|
|
1335
|
+
lead?: {
|
|
1339
1336
|
name: string;
|
|
1340
|
-
|
|
1337
|
+
phoneNumber: string;
|
|
1338
|
+
} | undefined;
|
|
1341
1339
|
agent?: {
|
|
1342
|
-
|
|
1340
|
+
id: string;
|
|
1343
1341
|
firstName: string;
|
|
1342
|
+
lastName: string;
|
|
1344
1343
|
email: string;
|
|
1345
1344
|
phone: string;
|
|
1346
1345
|
createdAt: string | Date;
|
|
1347
|
-
id: string;
|
|
1348
1346
|
updatedAt: string | Date;
|
|
1349
1347
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1350
1348
|
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;
|
|
1351
1349
|
} | undefined;
|
|
1352
|
-
|
|
1350
|
+
company?: {
|
|
1351
|
+
id: string;
|
|
1353
1352
|
name: string;
|
|
1354
|
-
|
|
1355
|
-
|
|
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>;
|
|
@@ -1362,92 +1362,92 @@ export declare const callHistoryContract: {
|
|
|
1362
1362
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1363
1363
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1364
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1365
|
-
createdAt: string;
|
|
1366
1365
|
id: string;
|
|
1367
|
-
updatedAt: string;
|
|
1368
|
-
notes: string | null;
|
|
1369
1366
|
assignmentId: string;
|
|
1367
|
+
createdAt: string;
|
|
1368
|
+
updatedAt: string;
|
|
1370
1369
|
callDate: string;
|
|
1371
1370
|
callType: CallType;
|
|
1372
1371
|
rating: CallRating;
|
|
1373
1372
|
ratingWeight: number;
|
|
1374
|
-
|
|
1373
|
+
notes: string | null;
|
|
1375
1374
|
leadId?: string | undefined;
|
|
1375
|
+
agentId?: string | undefined;
|
|
1376
1376
|
assignment?: {
|
|
1377
|
-
createdAt: string;
|
|
1378
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1379
1377
|
id: string;
|
|
1380
|
-
updatedAt: string;
|
|
1381
|
-
agentId: string | null;
|
|
1382
|
-
companyId: string | null;
|
|
1383
1378
|
leadId: string;
|
|
1379
|
+
agentId: string | null;
|
|
1380
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1381
|
+
createdAt: string;
|
|
1382
|
+
updatedAt: string;
|
|
1384
1383
|
assignedAt: string;
|
|
1385
1384
|
assignedBy: string | null;
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
id: string;
|
|
1389
|
-
updatedAt: string;
|
|
1385
|
+
companyId: string | null;
|
|
1386
|
+
lead?: {
|
|
1390
1387
|
name: string;
|
|
1391
|
-
|
|
1388
|
+
phoneNumber: string;
|
|
1389
|
+
} | undefined;
|
|
1392
1390
|
agent?: {
|
|
1393
|
-
|
|
1391
|
+
id: string;
|
|
1394
1392
|
firstName: string;
|
|
1393
|
+
lastName: string;
|
|
1395
1394
|
email: string;
|
|
1396
1395
|
phone: string;
|
|
1397
1396
|
createdAt: string;
|
|
1398
|
-
id: string;
|
|
1399
1397
|
updatedAt: string;
|
|
1400
1398
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1401
1399
|
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;
|
|
1402
1400
|
} | undefined;
|
|
1403
|
-
|
|
1401
|
+
company?: {
|
|
1402
|
+
id: string;
|
|
1404
1403
|
name: string;
|
|
1405
|
-
|
|
1406
|
-
|
|
1404
|
+
createdAt: string;
|
|
1405
|
+
updatedAt: string;
|
|
1406
|
+
} | null | undefined;
|
|
1407
1407
|
} | null | undefined;
|
|
1408
1408
|
}, {
|
|
1409
|
-
createdAt: string | Date;
|
|
1410
1409
|
id: string;
|
|
1411
|
-
updatedAt: string | Date;
|
|
1412
|
-
notes: string | null;
|
|
1413
1410
|
assignmentId: string;
|
|
1411
|
+
createdAt: string | Date;
|
|
1412
|
+
updatedAt: string | Date;
|
|
1414
1413
|
callDate: string | Date;
|
|
1415
1414
|
callType: CallType;
|
|
1416
1415
|
rating: CallRating;
|
|
1417
1416
|
ratingWeight: number;
|
|
1418
|
-
|
|
1417
|
+
notes: string | null;
|
|
1419
1418
|
leadId?: string | undefined;
|
|
1419
|
+
agentId?: string | undefined;
|
|
1420
1420
|
assignment?: {
|
|
1421
|
-
createdAt: string | Date;
|
|
1422
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1423
1421
|
id: string;
|
|
1424
|
-
updatedAt: string | Date;
|
|
1425
|
-
agentId: string | null;
|
|
1426
|
-
companyId: string | null;
|
|
1427
1422
|
leadId: string;
|
|
1423
|
+
agentId: string | null;
|
|
1424
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1425
|
+
createdAt: string | Date;
|
|
1426
|
+
updatedAt: string | Date;
|
|
1428
1427
|
assignedAt: string | Date;
|
|
1429
1428
|
assignedBy: string | null;
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
id: string;
|
|
1433
|
-
updatedAt: string | Date;
|
|
1429
|
+
companyId: string | null;
|
|
1430
|
+
lead?: {
|
|
1434
1431
|
name: string;
|
|
1435
|
-
|
|
1432
|
+
phoneNumber: string;
|
|
1433
|
+
} | undefined;
|
|
1436
1434
|
agent?: {
|
|
1437
|
-
|
|
1435
|
+
id: string;
|
|
1438
1436
|
firstName: string;
|
|
1437
|
+
lastName: string;
|
|
1439
1438
|
email: string;
|
|
1440
1439
|
phone: string;
|
|
1441
1440
|
createdAt: string | Date;
|
|
1442
|
-
id: string;
|
|
1443
1441
|
updatedAt: string | Date;
|
|
1444
1442
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1445
1443
|
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;
|
|
1446
1444
|
} | undefined;
|
|
1447
|
-
|
|
1445
|
+
company?: {
|
|
1446
|
+
id: string;
|
|
1448
1447
|
name: string;
|
|
1449
|
-
|
|
1450
|
-
|
|
1448
|
+
createdAt: string | Date;
|
|
1449
|
+
updatedAt: string | Date;
|
|
1450
|
+
} | null | undefined;
|
|
1451
1451
|
} | null | undefined;
|
|
1452
1452
|
}>, "many">;
|
|
1453
1453
|
totalCount: z.ZodNumber;
|
|
@@ -1456,104 +1456,104 @@ export declare const callHistoryContract: {
|
|
|
1456
1456
|
currentPage: z.ZodNumber;
|
|
1457
1457
|
totalPages: z.ZodNumber;
|
|
1458
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
limit: number;
|
|
1460
1459
|
items: {
|
|
1461
|
-
createdAt: string;
|
|
1462
1460
|
id: string;
|
|
1463
|
-
updatedAt: string;
|
|
1464
|
-
notes: string | null;
|
|
1465
1461
|
assignmentId: string;
|
|
1462
|
+
createdAt: string;
|
|
1463
|
+
updatedAt: string;
|
|
1466
1464
|
callDate: string;
|
|
1467
1465
|
callType: CallType;
|
|
1468
1466
|
rating: CallRating;
|
|
1469
1467
|
ratingWeight: number;
|
|
1470
|
-
|
|
1468
|
+
notes: string | null;
|
|
1471
1469
|
leadId?: string | undefined;
|
|
1470
|
+
agentId?: string | undefined;
|
|
1472
1471
|
assignment?: {
|
|
1473
|
-
createdAt: string;
|
|
1474
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1475
1472
|
id: string;
|
|
1476
|
-
updatedAt: string;
|
|
1477
|
-
agentId: string | null;
|
|
1478
|
-
companyId: string | null;
|
|
1479
1473
|
leadId: string;
|
|
1474
|
+
agentId: string | null;
|
|
1475
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1476
|
+
createdAt: string;
|
|
1477
|
+
updatedAt: string;
|
|
1480
1478
|
assignedAt: string;
|
|
1481
1479
|
assignedBy: string | null;
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
id: string;
|
|
1485
|
-
updatedAt: string;
|
|
1480
|
+
companyId: string | null;
|
|
1481
|
+
lead?: {
|
|
1486
1482
|
name: string;
|
|
1487
|
-
|
|
1483
|
+
phoneNumber: string;
|
|
1484
|
+
} | undefined;
|
|
1488
1485
|
agent?: {
|
|
1489
|
-
|
|
1486
|
+
id: string;
|
|
1490
1487
|
firstName: string;
|
|
1488
|
+
lastName: string;
|
|
1491
1489
|
email: string;
|
|
1492
1490
|
phone: string;
|
|
1493
1491
|
createdAt: string;
|
|
1494
|
-
id: string;
|
|
1495
1492
|
updatedAt: string;
|
|
1496
1493
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1497
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;
|
|
1498
1495
|
} | undefined;
|
|
1499
|
-
|
|
1496
|
+
company?: {
|
|
1497
|
+
id: string;
|
|
1500
1498
|
name: string;
|
|
1501
|
-
|
|
1502
|
-
|
|
1499
|
+
createdAt: string;
|
|
1500
|
+
updatedAt: string;
|
|
1501
|
+
} | null | undefined;
|
|
1503
1502
|
} | null | undefined;
|
|
1504
1503
|
}[];
|
|
1505
1504
|
totalCount: number;
|
|
1505
|
+
limit: number;
|
|
1506
1506
|
skip: number;
|
|
1507
1507
|
currentPage: number;
|
|
1508
1508
|
totalPages: number;
|
|
1509
1509
|
}, {
|
|
1510
|
-
limit: number;
|
|
1511
1510
|
items: {
|
|
1512
|
-
createdAt: string | Date;
|
|
1513
1511
|
id: string;
|
|
1514
|
-
updatedAt: string | Date;
|
|
1515
|
-
notes: string | null;
|
|
1516
1512
|
assignmentId: string;
|
|
1513
|
+
createdAt: string | Date;
|
|
1514
|
+
updatedAt: string | Date;
|
|
1517
1515
|
callDate: string | Date;
|
|
1518
1516
|
callType: CallType;
|
|
1519
1517
|
rating: CallRating;
|
|
1520
1518
|
ratingWeight: number;
|
|
1521
|
-
|
|
1519
|
+
notes: string | null;
|
|
1522
1520
|
leadId?: string | undefined;
|
|
1521
|
+
agentId?: string | undefined;
|
|
1523
1522
|
assignment?: {
|
|
1524
|
-
createdAt: string | Date;
|
|
1525
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1526
1523
|
id: string;
|
|
1527
|
-
updatedAt: string | Date;
|
|
1528
|
-
agentId: string | null;
|
|
1529
|
-
companyId: string | null;
|
|
1530
1524
|
leadId: string;
|
|
1525
|
+
agentId: string | null;
|
|
1526
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1527
|
+
createdAt: string | Date;
|
|
1528
|
+
updatedAt: string | Date;
|
|
1531
1529
|
assignedAt: string | Date;
|
|
1532
1530
|
assignedBy: string | null;
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
id: string;
|
|
1536
|
-
updatedAt: string | Date;
|
|
1531
|
+
companyId: string | null;
|
|
1532
|
+
lead?: {
|
|
1537
1533
|
name: string;
|
|
1538
|
-
|
|
1534
|
+
phoneNumber: string;
|
|
1535
|
+
} | undefined;
|
|
1539
1536
|
agent?: {
|
|
1540
|
-
|
|
1537
|
+
id: string;
|
|
1541
1538
|
firstName: string;
|
|
1539
|
+
lastName: string;
|
|
1542
1540
|
email: string;
|
|
1543
1541
|
phone: string;
|
|
1544
1542
|
createdAt: string | Date;
|
|
1545
|
-
id: string;
|
|
1546
1543
|
updatedAt: string | Date;
|
|
1547
1544
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1548
1545
|
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;
|
|
1549
1546
|
} | undefined;
|
|
1550
|
-
|
|
1547
|
+
company?: {
|
|
1548
|
+
id: string;
|
|
1551
1549
|
name: string;
|
|
1552
|
-
|
|
1553
|
-
|
|
1550
|
+
createdAt: string | Date;
|
|
1551
|
+
updatedAt: string | Date;
|
|
1552
|
+
} | null | undefined;
|
|
1554
1553
|
} | null | undefined;
|
|
1555
1554
|
}[];
|
|
1556
1555
|
totalCount: number;
|
|
1556
|
+
limit: number;
|
|
1557
1557
|
skip: number;
|
|
1558
1558
|
currentPage: number;
|
|
1559
1559
|
totalPages: number;
|
|
@@ -1705,22 +1705,22 @@ export declare const callHistoryContract: {
|
|
|
1705
1705
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1706
1706
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1707
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1708
|
-
|
|
1708
|
+
id: string;
|
|
1709
1709
|
firstName: string;
|
|
1710
|
+
lastName: string;
|
|
1710
1711
|
email: string;
|
|
1711
1712
|
phone: string;
|
|
1712
1713
|
createdAt: string;
|
|
1713
|
-
id: string;
|
|
1714
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
1719
|
firstName: string;
|
|
1720
|
+
lastName: string;
|
|
1720
1721
|
email: string;
|
|
1721
1722
|
phone: string;
|
|
1722
1723
|
createdAt: string | Date;
|
|
1723
|
-
id: string;
|
|
1724
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;
|
|
@@ -1735,80 +1735,80 @@ export declare const callHistoryContract: {
|
|
|
1735
1735
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1736
1736
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1737
1737
|
}, "strip", z.ZodTypeAny, {
|
|
1738
|
-
createdAt: string;
|
|
1739
1738
|
id: string;
|
|
1740
|
-
updatedAt: string;
|
|
1741
1739
|
name: string;
|
|
1740
|
+
createdAt: string;
|
|
1741
|
+
updatedAt: string;
|
|
1742
1742
|
}, {
|
|
1743
|
-
createdAt: string | Date;
|
|
1744
1743
|
id: string;
|
|
1745
|
-
updatedAt: string | Date;
|
|
1746
1744
|
name: string;
|
|
1745
|
+
createdAt: string | Date;
|
|
1746
|
+
updatedAt: string | Date;
|
|
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
|
-
createdAt: string;
|
|
1752
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1753
1751
|
id: string;
|
|
1754
|
-
updatedAt: string;
|
|
1755
|
-
agentId: string | null;
|
|
1756
|
-
companyId: string | null;
|
|
1757
1752
|
leadId: string;
|
|
1753
|
+
agentId: string | null;
|
|
1754
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1755
|
+
createdAt: string;
|
|
1756
|
+
updatedAt: string;
|
|
1758
1757
|
assignedAt: string;
|
|
1759
1758
|
assignedBy: string | null;
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
id: string;
|
|
1763
|
-
updatedAt: string;
|
|
1759
|
+
companyId: string | null;
|
|
1760
|
+
lead?: {
|
|
1764
1761
|
name: string;
|
|
1765
|
-
|
|
1762
|
+
phoneNumber: string;
|
|
1763
|
+
} | undefined;
|
|
1766
1764
|
agent?: {
|
|
1767
|
-
|
|
1765
|
+
id: string;
|
|
1768
1766
|
firstName: string;
|
|
1767
|
+
lastName: string;
|
|
1769
1768
|
email: string;
|
|
1770
1769
|
phone: string;
|
|
1771
1770
|
createdAt: string;
|
|
1772
|
-
id: string;
|
|
1773
1771
|
updatedAt: string;
|
|
1774
1772
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1775
1773
|
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;
|
|
1776
1774
|
} | undefined;
|
|
1777
|
-
|
|
1775
|
+
company?: {
|
|
1776
|
+
id: string;
|
|
1778
1777
|
name: string;
|
|
1779
|
-
|
|
1780
|
-
|
|
1778
|
+
createdAt: string;
|
|
1779
|
+
updatedAt: string;
|
|
1780
|
+
} | null | undefined;
|
|
1781
1781
|
}, {
|
|
1782
|
-
createdAt: string | Date;
|
|
1783
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1784
1782
|
id: string;
|
|
1785
|
-
updatedAt: string | Date;
|
|
1786
|
-
agentId: string | null;
|
|
1787
|
-
companyId: string | null;
|
|
1788
1783
|
leadId: string;
|
|
1784
|
+
agentId: string | null;
|
|
1785
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1786
|
+
createdAt: string | Date;
|
|
1787
|
+
updatedAt: string | Date;
|
|
1789
1788
|
assignedAt: string | Date;
|
|
1790
1789
|
assignedBy: string | null;
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
id: string;
|
|
1794
|
-
updatedAt: string | Date;
|
|
1790
|
+
companyId: string | null;
|
|
1791
|
+
lead?: {
|
|
1795
1792
|
name: string;
|
|
1796
|
-
|
|
1793
|
+
phoneNumber: string;
|
|
1794
|
+
} | undefined;
|
|
1797
1795
|
agent?: {
|
|
1798
|
-
|
|
1796
|
+
id: string;
|
|
1799
1797
|
firstName: string;
|
|
1798
|
+
lastName: string;
|
|
1800
1799
|
email: string;
|
|
1801
1800
|
phone: string;
|
|
1802
1801
|
createdAt: string | Date;
|
|
1803
|
-
id: string;
|
|
1804
1802
|
updatedAt: string | Date;
|
|
1805
1803
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1806
1804
|
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;
|
|
1807
1805
|
} | undefined;
|
|
1808
|
-
|
|
1806
|
+
company?: {
|
|
1807
|
+
id: string;
|
|
1809
1808
|
name: string;
|
|
1810
|
-
|
|
1811
|
-
|
|
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>;
|
|
@@ -1818,92 +1818,92 @@ export declare const callHistoryContract: {
|
|
|
1818
1818
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1819
1819
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
1820
|
}, "strip", z.ZodTypeAny, {
|
|
1821
|
-
createdAt: string;
|
|
1822
1821
|
id: string;
|
|
1823
|
-
updatedAt: string;
|
|
1824
|
-
notes: string | null;
|
|
1825
1822
|
assignmentId: string;
|
|
1823
|
+
createdAt: string;
|
|
1824
|
+
updatedAt: string;
|
|
1826
1825
|
callDate: string;
|
|
1827
1826
|
callType: CallType;
|
|
1828
1827
|
rating: CallRating;
|
|
1829
1828
|
ratingWeight: number;
|
|
1830
|
-
|
|
1829
|
+
notes: string | null;
|
|
1831
1830
|
leadId?: string | undefined;
|
|
1831
|
+
agentId?: string | undefined;
|
|
1832
1832
|
assignment?: {
|
|
1833
|
-
createdAt: string;
|
|
1834
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1835
1833
|
id: string;
|
|
1836
|
-
updatedAt: string;
|
|
1837
|
-
agentId: string | null;
|
|
1838
|
-
companyId: string | null;
|
|
1839
1834
|
leadId: string;
|
|
1835
|
+
agentId: string | null;
|
|
1836
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1837
|
+
createdAt: string;
|
|
1838
|
+
updatedAt: string;
|
|
1840
1839
|
assignedAt: string;
|
|
1841
1840
|
assignedBy: string | null;
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
id: string;
|
|
1845
|
-
updatedAt: string;
|
|
1841
|
+
companyId: string | null;
|
|
1842
|
+
lead?: {
|
|
1846
1843
|
name: string;
|
|
1847
|
-
|
|
1844
|
+
phoneNumber: string;
|
|
1845
|
+
} | undefined;
|
|
1848
1846
|
agent?: {
|
|
1849
|
-
|
|
1847
|
+
id: string;
|
|
1850
1848
|
firstName: string;
|
|
1849
|
+
lastName: string;
|
|
1851
1850
|
email: string;
|
|
1852
1851
|
phone: string;
|
|
1853
1852
|
createdAt: string;
|
|
1854
|
-
id: string;
|
|
1855
1853
|
updatedAt: string;
|
|
1856
1854
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1857
1855
|
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;
|
|
1858
1856
|
} | undefined;
|
|
1859
|
-
|
|
1857
|
+
company?: {
|
|
1858
|
+
id: string;
|
|
1860
1859
|
name: string;
|
|
1861
|
-
|
|
1862
|
-
|
|
1860
|
+
createdAt: string;
|
|
1861
|
+
updatedAt: string;
|
|
1862
|
+
} | null | undefined;
|
|
1863
1863
|
} | null | undefined;
|
|
1864
1864
|
}, {
|
|
1865
|
-
createdAt: string | Date;
|
|
1866
1865
|
id: string;
|
|
1867
|
-
updatedAt: string | Date;
|
|
1868
|
-
notes: string | null;
|
|
1869
1866
|
assignmentId: string;
|
|
1867
|
+
createdAt: string | Date;
|
|
1868
|
+
updatedAt: string | Date;
|
|
1870
1869
|
callDate: string | Date;
|
|
1871
1870
|
callType: CallType;
|
|
1872
1871
|
rating: CallRating;
|
|
1873
1872
|
ratingWeight: number;
|
|
1874
|
-
|
|
1873
|
+
notes: string | null;
|
|
1875
1874
|
leadId?: string | undefined;
|
|
1875
|
+
agentId?: string | undefined;
|
|
1876
1876
|
assignment?: {
|
|
1877
|
-
createdAt: string | Date;
|
|
1878
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1879
1877
|
id: string;
|
|
1880
|
-
updatedAt: string | Date;
|
|
1881
|
-
agentId: string | null;
|
|
1882
|
-
companyId: string | null;
|
|
1883
1878
|
leadId: string;
|
|
1879
|
+
agentId: string | null;
|
|
1880
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1881
|
+
createdAt: string | Date;
|
|
1882
|
+
updatedAt: string | Date;
|
|
1884
1883
|
assignedAt: string | Date;
|
|
1885
1884
|
assignedBy: string | null;
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
id: string;
|
|
1889
|
-
updatedAt: string | Date;
|
|
1885
|
+
companyId: string | null;
|
|
1886
|
+
lead?: {
|
|
1890
1887
|
name: string;
|
|
1891
|
-
|
|
1888
|
+
phoneNumber: string;
|
|
1889
|
+
} | undefined;
|
|
1892
1890
|
agent?: {
|
|
1893
|
-
|
|
1891
|
+
id: string;
|
|
1894
1892
|
firstName: string;
|
|
1893
|
+
lastName: string;
|
|
1895
1894
|
email: string;
|
|
1896
1895
|
phone: string;
|
|
1897
1896
|
createdAt: string | Date;
|
|
1898
|
-
id: string;
|
|
1899
1897
|
updatedAt: string | Date;
|
|
1900
1898
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1901
1899
|
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;
|
|
1902
1900
|
} | undefined;
|
|
1903
|
-
|
|
1901
|
+
company?: {
|
|
1902
|
+
id: string;
|
|
1904
1903
|
name: string;
|
|
1905
|
-
|
|
1906
|
-
|
|
1904
|
+
createdAt: string | Date;
|
|
1905
|
+
updatedAt: string | Date;
|
|
1906
|
+
} | null | undefined;
|
|
1907
1907
|
} | null | undefined;
|
|
1908
1908
|
}>;
|
|
1909
1909
|
404: z.ZodObject<{
|
|
@@ -1949,15 +1949,15 @@ export declare const callHistoryContract: {
|
|
|
1949
1949
|
body: z.ZodObject<{
|
|
1950
1950
|
callDate: z.ZodOptional<z.ZodString>;
|
|
1951
1951
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
1952
|
-
notes: z.ZodOptional<z.ZodString
|
|
1952
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1953
1953
|
}, "strip", z.ZodTypeAny, {
|
|
1954
|
-
notes?: string | undefined;
|
|
1955
1954
|
callDate?: string | undefined;
|
|
1956
1955
|
rating?: CallRating | undefined;
|
|
1956
|
+
notes?: string | null | undefined;
|
|
1957
1957
|
}, {
|
|
1958
|
-
notes?: string | undefined;
|
|
1959
1958
|
callDate?: string | undefined;
|
|
1960
1959
|
rating?: CallRating | undefined;
|
|
1960
|
+
notes?: string | null | undefined;
|
|
1961
1961
|
}>;
|
|
1962
1962
|
path: "/v2/call-history/:id";
|
|
1963
1963
|
responses: {
|
|
@@ -2091,22 +2091,22 @@ export declare const callHistoryContract: {
|
|
|
2091
2091
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2092
2092
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2093
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2094
|
-
|
|
2094
|
+
id: string;
|
|
2095
2095
|
firstName: string;
|
|
2096
|
+
lastName: string;
|
|
2096
2097
|
email: string;
|
|
2097
2098
|
phone: string;
|
|
2098
2099
|
createdAt: string;
|
|
2099
|
-
id: string;
|
|
2100
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
2105
|
firstName: string;
|
|
2106
|
+
lastName: string;
|
|
2106
2107
|
email: string;
|
|
2107
2108
|
phone: string;
|
|
2108
2109
|
createdAt: string | Date;
|
|
2109
|
-
id: string;
|
|
2110
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;
|
|
@@ -2121,80 +2121,80 @@ export declare const callHistoryContract: {
|
|
|
2121
2121
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2122
2122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2123
2123
|
}, "strip", z.ZodTypeAny, {
|
|
2124
|
-
createdAt: string;
|
|
2125
2124
|
id: string;
|
|
2126
|
-
updatedAt: string;
|
|
2127
2125
|
name: string;
|
|
2126
|
+
createdAt: string;
|
|
2127
|
+
updatedAt: string;
|
|
2128
2128
|
}, {
|
|
2129
|
-
createdAt: string | Date;
|
|
2130
2129
|
id: string;
|
|
2131
|
-
updatedAt: string | Date;
|
|
2132
2130
|
name: string;
|
|
2131
|
+
createdAt: string | Date;
|
|
2132
|
+
updatedAt: string | Date;
|
|
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
|
-
createdAt: string;
|
|
2138
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2139
2137
|
id: string;
|
|
2140
|
-
updatedAt: string;
|
|
2141
|
-
agentId: string | null;
|
|
2142
|
-
companyId: string | null;
|
|
2143
2138
|
leadId: string;
|
|
2139
|
+
agentId: string | null;
|
|
2140
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2141
|
+
createdAt: string;
|
|
2142
|
+
updatedAt: string;
|
|
2144
2143
|
assignedAt: string;
|
|
2145
2144
|
assignedBy: string | null;
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
id: string;
|
|
2149
|
-
updatedAt: string;
|
|
2145
|
+
companyId: string | null;
|
|
2146
|
+
lead?: {
|
|
2150
2147
|
name: string;
|
|
2151
|
-
|
|
2148
|
+
phoneNumber: string;
|
|
2149
|
+
} | undefined;
|
|
2152
2150
|
agent?: {
|
|
2153
|
-
|
|
2151
|
+
id: string;
|
|
2154
2152
|
firstName: string;
|
|
2153
|
+
lastName: string;
|
|
2155
2154
|
email: string;
|
|
2156
2155
|
phone: string;
|
|
2157
2156
|
createdAt: string;
|
|
2158
|
-
id: string;
|
|
2159
2157
|
updatedAt: string;
|
|
2160
2158
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2161
2159
|
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;
|
|
2162
2160
|
} | undefined;
|
|
2163
|
-
|
|
2161
|
+
company?: {
|
|
2162
|
+
id: string;
|
|
2164
2163
|
name: string;
|
|
2165
|
-
|
|
2166
|
-
|
|
2164
|
+
createdAt: string;
|
|
2165
|
+
updatedAt: string;
|
|
2166
|
+
} | null | undefined;
|
|
2167
2167
|
}, {
|
|
2168
|
-
createdAt: string | Date;
|
|
2169
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2170
2168
|
id: string;
|
|
2171
|
-
updatedAt: string | Date;
|
|
2172
|
-
agentId: string | null;
|
|
2173
|
-
companyId: string | null;
|
|
2174
2169
|
leadId: string;
|
|
2170
|
+
agentId: string | null;
|
|
2171
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2172
|
+
createdAt: string | Date;
|
|
2173
|
+
updatedAt: string | Date;
|
|
2175
2174
|
assignedAt: string | Date;
|
|
2176
2175
|
assignedBy: string | null;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
id: string;
|
|
2180
|
-
updatedAt: string | Date;
|
|
2176
|
+
companyId: string | null;
|
|
2177
|
+
lead?: {
|
|
2181
2178
|
name: string;
|
|
2182
|
-
|
|
2179
|
+
phoneNumber: string;
|
|
2180
|
+
} | undefined;
|
|
2183
2181
|
agent?: {
|
|
2184
|
-
|
|
2182
|
+
id: string;
|
|
2185
2183
|
firstName: string;
|
|
2184
|
+
lastName: string;
|
|
2186
2185
|
email: string;
|
|
2187
2186
|
phone: string;
|
|
2188
2187
|
createdAt: string | Date;
|
|
2189
|
-
id: string;
|
|
2190
2188
|
updatedAt: string | Date;
|
|
2191
2189
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2192
2190
|
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;
|
|
2193
2191
|
} | undefined;
|
|
2194
|
-
|
|
2192
|
+
company?: {
|
|
2193
|
+
id: string;
|
|
2195
2194
|
name: string;
|
|
2196
|
-
|
|
2197
|
-
|
|
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>;
|
|
@@ -2204,92 +2204,92 @@ export declare const callHistoryContract: {
|
|
|
2204
2204
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2205
2205
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2206
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2207
|
-
createdAt: string;
|
|
2208
2207
|
id: string;
|
|
2209
|
-
updatedAt: string;
|
|
2210
|
-
notes: string | null;
|
|
2211
2208
|
assignmentId: string;
|
|
2209
|
+
createdAt: string;
|
|
2210
|
+
updatedAt: string;
|
|
2212
2211
|
callDate: string;
|
|
2213
2212
|
callType: CallType;
|
|
2214
2213
|
rating: CallRating;
|
|
2215
2214
|
ratingWeight: number;
|
|
2216
|
-
|
|
2215
|
+
notes: string | null;
|
|
2217
2216
|
leadId?: string | undefined;
|
|
2217
|
+
agentId?: string | undefined;
|
|
2218
2218
|
assignment?: {
|
|
2219
|
-
createdAt: string;
|
|
2220
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2221
2219
|
id: string;
|
|
2222
|
-
updatedAt: string;
|
|
2223
|
-
agentId: string | null;
|
|
2224
|
-
companyId: string | null;
|
|
2225
2220
|
leadId: string;
|
|
2221
|
+
agentId: string | null;
|
|
2222
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2223
|
+
createdAt: string;
|
|
2224
|
+
updatedAt: string;
|
|
2226
2225
|
assignedAt: string;
|
|
2227
2226
|
assignedBy: string | null;
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
id: string;
|
|
2231
|
-
updatedAt: string;
|
|
2227
|
+
companyId: string | null;
|
|
2228
|
+
lead?: {
|
|
2232
2229
|
name: string;
|
|
2233
|
-
|
|
2230
|
+
phoneNumber: string;
|
|
2231
|
+
} | undefined;
|
|
2234
2232
|
agent?: {
|
|
2235
|
-
|
|
2233
|
+
id: string;
|
|
2236
2234
|
firstName: string;
|
|
2235
|
+
lastName: string;
|
|
2237
2236
|
email: string;
|
|
2238
2237
|
phone: string;
|
|
2239
2238
|
createdAt: string;
|
|
2240
|
-
id: string;
|
|
2241
2239
|
updatedAt: string;
|
|
2242
2240
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2243
2241
|
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;
|
|
2244
2242
|
} | undefined;
|
|
2245
|
-
|
|
2243
|
+
company?: {
|
|
2244
|
+
id: string;
|
|
2246
2245
|
name: string;
|
|
2247
|
-
|
|
2248
|
-
|
|
2246
|
+
createdAt: string;
|
|
2247
|
+
updatedAt: string;
|
|
2248
|
+
} | null | undefined;
|
|
2249
2249
|
} | null | undefined;
|
|
2250
2250
|
}, {
|
|
2251
|
-
createdAt: string | Date;
|
|
2252
2251
|
id: string;
|
|
2253
|
-
updatedAt: string | Date;
|
|
2254
|
-
notes: string | null;
|
|
2255
2252
|
assignmentId: string;
|
|
2253
|
+
createdAt: string | Date;
|
|
2254
|
+
updatedAt: string | Date;
|
|
2256
2255
|
callDate: string | Date;
|
|
2257
2256
|
callType: CallType;
|
|
2258
2257
|
rating: CallRating;
|
|
2259
2258
|
ratingWeight: number;
|
|
2260
|
-
|
|
2259
|
+
notes: string | null;
|
|
2261
2260
|
leadId?: string | undefined;
|
|
2261
|
+
agentId?: string | undefined;
|
|
2262
2262
|
assignment?: {
|
|
2263
|
-
createdAt: string | Date;
|
|
2264
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2265
2263
|
id: string;
|
|
2266
|
-
updatedAt: string | Date;
|
|
2267
|
-
agentId: string | null;
|
|
2268
|
-
companyId: string | null;
|
|
2269
2264
|
leadId: string;
|
|
2265
|
+
agentId: string | null;
|
|
2266
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2267
|
+
createdAt: string | Date;
|
|
2268
|
+
updatedAt: string | Date;
|
|
2270
2269
|
assignedAt: string | Date;
|
|
2271
2270
|
assignedBy: string | null;
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
id: string;
|
|
2275
|
-
updatedAt: string | Date;
|
|
2271
|
+
companyId: string | null;
|
|
2272
|
+
lead?: {
|
|
2276
2273
|
name: string;
|
|
2277
|
-
|
|
2274
|
+
phoneNumber: string;
|
|
2275
|
+
} | undefined;
|
|
2278
2276
|
agent?: {
|
|
2279
|
-
|
|
2277
|
+
id: string;
|
|
2280
2278
|
firstName: string;
|
|
2279
|
+
lastName: string;
|
|
2281
2280
|
email: string;
|
|
2282
2281
|
phone: string;
|
|
2283
2282
|
createdAt: string | Date;
|
|
2284
|
-
id: string;
|
|
2285
2283
|
updatedAt: string | Date;
|
|
2286
2284
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2287
2285
|
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;
|
|
2288
2286
|
} | undefined;
|
|
2289
|
-
|
|
2287
|
+
company?: {
|
|
2288
|
+
id: string;
|
|
2290
2289
|
name: string;
|
|
2291
|
-
|
|
2292
|
-
|
|
2290
|
+
createdAt: string | Date;
|
|
2291
|
+
updatedAt: string | Date;
|
|
2292
|
+
} | null | undefined;
|
|
2293
2293
|
} | null | undefined;
|
|
2294
2294
|
}>;
|
|
2295
2295
|
404: z.ZodObject<{
|