@dakkitor/api-contracts 1.1.40 → 1.1.41
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 +2609 -2563
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +82 -24
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +2349 -2310
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +645 -599
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +336 -288
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +198 -174
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +136 -136
- package/dist/users/users.contract.d.ts +42 -0
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +24 -1
- package/package.json +1 -1
|
@@ -46,26 +46,29 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
46
46
|
email: z.ZodString;
|
|
47
47
|
phone: z.ZodString;
|
|
48
48
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
49
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
49
50
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
50
51
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
51
52
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
id: string;
|
|
53
|
-
firstName: string;
|
|
54
53
|
lastName: string;
|
|
54
|
+
firstName: string;
|
|
55
55
|
email: string;
|
|
56
56
|
phone: string;
|
|
57
57
|
createdAt: string;
|
|
58
|
+
id: string;
|
|
58
59
|
updatedAt: string;
|
|
59
60
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
60
62
|
}, {
|
|
61
|
-
id: string;
|
|
62
|
-
firstName: string;
|
|
63
63
|
lastName: string;
|
|
64
|
+
firstName: string;
|
|
64
65
|
email: string;
|
|
65
66
|
phone: string;
|
|
66
67
|
createdAt: string | Date;
|
|
68
|
+
id: string;
|
|
67
69
|
updatedAt: string | Date;
|
|
68
70
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
69
72
|
}>>;
|
|
70
73
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
71
74
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -77,78 +80,80 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
77
80
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
78
81
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
79
82
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
id: string;
|
|
81
|
-
name: string;
|
|
82
83
|
createdAt: string;
|
|
83
|
-
updatedAt: string;
|
|
84
|
-
}, {
|
|
85
84
|
id: string;
|
|
85
|
+
updatedAt: string;
|
|
86
86
|
name: string;
|
|
87
|
+
}, {
|
|
87
88
|
createdAt: string | Date;
|
|
89
|
+
id: string;
|
|
88
90
|
updatedAt: string | Date;
|
|
91
|
+
name: string;
|
|
89
92
|
}>>>;
|
|
90
93
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
91
94
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
92
95
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
id: string;
|
|
94
|
-
leadId: string;
|
|
95
|
-
agentId: string | null;
|
|
96
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
97
96
|
createdAt: string;
|
|
97
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
98
|
+
id: string;
|
|
98
99
|
updatedAt: string;
|
|
100
|
+
agentId: string | null;
|
|
101
|
+
companyId: string | null;
|
|
102
|
+
leadId: string;
|
|
99
103
|
assignedAt: string;
|
|
100
104
|
assignedBy: string | null;
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
company?: {
|
|
106
|
+
createdAt: string;
|
|
107
|
+
id: string;
|
|
108
|
+
updatedAt: string;
|
|
103
109
|
name: string;
|
|
104
|
-
|
|
105
|
-
} | undefined;
|
|
110
|
+
} | null | undefined;
|
|
106
111
|
agent?: {
|
|
107
|
-
id: string;
|
|
108
|
-
firstName: string;
|
|
109
112
|
lastName: string;
|
|
113
|
+
firstName: string;
|
|
110
114
|
email: string;
|
|
111
115
|
phone: string;
|
|
112
116
|
createdAt: string;
|
|
117
|
+
id: string;
|
|
113
118
|
updatedAt: string;
|
|
114
119
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
120
|
+
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;
|
|
115
121
|
} | undefined;
|
|
116
|
-
|
|
117
|
-
id: string;
|
|
122
|
+
lead?: {
|
|
118
123
|
name: string;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} | null | undefined;
|
|
124
|
+
phoneNumber: string;
|
|
125
|
+
} | undefined;
|
|
122
126
|
}, {
|
|
123
|
-
id: string;
|
|
124
|
-
leadId: string;
|
|
125
|
-
agentId: string | null;
|
|
126
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
127
127
|
createdAt: string | Date;
|
|
128
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
129
|
+
id: string;
|
|
128
130
|
updatedAt: string | Date;
|
|
131
|
+
agentId: string | null;
|
|
132
|
+
companyId: string | null;
|
|
133
|
+
leadId: string;
|
|
129
134
|
assignedAt: string | Date;
|
|
130
135
|
assignedBy: string | null;
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
company?: {
|
|
137
|
+
createdAt: string | Date;
|
|
138
|
+
id: string;
|
|
139
|
+
updatedAt: string | Date;
|
|
133
140
|
name: string;
|
|
134
|
-
|
|
135
|
-
} | undefined;
|
|
141
|
+
} | null | undefined;
|
|
136
142
|
agent?: {
|
|
137
|
-
id: string;
|
|
138
|
-
firstName: string;
|
|
139
143
|
lastName: string;
|
|
144
|
+
firstName: string;
|
|
140
145
|
email: string;
|
|
141
146
|
phone: string;
|
|
142
147
|
createdAt: string | Date;
|
|
148
|
+
id: string;
|
|
143
149
|
updatedAt: string | Date;
|
|
144
150
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
151
|
+
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;
|
|
145
152
|
} | undefined;
|
|
146
|
-
|
|
147
|
-
id: string;
|
|
153
|
+
lead?: {
|
|
148
154
|
name: string;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
} | null | undefined;
|
|
155
|
+
phoneNumber: string;
|
|
156
|
+
} | undefined;
|
|
152
157
|
}>>>;
|
|
153
158
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
154
159
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -158,90 +163,92 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
158
163
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
159
164
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
160
165
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
id: string;
|
|
162
|
-
assignmentId: string;
|
|
163
166
|
createdAt: string;
|
|
167
|
+
id: string;
|
|
164
168
|
updatedAt: string;
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
notes: string | null;
|
|
170
|
+
assignmentId: string;
|
|
167
171
|
rating: CallRating;
|
|
172
|
+
callType: CallType;
|
|
173
|
+
callDate: string;
|
|
168
174
|
ratingWeight: number;
|
|
169
|
-
notes: string | null;
|
|
170
|
-
leadId?: string | undefined;
|
|
171
175
|
agentId?: string | undefined;
|
|
176
|
+
leadId?: string | undefined;
|
|
172
177
|
assignment?: {
|
|
173
|
-
id: string;
|
|
174
|
-
leadId: string;
|
|
175
|
-
agentId: string | null;
|
|
176
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
177
178
|
createdAt: string;
|
|
179
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
180
|
+
id: string;
|
|
178
181
|
updatedAt: string;
|
|
182
|
+
agentId: string | null;
|
|
183
|
+
companyId: string | null;
|
|
184
|
+
leadId: string;
|
|
179
185
|
assignedAt: string;
|
|
180
186
|
assignedBy: string | null;
|
|
181
|
-
|
|
182
|
-
|
|
187
|
+
company?: {
|
|
188
|
+
createdAt: string;
|
|
189
|
+
id: string;
|
|
190
|
+
updatedAt: string;
|
|
183
191
|
name: string;
|
|
184
|
-
|
|
185
|
-
} | undefined;
|
|
192
|
+
} | null | undefined;
|
|
186
193
|
agent?: {
|
|
187
|
-
id: string;
|
|
188
|
-
firstName: string;
|
|
189
194
|
lastName: string;
|
|
195
|
+
firstName: string;
|
|
190
196
|
email: string;
|
|
191
197
|
phone: string;
|
|
192
198
|
createdAt: string;
|
|
199
|
+
id: string;
|
|
193
200
|
updatedAt: string;
|
|
194
201
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
202
|
+
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;
|
|
195
203
|
} | undefined;
|
|
196
|
-
|
|
197
|
-
id: string;
|
|
204
|
+
lead?: {
|
|
198
205
|
name: string;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
} | null | undefined;
|
|
206
|
+
phoneNumber: string;
|
|
207
|
+
} | undefined;
|
|
202
208
|
} | null | undefined;
|
|
203
209
|
}, {
|
|
204
|
-
id: string;
|
|
205
|
-
assignmentId: string;
|
|
206
210
|
createdAt: string | Date;
|
|
211
|
+
id: string;
|
|
207
212
|
updatedAt: string | Date;
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
notes: string | null;
|
|
214
|
+
assignmentId: string;
|
|
210
215
|
rating: CallRating;
|
|
216
|
+
callType: CallType;
|
|
217
|
+
callDate: string | Date;
|
|
211
218
|
ratingWeight: number;
|
|
212
|
-
notes: string | null;
|
|
213
|
-
leadId?: string | undefined;
|
|
214
219
|
agentId?: string | undefined;
|
|
220
|
+
leadId?: string | undefined;
|
|
215
221
|
assignment?: {
|
|
216
|
-
id: string;
|
|
217
|
-
leadId: string;
|
|
218
|
-
agentId: string | null;
|
|
219
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
220
222
|
createdAt: string | Date;
|
|
223
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
224
|
+
id: string;
|
|
221
225
|
updatedAt: string | Date;
|
|
226
|
+
agentId: string | null;
|
|
227
|
+
companyId: string | null;
|
|
228
|
+
leadId: string;
|
|
222
229
|
assignedAt: string | Date;
|
|
223
230
|
assignedBy: string | null;
|
|
224
|
-
|
|
225
|
-
|
|
231
|
+
company?: {
|
|
232
|
+
createdAt: string | Date;
|
|
233
|
+
id: string;
|
|
234
|
+
updatedAt: string | Date;
|
|
226
235
|
name: string;
|
|
227
|
-
|
|
228
|
-
} | undefined;
|
|
236
|
+
} | null | undefined;
|
|
229
237
|
agent?: {
|
|
230
|
-
id: string;
|
|
231
|
-
firstName: string;
|
|
232
238
|
lastName: string;
|
|
239
|
+
firstName: string;
|
|
233
240
|
email: string;
|
|
234
241
|
phone: string;
|
|
235
242
|
createdAt: string | Date;
|
|
243
|
+
id: string;
|
|
236
244
|
updatedAt: string | Date;
|
|
237
245
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
246
|
+
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;
|
|
238
247
|
} | undefined;
|
|
239
|
-
|
|
240
|
-
id: string;
|
|
248
|
+
lead?: {
|
|
241
249
|
name: string;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
} | null | undefined;
|
|
250
|
+
phoneNumber: string;
|
|
251
|
+
} | undefined;
|
|
245
252
|
} | null | undefined;
|
|
246
253
|
}>;
|
|
247
254
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -271,26 +278,29 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
271
278
|
email: z.ZodString;
|
|
272
279
|
phone: z.ZodString;
|
|
273
280
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
281
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
274
282
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
275
283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
276
284
|
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
id: string;
|
|
278
|
-
firstName: string;
|
|
279
285
|
lastName: string;
|
|
286
|
+
firstName: string;
|
|
280
287
|
email: string;
|
|
281
288
|
phone: string;
|
|
282
289
|
createdAt: string;
|
|
290
|
+
id: string;
|
|
283
291
|
updatedAt: string;
|
|
284
292
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
285
294
|
}, {
|
|
286
|
-
id: string;
|
|
287
|
-
firstName: string;
|
|
288
295
|
lastName: string;
|
|
296
|
+
firstName: string;
|
|
289
297
|
email: string;
|
|
290
298
|
phone: string;
|
|
291
299
|
createdAt: string | Date;
|
|
300
|
+
id: string;
|
|
292
301
|
updatedAt: string | Date;
|
|
293
302
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
294
304
|
}>>;
|
|
295
305
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
296
306
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -302,78 +312,80 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
302
312
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
303
313
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
304
314
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
id: string;
|
|
306
|
-
name: string;
|
|
307
315
|
createdAt: string;
|
|
308
|
-
updatedAt: string;
|
|
309
|
-
}, {
|
|
310
316
|
id: string;
|
|
317
|
+
updatedAt: string;
|
|
311
318
|
name: string;
|
|
319
|
+
}, {
|
|
312
320
|
createdAt: string | Date;
|
|
321
|
+
id: string;
|
|
313
322
|
updatedAt: string | Date;
|
|
323
|
+
name: string;
|
|
314
324
|
}>>>;
|
|
315
325
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
316
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
317
327
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
id: string;
|
|
319
|
-
leadId: string;
|
|
320
|
-
agentId: string | null;
|
|
321
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
322
328
|
createdAt: string;
|
|
329
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
330
|
+
id: string;
|
|
323
331
|
updatedAt: string;
|
|
332
|
+
agentId: string | null;
|
|
333
|
+
companyId: string | null;
|
|
334
|
+
leadId: string;
|
|
324
335
|
assignedAt: string;
|
|
325
336
|
assignedBy: string | null;
|
|
326
|
-
|
|
327
|
-
|
|
337
|
+
company?: {
|
|
338
|
+
createdAt: string;
|
|
339
|
+
id: string;
|
|
340
|
+
updatedAt: string;
|
|
328
341
|
name: string;
|
|
329
|
-
|
|
330
|
-
} | undefined;
|
|
342
|
+
} | null | undefined;
|
|
331
343
|
agent?: {
|
|
332
|
-
id: string;
|
|
333
|
-
firstName: string;
|
|
334
344
|
lastName: string;
|
|
345
|
+
firstName: string;
|
|
335
346
|
email: string;
|
|
336
347
|
phone: string;
|
|
337
348
|
createdAt: string;
|
|
349
|
+
id: string;
|
|
338
350
|
updatedAt: string;
|
|
339
351
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
352
|
+
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;
|
|
340
353
|
} | undefined;
|
|
341
|
-
|
|
342
|
-
id: string;
|
|
354
|
+
lead?: {
|
|
343
355
|
name: string;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
} | null | undefined;
|
|
356
|
+
phoneNumber: string;
|
|
357
|
+
} | undefined;
|
|
347
358
|
}, {
|
|
348
|
-
id: string;
|
|
349
|
-
leadId: string;
|
|
350
|
-
agentId: string | null;
|
|
351
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
352
359
|
createdAt: string | Date;
|
|
360
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
361
|
+
id: string;
|
|
353
362
|
updatedAt: string | Date;
|
|
363
|
+
agentId: string | null;
|
|
364
|
+
companyId: string | null;
|
|
365
|
+
leadId: string;
|
|
354
366
|
assignedAt: string | Date;
|
|
355
367
|
assignedBy: string | null;
|
|
356
|
-
|
|
357
|
-
|
|
368
|
+
company?: {
|
|
369
|
+
createdAt: string | Date;
|
|
370
|
+
id: string;
|
|
371
|
+
updatedAt: string | Date;
|
|
358
372
|
name: string;
|
|
359
|
-
|
|
360
|
-
} | undefined;
|
|
373
|
+
} | null | undefined;
|
|
361
374
|
agent?: {
|
|
362
|
-
id: string;
|
|
363
|
-
firstName: string;
|
|
364
375
|
lastName: string;
|
|
376
|
+
firstName: string;
|
|
365
377
|
email: string;
|
|
366
378
|
phone: string;
|
|
367
379
|
createdAt: string | Date;
|
|
380
|
+
id: string;
|
|
368
381
|
updatedAt: string | Date;
|
|
369
382
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
383
|
+
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;
|
|
370
384
|
} | undefined;
|
|
371
|
-
|
|
372
|
-
id: string;
|
|
385
|
+
lead?: {
|
|
373
386
|
name: string;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
} | null | undefined;
|
|
387
|
+
phoneNumber: string;
|
|
388
|
+
} | undefined;
|
|
377
389
|
}>>>;
|
|
378
390
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
379
391
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -383,90 +395,92 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
383
395
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
384
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
385
397
|
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
id: string;
|
|
387
|
-
assignmentId: string;
|
|
388
398
|
createdAt: string;
|
|
399
|
+
id: string;
|
|
389
400
|
updatedAt: string;
|
|
390
|
-
|
|
391
|
-
|
|
401
|
+
notes: string | null;
|
|
402
|
+
assignmentId: string;
|
|
392
403
|
rating: CallRating;
|
|
404
|
+
callType: CallType;
|
|
405
|
+
callDate: string;
|
|
393
406
|
ratingWeight: number;
|
|
394
|
-
notes: string | null;
|
|
395
|
-
leadId?: string | undefined;
|
|
396
407
|
agentId?: string | undefined;
|
|
408
|
+
leadId?: string | undefined;
|
|
397
409
|
assignment?: {
|
|
398
|
-
id: string;
|
|
399
|
-
leadId: string;
|
|
400
|
-
agentId: string | null;
|
|
401
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
402
410
|
createdAt: string;
|
|
411
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
412
|
+
id: string;
|
|
403
413
|
updatedAt: string;
|
|
414
|
+
agentId: string | null;
|
|
415
|
+
companyId: string | null;
|
|
416
|
+
leadId: string;
|
|
404
417
|
assignedAt: string;
|
|
405
418
|
assignedBy: string | null;
|
|
406
|
-
|
|
407
|
-
|
|
419
|
+
company?: {
|
|
420
|
+
createdAt: string;
|
|
421
|
+
id: string;
|
|
422
|
+
updatedAt: string;
|
|
408
423
|
name: string;
|
|
409
|
-
|
|
410
|
-
} | undefined;
|
|
424
|
+
} | null | undefined;
|
|
411
425
|
agent?: {
|
|
412
|
-
id: string;
|
|
413
|
-
firstName: string;
|
|
414
426
|
lastName: string;
|
|
427
|
+
firstName: string;
|
|
415
428
|
email: string;
|
|
416
429
|
phone: string;
|
|
417
430
|
createdAt: string;
|
|
431
|
+
id: string;
|
|
418
432
|
updatedAt: string;
|
|
419
433
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
434
|
+
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;
|
|
420
435
|
} | undefined;
|
|
421
|
-
|
|
422
|
-
id: string;
|
|
436
|
+
lead?: {
|
|
423
437
|
name: string;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
} | null | undefined;
|
|
438
|
+
phoneNumber: string;
|
|
439
|
+
} | undefined;
|
|
427
440
|
} | null | undefined;
|
|
428
441
|
}, {
|
|
429
|
-
id: string;
|
|
430
|
-
assignmentId: string;
|
|
431
442
|
createdAt: string | Date;
|
|
443
|
+
id: string;
|
|
432
444
|
updatedAt: string | Date;
|
|
433
|
-
|
|
434
|
-
|
|
445
|
+
notes: string | null;
|
|
446
|
+
assignmentId: string;
|
|
435
447
|
rating: CallRating;
|
|
448
|
+
callType: CallType;
|
|
449
|
+
callDate: string | Date;
|
|
436
450
|
ratingWeight: number;
|
|
437
|
-
notes: string | null;
|
|
438
|
-
leadId?: string | undefined;
|
|
439
451
|
agentId?: string | undefined;
|
|
452
|
+
leadId?: string | undefined;
|
|
440
453
|
assignment?: {
|
|
441
|
-
id: string;
|
|
442
|
-
leadId: string;
|
|
443
|
-
agentId: string | null;
|
|
444
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
445
454
|
createdAt: string | Date;
|
|
455
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
456
|
+
id: string;
|
|
446
457
|
updatedAt: string | Date;
|
|
458
|
+
agentId: string | null;
|
|
459
|
+
companyId: string | null;
|
|
460
|
+
leadId: string;
|
|
447
461
|
assignedAt: string | Date;
|
|
448
462
|
assignedBy: string | null;
|
|
449
|
-
|
|
450
|
-
|
|
463
|
+
company?: {
|
|
464
|
+
createdAt: string | Date;
|
|
465
|
+
id: string;
|
|
466
|
+
updatedAt: string | Date;
|
|
451
467
|
name: string;
|
|
452
|
-
|
|
453
|
-
} | undefined;
|
|
468
|
+
} | null | undefined;
|
|
454
469
|
agent?: {
|
|
455
|
-
id: string;
|
|
456
|
-
firstName: string;
|
|
457
470
|
lastName: string;
|
|
471
|
+
firstName: string;
|
|
458
472
|
email: string;
|
|
459
473
|
phone: string;
|
|
460
474
|
createdAt: string | Date;
|
|
475
|
+
id: string;
|
|
461
476
|
updatedAt: string | Date;
|
|
462
477
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
478
|
+
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;
|
|
463
479
|
} | undefined;
|
|
464
|
-
|
|
465
|
-
id: string;
|
|
480
|
+
lead?: {
|
|
466
481
|
name: string;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
} | null | undefined;
|
|
482
|
+
phoneNumber: string;
|
|
483
|
+
} | undefined;
|
|
470
484
|
} | null | undefined;
|
|
471
485
|
}>, "many">;
|
|
472
486
|
totalCount: z.ZodNumber;
|
|
@@ -475,102 +489,104 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
475
489
|
currentPage: z.ZodNumber;
|
|
476
490
|
totalPages: z.ZodNumber;
|
|
477
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
limit: number;
|
|
478
493
|
items: {
|
|
479
|
-
id: string;
|
|
480
|
-
assignmentId: string;
|
|
481
494
|
createdAt: string;
|
|
495
|
+
id: string;
|
|
482
496
|
updatedAt: string;
|
|
483
|
-
|
|
484
|
-
|
|
497
|
+
notes: string | null;
|
|
498
|
+
assignmentId: string;
|
|
485
499
|
rating: CallRating;
|
|
500
|
+
callType: CallType;
|
|
501
|
+
callDate: string;
|
|
486
502
|
ratingWeight: number;
|
|
487
|
-
notes: string | null;
|
|
488
|
-
leadId?: string | undefined;
|
|
489
503
|
agentId?: string | undefined;
|
|
504
|
+
leadId?: string | undefined;
|
|
490
505
|
assignment?: {
|
|
491
|
-
id: string;
|
|
492
|
-
leadId: string;
|
|
493
|
-
agentId: string | null;
|
|
494
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
495
506
|
createdAt: string;
|
|
507
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
508
|
+
id: string;
|
|
496
509
|
updatedAt: string;
|
|
510
|
+
agentId: string | null;
|
|
511
|
+
companyId: string | null;
|
|
512
|
+
leadId: string;
|
|
497
513
|
assignedAt: string;
|
|
498
514
|
assignedBy: string | null;
|
|
499
|
-
|
|
500
|
-
|
|
515
|
+
company?: {
|
|
516
|
+
createdAt: string;
|
|
517
|
+
id: string;
|
|
518
|
+
updatedAt: string;
|
|
501
519
|
name: string;
|
|
502
|
-
|
|
503
|
-
} | undefined;
|
|
520
|
+
} | null | undefined;
|
|
504
521
|
agent?: {
|
|
505
|
-
id: string;
|
|
506
|
-
firstName: string;
|
|
507
522
|
lastName: string;
|
|
523
|
+
firstName: string;
|
|
508
524
|
email: string;
|
|
509
525
|
phone: string;
|
|
510
526
|
createdAt: string;
|
|
527
|
+
id: string;
|
|
511
528
|
updatedAt: string;
|
|
512
529
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
530
|
+
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;
|
|
513
531
|
} | undefined;
|
|
514
|
-
|
|
515
|
-
id: string;
|
|
532
|
+
lead?: {
|
|
516
533
|
name: string;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
} | null | undefined;
|
|
534
|
+
phoneNumber: string;
|
|
535
|
+
} | undefined;
|
|
520
536
|
} | null | undefined;
|
|
521
537
|
}[];
|
|
522
538
|
totalCount: number;
|
|
523
|
-
limit: number;
|
|
524
539
|
skip: number;
|
|
525
540
|
currentPage: number;
|
|
526
541
|
totalPages: number;
|
|
527
542
|
}, {
|
|
543
|
+
limit: number;
|
|
528
544
|
items: {
|
|
529
|
-
id: string;
|
|
530
|
-
assignmentId: string;
|
|
531
545
|
createdAt: string | Date;
|
|
546
|
+
id: string;
|
|
532
547
|
updatedAt: string | Date;
|
|
533
|
-
|
|
534
|
-
|
|
548
|
+
notes: string | null;
|
|
549
|
+
assignmentId: string;
|
|
535
550
|
rating: CallRating;
|
|
551
|
+
callType: CallType;
|
|
552
|
+
callDate: string | Date;
|
|
536
553
|
ratingWeight: number;
|
|
537
|
-
notes: string | null;
|
|
538
|
-
leadId?: string | undefined;
|
|
539
554
|
agentId?: string | undefined;
|
|
555
|
+
leadId?: string | undefined;
|
|
540
556
|
assignment?: {
|
|
541
|
-
id: string;
|
|
542
|
-
leadId: string;
|
|
543
|
-
agentId: string | null;
|
|
544
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
545
557
|
createdAt: string | Date;
|
|
558
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
559
|
+
id: string;
|
|
546
560
|
updatedAt: string | Date;
|
|
561
|
+
agentId: string | null;
|
|
562
|
+
companyId: string | null;
|
|
563
|
+
leadId: string;
|
|
547
564
|
assignedAt: string | Date;
|
|
548
565
|
assignedBy: string | null;
|
|
549
|
-
|
|
550
|
-
|
|
566
|
+
company?: {
|
|
567
|
+
createdAt: string | Date;
|
|
568
|
+
id: string;
|
|
569
|
+
updatedAt: string | Date;
|
|
551
570
|
name: string;
|
|
552
|
-
|
|
553
|
-
} | undefined;
|
|
571
|
+
} | null | undefined;
|
|
554
572
|
agent?: {
|
|
555
|
-
id: string;
|
|
556
|
-
firstName: string;
|
|
557
573
|
lastName: string;
|
|
574
|
+
firstName: string;
|
|
558
575
|
email: string;
|
|
559
576
|
phone: string;
|
|
560
577
|
createdAt: string | Date;
|
|
578
|
+
id: string;
|
|
561
579
|
updatedAt: string | Date;
|
|
562
580
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
581
|
+
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;
|
|
563
582
|
} | undefined;
|
|
564
|
-
|
|
565
|
-
id: string;
|
|
583
|
+
lead?: {
|
|
566
584
|
name: string;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
} | null | undefined;
|
|
585
|
+
phoneNumber: string;
|
|
586
|
+
} | undefined;
|
|
570
587
|
} | null | undefined;
|
|
571
588
|
}[];
|
|
572
589
|
totalCount: number;
|
|
573
|
-
limit: number;
|
|
574
590
|
skip: number;
|
|
575
591
|
currentPage: number;
|
|
576
592
|
totalPages: number;
|
|
@@ -582,13 +598,13 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
582
598
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
583
599
|
}, "strip", z.ZodTypeAny, {
|
|
584
600
|
assignmentId: string;
|
|
585
|
-
callType: CallType;
|
|
586
601
|
rating: CallRating;
|
|
602
|
+
callType: CallType;
|
|
587
603
|
notes?: string | undefined;
|
|
588
604
|
}, {
|
|
589
605
|
assignmentId: string;
|
|
590
|
-
callType: CallType;
|
|
591
606
|
rating: CallRating;
|
|
607
|
+
callType: CallType;
|
|
592
608
|
notes?: string | undefined;
|
|
593
609
|
}>;
|
|
594
610
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -596,13 +612,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
596
612
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
597
613
|
notes: z.ZodOptional<z.ZodString>;
|
|
598
614
|
}, "strip", z.ZodTypeAny, {
|
|
599
|
-
callDate?: string | undefined;
|
|
600
|
-
rating?: CallRating | undefined;
|
|
601
615
|
notes?: string | undefined;
|
|
602
|
-
}, {
|
|
603
|
-
callDate?: string | undefined;
|
|
604
616
|
rating?: CallRating | undefined;
|
|
617
|
+
callDate?: string | undefined;
|
|
618
|
+
}, {
|
|
605
619
|
notes?: string | undefined;
|
|
620
|
+
rating?: CallRating | undefined;
|
|
621
|
+
callDate?: string | undefined;
|
|
606
622
|
}>;
|
|
607
623
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
608
624
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -626,27 +642,27 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
626
642
|
}, "strip", z.ZodTypeAny, {
|
|
627
643
|
limit: number;
|
|
628
644
|
page: number;
|
|
645
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
646
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
629
647
|
assignmentId?: string | undefined;
|
|
648
|
+
rating?: CallRating | undefined;
|
|
649
|
+
callType?: CallType | undefined;
|
|
630
650
|
callDate?: {
|
|
631
651
|
from?: string | null | undefined;
|
|
632
652
|
to?: string | null | undefined;
|
|
633
653
|
} | null | undefined;
|
|
634
|
-
|
|
635
|
-
|
|
654
|
+
}, {
|
|
655
|
+
limit?: number | undefined;
|
|
656
|
+
page?: number | undefined;
|
|
636
657
|
sortBy?: CallHistorySortableFields | undefined;
|
|
637
658
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
638
|
-
}, {
|
|
639
659
|
assignmentId?: string | undefined;
|
|
660
|
+
rating?: unknown;
|
|
661
|
+
callType?: CallType | undefined;
|
|
640
662
|
callDate?: {
|
|
641
663
|
from?: string | null | undefined;
|
|
642
664
|
to?: string | null | undefined;
|
|
643
665
|
} | null | undefined;
|
|
644
|
-
callType?: CallType | undefined;
|
|
645
|
-
rating?: unknown;
|
|
646
|
-
limit?: number | undefined;
|
|
647
|
-
page?: number | undefined;
|
|
648
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
649
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
650
666
|
}>;
|
|
651
667
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
652
668
|
totalCalls: z.ZodNumber;
|
|
@@ -681,13 +697,13 @@ export declare const callHistoryContract: {
|
|
|
681
697
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
682
698
|
}, "strip", z.ZodTypeAny, {
|
|
683
699
|
assignmentId: string;
|
|
684
|
-
callType: CallType;
|
|
685
700
|
rating: CallRating;
|
|
701
|
+
callType: CallType;
|
|
686
702
|
notes?: string | undefined;
|
|
687
703
|
}, {
|
|
688
704
|
assignmentId: string;
|
|
689
|
-
callType: CallType;
|
|
690
705
|
rating: CallRating;
|
|
706
|
+
callType: CallType;
|
|
691
707
|
notes?: string | undefined;
|
|
692
708
|
}>;
|
|
693
709
|
path: "/v2/call-history";
|
|
@@ -818,26 +834,29 @@ export declare const callHistoryContract: {
|
|
|
818
834
|
email: z.ZodString;
|
|
819
835
|
phone: z.ZodString;
|
|
820
836
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
837
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
821
838
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
822
839
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
823
840
|
}, "strip", z.ZodTypeAny, {
|
|
824
|
-
id: string;
|
|
825
|
-
firstName: string;
|
|
826
841
|
lastName: string;
|
|
842
|
+
firstName: string;
|
|
827
843
|
email: string;
|
|
828
844
|
phone: string;
|
|
829
845
|
createdAt: string;
|
|
846
|
+
id: string;
|
|
830
847
|
updatedAt: string;
|
|
831
848
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
832
850
|
}, {
|
|
833
|
-
id: string;
|
|
834
|
-
firstName: string;
|
|
835
851
|
lastName: string;
|
|
852
|
+
firstName: string;
|
|
836
853
|
email: string;
|
|
837
854
|
phone: string;
|
|
838
855
|
createdAt: string | Date;
|
|
856
|
+
id: string;
|
|
839
857
|
updatedAt: string | Date;
|
|
840
858
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
841
860
|
}>>;
|
|
842
861
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
843
862
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -849,78 +868,80 @@ export declare const callHistoryContract: {
|
|
|
849
868
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
850
869
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
851
870
|
}, "strip", z.ZodTypeAny, {
|
|
852
|
-
id: string;
|
|
853
|
-
name: string;
|
|
854
871
|
createdAt: string;
|
|
855
|
-
updatedAt: string;
|
|
856
|
-
}, {
|
|
857
872
|
id: string;
|
|
873
|
+
updatedAt: string;
|
|
858
874
|
name: string;
|
|
875
|
+
}, {
|
|
859
876
|
createdAt: string | Date;
|
|
877
|
+
id: string;
|
|
860
878
|
updatedAt: string | Date;
|
|
879
|
+
name: string;
|
|
861
880
|
}>>>;
|
|
862
881
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
863
882
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
864
883
|
}, "strip", z.ZodTypeAny, {
|
|
865
|
-
id: string;
|
|
866
|
-
leadId: string;
|
|
867
|
-
agentId: string | null;
|
|
868
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
869
884
|
createdAt: string;
|
|
885
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
886
|
+
id: string;
|
|
870
887
|
updatedAt: string;
|
|
888
|
+
agentId: string | null;
|
|
889
|
+
companyId: string | null;
|
|
890
|
+
leadId: string;
|
|
871
891
|
assignedAt: string;
|
|
872
892
|
assignedBy: string | null;
|
|
873
|
-
|
|
874
|
-
|
|
893
|
+
company?: {
|
|
894
|
+
createdAt: string;
|
|
895
|
+
id: string;
|
|
896
|
+
updatedAt: string;
|
|
875
897
|
name: string;
|
|
876
|
-
|
|
877
|
-
} | undefined;
|
|
898
|
+
} | null | undefined;
|
|
878
899
|
agent?: {
|
|
879
|
-
id: string;
|
|
880
|
-
firstName: string;
|
|
881
900
|
lastName: string;
|
|
901
|
+
firstName: string;
|
|
882
902
|
email: string;
|
|
883
903
|
phone: string;
|
|
884
904
|
createdAt: string;
|
|
905
|
+
id: string;
|
|
885
906
|
updatedAt: string;
|
|
886
907
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
908
|
+
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;
|
|
887
909
|
} | undefined;
|
|
888
|
-
|
|
889
|
-
id: string;
|
|
910
|
+
lead?: {
|
|
890
911
|
name: string;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
} | null | undefined;
|
|
912
|
+
phoneNumber: string;
|
|
913
|
+
} | undefined;
|
|
894
914
|
}, {
|
|
895
|
-
id: string;
|
|
896
|
-
leadId: string;
|
|
897
|
-
agentId: string | null;
|
|
898
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
899
915
|
createdAt: string | Date;
|
|
916
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
917
|
+
id: string;
|
|
900
918
|
updatedAt: string | Date;
|
|
919
|
+
agentId: string | null;
|
|
920
|
+
companyId: string | null;
|
|
921
|
+
leadId: string;
|
|
901
922
|
assignedAt: string | Date;
|
|
902
923
|
assignedBy: string | null;
|
|
903
|
-
|
|
904
|
-
|
|
924
|
+
company?: {
|
|
925
|
+
createdAt: string | Date;
|
|
926
|
+
id: string;
|
|
927
|
+
updatedAt: string | Date;
|
|
905
928
|
name: string;
|
|
906
|
-
|
|
907
|
-
} | undefined;
|
|
929
|
+
} | null | undefined;
|
|
908
930
|
agent?: {
|
|
909
|
-
id: string;
|
|
910
|
-
firstName: string;
|
|
911
931
|
lastName: string;
|
|
932
|
+
firstName: string;
|
|
912
933
|
email: string;
|
|
913
934
|
phone: string;
|
|
914
935
|
createdAt: string | Date;
|
|
936
|
+
id: string;
|
|
915
937
|
updatedAt: string | Date;
|
|
916
938
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
939
|
+
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;
|
|
917
940
|
} | undefined;
|
|
918
|
-
|
|
919
|
-
id: string;
|
|
941
|
+
lead?: {
|
|
920
942
|
name: string;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
} | null | undefined;
|
|
943
|
+
phoneNumber: string;
|
|
944
|
+
} | undefined;
|
|
924
945
|
}>>>;
|
|
925
946
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
926
947
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -930,90 +951,92 @@ export declare const callHistoryContract: {
|
|
|
930
951
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
931
952
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
932
953
|
}, "strip", z.ZodTypeAny, {
|
|
933
|
-
id: string;
|
|
934
|
-
assignmentId: string;
|
|
935
954
|
createdAt: string;
|
|
955
|
+
id: string;
|
|
936
956
|
updatedAt: string;
|
|
937
|
-
|
|
938
|
-
|
|
957
|
+
notes: string | null;
|
|
958
|
+
assignmentId: string;
|
|
939
959
|
rating: CallRating;
|
|
960
|
+
callType: CallType;
|
|
961
|
+
callDate: string;
|
|
940
962
|
ratingWeight: number;
|
|
941
|
-
notes: string | null;
|
|
942
|
-
leadId?: string | undefined;
|
|
943
963
|
agentId?: string | undefined;
|
|
964
|
+
leadId?: string | undefined;
|
|
944
965
|
assignment?: {
|
|
945
|
-
id: string;
|
|
946
|
-
leadId: string;
|
|
947
|
-
agentId: string | null;
|
|
948
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
949
966
|
createdAt: string;
|
|
967
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
968
|
+
id: string;
|
|
950
969
|
updatedAt: string;
|
|
970
|
+
agentId: string | null;
|
|
971
|
+
companyId: string | null;
|
|
972
|
+
leadId: string;
|
|
951
973
|
assignedAt: string;
|
|
952
974
|
assignedBy: string | null;
|
|
953
|
-
|
|
954
|
-
|
|
975
|
+
company?: {
|
|
976
|
+
createdAt: string;
|
|
977
|
+
id: string;
|
|
978
|
+
updatedAt: string;
|
|
955
979
|
name: string;
|
|
956
|
-
|
|
957
|
-
} | undefined;
|
|
980
|
+
} | null | undefined;
|
|
958
981
|
agent?: {
|
|
959
|
-
id: string;
|
|
960
|
-
firstName: string;
|
|
961
982
|
lastName: string;
|
|
983
|
+
firstName: string;
|
|
962
984
|
email: string;
|
|
963
985
|
phone: string;
|
|
964
986
|
createdAt: string;
|
|
987
|
+
id: string;
|
|
965
988
|
updatedAt: string;
|
|
966
989
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
990
|
+
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;
|
|
967
991
|
} | undefined;
|
|
968
|
-
|
|
969
|
-
id: string;
|
|
992
|
+
lead?: {
|
|
970
993
|
name: string;
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
} | null | undefined;
|
|
994
|
+
phoneNumber: string;
|
|
995
|
+
} | undefined;
|
|
974
996
|
} | null | undefined;
|
|
975
997
|
}, {
|
|
976
|
-
id: string;
|
|
977
|
-
assignmentId: string;
|
|
978
998
|
createdAt: string | Date;
|
|
999
|
+
id: string;
|
|
979
1000
|
updatedAt: string | Date;
|
|
980
|
-
|
|
981
|
-
|
|
1001
|
+
notes: string | null;
|
|
1002
|
+
assignmentId: string;
|
|
982
1003
|
rating: CallRating;
|
|
1004
|
+
callType: CallType;
|
|
1005
|
+
callDate: string | Date;
|
|
983
1006
|
ratingWeight: number;
|
|
984
|
-
notes: string | null;
|
|
985
|
-
leadId?: string | undefined;
|
|
986
1007
|
agentId?: string | undefined;
|
|
1008
|
+
leadId?: string | undefined;
|
|
987
1009
|
assignment?: {
|
|
988
|
-
id: string;
|
|
989
|
-
leadId: string;
|
|
990
|
-
agentId: string | null;
|
|
991
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
992
1010
|
createdAt: string | Date;
|
|
1011
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1012
|
+
id: string;
|
|
993
1013
|
updatedAt: string | Date;
|
|
1014
|
+
agentId: string | null;
|
|
1015
|
+
companyId: string | null;
|
|
1016
|
+
leadId: string;
|
|
994
1017
|
assignedAt: string | Date;
|
|
995
1018
|
assignedBy: string | null;
|
|
996
|
-
|
|
997
|
-
|
|
1019
|
+
company?: {
|
|
1020
|
+
createdAt: string | Date;
|
|
1021
|
+
id: string;
|
|
1022
|
+
updatedAt: string | Date;
|
|
998
1023
|
name: string;
|
|
999
|
-
|
|
1000
|
-
} | undefined;
|
|
1024
|
+
} | null | undefined;
|
|
1001
1025
|
agent?: {
|
|
1002
|
-
id: string;
|
|
1003
|
-
firstName: string;
|
|
1004
1026
|
lastName: string;
|
|
1027
|
+
firstName: string;
|
|
1005
1028
|
email: string;
|
|
1006
1029
|
phone: string;
|
|
1007
1030
|
createdAt: string | Date;
|
|
1031
|
+
id: string;
|
|
1008
1032
|
updatedAt: string | Date;
|
|
1009
1033
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1034
|
+
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;
|
|
1010
1035
|
} | undefined;
|
|
1011
|
-
|
|
1012
|
-
id: string;
|
|
1036
|
+
lead?: {
|
|
1013
1037
|
name: string;
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
} | null | undefined;
|
|
1038
|
+
phoneNumber: string;
|
|
1039
|
+
} | undefined;
|
|
1017
1040
|
} | null | undefined;
|
|
1018
1041
|
}>;
|
|
1019
1042
|
409: z.ZodObject<{
|
|
@@ -1069,27 +1092,27 @@ export declare const callHistoryContract: {
|
|
|
1069
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1070
1093
|
limit: number;
|
|
1071
1094
|
page: number;
|
|
1095
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1096
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1072
1097
|
assignmentId?: string | undefined;
|
|
1098
|
+
rating?: CallRating | undefined;
|
|
1099
|
+
callType?: CallType | undefined;
|
|
1073
1100
|
callDate?: {
|
|
1074
1101
|
from?: string | null | undefined;
|
|
1075
1102
|
to?: string | null | undefined;
|
|
1076
1103
|
} | null | undefined;
|
|
1077
|
-
|
|
1078
|
-
|
|
1104
|
+
}, {
|
|
1105
|
+
limit?: number | undefined;
|
|
1106
|
+
page?: number | undefined;
|
|
1079
1107
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1080
1108
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1081
|
-
}, {
|
|
1082
1109
|
assignmentId?: string | undefined;
|
|
1110
|
+
rating?: unknown;
|
|
1111
|
+
callType?: CallType | undefined;
|
|
1083
1112
|
callDate?: {
|
|
1084
1113
|
from?: string | null | undefined;
|
|
1085
1114
|
to?: string | null | undefined;
|
|
1086
1115
|
} | null | undefined;
|
|
1087
|
-
callType?: CallType | undefined;
|
|
1088
|
-
rating?: unknown;
|
|
1089
|
-
limit?: number | undefined;
|
|
1090
|
-
page?: number | undefined;
|
|
1091
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1092
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1093
1116
|
}>;
|
|
1094
1117
|
summary: "Get call history records";
|
|
1095
1118
|
method: "GET";
|
|
@@ -1222,26 +1245,29 @@ export declare const callHistoryContract: {
|
|
|
1222
1245
|
email: z.ZodString;
|
|
1223
1246
|
phone: z.ZodString;
|
|
1224
1247
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
1248
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
1225
1249
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1226
1250
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1227
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1228
|
-
id: string;
|
|
1229
|
-
firstName: string;
|
|
1230
1252
|
lastName: string;
|
|
1253
|
+
firstName: string;
|
|
1231
1254
|
email: string;
|
|
1232
1255
|
phone: string;
|
|
1233
1256
|
createdAt: string;
|
|
1257
|
+
id: string;
|
|
1234
1258
|
updatedAt: string;
|
|
1235
1259
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
1236
1261
|
}, {
|
|
1237
|
-
id: string;
|
|
1238
|
-
firstName: string;
|
|
1239
1262
|
lastName: string;
|
|
1263
|
+
firstName: string;
|
|
1240
1264
|
email: string;
|
|
1241
1265
|
phone: string;
|
|
1242
1266
|
createdAt: string | Date;
|
|
1267
|
+
id: string;
|
|
1243
1268
|
updatedAt: string | Date;
|
|
1244
1269
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
1245
1271
|
}>>;
|
|
1246
1272
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1247
1273
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1253,78 +1279,80 @@ export declare const callHistoryContract: {
|
|
|
1253
1279
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1254
1280
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1255
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1256
|
-
id: string;
|
|
1257
|
-
name: string;
|
|
1258
1282
|
createdAt: string;
|
|
1259
|
-
updatedAt: string;
|
|
1260
|
-
}, {
|
|
1261
1283
|
id: string;
|
|
1284
|
+
updatedAt: string;
|
|
1262
1285
|
name: string;
|
|
1286
|
+
}, {
|
|
1263
1287
|
createdAt: string | Date;
|
|
1288
|
+
id: string;
|
|
1264
1289
|
updatedAt: string | Date;
|
|
1290
|
+
name: string;
|
|
1265
1291
|
}>>>;
|
|
1266
1292
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1267
1293
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1268
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1269
|
-
id: string;
|
|
1270
|
-
leadId: string;
|
|
1271
|
-
agentId: string | null;
|
|
1272
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1273
1295
|
createdAt: string;
|
|
1296
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1297
|
+
id: string;
|
|
1274
1298
|
updatedAt: string;
|
|
1299
|
+
agentId: string | null;
|
|
1300
|
+
companyId: string | null;
|
|
1301
|
+
leadId: string;
|
|
1275
1302
|
assignedAt: string;
|
|
1276
1303
|
assignedBy: string | null;
|
|
1277
|
-
|
|
1278
|
-
|
|
1304
|
+
company?: {
|
|
1305
|
+
createdAt: string;
|
|
1306
|
+
id: string;
|
|
1307
|
+
updatedAt: string;
|
|
1279
1308
|
name: string;
|
|
1280
|
-
|
|
1281
|
-
} | undefined;
|
|
1309
|
+
} | null | undefined;
|
|
1282
1310
|
agent?: {
|
|
1283
|
-
id: string;
|
|
1284
|
-
firstName: string;
|
|
1285
1311
|
lastName: string;
|
|
1312
|
+
firstName: string;
|
|
1286
1313
|
email: string;
|
|
1287
1314
|
phone: string;
|
|
1288
1315
|
createdAt: string;
|
|
1316
|
+
id: string;
|
|
1289
1317
|
updatedAt: string;
|
|
1290
1318
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1319
|
+
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;
|
|
1291
1320
|
} | undefined;
|
|
1292
|
-
|
|
1293
|
-
id: string;
|
|
1321
|
+
lead?: {
|
|
1294
1322
|
name: string;
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
} | null | undefined;
|
|
1323
|
+
phoneNumber: string;
|
|
1324
|
+
} | undefined;
|
|
1298
1325
|
}, {
|
|
1299
|
-
id: string;
|
|
1300
|
-
leadId: string;
|
|
1301
|
-
agentId: string | null;
|
|
1302
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1303
1326
|
createdAt: string | Date;
|
|
1327
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1328
|
+
id: string;
|
|
1304
1329
|
updatedAt: string | Date;
|
|
1330
|
+
agentId: string | null;
|
|
1331
|
+
companyId: string | null;
|
|
1332
|
+
leadId: string;
|
|
1305
1333
|
assignedAt: string | Date;
|
|
1306
1334
|
assignedBy: string | null;
|
|
1307
|
-
|
|
1308
|
-
|
|
1335
|
+
company?: {
|
|
1336
|
+
createdAt: string | Date;
|
|
1337
|
+
id: string;
|
|
1338
|
+
updatedAt: string | Date;
|
|
1309
1339
|
name: string;
|
|
1310
|
-
|
|
1311
|
-
} | undefined;
|
|
1340
|
+
} | null | undefined;
|
|
1312
1341
|
agent?: {
|
|
1313
|
-
id: string;
|
|
1314
|
-
firstName: string;
|
|
1315
1342
|
lastName: string;
|
|
1343
|
+
firstName: string;
|
|
1316
1344
|
email: string;
|
|
1317
1345
|
phone: string;
|
|
1318
1346
|
createdAt: string | Date;
|
|
1347
|
+
id: string;
|
|
1319
1348
|
updatedAt: string | Date;
|
|
1320
1349
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1350
|
+
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;
|
|
1321
1351
|
} | undefined;
|
|
1322
|
-
|
|
1323
|
-
id: string;
|
|
1352
|
+
lead?: {
|
|
1324
1353
|
name: string;
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
} | null | undefined;
|
|
1354
|
+
phoneNumber: string;
|
|
1355
|
+
} | undefined;
|
|
1328
1356
|
}>>>;
|
|
1329
1357
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1330
1358
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1334,90 +1362,92 @@ export declare const callHistoryContract: {
|
|
|
1334
1362
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1335
1363
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1336
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1337
|
-
id: string;
|
|
1338
|
-
assignmentId: string;
|
|
1339
1365
|
createdAt: string;
|
|
1366
|
+
id: string;
|
|
1340
1367
|
updatedAt: string;
|
|
1341
|
-
|
|
1342
|
-
|
|
1368
|
+
notes: string | null;
|
|
1369
|
+
assignmentId: string;
|
|
1343
1370
|
rating: CallRating;
|
|
1371
|
+
callType: CallType;
|
|
1372
|
+
callDate: string;
|
|
1344
1373
|
ratingWeight: number;
|
|
1345
|
-
notes: string | null;
|
|
1346
|
-
leadId?: string | undefined;
|
|
1347
1374
|
agentId?: string | undefined;
|
|
1375
|
+
leadId?: string | undefined;
|
|
1348
1376
|
assignment?: {
|
|
1349
|
-
id: string;
|
|
1350
|
-
leadId: string;
|
|
1351
|
-
agentId: string | null;
|
|
1352
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1353
1377
|
createdAt: string;
|
|
1378
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1379
|
+
id: string;
|
|
1354
1380
|
updatedAt: string;
|
|
1381
|
+
agentId: string | null;
|
|
1382
|
+
companyId: string | null;
|
|
1383
|
+
leadId: string;
|
|
1355
1384
|
assignedAt: string;
|
|
1356
1385
|
assignedBy: string | null;
|
|
1357
|
-
|
|
1358
|
-
|
|
1386
|
+
company?: {
|
|
1387
|
+
createdAt: string;
|
|
1388
|
+
id: string;
|
|
1389
|
+
updatedAt: string;
|
|
1359
1390
|
name: string;
|
|
1360
|
-
|
|
1361
|
-
} | undefined;
|
|
1391
|
+
} | null | undefined;
|
|
1362
1392
|
agent?: {
|
|
1363
|
-
id: string;
|
|
1364
|
-
firstName: string;
|
|
1365
1393
|
lastName: string;
|
|
1394
|
+
firstName: string;
|
|
1366
1395
|
email: string;
|
|
1367
1396
|
phone: string;
|
|
1368
1397
|
createdAt: string;
|
|
1398
|
+
id: string;
|
|
1369
1399
|
updatedAt: string;
|
|
1370
1400
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1401
|
+
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;
|
|
1371
1402
|
} | undefined;
|
|
1372
|
-
|
|
1373
|
-
id: string;
|
|
1403
|
+
lead?: {
|
|
1374
1404
|
name: string;
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
} | null | undefined;
|
|
1405
|
+
phoneNumber: string;
|
|
1406
|
+
} | undefined;
|
|
1378
1407
|
} | null | undefined;
|
|
1379
1408
|
}, {
|
|
1380
|
-
id: string;
|
|
1381
|
-
assignmentId: string;
|
|
1382
1409
|
createdAt: string | Date;
|
|
1410
|
+
id: string;
|
|
1383
1411
|
updatedAt: string | Date;
|
|
1384
|
-
|
|
1385
|
-
|
|
1412
|
+
notes: string | null;
|
|
1413
|
+
assignmentId: string;
|
|
1386
1414
|
rating: CallRating;
|
|
1415
|
+
callType: CallType;
|
|
1416
|
+
callDate: string | Date;
|
|
1387
1417
|
ratingWeight: number;
|
|
1388
|
-
notes: string | null;
|
|
1389
|
-
leadId?: string | undefined;
|
|
1390
1418
|
agentId?: string | undefined;
|
|
1419
|
+
leadId?: string | undefined;
|
|
1391
1420
|
assignment?: {
|
|
1392
|
-
id: string;
|
|
1393
|
-
leadId: string;
|
|
1394
|
-
agentId: string | null;
|
|
1395
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1396
1421
|
createdAt: string | Date;
|
|
1422
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1423
|
+
id: string;
|
|
1397
1424
|
updatedAt: string | Date;
|
|
1425
|
+
agentId: string | null;
|
|
1426
|
+
companyId: string | null;
|
|
1427
|
+
leadId: string;
|
|
1398
1428
|
assignedAt: string | Date;
|
|
1399
1429
|
assignedBy: string | null;
|
|
1400
|
-
|
|
1401
|
-
|
|
1430
|
+
company?: {
|
|
1431
|
+
createdAt: string | Date;
|
|
1432
|
+
id: string;
|
|
1433
|
+
updatedAt: string | Date;
|
|
1402
1434
|
name: string;
|
|
1403
|
-
|
|
1404
|
-
} | undefined;
|
|
1435
|
+
} | null | undefined;
|
|
1405
1436
|
agent?: {
|
|
1406
|
-
id: string;
|
|
1407
|
-
firstName: string;
|
|
1408
1437
|
lastName: string;
|
|
1438
|
+
firstName: string;
|
|
1409
1439
|
email: string;
|
|
1410
1440
|
phone: string;
|
|
1411
1441
|
createdAt: string | Date;
|
|
1442
|
+
id: string;
|
|
1412
1443
|
updatedAt: string | Date;
|
|
1413
1444
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1445
|
+
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;
|
|
1414
1446
|
} | undefined;
|
|
1415
|
-
|
|
1416
|
-
id: string;
|
|
1447
|
+
lead?: {
|
|
1417
1448
|
name: string;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
} | null | undefined;
|
|
1449
|
+
phoneNumber: string;
|
|
1450
|
+
} | undefined;
|
|
1421
1451
|
} | null | undefined;
|
|
1422
1452
|
}>, "many">;
|
|
1423
1453
|
totalCount: z.ZodNumber;
|
|
@@ -1426,102 +1456,104 @@ export declare const callHistoryContract: {
|
|
|
1426
1456
|
currentPage: z.ZodNumber;
|
|
1427
1457
|
totalPages: z.ZodNumber;
|
|
1428
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
+
limit: number;
|
|
1429
1460
|
items: {
|
|
1430
|
-
id: string;
|
|
1431
|
-
assignmentId: string;
|
|
1432
1461
|
createdAt: string;
|
|
1462
|
+
id: string;
|
|
1433
1463
|
updatedAt: string;
|
|
1434
|
-
|
|
1435
|
-
|
|
1464
|
+
notes: string | null;
|
|
1465
|
+
assignmentId: string;
|
|
1436
1466
|
rating: CallRating;
|
|
1467
|
+
callType: CallType;
|
|
1468
|
+
callDate: string;
|
|
1437
1469
|
ratingWeight: number;
|
|
1438
|
-
notes: string | null;
|
|
1439
|
-
leadId?: string | undefined;
|
|
1440
1470
|
agentId?: string | undefined;
|
|
1471
|
+
leadId?: string | undefined;
|
|
1441
1472
|
assignment?: {
|
|
1442
|
-
id: string;
|
|
1443
|
-
leadId: string;
|
|
1444
|
-
agentId: string | null;
|
|
1445
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1446
1473
|
createdAt: string;
|
|
1474
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1475
|
+
id: string;
|
|
1447
1476
|
updatedAt: string;
|
|
1477
|
+
agentId: string | null;
|
|
1478
|
+
companyId: string | null;
|
|
1479
|
+
leadId: string;
|
|
1448
1480
|
assignedAt: string;
|
|
1449
1481
|
assignedBy: string | null;
|
|
1450
|
-
|
|
1451
|
-
|
|
1482
|
+
company?: {
|
|
1483
|
+
createdAt: string;
|
|
1484
|
+
id: string;
|
|
1485
|
+
updatedAt: string;
|
|
1452
1486
|
name: string;
|
|
1453
|
-
|
|
1454
|
-
} | undefined;
|
|
1487
|
+
} | null | undefined;
|
|
1455
1488
|
agent?: {
|
|
1456
|
-
id: string;
|
|
1457
|
-
firstName: string;
|
|
1458
1489
|
lastName: string;
|
|
1490
|
+
firstName: string;
|
|
1459
1491
|
email: string;
|
|
1460
1492
|
phone: string;
|
|
1461
1493
|
createdAt: string;
|
|
1494
|
+
id: string;
|
|
1462
1495
|
updatedAt: string;
|
|
1463
1496
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1497
|
+
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;
|
|
1464
1498
|
} | undefined;
|
|
1465
|
-
|
|
1466
|
-
id: string;
|
|
1499
|
+
lead?: {
|
|
1467
1500
|
name: string;
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
} | null | undefined;
|
|
1501
|
+
phoneNumber: string;
|
|
1502
|
+
} | undefined;
|
|
1471
1503
|
} | null | undefined;
|
|
1472
1504
|
}[];
|
|
1473
1505
|
totalCount: number;
|
|
1474
|
-
limit: number;
|
|
1475
1506
|
skip: number;
|
|
1476
1507
|
currentPage: number;
|
|
1477
1508
|
totalPages: number;
|
|
1478
1509
|
}, {
|
|
1510
|
+
limit: number;
|
|
1479
1511
|
items: {
|
|
1480
|
-
id: string;
|
|
1481
|
-
assignmentId: string;
|
|
1482
1512
|
createdAt: string | Date;
|
|
1513
|
+
id: string;
|
|
1483
1514
|
updatedAt: string | Date;
|
|
1484
|
-
|
|
1485
|
-
|
|
1515
|
+
notes: string | null;
|
|
1516
|
+
assignmentId: string;
|
|
1486
1517
|
rating: CallRating;
|
|
1518
|
+
callType: CallType;
|
|
1519
|
+
callDate: string | Date;
|
|
1487
1520
|
ratingWeight: number;
|
|
1488
|
-
notes: string | null;
|
|
1489
|
-
leadId?: string | undefined;
|
|
1490
1521
|
agentId?: string | undefined;
|
|
1522
|
+
leadId?: string | undefined;
|
|
1491
1523
|
assignment?: {
|
|
1492
|
-
id: string;
|
|
1493
|
-
leadId: string;
|
|
1494
|
-
agentId: string | null;
|
|
1495
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1496
1524
|
createdAt: string | Date;
|
|
1525
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1526
|
+
id: string;
|
|
1497
1527
|
updatedAt: string | Date;
|
|
1528
|
+
agentId: string | null;
|
|
1529
|
+
companyId: string | null;
|
|
1530
|
+
leadId: string;
|
|
1498
1531
|
assignedAt: string | Date;
|
|
1499
1532
|
assignedBy: string | null;
|
|
1500
|
-
|
|
1501
|
-
|
|
1533
|
+
company?: {
|
|
1534
|
+
createdAt: string | Date;
|
|
1535
|
+
id: string;
|
|
1536
|
+
updatedAt: string | Date;
|
|
1502
1537
|
name: string;
|
|
1503
|
-
|
|
1504
|
-
} | undefined;
|
|
1538
|
+
} | null | undefined;
|
|
1505
1539
|
agent?: {
|
|
1506
|
-
id: string;
|
|
1507
|
-
firstName: string;
|
|
1508
1540
|
lastName: string;
|
|
1541
|
+
firstName: string;
|
|
1509
1542
|
email: string;
|
|
1510
1543
|
phone: string;
|
|
1511
1544
|
createdAt: string | Date;
|
|
1545
|
+
id: string;
|
|
1512
1546
|
updatedAt: string | Date;
|
|
1513
1547
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1548
|
+
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;
|
|
1514
1549
|
} | undefined;
|
|
1515
|
-
|
|
1516
|
-
id: string;
|
|
1550
|
+
lead?: {
|
|
1517
1551
|
name: string;
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
} | null | undefined;
|
|
1552
|
+
phoneNumber: string;
|
|
1553
|
+
} | undefined;
|
|
1521
1554
|
} | null | undefined;
|
|
1522
1555
|
}[];
|
|
1523
1556
|
totalCount: number;
|
|
1524
|
-
limit: number;
|
|
1525
1557
|
skip: number;
|
|
1526
1558
|
currentPage: number;
|
|
1527
1559
|
totalPages: number;
|
|
@@ -1669,26 +1701,29 @@ export declare const callHistoryContract: {
|
|
|
1669
1701
|
email: z.ZodString;
|
|
1670
1702
|
phone: z.ZodString;
|
|
1671
1703
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
1704
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
1672
1705
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1673
1706
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1674
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1675
|
-
id: string;
|
|
1676
|
-
firstName: string;
|
|
1677
1708
|
lastName: string;
|
|
1709
|
+
firstName: string;
|
|
1678
1710
|
email: string;
|
|
1679
1711
|
phone: string;
|
|
1680
1712
|
createdAt: string;
|
|
1713
|
+
id: string;
|
|
1681
1714
|
updatedAt: string;
|
|
1682
1715
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
1683
1717
|
}, {
|
|
1684
|
-
id: string;
|
|
1685
|
-
firstName: string;
|
|
1686
1718
|
lastName: string;
|
|
1719
|
+
firstName: string;
|
|
1687
1720
|
email: string;
|
|
1688
1721
|
phone: string;
|
|
1689
1722
|
createdAt: string | Date;
|
|
1723
|
+
id: string;
|
|
1690
1724
|
updatedAt: string | Date;
|
|
1691
1725
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
1692
1727
|
}>>;
|
|
1693
1728
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1694
1729
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1700,78 +1735,80 @@ export declare const callHistoryContract: {
|
|
|
1700
1735
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1701
1736
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1702
1737
|
}, "strip", z.ZodTypeAny, {
|
|
1703
|
-
id: string;
|
|
1704
|
-
name: string;
|
|
1705
1738
|
createdAt: string;
|
|
1706
|
-
updatedAt: string;
|
|
1707
|
-
}, {
|
|
1708
1739
|
id: string;
|
|
1740
|
+
updatedAt: string;
|
|
1709
1741
|
name: string;
|
|
1742
|
+
}, {
|
|
1710
1743
|
createdAt: string | Date;
|
|
1744
|
+
id: string;
|
|
1711
1745
|
updatedAt: string | Date;
|
|
1746
|
+
name: string;
|
|
1712
1747
|
}>>>;
|
|
1713
1748
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1714
1749
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1715
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1716
|
-
id: string;
|
|
1717
|
-
leadId: string;
|
|
1718
|
-
agentId: string | null;
|
|
1719
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1720
1751
|
createdAt: string;
|
|
1752
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1753
|
+
id: string;
|
|
1721
1754
|
updatedAt: string;
|
|
1755
|
+
agentId: string | null;
|
|
1756
|
+
companyId: string | null;
|
|
1757
|
+
leadId: string;
|
|
1722
1758
|
assignedAt: string;
|
|
1723
1759
|
assignedBy: string | null;
|
|
1724
|
-
|
|
1725
|
-
|
|
1760
|
+
company?: {
|
|
1761
|
+
createdAt: string;
|
|
1762
|
+
id: string;
|
|
1763
|
+
updatedAt: string;
|
|
1726
1764
|
name: string;
|
|
1727
|
-
|
|
1728
|
-
} | undefined;
|
|
1765
|
+
} | null | undefined;
|
|
1729
1766
|
agent?: {
|
|
1730
|
-
id: string;
|
|
1731
|
-
firstName: string;
|
|
1732
1767
|
lastName: string;
|
|
1768
|
+
firstName: string;
|
|
1733
1769
|
email: string;
|
|
1734
1770
|
phone: string;
|
|
1735
1771
|
createdAt: string;
|
|
1772
|
+
id: string;
|
|
1736
1773
|
updatedAt: string;
|
|
1737
1774
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1775
|
+
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;
|
|
1738
1776
|
} | undefined;
|
|
1739
|
-
|
|
1740
|
-
id: string;
|
|
1777
|
+
lead?: {
|
|
1741
1778
|
name: string;
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
} | null | undefined;
|
|
1779
|
+
phoneNumber: string;
|
|
1780
|
+
} | undefined;
|
|
1745
1781
|
}, {
|
|
1746
|
-
id: string;
|
|
1747
|
-
leadId: string;
|
|
1748
|
-
agentId: string | null;
|
|
1749
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1750
1782
|
createdAt: string | Date;
|
|
1783
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1784
|
+
id: string;
|
|
1751
1785
|
updatedAt: string | Date;
|
|
1786
|
+
agentId: string | null;
|
|
1787
|
+
companyId: string | null;
|
|
1788
|
+
leadId: string;
|
|
1752
1789
|
assignedAt: string | Date;
|
|
1753
1790
|
assignedBy: string | null;
|
|
1754
|
-
|
|
1755
|
-
|
|
1791
|
+
company?: {
|
|
1792
|
+
createdAt: string | Date;
|
|
1793
|
+
id: string;
|
|
1794
|
+
updatedAt: string | Date;
|
|
1756
1795
|
name: string;
|
|
1757
|
-
|
|
1758
|
-
} | undefined;
|
|
1796
|
+
} | null | undefined;
|
|
1759
1797
|
agent?: {
|
|
1760
|
-
id: string;
|
|
1761
|
-
firstName: string;
|
|
1762
1798
|
lastName: string;
|
|
1799
|
+
firstName: string;
|
|
1763
1800
|
email: string;
|
|
1764
1801
|
phone: string;
|
|
1765
1802
|
createdAt: string | Date;
|
|
1803
|
+
id: string;
|
|
1766
1804
|
updatedAt: string | Date;
|
|
1767
1805
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1806
|
+
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
|
+
} | undefined;
|
|
1808
|
+
lead?: {
|
|
1809
|
+
name: string;
|
|
1810
|
+
phoneNumber: string;
|
|
1768
1811
|
} | undefined;
|
|
1769
|
-
company?: {
|
|
1770
|
-
id: string;
|
|
1771
|
-
name: string;
|
|
1772
|
-
createdAt: string | Date;
|
|
1773
|
-
updatedAt: string | Date;
|
|
1774
|
-
} | null | undefined;
|
|
1775
1812
|
}>>>;
|
|
1776
1813
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1777
1814
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1781,90 +1818,92 @@ export declare const callHistoryContract: {
|
|
|
1781
1818
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1782
1819
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1783
1820
|
}, "strip", z.ZodTypeAny, {
|
|
1784
|
-
id: string;
|
|
1785
|
-
assignmentId: string;
|
|
1786
1821
|
createdAt: string;
|
|
1822
|
+
id: string;
|
|
1787
1823
|
updatedAt: string;
|
|
1788
|
-
|
|
1789
|
-
|
|
1824
|
+
notes: string | null;
|
|
1825
|
+
assignmentId: string;
|
|
1790
1826
|
rating: CallRating;
|
|
1827
|
+
callType: CallType;
|
|
1828
|
+
callDate: string;
|
|
1791
1829
|
ratingWeight: number;
|
|
1792
|
-
notes: string | null;
|
|
1793
|
-
leadId?: string | undefined;
|
|
1794
1830
|
agentId?: string | undefined;
|
|
1831
|
+
leadId?: string | undefined;
|
|
1795
1832
|
assignment?: {
|
|
1796
|
-
id: string;
|
|
1797
|
-
leadId: string;
|
|
1798
|
-
agentId: string | null;
|
|
1799
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1800
1833
|
createdAt: string;
|
|
1834
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1835
|
+
id: string;
|
|
1801
1836
|
updatedAt: string;
|
|
1837
|
+
agentId: string | null;
|
|
1838
|
+
companyId: string | null;
|
|
1839
|
+
leadId: string;
|
|
1802
1840
|
assignedAt: string;
|
|
1803
1841
|
assignedBy: string | null;
|
|
1804
|
-
|
|
1805
|
-
|
|
1842
|
+
company?: {
|
|
1843
|
+
createdAt: string;
|
|
1844
|
+
id: string;
|
|
1845
|
+
updatedAt: string;
|
|
1806
1846
|
name: string;
|
|
1807
|
-
|
|
1808
|
-
} | undefined;
|
|
1847
|
+
} | null | undefined;
|
|
1809
1848
|
agent?: {
|
|
1810
|
-
id: string;
|
|
1811
|
-
firstName: string;
|
|
1812
1849
|
lastName: string;
|
|
1850
|
+
firstName: string;
|
|
1813
1851
|
email: string;
|
|
1814
1852
|
phone: string;
|
|
1815
1853
|
createdAt: string;
|
|
1854
|
+
id: string;
|
|
1816
1855
|
updatedAt: string;
|
|
1817
1856
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1857
|
+
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;
|
|
1818
1858
|
} | undefined;
|
|
1819
|
-
|
|
1820
|
-
id: string;
|
|
1859
|
+
lead?: {
|
|
1821
1860
|
name: string;
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
} | null | undefined;
|
|
1861
|
+
phoneNumber: string;
|
|
1862
|
+
} | undefined;
|
|
1825
1863
|
} | null | undefined;
|
|
1826
1864
|
}, {
|
|
1827
|
-
id: string;
|
|
1828
|
-
assignmentId: string;
|
|
1829
1865
|
createdAt: string | Date;
|
|
1866
|
+
id: string;
|
|
1830
1867
|
updatedAt: string | Date;
|
|
1831
|
-
|
|
1832
|
-
|
|
1868
|
+
notes: string | null;
|
|
1869
|
+
assignmentId: string;
|
|
1833
1870
|
rating: CallRating;
|
|
1871
|
+
callType: CallType;
|
|
1872
|
+
callDate: string | Date;
|
|
1834
1873
|
ratingWeight: number;
|
|
1835
|
-
notes: string | null;
|
|
1836
|
-
leadId?: string | undefined;
|
|
1837
1874
|
agentId?: string | undefined;
|
|
1875
|
+
leadId?: string | undefined;
|
|
1838
1876
|
assignment?: {
|
|
1839
|
-
id: string;
|
|
1840
|
-
leadId: string;
|
|
1841
|
-
agentId: string | null;
|
|
1842
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1843
1877
|
createdAt: string | Date;
|
|
1878
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1879
|
+
id: string;
|
|
1844
1880
|
updatedAt: string | Date;
|
|
1881
|
+
agentId: string | null;
|
|
1882
|
+
companyId: string | null;
|
|
1883
|
+
leadId: string;
|
|
1845
1884
|
assignedAt: string | Date;
|
|
1846
1885
|
assignedBy: string | null;
|
|
1847
|
-
|
|
1848
|
-
|
|
1886
|
+
company?: {
|
|
1887
|
+
createdAt: string | Date;
|
|
1888
|
+
id: string;
|
|
1889
|
+
updatedAt: string | Date;
|
|
1849
1890
|
name: string;
|
|
1850
|
-
|
|
1851
|
-
} | undefined;
|
|
1891
|
+
} | null | undefined;
|
|
1852
1892
|
agent?: {
|
|
1853
|
-
id: string;
|
|
1854
|
-
firstName: string;
|
|
1855
1893
|
lastName: string;
|
|
1894
|
+
firstName: string;
|
|
1856
1895
|
email: string;
|
|
1857
1896
|
phone: string;
|
|
1858
1897
|
createdAt: string | Date;
|
|
1898
|
+
id: string;
|
|
1859
1899
|
updatedAt: string | Date;
|
|
1860
1900
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1901
|
+
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;
|
|
1861
1902
|
} | undefined;
|
|
1862
|
-
|
|
1863
|
-
id: string;
|
|
1903
|
+
lead?: {
|
|
1864
1904
|
name: string;
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
} | null | undefined;
|
|
1905
|
+
phoneNumber: string;
|
|
1906
|
+
} | undefined;
|
|
1868
1907
|
} | null | undefined;
|
|
1869
1908
|
}>;
|
|
1870
1909
|
404: z.ZodObject<{
|
|
@@ -1912,13 +1951,13 @@ export declare const callHistoryContract: {
|
|
|
1912
1951
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
1913
1952
|
notes: z.ZodOptional<z.ZodString>;
|
|
1914
1953
|
}, "strip", z.ZodTypeAny, {
|
|
1915
|
-
callDate?: string | undefined;
|
|
1916
|
-
rating?: CallRating | undefined;
|
|
1917
1954
|
notes?: string | undefined;
|
|
1918
|
-
}, {
|
|
1919
|
-
callDate?: string | undefined;
|
|
1920
1955
|
rating?: CallRating | undefined;
|
|
1956
|
+
callDate?: string | undefined;
|
|
1957
|
+
}, {
|
|
1921
1958
|
notes?: string | undefined;
|
|
1959
|
+
rating?: CallRating | undefined;
|
|
1960
|
+
callDate?: string | undefined;
|
|
1922
1961
|
}>;
|
|
1923
1962
|
path: "/v2/call-history/:id";
|
|
1924
1963
|
responses: {
|
|
@@ -2048,26 +2087,29 @@ export declare const callHistoryContract: {
|
|
|
2048
2087
|
email: z.ZodString;
|
|
2049
2088
|
phone: z.ZodString;
|
|
2050
2089
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
2090
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
2051
2091
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2052
2092
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2053
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2054
|
-
id: string;
|
|
2055
|
-
firstName: string;
|
|
2056
2094
|
lastName: string;
|
|
2095
|
+
firstName: string;
|
|
2057
2096
|
email: string;
|
|
2058
2097
|
phone: string;
|
|
2059
2098
|
createdAt: string;
|
|
2099
|
+
id: string;
|
|
2060
2100
|
updatedAt: string;
|
|
2061
2101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
2062
2103
|
}, {
|
|
2063
|
-
id: string;
|
|
2064
|
-
firstName: string;
|
|
2065
2104
|
lastName: string;
|
|
2105
|
+
firstName: string;
|
|
2066
2106
|
email: string;
|
|
2067
2107
|
phone: string;
|
|
2068
2108
|
createdAt: string | Date;
|
|
2109
|
+
id: string;
|
|
2069
2110
|
updatedAt: string | Date;
|
|
2070
2111
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
2071
2113
|
}>>;
|
|
2072
2114
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2073
2115
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -2079,78 +2121,80 @@ export declare const callHistoryContract: {
|
|
|
2079
2121
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2080
2122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2081
2123
|
}, "strip", z.ZodTypeAny, {
|
|
2082
|
-
id: string;
|
|
2083
|
-
name: string;
|
|
2084
2124
|
createdAt: string;
|
|
2085
|
-
updatedAt: string;
|
|
2086
|
-
}, {
|
|
2087
2125
|
id: string;
|
|
2126
|
+
updatedAt: string;
|
|
2088
2127
|
name: string;
|
|
2128
|
+
}, {
|
|
2089
2129
|
createdAt: string | Date;
|
|
2130
|
+
id: string;
|
|
2090
2131
|
updatedAt: string | Date;
|
|
2132
|
+
name: string;
|
|
2091
2133
|
}>>>;
|
|
2092
2134
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2093
2135
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2094
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2095
|
-
id: string;
|
|
2096
|
-
leadId: string;
|
|
2097
|
-
agentId: string | null;
|
|
2098
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2099
2137
|
createdAt: string;
|
|
2138
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2139
|
+
id: string;
|
|
2100
2140
|
updatedAt: string;
|
|
2141
|
+
agentId: string | null;
|
|
2142
|
+
companyId: string | null;
|
|
2143
|
+
leadId: string;
|
|
2101
2144
|
assignedAt: string;
|
|
2102
2145
|
assignedBy: string | null;
|
|
2103
|
-
|
|
2104
|
-
|
|
2146
|
+
company?: {
|
|
2147
|
+
createdAt: string;
|
|
2148
|
+
id: string;
|
|
2149
|
+
updatedAt: string;
|
|
2105
2150
|
name: string;
|
|
2106
|
-
|
|
2107
|
-
} | undefined;
|
|
2151
|
+
} | null | undefined;
|
|
2108
2152
|
agent?: {
|
|
2109
|
-
id: string;
|
|
2110
|
-
firstName: string;
|
|
2111
2153
|
lastName: string;
|
|
2154
|
+
firstName: string;
|
|
2112
2155
|
email: string;
|
|
2113
2156
|
phone: string;
|
|
2114
2157
|
createdAt: string;
|
|
2158
|
+
id: string;
|
|
2115
2159
|
updatedAt: string;
|
|
2116
2160
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2161
|
+
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;
|
|
2117
2162
|
} | undefined;
|
|
2118
|
-
|
|
2119
|
-
id: string;
|
|
2163
|
+
lead?: {
|
|
2120
2164
|
name: string;
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
} | null | undefined;
|
|
2165
|
+
phoneNumber: string;
|
|
2166
|
+
} | undefined;
|
|
2124
2167
|
}, {
|
|
2125
|
-
id: string;
|
|
2126
|
-
leadId: string;
|
|
2127
|
-
agentId: string | null;
|
|
2128
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2129
2168
|
createdAt: string | Date;
|
|
2169
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2170
|
+
id: string;
|
|
2130
2171
|
updatedAt: string | Date;
|
|
2172
|
+
agentId: string | null;
|
|
2173
|
+
companyId: string | null;
|
|
2174
|
+
leadId: string;
|
|
2131
2175
|
assignedAt: string | Date;
|
|
2132
2176
|
assignedBy: string | null;
|
|
2133
|
-
|
|
2134
|
-
|
|
2177
|
+
company?: {
|
|
2178
|
+
createdAt: string | Date;
|
|
2179
|
+
id: string;
|
|
2180
|
+
updatedAt: string | Date;
|
|
2135
2181
|
name: string;
|
|
2136
|
-
|
|
2137
|
-
} | undefined;
|
|
2182
|
+
} | null | undefined;
|
|
2138
2183
|
agent?: {
|
|
2139
|
-
id: string;
|
|
2140
|
-
firstName: string;
|
|
2141
2184
|
lastName: string;
|
|
2185
|
+
firstName: string;
|
|
2142
2186
|
email: string;
|
|
2143
2187
|
phone: string;
|
|
2144
2188
|
createdAt: string | Date;
|
|
2189
|
+
id: string;
|
|
2145
2190
|
updatedAt: string | Date;
|
|
2146
2191
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2192
|
+
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;
|
|
2147
2193
|
} | undefined;
|
|
2148
|
-
|
|
2149
|
-
id: string;
|
|
2194
|
+
lead?: {
|
|
2150
2195
|
name: string;
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
} | null | undefined;
|
|
2196
|
+
phoneNumber: string;
|
|
2197
|
+
} | undefined;
|
|
2154
2198
|
}>>>;
|
|
2155
2199
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2156
2200
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2160,90 +2204,92 @@ export declare const callHistoryContract: {
|
|
|
2160
2204
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2161
2205
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2162
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2163
|
-
id: string;
|
|
2164
|
-
assignmentId: string;
|
|
2165
2207
|
createdAt: string;
|
|
2208
|
+
id: string;
|
|
2166
2209
|
updatedAt: string;
|
|
2167
|
-
|
|
2168
|
-
|
|
2210
|
+
notes: string | null;
|
|
2211
|
+
assignmentId: string;
|
|
2169
2212
|
rating: CallRating;
|
|
2213
|
+
callType: CallType;
|
|
2214
|
+
callDate: string;
|
|
2170
2215
|
ratingWeight: number;
|
|
2171
|
-
notes: string | null;
|
|
2172
|
-
leadId?: string | undefined;
|
|
2173
2216
|
agentId?: string | undefined;
|
|
2217
|
+
leadId?: string | undefined;
|
|
2174
2218
|
assignment?: {
|
|
2175
|
-
id: string;
|
|
2176
|
-
leadId: string;
|
|
2177
|
-
agentId: string | null;
|
|
2178
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2179
2219
|
createdAt: string;
|
|
2220
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2221
|
+
id: string;
|
|
2180
2222
|
updatedAt: string;
|
|
2223
|
+
agentId: string | null;
|
|
2224
|
+
companyId: string | null;
|
|
2225
|
+
leadId: string;
|
|
2181
2226
|
assignedAt: string;
|
|
2182
2227
|
assignedBy: string | null;
|
|
2183
|
-
|
|
2184
|
-
|
|
2228
|
+
company?: {
|
|
2229
|
+
createdAt: string;
|
|
2230
|
+
id: string;
|
|
2231
|
+
updatedAt: string;
|
|
2185
2232
|
name: string;
|
|
2186
|
-
|
|
2187
|
-
} | undefined;
|
|
2233
|
+
} | null | undefined;
|
|
2188
2234
|
agent?: {
|
|
2189
|
-
id: string;
|
|
2190
|
-
firstName: string;
|
|
2191
2235
|
lastName: string;
|
|
2236
|
+
firstName: string;
|
|
2192
2237
|
email: string;
|
|
2193
2238
|
phone: string;
|
|
2194
2239
|
createdAt: string;
|
|
2240
|
+
id: string;
|
|
2195
2241
|
updatedAt: string;
|
|
2196
2242
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2243
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2197
2244
|
} | undefined;
|
|
2198
|
-
|
|
2199
|
-
id: string;
|
|
2245
|
+
lead?: {
|
|
2200
2246
|
name: string;
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
} | null | undefined;
|
|
2247
|
+
phoneNumber: string;
|
|
2248
|
+
} | undefined;
|
|
2204
2249
|
} | null | undefined;
|
|
2205
2250
|
}, {
|
|
2206
|
-
id: string;
|
|
2207
|
-
assignmentId: string;
|
|
2208
2251
|
createdAt: string | Date;
|
|
2252
|
+
id: string;
|
|
2209
2253
|
updatedAt: string | Date;
|
|
2210
|
-
|
|
2211
|
-
|
|
2254
|
+
notes: string | null;
|
|
2255
|
+
assignmentId: string;
|
|
2212
2256
|
rating: CallRating;
|
|
2257
|
+
callType: CallType;
|
|
2258
|
+
callDate: string | Date;
|
|
2213
2259
|
ratingWeight: number;
|
|
2214
|
-
notes: string | null;
|
|
2215
|
-
leadId?: string | undefined;
|
|
2216
2260
|
agentId?: string | undefined;
|
|
2261
|
+
leadId?: string | undefined;
|
|
2217
2262
|
assignment?: {
|
|
2218
|
-
id: string;
|
|
2219
|
-
leadId: string;
|
|
2220
|
-
agentId: string | null;
|
|
2221
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2222
2263
|
createdAt: string | Date;
|
|
2264
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2265
|
+
id: string;
|
|
2223
2266
|
updatedAt: string | Date;
|
|
2267
|
+
agentId: string | null;
|
|
2268
|
+
companyId: string | null;
|
|
2269
|
+
leadId: string;
|
|
2224
2270
|
assignedAt: string | Date;
|
|
2225
2271
|
assignedBy: string | null;
|
|
2226
|
-
|
|
2227
|
-
|
|
2272
|
+
company?: {
|
|
2273
|
+
createdAt: string | Date;
|
|
2274
|
+
id: string;
|
|
2275
|
+
updatedAt: string | Date;
|
|
2228
2276
|
name: string;
|
|
2229
|
-
|
|
2230
|
-
} | undefined;
|
|
2277
|
+
} | null | undefined;
|
|
2231
2278
|
agent?: {
|
|
2232
|
-
id: string;
|
|
2233
|
-
firstName: string;
|
|
2234
2279
|
lastName: string;
|
|
2280
|
+
firstName: string;
|
|
2235
2281
|
email: string;
|
|
2236
2282
|
phone: string;
|
|
2237
2283
|
createdAt: string | Date;
|
|
2284
|
+
id: string;
|
|
2238
2285
|
updatedAt: string | Date;
|
|
2239
2286
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
2287
|
+
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;
|
|
2240
2288
|
} | undefined;
|
|
2241
|
-
|
|
2242
|
-
id: string;
|
|
2289
|
+
lead?: {
|
|
2243
2290
|
name: string;
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
} | null | undefined;
|
|
2291
|
+
phoneNumber: string;
|
|
2292
|
+
} | undefined;
|
|
2247
2293
|
} | null | undefined;
|
|
2248
2294
|
}>;
|
|
2249
2295
|
404: z.ZodObject<{
|