@dakkitor/api-contracts 1.1.39 → 1.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/first-agent.abilities.json +4 -0
- package/dist/actives/actives.contract.d.ts +2609 -2563
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +82 -24
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +2349 -2310
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +645 -599
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +336 -288
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +198 -174
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +136 -136
- package/dist/users/users.contract.d.ts +42 -0
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +24 -1
- package/package.json +1 -1
|
@@ -36,26 +36,29 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
36
36
|
email: z.ZodString;
|
|
37
37
|
phone: z.ZodString;
|
|
38
38
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
39
|
+
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"]>>>;
|
|
39
40
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
40
41
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
41
42
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
id: string;
|
|
43
|
-
createdAt: string;
|
|
44
|
-
updatedAt: string;
|
|
45
|
-
firstName: string;
|
|
46
43
|
lastName: string;
|
|
44
|
+
firstName: string;
|
|
47
45
|
email: string;
|
|
48
46
|
phone: string;
|
|
47
|
+
createdAt: string;
|
|
48
|
+
id: string;
|
|
49
|
+
updatedAt: string;
|
|
49
50
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
51
|
+
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;
|
|
50
52
|
}, {
|
|
51
|
-
id: string;
|
|
52
|
-
createdAt: string | Date;
|
|
53
|
-
updatedAt: string | Date;
|
|
54
|
-
firstName: string;
|
|
55
53
|
lastName: string;
|
|
54
|
+
firstName: string;
|
|
56
55
|
email: string;
|
|
57
56
|
phone: string;
|
|
57
|
+
createdAt: string | Date;
|
|
58
|
+
id: string;
|
|
59
|
+
updatedAt: string | Date;
|
|
58
60
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
61
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
59
62
|
}>>;
|
|
60
63
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
61
64
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -67,22 +70,22 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
67
70
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
68
71
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
69
72
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
id: string;
|
|
71
|
-
name: string;
|
|
72
73
|
createdAt: string;
|
|
73
|
-
updatedAt: string;
|
|
74
|
-
}, {
|
|
75
74
|
id: string;
|
|
75
|
+
updatedAt: string;
|
|
76
76
|
name: string;
|
|
77
|
+
}, {
|
|
77
78
|
createdAt: string | Date;
|
|
79
|
+
id: string;
|
|
78
80
|
updatedAt: string | Date;
|
|
81
|
+
name: string;
|
|
79
82
|
}>>>;
|
|
80
83
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
84
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
85
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
id: string;
|
|
84
|
-
status: LeadAssignmentStatus;
|
|
85
86
|
createdAt: string;
|
|
87
|
+
status: LeadAssignmentStatus;
|
|
88
|
+
id: string;
|
|
86
89
|
updatedAt: string;
|
|
87
90
|
agentId: string | null;
|
|
88
91
|
companyId: string | null;
|
|
@@ -90,29 +93,30 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
90
93
|
assignedAt: string;
|
|
91
94
|
assignedBy: string | null;
|
|
92
95
|
company?: {
|
|
93
|
-
id: string;
|
|
94
|
-
name: string;
|
|
95
96
|
createdAt: string;
|
|
97
|
+
id: string;
|
|
96
98
|
updatedAt: string;
|
|
99
|
+
name: string;
|
|
97
100
|
} | null | undefined;
|
|
98
101
|
agent?: {
|
|
99
|
-
id: string;
|
|
100
|
-
createdAt: string;
|
|
101
|
-
updatedAt: string;
|
|
102
|
-
firstName: string;
|
|
103
102
|
lastName: string;
|
|
103
|
+
firstName: string;
|
|
104
104
|
email: string;
|
|
105
105
|
phone: string;
|
|
106
|
+
createdAt: string;
|
|
107
|
+
id: string;
|
|
108
|
+
updatedAt: string;
|
|
106
109
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
110
|
+
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;
|
|
107
111
|
} | undefined;
|
|
108
112
|
lead?: {
|
|
109
113
|
name: string;
|
|
110
114
|
phoneNumber: string;
|
|
111
115
|
} | undefined;
|
|
112
116
|
}, {
|
|
113
|
-
id: string;
|
|
114
|
-
status: LeadAssignmentStatus;
|
|
115
117
|
createdAt: string | Date;
|
|
118
|
+
status: LeadAssignmentStatus;
|
|
119
|
+
id: string;
|
|
116
120
|
updatedAt: string | Date;
|
|
117
121
|
agentId: string | null;
|
|
118
122
|
companyId: string | null;
|
|
@@ -120,20 +124,21 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
120
124
|
assignedAt: string | Date;
|
|
121
125
|
assignedBy: string | null;
|
|
122
126
|
company?: {
|
|
123
|
-
id: string;
|
|
124
|
-
name: string;
|
|
125
127
|
createdAt: string | Date;
|
|
128
|
+
id: string;
|
|
126
129
|
updatedAt: string | Date;
|
|
130
|
+
name: string;
|
|
127
131
|
} | null | undefined;
|
|
128
132
|
agent?: {
|
|
129
|
-
id: string;
|
|
130
|
-
createdAt: string | Date;
|
|
131
|
-
updatedAt: string | Date;
|
|
132
|
-
firstName: string;
|
|
133
133
|
lastName: string;
|
|
134
|
+
firstName: string;
|
|
134
135
|
email: string;
|
|
135
136
|
phone: string;
|
|
137
|
+
createdAt: string | Date;
|
|
138
|
+
id: string;
|
|
139
|
+
updatedAt: string | Date;
|
|
136
140
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
141
|
+
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;
|
|
137
142
|
} | undefined;
|
|
138
143
|
lead?: {
|
|
139
144
|
name: string;
|
|
@@ -172,26 +177,29 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
172
177
|
email: z.ZodString;
|
|
173
178
|
phone: z.ZodString;
|
|
174
179
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
180
|
+
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"]>>>;
|
|
175
181
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
176
182
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
177
183
|
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
id: string;
|
|
179
|
-
createdAt: string;
|
|
180
|
-
updatedAt: string;
|
|
181
|
-
firstName: string;
|
|
182
184
|
lastName: string;
|
|
185
|
+
firstName: string;
|
|
183
186
|
email: string;
|
|
184
187
|
phone: string;
|
|
188
|
+
createdAt: string;
|
|
189
|
+
id: string;
|
|
190
|
+
updatedAt: string;
|
|
185
191
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
192
|
+
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;
|
|
186
193
|
}, {
|
|
187
|
-
id: string;
|
|
188
|
-
createdAt: string | Date;
|
|
189
|
-
updatedAt: string | Date;
|
|
190
|
-
firstName: string;
|
|
191
194
|
lastName: string;
|
|
195
|
+
firstName: string;
|
|
192
196
|
email: string;
|
|
193
197
|
phone: string;
|
|
198
|
+
createdAt: string | Date;
|
|
199
|
+
id: string;
|
|
200
|
+
updatedAt: string | Date;
|
|
194
201
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
202
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
195
203
|
}>>;
|
|
196
204
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
197
205
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -203,22 +211,22 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
203
211
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
204
212
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
205
213
|
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
id: string;
|
|
207
|
-
name: string;
|
|
208
214
|
createdAt: string;
|
|
209
|
-
updatedAt: string;
|
|
210
|
-
}, {
|
|
211
215
|
id: string;
|
|
216
|
+
updatedAt: string;
|
|
212
217
|
name: string;
|
|
218
|
+
}, {
|
|
213
219
|
createdAt: string | Date;
|
|
220
|
+
id: string;
|
|
214
221
|
updatedAt: string | Date;
|
|
222
|
+
name: string;
|
|
215
223
|
}>>>;
|
|
216
224
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
217
225
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
218
226
|
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
id: string;
|
|
220
|
-
status: LeadAssignmentStatus;
|
|
221
227
|
createdAt: string;
|
|
228
|
+
status: LeadAssignmentStatus;
|
|
229
|
+
id: string;
|
|
222
230
|
updatedAt: string;
|
|
223
231
|
agentId: string | null;
|
|
224
232
|
companyId: string | null;
|
|
@@ -226,29 +234,30 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
226
234
|
assignedAt: string;
|
|
227
235
|
assignedBy: string | null;
|
|
228
236
|
company?: {
|
|
229
|
-
id: string;
|
|
230
|
-
name: string;
|
|
231
237
|
createdAt: string;
|
|
238
|
+
id: string;
|
|
232
239
|
updatedAt: string;
|
|
240
|
+
name: string;
|
|
233
241
|
} | null | undefined;
|
|
234
242
|
agent?: {
|
|
235
|
-
id: string;
|
|
236
|
-
createdAt: string;
|
|
237
|
-
updatedAt: string;
|
|
238
|
-
firstName: string;
|
|
239
243
|
lastName: string;
|
|
244
|
+
firstName: string;
|
|
240
245
|
email: string;
|
|
241
246
|
phone: string;
|
|
247
|
+
createdAt: string;
|
|
248
|
+
id: string;
|
|
249
|
+
updatedAt: string;
|
|
242
250
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
251
|
+
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;
|
|
243
252
|
} | undefined;
|
|
244
253
|
lead?: {
|
|
245
254
|
name: string;
|
|
246
255
|
phoneNumber: string;
|
|
247
256
|
} | undefined;
|
|
248
257
|
}, {
|
|
249
|
-
id: string;
|
|
250
|
-
status: LeadAssignmentStatus;
|
|
251
258
|
createdAt: string | Date;
|
|
259
|
+
status: LeadAssignmentStatus;
|
|
260
|
+
id: string;
|
|
252
261
|
updatedAt: string | Date;
|
|
253
262
|
agentId: string | null;
|
|
254
263
|
companyId: string | null;
|
|
@@ -256,20 +265,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
256
265
|
assignedAt: string | Date;
|
|
257
266
|
assignedBy: string | null;
|
|
258
267
|
company?: {
|
|
259
|
-
id: string;
|
|
260
|
-
name: string;
|
|
261
268
|
createdAt: string | Date;
|
|
269
|
+
id: string;
|
|
262
270
|
updatedAt: string | Date;
|
|
271
|
+
name: string;
|
|
263
272
|
} | null | undefined;
|
|
264
273
|
agent?: {
|
|
265
|
-
id: string;
|
|
266
|
-
createdAt: string | Date;
|
|
267
|
-
updatedAt: string | Date;
|
|
268
|
-
firstName: string;
|
|
269
274
|
lastName: string;
|
|
275
|
+
firstName: string;
|
|
270
276
|
email: string;
|
|
271
277
|
phone: string;
|
|
278
|
+
createdAt: string | Date;
|
|
279
|
+
id: string;
|
|
280
|
+
updatedAt: string | Date;
|
|
272
281
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
282
|
+
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;
|
|
273
283
|
} | undefined;
|
|
274
284
|
lead?: {
|
|
275
285
|
name: string;
|
|
@@ -297,26 +307,29 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
297
307
|
email: z.ZodString;
|
|
298
308
|
phone: z.ZodString;
|
|
299
309
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
310
|
+
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"]>>>;
|
|
300
311
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
301
312
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
302
313
|
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
id: string;
|
|
304
|
-
createdAt: string;
|
|
305
|
-
updatedAt: string;
|
|
306
|
-
firstName: string;
|
|
307
314
|
lastName: string;
|
|
315
|
+
firstName: string;
|
|
308
316
|
email: string;
|
|
309
317
|
phone: string;
|
|
318
|
+
createdAt: string;
|
|
319
|
+
id: string;
|
|
320
|
+
updatedAt: string;
|
|
310
321
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
322
|
+
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;
|
|
311
323
|
}, {
|
|
312
|
-
id: string;
|
|
313
|
-
createdAt: string | Date;
|
|
314
|
-
updatedAt: string | Date;
|
|
315
|
-
firstName: string;
|
|
316
324
|
lastName: string;
|
|
325
|
+
firstName: string;
|
|
317
326
|
email: string;
|
|
318
327
|
phone: string;
|
|
328
|
+
createdAt: string | Date;
|
|
329
|
+
id: string;
|
|
330
|
+
updatedAt: string | Date;
|
|
319
331
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
332
|
+
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;
|
|
320
333
|
}>>;
|
|
321
334
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
322
335
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -328,22 +341,22 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
328
341
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
329
342
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
330
343
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
id: string;
|
|
332
|
-
name: string;
|
|
333
344
|
createdAt: string;
|
|
334
|
-
updatedAt: string;
|
|
335
|
-
}, {
|
|
336
345
|
id: string;
|
|
346
|
+
updatedAt: string;
|
|
337
347
|
name: string;
|
|
348
|
+
}, {
|
|
338
349
|
createdAt: string | Date;
|
|
350
|
+
id: string;
|
|
339
351
|
updatedAt: string | Date;
|
|
352
|
+
name: string;
|
|
340
353
|
}>>>;
|
|
341
354
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
342
355
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
343
356
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
id: string;
|
|
345
|
-
status: LeadAssignmentStatus;
|
|
346
357
|
createdAt: string;
|
|
358
|
+
status: LeadAssignmentStatus;
|
|
359
|
+
id: string;
|
|
347
360
|
updatedAt: string;
|
|
348
361
|
agentId: string | null;
|
|
349
362
|
companyId: string | null;
|
|
@@ -351,29 +364,30 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
351
364
|
assignedAt: string;
|
|
352
365
|
assignedBy: string | null;
|
|
353
366
|
company?: {
|
|
354
|
-
id: string;
|
|
355
|
-
name: string;
|
|
356
367
|
createdAt: string;
|
|
368
|
+
id: string;
|
|
357
369
|
updatedAt: string;
|
|
370
|
+
name: string;
|
|
358
371
|
} | null | undefined;
|
|
359
372
|
agent?: {
|
|
360
|
-
id: string;
|
|
361
|
-
createdAt: string;
|
|
362
|
-
updatedAt: string;
|
|
363
|
-
firstName: string;
|
|
364
373
|
lastName: string;
|
|
374
|
+
firstName: string;
|
|
365
375
|
email: string;
|
|
366
376
|
phone: string;
|
|
377
|
+
createdAt: string;
|
|
378
|
+
id: string;
|
|
379
|
+
updatedAt: string;
|
|
367
380
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
381
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
368
382
|
} | undefined;
|
|
369
383
|
lead?: {
|
|
370
384
|
name: string;
|
|
371
385
|
phoneNumber: string;
|
|
372
386
|
} | undefined;
|
|
373
387
|
}, {
|
|
374
|
-
id: string;
|
|
375
|
-
status: LeadAssignmentStatus;
|
|
376
388
|
createdAt: string | Date;
|
|
389
|
+
status: LeadAssignmentStatus;
|
|
390
|
+
id: string;
|
|
377
391
|
updatedAt: string | Date;
|
|
378
392
|
agentId: string | null;
|
|
379
393
|
companyId: string | null;
|
|
@@ -381,20 +395,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
381
395
|
assignedAt: string | Date;
|
|
382
396
|
assignedBy: string | null;
|
|
383
397
|
company?: {
|
|
384
|
-
id: string;
|
|
385
|
-
name: string;
|
|
386
398
|
createdAt: string | Date;
|
|
399
|
+
id: string;
|
|
387
400
|
updatedAt: string | Date;
|
|
401
|
+
name: string;
|
|
388
402
|
} | null | undefined;
|
|
389
403
|
agent?: {
|
|
390
|
-
id: string;
|
|
391
|
-
createdAt: string | Date;
|
|
392
|
-
updatedAt: string | Date;
|
|
393
|
-
firstName: string;
|
|
394
404
|
lastName: string;
|
|
405
|
+
firstName: string;
|
|
395
406
|
email: string;
|
|
396
407
|
phone: string;
|
|
408
|
+
createdAt: string | Date;
|
|
409
|
+
id: string;
|
|
410
|
+
updatedAt: string | Date;
|
|
397
411
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
412
|
+
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;
|
|
398
413
|
} | undefined;
|
|
399
414
|
lead?: {
|
|
400
415
|
name: string;
|
|
@@ -403,9 +418,9 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
403
418
|
}>>;
|
|
404
419
|
}, "strip", z.ZodTypeAny, {
|
|
405
420
|
completed: {
|
|
406
|
-
id: string;
|
|
407
|
-
status: LeadAssignmentStatus;
|
|
408
421
|
createdAt: string;
|
|
422
|
+
status: LeadAssignmentStatus;
|
|
423
|
+
id: string;
|
|
409
424
|
updatedAt: string;
|
|
410
425
|
agentId: string | null;
|
|
411
426
|
companyId: string | null;
|
|
@@ -413,20 +428,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
413
428
|
assignedAt: string;
|
|
414
429
|
assignedBy: string | null;
|
|
415
430
|
company?: {
|
|
416
|
-
id: string;
|
|
417
|
-
name: string;
|
|
418
431
|
createdAt: string;
|
|
432
|
+
id: string;
|
|
419
433
|
updatedAt: string;
|
|
434
|
+
name: string;
|
|
420
435
|
} | null | undefined;
|
|
421
436
|
agent?: {
|
|
422
|
-
id: string;
|
|
423
|
-
createdAt: string;
|
|
424
|
-
updatedAt: string;
|
|
425
|
-
firstName: string;
|
|
426
437
|
lastName: string;
|
|
438
|
+
firstName: string;
|
|
427
439
|
email: string;
|
|
428
440
|
phone: string;
|
|
441
|
+
createdAt: string;
|
|
442
|
+
id: string;
|
|
443
|
+
updatedAt: string;
|
|
429
444
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
445
|
+
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;
|
|
430
446
|
} | undefined;
|
|
431
447
|
lead?: {
|
|
432
448
|
name: string;
|
|
@@ -434,9 +450,9 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
434
450
|
} | undefined;
|
|
435
451
|
};
|
|
436
452
|
next: {
|
|
437
|
-
id: string;
|
|
438
|
-
status: LeadAssignmentStatus;
|
|
439
453
|
createdAt: string;
|
|
454
|
+
status: LeadAssignmentStatus;
|
|
455
|
+
id: string;
|
|
440
456
|
updatedAt: string;
|
|
441
457
|
agentId: string | null;
|
|
442
458
|
companyId: string | null;
|
|
@@ -444,20 +460,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
444
460
|
assignedAt: string;
|
|
445
461
|
assignedBy: string | null;
|
|
446
462
|
company?: {
|
|
447
|
-
id: string;
|
|
448
|
-
name: string;
|
|
449
463
|
createdAt: string;
|
|
464
|
+
id: string;
|
|
450
465
|
updatedAt: string;
|
|
466
|
+
name: string;
|
|
451
467
|
} | null | undefined;
|
|
452
468
|
agent?: {
|
|
453
|
-
id: string;
|
|
454
|
-
createdAt: string;
|
|
455
|
-
updatedAt: string;
|
|
456
|
-
firstName: string;
|
|
457
469
|
lastName: string;
|
|
470
|
+
firstName: string;
|
|
458
471
|
email: string;
|
|
459
472
|
phone: string;
|
|
473
|
+
createdAt: string;
|
|
474
|
+
id: string;
|
|
475
|
+
updatedAt: string;
|
|
460
476
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
477
|
+
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;
|
|
461
478
|
} | undefined;
|
|
462
479
|
lead?: {
|
|
463
480
|
name: string;
|
|
@@ -466,9 +483,9 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
466
483
|
} | null;
|
|
467
484
|
}, {
|
|
468
485
|
completed: {
|
|
469
|
-
id: string;
|
|
470
|
-
status: LeadAssignmentStatus;
|
|
471
486
|
createdAt: string | Date;
|
|
487
|
+
status: LeadAssignmentStatus;
|
|
488
|
+
id: string;
|
|
472
489
|
updatedAt: string | Date;
|
|
473
490
|
agentId: string | null;
|
|
474
491
|
companyId: string | null;
|
|
@@ -476,20 +493,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
476
493
|
assignedAt: string | Date;
|
|
477
494
|
assignedBy: string | null;
|
|
478
495
|
company?: {
|
|
479
|
-
id: string;
|
|
480
|
-
name: string;
|
|
481
496
|
createdAt: string | Date;
|
|
497
|
+
id: string;
|
|
482
498
|
updatedAt: string | Date;
|
|
499
|
+
name: string;
|
|
483
500
|
} | null | undefined;
|
|
484
501
|
agent?: {
|
|
485
|
-
id: string;
|
|
486
|
-
createdAt: string | Date;
|
|
487
|
-
updatedAt: string | Date;
|
|
488
|
-
firstName: string;
|
|
489
502
|
lastName: string;
|
|
503
|
+
firstName: string;
|
|
490
504
|
email: string;
|
|
491
505
|
phone: string;
|
|
506
|
+
createdAt: string | Date;
|
|
507
|
+
id: string;
|
|
508
|
+
updatedAt: string | Date;
|
|
492
509
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
510
|
+
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;
|
|
493
511
|
} | undefined;
|
|
494
512
|
lead?: {
|
|
495
513
|
name: string;
|
|
@@ -497,9 +515,9 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
497
515
|
} | undefined;
|
|
498
516
|
};
|
|
499
517
|
next: {
|
|
500
|
-
id: string;
|
|
501
|
-
status: LeadAssignmentStatus;
|
|
502
518
|
createdAt: string | Date;
|
|
519
|
+
status: LeadAssignmentStatus;
|
|
520
|
+
id: string;
|
|
503
521
|
updatedAt: string | Date;
|
|
504
522
|
agentId: string | null;
|
|
505
523
|
companyId: string | null;
|
|
@@ -507,20 +525,21 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
507
525
|
assignedAt: string | Date;
|
|
508
526
|
assignedBy: string | null;
|
|
509
527
|
company?: {
|
|
510
|
-
id: string;
|
|
511
|
-
name: string;
|
|
512
528
|
createdAt: string | Date;
|
|
529
|
+
id: string;
|
|
513
530
|
updatedAt: string | Date;
|
|
531
|
+
name: string;
|
|
514
532
|
} | null | undefined;
|
|
515
533
|
agent?: {
|
|
516
|
-
id: string;
|
|
517
|
-
createdAt: string | Date;
|
|
518
|
-
updatedAt: string | Date;
|
|
519
|
-
firstName: string;
|
|
520
534
|
lastName: string;
|
|
535
|
+
firstName: string;
|
|
521
536
|
email: string;
|
|
522
537
|
phone: string;
|
|
538
|
+
createdAt: string | Date;
|
|
539
|
+
id: string;
|
|
540
|
+
updatedAt: string | Date;
|
|
523
541
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
542
|
+
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;
|
|
524
543
|
} | undefined;
|
|
525
544
|
lead?: {
|
|
526
545
|
name: string;
|
|
@@ -717,26 +736,29 @@ export declare const leadAssignmentsContract: {
|
|
|
717
736
|
email: z.ZodString;
|
|
718
737
|
phone: z.ZodString;
|
|
719
738
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
739
|
+
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"]>>>;
|
|
720
740
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
721
741
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
722
742
|
}, "strip", z.ZodTypeAny, {
|
|
723
|
-
id: string;
|
|
724
|
-
createdAt: string;
|
|
725
|
-
updatedAt: string;
|
|
726
|
-
firstName: string;
|
|
727
743
|
lastName: string;
|
|
744
|
+
firstName: string;
|
|
728
745
|
email: string;
|
|
729
746
|
phone: string;
|
|
747
|
+
createdAt: string;
|
|
748
|
+
id: string;
|
|
749
|
+
updatedAt: string;
|
|
730
750
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
751
|
+
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;
|
|
731
752
|
}, {
|
|
732
|
-
id: string;
|
|
733
|
-
createdAt: string | Date;
|
|
734
|
-
updatedAt: string | Date;
|
|
735
|
-
firstName: string;
|
|
736
753
|
lastName: string;
|
|
754
|
+
firstName: string;
|
|
737
755
|
email: string;
|
|
738
756
|
phone: string;
|
|
757
|
+
createdAt: string | Date;
|
|
758
|
+
id: string;
|
|
759
|
+
updatedAt: string | Date;
|
|
739
760
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
761
|
+
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;
|
|
740
762
|
}>>;
|
|
741
763
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
742
764
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -748,22 +770,22 @@ export declare const leadAssignmentsContract: {
|
|
|
748
770
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
749
771
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
750
772
|
}, "strip", z.ZodTypeAny, {
|
|
751
|
-
id: string;
|
|
752
|
-
name: string;
|
|
753
773
|
createdAt: string;
|
|
754
|
-
updatedAt: string;
|
|
755
|
-
}, {
|
|
756
774
|
id: string;
|
|
775
|
+
updatedAt: string;
|
|
757
776
|
name: string;
|
|
777
|
+
}, {
|
|
758
778
|
createdAt: string | Date;
|
|
779
|
+
id: string;
|
|
759
780
|
updatedAt: string | Date;
|
|
781
|
+
name: string;
|
|
760
782
|
}>>>;
|
|
761
783
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
762
784
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
763
785
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
id: string;
|
|
765
|
-
status: LeadAssignmentStatus;
|
|
766
786
|
createdAt: string;
|
|
787
|
+
status: LeadAssignmentStatus;
|
|
788
|
+
id: string;
|
|
767
789
|
updatedAt: string;
|
|
768
790
|
agentId: string | null;
|
|
769
791
|
companyId: string | null;
|
|
@@ -771,29 +793,30 @@ export declare const leadAssignmentsContract: {
|
|
|
771
793
|
assignedAt: string;
|
|
772
794
|
assignedBy: string | null;
|
|
773
795
|
company?: {
|
|
774
|
-
id: string;
|
|
775
|
-
name: string;
|
|
776
796
|
createdAt: string;
|
|
797
|
+
id: string;
|
|
777
798
|
updatedAt: string;
|
|
799
|
+
name: string;
|
|
778
800
|
} | null | undefined;
|
|
779
801
|
agent?: {
|
|
780
|
-
id: string;
|
|
781
|
-
createdAt: string;
|
|
782
|
-
updatedAt: string;
|
|
783
|
-
firstName: string;
|
|
784
802
|
lastName: string;
|
|
803
|
+
firstName: string;
|
|
785
804
|
email: string;
|
|
786
805
|
phone: string;
|
|
806
|
+
createdAt: string;
|
|
807
|
+
id: string;
|
|
808
|
+
updatedAt: string;
|
|
787
809
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
810
|
+
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;
|
|
788
811
|
} | undefined;
|
|
789
812
|
lead?: {
|
|
790
813
|
name: string;
|
|
791
814
|
phoneNumber: string;
|
|
792
815
|
} | undefined;
|
|
793
816
|
}, {
|
|
794
|
-
id: string;
|
|
795
|
-
status: LeadAssignmentStatus;
|
|
796
817
|
createdAt: string | Date;
|
|
818
|
+
status: LeadAssignmentStatus;
|
|
819
|
+
id: string;
|
|
797
820
|
updatedAt: string | Date;
|
|
798
821
|
agentId: string | null;
|
|
799
822
|
companyId: string | null;
|
|
@@ -801,20 +824,21 @@ export declare const leadAssignmentsContract: {
|
|
|
801
824
|
assignedAt: string | Date;
|
|
802
825
|
assignedBy: string | null;
|
|
803
826
|
company?: {
|
|
804
|
-
id: string;
|
|
805
|
-
name: string;
|
|
806
827
|
createdAt: string | Date;
|
|
828
|
+
id: string;
|
|
807
829
|
updatedAt: string | Date;
|
|
830
|
+
name: string;
|
|
808
831
|
} | null | undefined;
|
|
809
832
|
agent?: {
|
|
810
|
-
id: string;
|
|
811
|
-
createdAt: string | Date;
|
|
812
|
-
updatedAt: string | Date;
|
|
813
|
-
firstName: string;
|
|
814
833
|
lastName: string;
|
|
834
|
+
firstName: string;
|
|
815
835
|
email: string;
|
|
816
836
|
phone: string;
|
|
837
|
+
createdAt: string | Date;
|
|
838
|
+
id: string;
|
|
839
|
+
updatedAt: string | Date;
|
|
817
840
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
841
|
+
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;
|
|
818
842
|
} | undefined;
|
|
819
843
|
lead?: {
|
|
820
844
|
name: string;
|
|
@@ -842,26 +866,29 @@ export declare const leadAssignmentsContract: {
|
|
|
842
866
|
email: z.ZodString;
|
|
843
867
|
phone: z.ZodString;
|
|
844
868
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
869
|
+
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"]>>>;
|
|
845
870
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
846
871
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
847
872
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
id: string;
|
|
849
|
-
createdAt: string;
|
|
850
|
-
updatedAt: string;
|
|
851
|
-
firstName: string;
|
|
852
873
|
lastName: string;
|
|
874
|
+
firstName: string;
|
|
853
875
|
email: string;
|
|
854
876
|
phone: string;
|
|
877
|
+
createdAt: string;
|
|
878
|
+
id: string;
|
|
879
|
+
updatedAt: string;
|
|
855
880
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
881
|
+
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;
|
|
856
882
|
}, {
|
|
857
|
-
id: string;
|
|
858
|
-
createdAt: string | Date;
|
|
859
|
-
updatedAt: string | Date;
|
|
860
|
-
firstName: string;
|
|
861
883
|
lastName: string;
|
|
884
|
+
firstName: string;
|
|
862
885
|
email: string;
|
|
863
886
|
phone: string;
|
|
887
|
+
createdAt: string | Date;
|
|
888
|
+
id: string;
|
|
889
|
+
updatedAt: string | Date;
|
|
864
890
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
891
|
+
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;
|
|
865
892
|
}>>;
|
|
866
893
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
867
894
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -873,22 +900,22 @@ export declare const leadAssignmentsContract: {
|
|
|
873
900
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
874
901
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
875
902
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
id: string;
|
|
877
|
-
name: string;
|
|
878
903
|
createdAt: string;
|
|
879
|
-
updatedAt: string;
|
|
880
|
-
}, {
|
|
881
904
|
id: string;
|
|
905
|
+
updatedAt: string;
|
|
882
906
|
name: string;
|
|
907
|
+
}, {
|
|
883
908
|
createdAt: string | Date;
|
|
909
|
+
id: string;
|
|
884
910
|
updatedAt: string | Date;
|
|
911
|
+
name: string;
|
|
885
912
|
}>>>;
|
|
886
913
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
887
914
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
888
915
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
-
id: string;
|
|
890
|
-
status: LeadAssignmentStatus;
|
|
891
916
|
createdAt: string;
|
|
917
|
+
status: LeadAssignmentStatus;
|
|
918
|
+
id: string;
|
|
892
919
|
updatedAt: string;
|
|
893
920
|
agentId: string | null;
|
|
894
921
|
companyId: string | null;
|
|
@@ -896,29 +923,30 @@ export declare const leadAssignmentsContract: {
|
|
|
896
923
|
assignedAt: string;
|
|
897
924
|
assignedBy: string | null;
|
|
898
925
|
company?: {
|
|
899
|
-
id: string;
|
|
900
|
-
name: string;
|
|
901
926
|
createdAt: string;
|
|
927
|
+
id: string;
|
|
902
928
|
updatedAt: string;
|
|
929
|
+
name: string;
|
|
903
930
|
} | null | undefined;
|
|
904
931
|
agent?: {
|
|
905
|
-
id: string;
|
|
906
|
-
createdAt: string;
|
|
907
|
-
updatedAt: string;
|
|
908
|
-
firstName: string;
|
|
909
932
|
lastName: string;
|
|
933
|
+
firstName: string;
|
|
910
934
|
email: string;
|
|
911
935
|
phone: string;
|
|
936
|
+
createdAt: string;
|
|
937
|
+
id: string;
|
|
938
|
+
updatedAt: string;
|
|
912
939
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
940
|
+
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;
|
|
913
941
|
} | undefined;
|
|
914
942
|
lead?: {
|
|
915
943
|
name: string;
|
|
916
944
|
phoneNumber: string;
|
|
917
945
|
} | undefined;
|
|
918
946
|
}, {
|
|
919
|
-
id: string;
|
|
920
|
-
status: LeadAssignmentStatus;
|
|
921
947
|
createdAt: string | Date;
|
|
948
|
+
status: LeadAssignmentStatus;
|
|
949
|
+
id: string;
|
|
922
950
|
updatedAt: string | Date;
|
|
923
951
|
agentId: string | null;
|
|
924
952
|
companyId: string | null;
|
|
@@ -926,20 +954,21 @@ export declare const leadAssignmentsContract: {
|
|
|
926
954
|
assignedAt: string | Date;
|
|
927
955
|
assignedBy: string | null;
|
|
928
956
|
company?: {
|
|
929
|
-
id: string;
|
|
930
|
-
name: string;
|
|
931
957
|
createdAt: string | Date;
|
|
958
|
+
id: string;
|
|
932
959
|
updatedAt: string | Date;
|
|
960
|
+
name: string;
|
|
933
961
|
} | null | undefined;
|
|
934
962
|
agent?: {
|
|
935
|
-
id: string;
|
|
936
|
-
createdAt: string | Date;
|
|
937
|
-
updatedAt: string | Date;
|
|
938
|
-
firstName: string;
|
|
939
963
|
lastName: string;
|
|
964
|
+
firstName: string;
|
|
940
965
|
email: string;
|
|
941
966
|
phone: string;
|
|
967
|
+
createdAt: string | Date;
|
|
968
|
+
id: string;
|
|
969
|
+
updatedAt: string | Date;
|
|
942
970
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
971
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
943
972
|
} | undefined;
|
|
944
973
|
lead?: {
|
|
945
974
|
name: string;
|
|
@@ -948,9 +977,9 @@ export declare const leadAssignmentsContract: {
|
|
|
948
977
|
}>>;
|
|
949
978
|
}, "strip", z.ZodTypeAny, {
|
|
950
979
|
completed: {
|
|
951
|
-
id: string;
|
|
952
|
-
status: LeadAssignmentStatus;
|
|
953
980
|
createdAt: string;
|
|
981
|
+
status: LeadAssignmentStatus;
|
|
982
|
+
id: string;
|
|
954
983
|
updatedAt: string;
|
|
955
984
|
agentId: string | null;
|
|
956
985
|
companyId: string | null;
|
|
@@ -958,20 +987,21 @@ export declare const leadAssignmentsContract: {
|
|
|
958
987
|
assignedAt: string;
|
|
959
988
|
assignedBy: string | null;
|
|
960
989
|
company?: {
|
|
961
|
-
id: string;
|
|
962
|
-
name: string;
|
|
963
990
|
createdAt: string;
|
|
991
|
+
id: string;
|
|
964
992
|
updatedAt: string;
|
|
993
|
+
name: string;
|
|
965
994
|
} | null | undefined;
|
|
966
995
|
agent?: {
|
|
967
|
-
id: string;
|
|
968
|
-
createdAt: string;
|
|
969
|
-
updatedAt: string;
|
|
970
|
-
firstName: string;
|
|
971
996
|
lastName: string;
|
|
997
|
+
firstName: string;
|
|
972
998
|
email: string;
|
|
973
999
|
phone: string;
|
|
1000
|
+
createdAt: string;
|
|
1001
|
+
id: string;
|
|
1002
|
+
updatedAt: string;
|
|
974
1003
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1004
|
+
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;
|
|
975
1005
|
} | undefined;
|
|
976
1006
|
lead?: {
|
|
977
1007
|
name: string;
|
|
@@ -979,9 +1009,9 @@ export declare const leadAssignmentsContract: {
|
|
|
979
1009
|
} | undefined;
|
|
980
1010
|
};
|
|
981
1011
|
next: {
|
|
982
|
-
id: string;
|
|
983
|
-
status: LeadAssignmentStatus;
|
|
984
1012
|
createdAt: string;
|
|
1013
|
+
status: LeadAssignmentStatus;
|
|
1014
|
+
id: string;
|
|
985
1015
|
updatedAt: string;
|
|
986
1016
|
agentId: string | null;
|
|
987
1017
|
companyId: string | null;
|
|
@@ -989,20 +1019,21 @@ export declare const leadAssignmentsContract: {
|
|
|
989
1019
|
assignedAt: string;
|
|
990
1020
|
assignedBy: string | null;
|
|
991
1021
|
company?: {
|
|
992
|
-
id: string;
|
|
993
|
-
name: string;
|
|
994
1022
|
createdAt: string;
|
|
1023
|
+
id: string;
|
|
995
1024
|
updatedAt: string;
|
|
1025
|
+
name: string;
|
|
996
1026
|
} | null | undefined;
|
|
997
1027
|
agent?: {
|
|
998
|
-
id: string;
|
|
999
|
-
createdAt: string;
|
|
1000
|
-
updatedAt: string;
|
|
1001
|
-
firstName: string;
|
|
1002
1028
|
lastName: string;
|
|
1029
|
+
firstName: string;
|
|
1003
1030
|
email: string;
|
|
1004
1031
|
phone: string;
|
|
1032
|
+
createdAt: string;
|
|
1033
|
+
id: string;
|
|
1034
|
+
updatedAt: string;
|
|
1005
1035
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1036
|
+
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;
|
|
1006
1037
|
} | undefined;
|
|
1007
1038
|
lead?: {
|
|
1008
1039
|
name: string;
|
|
@@ -1011,9 +1042,9 @@ export declare const leadAssignmentsContract: {
|
|
|
1011
1042
|
} | null;
|
|
1012
1043
|
}, {
|
|
1013
1044
|
completed: {
|
|
1014
|
-
id: string;
|
|
1015
|
-
status: LeadAssignmentStatus;
|
|
1016
1045
|
createdAt: string | Date;
|
|
1046
|
+
status: LeadAssignmentStatus;
|
|
1047
|
+
id: string;
|
|
1017
1048
|
updatedAt: string | Date;
|
|
1018
1049
|
agentId: string | null;
|
|
1019
1050
|
companyId: string | null;
|
|
@@ -1021,20 +1052,21 @@ export declare const leadAssignmentsContract: {
|
|
|
1021
1052
|
assignedAt: string | Date;
|
|
1022
1053
|
assignedBy: string | null;
|
|
1023
1054
|
company?: {
|
|
1024
|
-
id: string;
|
|
1025
|
-
name: string;
|
|
1026
1055
|
createdAt: string | Date;
|
|
1056
|
+
id: string;
|
|
1027
1057
|
updatedAt: string | Date;
|
|
1058
|
+
name: string;
|
|
1028
1059
|
} | null | undefined;
|
|
1029
1060
|
agent?: {
|
|
1030
|
-
id: string;
|
|
1031
|
-
createdAt: string | Date;
|
|
1032
|
-
updatedAt: string | Date;
|
|
1033
|
-
firstName: string;
|
|
1034
1061
|
lastName: string;
|
|
1062
|
+
firstName: string;
|
|
1035
1063
|
email: string;
|
|
1036
1064
|
phone: string;
|
|
1065
|
+
createdAt: string | Date;
|
|
1066
|
+
id: string;
|
|
1067
|
+
updatedAt: string | Date;
|
|
1037
1068
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1069
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1038
1070
|
} | undefined;
|
|
1039
1071
|
lead?: {
|
|
1040
1072
|
name: string;
|
|
@@ -1042,9 +1074,9 @@ export declare const leadAssignmentsContract: {
|
|
|
1042
1074
|
} | undefined;
|
|
1043
1075
|
};
|
|
1044
1076
|
next: {
|
|
1045
|
-
id: string;
|
|
1046
|
-
status: LeadAssignmentStatus;
|
|
1047
1077
|
createdAt: string | Date;
|
|
1078
|
+
status: LeadAssignmentStatus;
|
|
1079
|
+
id: string;
|
|
1048
1080
|
updatedAt: string | Date;
|
|
1049
1081
|
agentId: string | null;
|
|
1050
1082
|
companyId: string | null;
|
|
@@ -1052,20 +1084,21 @@ export declare const leadAssignmentsContract: {
|
|
|
1052
1084
|
assignedAt: string | Date;
|
|
1053
1085
|
assignedBy: string | null;
|
|
1054
1086
|
company?: {
|
|
1055
|
-
id: string;
|
|
1056
|
-
name: string;
|
|
1057
1087
|
createdAt: string | Date;
|
|
1088
|
+
id: string;
|
|
1058
1089
|
updatedAt: string | Date;
|
|
1090
|
+
name: string;
|
|
1059
1091
|
} | null | undefined;
|
|
1060
1092
|
agent?: {
|
|
1061
|
-
id: string;
|
|
1062
|
-
createdAt: string | Date;
|
|
1063
|
-
updatedAt: string | Date;
|
|
1064
|
-
firstName: string;
|
|
1065
1093
|
lastName: string;
|
|
1094
|
+
firstName: string;
|
|
1066
1095
|
email: string;
|
|
1067
1096
|
phone: string;
|
|
1097
|
+
createdAt: string | Date;
|
|
1098
|
+
id: string;
|
|
1099
|
+
updatedAt: string | Date;
|
|
1068
1100
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1101
|
+
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;
|
|
1069
1102
|
} | undefined;
|
|
1070
1103
|
lead?: {
|
|
1071
1104
|
name: string;
|
|
@@ -1229,26 +1262,29 @@ export declare const leadAssignmentsContract: {
|
|
|
1229
1262
|
email: z.ZodString;
|
|
1230
1263
|
phone: z.ZodString;
|
|
1231
1264
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
1265
|
+
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"]>>>;
|
|
1232
1266
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1233
1267
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1234
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1235
|
-
id: string;
|
|
1236
|
-
createdAt: string;
|
|
1237
|
-
updatedAt: string;
|
|
1238
|
-
firstName: string;
|
|
1239
1269
|
lastName: string;
|
|
1270
|
+
firstName: string;
|
|
1240
1271
|
email: string;
|
|
1241
1272
|
phone: string;
|
|
1273
|
+
createdAt: string;
|
|
1274
|
+
id: string;
|
|
1275
|
+
updatedAt: string;
|
|
1242
1276
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1277
|
+
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;
|
|
1243
1278
|
}, {
|
|
1244
|
-
id: string;
|
|
1245
|
-
createdAt: string | Date;
|
|
1246
|
-
updatedAt: string | Date;
|
|
1247
|
-
firstName: string;
|
|
1248
1279
|
lastName: string;
|
|
1280
|
+
firstName: string;
|
|
1249
1281
|
email: string;
|
|
1250
1282
|
phone: string;
|
|
1283
|
+
createdAt: string | Date;
|
|
1284
|
+
id: string;
|
|
1285
|
+
updatedAt: string | Date;
|
|
1251
1286
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1287
|
+
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;
|
|
1252
1288
|
}>>;
|
|
1253
1289
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1254
1290
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1260,22 +1296,22 @@ export declare const leadAssignmentsContract: {
|
|
|
1260
1296
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1261
1297
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1262
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1263
|
-
id: string;
|
|
1264
|
-
name: string;
|
|
1265
1299
|
createdAt: string;
|
|
1266
|
-
updatedAt: string;
|
|
1267
|
-
}, {
|
|
1268
1300
|
id: string;
|
|
1301
|
+
updatedAt: string;
|
|
1269
1302
|
name: string;
|
|
1303
|
+
}, {
|
|
1270
1304
|
createdAt: string | Date;
|
|
1305
|
+
id: string;
|
|
1271
1306
|
updatedAt: string | Date;
|
|
1307
|
+
name: string;
|
|
1272
1308
|
}>>>;
|
|
1273
1309
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1274
1310
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1275
1311
|
}, "strip", z.ZodTypeAny, {
|
|
1276
|
-
id: string;
|
|
1277
|
-
status: LeadAssignmentStatus;
|
|
1278
1312
|
createdAt: string;
|
|
1313
|
+
status: LeadAssignmentStatus;
|
|
1314
|
+
id: string;
|
|
1279
1315
|
updatedAt: string;
|
|
1280
1316
|
agentId: string | null;
|
|
1281
1317
|
companyId: string | null;
|
|
@@ -1283,29 +1319,30 @@ export declare const leadAssignmentsContract: {
|
|
|
1283
1319
|
assignedAt: string;
|
|
1284
1320
|
assignedBy: string | null;
|
|
1285
1321
|
company?: {
|
|
1286
|
-
id: string;
|
|
1287
|
-
name: string;
|
|
1288
1322
|
createdAt: string;
|
|
1323
|
+
id: string;
|
|
1289
1324
|
updatedAt: string;
|
|
1325
|
+
name: string;
|
|
1290
1326
|
} | null | undefined;
|
|
1291
1327
|
agent?: {
|
|
1292
|
-
id: string;
|
|
1293
|
-
createdAt: string;
|
|
1294
|
-
updatedAt: string;
|
|
1295
|
-
firstName: string;
|
|
1296
1328
|
lastName: string;
|
|
1329
|
+
firstName: string;
|
|
1297
1330
|
email: string;
|
|
1298
1331
|
phone: string;
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
id: string;
|
|
1334
|
+
updatedAt: string;
|
|
1299
1335
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1336
|
+
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;
|
|
1300
1337
|
} | undefined;
|
|
1301
1338
|
lead?: {
|
|
1302
1339
|
name: string;
|
|
1303
1340
|
phoneNumber: string;
|
|
1304
1341
|
} | undefined;
|
|
1305
1342
|
}, {
|
|
1306
|
-
id: string;
|
|
1307
|
-
status: LeadAssignmentStatus;
|
|
1308
1343
|
createdAt: string | Date;
|
|
1344
|
+
status: LeadAssignmentStatus;
|
|
1345
|
+
id: string;
|
|
1309
1346
|
updatedAt: string | Date;
|
|
1310
1347
|
agentId: string | null;
|
|
1311
1348
|
companyId: string | null;
|
|
@@ -1313,20 +1350,21 @@ export declare const leadAssignmentsContract: {
|
|
|
1313
1350
|
assignedAt: string | Date;
|
|
1314
1351
|
assignedBy: string | null;
|
|
1315
1352
|
company?: {
|
|
1316
|
-
id: string;
|
|
1317
|
-
name: string;
|
|
1318
1353
|
createdAt: string | Date;
|
|
1354
|
+
id: string;
|
|
1319
1355
|
updatedAt: string | Date;
|
|
1356
|
+
name: string;
|
|
1320
1357
|
} | null | undefined;
|
|
1321
1358
|
agent?: {
|
|
1322
|
-
id: string;
|
|
1323
|
-
createdAt: string | Date;
|
|
1324
|
-
updatedAt: string | Date;
|
|
1325
|
-
firstName: string;
|
|
1326
1359
|
lastName: string;
|
|
1360
|
+
firstName: string;
|
|
1327
1361
|
email: string;
|
|
1328
1362
|
phone: string;
|
|
1363
|
+
createdAt: string | Date;
|
|
1364
|
+
id: string;
|
|
1365
|
+
updatedAt: string | Date;
|
|
1329
1366
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1367
|
+
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
1368
|
} | undefined;
|
|
1331
1369
|
lead?: {
|
|
1332
1370
|
name: string;
|
|
@@ -1472,26 +1510,29 @@ export declare const leadAssignmentsContract: {
|
|
|
1472
1510
|
email: z.ZodString;
|
|
1473
1511
|
phone: z.ZodString;
|
|
1474
1512
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
1513
|
+
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"]>>>;
|
|
1475
1514
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1476
1515
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1477
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1478
|
-
id: string;
|
|
1479
|
-
createdAt: string;
|
|
1480
|
-
updatedAt: string;
|
|
1481
|
-
firstName: string;
|
|
1482
1517
|
lastName: string;
|
|
1518
|
+
firstName: string;
|
|
1483
1519
|
email: string;
|
|
1484
1520
|
phone: string;
|
|
1521
|
+
createdAt: string;
|
|
1522
|
+
id: string;
|
|
1523
|
+
updatedAt: string;
|
|
1485
1524
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1525
|
+
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;
|
|
1486
1526
|
}, {
|
|
1487
|
-
id: string;
|
|
1488
|
-
createdAt: string | Date;
|
|
1489
|
-
updatedAt: string | Date;
|
|
1490
|
-
firstName: string;
|
|
1491
1527
|
lastName: string;
|
|
1528
|
+
firstName: string;
|
|
1492
1529
|
email: string;
|
|
1493
1530
|
phone: string;
|
|
1531
|
+
createdAt: string | Date;
|
|
1532
|
+
id: string;
|
|
1533
|
+
updatedAt: string | Date;
|
|
1494
1534
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1535
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1495
1536
|
}>>;
|
|
1496
1537
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1497
1538
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1503,22 +1544,22 @@ export declare const leadAssignmentsContract: {
|
|
|
1503
1544
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1504
1545
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1505
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1506
|
-
id: string;
|
|
1507
|
-
name: string;
|
|
1508
1547
|
createdAt: string;
|
|
1509
|
-
updatedAt: string;
|
|
1510
|
-
}, {
|
|
1511
1548
|
id: string;
|
|
1549
|
+
updatedAt: string;
|
|
1512
1550
|
name: string;
|
|
1551
|
+
}, {
|
|
1513
1552
|
createdAt: string | Date;
|
|
1553
|
+
id: string;
|
|
1514
1554
|
updatedAt: string | Date;
|
|
1555
|
+
name: string;
|
|
1515
1556
|
}>>>;
|
|
1516
1557
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1517
1558
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1518
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1519
|
-
id: string;
|
|
1520
|
-
status: LeadAssignmentStatus;
|
|
1521
1560
|
createdAt: string;
|
|
1561
|
+
status: LeadAssignmentStatus;
|
|
1562
|
+
id: string;
|
|
1522
1563
|
updatedAt: string;
|
|
1523
1564
|
agentId: string | null;
|
|
1524
1565
|
companyId: string | null;
|
|
@@ -1526,29 +1567,30 @@ export declare const leadAssignmentsContract: {
|
|
|
1526
1567
|
assignedAt: string;
|
|
1527
1568
|
assignedBy: string | null;
|
|
1528
1569
|
company?: {
|
|
1529
|
-
id: string;
|
|
1530
|
-
name: string;
|
|
1531
1570
|
createdAt: string;
|
|
1571
|
+
id: string;
|
|
1532
1572
|
updatedAt: string;
|
|
1573
|
+
name: string;
|
|
1533
1574
|
} | null | undefined;
|
|
1534
1575
|
agent?: {
|
|
1535
|
-
id: string;
|
|
1536
|
-
createdAt: string;
|
|
1537
|
-
updatedAt: string;
|
|
1538
|
-
firstName: string;
|
|
1539
1576
|
lastName: string;
|
|
1577
|
+
firstName: string;
|
|
1540
1578
|
email: string;
|
|
1541
1579
|
phone: string;
|
|
1580
|
+
createdAt: string;
|
|
1581
|
+
id: string;
|
|
1582
|
+
updatedAt: string;
|
|
1542
1583
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1584
|
+
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;
|
|
1543
1585
|
} | undefined;
|
|
1544
1586
|
lead?: {
|
|
1545
1587
|
name: string;
|
|
1546
1588
|
phoneNumber: string;
|
|
1547
1589
|
} | undefined;
|
|
1548
1590
|
}, {
|
|
1549
|
-
id: string;
|
|
1550
|
-
status: LeadAssignmentStatus;
|
|
1551
1591
|
createdAt: string | Date;
|
|
1592
|
+
status: LeadAssignmentStatus;
|
|
1593
|
+
id: string;
|
|
1552
1594
|
updatedAt: string | Date;
|
|
1553
1595
|
agentId: string | null;
|
|
1554
1596
|
companyId: string | null;
|
|
@@ -1556,20 +1598,21 @@ export declare const leadAssignmentsContract: {
|
|
|
1556
1598
|
assignedAt: string | Date;
|
|
1557
1599
|
assignedBy: string | null;
|
|
1558
1600
|
company?: {
|
|
1559
|
-
id: string;
|
|
1560
|
-
name: string;
|
|
1561
1601
|
createdAt: string | Date;
|
|
1602
|
+
id: string;
|
|
1562
1603
|
updatedAt: string | Date;
|
|
1604
|
+
name: string;
|
|
1563
1605
|
} | null | undefined;
|
|
1564
1606
|
agent?: {
|
|
1565
|
-
id: string;
|
|
1566
|
-
createdAt: string | Date;
|
|
1567
|
-
updatedAt: string | Date;
|
|
1568
|
-
firstName: string;
|
|
1569
1607
|
lastName: string;
|
|
1608
|
+
firstName: string;
|
|
1570
1609
|
email: string;
|
|
1571
1610
|
phone: string;
|
|
1611
|
+
createdAt: string | Date;
|
|
1612
|
+
id: string;
|
|
1613
|
+
updatedAt: string | Date;
|
|
1572
1614
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1615
|
+
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;
|
|
1573
1616
|
} | undefined;
|
|
1574
1617
|
lead?: {
|
|
1575
1618
|
name: string;
|
|
@@ -1739,26 +1782,29 @@ export declare const leadAssignmentsContract: {
|
|
|
1739
1782
|
email: z.ZodString;
|
|
1740
1783
|
phone: z.ZodString;
|
|
1741
1784
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
1785
|
+
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"]>>>;
|
|
1742
1786
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1743
1787
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1744
1788
|
}, "strip", z.ZodTypeAny, {
|
|
1745
|
-
id: string;
|
|
1746
|
-
createdAt: string;
|
|
1747
|
-
updatedAt: string;
|
|
1748
|
-
firstName: string;
|
|
1749
1789
|
lastName: string;
|
|
1790
|
+
firstName: string;
|
|
1750
1791
|
email: string;
|
|
1751
1792
|
phone: string;
|
|
1793
|
+
createdAt: string;
|
|
1794
|
+
id: string;
|
|
1795
|
+
updatedAt: string;
|
|
1752
1796
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1797
|
+
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;
|
|
1753
1798
|
}, {
|
|
1754
|
-
id: string;
|
|
1755
|
-
createdAt: string | Date;
|
|
1756
|
-
updatedAt: string | Date;
|
|
1757
|
-
firstName: string;
|
|
1758
1799
|
lastName: string;
|
|
1800
|
+
firstName: string;
|
|
1759
1801
|
email: string;
|
|
1760
1802
|
phone: string;
|
|
1803
|
+
createdAt: string | Date;
|
|
1804
|
+
id: string;
|
|
1805
|
+
updatedAt: string | Date;
|
|
1761
1806
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1807
|
+
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;
|
|
1762
1808
|
}>>;
|
|
1763
1809
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1764
1810
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1770,22 +1816,22 @@ export declare const leadAssignmentsContract: {
|
|
|
1770
1816
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1771
1817
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1772
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1773
|
-
id: string;
|
|
1774
|
-
name: string;
|
|
1775
1819
|
createdAt: string;
|
|
1776
|
-
updatedAt: string;
|
|
1777
|
-
}, {
|
|
1778
1820
|
id: string;
|
|
1821
|
+
updatedAt: string;
|
|
1779
1822
|
name: string;
|
|
1823
|
+
}, {
|
|
1780
1824
|
createdAt: string | Date;
|
|
1825
|
+
id: string;
|
|
1781
1826
|
updatedAt: string | Date;
|
|
1827
|
+
name: string;
|
|
1782
1828
|
}>>>;
|
|
1783
1829
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1784
1830
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1785
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1786
|
-
id: string;
|
|
1787
|
-
status: LeadAssignmentStatus;
|
|
1788
1832
|
createdAt: string;
|
|
1833
|
+
status: LeadAssignmentStatus;
|
|
1834
|
+
id: string;
|
|
1789
1835
|
updatedAt: string;
|
|
1790
1836
|
agentId: string | null;
|
|
1791
1837
|
companyId: string | null;
|
|
@@ -1793,29 +1839,30 @@ export declare const leadAssignmentsContract: {
|
|
|
1793
1839
|
assignedAt: string;
|
|
1794
1840
|
assignedBy: string | null;
|
|
1795
1841
|
company?: {
|
|
1796
|
-
id: string;
|
|
1797
|
-
name: string;
|
|
1798
1842
|
createdAt: string;
|
|
1843
|
+
id: string;
|
|
1799
1844
|
updatedAt: string;
|
|
1845
|
+
name: string;
|
|
1800
1846
|
} | null | undefined;
|
|
1801
1847
|
agent?: {
|
|
1802
|
-
id: string;
|
|
1803
|
-
createdAt: string;
|
|
1804
|
-
updatedAt: string;
|
|
1805
|
-
firstName: string;
|
|
1806
1848
|
lastName: string;
|
|
1849
|
+
firstName: string;
|
|
1807
1850
|
email: string;
|
|
1808
1851
|
phone: string;
|
|
1852
|
+
createdAt: string;
|
|
1853
|
+
id: string;
|
|
1854
|
+
updatedAt: string;
|
|
1809
1855
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1856
|
+
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;
|
|
1810
1857
|
} | undefined;
|
|
1811
1858
|
lead?: {
|
|
1812
1859
|
name: string;
|
|
1813
1860
|
phoneNumber: string;
|
|
1814
1861
|
} | undefined;
|
|
1815
1862
|
}, {
|
|
1816
|
-
id: string;
|
|
1817
|
-
status: LeadAssignmentStatus;
|
|
1818
1863
|
createdAt: string | Date;
|
|
1864
|
+
status: LeadAssignmentStatus;
|
|
1865
|
+
id: string;
|
|
1819
1866
|
updatedAt: string | Date;
|
|
1820
1867
|
agentId: string | null;
|
|
1821
1868
|
companyId: string | null;
|
|
@@ -1823,20 +1870,21 @@ export declare const leadAssignmentsContract: {
|
|
|
1823
1870
|
assignedAt: string | Date;
|
|
1824
1871
|
assignedBy: string | null;
|
|
1825
1872
|
company?: {
|
|
1826
|
-
id: string;
|
|
1827
|
-
name: string;
|
|
1828
1873
|
createdAt: string | Date;
|
|
1874
|
+
id: string;
|
|
1829
1875
|
updatedAt: string | Date;
|
|
1876
|
+
name: string;
|
|
1830
1877
|
} | null | undefined;
|
|
1831
1878
|
agent?: {
|
|
1832
|
-
id: string;
|
|
1833
|
-
createdAt: string | Date;
|
|
1834
|
-
updatedAt: string | Date;
|
|
1835
|
-
firstName: string;
|
|
1836
1879
|
lastName: string;
|
|
1880
|
+
firstName: string;
|
|
1837
1881
|
email: string;
|
|
1838
1882
|
phone: string;
|
|
1883
|
+
createdAt: string | Date;
|
|
1884
|
+
id: string;
|
|
1885
|
+
updatedAt: string | Date;
|
|
1839
1886
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1887
|
+
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;
|
|
1840
1888
|
} | undefined;
|
|
1841
1889
|
lead?: {
|
|
1842
1890
|
name: string;
|