@dakkitor/api-contracts 1.1.106 → 1.1.108
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 +6880 -5360
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +871 -481
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +131 -31
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +25019 -19099
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +861 -541
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1834 -1194
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1687 -1052
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +4321 -3221
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -434
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +359 -199
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +117 -117
- package/dist/users/users.contract.d.ts +597 -173
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +45 -8
- package/dist/workers/workers.contract.d.ts +498 -268
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
phoneNumber: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
name: string;
|
|
36
35
|
phoneNumber: string;
|
|
37
|
-
}, {
|
|
38
36
|
name: string;
|
|
37
|
+
}, {
|
|
39
38
|
phoneNumber: string;
|
|
39
|
+
name: string;
|
|
40
40
|
}>>;
|
|
41
41
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -44,29 +44,54 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
44
44
|
firstName: z.ZodString;
|
|
45
45
|
lastName: z.ZodString;
|
|
46
46
|
email: z.ZodString;
|
|
47
|
-
|
|
47
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
phoneNumber: z.ZodString;
|
|
50
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
id: string;
|
|
54
|
+
phoneNumber: string;
|
|
55
|
+
isPrimary: boolean;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
id: string;
|
|
59
|
+
phoneNumber: string;
|
|
60
|
+
description?: string | null | undefined;
|
|
61
|
+
isPrimary?: boolean | undefined;
|
|
62
|
+
}>, "many">>>;
|
|
48
63
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
49
64
|
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"]>>>;
|
|
50
65
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
51
66
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
52
67
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
lastName: string;
|
|
54
|
-
firstName: string;
|
|
55
|
-
email: string;
|
|
56
|
-
phone: string;
|
|
57
|
-
createdAt: string;
|
|
58
68
|
id: string;
|
|
69
|
+
createdAt: string;
|
|
59
70
|
updatedAt: string;
|
|
71
|
+
firstName: string;
|
|
72
|
+
lastName: string;
|
|
73
|
+
email: string;
|
|
74
|
+
phoneNumbers: {
|
|
75
|
+
id: string;
|
|
76
|
+
phoneNumber: string;
|
|
77
|
+
isPrimary: boolean;
|
|
78
|
+
description?: string | null | undefined;
|
|
79
|
+
}[];
|
|
60
80
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
61
81
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
62
82
|
}, {
|
|
63
|
-
lastName: string;
|
|
64
|
-
firstName: string;
|
|
65
|
-
email: string;
|
|
66
|
-
phone: string;
|
|
67
|
-
createdAt: string | Date;
|
|
68
83
|
id: string;
|
|
84
|
+
createdAt: string | Date;
|
|
69
85
|
updatedAt: string | Date;
|
|
86
|
+
firstName: string;
|
|
87
|
+
lastName: string;
|
|
88
|
+
email: string;
|
|
89
|
+
phoneNumbers?: {
|
|
90
|
+
id: string;
|
|
91
|
+
phoneNumber: string;
|
|
92
|
+
description?: string | null | undefined;
|
|
93
|
+
isPrimary?: boolean | undefined;
|
|
94
|
+
}[] | undefined;
|
|
70
95
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
71
96
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
72
97
|
}>>;
|
|
@@ -80,80 +105,90 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
80
105
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
106
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
107
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
createdAt: string;
|
|
84
108
|
id: string;
|
|
109
|
+
createdAt: string;
|
|
85
110
|
updatedAt: string;
|
|
86
111
|
name: string;
|
|
87
112
|
}, {
|
|
88
|
-
createdAt: string | Date;
|
|
89
113
|
id: string;
|
|
114
|
+
createdAt: string | Date;
|
|
90
115
|
updatedAt: string | Date;
|
|
91
116
|
name: string;
|
|
92
117
|
}>>>;
|
|
93
118
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
94
119
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
95
120
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
createdAt: string;
|
|
97
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
98
121
|
id: string;
|
|
122
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
123
|
+
createdAt: string;
|
|
99
124
|
updatedAt: string;
|
|
125
|
+
leadId: string;
|
|
100
126
|
agentId: string | null;
|
|
101
127
|
companyId: string | null;
|
|
102
|
-
leadId: string;
|
|
103
128
|
assignedAt: string;
|
|
104
129
|
assignedBy: string | null;
|
|
105
130
|
company?: {
|
|
106
|
-
createdAt: string;
|
|
107
131
|
id: string;
|
|
132
|
+
createdAt: string;
|
|
108
133
|
updatedAt: string;
|
|
109
134
|
name: string;
|
|
110
135
|
} | null | undefined;
|
|
136
|
+
lead?: {
|
|
137
|
+
phoneNumber: string;
|
|
138
|
+
name: string;
|
|
139
|
+
} | undefined;
|
|
111
140
|
agent?: {
|
|
112
|
-
lastName: string;
|
|
113
|
-
firstName: string;
|
|
114
|
-
email: string;
|
|
115
|
-
phone: string;
|
|
116
|
-
createdAt: string;
|
|
117
141
|
id: string;
|
|
142
|
+
createdAt: string;
|
|
118
143
|
updatedAt: string;
|
|
144
|
+
firstName: string;
|
|
145
|
+
lastName: string;
|
|
146
|
+
email: string;
|
|
147
|
+
phoneNumbers: {
|
|
148
|
+
id: string;
|
|
149
|
+
phoneNumber: string;
|
|
150
|
+
isPrimary: boolean;
|
|
151
|
+
description?: string | null | undefined;
|
|
152
|
+
}[];
|
|
119
153
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
120
154
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
121
155
|
} | undefined;
|
|
122
|
-
lead?: {
|
|
123
|
-
name: string;
|
|
124
|
-
phoneNumber: string;
|
|
125
|
-
} | undefined;
|
|
126
156
|
}, {
|
|
127
|
-
createdAt: string | Date;
|
|
128
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
129
157
|
id: string;
|
|
158
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
159
|
+
createdAt: string | Date;
|
|
130
160
|
updatedAt: string | Date;
|
|
161
|
+
leadId: string;
|
|
131
162
|
agentId: string | null;
|
|
132
163
|
companyId: string | null;
|
|
133
|
-
leadId: string;
|
|
134
164
|
assignedAt: string | Date;
|
|
135
165
|
assignedBy: string | null;
|
|
136
166
|
company?: {
|
|
137
|
-
createdAt: string | Date;
|
|
138
167
|
id: string;
|
|
168
|
+
createdAt: string | Date;
|
|
139
169
|
updatedAt: string | Date;
|
|
140
170
|
name: string;
|
|
141
171
|
} | null | undefined;
|
|
172
|
+
lead?: {
|
|
173
|
+
phoneNumber: string;
|
|
174
|
+
name: string;
|
|
175
|
+
} | undefined;
|
|
142
176
|
agent?: {
|
|
143
|
-
lastName: string;
|
|
144
|
-
firstName: string;
|
|
145
|
-
email: string;
|
|
146
|
-
phone: string;
|
|
147
|
-
createdAt: string | Date;
|
|
148
177
|
id: string;
|
|
178
|
+
createdAt: string | Date;
|
|
149
179
|
updatedAt: string | Date;
|
|
180
|
+
firstName: string;
|
|
181
|
+
lastName: string;
|
|
182
|
+
email: string;
|
|
183
|
+
phoneNumbers?: {
|
|
184
|
+
id: string;
|
|
185
|
+
phoneNumber: string;
|
|
186
|
+
description?: string | null | undefined;
|
|
187
|
+
isPrimary?: boolean | undefined;
|
|
188
|
+
}[] | undefined;
|
|
150
189
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
151
190
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
152
191
|
} | undefined;
|
|
153
|
-
lead?: {
|
|
154
|
-
name: string;
|
|
155
|
-
phoneNumber: string;
|
|
156
|
-
} | undefined;
|
|
157
192
|
}>>>;
|
|
158
193
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
159
194
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -163,92 +198,102 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
163
198
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
164
199
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
165
200
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
createdAt: string;
|
|
167
201
|
id: string;
|
|
202
|
+
createdAt: string;
|
|
168
203
|
updatedAt: string;
|
|
169
|
-
rating: CallRating;
|
|
170
|
-
notes: string | null;
|
|
171
204
|
assignmentId: string;
|
|
172
205
|
callDate: string;
|
|
173
206
|
callType: CallType;
|
|
207
|
+
rating: CallRating;
|
|
174
208
|
ratingWeight: number;
|
|
175
|
-
|
|
209
|
+
notes: string | null;
|
|
176
210
|
leadId?: string | undefined;
|
|
211
|
+
agentId?: string | undefined;
|
|
177
212
|
assignment?: {
|
|
178
|
-
createdAt: string;
|
|
179
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
180
213
|
id: string;
|
|
214
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
215
|
+
createdAt: string;
|
|
181
216
|
updatedAt: string;
|
|
217
|
+
leadId: string;
|
|
182
218
|
agentId: string | null;
|
|
183
219
|
companyId: string | null;
|
|
184
|
-
leadId: string;
|
|
185
220
|
assignedAt: string;
|
|
186
221
|
assignedBy: string | null;
|
|
187
222
|
company?: {
|
|
188
|
-
createdAt: string;
|
|
189
223
|
id: string;
|
|
224
|
+
createdAt: string;
|
|
190
225
|
updatedAt: string;
|
|
191
226
|
name: string;
|
|
192
227
|
} | null | undefined;
|
|
228
|
+
lead?: {
|
|
229
|
+
phoneNumber: string;
|
|
230
|
+
name: string;
|
|
231
|
+
} | undefined;
|
|
193
232
|
agent?: {
|
|
194
|
-
lastName: string;
|
|
195
|
-
firstName: string;
|
|
196
|
-
email: string;
|
|
197
|
-
phone: string;
|
|
198
|
-
createdAt: string;
|
|
199
233
|
id: string;
|
|
234
|
+
createdAt: string;
|
|
200
235
|
updatedAt: string;
|
|
236
|
+
firstName: string;
|
|
237
|
+
lastName: string;
|
|
238
|
+
email: string;
|
|
239
|
+
phoneNumbers: {
|
|
240
|
+
id: string;
|
|
241
|
+
phoneNumber: string;
|
|
242
|
+
isPrimary: boolean;
|
|
243
|
+
description?: string | null | undefined;
|
|
244
|
+
}[];
|
|
201
245
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
202
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;
|
|
203
247
|
} | undefined;
|
|
204
|
-
lead?: {
|
|
205
|
-
name: string;
|
|
206
|
-
phoneNumber: string;
|
|
207
|
-
} | undefined;
|
|
208
248
|
} | null | undefined;
|
|
209
249
|
}, {
|
|
210
|
-
createdAt: string | Date;
|
|
211
250
|
id: string;
|
|
251
|
+
createdAt: string | Date;
|
|
212
252
|
updatedAt: string | Date;
|
|
213
|
-
rating: CallRating;
|
|
214
|
-
notes: string | null;
|
|
215
253
|
assignmentId: string;
|
|
216
254
|
callDate: string | Date;
|
|
217
255
|
callType: CallType;
|
|
256
|
+
rating: CallRating;
|
|
218
257
|
ratingWeight: number;
|
|
219
|
-
|
|
258
|
+
notes: string | null;
|
|
220
259
|
leadId?: string | undefined;
|
|
260
|
+
agentId?: string | undefined;
|
|
221
261
|
assignment?: {
|
|
222
|
-
createdAt: string | Date;
|
|
223
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
224
262
|
id: string;
|
|
263
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
264
|
+
createdAt: string | Date;
|
|
225
265
|
updatedAt: string | Date;
|
|
266
|
+
leadId: string;
|
|
226
267
|
agentId: string | null;
|
|
227
268
|
companyId: string | null;
|
|
228
|
-
leadId: string;
|
|
229
269
|
assignedAt: string | Date;
|
|
230
270
|
assignedBy: string | null;
|
|
231
271
|
company?: {
|
|
232
|
-
createdAt: string | Date;
|
|
233
272
|
id: string;
|
|
273
|
+
createdAt: string | Date;
|
|
234
274
|
updatedAt: string | Date;
|
|
235
275
|
name: string;
|
|
236
276
|
} | null | undefined;
|
|
277
|
+
lead?: {
|
|
278
|
+
phoneNumber: string;
|
|
279
|
+
name: string;
|
|
280
|
+
} | undefined;
|
|
237
281
|
agent?: {
|
|
238
|
-
lastName: string;
|
|
239
|
-
firstName: string;
|
|
240
|
-
email: string;
|
|
241
|
-
phone: string;
|
|
242
|
-
createdAt: string | Date;
|
|
243
282
|
id: string;
|
|
283
|
+
createdAt: string | Date;
|
|
244
284
|
updatedAt: string | Date;
|
|
285
|
+
firstName: string;
|
|
286
|
+
lastName: string;
|
|
287
|
+
email: string;
|
|
288
|
+
phoneNumbers?: {
|
|
289
|
+
id: string;
|
|
290
|
+
phoneNumber: string;
|
|
291
|
+
description?: string | null | undefined;
|
|
292
|
+
isPrimary?: boolean | undefined;
|
|
293
|
+
}[] | undefined;
|
|
245
294
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
246
295
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
247
296
|
} | undefined;
|
|
248
|
-
lead?: {
|
|
249
|
-
name: string;
|
|
250
|
-
phoneNumber: string;
|
|
251
|
-
} | undefined;
|
|
252
297
|
} | null | undefined;
|
|
253
298
|
}>;
|
|
254
299
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -264,11 +309,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
264
309
|
name: z.ZodString;
|
|
265
310
|
phoneNumber: z.ZodString;
|
|
266
311
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
name: string;
|
|
268
312
|
phoneNumber: string;
|
|
269
|
-
}, {
|
|
270
313
|
name: string;
|
|
314
|
+
}, {
|
|
271
315
|
phoneNumber: string;
|
|
316
|
+
name: string;
|
|
272
317
|
}>>;
|
|
273
318
|
agentId: z.ZodNullable<z.ZodString>;
|
|
274
319
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -276,29 +321,54 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
276
321
|
firstName: z.ZodString;
|
|
277
322
|
lastName: z.ZodString;
|
|
278
323
|
email: z.ZodString;
|
|
279
|
-
|
|
324
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
325
|
+
id: z.ZodString;
|
|
326
|
+
phoneNumber: z.ZodString;
|
|
327
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
|
330
|
+
id: string;
|
|
331
|
+
phoneNumber: string;
|
|
332
|
+
isPrimary: boolean;
|
|
333
|
+
description?: string | null | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
id: string;
|
|
336
|
+
phoneNumber: string;
|
|
337
|
+
description?: string | null | undefined;
|
|
338
|
+
isPrimary?: boolean | undefined;
|
|
339
|
+
}>, "many">>>;
|
|
280
340
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
281
341
|
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"]>>>;
|
|
282
342
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
283
343
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
344
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
lastName: string;
|
|
286
|
-
firstName: string;
|
|
287
|
-
email: string;
|
|
288
|
-
phone: string;
|
|
289
|
-
createdAt: string;
|
|
290
345
|
id: string;
|
|
346
|
+
createdAt: string;
|
|
291
347
|
updatedAt: string;
|
|
348
|
+
firstName: string;
|
|
349
|
+
lastName: string;
|
|
350
|
+
email: string;
|
|
351
|
+
phoneNumbers: {
|
|
352
|
+
id: string;
|
|
353
|
+
phoneNumber: string;
|
|
354
|
+
isPrimary: boolean;
|
|
355
|
+
description?: string | null | undefined;
|
|
356
|
+
}[];
|
|
292
357
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
293
358
|
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
359
|
}, {
|
|
295
|
-
lastName: string;
|
|
296
|
-
firstName: string;
|
|
297
|
-
email: string;
|
|
298
|
-
phone: string;
|
|
299
|
-
createdAt: string | Date;
|
|
300
360
|
id: string;
|
|
361
|
+
createdAt: string | Date;
|
|
301
362
|
updatedAt: string | Date;
|
|
363
|
+
firstName: string;
|
|
364
|
+
lastName: string;
|
|
365
|
+
email: string;
|
|
366
|
+
phoneNumbers?: {
|
|
367
|
+
id: string;
|
|
368
|
+
phoneNumber: string;
|
|
369
|
+
description?: string | null | undefined;
|
|
370
|
+
isPrimary?: boolean | undefined;
|
|
371
|
+
}[] | undefined;
|
|
302
372
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
303
373
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
304
374
|
}>>;
|
|
@@ -312,80 +382,90 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
312
382
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
313
383
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
314
384
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
createdAt: string;
|
|
316
385
|
id: string;
|
|
386
|
+
createdAt: string;
|
|
317
387
|
updatedAt: string;
|
|
318
388
|
name: string;
|
|
319
389
|
}, {
|
|
320
|
-
createdAt: string | Date;
|
|
321
390
|
id: string;
|
|
391
|
+
createdAt: string | Date;
|
|
322
392
|
updatedAt: string | Date;
|
|
323
393
|
name: string;
|
|
324
394
|
}>>>;
|
|
325
395
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
327
397
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
createdAt: string;
|
|
329
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
330
398
|
id: string;
|
|
399
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
400
|
+
createdAt: string;
|
|
331
401
|
updatedAt: string;
|
|
402
|
+
leadId: string;
|
|
332
403
|
agentId: string | null;
|
|
333
404
|
companyId: string | null;
|
|
334
|
-
leadId: string;
|
|
335
405
|
assignedAt: string;
|
|
336
406
|
assignedBy: string | null;
|
|
337
407
|
company?: {
|
|
338
|
-
createdAt: string;
|
|
339
408
|
id: string;
|
|
409
|
+
createdAt: string;
|
|
340
410
|
updatedAt: string;
|
|
341
411
|
name: string;
|
|
342
412
|
} | null | undefined;
|
|
413
|
+
lead?: {
|
|
414
|
+
phoneNumber: string;
|
|
415
|
+
name: string;
|
|
416
|
+
} | undefined;
|
|
343
417
|
agent?: {
|
|
344
|
-
lastName: string;
|
|
345
|
-
firstName: string;
|
|
346
|
-
email: string;
|
|
347
|
-
phone: string;
|
|
348
|
-
createdAt: string;
|
|
349
418
|
id: string;
|
|
419
|
+
createdAt: string;
|
|
350
420
|
updatedAt: string;
|
|
421
|
+
firstName: string;
|
|
422
|
+
lastName: string;
|
|
423
|
+
email: string;
|
|
424
|
+
phoneNumbers: {
|
|
425
|
+
id: string;
|
|
426
|
+
phoneNumber: string;
|
|
427
|
+
isPrimary: boolean;
|
|
428
|
+
description?: string | null | undefined;
|
|
429
|
+
}[];
|
|
351
430
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
352
431
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
353
432
|
} | undefined;
|
|
354
|
-
lead?: {
|
|
355
|
-
name: string;
|
|
356
|
-
phoneNumber: string;
|
|
357
|
-
} | undefined;
|
|
358
433
|
}, {
|
|
359
|
-
createdAt: string | Date;
|
|
360
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
361
434
|
id: string;
|
|
435
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
436
|
+
createdAt: string | Date;
|
|
362
437
|
updatedAt: string | Date;
|
|
438
|
+
leadId: string;
|
|
363
439
|
agentId: string | null;
|
|
364
440
|
companyId: string | null;
|
|
365
|
-
leadId: string;
|
|
366
441
|
assignedAt: string | Date;
|
|
367
442
|
assignedBy: string | null;
|
|
368
443
|
company?: {
|
|
369
|
-
createdAt: string | Date;
|
|
370
444
|
id: string;
|
|
445
|
+
createdAt: string | Date;
|
|
371
446
|
updatedAt: string | Date;
|
|
372
447
|
name: string;
|
|
373
448
|
} | null | undefined;
|
|
449
|
+
lead?: {
|
|
450
|
+
phoneNumber: string;
|
|
451
|
+
name: string;
|
|
452
|
+
} | undefined;
|
|
374
453
|
agent?: {
|
|
375
|
-
lastName: string;
|
|
376
|
-
firstName: string;
|
|
377
|
-
email: string;
|
|
378
|
-
phone: string;
|
|
379
|
-
createdAt: string | Date;
|
|
380
454
|
id: string;
|
|
455
|
+
createdAt: string | Date;
|
|
381
456
|
updatedAt: string | Date;
|
|
457
|
+
firstName: string;
|
|
458
|
+
lastName: string;
|
|
459
|
+
email: string;
|
|
460
|
+
phoneNumbers?: {
|
|
461
|
+
id: string;
|
|
462
|
+
phoneNumber: string;
|
|
463
|
+
description?: string | null | undefined;
|
|
464
|
+
isPrimary?: boolean | undefined;
|
|
465
|
+
}[] | undefined;
|
|
382
466
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
383
467
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
384
468
|
} | undefined;
|
|
385
|
-
lead?: {
|
|
386
|
-
name: string;
|
|
387
|
-
phoneNumber: string;
|
|
388
|
-
} | undefined;
|
|
389
469
|
}>>>;
|
|
390
470
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
391
471
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -395,92 +475,102 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
395
475
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
396
476
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
477
|
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
createdAt: string;
|
|
399
478
|
id: string;
|
|
479
|
+
createdAt: string;
|
|
400
480
|
updatedAt: string;
|
|
401
|
-
rating: CallRating;
|
|
402
|
-
notes: string | null;
|
|
403
481
|
assignmentId: string;
|
|
404
482
|
callDate: string;
|
|
405
483
|
callType: CallType;
|
|
484
|
+
rating: CallRating;
|
|
406
485
|
ratingWeight: number;
|
|
407
|
-
|
|
486
|
+
notes: string | null;
|
|
408
487
|
leadId?: string | undefined;
|
|
488
|
+
agentId?: string | undefined;
|
|
409
489
|
assignment?: {
|
|
410
|
-
createdAt: string;
|
|
411
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
412
490
|
id: string;
|
|
491
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
492
|
+
createdAt: string;
|
|
413
493
|
updatedAt: string;
|
|
494
|
+
leadId: string;
|
|
414
495
|
agentId: string | null;
|
|
415
496
|
companyId: string | null;
|
|
416
|
-
leadId: string;
|
|
417
497
|
assignedAt: string;
|
|
418
498
|
assignedBy: string | null;
|
|
419
499
|
company?: {
|
|
420
|
-
createdAt: string;
|
|
421
500
|
id: string;
|
|
501
|
+
createdAt: string;
|
|
422
502
|
updatedAt: string;
|
|
423
503
|
name: string;
|
|
424
504
|
} | null | undefined;
|
|
505
|
+
lead?: {
|
|
506
|
+
phoneNumber: string;
|
|
507
|
+
name: string;
|
|
508
|
+
} | undefined;
|
|
425
509
|
agent?: {
|
|
426
|
-
lastName: string;
|
|
427
|
-
firstName: string;
|
|
428
|
-
email: string;
|
|
429
|
-
phone: string;
|
|
430
|
-
createdAt: string;
|
|
431
510
|
id: string;
|
|
511
|
+
createdAt: string;
|
|
432
512
|
updatedAt: string;
|
|
513
|
+
firstName: string;
|
|
514
|
+
lastName: string;
|
|
515
|
+
email: string;
|
|
516
|
+
phoneNumbers: {
|
|
517
|
+
id: string;
|
|
518
|
+
phoneNumber: string;
|
|
519
|
+
isPrimary: boolean;
|
|
520
|
+
description?: string | null | undefined;
|
|
521
|
+
}[];
|
|
433
522
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
434
523
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
435
524
|
} | undefined;
|
|
436
|
-
lead?: {
|
|
437
|
-
name: string;
|
|
438
|
-
phoneNumber: string;
|
|
439
|
-
} | undefined;
|
|
440
525
|
} | null | undefined;
|
|
441
526
|
}, {
|
|
442
|
-
createdAt: string | Date;
|
|
443
527
|
id: string;
|
|
528
|
+
createdAt: string | Date;
|
|
444
529
|
updatedAt: string | Date;
|
|
445
|
-
rating: CallRating;
|
|
446
|
-
notes: string | null;
|
|
447
530
|
assignmentId: string;
|
|
448
531
|
callDate: string | Date;
|
|
449
532
|
callType: CallType;
|
|
533
|
+
rating: CallRating;
|
|
450
534
|
ratingWeight: number;
|
|
451
|
-
|
|
535
|
+
notes: string | null;
|
|
452
536
|
leadId?: string | undefined;
|
|
537
|
+
agentId?: string | undefined;
|
|
453
538
|
assignment?: {
|
|
454
|
-
createdAt: string | Date;
|
|
455
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
456
539
|
id: string;
|
|
540
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
541
|
+
createdAt: string | Date;
|
|
457
542
|
updatedAt: string | Date;
|
|
543
|
+
leadId: string;
|
|
458
544
|
agentId: string | null;
|
|
459
545
|
companyId: string | null;
|
|
460
|
-
leadId: string;
|
|
461
546
|
assignedAt: string | Date;
|
|
462
547
|
assignedBy: string | null;
|
|
463
548
|
company?: {
|
|
464
|
-
createdAt: string | Date;
|
|
465
549
|
id: string;
|
|
550
|
+
createdAt: string | Date;
|
|
466
551
|
updatedAt: string | Date;
|
|
467
552
|
name: string;
|
|
468
553
|
} | null | undefined;
|
|
554
|
+
lead?: {
|
|
555
|
+
phoneNumber: string;
|
|
556
|
+
name: string;
|
|
557
|
+
} | undefined;
|
|
469
558
|
agent?: {
|
|
470
|
-
lastName: string;
|
|
471
|
-
firstName: string;
|
|
472
|
-
email: string;
|
|
473
|
-
phone: string;
|
|
474
|
-
createdAt: string | Date;
|
|
475
559
|
id: string;
|
|
560
|
+
createdAt: string | Date;
|
|
476
561
|
updatedAt: string | Date;
|
|
562
|
+
firstName: string;
|
|
563
|
+
lastName: string;
|
|
564
|
+
email: string;
|
|
565
|
+
phoneNumbers?: {
|
|
566
|
+
id: string;
|
|
567
|
+
phoneNumber: string;
|
|
568
|
+
description?: string | null | undefined;
|
|
569
|
+
isPrimary?: boolean | undefined;
|
|
570
|
+
}[] | undefined;
|
|
477
571
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
478
572
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
479
573
|
} | undefined;
|
|
480
|
-
lead?: {
|
|
481
|
-
name: string;
|
|
482
|
-
phoneNumber: string;
|
|
483
|
-
} | undefined;
|
|
484
574
|
} | null | undefined;
|
|
485
575
|
}>, "many">;
|
|
486
576
|
totalCount: z.ZodNumber;
|
|
@@ -491,48 +581,53 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
491
581
|
}, "strip", z.ZodTypeAny, {
|
|
492
582
|
limit: number;
|
|
493
583
|
items: {
|
|
494
|
-
createdAt: string;
|
|
495
584
|
id: string;
|
|
585
|
+
createdAt: string;
|
|
496
586
|
updatedAt: string;
|
|
497
|
-
rating: CallRating;
|
|
498
|
-
notes: string | null;
|
|
499
587
|
assignmentId: string;
|
|
500
588
|
callDate: string;
|
|
501
589
|
callType: CallType;
|
|
590
|
+
rating: CallRating;
|
|
502
591
|
ratingWeight: number;
|
|
503
|
-
|
|
592
|
+
notes: string | null;
|
|
504
593
|
leadId?: string | undefined;
|
|
594
|
+
agentId?: string | undefined;
|
|
505
595
|
assignment?: {
|
|
506
|
-
createdAt: string;
|
|
507
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
508
596
|
id: string;
|
|
597
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
598
|
+
createdAt: string;
|
|
509
599
|
updatedAt: string;
|
|
600
|
+
leadId: string;
|
|
510
601
|
agentId: string | null;
|
|
511
602
|
companyId: string | null;
|
|
512
|
-
leadId: string;
|
|
513
603
|
assignedAt: string;
|
|
514
604
|
assignedBy: string | null;
|
|
515
605
|
company?: {
|
|
516
|
-
createdAt: string;
|
|
517
606
|
id: string;
|
|
607
|
+
createdAt: string;
|
|
518
608
|
updatedAt: string;
|
|
519
609
|
name: string;
|
|
520
610
|
} | null | undefined;
|
|
611
|
+
lead?: {
|
|
612
|
+
phoneNumber: string;
|
|
613
|
+
name: string;
|
|
614
|
+
} | undefined;
|
|
521
615
|
agent?: {
|
|
522
|
-
lastName: string;
|
|
523
|
-
firstName: string;
|
|
524
|
-
email: string;
|
|
525
|
-
phone: string;
|
|
526
|
-
createdAt: string;
|
|
527
616
|
id: string;
|
|
617
|
+
createdAt: string;
|
|
528
618
|
updatedAt: string;
|
|
619
|
+
firstName: string;
|
|
620
|
+
lastName: string;
|
|
621
|
+
email: string;
|
|
622
|
+
phoneNumbers: {
|
|
623
|
+
id: string;
|
|
624
|
+
phoneNumber: string;
|
|
625
|
+
isPrimary: boolean;
|
|
626
|
+
description?: string | null | undefined;
|
|
627
|
+
}[];
|
|
529
628
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
530
629
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
531
630
|
} | undefined;
|
|
532
|
-
lead?: {
|
|
533
|
-
name: string;
|
|
534
|
-
phoneNumber: string;
|
|
535
|
-
} | undefined;
|
|
536
631
|
} | null | undefined;
|
|
537
632
|
}[];
|
|
538
633
|
totalCount: number;
|
|
@@ -542,48 +637,53 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
542
637
|
}, {
|
|
543
638
|
limit: number;
|
|
544
639
|
items: {
|
|
545
|
-
createdAt: string | Date;
|
|
546
640
|
id: string;
|
|
641
|
+
createdAt: string | Date;
|
|
547
642
|
updatedAt: string | Date;
|
|
548
|
-
rating: CallRating;
|
|
549
|
-
notes: string | null;
|
|
550
643
|
assignmentId: string;
|
|
551
644
|
callDate: string | Date;
|
|
552
645
|
callType: CallType;
|
|
646
|
+
rating: CallRating;
|
|
553
647
|
ratingWeight: number;
|
|
554
|
-
|
|
648
|
+
notes: string | null;
|
|
555
649
|
leadId?: string | undefined;
|
|
650
|
+
agentId?: string | undefined;
|
|
556
651
|
assignment?: {
|
|
557
|
-
createdAt: string | Date;
|
|
558
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
559
652
|
id: string;
|
|
653
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
654
|
+
createdAt: string | Date;
|
|
560
655
|
updatedAt: string | Date;
|
|
656
|
+
leadId: string;
|
|
561
657
|
agentId: string | null;
|
|
562
658
|
companyId: string | null;
|
|
563
|
-
leadId: string;
|
|
564
659
|
assignedAt: string | Date;
|
|
565
660
|
assignedBy: string | null;
|
|
566
661
|
company?: {
|
|
567
|
-
createdAt: string | Date;
|
|
568
662
|
id: string;
|
|
663
|
+
createdAt: string | Date;
|
|
569
664
|
updatedAt: string | Date;
|
|
570
665
|
name: string;
|
|
571
666
|
} | null | undefined;
|
|
667
|
+
lead?: {
|
|
668
|
+
phoneNumber: string;
|
|
669
|
+
name: string;
|
|
670
|
+
} | undefined;
|
|
572
671
|
agent?: {
|
|
573
|
-
lastName: string;
|
|
574
|
-
firstName: string;
|
|
575
|
-
email: string;
|
|
576
|
-
phone: string;
|
|
577
|
-
createdAt: string | Date;
|
|
578
672
|
id: string;
|
|
673
|
+
createdAt: string | Date;
|
|
579
674
|
updatedAt: string | Date;
|
|
675
|
+
firstName: string;
|
|
676
|
+
lastName: string;
|
|
677
|
+
email: string;
|
|
678
|
+
phoneNumbers?: {
|
|
679
|
+
id: string;
|
|
680
|
+
phoneNumber: string;
|
|
681
|
+
description?: string | null | undefined;
|
|
682
|
+
isPrimary?: boolean | undefined;
|
|
683
|
+
}[] | undefined;
|
|
580
684
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
581
685
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
582
686
|
} | undefined;
|
|
583
|
-
lead?: {
|
|
584
|
-
name: string;
|
|
585
|
-
phoneNumber: string;
|
|
586
|
-
} | undefined;
|
|
587
687
|
} | null | undefined;
|
|
588
688
|
}[];
|
|
589
689
|
totalCount: number;
|
|
@@ -597,14 +697,14 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
597
697
|
notes: z.ZodOptional<z.ZodString>;
|
|
598
698
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
599
699
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
rating: CallRating;
|
|
601
700
|
assignmentId: string;
|
|
602
701
|
callType: CallType;
|
|
702
|
+
rating: CallRating;
|
|
603
703
|
notes?: string | undefined;
|
|
604
704
|
}, {
|
|
605
|
-
rating: CallRating;
|
|
606
705
|
assignmentId: string;
|
|
607
706
|
callType: CallType;
|
|
707
|
+
rating: CallRating;
|
|
608
708
|
notes?: string | undefined;
|
|
609
709
|
}>;
|
|
610
710
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -612,13 +712,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
612
712
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
613
713
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
callDate?: string | undefined;
|
|
615
716
|
rating?: CallRating | undefined;
|
|
616
717
|
notes?: string | null | undefined;
|
|
617
|
-
callDate?: string | undefined;
|
|
618
718
|
}, {
|
|
719
|
+
callDate?: string | undefined;
|
|
619
720
|
rating?: CallRating | undefined;
|
|
620
721
|
notes?: string | null | undefined;
|
|
621
|
-
callDate?: string | undefined;
|
|
622
722
|
}>;
|
|
623
723
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
624
724
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -626,7 +726,16 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
626
726
|
} & {
|
|
627
727
|
agentId: z.ZodOptional<z.ZodString>;
|
|
628
728
|
companyId: z.ZodOptional<z.ZodString>;
|
|
629
|
-
rating: z.
|
|
729
|
+
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
730
|
+
from: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
731
|
+
to: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
732
|
+
}, "strip", z.ZodTypeAny, {
|
|
733
|
+
from?: CallRating | null | undefined;
|
|
734
|
+
to?: CallRating | null | undefined;
|
|
735
|
+
}, {
|
|
736
|
+
from?: unknown;
|
|
737
|
+
to?: unknown;
|
|
738
|
+
}>>>;
|
|
630
739
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
631
740
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
632
741
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -646,26 +755,32 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
646
755
|
sortBy?: CallHistorySortableFields | undefined;
|
|
647
756
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
648
757
|
agentId?: string | undefined;
|
|
649
|
-
companyId?: string | undefined;
|
|
650
|
-
rating?: CallRating | undefined;
|
|
651
758
|
callDate?: {
|
|
652
759
|
from?: string | null | undefined;
|
|
653
760
|
to?: string | null | undefined;
|
|
654
761
|
} | null | undefined;
|
|
655
762
|
callType?: CallType | undefined;
|
|
763
|
+
rating?: {
|
|
764
|
+
from?: CallRating | null | undefined;
|
|
765
|
+
to?: CallRating | null | undefined;
|
|
766
|
+
} | null | undefined;
|
|
767
|
+
companyId?: string | undefined;
|
|
656
768
|
}, {
|
|
657
769
|
limit?: number | undefined;
|
|
658
770
|
page?: number | undefined;
|
|
659
771
|
sortBy?: CallHistorySortableFields | undefined;
|
|
660
772
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
661
773
|
agentId?: string | undefined;
|
|
662
|
-
companyId?: string | undefined;
|
|
663
|
-
rating?: unknown;
|
|
664
774
|
callDate?: {
|
|
665
775
|
from?: string | null | undefined;
|
|
666
776
|
to?: string | null | undefined;
|
|
667
777
|
} | null | undefined;
|
|
668
778
|
callType?: CallType | undefined;
|
|
779
|
+
rating?: {
|
|
780
|
+
from?: unknown;
|
|
781
|
+
to?: unknown;
|
|
782
|
+
} | null | undefined;
|
|
783
|
+
companyId?: string | undefined;
|
|
669
784
|
}>;
|
|
670
785
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
671
786
|
totalCalls: z.ZodNumber;
|
|
@@ -699,14 +814,14 @@ export declare const callHistoryContract: {
|
|
|
699
814
|
notes: z.ZodOptional<z.ZodString>;
|
|
700
815
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
701
816
|
}, "strip", z.ZodTypeAny, {
|
|
702
|
-
rating: CallRating;
|
|
703
817
|
assignmentId: string;
|
|
704
818
|
callType: CallType;
|
|
819
|
+
rating: CallRating;
|
|
705
820
|
notes?: string | undefined;
|
|
706
821
|
}, {
|
|
707
|
-
rating: CallRating;
|
|
708
822
|
assignmentId: string;
|
|
709
823
|
callType: CallType;
|
|
824
|
+
rating: CallRating;
|
|
710
825
|
notes?: string | undefined;
|
|
711
826
|
}>;
|
|
712
827
|
path: "/v2/call-history";
|
|
@@ -823,11 +938,11 @@ export declare const callHistoryContract: {
|
|
|
823
938
|
name: z.ZodString;
|
|
824
939
|
phoneNumber: z.ZodString;
|
|
825
940
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
name: string;
|
|
827
941
|
phoneNumber: string;
|
|
828
|
-
}, {
|
|
829
942
|
name: string;
|
|
943
|
+
}, {
|
|
830
944
|
phoneNumber: string;
|
|
945
|
+
name: string;
|
|
831
946
|
}>>;
|
|
832
947
|
agentId: z.ZodNullable<z.ZodString>;
|
|
833
948
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -835,29 +950,54 @@ export declare const callHistoryContract: {
|
|
|
835
950
|
firstName: z.ZodString;
|
|
836
951
|
lastName: z.ZodString;
|
|
837
952
|
email: z.ZodString;
|
|
838
|
-
|
|
953
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
954
|
+
id: z.ZodString;
|
|
955
|
+
phoneNumber: z.ZodString;
|
|
956
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
957
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
958
|
+
}, "strip", z.ZodTypeAny, {
|
|
959
|
+
id: string;
|
|
960
|
+
phoneNumber: string;
|
|
961
|
+
isPrimary: boolean;
|
|
962
|
+
description?: string | null | undefined;
|
|
963
|
+
}, {
|
|
964
|
+
id: string;
|
|
965
|
+
phoneNumber: string;
|
|
966
|
+
description?: string | null | undefined;
|
|
967
|
+
isPrimary?: boolean | undefined;
|
|
968
|
+
}>, "many">>>;
|
|
839
969
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
840
970
|
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"]>>>;
|
|
841
971
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
842
972
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
843
973
|
}, "strip", z.ZodTypeAny, {
|
|
844
|
-
lastName: string;
|
|
845
|
-
firstName: string;
|
|
846
|
-
email: string;
|
|
847
|
-
phone: string;
|
|
848
|
-
createdAt: string;
|
|
849
974
|
id: string;
|
|
975
|
+
createdAt: string;
|
|
850
976
|
updatedAt: string;
|
|
977
|
+
firstName: string;
|
|
978
|
+
lastName: string;
|
|
979
|
+
email: string;
|
|
980
|
+
phoneNumbers: {
|
|
981
|
+
id: string;
|
|
982
|
+
phoneNumber: string;
|
|
983
|
+
isPrimary: boolean;
|
|
984
|
+
description?: string | null | undefined;
|
|
985
|
+
}[];
|
|
851
986
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
852
987
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
853
988
|
}, {
|
|
854
|
-
lastName: string;
|
|
855
|
-
firstName: string;
|
|
856
|
-
email: string;
|
|
857
|
-
phone: string;
|
|
858
|
-
createdAt: string | Date;
|
|
859
989
|
id: string;
|
|
990
|
+
createdAt: string | Date;
|
|
860
991
|
updatedAt: string | Date;
|
|
992
|
+
firstName: string;
|
|
993
|
+
lastName: string;
|
|
994
|
+
email: string;
|
|
995
|
+
phoneNumbers?: {
|
|
996
|
+
id: string;
|
|
997
|
+
phoneNumber: string;
|
|
998
|
+
description?: string | null | undefined;
|
|
999
|
+
isPrimary?: boolean | undefined;
|
|
1000
|
+
}[] | undefined;
|
|
861
1001
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
862
1002
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
863
1003
|
}>>;
|
|
@@ -871,80 +1011,90 @@ export declare const callHistoryContract: {
|
|
|
871
1011
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
872
1012
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
873
1013
|
}, "strip", z.ZodTypeAny, {
|
|
874
|
-
createdAt: string;
|
|
875
1014
|
id: string;
|
|
1015
|
+
createdAt: string;
|
|
876
1016
|
updatedAt: string;
|
|
877
1017
|
name: string;
|
|
878
1018
|
}, {
|
|
879
|
-
createdAt: string | Date;
|
|
880
1019
|
id: string;
|
|
1020
|
+
createdAt: string | Date;
|
|
881
1021
|
updatedAt: string | Date;
|
|
882
1022
|
name: string;
|
|
883
1023
|
}>>>;
|
|
884
1024
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
885
1025
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
886
1026
|
}, "strip", z.ZodTypeAny, {
|
|
887
|
-
createdAt: string;
|
|
888
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
889
1027
|
id: string;
|
|
1028
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1029
|
+
createdAt: string;
|
|
890
1030
|
updatedAt: string;
|
|
1031
|
+
leadId: string;
|
|
891
1032
|
agentId: string | null;
|
|
892
1033
|
companyId: string | null;
|
|
893
|
-
leadId: string;
|
|
894
1034
|
assignedAt: string;
|
|
895
1035
|
assignedBy: string | null;
|
|
896
1036
|
company?: {
|
|
897
|
-
createdAt: string;
|
|
898
1037
|
id: string;
|
|
1038
|
+
createdAt: string;
|
|
899
1039
|
updatedAt: string;
|
|
900
1040
|
name: string;
|
|
901
1041
|
} | null | undefined;
|
|
1042
|
+
lead?: {
|
|
1043
|
+
phoneNumber: string;
|
|
1044
|
+
name: string;
|
|
1045
|
+
} | undefined;
|
|
902
1046
|
agent?: {
|
|
903
|
-
lastName: string;
|
|
904
|
-
firstName: string;
|
|
905
|
-
email: string;
|
|
906
|
-
phone: string;
|
|
907
|
-
createdAt: string;
|
|
908
1047
|
id: string;
|
|
1048
|
+
createdAt: string;
|
|
909
1049
|
updatedAt: string;
|
|
1050
|
+
firstName: string;
|
|
1051
|
+
lastName: string;
|
|
1052
|
+
email: string;
|
|
1053
|
+
phoneNumbers: {
|
|
1054
|
+
id: string;
|
|
1055
|
+
phoneNumber: string;
|
|
1056
|
+
isPrimary: boolean;
|
|
1057
|
+
description?: string | null | undefined;
|
|
1058
|
+
}[];
|
|
910
1059
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
911
1060
|
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;
|
|
912
1061
|
} | undefined;
|
|
913
|
-
lead?: {
|
|
914
|
-
name: string;
|
|
915
|
-
phoneNumber: string;
|
|
916
|
-
} | undefined;
|
|
917
1062
|
}, {
|
|
918
|
-
createdAt: string | Date;
|
|
919
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
920
1063
|
id: string;
|
|
1064
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1065
|
+
createdAt: string | Date;
|
|
921
1066
|
updatedAt: string | Date;
|
|
1067
|
+
leadId: string;
|
|
922
1068
|
agentId: string | null;
|
|
923
1069
|
companyId: string | null;
|
|
924
|
-
leadId: string;
|
|
925
1070
|
assignedAt: string | Date;
|
|
926
1071
|
assignedBy: string | null;
|
|
927
1072
|
company?: {
|
|
928
|
-
createdAt: string | Date;
|
|
929
1073
|
id: string;
|
|
1074
|
+
createdAt: string | Date;
|
|
930
1075
|
updatedAt: string | Date;
|
|
931
1076
|
name: string;
|
|
932
1077
|
} | null | undefined;
|
|
1078
|
+
lead?: {
|
|
1079
|
+
phoneNumber: string;
|
|
1080
|
+
name: string;
|
|
1081
|
+
} | undefined;
|
|
933
1082
|
agent?: {
|
|
934
|
-
lastName: string;
|
|
935
|
-
firstName: string;
|
|
936
|
-
email: string;
|
|
937
|
-
phone: string;
|
|
938
|
-
createdAt: string | Date;
|
|
939
1083
|
id: string;
|
|
1084
|
+
createdAt: string | Date;
|
|
940
1085
|
updatedAt: string | Date;
|
|
1086
|
+
firstName: string;
|
|
1087
|
+
lastName: string;
|
|
1088
|
+
email: string;
|
|
1089
|
+
phoneNumbers?: {
|
|
1090
|
+
id: string;
|
|
1091
|
+
phoneNumber: string;
|
|
1092
|
+
description?: string | null | undefined;
|
|
1093
|
+
isPrimary?: boolean | undefined;
|
|
1094
|
+
}[] | undefined;
|
|
941
1095
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
942
1096
|
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;
|
|
943
1097
|
} | undefined;
|
|
944
|
-
lead?: {
|
|
945
|
-
name: string;
|
|
946
|
-
phoneNumber: string;
|
|
947
|
-
} | undefined;
|
|
948
1098
|
}>>>;
|
|
949
1099
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
950
1100
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -954,92 +1104,102 @@ export declare const callHistoryContract: {
|
|
|
954
1104
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
955
1105
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
956
1106
|
}, "strip", z.ZodTypeAny, {
|
|
957
|
-
createdAt: string;
|
|
958
1107
|
id: string;
|
|
1108
|
+
createdAt: string;
|
|
959
1109
|
updatedAt: string;
|
|
960
|
-
rating: CallRating;
|
|
961
|
-
notes: string | null;
|
|
962
1110
|
assignmentId: string;
|
|
963
1111
|
callDate: string;
|
|
964
1112
|
callType: CallType;
|
|
1113
|
+
rating: CallRating;
|
|
965
1114
|
ratingWeight: number;
|
|
966
|
-
|
|
1115
|
+
notes: string | null;
|
|
967
1116
|
leadId?: string | undefined;
|
|
1117
|
+
agentId?: string | undefined;
|
|
968
1118
|
assignment?: {
|
|
969
|
-
createdAt: string;
|
|
970
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
971
1119
|
id: string;
|
|
1120
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1121
|
+
createdAt: string;
|
|
972
1122
|
updatedAt: string;
|
|
1123
|
+
leadId: string;
|
|
973
1124
|
agentId: string | null;
|
|
974
1125
|
companyId: string | null;
|
|
975
|
-
leadId: string;
|
|
976
1126
|
assignedAt: string;
|
|
977
1127
|
assignedBy: string | null;
|
|
978
1128
|
company?: {
|
|
979
|
-
createdAt: string;
|
|
980
1129
|
id: string;
|
|
1130
|
+
createdAt: string;
|
|
981
1131
|
updatedAt: string;
|
|
982
1132
|
name: string;
|
|
983
1133
|
} | null | undefined;
|
|
1134
|
+
lead?: {
|
|
1135
|
+
phoneNumber: string;
|
|
1136
|
+
name: string;
|
|
1137
|
+
} | undefined;
|
|
984
1138
|
agent?: {
|
|
985
|
-
lastName: string;
|
|
986
|
-
firstName: string;
|
|
987
|
-
email: string;
|
|
988
|
-
phone: string;
|
|
989
|
-
createdAt: string;
|
|
990
1139
|
id: string;
|
|
1140
|
+
createdAt: string;
|
|
991
1141
|
updatedAt: string;
|
|
1142
|
+
firstName: string;
|
|
1143
|
+
lastName: string;
|
|
1144
|
+
email: string;
|
|
1145
|
+
phoneNumbers: {
|
|
1146
|
+
id: string;
|
|
1147
|
+
phoneNumber: string;
|
|
1148
|
+
isPrimary: boolean;
|
|
1149
|
+
description?: string | null | undefined;
|
|
1150
|
+
}[];
|
|
992
1151
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
993
1152
|
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;
|
|
994
1153
|
} | undefined;
|
|
995
|
-
lead?: {
|
|
996
|
-
name: string;
|
|
997
|
-
phoneNumber: string;
|
|
998
|
-
} | undefined;
|
|
999
1154
|
} | null | undefined;
|
|
1000
1155
|
}, {
|
|
1001
|
-
createdAt: string | Date;
|
|
1002
1156
|
id: string;
|
|
1157
|
+
createdAt: string | Date;
|
|
1003
1158
|
updatedAt: string | Date;
|
|
1004
|
-
rating: CallRating;
|
|
1005
|
-
notes: string | null;
|
|
1006
1159
|
assignmentId: string;
|
|
1007
1160
|
callDate: string | Date;
|
|
1008
1161
|
callType: CallType;
|
|
1162
|
+
rating: CallRating;
|
|
1009
1163
|
ratingWeight: number;
|
|
1010
|
-
|
|
1164
|
+
notes: string | null;
|
|
1011
1165
|
leadId?: string | undefined;
|
|
1166
|
+
agentId?: string | undefined;
|
|
1012
1167
|
assignment?: {
|
|
1013
|
-
createdAt: string | Date;
|
|
1014
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1015
1168
|
id: string;
|
|
1169
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1170
|
+
createdAt: string | Date;
|
|
1016
1171
|
updatedAt: string | Date;
|
|
1172
|
+
leadId: string;
|
|
1017
1173
|
agentId: string | null;
|
|
1018
1174
|
companyId: string | null;
|
|
1019
|
-
leadId: string;
|
|
1020
1175
|
assignedAt: string | Date;
|
|
1021
1176
|
assignedBy: string | null;
|
|
1022
1177
|
company?: {
|
|
1023
|
-
createdAt: string | Date;
|
|
1024
1178
|
id: string;
|
|
1179
|
+
createdAt: string | Date;
|
|
1025
1180
|
updatedAt: string | Date;
|
|
1026
1181
|
name: string;
|
|
1027
1182
|
} | null | undefined;
|
|
1183
|
+
lead?: {
|
|
1184
|
+
phoneNumber: string;
|
|
1185
|
+
name: string;
|
|
1186
|
+
} | undefined;
|
|
1028
1187
|
agent?: {
|
|
1029
|
-
lastName: string;
|
|
1030
|
-
firstName: string;
|
|
1031
|
-
email: string;
|
|
1032
|
-
phone: string;
|
|
1033
|
-
createdAt: string | Date;
|
|
1034
1188
|
id: string;
|
|
1189
|
+
createdAt: string | Date;
|
|
1035
1190
|
updatedAt: string | Date;
|
|
1191
|
+
firstName: string;
|
|
1192
|
+
lastName: string;
|
|
1193
|
+
email: string;
|
|
1194
|
+
phoneNumbers?: {
|
|
1195
|
+
id: string;
|
|
1196
|
+
phoneNumber: string;
|
|
1197
|
+
description?: string | null | undefined;
|
|
1198
|
+
isPrimary?: boolean | undefined;
|
|
1199
|
+
}[] | undefined;
|
|
1036
1200
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1037
1201
|
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;
|
|
1038
1202
|
} | undefined;
|
|
1039
|
-
lead?: {
|
|
1040
|
-
name: string;
|
|
1041
|
-
phoneNumber: string;
|
|
1042
|
-
} | undefined;
|
|
1043
1203
|
} | null | undefined;
|
|
1044
1204
|
}>;
|
|
1045
1205
|
409: z.ZodObject<{
|
|
@@ -1070,16 +1230,22 @@ export declare const callHistoryContract: {
|
|
|
1070
1230
|
};
|
|
1071
1231
|
};
|
|
1072
1232
|
findAll: {
|
|
1073
|
-
metadata: {
|
|
1074
|
-
tags: string[];
|
|
1075
|
-
};
|
|
1076
1233
|
query: z.ZodObject<{
|
|
1077
1234
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1078
1235
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1079
1236
|
} & {
|
|
1080
1237
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1081
1238
|
companyId: z.ZodOptional<z.ZodString>;
|
|
1082
|
-
rating: z.
|
|
1239
|
+
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
from: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
1241
|
+
to: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
1242
|
+
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
from?: CallRating | null | undefined;
|
|
1244
|
+
to?: CallRating | null | undefined;
|
|
1245
|
+
}, {
|
|
1246
|
+
from?: unknown;
|
|
1247
|
+
to?: unknown;
|
|
1248
|
+
}>>>;
|
|
1083
1249
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
1084
1250
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1085
1251
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1099,27 +1265,36 @@ export declare const callHistoryContract: {
|
|
|
1099
1265
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1100
1266
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1101
1267
|
agentId?: string | undefined;
|
|
1102
|
-
companyId?: string | undefined;
|
|
1103
|
-
rating?: CallRating | undefined;
|
|
1104
1268
|
callDate?: {
|
|
1105
1269
|
from?: string | null | undefined;
|
|
1106
1270
|
to?: string | null | undefined;
|
|
1107
1271
|
} | null | undefined;
|
|
1108
1272
|
callType?: CallType | undefined;
|
|
1273
|
+
rating?: {
|
|
1274
|
+
from?: CallRating | null | undefined;
|
|
1275
|
+
to?: CallRating | null | undefined;
|
|
1276
|
+
} | null | undefined;
|
|
1277
|
+
companyId?: string | undefined;
|
|
1109
1278
|
}, {
|
|
1110
1279
|
limit?: number | undefined;
|
|
1111
1280
|
page?: number | undefined;
|
|
1112
1281
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1113
1282
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1114
1283
|
agentId?: string | undefined;
|
|
1115
|
-
companyId?: string | undefined;
|
|
1116
|
-
rating?: unknown;
|
|
1117
1284
|
callDate?: {
|
|
1118
1285
|
from?: string | null | undefined;
|
|
1119
1286
|
to?: string | null | undefined;
|
|
1120
1287
|
} | null | undefined;
|
|
1121
1288
|
callType?: CallType | undefined;
|
|
1289
|
+
rating?: {
|
|
1290
|
+
from?: unknown;
|
|
1291
|
+
to?: unknown;
|
|
1292
|
+
} | null | undefined;
|
|
1293
|
+
companyId?: string | undefined;
|
|
1122
1294
|
}>;
|
|
1295
|
+
metadata: {
|
|
1296
|
+
tags: string[];
|
|
1297
|
+
};
|
|
1123
1298
|
summary: "Get call history records";
|
|
1124
1299
|
method: "GET";
|
|
1125
1300
|
path: "/v2/call-history";
|
|
@@ -1237,11 +1412,11 @@ export declare const callHistoryContract: {
|
|
|
1237
1412
|
name: z.ZodString;
|
|
1238
1413
|
phoneNumber: z.ZodString;
|
|
1239
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
name: string;
|
|
1241
1415
|
phoneNumber: string;
|
|
1242
|
-
}, {
|
|
1243
1416
|
name: string;
|
|
1417
|
+
}, {
|
|
1244
1418
|
phoneNumber: string;
|
|
1419
|
+
name: string;
|
|
1245
1420
|
}>>;
|
|
1246
1421
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1247
1422
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1249,29 +1424,54 @@ export declare const callHistoryContract: {
|
|
|
1249
1424
|
firstName: z.ZodString;
|
|
1250
1425
|
lastName: z.ZodString;
|
|
1251
1426
|
email: z.ZodString;
|
|
1252
|
-
|
|
1427
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1428
|
+
id: z.ZodString;
|
|
1429
|
+
phoneNumber: z.ZodString;
|
|
1430
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1431
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1432
|
+
}, "strip", z.ZodTypeAny, {
|
|
1433
|
+
id: string;
|
|
1434
|
+
phoneNumber: string;
|
|
1435
|
+
isPrimary: boolean;
|
|
1436
|
+
description?: string | null | undefined;
|
|
1437
|
+
}, {
|
|
1438
|
+
id: string;
|
|
1439
|
+
phoneNumber: string;
|
|
1440
|
+
description?: string | null | undefined;
|
|
1441
|
+
isPrimary?: boolean | undefined;
|
|
1442
|
+
}>, "many">>>;
|
|
1253
1443
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1254
1444
|
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"]>>>;
|
|
1255
1445
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1256
1446
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1257
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
lastName: string;
|
|
1259
|
-
firstName: string;
|
|
1260
|
-
email: string;
|
|
1261
|
-
phone: string;
|
|
1262
|
-
createdAt: string;
|
|
1263
1448
|
id: string;
|
|
1449
|
+
createdAt: string;
|
|
1264
1450
|
updatedAt: string;
|
|
1451
|
+
firstName: string;
|
|
1452
|
+
lastName: string;
|
|
1453
|
+
email: string;
|
|
1454
|
+
phoneNumbers: {
|
|
1455
|
+
id: string;
|
|
1456
|
+
phoneNumber: string;
|
|
1457
|
+
isPrimary: boolean;
|
|
1458
|
+
description?: string | null | undefined;
|
|
1459
|
+
}[];
|
|
1265
1460
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1266
1461
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1267
1462
|
}, {
|
|
1268
|
-
lastName: string;
|
|
1269
|
-
firstName: string;
|
|
1270
|
-
email: string;
|
|
1271
|
-
phone: string;
|
|
1272
|
-
createdAt: string | Date;
|
|
1273
1463
|
id: string;
|
|
1464
|
+
createdAt: string | Date;
|
|
1274
1465
|
updatedAt: string | Date;
|
|
1466
|
+
firstName: string;
|
|
1467
|
+
lastName: string;
|
|
1468
|
+
email: string;
|
|
1469
|
+
phoneNumbers?: {
|
|
1470
|
+
id: string;
|
|
1471
|
+
phoneNumber: string;
|
|
1472
|
+
description?: string | null | undefined;
|
|
1473
|
+
isPrimary?: boolean | undefined;
|
|
1474
|
+
}[] | undefined;
|
|
1275
1475
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1276
1476
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1277
1477
|
}>>;
|
|
@@ -1285,80 +1485,90 @@ export declare const callHistoryContract: {
|
|
|
1285
1485
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1286
1486
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1287
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
createdAt: string;
|
|
1289
1488
|
id: string;
|
|
1489
|
+
createdAt: string;
|
|
1290
1490
|
updatedAt: string;
|
|
1291
1491
|
name: string;
|
|
1292
1492
|
}, {
|
|
1293
|
-
createdAt: string | Date;
|
|
1294
1493
|
id: string;
|
|
1494
|
+
createdAt: string | Date;
|
|
1295
1495
|
updatedAt: string | Date;
|
|
1296
1496
|
name: string;
|
|
1297
1497
|
}>>>;
|
|
1298
1498
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1299
1499
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1300
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
createdAt: string;
|
|
1302
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1303
1501
|
id: string;
|
|
1502
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1503
|
+
createdAt: string;
|
|
1304
1504
|
updatedAt: string;
|
|
1505
|
+
leadId: string;
|
|
1305
1506
|
agentId: string | null;
|
|
1306
1507
|
companyId: string | null;
|
|
1307
|
-
leadId: string;
|
|
1308
1508
|
assignedAt: string;
|
|
1309
1509
|
assignedBy: string | null;
|
|
1310
1510
|
company?: {
|
|
1311
|
-
createdAt: string;
|
|
1312
1511
|
id: string;
|
|
1512
|
+
createdAt: string;
|
|
1313
1513
|
updatedAt: string;
|
|
1314
1514
|
name: string;
|
|
1315
1515
|
} | null | undefined;
|
|
1516
|
+
lead?: {
|
|
1517
|
+
phoneNumber: string;
|
|
1518
|
+
name: string;
|
|
1519
|
+
} | undefined;
|
|
1316
1520
|
agent?: {
|
|
1317
|
-
lastName: string;
|
|
1318
|
-
firstName: string;
|
|
1319
|
-
email: string;
|
|
1320
|
-
phone: string;
|
|
1321
|
-
createdAt: string;
|
|
1322
1521
|
id: string;
|
|
1522
|
+
createdAt: string;
|
|
1323
1523
|
updatedAt: string;
|
|
1524
|
+
firstName: string;
|
|
1525
|
+
lastName: string;
|
|
1526
|
+
email: string;
|
|
1527
|
+
phoneNumbers: {
|
|
1528
|
+
id: string;
|
|
1529
|
+
phoneNumber: string;
|
|
1530
|
+
isPrimary: boolean;
|
|
1531
|
+
description?: string | null | undefined;
|
|
1532
|
+
}[];
|
|
1324
1533
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1325
1534
|
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;
|
|
1326
1535
|
} | undefined;
|
|
1327
|
-
lead?: {
|
|
1328
|
-
name: string;
|
|
1329
|
-
phoneNumber: string;
|
|
1330
|
-
} | undefined;
|
|
1331
1536
|
}, {
|
|
1332
|
-
createdAt: string | Date;
|
|
1333
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1334
1537
|
id: string;
|
|
1538
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1539
|
+
createdAt: string | Date;
|
|
1335
1540
|
updatedAt: string | Date;
|
|
1541
|
+
leadId: string;
|
|
1336
1542
|
agentId: string | null;
|
|
1337
1543
|
companyId: string | null;
|
|
1338
|
-
leadId: string;
|
|
1339
1544
|
assignedAt: string | Date;
|
|
1340
1545
|
assignedBy: string | null;
|
|
1341
1546
|
company?: {
|
|
1342
|
-
createdAt: string | Date;
|
|
1343
1547
|
id: string;
|
|
1548
|
+
createdAt: string | Date;
|
|
1344
1549
|
updatedAt: string | Date;
|
|
1345
1550
|
name: string;
|
|
1346
1551
|
} | null | undefined;
|
|
1552
|
+
lead?: {
|
|
1553
|
+
phoneNumber: string;
|
|
1554
|
+
name: string;
|
|
1555
|
+
} | undefined;
|
|
1347
1556
|
agent?: {
|
|
1348
|
-
lastName: string;
|
|
1349
|
-
firstName: string;
|
|
1350
|
-
email: string;
|
|
1351
|
-
phone: string;
|
|
1352
|
-
createdAt: string | Date;
|
|
1353
1557
|
id: string;
|
|
1558
|
+
createdAt: string | Date;
|
|
1354
1559
|
updatedAt: string | Date;
|
|
1560
|
+
firstName: string;
|
|
1561
|
+
lastName: string;
|
|
1562
|
+
email: string;
|
|
1563
|
+
phoneNumbers?: {
|
|
1564
|
+
id: string;
|
|
1565
|
+
phoneNumber: string;
|
|
1566
|
+
description?: string | null | undefined;
|
|
1567
|
+
isPrimary?: boolean | undefined;
|
|
1568
|
+
}[] | undefined;
|
|
1355
1569
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1356
1570
|
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;
|
|
1357
1571
|
} | undefined;
|
|
1358
|
-
lead?: {
|
|
1359
|
-
name: string;
|
|
1360
|
-
phoneNumber: string;
|
|
1361
|
-
} | undefined;
|
|
1362
1572
|
}>>>;
|
|
1363
1573
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1364
1574
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1368,92 +1578,102 @@ export declare const callHistoryContract: {
|
|
|
1368
1578
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1369
1579
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1370
1580
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
createdAt: string;
|
|
1372
1581
|
id: string;
|
|
1582
|
+
createdAt: string;
|
|
1373
1583
|
updatedAt: string;
|
|
1374
|
-
rating: CallRating;
|
|
1375
|
-
notes: string | null;
|
|
1376
1584
|
assignmentId: string;
|
|
1377
1585
|
callDate: string;
|
|
1378
1586
|
callType: CallType;
|
|
1587
|
+
rating: CallRating;
|
|
1379
1588
|
ratingWeight: number;
|
|
1380
|
-
|
|
1589
|
+
notes: string | null;
|
|
1381
1590
|
leadId?: string | undefined;
|
|
1591
|
+
agentId?: string | undefined;
|
|
1382
1592
|
assignment?: {
|
|
1383
|
-
createdAt: string;
|
|
1384
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1385
1593
|
id: string;
|
|
1594
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1595
|
+
createdAt: string;
|
|
1386
1596
|
updatedAt: string;
|
|
1597
|
+
leadId: string;
|
|
1387
1598
|
agentId: string | null;
|
|
1388
1599
|
companyId: string | null;
|
|
1389
|
-
leadId: string;
|
|
1390
1600
|
assignedAt: string;
|
|
1391
1601
|
assignedBy: string | null;
|
|
1392
1602
|
company?: {
|
|
1393
|
-
createdAt: string;
|
|
1394
1603
|
id: string;
|
|
1604
|
+
createdAt: string;
|
|
1395
1605
|
updatedAt: string;
|
|
1396
1606
|
name: string;
|
|
1397
1607
|
} | null | undefined;
|
|
1608
|
+
lead?: {
|
|
1609
|
+
phoneNumber: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
} | undefined;
|
|
1398
1612
|
agent?: {
|
|
1399
|
-
lastName: string;
|
|
1400
|
-
firstName: string;
|
|
1401
|
-
email: string;
|
|
1402
|
-
phone: string;
|
|
1403
|
-
createdAt: string;
|
|
1404
1613
|
id: string;
|
|
1614
|
+
createdAt: string;
|
|
1405
1615
|
updatedAt: string;
|
|
1616
|
+
firstName: string;
|
|
1617
|
+
lastName: string;
|
|
1618
|
+
email: string;
|
|
1619
|
+
phoneNumbers: {
|
|
1620
|
+
id: string;
|
|
1621
|
+
phoneNumber: string;
|
|
1622
|
+
isPrimary: boolean;
|
|
1623
|
+
description?: string | null | undefined;
|
|
1624
|
+
}[];
|
|
1406
1625
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1407
1626
|
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;
|
|
1408
1627
|
} | undefined;
|
|
1409
|
-
lead?: {
|
|
1410
|
-
name: string;
|
|
1411
|
-
phoneNumber: string;
|
|
1412
|
-
} | undefined;
|
|
1413
1628
|
} | null | undefined;
|
|
1414
1629
|
}, {
|
|
1415
|
-
createdAt: string | Date;
|
|
1416
1630
|
id: string;
|
|
1631
|
+
createdAt: string | Date;
|
|
1417
1632
|
updatedAt: string | Date;
|
|
1418
|
-
rating: CallRating;
|
|
1419
|
-
notes: string | null;
|
|
1420
1633
|
assignmentId: string;
|
|
1421
1634
|
callDate: string | Date;
|
|
1422
1635
|
callType: CallType;
|
|
1636
|
+
rating: CallRating;
|
|
1423
1637
|
ratingWeight: number;
|
|
1424
|
-
|
|
1638
|
+
notes: string | null;
|
|
1425
1639
|
leadId?: string | undefined;
|
|
1640
|
+
agentId?: string | undefined;
|
|
1426
1641
|
assignment?: {
|
|
1427
|
-
createdAt: string | Date;
|
|
1428
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1429
1642
|
id: string;
|
|
1643
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1644
|
+
createdAt: string | Date;
|
|
1430
1645
|
updatedAt: string | Date;
|
|
1646
|
+
leadId: string;
|
|
1431
1647
|
agentId: string | null;
|
|
1432
1648
|
companyId: string | null;
|
|
1433
|
-
leadId: string;
|
|
1434
1649
|
assignedAt: string | Date;
|
|
1435
1650
|
assignedBy: string | null;
|
|
1436
1651
|
company?: {
|
|
1437
|
-
createdAt: string | Date;
|
|
1438
1652
|
id: string;
|
|
1653
|
+
createdAt: string | Date;
|
|
1439
1654
|
updatedAt: string | Date;
|
|
1440
1655
|
name: string;
|
|
1441
1656
|
} | null | undefined;
|
|
1657
|
+
lead?: {
|
|
1658
|
+
phoneNumber: string;
|
|
1659
|
+
name: string;
|
|
1660
|
+
} | undefined;
|
|
1442
1661
|
agent?: {
|
|
1443
|
-
lastName: string;
|
|
1444
|
-
firstName: string;
|
|
1445
|
-
email: string;
|
|
1446
|
-
phone: string;
|
|
1447
|
-
createdAt: string | Date;
|
|
1448
1662
|
id: string;
|
|
1663
|
+
createdAt: string | Date;
|
|
1449
1664
|
updatedAt: string | Date;
|
|
1665
|
+
firstName: string;
|
|
1666
|
+
lastName: string;
|
|
1667
|
+
email: string;
|
|
1668
|
+
phoneNumbers?: {
|
|
1669
|
+
id: string;
|
|
1670
|
+
phoneNumber: string;
|
|
1671
|
+
description?: string | null | undefined;
|
|
1672
|
+
isPrimary?: boolean | undefined;
|
|
1673
|
+
}[] | undefined;
|
|
1450
1674
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1451
1675
|
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;
|
|
1452
1676
|
} | undefined;
|
|
1453
|
-
lead?: {
|
|
1454
|
-
name: string;
|
|
1455
|
-
phoneNumber: string;
|
|
1456
|
-
} | undefined;
|
|
1457
1677
|
} | null | undefined;
|
|
1458
1678
|
}>, "many">;
|
|
1459
1679
|
totalCount: z.ZodNumber;
|
|
@@ -1464,48 +1684,53 @@ export declare const callHistoryContract: {
|
|
|
1464
1684
|
}, "strip", z.ZodTypeAny, {
|
|
1465
1685
|
limit: number;
|
|
1466
1686
|
items: {
|
|
1467
|
-
createdAt: string;
|
|
1468
1687
|
id: string;
|
|
1688
|
+
createdAt: string;
|
|
1469
1689
|
updatedAt: string;
|
|
1470
|
-
rating: CallRating;
|
|
1471
|
-
notes: string | null;
|
|
1472
1690
|
assignmentId: string;
|
|
1473
1691
|
callDate: string;
|
|
1474
1692
|
callType: CallType;
|
|
1693
|
+
rating: CallRating;
|
|
1475
1694
|
ratingWeight: number;
|
|
1476
|
-
|
|
1695
|
+
notes: string | null;
|
|
1477
1696
|
leadId?: string | undefined;
|
|
1697
|
+
agentId?: string | undefined;
|
|
1478
1698
|
assignment?: {
|
|
1479
|
-
createdAt: string;
|
|
1480
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1481
1699
|
id: string;
|
|
1700
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1701
|
+
createdAt: string;
|
|
1482
1702
|
updatedAt: string;
|
|
1703
|
+
leadId: string;
|
|
1483
1704
|
agentId: string | null;
|
|
1484
1705
|
companyId: string | null;
|
|
1485
|
-
leadId: string;
|
|
1486
1706
|
assignedAt: string;
|
|
1487
1707
|
assignedBy: string | null;
|
|
1488
1708
|
company?: {
|
|
1489
|
-
createdAt: string;
|
|
1490
1709
|
id: string;
|
|
1710
|
+
createdAt: string;
|
|
1491
1711
|
updatedAt: string;
|
|
1492
1712
|
name: string;
|
|
1493
1713
|
} | null | undefined;
|
|
1714
|
+
lead?: {
|
|
1715
|
+
phoneNumber: string;
|
|
1716
|
+
name: string;
|
|
1717
|
+
} | undefined;
|
|
1494
1718
|
agent?: {
|
|
1495
|
-
lastName: string;
|
|
1496
|
-
firstName: string;
|
|
1497
|
-
email: string;
|
|
1498
|
-
phone: string;
|
|
1499
|
-
createdAt: string;
|
|
1500
1719
|
id: string;
|
|
1720
|
+
createdAt: string;
|
|
1501
1721
|
updatedAt: string;
|
|
1722
|
+
firstName: string;
|
|
1723
|
+
lastName: string;
|
|
1724
|
+
email: string;
|
|
1725
|
+
phoneNumbers: {
|
|
1726
|
+
id: string;
|
|
1727
|
+
phoneNumber: string;
|
|
1728
|
+
isPrimary: boolean;
|
|
1729
|
+
description?: string | null | undefined;
|
|
1730
|
+
}[];
|
|
1502
1731
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1503
1732
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1504
1733
|
} | undefined;
|
|
1505
|
-
lead?: {
|
|
1506
|
-
name: string;
|
|
1507
|
-
phoneNumber: string;
|
|
1508
|
-
} | undefined;
|
|
1509
1734
|
} | null | undefined;
|
|
1510
1735
|
}[];
|
|
1511
1736
|
totalCount: number;
|
|
@@ -1515,48 +1740,53 @@ export declare const callHistoryContract: {
|
|
|
1515
1740
|
}, {
|
|
1516
1741
|
limit: number;
|
|
1517
1742
|
items: {
|
|
1518
|
-
createdAt: string | Date;
|
|
1519
1743
|
id: string;
|
|
1744
|
+
createdAt: string | Date;
|
|
1520
1745
|
updatedAt: string | Date;
|
|
1521
|
-
rating: CallRating;
|
|
1522
|
-
notes: string | null;
|
|
1523
1746
|
assignmentId: string;
|
|
1524
1747
|
callDate: string | Date;
|
|
1525
1748
|
callType: CallType;
|
|
1749
|
+
rating: CallRating;
|
|
1526
1750
|
ratingWeight: number;
|
|
1527
|
-
|
|
1751
|
+
notes: string | null;
|
|
1528
1752
|
leadId?: string | undefined;
|
|
1753
|
+
agentId?: string | undefined;
|
|
1529
1754
|
assignment?: {
|
|
1530
|
-
createdAt: string | Date;
|
|
1531
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1532
1755
|
id: string;
|
|
1756
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1757
|
+
createdAt: string | Date;
|
|
1533
1758
|
updatedAt: string | Date;
|
|
1759
|
+
leadId: string;
|
|
1534
1760
|
agentId: string | null;
|
|
1535
1761
|
companyId: string | null;
|
|
1536
|
-
leadId: string;
|
|
1537
1762
|
assignedAt: string | Date;
|
|
1538
1763
|
assignedBy: string | null;
|
|
1539
1764
|
company?: {
|
|
1540
|
-
createdAt: string | Date;
|
|
1541
1765
|
id: string;
|
|
1766
|
+
createdAt: string | Date;
|
|
1542
1767
|
updatedAt: string | Date;
|
|
1543
1768
|
name: string;
|
|
1544
1769
|
} | null | undefined;
|
|
1770
|
+
lead?: {
|
|
1771
|
+
phoneNumber: string;
|
|
1772
|
+
name: string;
|
|
1773
|
+
} | undefined;
|
|
1545
1774
|
agent?: {
|
|
1546
|
-
lastName: string;
|
|
1547
|
-
firstName: string;
|
|
1548
|
-
email: string;
|
|
1549
|
-
phone: string;
|
|
1550
|
-
createdAt: string | Date;
|
|
1551
1775
|
id: string;
|
|
1776
|
+
createdAt: string | Date;
|
|
1552
1777
|
updatedAt: string | Date;
|
|
1778
|
+
firstName: string;
|
|
1779
|
+
lastName: string;
|
|
1780
|
+
email: string;
|
|
1781
|
+
phoneNumbers?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
phoneNumber: string;
|
|
1784
|
+
description?: string | null | undefined;
|
|
1785
|
+
isPrimary?: boolean | undefined;
|
|
1786
|
+
}[] | undefined;
|
|
1553
1787
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1554
1788
|
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;
|
|
1555
1789
|
} | undefined;
|
|
1556
|
-
lead?: {
|
|
1557
|
-
name: string;
|
|
1558
|
-
phoneNumber: string;
|
|
1559
|
-
} | undefined;
|
|
1560
1790
|
} | null | undefined;
|
|
1561
1791
|
}[];
|
|
1562
1792
|
totalCount: number;
|
|
@@ -1693,11 +1923,11 @@ export declare const callHistoryContract: {
|
|
|
1693
1923
|
name: z.ZodString;
|
|
1694
1924
|
phoneNumber: z.ZodString;
|
|
1695
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
name: string;
|
|
1697
1926
|
phoneNumber: string;
|
|
1698
|
-
}, {
|
|
1699
1927
|
name: string;
|
|
1928
|
+
}, {
|
|
1700
1929
|
phoneNumber: string;
|
|
1930
|
+
name: string;
|
|
1701
1931
|
}>>;
|
|
1702
1932
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1703
1933
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1705,29 +1935,54 @@ export declare const callHistoryContract: {
|
|
|
1705
1935
|
firstName: z.ZodString;
|
|
1706
1936
|
lastName: z.ZodString;
|
|
1707
1937
|
email: z.ZodString;
|
|
1708
|
-
|
|
1938
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1939
|
+
id: z.ZodString;
|
|
1940
|
+
phoneNumber: z.ZodString;
|
|
1941
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1942
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1943
|
+
}, "strip", z.ZodTypeAny, {
|
|
1944
|
+
id: string;
|
|
1945
|
+
phoneNumber: string;
|
|
1946
|
+
isPrimary: boolean;
|
|
1947
|
+
description?: string | null | undefined;
|
|
1948
|
+
}, {
|
|
1949
|
+
id: string;
|
|
1950
|
+
phoneNumber: string;
|
|
1951
|
+
description?: string | null | undefined;
|
|
1952
|
+
isPrimary?: boolean | undefined;
|
|
1953
|
+
}>, "many">>>;
|
|
1709
1954
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1710
1955
|
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"]>>>;
|
|
1711
1956
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1712
1957
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1713
1958
|
}, "strip", z.ZodTypeAny, {
|
|
1714
|
-
lastName: string;
|
|
1715
|
-
firstName: string;
|
|
1716
|
-
email: string;
|
|
1717
|
-
phone: string;
|
|
1718
|
-
createdAt: string;
|
|
1719
1959
|
id: string;
|
|
1960
|
+
createdAt: string;
|
|
1720
1961
|
updatedAt: string;
|
|
1962
|
+
firstName: string;
|
|
1963
|
+
lastName: string;
|
|
1964
|
+
email: string;
|
|
1965
|
+
phoneNumbers: {
|
|
1966
|
+
id: string;
|
|
1967
|
+
phoneNumber: string;
|
|
1968
|
+
isPrimary: boolean;
|
|
1969
|
+
description?: string | null | undefined;
|
|
1970
|
+
}[];
|
|
1721
1971
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1722
1972
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1723
1973
|
}, {
|
|
1724
|
-
lastName: string;
|
|
1725
|
-
firstName: string;
|
|
1726
|
-
email: string;
|
|
1727
|
-
phone: string;
|
|
1728
|
-
createdAt: string | Date;
|
|
1729
1974
|
id: string;
|
|
1975
|
+
createdAt: string | Date;
|
|
1730
1976
|
updatedAt: string | Date;
|
|
1977
|
+
firstName: string;
|
|
1978
|
+
lastName: string;
|
|
1979
|
+
email: string;
|
|
1980
|
+
phoneNumbers?: {
|
|
1981
|
+
id: string;
|
|
1982
|
+
phoneNumber: string;
|
|
1983
|
+
description?: string | null | undefined;
|
|
1984
|
+
isPrimary?: boolean | undefined;
|
|
1985
|
+
}[] | undefined;
|
|
1731
1986
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1732
1987
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1733
1988
|
}>>;
|
|
@@ -1741,80 +1996,90 @@ export declare const callHistoryContract: {
|
|
|
1741
1996
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1742
1997
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1743
1998
|
}, "strip", z.ZodTypeAny, {
|
|
1744
|
-
createdAt: string;
|
|
1745
1999
|
id: string;
|
|
2000
|
+
createdAt: string;
|
|
1746
2001
|
updatedAt: string;
|
|
1747
2002
|
name: string;
|
|
1748
2003
|
}, {
|
|
1749
|
-
createdAt: string | Date;
|
|
1750
2004
|
id: string;
|
|
2005
|
+
createdAt: string | Date;
|
|
1751
2006
|
updatedAt: string | Date;
|
|
1752
2007
|
name: string;
|
|
1753
2008
|
}>>>;
|
|
1754
2009
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1755
2010
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1756
2011
|
}, "strip", z.ZodTypeAny, {
|
|
1757
|
-
createdAt: string;
|
|
1758
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1759
2012
|
id: string;
|
|
2013
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2014
|
+
createdAt: string;
|
|
1760
2015
|
updatedAt: string;
|
|
2016
|
+
leadId: string;
|
|
1761
2017
|
agentId: string | null;
|
|
1762
2018
|
companyId: string | null;
|
|
1763
|
-
leadId: string;
|
|
1764
2019
|
assignedAt: string;
|
|
1765
2020
|
assignedBy: string | null;
|
|
1766
2021
|
company?: {
|
|
1767
|
-
createdAt: string;
|
|
1768
2022
|
id: string;
|
|
2023
|
+
createdAt: string;
|
|
1769
2024
|
updatedAt: string;
|
|
1770
2025
|
name: string;
|
|
1771
2026
|
} | null | undefined;
|
|
2027
|
+
lead?: {
|
|
2028
|
+
phoneNumber: string;
|
|
2029
|
+
name: string;
|
|
2030
|
+
} | undefined;
|
|
1772
2031
|
agent?: {
|
|
1773
|
-
lastName: string;
|
|
1774
|
-
firstName: string;
|
|
1775
|
-
email: string;
|
|
1776
|
-
phone: string;
|
|
1777
|
-
createdAt: string;
|
|
1778
2032
|
id: string;
|
|
2033
|
+
createdAt: string;
|
|
1779
2034
|
updatedAt: string;
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
2035
|
+
firstName: string;
|
|
2036
|
+
lastName: string;
|
|
2037
|
+
email: string;
|
|
2038
|
+
phoneNumbers: {
|
|
2039
|
+
id: string;
|
|
2040
|
+
phoneNumber: string;
|
|
2041
|
+
isPrimary: boolean;
|
|
2042
|
+
description?: string | null | undefined;
|
|
2043
|
+
}[];
|
|
2044
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2045
|
+
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;
|
|
1786
2046
|
} | undefined;
|
|
1787
2047
|
}, {
|
|
1788
|
-
createdAt: string | Date;
|
|
1789
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1790
2048
|
id: string;
|
|
2049
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2050
|
+
createdAt: string | Date;
|
|
1791
2051
|
updatedAt: string | Date;
|
|
2052
|
+
leadId: string;
|
|
1792
2053
|
agentId: string | null;
|
|
1793
2054
|
companyId: string | null;
|
|
1794
|
-
leadId: string;
|
|
1795
2055
|
assignedAt: string | Date;
|
|
1796
2056
|
assignedBy: string | null;
|
|
1797
2057
|
company?: {
|
|
1798
|
-
createdAt: string | Date;
|
|
1799
2058
|
id: string;
|
|
2059
|
+
createdAt: string | Date;
|
|
1800
2060
|
updatedAt: string | Date;
|
|
1801
2061
|
name: string;
|
|
1802
2062
|
} | null | undefined;
|
|
2063
|
+
lead?: {
|
|
2064
|
+
phoneNumber: string;
|
|
2065
|
+
name: string;
|
|
2066
|
+
} | undefined;
|
|
1803
2067
|
agent?: {
|
|
1804
|
-
lastName: string;
|
|
1805
|
-
firstName: string;
|
|
1806
|
-
email: string;
|
|
1807
|
-
phone: string;
|
|
1808
|
-
createdAt: string | Date;
|
|
1809
2068
|
id: string;
|
|
2069
|
+
createdAt: string | Date;
|
|
1810
2070
|
updatedAt: string | Date;
|
|
2071
|
+
firstName: string;
|
|
2072
|
+
lastName: string;
|
|
2073
|
+
email: string;
|
|
2074
|
+
phoneNumbers?: {
|
|
2075
|
+
id: string;
|
|
2076
|
+
phoneNumber: string;
|
|
2077
|
+
description?: string | null | undefined;
|
|
2078
|
+
isPrimary?: boolean | undefined;
|
|
2079
|
+
}[] | undefined;
|
|
1811
2080
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1812
2081
|
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;
|
|
1813
2082
|
} | undefined;
|
|
1814
|
-
lead?: {
|
|
1815
|
-
name: string;
|
|
1816
|
-
phoneNumber: string;
|
|
1817
|
-
} | undefined;
|
|
1818
2083
|
}>>>;
|
|
1819
2084
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
2085
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1824,92 +2089,102 @@ export declare const callHistoryContract: {
|
|
|
1824
2089
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1825
2090
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1826
2091
|
}, "strip", z.ZodTypeAny, {
|
|
1827
|
-
createdAt: string;
|
|
1828
2092
|
id: string;
|
|
2093
|
+
createdAt: string;
|
|
1829
2094
|
updatedAt: string;
|
|
1830
|
-
rating: CallRating;
|
|
1831
|
-
notes: string | null;
|
|
1832
2095
|
assignmentId: string;
|
|
1833
2096
|
callDate: string;
|
|
1834
2097
|
callType: CallType;
|
|
2098
|
+
rating: CallRating;
|
|
1835
2099
|
ratingWeight: number;
|
|
1836
|
-
|
|
2100
|
+
notes: string | null;
|
|
1837
2101
|
leadId?: string | undefined;
|
|
2102
|
+
agentId?: string | undefined;
|
|
1838
2103
|
assignment?: {
|
|
1839
|
-
createdAt: string;
|
|
1840
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1841
2104
|
id: string;
|
|
2105
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2106
|
+
createdAt: string;
|
|
1842
2107
|
updatedAt: string;
|
|
2108
|
+
leadId: string;
|
|
1843
2109
|
agentId: string | null;
|
|
1844
2110
|
companyId: string | null;
|
|
1845
|
-
leadId: string;
|
|
1846
2111
|
assignedAt: string;
|
|
1847
2112
|
assignedBy: string | null;
|
|
1848
2113
|
company?: {
|
|
1849
|
-
createdAt: string;
|
|
1850
2114
|
id: string;
|
|
2115
|
+
createdAt: string;
|
|
1851
2116
|
updatedAt: string;
|
|
1852
2117
|
name: string;
|
|
1853
2118
|
} | null | undefined;
|
|
2119
|
+
lead?: {
|
|
2120
|
+
phoneNumber: string;
|
|
2121
|
+
name: string;
|
|
2122
|
+
} | undefined;
|
|
1854
2123
|
agent?: {
|
|
1855
|
-
lastName: string;
|
|
1856
|
-
firstName: string;
|
|
1857
|
-
email: string;
|
|
1858
|
-
phone: string;
|
|
1859
|
-
createdAt: string;
|
|
1860
2124
|
id: string;
|
|
2125
|
+
createdAt: string;
|
|
1861
2126
|
updatedAt: string;
|
|
2127
|
+
firstName: string;
|
|
2128
|
+
lastName: string;
|
|
2129
|
+
email: string;
|
|
2130
|
+
phoneNumbers: {
|
|
2131
|
+
id: string;
|
|
2132
|
+
phoneNumber: string;
|
|
2133
|
+
isPrimary: boolean;
|
|
2134
|
+
description?: string | null | undefined;
|
|
2135
|
+
}[];
|
|
1862
2136
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1863
2137
|
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;
|
|
1864
2138
|
} | undefined;
|
|
1865
|
-
lead?: {
|
|
1866
|
-
name: string;
|
|
1867
|
-
phoneNumber: string;
|
|
1868
|
-
} | undefined;
|
|
1869
2139
|
} | null | undefined;
|
|
1870
2140
|
}, {
|
|
1871
|
-
createdAt: string | Date;
|
|
1872
2141
|
id: string;
|
|
2142
|
+
createdAt: string | Date;
|
|
1873
2143
|
updatedAt: string | Date;
|
|
1874
|
-
rating: CallRating;
|
|
1875
|
-
notes: string | null;
|
|
1876
2144
|
assignmentId: string;
|
|
1877
2145
|
callDate: string | Date;
|
|
1878
2146
|
callType: CallType;
|
|
2147
|
+
rating: CallRating;
|
|
1879
2148
|
ratingWeight: number;
|
|
1880
|
-
|
|
2149
|
+
notes: string | null;
|
|
1881
2150
|
leadId?: string | undefined;
|
|
2151
|
+
agentId?: string | undefined;
|
|
1882
2152
|
assignment?: {
|
|
1883
|
-
createdAt: string | Date;
|
|
1884
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1885
2153
|
id: string;
|
|
2154
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2155
|
+
createdAt: string | Date;
|
|
1886
2156
|
updatedAt: string | Date;
|
|
2157
|
+
leadId: string;
|
|
1887
2158
|
agentId: string | null;
|
|
1888
2159
|
companyId: string | null;
|
|
1889
|
-
leadId: string;
|
|
1890
2160
|
assignedAt: string | Date;
|
|
1891
2161
|
assignedBy: string | null;
|
|
1892
2162
|
company?: {
|
|
1893
|
-
createdAt: string | Date;
|
|
1894
2163
|
id: string;
|
|
2164
|
+
createdAt: string | Date;
|
|
1895
2165
|
updatedAt: string | Date;
|
|
1896
2166
|
name: string;
|
|
1897
2167
|
} | null | undefined;
|
|
2168
|
+
lead?: {
|
|
2169
|
+
phoneNumber: string;
|
|
2170
|
+
name: string;
|
|
2171
|
+
} | undefined;
|
|
1898
2172
|
agent?: {
|
|
1899
|
-
lastName: string;
|
|
1900
|
-
firstName: string;
|
|
1901
|
-
email: string;
|
|
1902
|
-
phone: string;
|
|
1903
|
-
createdAt: string | Date;
|
|
1904
2173
|
id: string;
|
|
2174
|
+
createdAt: string | Date;
|
|
1905
2175
|
updatedAt: string | Date;
|
|
2176
|
+
firstName: string;
|
|
2177
|
+
lastName: string;
|
|
2178
|
+
email: string;
|
|
2179
|
+
phoneNumbers?: {
|
|
2180
|
+
id: string;
|
|
2181
|
+
phoneNumber: string;
|
|
2182
|
+
description?: string | null | undefined;
|
|
2183
|
+
isPrimary?: boolean | undefined;
|
|
2184
|
+
}[] | undefined;
|
|
1906
2185
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1907
2186
|
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;
|
|
1908
2187
|
} | undefined;
|
|
1909
|
-
lead?: {
|
|
1910
|
-
name: string;
|
|
1911
|
-
phoneNumber: string;
|
|
1912
|
-
} | undefined;
|
|
1913
2188
|
} | null | undefined;
|
|
1914
2189
|
}>;
|
|
1915
2190
|
404: z.ZodObject<{
|
|
@@ -1957,13 +2232,13 @@ export declare const callHistoryContract: {
|
|
|
1957
2232
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
1958
2233
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1959
2234
|
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
callDate?: string | undefined;
|
|
1960
2236
|
rating?: CallRating | undefined;
|
|
1961
2237
|
notes?: string | null | undefined;
|
|
1962
|
-
callDate?: string | undefined;
|
|
1963
2238
|
}, {
|
|
2239
|
+
callDate?: string | undefined;
|
|
1964
2240
|
rating?: CallRating | undefined;
|
|
1965
2241
|
notes?: string | null | undefined;
|
|
1966
|
-
callDate?: string | undefined;
|
|
1967
2242
|
}>;
|
|
1968
2243
|
path: "/v2/call-history/:id";
|
|
1969
2244
|
responses: {
|
|
@@ -2079,11 +2354,11 @@ export declare const callHistoryContract: {
|
|
|
2079
2354
|
name: z.ZodString;
|
|
2080
2355
|
phoneNumber: z.ZodString;
|
|
2081
2356
|
}, "strip", z.ZodTypeAny, {
|
|
2082
|
-
name: string;
|
|
2083
2357
|
phoneNumber: string;
|
|
2084
|
-
}, {
|
|
2085
2358
|
name: string;
|
|
2359
|
+
}, {
|
|
2086
2360
|
phoneNumber: string;
|
|
2361
|
+
name: string;
|
|
2087
2362
|
}>>;
|
|
2088
2363
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2089
2364
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2091,29 +2366,54 @@ export declare const callHistoryContract: {
|
|
|
2091
2366
|
firstName: z.ZodString;
|
|
2092
2367
|
lastName: z.ZodString;
|
|
2093
2368
|
email: z.ZodString;
|
|
2094
|
-
|
|
2369
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2370
|
+
id: z.ZodString;
|
|
2371
|
+
phoneNumber: z.ZodString;
|
|
2372
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2373
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
id: string;
|
|
2376
|
+
phoneNumber: string;
|
|
2377
|
+
isPrimary: boolean;
|
|
2378
|
+
description?: string | null | undefined;
|
|
2379
|
+
}, {
|
|
2380
|
+
id: string;
|
|
2381
|
+
phoneNumber: string;
|
|
2382
|
+
description?: string | null | undefined;
|
|
2383
|
+
isPrimary?: boolean | undefined;
|
|
2384
|
+
}>, "many">>>;
|
|
2095
2385
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2096
2386
|
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"]>>>;
|
|
2097
2387
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2098
2388
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2099
2389
|
}, "strip", z.ZodTypeAny, {
|
|
2100
|
-
lastName: string;
|
|
2101
|
-
firstName: string;
|
|
2102
|
-
email: string;
|
|
2103
|
-
phone: string;
|
|
2104
|
-
createdAt: string;
|
|
2105
2390
|
id: string;
|
|
2391
|
+
createdAt: string;
|
|
2106
2392
|
updatedAt: string;
|
|
2393
|
+
firstName: string;
|
|
2394
|
+
lastName: string;
|
|
2395
|
+
email: string;
|
|
2396
|
+
phoneNumbers: {
|
|
2397
|
+
id: string;
|
|
2398
|
+
phoneNumber: string;
|
|
2399
|
+
isPrimary: boolean;
|
|
2400
|
+
description?: string | null | undefined;
|
|
2401
|
+
}[];
|
|
2107
2402
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2108
2403
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2109
2404
|
}, {
|
|
2110
|
-
lastName: string;
|
|
2111
|
-
firstName: string;
|
|
2112
|
-
email: string;
|
|
2113
|
-
phone: string;
|
|
2114
|
-
createdAt: string | Date;
|
|
2115
2405
|
id: string;
|
|
2406
|
+
createdAt: string | Date;
|
|
2116
2407
|
updatedAt: string | Date;
|
|
2408
|
+
firstName: string;
|
|
2409
|
+
lastName: string;
|
|
2410
|
+
email: string;
|
|
2411
|
+
phoneNumbers?: {
|
|
2412
|
+
id: string;
|
|
2413
|
+
phoneNumber: string;
|
|
2414
|
+
description?: string | null | undefined;
|
|
2415
|
+
isPrimary?: boolean | undefined;
|
|
2416
|
+
}[] | undefined;
|
|
2117
2417
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2118
2418
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2119
2419
|
}>>;
|
|
@@ -2127,80 +2427,90 @@ export declare const callHistoryContract: {
|
|
|
2127
2427
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2128
2428
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2129
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
createdAt: string;
|
|
2131
2430
|
id: string;
|
|
2431
|
+
createdAt: string;
|
|
2132
2432
|
updatedAt: string;
|
|
2133
2433
|
name: string;
|
|
2134
2434
|
}, {
|
|
2135
|
-
createdAt: string | Date;
|
|
2136
2435
|
id: string;
|
|
2436
|
+
createdAt: string | Date;
|
|
2137
2437
|
updatedAt: string | Date;
|
|
2138
2438
|
name: string;
|
|
2139
2439
|
}>>>;
|
|
2140
2440
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2141
2441
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2142
2442
|
}, "strip", z.ZodTypeAny, {
|
|
2143
|
-
createdAt: string;
|
|
2144
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2145
2443
|
id: string;
|
|
2444
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2445
|
+
createdAt: string;
|
|
2146
2446
|
updatedAt: string;
|
|
2447
|
+
leadId: string;
|
|
2147
2448
|
agentId: string | null;
|
|
2148
2449
|
companyId: string | null;
|
|
2149
|
-
leadId: string;
|
|
2150
2450
|
assignedAt: string;
|
|
2151
2451
|
assignedBy: string | null;
|
|
2152
2452
|
company?: {
|
|
2153
|
-
createdAt: string;
|
|
2154
2453
|
id: string;
|
|
2454
|
+
createdAt: string;
|
|
2155
2455
|
updatedAt: string;
|
|
2156
2456
|
name: string;
|
|
2157
2457
|
} | null | undefined;
|
|
2458
|
+
lead?: {
|
|
2459
|
+
phoneNumber: string;
|
|
2460
|
+
name: string;
|
|
2461
|
+
} | undefined;
|
|
2158
2462
|
agent?: {
|
|
2159
|
-
lastName: string;
|
|
2160
|
-
firstName: string;
|
|
2161
|
-
email: string;
|
|
2162
|
-
phone: string;
|
|
2163
|
-
createdAt: string;
|
|
2164
2463
|
id: string;
|
|
2464
|
+
createdAt: string;
|
|
2165
2465
|
updatedAt: string;
|
|
2466
|
+
firstName: string;
|
|
2467
|
+
lastName: string;
|
|
2468
|
+
email: string;
|
|
2469
|
+
phoneNumbers: {
|
|
2470
|
+
id: string;
|
|
2471
|
+
phoneNumber: string;
|
|
2472
|
+
isPrimary: boolean;
|
|
2473
|
+
description?: string | null | undefined;
|
|
2474
|
+
}[];
|
|
2166
2475
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2167
2476
|
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;
|
|
2168
2477
|
} | undefined;
|
|
2169
|
-
lead?: {
|
|
2170
|
-
name: string;
|
|
2171
|
-
phoneNumber: string;
|
|
2172
|
-
} | undefined;
|
|
2173
2478
|
}, {
|
|
2174
|
-
createdAt: string | Date;
|
|
2175
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2176
2479
|
id: string;
|
|
2480
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2481
|
+
createdAt: string | Date;
|
|
2177
2482
|
updatedAt: string | Date;
|
|
2483
|
+
leadId: string;
|
|
2178
2484
|
agentId: string | null;
|
|
2179
2485
|
companyId: string | null;
|
|
2180
|
-
leadId: string;
|
|
2181
2486
|
assignedAt: string | Date;
|
|
2182
2487
|
assignedBy: string | null;
|
|
2183
2488
|
company?: {
|
|
2184
|
-
createdAt: string | Date;
|
|
2185
2489
|
id: string;
|
|
2490
|
+
createdAt: string | Date;
|
|
2186
2491
|
updatedAt: string | Date;
|
|
2187
2492
|
name: string;
|
|
2188
2493
|
} | null | undefined;
|
|
2494
|
+
lead?: {
|
|
2495
|
+
phoneNumber: string;
|
|
2496
|
+
name: string;
|
|
2497
|
+
} | undefined;
|
|
2189
2498
|
agent?: {
|
|
2190
|
-
lastName: string;
|
|
2191
|
-
firstName: string;
|
|
2192
|
-
email: string;
|
|
2193
|
-
phone: string;
|
|
2194
|
-
createdAt: string | Date;
|
|
2195
2499
|
id: string;
|
|
2500
|
+
createdAt: string | Date;
|
|
2196
2501
|
updatedAt: string | Date;
|
|
2502
|
+
firstName: string;
|
|
2503
|
+
lastName: string;
|
|
2504
|
+
email: string;
|
|
2505
|
+
phoneNumbers?: {
|
|
2506
|
+
id: string;
|
|
2507
|
+
phoneNumber: string;
|
|
2508
|
+
description?: string | null | undefined;
|
|
2509
|
+
isPrimary?: boolean | undefined;
|
|
2510
|
+
}[] | undefined;
|
|
2197
2511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2198
2512
|
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;
|
|
2199
2513
|
} | undefined;
|
|
2200
|
-
lead?: {
|
|
2201
|
-
name: string;
|
|
2202
|
-
phoneNumber: string;
|
|
2203
|
-
} | undefined;
|
|
2204
2514
|
}>>>;
|
|
2205
2515
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2206
2516
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2210,92 +2520,102 @@ export declare const callHistoryContract: {
|
|
|
2210
2520
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2211
2521
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2212
2522
|
}, "strip", z.ZodTypeAny, {
|
|
2213
|
-
createdAt: string;
|
|
2214
2523
|
id: string;
|
|
2524
|
+
createdAt: string;
|
|
2215
2525
|
updatedAt: string;
|
|
2216
|
-
rating: CallRating;
|
|
2217
|
-
notes: string | null;
|
|
2218
2526
|
assignmentId: string;
|
|
2219
2527
|
callDate: string;
|
|
2220
2528
|
callType: CallType;
|
|
2529
|
+
rating: CallRating;
|
|
2221
2530
|
ratingWeight: number;
|
|
2222
|
-
|
|
2531
|
+
notes: string | null;
|
|
2223
2532
|
leadId?: string | undefined;
|
|
2533
|
+
agentId?: string | undefined;
|
|
2224
2534
|
assignment?: {
|
|
2225
|
-
createdAt: string;
|
|
2226
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2227
2535
|
id: string;
|
|
2536
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2537
|
+
createdAt: string;
|
|
2228
2538
|
updatedAt: string;
|
|
2539
|
+
leadId: string;
|
|
2229
2540
|
agentId: string | null;
|
|
2230
2541
|
companyId: string | null;
|
|
2231
|
-
leadId: string;
|
|
2232
2542
|
assignedAt: string;
|
|
2233
2543
|
assignedBy: string | null;
|
|
2234
2544
|
company?: {
|
|
2235
|
-
createdAt: string;
|
|
2236
2545
|
id: string;
|
|
2546
|
+
createdAt: string;
|
|
2237
2547
|
updatedAt: string;
|
|
2238
2548
|
name: string;
|
|
2239
2549
|
} | null | undefined;
|
|
2550
|
+
lead?: {
|
|
2551
|
+
phoneNumber: string;
|
|
2552
|
+
name: string;
|
|
2553
|
+
} | undefined;
|
|
2240
2554
|
agent?: {
|
|
2241
|
-
lastName: string;
|
|
2242
|
-
firstName: string;
|
|
2243
|
-
email: string;
|
|
2244
|
-
phone: string;
|
|
2245
|
-
createdAt: string;
|
|
2246
2555
|
id: string;
|
|
2556
|
+
createdAt: string;
|
|
2247
2557
|
updatedAt: string;
|
|
2558
|
+
firstName: string;
|
|
2559
|
+
lastName: string;
|
|
2560
|
+
email: string;
|
|
2561
|
+
phoneNumbers: {
|
|
2562
|
+
id: string;
|
|
2563
|
+
phoneNumber: string;
|
|
2564
|
+
isPrimary: boolean;
|
|
2565
|
+
description?: string | null | undefined;
|
|
2566
|
+
}[];
|
|
2248
2567
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2249
2568
|
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;
|
|
2250
2569
|
} | undefined;
|
|
2251
|
-
lead?: {
|
|
2252
|
-
name: string;
|
|
2253
|
-
phoneNumber: string;
|
|
2254
|
-
} | undefined;
|
|
2255
2570
|
} | null | undefined;
|
|
2256
2571
|
}, {
|
|
2257
|
-
createdAt: string | Date;
|
|
2258
2572
|
id: string;
|
|
2573
|
+
createdAt: string | Date;
|
|
2259
2574
|
updatedAt: string | Date;
|
|
2260
|
-
rating: CallRating;
|
|
2261
|
-
notes: string | null;
|
|
2262
2575
|
assignmentId: string;
|
|
2263
2576
|
callDate: string | Date;
|
|
2264
2577
|
callType: CallType;
|
|
2578
|
+
rating: CallRating;
|
|
2265
2579
|
ratingWeight: number;
|
|
2266
|
-
|
|
2580
|
+
notes: string | null;
|
|
2267
2581
|
leadId?: string | undefined;
|
|
2582
|
+
agentId?: string | undefined;
|
|
2268
2583
|
assignment?: {
|
|
2269
|
-
createdAt: string | Date;
|
|
2270
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2271
2584
|
id: string;
|
|
2585
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2586
|
+
createdAt: string | Date;
|
|
2272
2587
|
updatedAt: string | Date;
|
|
2588
|
+
leadId: string;
|
|
2273
2589
|
agentId: string | null;
|
|
2274
2590
|
companyId: string | null;
|
|
2275
|
-
leadId: string;
|
|
2276
2591
|
assignedAt: string | Date;
|
|
2277
2592
|
assignedBy: string | null;
|
|
2278
2593
|
company?: {
|
|
2279
|
-
createdAt: string | Date;
|
|
2280
2594
|
id: string;
|
|
2595
|
+
createdAt: string | Date;
|
|
2281
2596
|
updatedAt: string | Date;
|
|
2282
2597
|
name: string;
|
|
2283
2598
|
} | null | undefined;
|
|
2599
|
+
lead?: {
|
|
2600
|
+
phoneNumber: string;
|
|
2601
|
+
name: string;
|
|
2602
|
+
} | undefined;
|
|
2284
2603
|
agent?: {
|
|
2285
|
-
lastName: string;
|
|
2286
|
-
firstName: string;
|
|
2287
|
-
email: string;
|
|
2288
|
-
phone: string;
|
|
2289
|
-
createdAt: string | Date;
|
|
2290
2604
|
id: string;
|
|
2605
|
+
createdAt: string | Date;
|
|
2291
2606
|
updatedAt: string | Date;
|
|
2607
|
+
firstName: string;
|
|
2608
|
+
lastName: string;
|
|
2609
|
+
email: string;
|
|
2610
|
+
phoneNumbers?: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
phoneNumber: string;
|
|
2613
|
+
description?: string | null | undefined;
|
|
2614
|
+
isPrimary?: boolean | undefined;
|
|
2615
|
+
}[] | undefined;
|
|
2292
2616
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2293
2617
|
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;
|
|
2294
2618
|
} | undefined;
|
|
2295
|
-
lead?: {
|
|
2296
|
-
name: string;
|
|
2297
|
-
phoneNumber: string;
|
|
2298
|
-
} | undefined;
|
|
2299
2619
|
} | null | undefined;
|
|
2300
2620
|
}>;
|
|
2301
2621
|
404: z.ZodObject<{
|