@dakkitor/api-contracts 1.1.106 → 1.1.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +6880 -5360
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +871 -481
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +131 -31
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +25019 -19099
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +861 -541
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1834 -1194
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1687 -1052
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +4321 -3221
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -434
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +359 -199
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +117 -117
- package/dist/users/users.contract.d.ts +597 -173
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +45 -8
- package/dist/workers/workers.contract.d.ts +498 -268
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,11 +9,11 @@ export declare const LeadAssignmentLeadSchema: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
phoneNumber: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
phoneNumber: string;
|
|
14
|
-
}, {
|
|
15
13
|
name: string;
|
|
14
|
+
}, {
|
|
16
15
|
phoneNumber: string;
|
|
16
|
+
name: string;
|
|
17
17
|
}>;
|
|
18
18
|
export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodString;
|
|
@@ -22,11 +22,11 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
phoneNumber: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
name: string;
|
|
26
25
|
phoneNumber: string;
|
|
27
|
-
}, {
|
|
28
26
|
name: string;
|
|
27
|
+
}, {
|
|
29
28
|
phoneNumber: string;
|
|
29
|
+
name: string;
|
|
30
30
|
}>>;
|
|
31
31
|
agentId: z.ZodNullable<z.ZodString>;
|
|
32
32
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -34,29 +34,54 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
34
34
|
firstName: z.ZodString;
|
|
35
35
|
lastName: z.ZodString;
|
|
36
36
|
email: z.ZodString;
|
|
37
|
-
|
|
37
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
phoneNumber: z.ZodString;
|
|
40
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
id: string;
|
|
44
|
+
phoneNumber: string;
|
|
45
|
+
isPrimary: boolean;
|
|
46
|
+
description?: string | null | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
id: string;
|
|
49
|
+
phoneNumber: string;
|
|
50
|
+
description?: string | null | undefined;
|
|
51
|
+
isPrimary?: boolean | undefined;
|
|
52
|
+
}>, "many">>>;
|
|
38
53
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
39
54
|
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"]>>>;
|
|
40
55
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
41
56
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
42
57
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
lastName: string;
|
|
44
|
-
firstName: string;
|
|
45
|
-
email: string;
|
|
46
|
-
phone: string;
|
|
47
|
-
createdAt: string;
|
|
48
58
|
id: string;
|
|
59
|
+
createdAt: string;
|
|
49
60
|
updatedAt: string;
|
|
61
|
+
firstName: string;
|
|
62
|
+
lastName: string;
|
|
63
|
+
email: string;
|
|
64
|
+
phoneNumbers: {
|
|
65
|
+
id: string;
|
|
66
|
+
phoneNumber: string;
|
|
67
|
+
isPrimary: boolean;
|
|
68
|
+
description?: string | null | undefined;
|
|
69
|
+
}[];
|
|
50
70
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
51
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;
|
|
52
72
|
}, {
|
|
53
|
-
lastName: string;
|
|
54
|
-
firstName: string;
|
|
55
|
-
email: string;
|
|
56
|
-
phone: string;
|
|
57
|
-
createdAt: string | Date;
|
|
58
73
|
id: string;
|
|
74
|
+
createdAt: string | Date;
|
|
59
75
|
updatedAt: string | Date;
|
|
76
|
+
firstName: string;
|
|
77
|
+
lastName: string;
|
|
78
|
+
email: string;
|
|
79
|
+
phoneNumbers?: {
|
|
80
|
+
id: string;
|
|
81
|
+
phoneNumber: string;
|
|
82
|
+
description?: string | null | undefined;
|
|
83
|
+
isPrimary?: boolean | undefined;
|
|
84
|
+
}[] | undefined;
|
|
60
85
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
61
86
|
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
87
|
}>>;
|
|
@@ -70,80 +95,90 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
70
95
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
71
96
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
72
97
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
createdAt: string;
|
|
74
98
|
id: string;
|
|
99
|
+
createdAt: string;
|
|
75
100
|
updatedAt: string;
|
|
76
101
|
name: string;
|
|
77
102
|
}, {
|
|
78
|
-
createdAt: string | Date;
|
|
79
103
|
id: string;
|
|
104
|
+
createdAt: string | Date;
|
|
80
105
|
updatedAt: string | Date;
|
|
81
106
|
name: string;
|
|
82
107
|
}>>>;
|
|
83
108
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
84
109
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
85
110
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
createdAt: string;
|
|
87
|
-
status: LeadAssignmentStatus;
|
|
88
111
|
id: string;
|
|
112
|
+
status: LeadAssignmentStatus;
|
|
113
|
+
createdAt: string;
|
|
89
114
|
updatedAt: string;
|
|
115
|
+
leadId: string;
|
|
90
116
|
agentId: string | null;
|
|
91
117
|
companyId: string | null;
|
|
92
|
-
leadId: string;
|
|
93
118
|
assignedAt: string;
|
|
94
119
|
assignedBy: string | null;
|
|
95
120
|
company?: {
|
|
96
|
-
createdAt: string;
|
|
97
121
|
id: string;
|
|
122
|
+
createdAt: string;
|
|
98
123
|
updatedAt: string;
|
|
99
124
|
name: string;
|
|
100
125
|
} | null | undefined;
|
|
126
|
+
lead?: {
|
|
127
|
+
phoneNumber: string;
|
|
128
|
+
name: string;
|
|
129
|
+
} | undefined;
|
|
101
130
|
agent?: {
|
|
102
|
-
lastName: string;
|
|
103
|
-
firstName: string;
|
|
104
|
-
email: string;
|
|
105
|
-
phone: string;
|
|
106
|
-
createdAt: string;
|
|
107
131
|
id: string;
|
|
132
|
+
createdAt: string;
|
|
108
133
|
updatedAt: string;
|
|
134
|
+
firstName: string;
|
|
135
|
+
lastName: string;
|
|
136
|
+
email: string;
|
|
137
|
+
phoneNumbers: {
|
|
138
|
+
id: string;
|
|
139
|
+
phoneNumber: string;
|
|
140
|
+
isPrimary: boolean;
|
|
141
|
+
description?: string | null | undefined;
|
|
142
|
+
}[];
|
|
109
143
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
110
144
|
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;
|
|
111
145
|
} | undefined;
|
|
112
|
-
lead?: {
|
|
113
|
-
name: string;
|
|
114
|
-
phoneNumber: string;
|
|
115
|
-
} | undefined;
|
|
116
146
|
}, {
|
|
117
|
-
createdAt: string | Date;
|
|
118
|
-
status: LeadAssignmentStatus;
|
|
119
147
|
id: string;
|
|
148
|
+
status: LeadAssignmentStatus;
|
|
149
|
+
createdAt: string | Date;
|
|
120
150
|
updatedAt: string | Date;
|
|
151
|
+
leadId: string;
|
|
121
152
|
agentId: string | null;
|
|
122
153
|
companyId: string | null;
|
|
123
|
-
leadId: string;
|
|
124
154
|
assignedAt: string | Date;
|
|
125
155
|
assignedBy: string | null;
|
|
126
156
|
company?: {
|
|
127
|
-
createdAt: string | Date;
|
|
128
157
|
id: string;
|
|
158
|
+
createdAt: string | Date;
|
|
129
159
|
updatedAt: string | Date;
|
|
130
160
|
name: string;
|
|
131
161
|
} | null | undefined;
|
|
162
|
+
lead?: {
|
|
163
|
+
phoneNumber: string;
|
|
164
|
+
name: string;
|
|
165
|
+
} | undefined;
|
|
132
166
|
agent?: {
|
|
133
|
-
lastName: string;
|
|
134
|
-
firstName: string;
|
|
135
|
-
email: string;
|
|
136
|
-
phone: string;
|
|
137
|
-
createdAt: string | Date;
|
|
138
167
|
id: string;
|
|
168
|
+
createdAt: string | Date;
|
|
139
169
|
updatedAt: string | Date;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
email: string;
|
|
173
|
+
phoneNumbers?: {
|
|
174
|
+
id: string;
|
|
175
|
+
phoneNumber: string;
|
|
176
|
+
description?: string | null | undefined;
|
|
177
|
+
isPrimary?: boolean | undefined;
|
|
178
|
+
}[] | undefined;
|
|
140
179
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
141
180
|
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;
|
|
142
181
|
} | undefined;
|
|
143
|
-
lead?: {
|
|
144
|
-
name: string;
|
|
145
|
-
phoneNumber: string;
|
|
146
|
-
} | undefined;
|
|
147
182
|
}>;
|
|
148
183
|
export declare const CompleteAssignmentSchema: z.ZodObject<{
|
|
149
184
|
rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
|
|
@@ -163,11 +198,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
163
198
|
name: z.ZodString;
|
|
164
199
|
phoneNumber: z.ZodString;
|
|
165
200
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
name: string;
|
|
167
201
|
phoneNumber: string;
|
|
168
|
-
}, {
|
|
169
202
|
name: string;
|
|
203
|
+
}, {
|
|
170
204
|
phoneNumber: string;
|
|
205
|
+
name: string;
|
|
171
206
|
}>>;
|
|
172
207
|
agentId: z.ZodNullable<z.ZodString>;
|
|
173
208
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -175,29 +210,54 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
175
210
|
firstName: z.ZodString;
|
|
176
211
|
lastName: z.ZodString;
|
|
177
212
|
email: z.ZodString;
|
|
178
|
-
|
|
213
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
|
+
id: z.ZodString;
|
|
215
|
+
phoneNumber: z.ZodString;
|
|
216
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
id: string;
|
|
220
|
+
phoneNumber: string;
|
|
221
|
+
isPrimary: boolean;
|
|
222
|
+
description?: string | null | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
id: string;
|
|
225
|
+
phoneNumber: string;
|
|
226
|
+
description?: string | null | undefined;
|
|
227
|
+
isPrimary?: boolean | undefined;
|
|
228
|
+
}>, "many">>>;
|
|
179
229
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
180
230
|
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"]>>>;
|
|
181
231
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
182
232
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
183
233
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
lastName: string;
|
|
185
|
-
firstName: string;
|
|
186
|
-
email: string;
|
|
187
|
-
phone: string;
|
|
188
|
-
createdAt: string;
|
|
189
234
|
id: string;
|
|
235
|
+
createdAt: string;
|
|
190
236
|
updatedAt: string;
|
|
237
|
+
firstName: string;
|
|
238
|
+
lastName: string;
|
|
239
|
+
email: string;
|
|
240
|
+
phoneNumbers: {
|
|
241
|
+
id: string;
|
|
242
|
+
phoneNumber: string;
|
|
243
|
+
isPrimary: boolean;
|
|
244
|
+
description?: string | null | undefined;
|
|
245
|
+
}[];
|
|
191
246
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
192
247
|
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;
|
|
193
248
|
}, {
|
|
194
|
-
lastName: string;
|
|
195
|
-
firstName: string;
|
|
196
|
-
email: string;
|
|
197
|
-
phone: string;
|
|
198
|
-
createdAt: string | Date;
|
|
199
249
|
id: string;
|
|
250
|
+
createdAt: string | Date;
|
|
200
251
|
updatedAt: string | Date;
|
|
252
|
+
firstName: string;
|
|
253
|
+
lastName: string;
|
|
254
|
+
email: string;
|
|
255
|
+
phoneNumbers?: {
|
|
256
|
+
id: string;
|
|
257
|
+
phoneNumber: string;
|
|
258
|
+
description?: string | null | undefined;
|
|
259
|
+
isPrimary?: boolean | undefined;
|
|
260
|
+
}[] | undefined;
|
|
201
261
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
202
262
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
203
263
|
}>>;
|
|
@@ -211,80 +271,90 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
211
271
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
212
272
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
213
273
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
createdAt: string;
|
|
215
274
|
id: string;
|
|
275
|
+
createdAt: string;
|
|
216
276
|
updatedAt: string;
|
|
217
277
|
name: string;
|
|
218
278
|
}, {
|
|
219
|
-
createdAt: string | Date;
|
|
220
279
|
id: string;
|
|
280
|
+
createdAt: string | Date;
|
|
221
281
|
updatedAt: string | Date;
|
|
222
282
|
name: string;
|
|
223
283
|
}>>>;
|
|
224
284
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
225
285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
226
286
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
createdAt: string;
|
|
228
|
-
status: LeadAssignmentStatus;
|
|
229
287
|
id: string;
|
|
288
|
+
status: LeadAssignmentStatus;
|
|
289
|
+
createdAt: string;
|
|
230
290
|
updatedAt: string;
|
|
291
|
+
leadId: string;
|
|
231
292
|
agentId: string | null;
|
|
232
293
|
companyId: string | null;
|
|
233
|
-
leadId: string;
|
|
234
294
|
assignedAt: string;
|
|
235
295
|
assignedBy: string | null;
|
|
236
296
|
company?: {
|
|
237
|
-
createdAt: string;
|
|
238
297
|
id: string;
|
|
298
|
+
createdAt: string;
|
|
239
299
|
updatedAt: string;
|
|
240
300
|
name: string;
|
|
241
301
|
} | null | undefined;
|
|
302
|
+
lead?: {
|
|
303
|
+
phoneNumber: string;
|
|
304
|
+
name: string;
|
|
305
|
+
} | undefined;
|
|
242
306
|
agent?: {
|
|
243
|
-
lastName: string;
|
|
244
|
-
firstName: string;
|
|
245
|
-
email: string;
|
|
246
|
-
phone: string;
|
|
247
|
-
createdAt: string;
|
|
248
307
|
id: string;
|
|
308
|
+
createdAt: string;
|
|
249
309
|
updatedAt: string;
|
|
310
|
+
firstName: string;
|
|
311
|
+
lastName: string;
|
|
312
|
+
email: string;
|
|
313
|
+
phoneNumbers: {
|
|
314
|
+
id: string;
|
|
315
|
+
phoneNumber: string;
|
|
316
|
+
isPrimary: boolean;
|
|
317
|
+
description?: string | null | undefined;
|
|
318
|
+
}[];
|
|
250
319
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
251
320
|
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;
|
|
252
321
|
} | undefined;
|
|
253
|
-
lead?: {
|
|
254
|
-
name: string;
|
|
255
|
-
phoneNumber: string;
|
|
256
|
-
} | undefined;
|
|
257
322
|
}, {
|
|
258
|
-
createdAt: string | Date;
|
|
259
|
-
status: LeadAssignmentStatus;
|
|
260
323
|
id: string;
|
|
324
|
+
status: LeadAssignmentStatus;
|
|
325
|
+
createdAt: string | Date;
|
|
261
326
|
updatedAt: string | Date;
|
|
327
|
+
leadId: string;
|
|
262
328
|
agentId: string | null;
|
|
263
329
|
companyId: string | null;
|
|
264
|
-
leadId: string;
|
|
265
330
|
assignedAt: string | Date;
|
|
266
331
|
assignedBy: string | null;
|
|
267
332
|
company?: {
|
|
268
|
-
createdAt: string | Date;
|
|
269
333
|
id: string;
|
|
334
|
+
createdAt: string | Date;
|
|
270
335
|
updatedAt: string | Date;
|
|
271
336
|
name: string;
|
|
272
337
|
} | null | undefined;
|
|
338
|
+
lead?: {
|
|
339
|
+
phoneNumber: string;
|
|
340
|
+
name: string;
|
|
341
|
+
} | undefined;
|
|
273
342
|
agent?: {
|
|
274
|
-
lastName: string;
|
|
275
|
-
firstName: string;
|
|
276
|
-
email: string;
|
|
277
|
-
phone: string;
|
|
278
|
-
createdAt: string | Date;
|
|
279
343
|
id: string;
|
|
344
|
+
createdAt: string | Date;
|
|
280
345
|
updatedAt: string | Date;
|
|
346
|
+
firstName: string;
|
|
347
|
+
lastName: string;
|
|
348
|
+
email: string;
|
|
349
|
+
phoneNumbers?: {
|
|
350
|
+
id: string;
|
|
351
|
+
phoneNumber: string;
|
|
352
|
+
description?: string | null | undefined;
|
|
353
|
+
isPrimary?: boolean | undefined;
|
|
354
|
+
}[] | undefined;
|
|
281
355
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
282
356
|
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;
|
|
283
357
|
} | undefined;
|
|
284
|
-
lead?: {
|
|
285
|
-
name: string;
|
|
286
|
-
phoneNumber: string;
|
|
287
|
-
} | undefined;
|
|
288
358
|
}>;
|
|
289
359
|
next: z.ZodNullable<z.ZodObject<{
|
|
290
360
|
id: z.ZodString;
|
|
@@ -293,11 +363,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
293
363
|
name: z.ZodString;
|
|
294
364
|
phoneNumber: z.ZodString;
|
|
295
365
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
name: string;
|
|
297
366
|
phoneNumber: string;
|
|
298
|
-
}, {
|
|
299
367
|
name: string;
|
|
368
|
+
}, {
|
|
300
369
|
phoneNumber: string;
|
|
370
|
+
name: string;
|
|
301
371
|
}>>;
|
|
302
372
|
agentId: z.ZodNullable<z.ZodString>;
|
|
303
373
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -305,29 +375,54 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
305
375
|
firstName: z.ZodString;
|
|
306
376
|
lastName: z.ZodString;
|
|
307
377
|
email: z.ZodString;
|
|
308
|
-
|
|
378
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
phoneNumber: z.ZodString;
|
|
381
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
382
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
id: string;
|
|
385
|
+
phoneNumber: string;
|
|
386
|
+
isPrimary: boolean;
|
|
387
|
+
description?: string | null | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
id: string;
|
|
390
|
+
phoneNumber: string;
|
|
391
|
+
description?: string | null | undefined;
|
|
392
|
+
isPrimary?: boolean | undefined;
|
|
393
|
+
}>, "many">>>;
|
|
309
394
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
310
395
|
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"]>>>;
|
|
311
396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
312
397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
313
398
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
lastName: string;
|
|
315
|
-
firstName: string;
|
|
316
|
-
email: string;
|
|
317
|
-
phone: string;
|
|
318
|
-
createdAt: string;
|
|
319
399
|
id: string;
|
|
400
|
+
createdAt: string;
|
|
320
401
|
updatedAt: string;
|
|
402
|
+
firstName: string;
|
|
403
|
+
lastName: string;
|
|
404
|
+
email: string;
|
|
405
|
+
phoneNumbers: {
|
|
406
|
+
id: string;
|
|
407
|
+
phoneNumber: string;
|
|
408
|
+
isPrimary: boolean;
|
|
409
|
+
description?: string | null | undefined;
|
|
410
|
+
}[];
|
|
321
411
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
322
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;
|
|
323
413
|
}, {
|
|
324
|
-
lastName: string;
|
|
325
|
-
firstName: string;
|
|
326
|
-
email: string;
|
|
327
|
-
phone: string;
|
|
328
|
-
createdAt: string | Date;
|
|
329
414
|
id: string;
|
|
415
|
+
createdAt: string | Date;
|
|
330
416
|
updatedAt: string | Date;
|
|
417
|
+
firstName: string;
|
|
418
|
+
lastName: string;
|
|
419
|
+
email: string;
|
|
420
|
+
phoneNumbers?: {
|
|
421
|
+
id: string;
|
|
422
|
+
phoneNumber: string;
|
|
423
|
+
description?: string | null | undefined;
|
|
424
|
+
isPrimary?: boolean | undefined;
|
|
425
|
+
}[] | undefined;
|
|
331
426
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
332
427
|
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;
|
|
333
428
|
}>>;
|
|
@@ -341,210 +436,240 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
341
436
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
342
437
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
343
438
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
createdAt: string;
|
|
345
439
|
id: string;
|
|
440
|
+
createdAt: string;
|
|
346
441
|
updatedAt: string;
|
|
347
442
|
name: string;
|
|
348
443
|
}, {
|
|
349
|
-
createdAt: string | Date;
|
|
350
444
|
id: string;
|
|
445
|
+
createdAt: string | Date;
|
|
351
446
|
updatedAt: string | Date;
|
|
352
447
|
name: string;
|
|
353
448
|
}>>>;
|
|
354
449
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
355
450
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
356
451
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
createdAt: string;
|
|
358
|
-
status: LeadAssignmentStatus;
|
|
359
452
|
id: string;
|
|
453
|
+
status: LeadAssignmentStatus;
|
|
454
|
+
createdAt: string;
|
|
360
455
|
updatedAt: string;
|
|
456
|
+
leadId: string;
|
|
361
457
|
agentId: string | null;
|
|
362
458
|
companyId: string | null;
|
|
363
|
-
leadId: string;
|
|
364
459
|
assignedAt: string;
|
|
365
460
|
assignedBy: string | null;
|
|
366
461
|
company?: {
|
|
367
|
-
createdAt: string;
|
|
368
462
|
id: string;
|
|
463
|
+
createdAt: string;
|
|
369
464
|
updatedAt: string;
|
|
370
465
|
name: string;
|
|
371
466
|
} | null | undefined;
|
|
467
|
+
lead?: {
|
|
468
|
+
phoneNumber: string;
|
|
469
|
+
name: string;
|
|
470
|
+
} | undefined;
|
|
372
471
|
agent?: {
|
|
373
|
-
lastName: string;
|
|
374
|
-
firstName: string;
|
|
375
|
-
email: string;
|
|
376
|
-
phone: string;
|
|
377
|
-
createdAt: string;
|
|
378
472
|
id: string;
|
|
473
|
+
createdAt: string;
|
|
379
474
|
updatedAt: string;
|
|
475
|
+
firstName: string;
|
|
476
|
+
lastName: string;
|
|
477
|
+
email: string;
|
|
478
|
+
phoneNumbers: {
|
|
479
|
+
id: string;
|
|
480
|
+
phoneNumber: string;
|
|
481
|
+
isPrimary: boolean;
|
|
482
|
+
description?: string | null | undefined;
|
|
483
|
+
}[];
|
|
380
484
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
381
485
|
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;
|
|
382
486
|
} | undefined;
|
|
383
|
-
lead?: {
|
|
384
|
-
name: string;
|
|
385
|
-
phoneNumber: string;
|
|
386
|
-
} | undefined;
|
|
387
487
|
}, {
|
|
388
|
-
createdAt: string | Date;
|
|
389
|
-
status: LeadAssignmentStatus;
|
|
390
488
|
id: string;
|
|
489
|
+
status: LeadAssignmentStatus;
|
|
490
|
+
createdAt: string | Date;
|
|
391
491
|
updatedAt: string | Date;
|
|
492
|
+
leadId: string;
|
|
392
493
|
agentId: string | null;
|
|
393
494
|
companyId: string | null;
|
|
394
|
-
leadId: string;
|
|
395
495
|
assignedAt: string | Date;
|
|
396
496
|
assignedBy: string | null;
|
|
397
497
|
company?: {
|
|
398
|
-
createdAt: string | Date;
|
|
399
498
|
id: string;
|
|
499
|
+
createdAt: string | Date;
|
|
400
500
|
updatedAt: string | Date;
|
|
401
501
|
name: string;
|
|
402
502
|
} | null | undefined;
|
|
503
|
+
lead?: {
|
|
504
|
+
phoneNumber: string;
|
|
505
|
+
name: string;
|
|
506
|
+
} | undefined;
|
|
403
507
|
agent?: {
|
|
404
|
-
lastName: string;
|
|
405
|
-
firstName: string;
|
|
406
|
-
email: string;
|
|
407
|
-
phone: string;
|
|
408
|
-
createdAt: string | Date;
|
|
409
508
|
id: string;
|
|
509
|
+
createdAt: string | Date;
|
|
410
510
|
updatedAt: string | Date;
|
|
511
|
+
firstName: string;
|
|
512
|
+
lastName: string;
|
|
513
|
+
email: string;
|
|
514
|
+
phoneNumbers?: {
|
|
515
|
+
id: string;
|
|
516
|
+
phoneNumber: string;
|
|
517
|
+
description?: string | null | undefined;
|
|
518
|
+
isPrimary?: boolean | undefined;
|
|
519
|
+
}[] | undefined;
|
|
411
520
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
412
521
|
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;
|
|
413
522
|
} | undefined;
|
|
414
|
-
lead?: {
|
|
415
|
-
name: string;
|
|
416
|
-
phoneNumber: string;
|
|
417
|
-
} | undefined;
|
|
418
523
|
}>>;
|
|
419
524
|
}, "strip", z.ZodTypeAny, {
|
|
420
525
|
completed: {
|
|
421
|
-
createdAt: string;
|
|
422
|
-
status: LeadAssignmentStatus;
|
|
423
526
|
id: string;
|
|
527
|
+
status: LeadAssignmentStatus;
|
|
528
|
+
createdAt: string;
|
|
424
529
|
updatedAt: string;
|
|
530
|
+
leadId: string;
|
|
425
531
|
agentId: string | null;
|
|
426
532
|
companyId: string | null;
|
|
427
|
-
leadId: string;
|
|
428
533
|
assignedAt: string;
|
|
429
534
|
assignedBy: string | null;
|
|
430
535
|
company?: {
|
|
431
|
-
createdAt: string;
|
|
432
536
|
id: string;
|
|
537
|
+
createdAt: string;
|
|
433
538
|
updatedAt: string;
|
|
434
539
|
name: string;
|
|
435
540
|
} | null | undefined;
|
|
541
|
+
lead?: {
|
|
542
|
+
phoneNumber: string;
|
|
543
|
+
name: string;
|
|
544
|
+
} | undefined;
|
|
436
545
|
agent?: {
|
|
437
|
-
lastName: string;
|
|
438
|
-
firstName: string;
|
|
439
|
-
email: string;
|
|
440
|
-
phone: string;
|
|
441
|
-
createdAt: string;
|
|
442
546
|
id: string;
|
|
547
|
+
createdAt: string;
|
|
443
548
|
updatedAt: string;
|
|
549
|
+
firstName: string;
|
|
550
|
+
lastName: string;
|
|
551
|
+
email: string;
|
|
552
|
+
phoneNumbers: {
|
|
553
|
+
id: string;
|
|
554
|
+
phoneNumber: string;
|
|
555
|
+
isPrimary: boolean;
|
|
556
|
+
description?: string | null | undefined;
|
|
557
|
+
}[];
|
|
444
558
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
445
559
|
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;
|
|
446
560
|
} | undefined;
|
|
447
|
-
lead?: {
|
|
448
|
-
name: string;
|
|
449
|
-
phoneNumber: string;
|
|
450
|
-
} | undefined;
|
|
451
561
|
};
|
|
452
562
|
next: {
|
|
453
|
-
createdAt: string;
|
|
454
|
-
status: LeadAssignmentStatus;
|
|
455
563
|
id: string;
|
|
564
|
+
status: LeadAssignmentStatus;
|
|
565
|
+
createdAt: string;
|
|
456
566
|
updatedAt: string;
|
|
567
|
+
leadId: string;
|
|
457
568
|
agentId: string | null;
|
|
458
569
|
companyId: string | null;
|
|
459
|
-
leadId: string;
|
|
460
570
|
assignedAt: string;
|
|
461
571
|
assignedBy: string | null;
|
|
462
572
|
company?: {
|
|
463
|
-
createdAt: string;
|
|
464
573
|
id: string;
|
|
574
|
+
createdAt: string;
|
|
465
575
|
updatedAt: string;
|
|
466
576
|
name: string;
|
|
467
577
|
} | null | undefined;
|
|
578
|
+
lead?: {
|
|
579
|
+
phoneNumber: string;
|
|
580
|
+
name: string;
|
|
581
|
+
} | undefined;
|
|
468
582
|
agent?: {
|
|
469
|
-
lastName: string;
|
|
470
|
-
firstName: string;
|
|
471
|
-
email: string;
|
|
472
|
-
phone: string;
|
|
473
|
-
createdAt: string;
|
|
474
583
|
id: string;
|
|
584
|
+
createdAt: string;
|
|
475
585
|
updatedAt: string;
|
|
586
|
+
firstName: string;
|
|
587
|
+
lastName: string;
|
|
588
|
+
email: string;
|
|
589
|
+
phoneNumbers: {
|
|
590
|
+
id: string;
|
|
591
|
+
phoneNumber: string;
|
|
592
|
+
isPrimary: boolean;
|
|
593
|
+
description?: string | null | undefined;
|
|
594
|
+
}[];
|
|
476
595
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
477
596
|
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;
|
|
478
597
|
} | undefined;
|
|
479
|
-
lead?: {
|
|
480
|
-
name: string;
|
|
481
|
-
phoneNumber: string;
|
|
482
|
-
} | undefined;
|
|
483
598
|
} | null;
|
|
484
599
|
}, {
|
|
485
600
|
completed: {
|
|
486
|
-
createdAt: string | Date;
|
|
487
|
-
status: LeadAssignmentStatus;
|
|
488
601
|
id: string;
|
|
602
|
+
status: LeadAssignmentStatus;
|
|
603
|
+
createdAt: string | Date;
|
|
489
604
|
updatedAt: string | Date;
|
|
605
|
+
leadId: string;
|
|
490
606
|
agentId: string | null;
|
|
491
607
|
companyId: string | null;
|
|
492
|
-
leadId: string;
|
|
493
608
|
assignedAt: string | Date;
|
|
494
609
|
assignedBy: string | null;
|
|
495
610
|
company?: {
|
|
496
|
-
createdAt: string | Date;
|
|
497
611
|
id: string;
|
|
612
|
+
createdAt: string | Date;
|
|
498
613
|
updatedAt: string | Date;
|
|
499
614
|
name: string;
|
|
500
615
|
} | null | undefined;
|
|
616
|
+
lead?: {
|
|
617
|
+
phoneNumber: string;
|
|
618
|
+
name: string;
|
|
619
|
+
} | undefined;
|
|
501
620
|
agent?: {
|
|
502
|
-
lastName: string;
|
|
503
|
-
firstName: string;
|
|
504
|
-
email: string;
|
|
505
|
-
phone: string;
|
|
506
|
-
createdAt: string | Date;
|
|
507
621
|
id: string;
|
|
622
|
+
createdAt: string | Date;
|
|
508
623
|
updatedAt: string | Date;
|
|
624
|
+
firstName: string;
|
|
625
|
+
lastName: string;
|
|
626
|
+
email: string;
|
|
627
|
+
phoneNumbers?: {
|
|
628
|
+
id: string;
|
|
629
|
+
phoneNumber: string;
|
|
630
|
+
description?: string | null | undefined;
|
|
631
|
+
isPrimary?: boolean | undefined;
|
|
632
|
+
}[] | undefined;
|
|
509
633
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
510
634
|
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;
|
|
511
635
|
} | undefined;
|
|
512
|
-
lead?: {
|
|
513
|
-
name: string;
|
|
514
|
-
phoneNumber: string;
|
|
515
|
-
} | undefined;
|
|
516
636
|
};
|
|
517
637
|
next: {
|
|
518
|
-
createdAt: string | Date;
|
|
519
|
-
status: LeadAssignmentStatus;
|
|
520
638
|
id: string;
|
|
639
|
+
status: LeadAssignmentStatus;
|
|
640
|
+
createdAt: string | Date;
|
|
521
641
|
updatedAt: string | Date;
|
|
642
|
+
leadId: string;
|
|
522
643
|
agentId: string | null;
|
|
523
644
|
companyId: string | null;
|
|
524
|
-
leadId: string;
|
|
525
645
|
assignedAt: string | Date;
|
|
526
646
|
assignedBy: string | null;
|
|
527
647
|
company?: {
|
|
528
|
-
createdAt: string | Date;
|
|
529
648
|
id: string;
|
|
649
|
+
createdAt: string | Date;
|
|
530
650
|
updatedAt: string | Date;
|
|
531
651
|
name: string;
|
|
532
652
|
} | null | undefined;
|
|
653
|
+
lead?: {
|
|
654
|
+
phoneNumber: string;
|
|
655
|
+
name: string;
|
|
656
|
+
} | undefined;
|
|
533
657
|
agent?: {
|
|
534
|
-
lastName: string;
|
|
535
|
-
firstName: string;
|
|
536
|
-
email: string;
|
|
537
|
-
phone: string;
|
|
538
|
-
createdAt: string | Date;
|
|
539
658
|
id: string;
|
|
659
|
+
createdAt: string | Date;
|
|
540
660
|
updatedAt: string | Date;
|
|
661
|
+
firstName: string;
|
|
662
|
+
lastName: string;
|
|
663
|
+
email: string;
|
|
664
|
+
phoneNumbers?: {
|
|
665
|
+
id: string;
|
|
666
|
+
phoneNumber: string;
|
|
667
|
+
description?: string | null | undefined;
|
|
668
|
+
isPrimary?: boolean | undefined;
|
|
669
|
+
}[] | undefined;
|
|
541
670
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
542
671
|
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;
|
|
543
672
|
} | undefined;
|
|
544
|
-
lead?: {
|
|
545
|
-
name: string;
|
|
546
|
-
phoneNumber: string;
|
|
547
|
-
} | undefined;
|
|
548
673
|
} | null;
|
|
549
674
|
}>;
|
|
550
675
|
export declare const QueueStatusSchema: z.ZodObject<{
|
|
@@ -722,11 +847,11 @@ export declare const leadAssignmentsContract: {
|
|
|
722
847
|
name: z.ZodString;
|
|
723
848
|
phoneNumber: z.ZodString;
|
|
724
849
|
}, "strip", z.ZodTypeAny, {
|
|
725
|
-
name: string;
|
|
726
850
|
phoneNumber: string;
|
|
727
|
-
}, {
|
|
728
851
|
name: string;
|
|
852
|
+
}, {
|
|
729
853
|
phoneNumber: string;
|
|
854
|
+
name: string;
|
|
730
855
|
}>>;
|
|
731
856
|
agentId: z.ZodNullable<z.ZodString>;
|
|
732
857
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -734,29 +859,54 @@ export declare const leadAssignmentsContract: {
|
|
|
734
859
|
firstName: z.ZodString;
|
|
735
860
|
lastName: z.ZodString;
|
|
736
861
|
email: z.ZodString;
|
|
737
|
-
|
|
862
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
863
|
+
id: z.ZodString;
|
|
864
|
+
phoneNumber: z.ZodString;
|
|
865
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
866
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
867
|
+
}, "strip", z.ZodTypeAny, {
|
|
868
|
+
id: string;
|
|
869
|
+
phoneNumber: string;
|
|
870
|
+
isPrimary: boolean;
|
|
871
|
+
description?: string | null | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
id: string;
|
|
874
|
+
phoneNumber: string;
|
|
875
|
+
description?: string | null | undefined;
|
|
876
|
+
isPrimary?: boolean | undefined;
|
|
877
|
+
}>, "many">>>;
|
|
738
878
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
739
879
|
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"]>>>;
|
|
740
880
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
741
881
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
742
882
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
lastName: string;
|
|
744
|
-
firstName: string;
|
|
745
|
-
email: string;
|
|
746
|
-
phone: string;
|
|
747
|
-
createdAt: string;
|
|
748
883
|
id: string;
|
|
884
|
+
createdAt: string;
|
|
749
885
|
updatedAt: string;
|
|
886
|
+
firstName: string;
|
|
887
|
+
lastName: string;
|
|
888
|
+
email: string;
|
|
889
|
+
phoneNumbers: {
|
|
890
|
+
id: string;
|
|
891
|
+
phoneNumber: string;
|
|
892
|
+
isPrimary: boolean;
|
|
893
|
+
description?: string | null | undefined;
|
|
894
|
+
}[];
|
|
750
895
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
751
896
|
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;
|
|
752
897
|
}, {
|
|
753
|
-
lastName: string;
|
|
754
|
-
firstName: string;
|
|
755
|
-
email: string;
|
|
756
|
-
phone: string;
|
|
757
|
-
createdAt: string | Date;
|
|
758
898
|
id: string;
|
|
899
|
+
createdAt: string | Date;
|
|
759
900
|
updatedAt: string | Date;
|
|
901
|
+
firstName: string;
|
|
902
|
+
lastName: string;
|
|
903
|
+
email: string;
|
|
904
|
+
phoneNumbers?: {
|
|
905
|
+
id: string;
|
|
906
|
+
phoneNumber: string;
|
|
907
|
+
description?: string | null | undefined;
|
|
908
|
+
isPrimary?: boolean | undefined;
|
|
909
|
+
}[] | undefined;
|
|
760
910
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
761
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;
|
|
762
912
|
}>>;
|
|
@@ -770,80 +920,90 @@ export declare const leadAssignmentsContract: {
|
|
|
770
920
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
771
921
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
772
922
|
}, "strip", z.ZodTypeAny, {
|
|
773
|
-
createdAt: string;
|
|
774
923
|
id: string;
|
|
924
|
+
createdAt: string;
|
|
775
925
|
updatedAt: string;
|
|
776
926
|
name: string;
|
|
777
927
|
}, {
|
|
778
|
-
createdAt: string | Date;
|
|
779
928
|
id: string;
|
|
929
|
+
createdAt: string | Date;
|
|
780
930
|
updatedAt: string | Date;
|
|
781
931
|
name: string;
|
|
782
932
|
}>>>;
|
|
783
933
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
784
934
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
785
935
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
createdAt: string;
|
|
787
|
-
status: LeadAssignmentStatus;
|
|
788
936
|
id: string;
|
|
937
|
+
status: LeadAssignmentStatus;
|
|
938
|
+
createdAt: string;
|
|
789
939
|
updatedAt: string;
|
|
940
|
+
leadId: string;
|
|
790
941
|
agentId: string | null;
|
|
791
942
|
companyId: string | null;
|
|
792
|
-
leadId: string;
|
|
793
943
|
assignedAt: string;
|
|
794
944
|
assignedBy: string | null;
|
|
795
945
|
company?: {
|
|
796
|
-
createdAt: string;
|
|
797
946
|
id: string;
|
|
947
|
+
createdAt: string;
|
|
798
948
|
updatedAt: string;
|
|
799
949
|
name: string;
|
|
800
950
|
} | null | undefined;
|
|
951
|
+
lead?: {
|
|
952
|
+
phoneNumber: string;
|
|
953
|
+
name: string;
|
|
954
|
+
} | undefined;
|
|
801
955
|
agent?: {
|
|
802
|
-
lastName: string;
|
|
803
|
-
firstName: string;
|
|
804
|
-
email: string;
|
|
805
|
-
phone: string;
|
|
806
|
-
createdAt: string;
|
|
807
956
|
id: string;
|
|
957
|
+
createdAt: string;
|
|
808
958
|
updatedAt: string;
|
|
959
|
+
firstName: string;
|
|
960
|
+
lastName: string;
|
|
961
|
+
email: string;
|
|
962
|
+
phoneNumbers: {
|
|
963
|
+
id: string;
|
|
964
|
+
phoneNumber: string;
|
|
965
|
+
isPrimary: boolean;
|
|
966
|
+
description?: string | null | undefined;
|
|
967
|
+
}[];
|
|
809
968
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
810
969
|
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;
|
|
811
970
|
} | undefined;
|
|
812
|
-
lead?: {
|
|
813
|
-
name: string;
|
|
814
|
-
phoneNumber: string;
|
|
815
|
-
} | undefined;
|
|
816
971
|
}, {
|
|
817
|
-
createdAt: string | Date;
|
|
818
|
-
status: LeadAssignmentStatus;
|
|
819
972
|
id: string;
|
|
973
|
+
status: LeadAssignmentStatus;
|
|
974
|
+
createdAt: string | Date;
|
|
820
975
|
updatedAt: string | Date;
|
|
976
|
+
leadId: string;
|
|
821
977
|
agentId: string | null;
|
|
822
978
|
companyId: string | null;
|
|
823
|
-
leadId: string;
|
|
824
979
|
assignedAt: string | Date;
|
|
825
980
|
assignedBy: string | null;
|
|
826
981
|
company?: {
|
|
827
|
-
createdAt: string | Date;
|
|
828
982
|
id: string;
|
|
983
|
+
createdAt: string | Date;
|
|
829
984
|
updatedAt: string | Date;
|
|
830
985
|
name: string;
|
|
831
986
|
} | null | undefined;
|
|
987
|
+
lead?: {
|
|
988
|
+
phoneNumber: string;
|
|
989
|
+
name: string;
|
|
990
|
+
} | undefined;
|
|
832
991
|
agent?: {
|
|
833
|
-
lastName: string;
|
|
834
|
-
firstName: string;
|
|
835
|
-
email: string;
|
|
836
|
-
phone: string;
|
|
837
|
-
createdAt: string | Date;
|
|
838
992
|
id: string;
|
|
993
|
+
createdAt: string | Date;
|
|
839
994
|
updatedAt: string | Date;
|
|
995
|
+
firstName: string;
|
|
996
|
+
lastName: string;
|
|
997
|
+
email: string;
|
|
998
|
+
phoneNumbers?: {
|
|
999
|
+
id: string;
|
|
1000
|
+
phoneNumber: string;
|
|
1001
|
+
description?: string | null | undefined;
|
|
1002
|
+
isPrimary?: boolean | undefined;
|
|
1003
|
+
}[] | undefined;
|
|
840
1004
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
841
1005
|
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;
|
|
842
1006
|
} | undefined;
|
|
843
|
-
lead?: {
|
|
844
|
-
name: string;
|
|
845
|
-
phoneNumber: string;
|
|
846
|
-
} | undefined;
|
|
847
1007
|
}>;
|
|
848
1008
|
next: z.ZodNullable<z.ZodObject<{
|
|
849
1009
|
id: z.ZodString;
|
|
@@ -852,11 +1012,11 @@ export declare const leadAssignmentsContract: {
|
|
|
852
1012
|
name: z.ZodString;
|
|
853
1013
|
phoneNumber: z.ZodString;
|
|
854
1014
|
}, "strip", z.ZodTypeAny, {
|
|
855
|
-
name: string;
|
|
856
1015
|
phoneNumber: string;
|
|
857
|
-
}, {
|
|
858
1016
|
name: string;
|
|
1017
|
+
}, {
|
|
859
1018
|
phoneNumber: string;
|
|
1019
|
+
name: string;
|
|
860
1020
|
}>>;
|
|
861
1021
|
agentId: z.ZodNullable<z.ZodString>;
|
|
862
1022
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -864,29 +1024,54 @@ export declare const leadAssignmentsContract: {
|
|
|
864
1024
|
firstName: z.ZodString;
|
|
865
1025
|
lastName: z.ZodString;
|
|
866
1026
|
email: z.ZodString;
|
|
867
|
-
|
|
1027
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1028
|
+
id: z.ZodString;
|
|
1029
|
+
phoneNumber: z.ZodString;
|
|
1030
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1031
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
id: string;
|
|
1034
|
+
phoneNumber: string;
|
|
1035
|
+
isPrimary: boolean;
|
|
1036
|
+
description?: string | null | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
id: string;
|
|
1039
|
+
phoneNumber: string;
|
|
1040
|
+
description?: string | null | undefined;
|
|
1041
|
+
isPrimary?: boolean | undefined;
|
|
1042
|
+
}>, "many">>>;
|
|
868
1043
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
869
1044
|
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"]>>>;
|
|
870
1045
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
871
1046
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
872
1047
|
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
lastName: string;
|
|
874
|
-
firstName: string;
|
|
875
|
-
email: string;
|
|
876
|
-
phone: string;
|
|
877
|
-
createdAt: string;
|
|
878
1048
|
id: string;
|
|
1049
|
+
createdAt: string;
|
|
879
1050
|
updatedAt: string;
|
|
1051
|
+
firstName: string;
|
|
1052
|
+
lastName: string;
|
|
1053
|
+
email: string;
|
|
1054
|
+
phoneNumbers: {
|
|
1055
|
+
id: string;
|
|
1056
|
+
phoneNumber: string;
|
|
1057
|
+
isPrimary: boolean;
|
|
1058
|
+
description?: string | null | undefined;
|
|
1059
|
+
}[];
|
|
880
1060
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
881
1061
|
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;
|
|
882
1062
|
}, {
|
|
883
|
-
lastName: string;
|
|
884
|
-
firstName: string;
|
|
885
|
-
email: string;
|
|
886
|
-
phone: string;
|
|
887
|
-
createdAt: string | Date;
|
|
888
1063
|
id: string;
|
|
1064
|
+
createdAt: string | Date;
|
|
889
1065
|
updatedAt: string | Date;
|
|
1066
|
+
firstName: string;
|
|
1067
|
+
lastName: string;
|
|
1068
|
+
email: string;
|
|
1069
|
+
phoneNumbers?: {
|
|
1070
|
+
id: string;
|
|
1071
|
+
phoneNumber: string;
|
|
1072
|
+
description?: string | null | undefined;
|
|
1073
|
+
isPrimary?: boolean | undefined;
|
|
1074
|
+
}[] | undefined;
|
|
890
1075
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
891
1076
|
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;
|
|
892
1077
|
}>>;
|
|
@@ -900,210 +1085,240 @@ export declare const leadAssignmentsContract: {
|
|
|
900
1085
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
901
1086
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
902
1087
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
createdAt: string;
|
|
904
1088
|
id: string;
|
|
1089
|
+
createdAt: string;
|
|
905
1090
|
updatedAt: string;
|
|
906
1091
|
name: string;
|
|
907
1092
|
}, {
|
|
908
|
-
createdAt: string | Date;
|
|
909
1093
|
id: string;
|
|
1094
|
+
createdAt: string | Date;
|
|
910
1095
|
updatedAt: string | Date;
|
|
911
1096
|
name: string;
|
|
912
1097
|
}>>>;
|
|
913
1098
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
914
1099
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
915
1100
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
createdAt: string;
|
|
917
|
-
status: LeadAssignmentStatus;
|
|
918
1101
|
id: string;
|
|
1102
|
+
status: LeadAssignmentStatus;
|
|
1103
|
+
createdAt: string;
|
|
919
1104
|
updatedAt: string;
|
|
1105
|
+
leadId: string;
|
|
920
1106
|
agentId: string | null;
|
|
921
1107
|
companyId: string | null;
|
|
922
|
-
leadId: string;
|
|
923
1108
|
assignedAt: string;
|
|
924
1109
|
assignedBy: string | null;
|
|
925
1110
|
company?: {
|
|
926
|
-
createdAt: string;
|
|
927
1111
|
id: string;
|
|
1112
|
+
createdAt: string;
|
|
928
1113
|
updatedAt: string;
|
|
929
1114
|
name: string;
|
|
930
1115
|
} | null | undefined;
|
|
1116
|
+
lead?: {
|
|
1117
|
+
phoneNumber: string;
|
|
1118
|
+
name: string;
|
|
1119
|
+
} | undefined;
|
|
931
1120
|
agent?: {
|
|
932
|
-
lastName: string;
|
|
933
|
-
firstName: string;
|
|
934
|
-
email: string;
|
|
935
|
-
phone: string;
|
|
936
|
-
createdAt: string;
|
|
937
1121
|
id: string;
|
|
1122
|
+
createdAt: string;
|
|
938
1123
|
updatedAt: string;
|
|
1124
|
+
firstName: string;
|
|
1125
|
+
lastName: string;
|
|
1126
|
+
email: string;
|
|
1127
|
+
phoneNumbers: {
|
|
1128
|
+
id: string;
|
|
1129
|
+
phoneNumber: string;
|
|
1130
|
+
isPrimary: boolean;
|
|
1131
|
+
description?: string | null | undefined;
|
|
1132
|
+
}[];
|
|
939
1133
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
940
1134
|
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;
|
|
941
1135
|
} | undefined;
|
|
942
|
-
lead?: {
|
|
943
|
-
name: string;
|
|
944
|
-
phoneNumber: string;
|
|
945
|
-
} | undefined;
|
|
946
1136
|
}, {
|
|
947
|
-
createdAt: string | Date;
|
|
948
|
-
status: LeadAssignmentStatus;
|
|
949
1137
|
id: string;
|
|
1138
|
+
status: LeadAssignmentStatus;
|
|
1139
|
+
createdAt: string | Date;
|
|
950
1140
|
updatedAt: string | Date;
|
|
1141
|
+
leadId: string;
|
|
951
1142
|
agentId: string | null;
|
|
952
1143
|
companyId: string | null;
|
|
953
|
-
leadId: string;
|
|
954
1144
|
assignedAt: string | Date;
|
|
955
1145
|
assignedBy: string | null;
|
|
956
1146
|
company?: {
|
|
957
|
-
createdAt: string | Date;
|
|
958
1147
|
id: string;
|
|
1148
|
+
createdAt: string | Date;
|
|
959
1149
|
updatedAt: string | Date;
|
|
960
1150
|
name: string;
|
|
961
1151
|
} | null | undefined;
|
|
1152
|
+
lead?: {
|
|
1153
|
+
phoneNumber: string;
|
|
1154
|
+
name: string;
|
|
1155
|
+
} | undefined;
|
|
962
1156
|
agent?: {
|
|
963
|
-
lastName: string;
|
|
964
|
-
firstName: string;
|
|
965
|
-
email: string;
|
|
966
|
-
phone: string;
|
|
967
|
-
createdAt: string | Date;
|
|
968
1157
|
id: string;
|
|
1158
|
+
createdAt: string | Date;
|
|
969
1159
|
updatedAt: string | Date;
|
|
1160
|
+
firstName: string;
|
|
1161
|
+
lastName: string;
|
|
1162
|
+
email: string;
|
|
1163
|
+
phoneNumbers?: {
|
|
1164
|
+
id: string;
|
|
1165
|
+
phoneNumber: string;
|
|
1166
|
+
description?: string | null | undefined;
|
|
1167
|
+
isPrimary?: boolean | undefined;
|
|
1168
|
+
}[] | undefined;
|
|
970
1169
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
971
1170
|
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;
|
|
972
1171
|
} | undefined;
|
|
973
|
-
lead?: {
|
|
974
|
-
name: string;
|
|
975
|
-
phoneNumber: string;
|
|
976
|
-
} | undefined;
|
|
977
1172
|
}>>;
|
|
978
1173
|
}, "strip", z.ZodTypeAny, {
|
|
979
1174
|
completed: {
|
|
980
|
-
createdAt: string;
|
|
981
|
-
status: LeadAssignmentStatus;
|
|
982
1175
|
id: string;
|
|
1176
|
+
status: LeadAssignmentStatus;
|
|
1177
|
+
createdAt: string;
|
|
983
1178
|
updatedAt: string;
|
|
1179
|
+
leadId: string;
|
|
984
1180
|
agentId: string | null;
|
|
985
1181
|
companyId: string | null;
|
|
986
|
-
leadId: string;
|
|
987
1182
|
assignedAt: string;
|
|
988
1183
|
assignedBy: string | null;
|
|
989
1184
|
company?: {
|
|
990
|
-
createdAt: string;
|
|
991
1185
|
id: string;
|
|
1186
|
+
createdAt: string;
|
|
992
1187
|
updatedAt: string;
|
|
993
1188
|
name: string;
|
|
994
1189
|
} | null | undefined;
|
|
1190
|
+
lead?: {
|
|
1191
|
+
phoneNumber: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
} | undefined;
|
|
995
1194
|
agent?: {
|
|
996
|
-
lastName: string;
|
|
997
|
-
firstName: string;
|
|
998
|
-
email: string;
|
|
999
|
-
phone: string;
|
|
1000
|
-
createdAt: string;
|
|
1001
1195
|
id: string;
|
|
1196
|
+
createdAt: string;
|
|
1002
1197
|
updatedAt: string;
|
|
1198
|
+
firstName: string;
|
|
1199
|
+
lastName: string;
|
|
1200
|
+
email: string;
|
|
1201
|
+
phoneNumbers: {
|
|
1202
|
+
id: string;
|
|
1203
|
+
phoneNumber: string;
|
|
1204
|
+
isPrimary: boolean;
|
|
1205
|
+
description?: string | null | undefined;
|
|
1206
|
+
}[];
|
|
1003
1207
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1004
1208
|
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;
|
|
1005
1209
|
} | undefined;
|
|
1006
|
-
lead?: {
|
|
1007
|
-
name: string;
|
|
1008
|
-
phoneNumber: string;
|
|
1009
|
-
} | undefined;
|
|
1010
1210
|
};
|
|
1011
1211
|
next: {
|
|
1012
|
-
createdAt: string;
|
|
1013
|
-
status: LeadAssignmentStatus;
|
|
1014
1212
|
id: string;
|
|
1213
|
+
status: LeadAssignmentStatus;
|
|
1214
|
+
createdAt: string;
|
|
1015
1215
|
updatedAt: string;
|
|
1216
|
+
leadId: string;
|
|
1016
1217
|
agentId: string | null;
|
|
1017
1218
|
companyId: string | null;
|
|
1018
|
-
leadId: string;
|
|
1019
1219
|
assignedAt: string;
|
|
1020
1220
|
assignedBy: string | null;
|
|
1021
1221
|
company?: {
|
|
1022
|
-
createdAt: string;
|
|
1023
1222
|
id: string;
|
|
1223
|
+
createdAt: string;
|
|
1024
1224
|
updatedAt: string;
|
|
1025
1225
|
name: string;
|
|
1026
1226
|
} | null | undefined;
|
|
1227
|
+
lead?: {
|
|
1228
|
+
phoneNumber: string;
|
|
1229
|
+
name: string;
|
|
1230
|
+
} | undefined;
|
|
1027
1231
|
agent?: {
|
|
1028
|
-
lastName: string;
|
|
1029
|
-
firstName: string;
|
|
1030
|
-
email: string;
|
|
1031
|
-
phone: string;
|
|
1032
|
-
createdAt: string;
|
|
1033
1232
|
id: string;
|
|
1233
|
+
createdAt: string;
|
|
1034
1234
|
updatedAt: string;
|
|
1235
|
+
firstName: string;
|
|
1236
|
+
lastName: string;
|
|
1237
|
+
email: string;
|
|
1238
|
+
phoneNumbers: {
|
|
1239
|
+
id: string;
|
|
1240
|
+
phoneNumber: string;
|
|
1241
|
+
isPrimary: boolean;
|
|
1242
|
+
description?: string | null | undefined;
|
|
1243
|
+
}[];
|
|
1035
1244
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1036
1245
|
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;
|
|
1037
1246
|
} | undefined;
|
|
1038
|
-
lead?: {
|
|
1039
|
-
name: string;
|
|
1040
|
-
phoneNumber: string;
|
|
1041
|
-
} | undefined;
|
|
1042
1247
|
} | null;
|
|
1043
1248
|
}, {
|
|
1044
1249
|
completed: {
|
|
1045
|
-
createdAt: string | Date;
|
|
1046
|
-
status: LeadAssignmentStatus;
|
|
1047
1250
|
id: string;
|
|
1251
|
+
status: LeadAssignmentStatus;
|
|
1252
|
+
createdAt: string | Date;
|
|
1048
1253
|
updatedAt: string | Date;
|
|
1254
|
+
leadId: string;
|
|
1049
1255
|
agentId: string | null;
|
|
1050
1256
|
companyId: string | null;
|
|
1051
|
-
leadId: string;
|
|
1052
1257
|
assignedAt: string | Date;
|
|
1053
1258
|
assignedBy: string | null;
|
|
1054
1259
|
company?: {
|
|
1055
|
-
createdAt: string | Date;
|
|
1056
1260
|
id: string;
|
|
1261
|
+
createdAt: string | Date;
|
|
1057
1262
|
updatedAt: string | Date;
|
|
1058
1263
|
name: string;
|
|
1059
1264
|
} | null | undefined;
|
|
1265
|
+
lead?: {
|
|
1266
|
+
phoneNumber: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
} | undefined;
|
|
1060
1269
|
agent?: {
|
|
1061
|
-
lastName: string;
|
|
1062
|
-
firstName: string;
|
|
1063
|
-
email: string;
|
|
1064
|
-
phone: string;
|
|
1065
|
-
createdAt: string | Date;
|
|
1066
1270
|
id: string;
|
|
1271
|
+
createdAt: string | Date;
|
|
1067
1272
|
updatedAt: string | Date;
|
|
1273
|
+
firstName: string;
|
|
1274
|
+
lastName: string;
|
|
1275
|
+
email: string;
|
|
1276
|
+
phoneNumbers?: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
phoneNumber: string;
|
|
1279
|
+
description?: string | null | undefined;
|
|
1280
|
+
isPrimary?: boolean | undefined;
|
|
1281
|
+
}[] | undefined;
|
|
1068
1282
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1069
1283
|
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;
|
|
1070
1284
|
} | undefined;
|
|
1071
|
-
lead?: {
|
|
1072
|
-
name: string;
|
|
1073
|
-
phoneNumber: string;
|
|
1074
|
-
} | undefined;
|
|
1075
1285
|
};
|
|
1076
1286
|
next: {
|
|
1077
|
-
createdAt: string | Date;
|
|
1078
|
-
status: LeadAssignmentStatus;
|
|
1079
1287
|
id: string;
|
|
1288
|
+
status: LeadAssignmentStatus;
|
|
1289
|
+
createdAt: string | Date;
|
|
1080
1290
|
updatedAt: string | Date;
|
|
1291
|
+
leadId: string;
|
|
1081
1292
|
agentId: string | null;
|
|
1082
1293
|
companyId: string | null;
|
|
1083
|
-
leadId: string;
|
|
1084
1294
|
assignedAt: string | Date;
|
|
1085
1295
|
assignedBy: string | null;
|
|
1086
1296
|
company?: {
|
|
1087
|
-
createdAt: string | Date;
|
|
1088
1297
|
id: string;
|
|
1298
|
+
createdAt: string | Date;
|
|
1089
1299
|
updatedAt: string | Date;
|
|
1090
1300
|
name: string;
|
|
1091
1301
|
} | null | undefined;
|
|
1302
|
+
lead?: {
|
|
1303
|
+
phoneNumber: string;
|
|
1304
|
+
name: string;
|
|
1305
|
+
} | undefined;
|
|
1092
1306
|
agent?: {
|
|
1093
|
-
lastName: string;
|
|
1094
|
-
firstName: string;
|
|
1095
|
-
email: string;
|
|
1096
|
-
phone: string;
|
|
1097
|
-
createdAt: string | Date;
|
|
1098
1307
|
id: string;
|
|
1308
|
+
createdAt: string | Date;
|
|
1099
1309
|
updatedAt: string | Date;
|
|
1310
|
+
firstName: string;
|
|
1311
|
+
lastName: string;
|
|
1312
|
+
email: string;
|
|
1313
|
+
phoneNumbers?: {
|
|
1314
|
+
id: string;
|
|
1315
|
+
phoneNumber: string;
|
|
1316
|
+
description?: string | null | undefined;
|
|
1317
|
+
isPrimary?: boolean | undefined;
|
|
1318
|
+
}[] | undefined;
|
|
1100
1319
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1101
1320
|
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;
|
|
1102
1321
|
} | undefined;
|
|
1103
|
-
lead?: {
|
|
1104
|
-
name: string;
|
|
1105
|
-
phoneNumber: string;
|
|
1106
|
-
} | undefined;
|
|
1107
1322
|
} | null;
|
|
1108
1323
|
}>>;
|
|
1109
1324
|
404: z.ZodObject<{
|
|
@@ -1248,11 +1463,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1248
1463
|
name: z.ZodString;
|
|
1249
1464
|
phoneNumber: z.ZodString;
|
|
1250
1465
|
}, "strip", z.ZodTypeAny, {
|
|
1251
|
-
name: string;
|
|
1252
1466
|
phoneNumber: string;
|
|
1253
|
-
}, {
|
|
1254
1467
|
name: string;
|
|
1468
|
+
}, {
|
|
1255
1469
|
phoneNumber: string;
|
|
1470
|
+
name: string;
|
|
1256
1471
|
}>>;
|
|
1257
1472
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1258
1473
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1260,29 +1475,54 @@ export declare const leadAssignmentsContract: {
|
|
|
1260
1475
|
firstName: z.ZodString;
|
|
1261
1476
|
lastName: z.ZodString;
|
|
1262
1477
|
email: z.ZodString;
|
|
1263
|
-
|
|
1478
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1479
|
+
id: z.ZodString;
|
|
1480
|
+
phoneNumber: z.ZodString;
|
|
1481
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1482
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
id: string;
|
|
1485
|
+
phoneNumber: string;
|
|
1486
|
+
isPrimary: boolean;
|
|
1487
|
+
description?: string | null | undefined;
|
|
1488
|
+
}, {
|
|
1489
|
+
id: string;
|
|
1490
|
+
phoneNumber: string;
|
|
1491
|
+
description?: string | null | undefined;
|
|
1492
|
+
isPrimary?: boolean | undefined;
|
|
1493
|
+
}>, "many">>>;
|
|
1264
1494
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1265
1495
|
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"]>>>;
|
|
1266
1496
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1267
1497
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1268
1498
|
}, "strip", z.ZodTypeAny, {
|
|
1269
|
-
lastName: string;
|
|
1270
|
-
firstName: string;
|
|
1271
|
-
email: string;
|
|
1272
|
-
phone: string;
|
|
1273
|
-
createdAt: string;
|
|
1274
1499
|
id: string;
|
|
1500
|
+
createdAt: string;
|
|
1275
1501
|
updatedAt: string;
|
|
1502
|
+
firstName: string;
|
|
1503
|
+
lastName: string;
|
|
1504
|
+
email: string;
|
|
1505
|
+
phoneNumbers: {
|
|
1506
|
+
id: string;
|
|
1507
|
+
phoneNumber: string;
|
|
1508
|
+
isPrimary: boolean;
|
|
1509
|
+
description?: string | null | undefined;
|
|
1510
|
+
}[];
|
|
1276
1511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1277
1512
|
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;
|
|
1278
1513
|
}, {
|
|
1279
|
-
lastName: string;
|
|
1280
|
-
firstName: string;
|
|
1281
|
-
email: string;
|
|
1282
|
-
phone: string;
|
|
1283
|
-
createdAt: string | Date;
|
|
1284
1514
|
id: string;
|
|
1515
|
+
createdAt: string | Date;
|
|
1285
1516
|
updatedAt: string | Date;
|
|
1517
|
+
firstName: string;
|
|
1518
|
+
lastName: string;
|
|
1519
|
+
email: string;
|
|
1520
|
+
phoneNumbers?: {
|
|
1521
|
+
id: string;
|
|
1522
|
+
phoneNumber: string;
|
|
1523
|
+
description?: string | null | undefined;
|
|
1524
|
+
isPrimary?: boolean | undefined;
|
|
1525
|
+
}[] | undefined;
|
|
1286
1526
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1287
1527
|
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;
|
|
1288
1528
|
}>>;
|
|
@@ -1296,80 +1536,90 @@ export declare const leadAssignmentsContract: {
|
|
|
1296
1536
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1297
1537
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1298
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1299
|
-
createdAt: string;
|
|
1300
1539
|
id: string;
|
|
1540
|
+
createdAt: string;
|
|
1301
1541
|
updatedAt: string;
|
|
1302
1542
|
name: string;
|
|
1303
1543
|
}, {
|
|
1304
|
-
createdAt: string | Date;
|
|
1305
1544
|
id: string;
|
|
1545
|
+
createdAt: string | Date;
|
|
1306
1546
|
updatedAt: string | Date;
|
|
1307
1547
|
name: string;
|
|
1308
1548
|
}>>>;
|
|
1309
1549
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1310
1550
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1311
1551
|
}, "strip", z.ZodTypeAny, {
|
|
1312
|
-
createdAt: string;
|
|
1313
|
-
status: LeadAssignmentStatus;
|
|
1314
1552
|
id: string;
|
|
1553
|
+
status: LeadAssignmentStatus;
|
|
1554
|
+
createdAt: string;
|
|
1315
1555
|
updatedAt: string;
|
|
1556
|
+
leadId: string;
|
|
1316
1557
|
agentId: string | null;
|
|
1317
1558
|
companyId: string | null;
|
|
1318
|
-
leadId: string;
|
|
1319
1559
|
assignedAt: string;
|
|
1320
1560
|
assignedBy: string | null;
|
|
1321
1561
|
company?: {
|
|
1322
|
-
createdAt: string;
|
|
1323
1562
|
id: string;
|
|
1563
|
+
createdAt: string;
|
|
1324
1564
|
updatedAt: string;
|
|
1325
1565
|
name: string;
|
|
1326
1566
|
} | null | undefined;
|
|
1567
|
+
lead?: {
|
|
1568
|
+
phoneNumber: string;
|
|
1569
|
+
name: string;
|
|
1570
|
+
} | undefined;
|
|
1327
1571
|
agent?: {
|
|
1328
|
-
lastName: string;
|
|
1329
|
-
firstName: string;
|
|
1330
|
-
email: string;
|
|
1331
|
-
phone: string;
|
|
1332
|
-
createdAt: string;
|
|
1333
1572
|
id: string;
|
|
1573
|
+
createdAt: string;
|
|
1334
1574
|
updatedAt: string;
|
|
1575
|
+
firstName: string;
|
|
1576
|
+
lastName: string;
|
|
1577
|
+
email: string;
|
|
1578
|
+
phoneNumbers: {
|
|
1579
|
+
id: string;
|
|
1580
|
+
phoneNumber: string;
|
|
1581
|
+
isPrimary: boolean;
|
|
1582
|
+
description?: string | null | undefined;
|
|
1583
|
+
}[];
|
|
1335
1584
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1336
1585
|
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;
|
|
1337
1586
|
} | undefined;
|
|
1338
|
-
lead?: {
|
|
1339
|
-
name: string;
|
|
1340
|
-
phoneNumber: string;
|
|
1341
|
-
} | undefined;
|
|
1342
1587
|
}, {
|
|
1343
|
-
createdAt: string | Date;
|
|
1344
|
-
status: LeadAssignmentStatus;
|
|
1345
1588
|
id: string;
|
|
1589
|
+
status: LeadAssignmentStatus;
|
|
1590
|
+
createdAt: string | Date;
|
|
1346
1591
|
updatedAt: string | Date;
|
|
1592
|
+
leadId: string;
|
|
1347
1593
|
agentId: string | null;
|
|
1348
1594
|
companyId: string | null;
|
|
1349
|
-
leadId: string;
|
|
1350
1595
|
assignedAt: string | Date;
|
|
1351
1596
|
assignedBy: string | null;
|
|
1352
1597
|
company?: {
|
|
1353
|
-
createdAt: string | Date;
|
|
1354
1598
|
id: string;
|
|
1599
|
+
createdAt: string | Date;
|
|
1355
1600
|
updatedAt: string | Date;
|
|
1356
1601
|
name: string;
|
|
1357
1602
|
} | null | undefined;
|
|
1603
|
+
lead?: {
|
|
1604
|
+
phoneNumber: string;
|
|
1605
|
+
name: string;
|
|
1606
|
+
} | undefined;
|
|
1358
1607
|
agent?: {
|
|
1359
|
-
lastName: string;
|
|
1360
|
-
firstName: string;
|
|
1361
|
-
email: string;
|
|
1362
|
-
phone: string;
|
|
1363
|
-
createdAt: string | Date;
|
|
1364
1608
|
id: string;
|
|
1609
|
+
createdAt: string | Date;
|
|
1365
1610
|
updatedAt: string | Date;
|
|
1611
|
+
firstName: string;
|
|
1612
|
+
lastName: string;
|
|
1613
|
+
email: string;
|
|
1614
|
+
phoneNumbers?: {
|
|
1615
|
+
id: string;
|
|
1616
|
+
phoneNumber: string;
|
|
1617
|
+
description?: string | null | undefined;
|
|
1618
|
+
isPrimary?: boolean | undefined;
|
|
1619
|
+
}[] | undefined;
|
|
1366
1620
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1367
1621
|
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;
|
|
1368
1622
|
} | undefined;
|
|
1369
|
-
lead?: {
|
|
1370
|
-
name: string;
|
|
1371
|
-
phoneNumber: string;
|
|
1372
|
-
} | undefined;
|
|
1373
1623
|
}>>;
|
|
1374
1624
|
};
|
|
1375
1625
|
};
|
|
@@ -1496,11 +1746,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1496
1746
|
name: z.ZodString;
|
|
1497
1747
|
phoneNumber: z.ZodString;
|
|
1498
1748
|
}, "strip", z.ZodTypeAny, {
|
|
1499
|
-
name: string;
|
|
1500
1749
|
phoneNumber: string;
|
|
1501
|
-
}, {
|
|
1502
1750
|
name: string;
|
|
1751
|
+
}, {
|
|
1503
1752
|
phoneNumber: string;
|
|
1753
|
+
name: string;
|
|
1504
1754
|
}>>;
|
|
1505
1755
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1506
1756
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1508,29 +1758,54 @@ export declare const leadAssignmentsContract: {
|
|
|
1508
1758
|
firstName: z.ZodString;
|
|
1509
1759
|
lastName: z.ZodString;
|
|
1510
1760
|
email: z.ZodString;
|
|
1511
|
-
|
|
1761
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1762
|
+
id: z.ZodString;
|
|
1763
|
+
phoneNumber: z.ZodString;
|
|
1764
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1765
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1766
|
+
}, "strip", z.ZodTypeAny, {
|
|
1767
|
+
id: string;
|
|
1768
|
+
phoneNumber: string;
|
|
1769
|
+
isPrimary: boolean;
|
|
1770
|
+
description?: string | null | undefined;
|
|
1771
|
+
}, {
|
|
1772
|
+
id: string;
|
|
1773
|
+
phoneNumber: string;
|
|
1774
|
+
description?: string | null | undefined;
|
|
1775
|
+
isPrimary?: boolean | undefined;
|
|
1776
|
+
}>, "many">>>;
|
|
1512
1777
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1513
1778
|
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"]>>>;
|
|
1514
1779
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1515
1780
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1516
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1517
|
-
lastName: string;
|
|
1518
|
-
firstName: string;
|
|
1519
|
-
email: string;
|
|
1520
|
-
phone: string;
|
|
1521
|
-
createdAt: string;
|
|
1522
1782
|
id: string;
|
|
1783
|
+
createdAt: string;
|
|
1523
1784
|
updatedAt: string;
|
|
1785
|
+
firstName: string;
|
|
1786
|
+
lastName: string;
|
|
1787
|
+
email: string;
|
|
1788
|
+
phoneNumbers: {
|
|
1789
|
+
id: string;
|
|
1790
|
+
phoneNumber: string;
|
|
1791
|
+
isPrimary: boolean;
|
|
1792
|
+
description?: string | null | undefined;
|
|
1793
|
+
}[];
|
|
1524
1794
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1525
1795
|
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;
|
|
1526
1796
|
}, {
|
|
1527
|
-
lastName: string;
|
|
1528
|
-
firstName: string;
|
|
1529
|
-
email: string;
|
|
1530
|
-
phone: string;
|
|
1531
|
-
createdAt: string | Date;
|
|
1532
1797
|
id: string;
|
|
1798
|
+
createdAt: string | Date;
|
|
1533
1799
|
updatedAt: string | Date;
|
|
1800
|
+
firstName: string;
|
|
1801
|
+
lastName: string;
|
|
1802
|
+
email: string;
|
|
1803
|
+
phoneNumbers?: {
|
|
1804
|
+
id: string;
|
|
1805
|
+
phoneNumber: string;
|
|
1806
|
+
description?: string | null | undefined;
|
|
1807
|
+
isPrimary?: boolean | undefined;
|
|
1808
|
+
}[] | undefined;
|
|
1534
1809
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1535
1810
|
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;
|
|
1536
1811
|
}>>;
|
|
@@ -1544,80 +1819,90 @@ export declare const leadAssignmentsContract: {
|
|
|
1544
1819
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1545
1820
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1546
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
-
createdAt: string;
|
|
1548
1822
|
id: string;
|
|
1823
|
+
createdAt: string;
|
|
1549
1824
|
updatedAt: string;
|
|
1550
1825
|
name: string;
|
|
1551
1826
|
}, {
|
|
1552
|
-
createdAt: string | Date;
|
|
1553
1827
|
id: string;
|
|
1828
|
+
createdAt: string | Date;
|
|
1554
1829
|
updatedAt: string | Date;
|
|
1555
1830
|
name: string;
|
|
1556
1831
|
}>>>;
|
|
1557
1832
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1558
1833
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1559
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1560
|
-
createdAt: string;
|
|
1561
|
-
status: LeadAssignmentStatus;
|
|
1562
1835
|
id: string;
|
|
1836
|
+
status: LeadAssignmentStatus;
|
|
1837
|
+
createdAt: string;
|
|
1563
1838
|
updatedAt: string;
|
|
1839
|
+
leadId: string;
|
|
1564
1840
|
agentId: string | null;
|
|
1565
1841
|
companyId: string | null;
|
|
1566
|
-
leadId: string;
|
|
1567
1842
|
assignedAt: string;
|
|
1568
1843
|
assignedBy: string | null;
|
|
1569
1844
|
company?: {
|
|
1570
|
-
createdAt: string;
|
|
1571
1845
|
id: string;
|
|
1846
|
+
createdAt: string;
|
|
1572
1847
|
updatedAt: string;
|
|
1573
1848
|
name: string;
|
|
1574
1849
|
} | null | undefined;
|
|
1850
|
+
lead?: {
|
|
1851
|
+
phoneNumber: string;
|
|
1852
|
+
name: string;
|
|
1853
|
+
} | undefined;
|
|
1575
1854
|
agent?: {
|
|
1576
|
-
lastName: string;
|
|
1577
|
-
firstName: string;
|
|
1578
|
-
email: string;
|
|
1579
|
-
phone: string;
|
|
1580
|
-
createdAt: string;
|
|
1581
1855
|
id: string;
|
|
1856
|
+
createdAt: string;
|
|
1582
1857
|
updatedAt: string;
|
|
1858
|
+
firstName: string;
|
|
1859
|
+
lastName: string;
|
|
1860
|
+
email: string;
|
|
1861
|
+
phoneNumbers: {
|
|
1862
|
+
id: string;
|
|
1863
|
+
phoneNumber: string;
|
|
1864
|
+
isPrimary: boolean;
|
|
1865
|
+
description?: string | null | undefined;
|
|
1866
|
+
}[];
|
|
1583
1867
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1584
1868
|
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;
|
|
1585
1869
|
} | undefined;
|
|
1586
|
-
lead?: {
|
|
1587
|
-
name: string;
|
|
1588
|
-
phoneNumber: string;
|
|
1589
|
-
} | undefined;
|
|
1590
1870
|
}, {
|
|
1591
|
-
createdAt: string | Date;
|
|
1592
|
-
status: LeadAssignmentStatus;
|
|
1593
1871
|
id: string;
|
|
1872
|
+
status: LeadAssignmentStatus;
|
|
1873
|
+
createdAt: string | Date;
|
|
1594
1874
|
updatedAt: string | Date;
|
|
1875
|
+
leadId: string;
|
|
1595
1876
|
agentId: string | null;
|
|
1596
1877
|
companyId: string | null;
|
|
1597
|
-
leadId: string;
|
|
1598
1878
|
assignedAt: string | Date;
|
|
1599
1879
|
assignedBy: string | null;
|
|
1600
1880
|
company?: {
|
|
1601
|
-
createdAt: string | Date;
|
|
1602
1881
|
id: string;
|
|
1882
|
+
createdAt: string | Date;
|
|
1603
1883
|
updatedAt: string | Date;
|
|
1604
1884
|
name: string;
|
|
1605
1885
|
} | null | undefined;
|
|
1886
|
+
lead?: {
|
|
1887
|
+
phoneNumber: string;
|
|
1888
|
+
name: string;
|
|
1889
|
+
} | undefined;
|
|
1606
1890
|
agent?: {
|
|
1607
|
-
lastName: string;
|
|
1608
|
-
firstName: string;
|
|
1609
|
-
email: string;
|
|
1610
|
-
phone: string;
|
|
1611
|
-
createdAt: string | Date;
|
|
1612
1891
|
id: string;
|
|
1892
|
+
createdAt: string | Date;
|
|
1613
1893
|
updatedAt: string | Date;
|
|
1894
|
+
firstName: string;
|
|
1895
|
+
lastName: string;
|
|
1896
|
+
email: string;
|
|
1897
|
+
phoneNumbers?: {
|
|
1898
|
+
id: string;
|
|
1899
|
+
phoneNumber: string;
|
|
1900
|
+
description?: string | null | undefined;
|
|
1901
|
+
isPrimary?: boolean | undefined;
|
|
1902
|
+
}[] | undefined;
|
|
1614
1903
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1615
1904
|
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;
|
|
1616
1905
|
} | undefined;
|
|
1617
|
-
lead?: {
|
|
1618
|
-
name: string;
|
|
1619
|
-
phoneNumber: string;
|
|
1620
|
-
} | undefined;
|
|
1621
1906
|
}>;
|
|
1622
1907
|
404: z.ZodObject<{
|
|
1623
1908
|
statusCode: z.ZodNumber;
|
|
@@ -1768,11 +2053,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1768
2053
|
name: z.ZodString;
|
|
1769
2054
|
phoneNumber: z.ZodString;
|
|
1770
2055
|
}, "strip", z.ZodTypeAny, {
|
|
1771
|
-
name: string;
|
|
1772
2056
|
phoneNumber: string;
|
|
1773
|
-
}, {
|
|
1774
2057
|
name: string;
|
|
2058
|
+
}, {
|
|
1775
2059
|
phoneNumber: string;
|
|
2060
|
+
name: string;
|
|
1776
2061
|
}>>;
|
|
1777
2062
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1778
2063
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1780,29 +2065,54 @@ export declare const leadAssignmentsContract: {
|
|
|
1780
2065
|
firstName: z.ZodString;
|
|
1781
2066
|
lastName: z.ZodString;
|
|
1782
2067
|
email: z.ZodString;
|
|
1783
|
-
|
|
2068
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2069
|
+
id: z.ZodString;
|
|
2070
|
+
phoneNumber: z.ZodString;
|
|
2071
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2072
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2073
|
+
}, "strip", z.ZodTypeAny, {
|
|
2074
|
+
id: string;
|
|
2075
|
+
phoneNumber: string;
|
|
2076
|
+
isPrimary: boolean;
|
|
2077
|
+
description?: string | null | undefined;
|
|
2078
|
+
}, {
|
|
2079
|
+
id: string;
|
|
2080
|
+
phoneNumber: string;
|
|
2081
|
+
description?: string | null | undefined;
|
|
2082
|
+
isPrimary?: boolean | undefined;
|
|
2083
|
+
}>, "many">>>;
|
|
1784
2084
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1785
2085
|
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"]>>>;
|
|
1786
2086
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1787
2087
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1788
2088
|
}, "strip", z.ZodTypeAny, {
|
|
1789
|
-
lastName: string;
|
|
1790
|
-
firstName: string;
|
|
1791
|
-
email: string;
|
|
1792
|
-
phone: string;
|
|
1793
|
-
createdAt: string;
|
|
1794
2089
|
id: string;
|
|
2090
|
+
createdAt: string;
|
|
1795
2091
|
updatedAt: string;
|
|
2092
|
+
firstName: string;
|
|
2093
|
+
lastName: string;
|
|
2094
|
+
email: string;
|
|
2095
|
+
phoneNumbers: {
|
|
2096
|
+
id: string;
|
|
2097
|
+
phoneNumber: string;
|
|
2098
|
+
isPrimary: boolean;
|
|
2099
|
+
description?: string | null | undefined;
|
|
2100
|
+
}[];
|
|
1796
2101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1797
2102
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1798
2103
|
}, {
|
|
1799
|
-
lastName: string;
|
|
1800
|
-
firstName: string;
|
|
1801
|
-
email: string;
|
|
1802
|
-
phone: string;
|
|
1803
|
-
createdAt: string | Date;
|
|
1804
2104
|
id: string;
|
|
2105
|
+
createdAt: string | Date;
|
|
1805
2106
|
updatedAt: string | Date;
|
|
2107
|
+
firstName: string;
|
|
2108
|
+
lastName: string;
|
|
2109
|
+
email: string;
|
|
2110
|
+
phoneNumbers?: {
|
|
2111
|
+
id: string;
|
|
2112
|
+
phoneNumber: string;
|
|
2113
|
+
description?: string | null | undefined;
|
|
2114
|
+
isPrimary?: boolean | undefined;
|
|
2115
|
+
}[] | undefined;
|
|
1806
2116
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1807
2117
|
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;
|
|
1808
2118
|
}>>;
|
|
@@ -1816,80 +2126,90 @@ export declare const leadAssignmentsContract: {
|
|
|
1816
2126
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1817
2127
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1818
2128
|
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
createdAt: string;
|
|
1820
2129
|
id: string;
|
|
2130
|
+
createdAt: string;
|
|
1821
2131
|
updatedAt: string;
|
|
1822
2132
|
name: string;
|
|
1823
2133
|
}, {
|
|
1824
|
-
createdAt: string | Date;
|
|
1825
2134
|
id: string;
|
|
2135
|
+
createdAt: string | Date;
|
|
1826
2136
|
updatedAt: string | Date;
|
|
1827
2137
|
name: string;
|
|
1828
2138
|
}>>>;
|
|
1829
2139
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1830
2140
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1831
2141
|
}, "strip", z.ZodTypeAny, {
|
|
1832
|
-
createdAt: string;
|
|
1833
|
-
status: LeadAssignmentStatus;
|
|
1834
2142
|
id: string;
|
|
2143
|
+
status: LeadAssignmentStatus;
|
|
2144
|
+
createdAt: string;
|
|
1835
2145
|
updatedAt: string;
|
|
2146
|
+
leadId: string;
|
|
1836
2147
|
agentId: string | null;
|
|
1837
2148
|
companyId: string | null;
|
|
1838
|
-
leadId: string;
|
|
1839
2149
|
assignedAt: string;
|
|
1840
2150
|
assignedBy: string | null;
|
|
1841
2151
|
company?: {
|
|
1842
|
-
createdAt: string;
|
|
1843
2152
|
id: string;
|
|
2153
|
+
createdAt: string;
|
|
1844
2154
|
updatedAt: string;
|
|
1845
2155
|
name: string;
|
|
1846
2156
|
} | null | undefined;
|
|
2157
|
+
lead?: {
|
|
2158
|
+
phoneNumber: string;
|
|
2159
|
+
name: string;
|
|
2160
|
+
} | undefined;
|
|
1847
2161
|
agent?: {
|
|
1848
|
-
lastName: string;
|
|
1849
|
-
firstName: string;
|
|
1850
|
-
email: string;
|
|
1851
|
-
phone: string;
|
|
1852
|
-
createdAt: string;
|
|
1853
2162
|
id: string;
|
|
2163
|
+
createdAt: string;
|
|
1854
2164
|
updatedAt: string;
|
|
2165
|
+
firstName: string;
|
|
2166
|
+
lastName: string;
|
|
2167
|
+
email: string;
|
|
2168
|
+
phoneNumbers: {
|
|
2169
|
+
id: string;
|
|
2170
|
+
phoneNumber: string;
|
|
2171
|
+
isPrimary: boolean;
|
|
2172
|
+
description?: string | null | undefined;
|
|
2173
|
+
}[];
|
|
1855
2174
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1856
2175
|
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;
|
|
1857
2176
|
} | undefined;
|
|
1858
|
-
lead?: {
|
|
1859
|
-
name: string;
|
|
1860
|
-
phoneNumber: string;
|
|
1861
|
-
} | undefined;
|
|
1862
2177
|
}, {
|
|
1863
|
-
createdAt: string | Date;
|
|
1864
|
-
status: LeadAssignmentStatus;
|
|
1865
2178
|
id: string;
|
|
2179
|
+
status: LeadAssignmentStatus;
|
|
2180
|
+
createdAt: string | Date;
|
|
1866
2181
|
updatedAt: string | Date;
|
|
2182
|
+
leadId: string;
|
|
1867
2183
|
agentId: string | null;
|
|
1868
2184
|
companyId: string | null;
|
|
1869
|
-
leadId: string;
|
|
1870
2185
|
assignedAt: string | Date;
|
|
1871
2186
|
assignedBy: string | null;
|
|
1872
2187
|
company?: {
|
|
1873
|
-
createdAt: string | Date;
|
|
1874
2188
|
id: string;
|
|
2189
|
+
createdAt: string | Date;
|
|
1875
2190
|
updatedAt: string | Date;
|
|
1876
2191
|
name: string;
|
|
1877
2192
|
} | null | undefined;
|
|
2193
|
+
lead?: {
|
|
2194
|
+
phoneNumber: string;
|
|
2195
|
+
name: string;
|
|
2196
|
+
} | undefined;
|
|
1878
2197
|
agent?: {
|
|
1879
|
-
lastName: string;
|
|
1880
|
-
firstName: string;
|
|
1881
|
-
email: string;
|
|
1882
|
-
phone: string;
|
|
1883
|
-
createdAt: string | Date;
|
|
1884
2198
|
id: string;
|
|
2199
|
+
createdAt: string | Date;
|
|
1885
2200
|
updatedAt: string | Date;
|
|
2201
|
+
firstName: string;
|
|
2202
|
+
lastName: string;
|
|
2203
|
+
email: string;
|
|
2204
|
+
phoneNumbers?: {
|
|
2205
|
+
id: string;
|
|
2206
|
+
phoneNumber: string;
|
|
2207
|
+
description?: string | null | undefined;
|
|
2208
|
+
isPrimary?: boolean | undefined;
|
|
2209
|
+
}[] | undefined;
|
|
1886
2210
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1887
2211
|
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;
|
|
1888
2212
|
} | undefined;
|
|
1889
|
-
lead?: {
|
|
1890
|
-
name: string;
|
|
1891
|
-
phoneNumber: string;
|
|
1892
|
-
} | undefined;
|
|
1893
2213
|
}>;
|
|
1894
2214
|
404: z.ZodObject<{
|
|
1895
2215
|
statusCode: z.ZodNumber;
|