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