@dakkitor/api-contracts 1.1.72 → 1.1.75
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/second-agent.abilities.json +2 -4
- package/dist/actives/actives.contract.d.ts +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -21,14 +21,14 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
21
21
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
id: string;
|
|
24
|
-
name: string;
|
|
25
24
|
createdAt: string;
|
|
26
25
|
updatedAt: string;
|
|
26
|
+
name: string;
|
|
27
27
|
}, {
|
|
28
28
|
id: string;
|
|
29
|
-
name: string;
|
|
30
29
|
createdAt: string | Date;
|
|
31
30
|
updatedAt: string | Date;
|
|
31
|
+
name: string;
|
|
32
32
|
}>>>;
|
|
33
33
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
id: z.ZodString;
|
|
@@ -65,15 +65,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
65
65
|
agentId: string;
|
|
66
66
|
}>>>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
68
69
|
id: string;
|
|
69
|
-
|
|
70
|
+
createdAt: string;
|
|
71
|
+
updatedAt: string;
|
|
70
72
|
name: string;
|
|
71
73
|
crn: string | null;
|
|
72
74
|
govLink: string;
|
|
73
75
|
soleTrader: boolean;
|
|
74
76
|
director: string;
|
|
75
|
-
createdAt: string;
|
|
76
|
-
updatedAt: string;
|
|
77
77
|
blacklistReason?: string | null | undefined;
|
|
78
78
|
lastUpdatedBy?: {
|
|
79
79
|
id: string;
|
|
@@ -85,15 +85,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
85
85
|
agentId: string;
|
|
86
86
|
} | null | undefined;
|
|
87
87
|
}, {
|
|
88
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
88
89
|
id: string;
|
|
89
|
-
|
|
90
|
+
createdAt: string | Date;
|
|
91
|
+
updatedAt: string | Date;
|
|
90
92
|
name: string;
|
|
91
93
|
crn: string | null;
|
|
92
94
|
govLink: string;
|
|
93
95
|
soleTrader: boolean;
|
|
94
96
|
director: string;
|
|
95
|
-
createdAt: string | Date;
|
|
96
|
-
updatedAt: string | Date;
|
|
97
97
|
blacklistReason?: string | null | undefined;
|
|
98
98
|
lastUpdatedBy?: {
|
|
99
99
|
id: string;
|
|
@@ -110,16 +110,31 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
110
110
|
firstName: z.ZodString;
|
|
111
111
|
lastName: z.ZodString;
|
|
112
112
|
email: z.ZodString;
|
|
113
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
114
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
115
|
+
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"]>>>;
|
|
116
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
117
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
113
118
|
}, "strip", z.ZodTypeAny, {
|
|
114
119
|
id: string;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
updatedAt: string;
|
|
115
122
|
firstName: string;
|
|
116
123
|
lastName: string;
|
|
117
124
|
email: string;
|
|
125
|
+
phone: string;
|
|
126
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
127
|
+
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;
|
|
118
128
|
}, {
|
|
119
129
|
id: string;
|
|
130
|
+
createdAt: string | Date;
|
|
131
|
+
updatedAt: string | Date;
|
|
120
132
|
firstName: string;
|
|
121
133
|
lastName: string;
|
|
122
134
|
email: string;
|
|
135
|
+
phone: string;
|
|
136
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
137
|
+
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;
|
|
123
138
|
}>>>;
|
|
124
139
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
125
140
|
userId: z.ZodString;
|
|
@@ -135,14 +150,14 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
135
150
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
136
151
|
}, "strip", z.ZodTypeAny, {
|
|
137
152
|
id: string;
|
|
138
|
-
name: string;
|
|
139
153
|
createdAt: string;
|
|
140
154
|
updatedAt: string;
|
|
155
|
+
name: string;
|
|
141
156
|
}, {
|
|
142
157
|
id: string;
|
|
143
|
-
name: string;
|
|
144
158
|
createdAt: string | Date;
|
|
145
159
|
updatedAt: string | Date;
|
|
160
|
+
name: string;
|
|
146
161
|
}>>>;
|
|
147
162
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
148
163
|
id: z.ZodString;
|
|
@@ -179,15 +194,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
179
194
|
agentId: string;
|
|
180
195
|
}>>>;
|
|
181
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
182
198
|
id: string;
|
|
183
|
-
|
|
199
|
+
createdAt: string;
|
|
200
|
+
updatedAt: string;
|
|
184
201
|
name: string;
|
|
185
202
|
crn: string | null;
|
|
186
203
|
govLink: string;
|
|
187
204
|
soleTrader: boolean;
|
|
188
205
|
director: string;
|
|
189
|
-
createdAt: string;
|
|
190
|
-
updatedAt: string;
|
|
191
206
|
blacklistReason?: string | null | undefined;
|
|
192
207
|
lastUpdatedBy?: {
|
|
193
208
|
id: string;
|
|
@@ -199,15 +214,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
199
214
|
agentId: string;
|
|
200
215
|
} | null | undefined;
|
|
201
216
|
}, {
|
|
217
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
202
218
|
id: string;
|
|
203
|
-
|
|
219
|
+
createdAt: string | Date;
|
|
220
|
+
updatedAt: string | Date;
|
|
204
221
|
name: string;
|
|
205
222
|
crn: string | null;
|
|
206
223
|
govLink: string;
|
|
207
224
|
soleTrader: boolean;
|
|
208
225
|
director: string;
|
|
209
|
-
createdAt: string | Date;
|
|
210
|
-
updatedAt: string | Date;
|
|
211
226
|
blacklistReason?: string | null | undefined;
|
|
212
227
|
lastUpdatedBy?: {
|
|
213
228
|
id: string;
|
|
@@ -224,37 +239,58 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
224
239
|
firstName: z.ZodString;
|
|
225
240
|
lastName: z.ZodString;
|
|
226
241
|
email: z.ZodString;
|
|
242
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
243
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
244
|
+
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"]>>>;
|
|
245
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
246
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
227
247
|
}, "strip", z.ZodTypeAny, {
|
|
228
248
|
id: string;
|
|
249
|
+
createdAt: string;
|
|
250
|
+
updatedAt: string;
|
|
229
251
|
firstName: string;
|
|
230
252
|
lastName: string;
|
|
231
253
|
email: string;
|
|
254
|
+
phone: string;
|
|
255
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
256
|
+
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;
|
|
232
257
|
}, {
|
|
233
258
|
id: string;
|
|
259
|
+
createdAt: string | Date;
|
|
260
|
+
updatedAt: string | Date;
|
|
234
261
|
firstName: string;
|
|
235
262
|
lastName: string;
|
|
236
263
|
email: string;
|
|
264
|
+
phone: string;
|
|
265
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
266
|
+
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;
|
|
237
267
|
}>>>;
|
|
238
268
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
239
269
|
userId: z.ZodString;
|
|
240
270
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
241
271
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
242
272
|
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
id: string;
|
|
244
273
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
274
|
+
id: string;
|
|
245
275
|
createdAt: string;
|
|
246
276
|
updatedAt: string;
|
|
247
277
|
userId: string;
|
|
278
|
+
company?: {
|
|
279
|
+
id: string;
|
|
280
|
+
createdAt: string;
|
|
281
|
+
updatedAt: string;
|
|
282
|
+
name: string;
|
|
283
|
+
} | null | undefined;
|
|
248
284
|
client?: {
|
|
285
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
249
286
|
id: string;
|
|
250
|
-
|
|
287
|
+
createdAt: string;
|
|
288
|
+
updatedAt: string;
|
|
251
289
|
name: string;
|
|
252
290
|
crn: string | null;
|
|
253
291
|
govLink: string;
|
|
254
292
|
soleTrader: boolean;
|
|
255
293
|
director: string;
|
|
256
|
-
createdAt: string;
|
|
257
|
-
updatedAt: string;
|
|
258
294
|
blacklistReason?: string | null | undefined;
|
|
259
295
|
lastUpdatedBy?: {
|
|
260
296
|
id: string;
|
|
@@ -266,34 +302,39 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
266
302
|
agentId: string;
|
|
267
303
|
} | null | undefined;
|
|
268
304
|
} | null | undefined;
|
|
269
|
-
|
|
305
|
+
user?: {
|
|
270
306
|
id: string;
|
|
271
|
-
name: string;
|
|
272
307
|
createdAt: string;
|
|
273
308
|
updatedAt: string;
|
|
274
|
-
} | null | undefined;
|
|
275
|
-
user?: {
|
|
276
|
-
id: string;
|
|
277
309
|
firstName: string;
|
|
278
310
|
lastName: string;
|
|
279
311
|
email: string;
|
|
312
|
+
phone: string;
|
|
313
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
314
|
+
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;
|
|
280
315
|
} | null | undefined;
|
|
281
316
|
}, {
|
|
282
|
-
id: string;
|
|
283
317
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
318
|
+
id: string;
|
|
284
319
|
createdAt: string | Date;
|
|
285
320
|
updatedAt: string | Date;
|
|
286
321
|
userId: string;
|
|
322
|
+
company?: {
|
|
323
|
+
id: string;
|
|
324
|
+
createdAt: string | Date;
|
|
325
|
+
updatedAt: string | Date;
|
|
326
|
+
name: string;
|
|
327
|
+
} | null | undefined;
|
|
287
328
|
client?: {
|
|
329
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
288
330
|
id: string;
|
|
289
|
-
|
|
331
|
+
createdAt: string | Date;
|
|
332
|
+
updatedAt: string | Date;
|
|
290
333
|
name: string;
|
|
291
334
|
crn: string | null;
|
|
292
335
|
govLink: string;
|
|
293
336
|
soleTrader: boolean;
|
|
294
337
|
director: string;
|
|
295
|
-
createdAt: string | Date;
|
|
296
|
-
updatedAt: string | Date;
|
|
297
338
|
blacklistReason?: string | null | undefined;
|
|
298
339
|
lastUpdatedBy?: {
|
|
299
340
|
id: string;
|
|
@@ -305,35 +346,40 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
305
346
|
agentId: string;
|
|
306
347
|
} | null | undefined;
|
|
307
348
|
} | null | undefined;
|
|
308
|
-
|
|
349
|
+
user?: {
|
|
309
350
|
id: string;
|
|
310
|
-
name: string;
|
|
311
351
|
createdAt: string | Date;
|
|
312
352
|
updatedAt: string | Date;
|
|
313
|
-
} | null | undefined;
|
|
314
|
-
user?: {
|
|
315
|
-
id: string;
|
|
316
353
|
firstName: string;
|
|
317
354
|
lastName: string;
|
|
318
355
|
email: string;
|
|
356
|
+
phone: string;
|
|
357
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
358
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
319
359
|
} | null | undefined;
|
|
320
360
|
}>>>;
|
|
321
361
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
id: string;
|
|
323
362
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
363
|
+
id: string;
|
|
324
364
|
createdAt: string;
|
|
325
365
|
updatedAt: string;
|
|
326
366
|
userId: string;
|
|
367
|
+
company?: {
|
|
368
|
+
id: string;
|
|
369
|
+
createdAt: string;
|
|
370
|
+
updatedAt: string;
|
|
371
|
+
name: string;
|
|
372
|
+
} | null | undefined;
|
|
327
373
|
client?: {
|
|
374
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
328
375
|
id: string;
|
|
329
|
-
|
|
376
|
+
createdAt: string;
|
|
377
|
+
updatedAt: string;
|
|
330
378
|
name: string;
|
|
331
379
|
crn: string | null;
|
|
332
380
|
govLink: string;
|
|
333
381
|
soleTrader: boolean;
|
|
334
382
|
director: string;
|
|
335
|
-
createdAt: string;
|
|
336
|
-
updatedAt: string;
|
|
337
383
|
blacklistReason?: string | null | undefined;
|
|
338
384
|
lastUpdatedBy?: {
|
|
339
385
|
id: string;
|
|
@@ -345,34 +391,39 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
345
391
|
agentId: string;
|
|
346
392
|
} | null | undefined;
|
|
347
393
|
} | null | undefined;
|
|
348
|
-
|
|
394
|
+
user?: {
|
|
349
395
|
id: string;
|
|
350
|
-
name: string;
|
|
351
396
|
createdAt: string;
|
|
352
397
|
updatedAt: string;
|
|
353
|
-
} | null | undefined;
|
|
354
|
-
user?: {
|
|
355
|
-
id: string;
|
|
356
398
|
firstName: string;
|
|
357
399
|
lastName: string;
|
|
358
400
|
email: string;
|
|
401
|
+
phone: string;
|
|
402
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
403
|
+
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;
|
|
359
404
|
} | null | undefined;
|
|
360
405
|
newCollaboration?: {
|
|
361
|
-
id: string;
|
|
362
406
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
407
|
+
id: string;
|
|
363
408
|
createdAt: string;
|
|
364
409
|
updatedAt: string;
|
|
365
410
|
userId: string;
|
|
411
|
+
company?: {
|
|
412
|
+
id: string;
|
|
413
|
+
createdAt: string;
|
|
414
|
+
updatedAt: string;
|
|
415
|
+
name: string;
|
|
416
|
+
} | null | undefined;
|
|
366
417
|
client?: {
|
|
418
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
367
419
|
id: string;
|
|
368
|
-
|
|
420
|
+
createdAt: string;
|
|
421
|
+
updatedAt: string;
|
|
369
422
|
name: string;
|
|
370
423
|
crn: string | null;
|
|
371
424
|
govLink: string;
|
|
372
425
|
soleTrader: boolean;
|
|
373
426
|
director: string;
|
|
374
|
-
createdAt: string;
|
|
375
|
-
updatedAt: string;
|
|
376
427
|
blacklistReason?: string | null | undefined;
|
|
377
428
|
lastUpdatedBy?: {
|
|
378
429
|
id: string;
|
|
@@ -384,35 +435,40 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
384
435
|
agentId: string;
|
|
385
436
|
} | null | undefined;
|
|
386
437
|
} | null | undefined;
|
|
387
|
-
|
|
438
|
+
user?: {
|
|
388
439
|
id: string;
|
|
389
|
-
name: string;
|
|
390
440
|
createdAt: string;
|
|
391
441
|
updatedAt: string;
|
|
392
|
-
} | null | undefined;
|
|
393
|
-
user?: {
|
|
394
|
-
id: string;
|
|
395
442
|
firstName: string;
|
|
396
443
|
lastName: string;
|
|
397
444
|
email: string;
|
|
445
|
+
phone: string;
|
|
446
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
447
|
+
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
448
|
} | null | undefined;
|
|
399
449
|
} | null | undefined;
|
|
400
450
|
}, {
|
|
401
|
-
id: string;
|
|
402
451
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
452
|
+
id: string;
|
|
403
453
|
createdAt: string | Date;
|
|
404
454
|
updatedAt: string | Date;
|
|
405
455
|
userId: string;
|
|
456
|
+
company?: {
|
|
457
|
+
id: string;
|
|
458
|
+
createdAt: string | Date;
|
|
459
|
+
updatedAt: string | Date;
|
|
460
|
+
name: string;
|
|
461
|
+
} | null | undefined;
|
|
406
462
|
client?: {
|
|
463
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
407
464
|
id: string;
|
|
408
|
-
|
|
465
|
+
createdAt: string | Date;
|
|
466
|
+
updatedAt: string | Date;
|
|
409
467
|
name: string;
|
|
410
468
|
crn: string | null;
|
|
411
469
|
govLink: string;
|
|
412
470
|
soleTrader: boolean;
|
|
413
471
|
director: string;
|
|
414
|
-
createdAt: string | Date;
|
|
415
|
-
updatedAt: string | Date;
|
|
416
472
|
blacklistReason?: string | null | undefined;
|
|
417
473
|
lastUpdatedBy?: {
|
|
418
474
|
id: string;
|
|
@@ -424,34 +480,39 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
424
480
|
agentId: string;
|
|
425
481
|
} | null | undefined;
|
|
426
482
|
} | null | undefined;
|
|
427
|
-
|
|
483
|
+
user?: {
|
|
428
484
|
id: string;
|
|
429
|
-
name: string;
|
|
430
485
|
createdAt: string | Date;
|
|
431
486
|
updatedAt: string | Date;
|
|
432
|
-
} | null | undefined;
|
|
433
|
-
user?: {
|
|
434
|
-
id: string;
|
|
435
487
|
firstName: string;
|
|
436
488
|
lastName: string;
|
|
437
489
|
email: string;
|
|
490
|
+
phone: string;
|
|
491
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
492
|
+
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;
|
|
438
493
|
} | null | undefined;
|
|
439
494
|
newCollaboration?: {
|
|
440
|
-
id: string;
|
|
441
495
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
496
|
+
id: string;
|
|
442
497
|
createdAt: string | Date;
|
|
443
498
|
updatedAt: string | Date;
|
|
444
499
|
userId: string;
|
|
500
|
+
company?: {
|
|
501
|
+
id: string;
|
|
502
|
+
createdAt: string | Date;
|
|
503
|
+
updatedAt: string | Date;
|
|
504
|
+
name: string;
|
|
505
|
+
} | null | undefined;
|
|
445
506
|
client?: {
|
|
507
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
446
508
|
id: string;
|
|
447
|
-
|
|
509
|
+
createdAt: string | Date;
|
|
510
|
+
updatedAt: string | Date;
|
|
448
511
|
name: string;
|
|
449
512
|
crn: string | null;
|
|
450
513
|
govLink: string;
|
|
451
514
|
soleTrader: boolean;
|
|
452
515
|
director: string;
|
|
453
|
-
createdAt: string | Date;
|
|
454
|
-
updatedAt: string | Date;
|
|
455
516
|
blacklistReason?: string | null | undefined;
|
|
456
517
|
lastUpdatedBy?: {
|
|
457
518
|
id: string;
|
|
@@ -463,17 +524,16 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
463
524
|
agentId: string;
|
|
464
525
|
} | null | undefined;
|
|
465
526
|
} | null | undefined;
|
|
466
|
-
|
|
527
|
+
user?: {
|
|
467
528
|
id: string;
|
|
468
|
-
name: string;
|
|
469
529
|
createdAt: string | Date;
|
|
470
530
|
updatedAt: string | Date;
|
|
471
|
-
} | null | undefined;
|
|
472
|
-
user?: {
|
|
473
|
-
id: string;
|
|
474
531
|
firstName: string;
|
|
475
532
|
lastName: string;
|
|
476
533
|
email: string;
|
|
534
|
+
phone: string;
|
|
535
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
536
|
+
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;
|
|
477
537
|
} | null | undefined;
|
|
478
538
|
} | null | undefined;
|
|
479
539
|
}>;
|
|
@@ -504,10 +564,10 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
504
564
|
}>>;
|
|
505
565
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
506
566
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
|
|
567
|
+
company: {
|
|
508
568
|
id: string;
|
|
509
569
|
};
|
|
510
|
-
|
|
570
|
+
client: {
|
|
511
571
|
id: string;
|
|
512
572
|
};
|
|
513
573
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -515,10 +575,10 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
515
575
|
id: string;
|
|
516
576
|
} | undefined;
|
|
517
577
|
}, {
|
|
518
|
-
|
|
578
|
+
company: {
|
|
519
579
|
id: string;
|
|
520
580
|
};
|
|
521
|
-
|
|
581
|
+
client: {
|
|
522
582
|
id: string;
|
|
523
583
|
};
|
|
524
584
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -563,10 +623,10 @@ export declare const UpsertCollaborationSchema: z.ZodObject<{
|
|
|
563
623
|
}>>;
|
|
564
624
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
565
625
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
|
|
626
|
+
company: {
|
|
567
627
|
id: string;
|
|
568
628
|
};
|
|
569
|
-
|
|
629
|
+
client: {
|
|
570
630
|
id: string;
|
|
571
631
|
};
|
|
572
632
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -574,10 +634,10 @@ export declare const UpsertCollaborationSchema: z.ZodObject<{
|
|
|
574
634
|
id: string;
|
|
575
635
|
} | undefined;
|
|
576
636
|
}, {
|
|
577
|
-
|
|
637
|
+
company: {
|
|
578
638
|
id: string;
|
|
579
639
|
};
|
|
580
|
-
|
|
640
|
+
client: {
|
|
581
641
|
id: string;
|
|
582
642
|
};
|
|
583
643
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -604,18 +664,18 @@ export declare const FilterCollaborationSchema: z.ZodObject<{
|
|
|
604
664
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
605
665
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
606
666
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
607
|
-
clientId?: string | null | undefined;
|
|
608
667
|
userId?: string | null | undefined;
|
|
609
668
|
companyId?: string | null | undefined;
|
|
669
|
+
clientId?: string | null | undefined;
|
|
610
670
|
}, {
|
|
611
671
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
612
672
|
limit?: number | undefined;
|
|
613
673
|
page?: number | undefined;
|
|
614
674
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
615
675
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
616
|
-
clientId?: string | null | undefined;
|
|
617
676
|
userId?: string | null | undefined;
|
|
618
677
|
companyId?: string | null | undefined;
|
|
678
|
+
clientId?: string | null | undefined;
|
|
619
679
|
}>;
|
|
620
680
|
/**
|
|
621
681
|
* Collaboration Autocomplete Response Schema
|
|
@@ -648,10 +708,10 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
648
708
|
}>;
|
|
649
709
|
}, "strip", z.ZodTypeAny, {
|
|
650
710
|
id: string;
|
|
651
|
-
|
|
711
|
+
company: {
|
|
652
712
|
name: string;
|
|
653
713
|
};
|
|
654
|
-
|
|
714
|
+
client: {
|
|
655
715
|
name: string;
|
|
656
716
|
};
|
|
657
717
|
user: {
|
|
@@ -660,10 +720,10 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
660
720
|
};
|
|
661
721
|
}, {
|
|
662
722
|
id: string;
|
|
663
|
-
|
|
723
|
+
company: {
|
|
664
724
|
name: string;
|
|
665
725
|
};
|
|
666
|
-
|
|
726
|
+
client: {
|
|
667
727
|
name: string;
|
|
668
728
|
};
|
|
669
729
|
user: {
|
|
@@ -699,10 +759,10 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
699
759
|
}>;
|
|
700
760
|
}, "strip", z.ZodTypeAny, {
|
|
701
761
|
id: string;
|
|
702
|
-
|
|
762
|
+
company: {
|
|
703
763
|
name: string;
|
|
704
764
|
};
|
|
705
|
-
|
|
765
|
+
client: {
|
|
706
766
|
name: string;
|
|
707
767
|
};
|
|
708
768
|
user: {
|
|
@@ -711,10 +771,10 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
711
771
|
};
|
|
712
772
|
}, {
|
|
713
773
|
id: string;
|
|
714
|
-
|
|
774
|
+
company: {
|
|
715
775
|
name: string;
|
|
716
776
|
};
|
|
717
|
-
|
|
777
|
+
client: {
|
|
718
778
|
name: string;
|
|
719
779
|
};
|
|
720
780
|
user: {
|
|
@@ -732,14 +792,14 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
732
792
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
733
793
|
}, "strip", z.ZodTypeAny, {
|
|
734
794
|
id: string;
|
|
735
|
-
name: string;
|
|
736
795
|
createdAt: string;
|
|
737
796
|
updatedAt: string;
|
|
797
|
+
name: string;
|
|
738
798
|
}, {
|
|
739
799
|
id: string;
|
|
740
|
-
name: string;
|
|
741
800
|
createdAt: string | Date;
|
|
742
801
|
updatedAt: string | Date;
|
|
802
|
+
name: string;
|
|
743
803
|
}>>>;
|
|
744
804
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
745
805
|
id: z.ZodString;
|
|
@@ -776,15 +836,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
776
836
|
agentId: string;
|
|
777
837
|
}>>>;
|
|
778
838
|
}, "strip", z.ZodTypeAny, {
|
|
839
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
779
840
|
id: string;
|
|
780
|
-
|
|
841
|
+
createdAt: string;
|
|
842
|
+
updatedAt: string;
|
|
781
843
|
name: string;
|
|
782
844
|
crn: string | null;
|
|
783
845
|
govLink: string;
|
|
784
846
|
soleTrader: boolean;
|
|
785
847
|
director: string;
|
|
786
|
-
createdAt: string;
|
|
787
|
-
updatedAt: string;
|
|
788
848
|
blacklistReason?: string | null | undefined;
|
|
789
849
|
lastUpdatedBy?: {
|
|
790
850
|
id: string;
|
|
@@ -796,15 +856,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
796
856
|
agentId: string;
|
|
797
857
|
} | null | undefined;
|
|
798
858
|
}, {
|
|
859
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
799
860
|
id: string;
|
|
800
|
-
|
|
861
|
+
createdAt: string | Date;
|
|
862
|
+
updatedAt: string | Date;
|
|
801
863
|
name: string;
|
|
802
864
|
crn: string | null;
|
|
803
865
|
govLink: string;
|
|
804
866
|
soleTrader: boolean;
|
|
805
867
|
director: string;
|
|
806
|
-
createdAt: string | Date;
|
|
807
|
-
updatedAt: string | Date;
|
|
808
868
|
blacklistReason?: string | null | undefined;
|
|
809
869
|
lastUpdatedBy?: {
|
|
810
870
|
id: string;
|
|
@@ -821,16 +881,31 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
821
881
|
firstName: z.ZodString;
|
|
822
882
|
lastName: z.ZodString;
|
|
823
883
|
email: z.ZodString;
|
|
884
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
885
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
886
|
+
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"]>>>;
|
|
887
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
888
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
824
889
|
}, "strip", z.ZodTypeAny, {
|
|
825
890
|
id: string;
|
|
891
|
+
createdAt: string;
|
|
892
|
+
updatedAt: string;
|
|
826
893
|
firstName: string;
|
|
827
894
|
lastName: string;
|
|
828
895
|
email: string;
|
|
896
|
+
phone: string;
|
|
897
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
898
|
+
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;
|
|
829
899
|
}, {
|
|
830
900
|
id: string;
|
|
901
|
+
createdAt: string | Date;
|
|
902
|
+
updatedAt: string | Date;
|
|
831
903
|
firstName: string;
|
|
832
904
|
lastName: string;
|
|
833
905
|
email: string;
|
|
906
|
+
phone: string;
|
|
907
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
908
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
834
909
|
}>>>;
|
|
835
910
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
836
911
|
userId: z.ZodString;
|
|
@@ -846,14 +921,14 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
846
921
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
847
922
|
}, "strip", z.ZodTypeAny, {
|
|
848
923
|
id: string;
|
|
849
|
-
name: string;
|
|
850
924
|
createdAt: string;
|
|
851
925
|
updatedAt: string;
|
|
926
|
+
name: string;
|
|
852
927
|
}, {
|
|
853
928
|
id: string;
|
|
854
|
-
name: string;
|
|
855
929
|
createdAt: string | Date;
|
|
856
930
|
updatedAt: string | Date;
|
|
931
|
+
name: string;
|
|
857
932
|
}>>>;
|
|
858
933
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
859
934
|
id: z.ZodString;
|
|
@@ -890,15 +965,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
890
965
|
agentId: string;
|
|
891
966
|
}>>>;
|
|
892
967
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
893
969
|
id: string;
|
|
894
|
-
|
|
970
|
+
createdAt: string;
|
|
971
|
+
updatedAt: string;
|
|
895
972
|
name: string;
|
|
896
973
|
crn: string | null;
|
|
897
974
|
govLink: string;
|
|
898
975
|
soleTrader: boolean;
|
|
899
976
|
director: string;
|
|
900
|
-
createdAt: string;
|
|
901
|
-
updatedAt: string;
|
|
902
977
|
blacklistReason?: string | null | undefined;
|
|
903
978
|
lastUpdatedBy?: {
|
|
904
979
|
id: string;
|
|
@@ -910,15 +985,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
910
985
|
agentId: string;
|
|
911
986
|
} | null | undefined;
|
|
912
987
|
}, {
|
|
988
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
913
989
|
id: string;
|
|
914
|
-
|
|
990
|
+
createdAt: string | Date;
|
|
991
|
+
updatedAt: string | Date;
|
|
915
992
|
name: string;
|
|
916
993
|
crn: string | null;
|
|
917
994
|
govLink: string;
|
|
918
995
|
soleTrader: boolean;
|
|
919
996
|
director: string;
|
|
920
|
-
createdAt: string | Date;
|
|
921
|
-
updatedAt: string | Date;
|
|
922
997
|
blacklistReason?: string | null | undefined;
|
|
923
998
|
lastUpdatedBy?: {
|
|
924
999
|
id: string;
|
|
@@ -935,37 +1010,58 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
935
1010
|
firstName: z.ZodString;
|
|
936
1011
|
lastName: z.ZodString;
|
|
937
1012
|
email: z.ZodString;
|
|
1013
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
1014
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
1015
|
+
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"]>>>;
|
|
1016
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1017
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
938
1018
|
}, "strip", z.ZodTypeAny, {
|
|
939
1019
|
id: string;
|
|
1020
|
+
createdAt: string;
|
|
1021
|
+
updatedAt: string;
|
|
940
1022
|
firstName: string;
|
|
941
1023
|
lastName: string;
|
|
942
1024
|
email: string;
|
|
1025
|
+
phone: string;
|
|
1026
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1027
|
+
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
1028
|
}, {
|
|
944
1029
|
id: string;
|
|
1030
|
+
createdAt: string | Date;
|
|
1031
|
+
updatedAt: string | Date;
|
|
945
1032
|
firstName: string;
|
|
946
1033
|
lastName: string;
|
|
947
1034
|
email: string;
|
|
1035
|
+
phone: string;
|
|
1036
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1037
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
948
1038
|
}>>>;
|
|
949
1039
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
950
1040
|
userId: z.ZodString;
|
|
951
1041
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
952
1042
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
953
1043
|
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
id: string;
|
|
955
1044
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1045
|
+
id: string;
|
|
956
1046
|
createdAt: string;
|
|
957
1047
|
updatedAt: string;
|
|
958
1048
|
userId: string;
|
|
1049
|
+
company?: {
|
|
1050
|
+
id: string;
|
|
1051
|
+
createdAt: string;
|
|
1052
|
+
updatedAt: string;
|
|
1053
|
+
name: string;
|
|
1054
|
+
} | null | undefined;
|
|
959
1055
|
client?: {
|
|
1056
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
960
1057
|
id: string;
|
|
961
|
-
|
|
1058
|
+
createdAt: string;
|
|
1059
|
+
updatedAt: string;
|
|
962
1060
|
name: string;
|
|
963
1061
|
crn: string | null;
|
|
964
1062
|
govLink: string;
|
|
965
1063
|
soleTrader: boolean;
|
|
966
1064
|
director: string;
|
|
967
|
-
createdAt: string;
|
|
968
|
-
updatedAt: string;
|
|
969
1065
|
blacklistReason?: string | null | undefined;
|
|
970
1066
|
lastUpdatedBy?: {
|
|
971
1067
|
id: string;
|
|
@@ -977,34 +1073,39 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
977
1073
|
agentId: string;
|
|
978
1074
|
} | null | undefined;
|
|
979
1075
|
} | null | undefined;
|
|
980
|
-
|
|
1076
|
+
user?: {
|
|
981
1077
|
id: string;
|
|
982
|
-
name: string;
|
|
983
1078
|
createdAt: string;
|
|
984
1079
|
updatedAt: string;
|
|
985
|
-
} | null | undefined;
|
|
986
|
-
user?: {
|
|
987
|
-
id: string;
|
|
988
1080
|
firstName: string;
|
|
989
1081
|
lastName: string;
|
|
990
1082
|
email: string;
|
|
1083
|
+
phone: string;
|
|
1084
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1085
|
+
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;
|
|
991
1086
|
} | null | undefined;
|
|
992
1087
|
}, {
|
|
993
|
-
id: string;
|
|
994
1088
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1089
|
+
id: string;
|
|
995
1090
|
createdAt: string | Date;
|
|
996
1091
|
updatedAt: string | Date;
|
|
997
1092
|
userId: string;
|
|
1093
|
+
company?: {
|
|
1094
|
+
id: string;
|
|
1095
|
+
createdAt: string | Date;
|
|
1096
|
+
updatedAt: string | Date;
|
|
1097
|
+
name: string;
|
|
1098
|
+
} | null | undefined;
|
|
998
1099
|
client?: {
|
|
1100
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
999
1101
|
id: string;
|
|
1000
|
-
|
|
1102
|
+
createdAt: string | Date;
|
|
1103
|
+
updatedAt: string | Date;
|
|
1001
1104
|
name: string;
|
|
1002
1105
|
crn: string | null;
|
|
1003
1106
|
govLink: string;
|
|
1004
1107
|
soleTrader: boolean;
|
|
1005
1108
|
director: string;
|
|
1006
|
-
createdAt: string | Date;
|
|
1007
|
-
updatedAt: string | Date;
|
|
1008
1109
|
blacklistReason?: string | null | undefined;
|
|
1009
1110
|
lastUpdatedBy?: {
|
|
1010
1111
|
id: string;
|
|
@@ -1016,35 +1117,40 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1016
1117
|
agentId: string;
|
|
1017
1118
|
} | null | undefined;
|
|
1018
1119
|
} | null | undefined;
|
|
1019
|
-
|
|
1120
|
+
user?: {
|
|
1020
1121
|
id: string;
|
|
1021
|
-
name: string;
|
|
1022
1122
|
createdAt: string | Date;
|
|
1023
1123
|
updatedAt: string | Date;
|
|
1024
|
-
} | null | undefined;
|
|
1025
|
-
user?: {
|
|
1026
|
-
id: string;
|
|
1027
1124
|
firstName: string;
|
|
1028
1125
|
lastName: string;
|
|
1029
1126
|
email: string;
|
|
1127
|
+
phone: string;
|
|
1128
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1129
|
+
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;
|
|
1030
1130
|
} | null | undefined;
|
|
1031
1131
|
}>>>;
|
|
1032
1132
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
id: string;
|
|
1034
1133
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1134
|
+
id: string;
|
|
1035
1135
|
createdAt: string;
|
|
1036
1136
|
updatedAt: string;
|
|
1037
1137
|
userId: string;
|
|
1038
|
-
|
|
1138
|
+
company?: {
|
|
1039
1139
|
id: string;
|
|
1040
|
-
|
|
1140
|
+
createdAt: string;
|
|
1141
|
+
updatedAt: string;
|
|
1142
|
+
name: string;
|
|
1143
|
+
} | null | undefined;
|
|
1144
|
+
client?: {
|
|
1145
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1146
|
+
id: string;
|
|
1147
|
+
createdAt: string;
|
|
1148
|
+
updatedAt: string;
|
|
1041
1149
|
name: string;
|
|
1042
1150
|
crn: string | null;
|
|
1043
1151
|
govLink: string;
|
|
1044
1152
|
soleTrader: boolean;
|
|
1045
1153
|
director: string;
|
|
1046
|
-
createdAt: string;
|
|
1047
|
-
updatedAt: string;
|
|
1048
1154
|
blacklistReason?: string | null | undefined;
|
|
1049
1155
|
lastUpdatedBy?: {
|
|
1050
1156
|
id: string;
|
|
@@ -1056,34 +1162,39 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1056
1162
|
agentId: string;
|
|
1057
1163
|
} | null | undefined;
|
|
1058
1164
|
} | null | undefined;
|
|
1059
|
-
|
|
1165
|
+
user?: {
|
|
1060
1166
|
id: string;
|
|
1061
|
-
name: string;
|
|
1062
1167
|
createdAt: string;
|
|
1063
1168
|
updatedAt: string;
|
|
1064
|
-
} | null | undefined;
|
|
1065
|
-
user?: {
|
|
1066
|
-
id: string;
|
|
1067
1169
|
firstName: string;
|
|
1068
1170
|
lastName: string;
|
|
1069
1171
|
email: string;
|
|
1172
|
+
phone: string;
|
|
1173
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1174
|
+
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
1175
|
} | null | undefined;
|
|
1071
1176
|
newCollaboration?: {
|
|
1072
|
-
id: string;
|
|
1073
1177
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1178
|
+
id: string;
|
|
1074
1179
|
createdAt: string;
|
|
1075
1180
|
updatedAt: string;
|
|
1076
1181
|
userId: string;
|
|
1182
|
+
company?: {
|
|
1183
|
+
id: string;
|
|
1184
|
+
createdAt: string;
|
|
1185
|
+
updatedAt: string;
|
|
1186
|
+
name: string;
|
|
1187
|
+
} | null | undefined;
|
|
1077
1188
|
client?: {
|
|
1189
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1078
1190
|
id: string;
|
|
1079
|
-
|
|
1191
|
+
createdAt: string;
|
|
1192
|
+
updatedAt: string;
|
|
1080
1193
|
name: string;
|
|
1081
1194
|
crn: string | null;
|
|
1082
1195
|
govLink: string;
|
|
1083
1196
|
soleTrader: boolean;
|
|
1084
1197
|
director: string;
|
|
1085
|
-
createdAt: string;
|
|
1086
|
-
updatedAt: string;
|
|
1087
1198
|
blacklistReason?: string | null | undefined;
|
|
1088
1199
|
lastUpdatedBy?: {
|
|
1089
1200
|
id: string;
|
|
@@ -1095,35 +1206,40 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1095
1206
|
agentId: string;
|
|
1096
1207
|
} | null | undefined;
|
|
1097
1208
|
} | null | undefined;
|
|
1098
|
-
|
|
1209
|
+
user?: {
|
|
1099
1210
|
id: string;
|
|
1100
|
-
name: string;
|
|
1101
1211
|
createdAt: string;
|
|
1102
1212
|
updatedAt: string;
|
|
1103
|
-
} | null | undefined;
|
|
1104
|
-
user?: {
|
|
1105
|
-
id: string;
|
|
1106
1213
|
firstName: string;
|
|
1107
1214
|
lastName: string;
|
|
1108
1215
|
email: string;
|
|
1216
|
+
phone: string;
|
|
1217
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1218
|
+
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;
|
|
1109
1219
|
} | null | undefined;
|
|
1110
1220
|
} | null | undefined;
|
|
1111
1221
|
}, {
|
|
1112
|
-
id: string;
|
|
1113
1222
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1223
|
+
id: string;
|
|
1114
1224
|
createdAt: string | Date;
|
|
1115
1225
|
updatedAt: string | Date;
|
|
1116
1226
|
userId: string;
|
|
1227
|
+
company?: {
|
|
1228
|
+
id: string;
|
|
1229
|
+
createdAt: string | Date;
|
|
1230
|
+
updatedAt: string | Date;
|
|
1231
|
+
name: string;
|
|
1232
|
+
} | null | undefined;
|
|
1117
1233
|
client?: {
|
|
1234
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1118
1235
|
id: string;
|
|
1119
|
-
|
|
1236
|
+
createdAt: string | Date;
|
|
1237
|
+
updatedAt: string | Date;
|
|
1120
1238
|
name: string;
|
|
1121
1239
|
crn: string | null;
|
|
1122
1240
|
govLink: string;
|
|
1123
1241
|
soleTrader: boolean;
|
|
1124
1242
|
director: string;
|
|
1125
|
-
createdAt: string | Date;
|
|
1126
|
-
updatedAt: string | Date;
|
|
1127
1243
|
blacklistReason?: string | null | undefined;
|
|
1128
1244
|
lastUpdatedBy?: {
|
|
1129
1245
|
id: string;
|
|
@@ -1135,34 +1251,39 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1135
1251
|
agentId: string;
|
|
1136
1252
|
} | null | undefined;
|
|
1137
1253
|
} | null | undefined;
|
|
1138
|
-
|
|
1254
|
+
user?: {
|
|
1139
1255
|
id: string;
|
|
1140
|
-
name: string;
|
|
1141
1256
|
createdAt: string | Date;
|
|
1142
1257
|
updatedAt: string | Date;
|
|
1143
|
-
} | null | undefined;
|
|
1144
|
-
user?: {
|
|
1145
|
-
id: string;
|
|
1146
1258
|
firstName: string;
|
|
1147
1259
|
lastName: string;
|
|
1148
1260
|
email: string;
|
|
1261
|
+
phone: string;
|
|
1262
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1263
|
+
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;
|
|
1149
1264
|
} | null | undefined;
|
|
1150
1265
|
newCollaboration?: {
|
|
1151
|
-
id: string;
|
|
1152
1266
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1267
|
+
id: string;
|
|
1153
1268
|
createdAt: string | Date;
|
|
1154
1269
|
updatedAt: string | Date;
|
|
1155
1270
|
userId: string;
|
|
1271
|
+
company?: {
|
|
1272
|
+
id: string;
|
|
1273
|
+
createdAt: string | Date;
|
|
1274
|
+
updatedAt: string | Date;
|
|
1275
|
+
name: string;
|
|
1276
|
+
} | null | undefined;
|
|
1156
1277
|
client?: {
|
|
1278
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1157
1279
|
id: string;
|
|
1158
|
-
|
|
1280
|
+
createdAt: string | Date;
|
|
1281
|
+
updatedAt: string | Date;
|
|
1159
1282
|
name: string;
|
|
1160
1283
|
crn: string | null;
|
|
1161
1284
|
govLink: string;
|
|
1162
1285
|
soleTrader: boolean;
|
|
1163
1286
|
director: string;
|
|
1164
|
-
createdAt: string | Date;
|
|
1165
|
-
updatedAt: string | Date;
|
|
1166
1287
|
blacklistReason?: string | null | undefined;
|
|
1167
1288
|
lastUpdatedBy?: {
|
|
1168
1289
|
id: string;
|
|
@@ -1174,17 +1295,16 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1174
1295
|
agentId: string;
|
|
1175
1296
|
} | null | undefined;
|
|
1176
1297
|
} | null | undefined;
|
|
1177
|
-
|
|
1298
|
+
user?: {
|
|
1178
1299
|
id: string;
|
|
1179
|
-
name: string;
|
|
1180
1300
|
createdAt: string | Date;
|
|
1181
1301
|
updatedAt: string | Date;
|
|
1182
|
-
} | null | undefined;
|
|
1183
|
-
user?: {
|
|
1184
|
-
id: string;
|
|
1185
1302
|
firstName: string;
|
|
1186
1303
|
lastName: string;
|
|
1187
1304
|
email: string;
|
|
1305
|
+
phone: string;
|
|
1306
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1307
|
+
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;
|
|
1188
1308
|
} | null | undefined;
|
|
1189
1309
|
} | null | undefined;
|
|
1190
1310
|
}>, "many">;
|
|
@@ -1196,21 +1316,27 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1196
1316
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1317
|
limit: number;
|
|
1198
1318
|
items: {
|
|
1199
|
-
id: string;
|
|
1200
1319
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1320
|
+
id: string;
|
|
1201
1321
|
createdAt: string;
|
|
1202
1322
|
updatedAt: string;
|
|
1203
1323
|
userId: string;
|
|
1324
|
+
company?: {
|
|
1325
|
+
id: string;
|
|
1326
|
+
createdAt: string;
|
|
1327
|
+
updatedAt: string;
|
|
1328
|
+
name: string;
|
|
1329
|
+
} | null | undefined;
|
|
1204
1330
|
client?: {
|
|
1331
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1205
1332
|
id: string;
|
|
1206
|
-
|
|
1333
|
+
createdAt: string;
|
|
1334
|
+
updatedAt: string;
|
|
1207
1335
|
name: string;
|
|
1208
1336
|
crn: string | null;
|
|
1209
1337
|
govLink: string;
|
|
1210
1338
|
soleTrader: boolean;
|
|
1211
1339
|
director: string;
|
|
1212
|
-
createdAt: string;
|
|
1213
|
-
updatedAt: string;
|
|
1214
1340
|
blacklistReason?: string | null | undefined;
|
|
1215
1341
|
lastUpdatedBy?: {
|
|
1216
1342
|
id: string;
|
|
@@ -1222,34 +1348,39 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1222
1348
|
agentId: string;
|
|
1223
1349
|
} | null | undefined;
|
|
1224
1350
|
} | null | undefined;
|
|
1225
|
-
|
|
1351
|
+
user?: {
|
|
1226
1352
|
id: string;
|
|
1227
|
-
name: string;
|
|
1228
1353
|
createdAt: string;
|
|
1229
1354
|
updatedAt: string;
|
|
1230
|
-
} | null | undefined;
|
|
1231
|
-
user?: {
|
|
1232
|
-
id: string;
|
|
1233
1355
|
firstName: string;
|
|
1234
1356
|
lastName: string;
|
|
1235
1357
|
email: string;
|
|
1358
|
+
phone: string;
|
|
1359
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1360
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1236
1361
|
} | null | undefined;
|
|
1237
1362
|
newCollaboration?: {
|
|
1238
|
-
id: string;
|
|
1239
1363
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1364
|
+
id: string;
|
|
1240
1365
|
createdAt: string;
|
|
1241
1366
|
updatedAt: string;
|
|
1242
1367
|
userId: string;
|
|
1368
|
+
company?: {
|
|
1369
|
+
id: string;
|
|
1370
|
+
createdAt: string;
|
|
1371
|
+
updatedAt: string;
|
|
1372
|
+
name: string;
|
|
1373
|
+
} | null | undefined;
|
|
1243
1374
|
client?: {
|
|
1375
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1244
1376
|
id: string;
|
|
1245
|
-
|
|
1377
|
+
createdAt: string;
|
|
1378
|
+
updatedAt: string;
|
|
1246
1379
|
name: string;
|
|
1247
1380
|
crn: string | null;
|
|
1248
1381
|
govLink: string;
|
|
1249
1382
|
soleTrader: boolean;
|
|
1250
1383
|
director: string;
|
|
1251
|
-
createdAt: string;
|
|
1252
|
-
updatedAt: string;
|
|
1253
1384
|
blacklistReason?: string | null | undefined;
|
|
1254
1385
|
lastUpdatedBy?: {
|
|
1255
1386
|
id: string;
|
|
@@ -1261,17 +1392,16 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1261
1392
|
agentId: string;
|
|
1262
1393
|
} | null | undefined;
|
|
1263
1394
|
} | null | undefined;
|
|
1264
|
-
|
|
1395
|
+
user?: {
|
|
1265
1396
|
id: string;
|
|
1266
|
-
name: string;
|
|
1267
1397
|
createdAt: string;
|
|
1268
1398
|
updatedAt: string;
|
|
1269
|
-
} | null | undefined;
|
|
1270
|
-
user?: {
|
|
1271
|
-
id: string;
|
|
1272
1399
|
firstName: string;
|
|
1273
1400
|
lastName: string;
|
|
1274
1401
|
email: string;
|
|
1402
|
+
phone: string;
|
|
1403
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1404
|
+
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;
|
|
1275
1405
|
} | null | undefined;
|
|
1276
1406
|
} | null | undefined;
|
|
1277
1407
|
}[];
|
|
@@ -1282,21 +1412,27 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1282
1412
|
}, {
|
|
1283
1413
|
limit: number;
|
|
1284
1414
|
items: {
|
|
1285
|
-
id: string;
|
|
1286
1415
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1416
|
+
id: string;
|
|
1287
1417
|
createdAt: string | Date;
|
|
1288
1418
|
updatedAt: string | Date;
|
|
1289
1419
|
userId: string;
|
|
1420
|
+
company?: {
|
|
1421
|
+
id: string;
|
|
1422
|
+
createdAt: string | Date;
|
|
1423
|
+
updatedAt: string | Date;
|
|
1424
|
+
name: string;
|
|
1425
|
+
} | null | undefined;
|
|
1290
1426
|
client?: {
|
|
1427
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1291
1428
|
id: string;
|
|
1292
|
-
|
|
1429
|
+
createdAt: string | Date;
|
|
1430
|
+
updatedAt: string | Date;
|
|
1293
1431
|
name: string;
|
|
1294
1432
|
crn: string | null;
|
|
1295
1433
|
govLink: string;
|
|
1296
1434
|
soleTrader: boolean;
|
|
1297
1435
|
director: string;
|
|
1298
|
-
createdAt: string | Date;
|
|
1299
|
-
updatedAt: string | Date;
|
|
1300
1436
|
blacklistReason?: string | null | undefined;
|
|
1301
1437
|
lastUpdatedBy?: {
|
|
1302
1438
|
id: string;
|
|
@@ -1308,34 +1444,39 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1308
1444
|
agentId: string;
|
|
1309
1445
|
} | null | undefined;
|
|
1310
1446
|
} | null | undefined;
|
|
1311
|
-
|
|
1447
|
+
user?: {
|
|
1312
1448
|
id: string;
|
|
1313
|
-
name: string;
|
|
1314
1449
|
createdAt: string | Date;
|
|
1315
1450
|
updatedAt: string | Date;
|
|
1316
|
-
} | null | undefined;
|
|
1317
|
-
user?: {
|
|
1318
|
-
id: string;
|
|
1319
1451
|
firstName: string;
|
|
1320
1452
|
lastName: string;
|
|
1321
1453
|
email: string;
|
|
1454
|
+
phone: string;
|
|
1455
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1456
|
+
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;
|
|
1322
1457
|
} | null | undefined;
|
|
1323
1458
|
newCollaboration?: {
|
|
1324
|
-
id: string;
|
|
1325
1459
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1460
|
+
id: string;
|
|
1326
1461
|
createdAt: string | Date;
|
|
1327
1462
|
updatedAt: string | Date;
|
|
1328
1463
|
userId: string;
|
|
1464
|
+
company?: {
|
|
1465
|
+
id: string;
|
|
1466
|
+
createdAt: string | Date;
|
|
1467
|
+
updatedAt: string | Date;
|
|
1468
|
+
name: string;
|
|
1469
|
+
} | null | undefined;
|
|
1329
1470
|
client?: {
|
|
1471
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1330
1472
|
id: string;
|
|
1331
|
-
|
|
1473
|
+
createdAt: string | Date;
|
|
1474
|
+
updatedAt: string | Date;
|
|
1332
1475
|
name: string;
|
|
1333
1476
|
crn: string | null;
|
|
1334
1477
|
govLink: string;
|
|
1335
1478
|
soleTrader: boolean;
|
|
1336
1479
|
director: string;
|
|
1337
|
-
createdAt: string | Date;
|
|
1338
|
-
updatedAt: string | Date;
|
|
1339
1480
|
blacklistReason?: string | null | undefined;
|
|
1340
1481
|
lastUpdatedBy?: {
|
|
1341
1482
|
id: string;
|
|
@@ -1347,17 +1488,16 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1347
1488
|
agentId: string;
|
|
1348
1489
|
} | null | undefined;
|
|
1349
1490
|
} | null | undefined;
|
|
1350
|
-
|
|
1491
|
+
user?: {
|
|
1351
1492
|
id: string;
|
|
1352
|
-
name: string;
|
|
1353
1493
|
createdAt: string | Date;
|
|
1354
1494
|
updatedAt: string | Date;
|
|
1355
|
-
} | null | undefined;
|
|
1356
|
-
user?: {
|
|
1357
|
-
id: string;
|
|
1358
1495
|
firstName: string;
|
|
1359
1496
|
lastName: string;
|
|
1360
1497
|
email: string;
|
|
1498
|
+
phone: string;
|
|
1499
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1500
|
+
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1361
1501
|
} | null | undefined;
|
|
1362
1502
|
} | null | undefined;
|
|
1363
1503
|
}[];
|
|
@@ -1408,10 +1548,10 @@ export declare const collaborationsContractRouter: {
|
|
|
1408
1548
|
}>>;
|
|
1409
1549
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
1410
1550
|
}, "strip", z.ZodTypeAny, {
|
|
1411
|
-
|
|
1551
|
+
company: {
|
|
1412
1552
|
id: string;
|
|
1413
1553
|
};
|
|
1414
|
-
|
|
1554
|
+
client: {
|
|
1415
1555
|
id: string;
|
|
1416
1556
|
};
|
|
1417
1557
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -1419,10 +1559,10 @@ export declare const collaborationsContractRouter: {
|
|
|
1419
1559
|
id: string;
|
|
1420
1560
|
} | undefined;
|
|
1421
1561
|
}, {
|
|
1422
|
-
|
|
1562
|
+
company: {
|
|
1423
1563
|
id: string;
|
|
1424
1564
|
};
|
|
1425
|
-
|
|
1565
|
+
client: {
|
|
1426
1566
|
id: string;
|
|
1427
1567
|
};
|
|
1428
1568
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -1541,14 +1681,14 @@ export declare const collaborationsContractRouter: {
|
|
|
1541
1681
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1542
1682
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1683
|
id: string;
|
|
1544
|
-
name: string;
|
|
1545
1684
|
createdAt: string;
|
|
1546
1685
|
updatedAt: string;
|
|
1686
|
+
name: string;
|
|
1547
1687
|
}, {
|
|
1548
1688
|
id: string;
|
|
1549
|
-
name: string;
|
|
1550
1689
|
createdAt: string | Date;
|
|
1551
1690
|
updatedAt: string | Date;
|
|
1691
|
+
name: string;
|
|
1552
1692
|
}>>>;
|
|
1553
1693
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1554
1694
|
id: z.ZodString;
|
|
@@ -1585,15 +1725,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1585
1725
|
agentId: string;
|
|
1586
1726
|
}>>>;
|
|
1587
1727
|
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1588
1729
|
id: string;
|
|
1589
|
-
|
|
1730
|
+
createdAt: string;
|
|
1731
|
+
updatedAt: string;
|
|
1590
1732
|
name: string;
|
|
1591
1733
|
crn: string | null;
|
|
1592
1734
|
govLink: string;
|
|
1593
1735
|
soleTrader: boolean;
|
|
1594
1736
|
director: string;
|
|
1595
|
-
createdAt: string;
|
|
1596
|
-
updatedAt: string;
|
|
1597
1737
|
blacklistReason?: string | null | undefined;
|
|
1598
1738
|
lastUpdatedBy?: {
|
|
1599
1739
|
id: string;
|
|
@@ -1605,15 +1745,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1605
1745
|
agentId: string;
|
|
1606
1746
|
} | null | undefined;
|
|
1607
1747
|
}, {
|
|
1748
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1608
1749
|
id: string;
|
|
1609
|
-
|
|
1750
|
+
createdAt: string | Date;
|
|
1751
|
+
updatedAt: string | Date;
|
|
1610
1752
|
name: string;
|
|
1611
1753
|
crn: string | null;
|
|
1612
1754
|
govLink: string;
|
|
1613
1755
|
soleTrader: boolean;
|
|
1614
1756
|
director: string;
|
|
1615
|
-
createdAt: string | Date;
|
|
1616
|
-
updatedAt: string | Date;
|
|
1617
1757
|
blacklistReason?: string | null | undefined;
|
|
1618
1758
|
lastUpdatedBy?: {
|
|
1619
1759
|
id: string;
|
|
@@ -1630,16 +1770,31 @@ export declare const collaborationsContractRouter: {
|
|
|
1630
1770
|
firstName: z.ZodString;
|
|
1631
1771
|
lastName: z.ZodString;
|
|
1632
1772
|
email: z.ZodString;
|
|
1773
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
1774
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
1775
|
+
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"]>>>;
|
|
1776
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1777
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1633
1778
|
}, "strip", z.ZodTypeAny, {
|
|
1634
1779
|
id: string;
|
|
1780
|
+
createdAt: string;
|
|
1781
|
+
updatedAt: string;
|
|
1635
1782
|
firstName: string;
|
|
1636
1783
|
lastName: string;
|
|
1637
1784
|
email: string;
|
|
1785
|
+
phone: string;
|
|
1786
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1787
|
+
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;
|
|
1638
1788
|
}, {
|
|
1639
1789
|
id: string;
|
|
1790
|
+
createdAt: string | Date;
|
|
1791
|
+
updatedAt: string | Date;
|
|
1640
1792
|
firstName: string;
|
|
1641
1793
|
lastName: string;
|
|
1642
1794
|
email: string;
|
|
1795
|
+
phone: string;
|
|
1796
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | 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;
|
|
1643
1798
|
}>>>;
|
|
1644
1799
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1645
1800
|
userId: z.ZodString;
|
|
@@ -1655,14 +1810,14 @@ export declare const collaborationsContractRouter: {
|
|
|
1655
1810
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1656
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1657
1812
|
id: string;
|
|
1658
|
-
name: string;
|
|
1659
1813
|
createdAt: string;
|
|
1660
1814
|
updatedAt: string;
|
|
1815
|
+
name: string;
|
|
1661
1816
|
}, {
|
|
1662
1817
|
id: string;
|
|
1663
|
-
name: string;
|
|
1664
1818
|
createdAt: string | Date;
|
|
1665
1819
|
updatedAt: string | Date;
|
|
1820
|
+
name: string;
|
|
1666
1821
|
}>>>;
|
|
1667
1822
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1668
1823
|
id: z.ZodString;
|
|
@@ -1699,15 +1854,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1699
1854
|
agentId: string;
|
|
1700
1855
|
}>>>;
|
|
1701
1856
|
}, "strip", z.ZodTypeAny, {
|
|
1857
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1702
1858
|
id: string;
|
|
1703
|
-
|
|
1859
|
+
createdAt: string;
|
|
1860
|
+
updatedAt: string;
|
|
1704
1861
|
name: string;
|
|
1705
1862
|
crn: string | null;
|
|
1706
1863
|
govLink: string;
|
|
1707
1864
|
soleTrader: boolean;
|
|
1708
1865
|
director: string;
|
|
1709
|
-
createdAt: string;
|
|
1710
|
-
updatedAt: string;
|
|
1711
1866
|
blacklistReason?: string | null | undefined;
|
|
1712
1867
|
lastUpdatedBy?: {
|
|
1713
1868
|
id: string;
|
|
@@ -1719,15 +1874,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1719
1874
|
agentId: string;
|
|
1720
1875
|
} | null | undefined;
|
|
1721
1876
|
}, {
|
|
1877
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1722
1878
|
id: string;
|
|
1723
|
-
|
|
1879
|
+
createdAt: string | Date;
|
|
1880
|
+
updatedAt: string | Date;
|
|
1724
1881
|
name: string;
|
|
1725
1882
|
crn: string | null;
|
|
1726
1883
|
govLink: string;
|
|
1727
1884
|
soleTrader: boolean;
|
|
1728
1885
|
director: string;
|
|
1729
|
-
createdAt: string | Date;
|
|
1730
|
-
updatedAt: string | Date;
|
|
1731
1886
|
blacklistReason?: string | null | undefined;
|
|
1732
1887
|
lastUpdatedBy?: {
|
|
1733
1888
|
id: string;
|
|
@@ -1744,37 +1899,58 @@ export declare const collaborationsContractRouter: {
|
|
|
1744
1899
|
firstName: z.ZodString;
|
|
1745
1900
|
lastName: z.ZodString;
|
|
1746
1901
|
email: z.ZodString;
|
|
1902
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
1903
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
1904
|
+
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"]>>>;
|
|
1905
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1906
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1747
1907
|
}, "strip", z.ZodTypeAny, {
|
|
1748
1908
|
id: string;
|
|
1909
|
+
createdAt: string;
|
|
1910
|
+
updatedAt: string;
|
|
1749
1911
|
firstName: string;
|
|
1750
1912
|
lastName: string;
|
|
1751
1913
|
email: string;
|
|
1914
|
+
phone: string;
|
|
1915
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1916
|
+
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;
|
|
1752
1917
|
}, {
|
|
1753
1918
|
id: string;
|
|
1919
|
+
createdAt: string | Date;
|
|
1920
|
+
updatedAt: string | Date;
|
|
1754
1921
|
firstName: string;
|
|
1755
1922
|
lastName: string;
|
|
1756
1923
|
email: string;
|
|
1924
|
+
phone: string;
|
|
1925
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1926
|
+
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;
|
|
1757
1927
|
}>>>;
|
|
1758
1928
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
1759
1929
|
userId: z.ZodString;
|
|
1760
1930
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1761
1931
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1762
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
-
id: string;
|
|
1764
1933
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1934
|
+
id: string;
|
|
1765
1935
|
createdAt: string;
|
|
1766
1936
|
updatedAt: string;
|
|
1767
1937
|
userId: string;
|
|
1938
|
+
company?: {
|
|
1939
|
+
id: string;
|
|
1940
|
+
createdAt: string;
|
|
1941
|
+
updatedAt: string;
|
|
1942
|
+
name: string;
|
|
1943
|
+
} | null | undefined;
|
|
1768
1944
|
client?: {
|
|
1945
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1769
1946
|
id: string;
|
|
1770
|
-
|
|
1947
|
+
createdAt: string;
|
|
1948
|
+
updatedAt: string;
|
|
1771
1949
|
name: string;
|
|
1772
1950
|
crn: string | null;
|
|
1773
1951
|
govLink: string;
|
|
1774
1952
|
soleTrader: boolean;
|
|
1775
1953
|
director: string;
|
|
1776
|
-
createdAt: string;
|
|
1777
|
-
updatedAt: string;
|
|
1778
1954
|
blacklistReason?: string | null | undefined;
|
|
1779
1955
|
lastUpdatedBy?: {
|
|
1780
1956
|
id: string;
|
|
@@ -1786,34 +1962,39 @@ export declare const collaborationsContractRouter: {
|
|
|
1786
1962
|
agentId: string;
|
|
1787
1963
|
} | null | undefined;
|
|
1788
1964
|
} | null | undefined;
|
|
1789
|
-
|
|
1965
|
+
user?: {
|
|
1790
1966
|
id: string;
|
|
1791
|
-
name: string;
|
|
1792
1967
|
createdAt: string;
|
|
1793
1968
|
updatedAt: string;
|
|
1794
|
-
} | null | undefined;
|
|
1795
|
-
user?: {
|
|
1796
|
-
id: string;
|
|
1797
1969
|
firstName: string;
|
|
1798
1970
|
lastName: string;
|
|
1799
1971
|
email: string;
|
|
1972
|
+
phone: string;
|
|
1973
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1974
|
+
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;
|
|
1800
1975
|
} | null | undefined;
|
|
1801
1976
|
}, {
|
|
1802
|
-
id: string;
|
|
1803
1977
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1978
|
+
id: string;
|
|
1804
1979
|
createdAt: string | Date;
|
|
1805
1980
|
updatedAt: string | Date;
|
|
1806
1981
|
userId: string;
|
|
1982
|
+
company?: {
|
|
1983
|
+
id: string;
|
|
1984
|
+
createdAt: string | Date;
|
|
1985
|
+
updatedAt: string | Date;
|
|
1986
|
+
name: string;
|
|
1987
|
+
} | null | undefined;
|
|
1807
1988
|
client?: {
|
|
1989
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1808
1990
|
id: string;
|
|
1809
|
-
|
|
1991
|
+
createdAt: string | Date;
|
|
1992
|
+
updatedAt: string | Date;
|
|
1810
1993
|
name: string;
|
|
1811
1994
|
crn: string | null;
|
|
1812
1995
|
govLink: string;
|
|
1813
1996
|
soleTrader: boolean;
|
|
1814
1997
|
director: string;
|
|
1815
|
-
createdAt: string | Date;
|
|
1816
|
-
updatedAt: string | Date;
|
|
1817
1998
|
blacklistReason?: string | null | undefined;
|
|
1818
1999
|
lastUpdatedBy?: {
|
|
1819
2000
|
id: string;
|
|
@@ -1825,35 +2006,40 @@ export declare const collaborationsContractRouter: {
|
|
|
1825
2006
|
agentId: string;
|
|
1826
2007
|
} | null | undefined;
|
|
1827
2008
|
} | null | undefined;
|
|
1828
|
-
|
|
2009
|
+
user?: {
|
|
1829
2010
|
id: string;
|
|
1830
|
-
name: string;
|
|
1831
2011
|
createdAt: string | Date;
|
|
1832
2012
|
updatedAt: string | Date;
|
|
1833
|
-
} | null | undefined;
|
|
1834
|
-
user?: {
|
|
1835
|
-
id: string;
|
|
1836
2013
|
firstName: string;
|
|
1837
2014
|
lastName: string;
|
|
1838
2015
|
email: string;
|
|
2016
|
+
phone: string;
|
|
2017
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2018
|
+
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;
|
|
1839
2019
|
} | null | undefined;
|
|
1840
2020
|
}>>>;
|
|
1841
2021
|
}, "strip", z.ZodTypeAny, {
|
|
1842
|
-
id: string;
|
|
1843
2022
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2023
|
+
id: string;
|
|
1844
2024
|
createdAt: string;
|
|
1845
2025
|
updatedAt: string;
|
|
1846
2026
|
userId: string;
|
|
2027
|
+
company?: {
|
|
2028
|
+
id: string;
|
|
2029
|
+
createdAt: string;
|
|
2030
|
+
updatedAt: string;
|
|
2031
|
+
name: string;
|
|
2032
|
+
} | null | undefined;
|
|
1847
2033
|
client?: {
|
|
2034
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1848
2035
|
id: string;
|
|
1849
|
-
|
|
2036
|
+
createdAt: string;
|
|
2037
|
+
updatedAt: string;
|
|
1850
2038
|
name: string;
|
|
1851
2039
|
crn: string | null;
|
|
1852
2040
|
govLink: string;
|
|
1853
2041
|
soleTrader: boolean;
|
|
1854
2042
|
director: string;
|
|
1855
|
-
createdAt: string;
|
|
1856
|
-
updatedAt: string;
|
|
1857
2043
|
blacklistReason?: string | null | undefined;
|
|
1858
2044
|
lastUpdatedBy?: {
|
|
1859
2045
|
id: string;
|
|
@@ -1865,34 +2051,39 @@ export declare const collaborationsContractRouter: {
|
|
|
1865
2051
|
agentId: string;
|
|
1866
2052
|
} | null | undefined;
|
|
1867
2053
|
} | null | undefined;
|
|
1868
|
-
|
|
2054
|
+
user?: {
|
|
1869
2055
|
id: string;
|
|
1870
|
-
name: string;
|
|
1871
2056
|
createdAt: string;
|
|
1872
2057
|
updatedAt: string;
|
|
1873
|
-
} | null | undefined;
|
|
1874
|
-
user?: {
|
|
1875
|
-
id: string;
|
|
1876
2058
|
firstName: string;
|
|
1877
2059
|
lastName: string;
|
|
1878
2060
|
email: string;
|
|
2061
|
+
phone: string;
|
|
2062
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2063
|
+
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;
|
|
1879
2064
|
} | null | undefined;
|
|
1880
2065
|
newCollaboration?: {
|
|
1881
|
-
id: string;
|
|
1882
2066
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2067
|
+
id: string;
|
|
1883
2068
|
createdAt: string;
|
|
1884
2069
|
updatedAt: string;
|
|
1885
2070
|
userId: string;
|
|
2071
|
+
company?: {
|
|
2072
|
+
id: string;
|
|
2073
|
+
createdAt: string;
|
|
2074
|
+
updatedAt: string;
|
|
2075
|
+
name: string;
|
|
2076
|
+
} | null | undefined;
|
|
1886
2077
|
client?: {
|
|
2078
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1887
2079
|
id: string;
|
|
1888
|
-
|
|
2080
|
+
createdAt: string;
|
|
2081
|
+
updatedAt: string;
|
|
1889
2082
|
name: string;
|
|
1890
2083
|
crn: string | null;
|
|
1891
2084
|
govLink: string;
|
|
1892
2085
|
soleTrader: boolean;
|
|
1893
2086
|
director: string;
|
|
1894
|
-
createdAt: string;
|
|
1895
|
-
updatedAt: string;
|
|
1896
2087
|
blacklistReason?: string | null | undefined;
|
|
1897
2088
|
lastUpdatedBy?: {
|
|
1898
2089
|
id: string;
|
|
@@ -1904,35 +2095,40 @@ export declare const collaborationsContractRouter: {
|
|
|
1904
2095
|
agentId: string;
|
|
1905
2096
|
} | null | undefined;
|
|
1906
2097
|
} | null | undefined;
|
|
1907
|
-
|
|
2098
|
+
user?: {
|
|
1908
2099
|
id: string;
|
|
1909
|
-
name: string;
|
|
1910
2100
|
createdAt: string;
|
|
1911
2101
|
updatedAt: string;
|
|
1912
|
-
} | null | undefined;
|
|
1913
|
-
user?: {
|
|
1914
|
-
id: string;
|
|
1915
2102
|
firstName: string;
|
|
1916
2103
|
lastName: string;
|
|
1917
2104
|
email: string;
|
|
2105
|
+
phone: string;
|
|
2106
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2107
|
+
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;
|
|
1918
2108
|
} | null | undefined;
|
|
1919
2109
|
} | null | undefined;
|
|
1920
2110
|
}, {
|
|
1921
|
-
id: string;
|
|
1922
2111
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2112
|
+
id: string;
|
|
1923
2113
|
createdAt: string | Date;
|
|
1924
2114
|
updatedAt: string | Date;
|
|
1925
2115
|
userId: string;
|
|
2116
|
+
company?: {
|
|
2117
|
+
id: string;
|
|
2118
|
+
createdAt: string | Date;
|
|
2119
|
+
updatedAt: string | Date;
|
|
2120
|
+
name: string;
|
|
2121
|
+
} | null | undefined;
|
|
1926
2122
|
client?: {
|
|
2123
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1927
2124
|
id: string;
|
|
1928
|
-
|
|
2125
|
+
createdAt: string | Date;
|
|
2126
|
+
updatedAt: string | Date;
|
|
1929
2127
|
name: string;
|
|
1930
2128
|
crn: string | null;
|
|
1931
2129
|
govLink: string;
|
|
1932
2130
|
soleTrader: boolean;
|
|
1933
2131
|
director: string;
|
|
1934
|
-
createdAt: string | Date;
|
|
1935
|
-
updatedAt: string | Date;
|
|
1936
2132
|
blacklistReason?: string | null | undefined;
|
|
1937
2133
|
lastUpdatedBy?: {
|
|
1938
2134
|
id: string;
|
|
@@ -1944,34 +2140,39 @@ export declare const collaborationsContractRouter: {
|
|
|
1944
2140
|
agentId: string;
|
|
1945
2141
|
} | null | undefined;
|
|
1946
2142
|
} | null | undefined;
|
|
1947
|
-
|
|
2143
|
+
user?: {
|
|
1948
2144
|
id: string;
|
|
1949
|
-
name: string;
|
|
1950
2145
|
createdAt: string | Date;
|
|
1951
2146
|
updatedAt: string | Date;
|
|
1952
|
-
} | null | undefined;
|
|
1953
|
-
user?: {
|
|
1954
|
-
id: string;
|
|
1955
2147
|
firstName: string;
|
|
1956
2148
|
lastName: string;
|
|
1957
2149
|
email: string;
|
|
2150
|
+
phone: string;
|
|
2151
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2152
|
+
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;
|
|
1958
2153
|
} | null | undefined;
|
|
1959
2154
|
newCollaboration?: {
|
|
1960
|
-
id: string;
|
|
1961
2155
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2156
|
+
id: string;
|
|
1962
2157
|
createdAt: string | Date;
|
|
1963
2158
|
updatedAt: string | Date;
|
|
1964
2159
|
userId: string;
|
|
2160
|
+
company?: {
|
|
2161
|
+
id: string;
|
|
2162
|
+
createdAt: string | Date;
|
|
2163
|
+
updatedAt: string | Date;
|
|
2164
|
+
name: string;
|
|
2165
|
+
} | null | undefined;
|
|
1965
2166
|
client?: {
|
|
2167
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1966
2168
|
id: string;
|
|
1967
|
-
|
|
2169
|
+
createdAt: string | Date;
|
|
2170
|
+
updatedAt: string | Date;
|
|
1968
2171
|
name: string;
|
|
1969
2172
|
crn: string | null;
|
|
1970
2173
|
govLink: string;
|
|
1971
2174
|
soleTrader: boolean;
|
|
1972
2175
|
director: string;
|
|
1973
|
-
createdAt: string | Date;
|
|
1974
|
-
updatedAt: string | Date;
|
|
1975
2176
|
blacklistReason?: string | null | undefined;
|
|
1976
2177
|
lastUpdatedBy?: {
|
|
1977
2178
|
id: string;
|
|
@@ -1983,17 +2184,16 @@ export declare const collaborationsContractRouter: {
|
|
|
1983
2184
|
agentId: string;
|
|
1984
2185
|
} | null | undefined;
|
|
1985
2186
|
} | null | undefined;
|
|
1986
|
-
|
|
2187
|
+
user?: {
|
|
1987
2188
|
id: string;
|
|
1988
|
-
name: string;
|
|
1989
2189
|
createdAt: string | Date;
|
|
1990
2190
|
updatedAt: string | Date;
|
|
1991
|
-
} | null | undefined;
|
|
1992
|
-
user?: {
|
|
1993
|
-
id: string;
|
|
1994
2191
|
firstName: string;
|
|
1995
2192
|
lastName: string;
|
|
1996
2193
|
email: string;
|
|
2194
|
+
phone: string;
|
|
2195
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2196
|
+
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;
|
|
1997
2197
|
} | null | undefined;
|
|
1998
2198
|
} | null | undefined;
|
|
1999
2199
|
}>;
|
|
@@ -2025,12 +2225,6 @@ export declare const collaborationsContractRouter: {
|
|
|
2025
2225
|
};
|
|
2026
2226
|
};
|
|
2027
2227
|
findAll: {
|
|
2028
|
-
metadata: {
|
|
2029
|
-
tags: string[];
|
|
2030
|
-
openApi: {
|
|
2031
|
-
operationId: string;
|
|
2032
|
-
};
|
|
2033
|
-
};
|
|
2034
2228
|
query: z.ZodObject<{
|
|
2035
2229
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
2036
2230
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2047,19 +2241,25 @@ export declare const collaborationsContractRouter: {
|
|
|
2047
2241
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
2048
2242
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2049
2243
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2050
|
-
clientId?: string | null | undefined;
|
|
2051
2244
|
userId?: string | null | undefined;
|
|
2052
2245
|
companyId?: string | null | undefined;
|
|
2246
|
+
clientId?: string | null | undefined;
|
|
2053
2247
|
}, {
|
|
2054
2248
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
2055
2249
|
limit?: number | undefined;
|
|
2056
2250
|
page?: number | undefined;
|
|
2057
2251
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2058
2252
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2059
|
-
clientId?: string | null | undefined;
|
|
2060
2253
|
userId?: string | null | undefined;
|
|
2061
2254
|
companyId?: string | null | undefined;
|
|
2255
|
+
clientId?: string | null | undefined;
|
|
2062
2256
|
}>;
|
|
2257
|
+
metadata: {
|
|
2258
|
+
tags: string[];
|
|
2259
|
+
openApi: {
|
|
2260
|
+
operationId: string;
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2063
2263
|
summary: "Get all collaborations";
|
|
2064
2264
|
method: "GET";
|
|
2065
2265
|
path: "/v2/collaborations";
|
|
@@ -2174,14 +2374,14 @@ export declare const collaborationsContractRouter: {
|
|
|
2174
2374
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2175
2375
|
}, "strip", z.ZodTypeAny, {
|
|
2176
2376
|
id: string;
|
|
2177
|
-
name: string;
|
|
2178
2377
|
createdAt: string;
|
|
2179
2378
|
updatedAt: string;
|
|
2379
|
+
name: string;
|
|
2180
2380
|
}, {
|
|
2181
2381
|
id: string;
|
|
2182
|
-
name: string;
|
|
2183
2382
|
createdAt: string | Date;
|
|
2184
2383
|
updatedAt: string | Date;
|
|
2384
|
+
name: string;
|
|
2185
2385
|
}>>>;
|
|
2186
2386
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2187
2387
|
id: z.ZodString;
|
|
@@ -2218,15 +2418,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2218
2418
|
agentId: string;
|
|
2219
2419
|
}>>>;
|
|
2220
2420
|
}, "strip", z.ZodTypeAny, {
|
|
2421
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2221
2422
|
id: string;
|
|
2222
|
-
|
|
2423
|
+
createdAt: string;
|
|
2424
|
+
updatedAt: string;
|
|
2223
2425
|
name: string;
|
|
2224
2426
|
crn: string | null;
|
|
2225
2427
|
govLink: string;
|
|
2226
2428
|
soleTrader: boolean;
|
|
2227
2429
|
director: string;
|
|
2228
|
-
createdAt: string;
|
|
2229
|
-
updatedAt: string;
|
|
2230
2430
|
blacklistReason?: string | null | undefined;
|
|
2231
2431
|
lastUpdatedBy?: {
|
|
2232
2432
|
id: string;
|
|
@@ -2238,15 +2438,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2238
2438
|
agentId: string;
|
|
2239
2439
|
} | null | undefined;
|
|
2240
2440
|
}, {
|
|
2441
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2241
2442
|
id: string;
|
|
2242
|
-
|
|
2443
|
+
createdAt: string | Date;
|
|
2444
|
+
updatedAt: string | Date;
|
|
2243
2445
|
name: string;
|
|
2244
2446
|
crn: string | null;
|
|
2245
2447
|
govLink: string;
|
|
2246
2448
|
soleTrader: boolean;
|
|
2247
2449
|
director: string;
|
|
2248
|
-
createdAt: string | Date;
|
|
2249
|
-
updatedAt: string | Date;
|
|
2250
2450
|
blacklistReason?: string | null | undefined;
|
|
2251
2451
|
lastUpdatedBy?: {
|
|
2252
2452
|
id: string;
|
|
@@ -2263,16 +2463,31 @@ export declare const collaborationsContractRouter: {
|
|
|
2263
2463
|
firstName: z.ZodString;
|
|
2264
2464
|
lastName: z.ZodString;
|
|
2265
2465
|
email: z.ZodString;
|
|
2466
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
2467
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
2468
|
+
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"]>>>;
|
|
2469
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2470
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2266
2471
|
}, "strip", z.ZodTypeAny, {
|
|
2267
2472
|
id: string;
|
|
2473
|
+
createdAt: string;
|
|
2474
|
+
updatedAt: string;
|
|
2268
2475
|
firstName: string;
|
|
2269
2476
|
lastName: string;
|
|
2270
2477
|
email: string;
|
|
2478
|
+
phone: string;
|
|
2479
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2480
|
+
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;
|
|
2271
2481
|
}, {
|
|
2272
2482
|
id: string;
|
|
2483
|
+
createdAt: string | Date;
|
|
2484
|
+
updatedAt: string | Date;
|
|
2273
2485
|
firstName: string;
|
|
2274
2486
|
lastName: string;
|
|
2275
2487
|
email: string;
|
|
2488
|
+
phone: string;
|
|
2489
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2490
|
+
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;
|
|
2276
2491
|
}>>>;
|
|
2277
2492
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2278
2493
|
userId: z.ZodString;
|
|
@@ -2288,14 +2503,14 @@ export declare const collaborationsContractRouter: {
|
|
|
2288
2503
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2289
2504
|
}, "strip", z.ZodTypeAny, {
|
|
2290
2505
|
id: string;
|
|
2291
|
-
name: string;
|
|
2292
2506
|
createdAt: string;
|
|
2293
2507
|
updatedAt: string;
|
|
2508
|
+
name: string;
|
|
2294
2509
|
}, {
|
|
2295
2510
|
id: string;
|
|
2296
|
-
name: string;
|
|
2297
2511
|
createdAt: string | Date;
|
|
2298
2512
|
updatedAt: string | Date;
|
|
2513
|
+
name: string;
|
|
2299
2514
|
}>>>;
|
|
2300
2515
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2301
2516
|
id: z.ZodString;
|
|
@@ -2332,15 +2547,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2332
2547
|
agentId: string;
|
|
2333
2548
|
}>>>;
|
|
2334
2549
|
}, "strip", z.ZodTypeAny, {
|
|
2550
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2335
2551
|
id: string;
|
|
2336
|
-
|
|
2552
|
+
createdAt: string;
|
|
2553
|
+
updatedAt: string;
|
|
2337
2554
|
name: string;
|
|
2338
2555
|
crn: string | null;
|
|
2339
2556
|
govLink: string;
|
|
2340
2557
|
soleTrader: boolean;
|
|
2341
2558
|
director: string;
|
|
2342
|
-
createdAt: string;
|
|
2343
|
-
updatedAt: string;
|
|
2344
2559
|
blacklistReason?: string | null | undefined;
|
|
2345
2560
|
lastUpdatedBy?: {
|
|
2346
2561
|
id: string;
|
|
@@ -2352,15 +2567,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2352
2567
|
agentId: string;
|
|
2353
2568
|
} | null | undefined;
|
|
2354
2569
|
}, {
|
|
2570
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2355
2571
|
id: string;
|
|
2356
|
-
|
|
2572
|
+
createdAt: string | Date;
|
|
2573
|
+
updatedAt: string | Date;
|
|
2357
2574
|
name: string;
|
|
2358
2575
|
crn: string | null;
|
|
2359
2576
|
govLink: string;
|
|
2360
2577
|
soleTrader: boolean;
|
|
2361
2578
|
director: string;
|
|
2362
|
-
createdAt: string | Date;
|
|
2363
|
-
updatedAt: string | Date;
|
|
2364
2579
|
blacklistReason?: string | null | undefined;
|
|
2365
2580
|
lastUpdatedBy?: {
|
|
2366
2581
|
id: string;
|
|
@@ -2377,37 +2592,58 @@ export declare const collaborationsContractRouter: {
|
|
|
2377
2592
|
firstName: z.ZodString;
|
|
2378
2593
|
lastName: z.ZodString;
|
|
2379
2594
|
email: z.ZodString;
|
|
2595
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
2596
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
2597
|
+
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"]>>>;
|
|
2598
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2599
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2380
2600
|
}, "strip", z.ZodTypeAny, {
|
|
2381
2601
|
id: string;
|
|
2602
|
+
createdAt: string;
|
|
2603
|
+
updatedAt: string;
|
|
2382
2604
|
firstName: string;
|
|
2383
2605
|
lastName: string;
|
|
2384
2606
|
email: string;
|
|
2607
|
+
phone: string;
|
|
2608
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2609
|
+
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;
|
|
2385
2610
|
}, {
|
|
2386
2611
|
id: string;
|
|
2612
|
+
createdAt: string | Date;
|
|
2613
|
+
updatedAt: string | Date;
|
|
2387
2614
|
firstName: string;
|
|
2388
2615
|
lastName: string;
|
|
2389
2616
|
email: string;
|
|
2617
|
+
phone: string;
|
|
2618
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2619
|
+
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;
|
|
2390
2620
|
}>>>;
|
|
2391
2621
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
2392
2622
|
userId: z.ZodString;
|
|
2393
2623
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2394
2624
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2395
2625
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
-
id: string;
|
|
2397
2626
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2627
|
+
id: string;
|
|
2398
2628
|
createdAt: string;
|
|
2399
2629
|
updatedAt: string;
|
|
2400
2630
|
userId: string;
|
|
2631
|
+
company?: {
|
|
2632
|
+
id: string;
|
|
2633
|
+
createdAt: string;
|
|
2634
|
+
updatedAt: string;
|
|
2635
|
+
name: string;
|
|
2636
|
+
} | null | undefined;
|
|
2401
2637
|
client?: {
|
|
2638
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2402
2639
|
id: string;
|
|
2403
|
-
|
|
2640
|
+
createdAt: string;
|
|
2641
|
+
updatedAt: string;
|
|
2404
2642
|
name: string;
|
|
2405
2643
|
crn: string | null;
|
|
2406
2644
|
govLink: string;
|
|
2407
2645
|
soleTrader: boolean;
|
|
2408
2646
|
director: string;
|
|
2409
|
-
createdAt: string;
|
|
2410
|
-
updatedAt: string;
|
|
2411
2647
|
blacklistReason?: string | null | undefined;
|
|
2412
2648
|
lastUpdatedBy?: {
|
|
2413
2649
|
id: string;
|
|
@@ -2419,34 +2655,39 @@ export declare const collaborationsContractRouter: {
|
|
|
2419
2655
|
agentId: string;
|
|
2420
2656
|
} | null | undefined;
|
|
2421
2657
|
} | null | undefined;
|
|
2422
|
-
|
|
2658
|
+
user?: {
|
|
2423
2659
|
id: string;
|
|
2424
|
-
name: string;
|
|
2425
2660
|
createdAt: string;
|
|
2426
2661
|
updatedAt: string;
|
|
2427
|
-
} | null | undefined;
|
|
2428
|
-
user?: {
|
|
2429
|
-
id: string;
|
|
2430
2662
|
firstName: string;
|
|
2431
2663
|
lastName: string;
|
|
2432
2664
|
email: string;
|
|
2665
|
+
phone: string;
|
|
2666
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2667
|
+
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;
|
|
2433
2668
|
} | null | undefined;
|
|
2434
2669
|
}, {
|
|
2435
|
-
id: string;
|
|
2436
2670
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2671
|
+
id: string;
|
|
2437
2672
|
createdAt: string | Date;
|
|
2438
2673
|
updatedAt: string | Date;
|
|
2439
2674
|
userId: string;
|
|
2675
|
+
company?: {
|
|
2676
|
+
id: string;
|
|
2677
|
+
createdAt: string | Date;
|
|
2678
|
+
updatedAt: string | Date;
|
|
2679
|
+
name: string;
|
|
2680
|
+
} | null | undefined;
|
|
2440
2681
|
client?: {
|
|
2682
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2441
2683
|
id: string;
|
|
2442
|
-
|
|
2684
|
+
createdAt: string | Date;
|
|
2685
|
+
updatedAt: string | Date;
|
|
2443
2686
|
name: string;
|
|
2444
2687
|
crn: string | null;
|
|
2445
2688
|
govLink: string;
|
|
2446
2689
|
soleTrader: boolean;
|
|
2447
2690
|
director: string;
|
|
2448
|
-
createdAt: string | Date;
|
|
2449
|
-
updatedAt: string | Date;
|
|
2450
2691
|
blacklistReason?: string | null | undefined;
|
|
2451
2692
|
lastUpdatedBy?: {
|
|
2452
2693
|
id: string;
|
|
@@ -2458,35 +2699,40 @@ export declare const collaborationsContractRouter: {
|
|
|
2458
2699
|
agentId: string;
|
|
2459
2700
|
} | null | undefined;
|
|
2460
2701
|
} | null | undefined;
|
|
2461
|
-
|
|
2702
|
+
user?: {
|
|
2462
2703
|
id: string;
|
|
2463
|
-
name: string;
|
|
2464
2704
|
createdAt: string | Date;
|
|
2465
2705
|
updatedAt: string | Date;
|
|
2466
|
-
} | null | undefined;
|
|
2467
|
-
user?: {
|
|
2468
|
-
id: string;
|
|
2469
2706
|
firstName: string;
|
|
2470
2707
|
lastName: string;
|
|
2471
2708
|
email: string;
|
|
2709
|
+
phone: string;
|
|
2710
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2711
|
+
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;
|
|
2472
2712
|
} | null | undefined;
|
|
2473
2713
|
}>>>;
|
|
2474
2714
|
}, "strip", z.ZodTypeAny, {
|
|
2475
|
-
id: string;
|
|
2476
2715
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2716
|
+
id: string;
|
|
2477
2717
|
createdAt: string;
|
|
2478
2718
|
updatedAt: string;
|
|
2479
2719
|
userId: string;
|
|
2720
|
+
company?: {
|
|
2721
|
+
id: string;
|
|
2722
|
+
createdAt: string;
|
|
2723
|
+
updatedAt: string;
|
|
2724
|
+
name: string;
|
|
2725
|
+
} | null | undefined;
|
|
2480
2726
|
client?: {
|
|
2727
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2481
2728
|
id: string;
|
|
2482
|
-
|
|
2729
|
+
createdAt: string;
|
|
2730
|
+
updatedAt: string;
|
|
2483
2731
|
name: string;
|
|
2484
2732
|
crn: string | null;
|
|
2485
2733
|
govLink: string;
|
|
2486
2734
|
soleTrader: boolean;
|
|
2487
2735
|
director: string;
|
|
2488
|
-
createdAt: string;
|
|
2489
|
-
updatedAt: string;
|
|
2490
2736
|
blacklistReason?: string | null | undefined;
|
|
2491
2737
|
lastUpdatedBy?: {
|
|
2492
2738
|
id: string;
|
|
@@ -2498,34 +2744,39 @@ export declare const collaborationsContractRouter: {
|
|
|
2498
2744
|
agentId: string;
|
|
2499
2745
|
} | null | undefined;
|
|
2500
2746
|
} | null | undefined;
|
|
2501
|
-
|
|
2747
|
+
user?: {
|
|
2502
2748
|
id: string;
|
|
2503
|
-
name: string;
|
|
2504
2749
|
createdAt: string;
|
|
2505
2750
|
updatedAt: string;
|
|
2506
|
-
} | null | undefined;
|
|
2507
|
-
user?: {
|
|
2508
|
-
id: string;
|
|
2509
2751
|
firstName: string;
|
|
2510
2752
|
lastName: string;
|
|
2511
2753
|
email: string;
|
|
2754
|
+
phone: string;
|
|
2755
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2756
|
+
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;
|
|
2512
2757
|
} | null | undefined;
|
|
2513
2758
|
newCollaboration?: {
|
|
2514
|
-
id: string;
|
|
2515
2759
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2760
|
+
id: string;
|
|
2516
2761
|
createdAt: string;
|
|
2517
2762
|
updatedAt: string;
|
|
2518
2763
|
userId: string;
|
|
2764
|
+
company?: {
|
|
2765
|
+
id: string;
|
|
2766
|
+
createdAt: string;
|
|
2767
|
+
updatedAt: string;
|
|
2768
|
+
name: string;
|
|
2769
|
+
} | null | undefined;
|
|
2519
2770
|
client?: {
|
|
2771
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2520
2772
|
id: string;
|
|
2521
|
-
|
|
2773
|
+
createdAt: string;
|
|
2774
|
+
updatedAt: string;
|
|
2522
2775
|
name: string;
|
|
2523
2776
|
crn: string | null;
|
|
2524
2777
|
govLink: string;
|
|
2525
2778
|
soleTrader: boolean;
|
|
2526
2779
|
director: string;
|
|
2527
|
-
createdAt: string;
|
|
2528
|
-
updatedAt: string;
|
|
2529
2780
|
blacklistReason?: string | null | undefined;
|
|
2530
2781
|
lastUpdatedBy?: {
|
|
2531
2782
|
id: string;
|
|
@@ -2537,35 +2788,40 @@ export declare const collaborationsContractRouter: {
|
|
|
2537
2788
|
agentId: string;
|
|
2538
2789
|
} | null | undefined;
|
|
2539
2790
|
} | null | undefined;
|
|
2540
|
-
|
|
2791
|
+
user?: {
|
|
2541
2792
|
id: string;
|
|
2542
|
-
name: string;
|
|
2543
2793
|
createdAt: string;
|
|
2544
2794
|
updatedAt: string;
|
|
2545
|
-
} | null | undefined;
|
|
2546
|
-
user?: {
|
|
2547
|
-
id: string;
|
|
2548
2795
|
firstName: string;
|
|
2549
2796
|
lastName: string;
|
|
2550
2797
|
email: string;
|
|
2798
|
+
phone: string;
|
|
2799
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2800
|
+
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;
|
|
2551
2801
|
} | null | undefined;
|
|
2552
2802
|
} | null | undefined;
|
|
2553
2803
|
}, {
|
|
2554
|
-
id: string;
|
|
2555
2804
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2805
|
+
id: string;
|
|
2556
2806
|
createdAt: string | Date;
|
|
2557
2807
|
updatedAt: string | Date;
|
|
2558
2808
|
userId: string;
|
|
2809
|
+
company?: {
|
|
2810
|
+
id: string;
|
|
2811
|
+
createdAt: string | Date;
|
|
2812
|
+
updatedAt: string | Date;
|
|
2813
|
+
name: string;
|
|
2814
|
+
} | null | undefined;
|
|
2559
2815
|
client?: {
|
|
2816
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2560
2817
|
id: string;
|
|
2561
|
-
|
|
2818
|
+
createdAt: string | Date;
|
|
2819
|
+
updatedAt: string | Date;
|
|
2562
2820
|
name: string;
|
|
2563
2821
|
crn: string | null;
|
|
2564
2822
|
govLink: string;
|
|
2565
2823
|
soleTrader: boolean;
|
|
2566
2824
|
director: string;
|
|
2567
|
-
createdAt: string | Date;
|
|
2568
|
-
updatedAt: string | Date;
|
|
2569
2825
|
blacklistReason?: string | null | undefined;
|
|
2570
2826
|
lastUpdatedBy?: {
|
|
2571
2827
|
id: string;
|
|
@@ -2577,34 +2833,39 @@ export declare const collaborationsContractRouter: {
|
|
|
2577
2833
|
agentId: string;
|
|
2578
2834
|
} | null | undefined;
|
|
2579
2835
|
} | null | undefined;
|
|
2580
|
-
|
|
2836
|
+
user?: {
|
|
2581
2837
|
id: string;
|
|
2582
|
-
name: string;
|
|
2583
2838
|
createdAt: string | Date;
|
|
2584
2839
|
updatedAt: string | Date;
|
|
2585
|
-
} | null | undefined;
|
|
2586
|
-
user?: {
|
|
2587
|
-
id: string;
|
|
2588
2840
|
firstName: string;
|
|
2589
2841
|
lastName: string;
|
|
2590
2842
|
email: string;
|
|
2843
|
+
phone: string;
|
|
2844
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2845
|
+
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;
|
|
2591
2846
|
} | null | undefined;
|
|
2592
2847
|
newCollaboration?: {
|
|
2593
|
-
id: string;
|
|
2594
2848
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2849
|
+
id: string;
|
|
2595
2850
|
createdAt: string | Date;
|
|
2596
2851
|
updatedAt: string | Date;
|
|
2597
2852
|
userId: string;
|
|
2853
|
+
company?: {
|
|
2854
|
+
id: string;
|
|
2855
|
+
createdAt: string | Date;
|
|
2856
|
+
updatedAt: string | Date;
|
|
2857
|
+
name: string;
|
|
2858
|
+
} | null | undefined;
|
|
2598
2859
|
client?: {
|
|
2860
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2599
2861
|
id: string;
|
|
2600
|
-
|
|
2862
|
+
createdAt: string | Date;
|
|
2863
|
+
updatedAt: string | Date;
|
|
2601
2864
|
name: string;
|
|
2602
2865
|
crn: string | null;
|
|
2603
2866
|
govLink: string;
|
|
2604
2867
|
soleTrader: boolean;
|
|
2605
2868
|
director: string;
|
|
2606
|
-
createdAt: string | Date;
|
|
2607
|
-
updatedAt: string | Date;
|
|
2608
2869
|
blacklistReason?: string | null | undefined;
|
|
2609
2870
|
lastUpdatedBy?: {
|
|
2610
2871
|
id: string;
|
|
@@ -2616,17 +2877,16 @@ export declare const collaborationsContractRouter: {
|
|
|
2616
2877
|
agentId: string;
|
|
2617
2878
|
} | null | undefined;
|
|
2618
2879
|
} | null | undefined;
|
|
2619
|
-
|
|
2880
|
+
user?: {
|
|
2620
2881
|
id: string;
|
|
2621
|
-
name: string;
|
|
2622
2882
|
createdAt: string | Date;
|
|
2623
2883
|
updatedAt: string | Date;
|
|
2624
|
-
} | null | undefined;
|
|
2625
|
-
user?: {
|
|
2626
|
-
id: string;
|
|
2627
2884
|
firstName: string;
|
|
2628
2885
|
lastName: string;
|
|
2629
2886
|
email: string;
|
|
2887
|
+
phone: string;
|
|
2888
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2889
|
+
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;
|
|
2630
2890
|
} | null | undefined;
|
|
2631
2891
|
} | null | undefined;
|
|
2632
2892
|
}>, "many">;
|
|
@@ -2638,21 +2898,27 @@ export declare const collaborationsContractRouter: {
|
|
|
2638
2898
|
}, "strip", z.ZodTypeAny, {
|
|
2639
2899
|
limit: number;
|
|
2640
2900
|
items: {
|
|
2641
|
-
id: string;
|
|
2642
2901
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2902
|
+
id: string;
|
|
2643
2903
|
createdAt: string;
|
|
2644
2904
|
updatedAt: string;
|
|
2645
2905
|
userId: string;
|
|
2906
|
+
company?: {
|
|
2907
|
+
id: string;
|
|
2908
|
+
createdAt: string;
|
|
2909
|
+
updatedAt: string;
|
|
2910
|
+
name: string;
|
|
2911
|
+
} | null | undefined;
|
|
2646
2912
|
client?: {
|
|
2913
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2647
2914
|
id: string;
|
|
2648
|
-
|
|
2915
|
+
createdAt: string;
|
|
2916
|
+
updatedAt: string;
|
|
2649
2917
|
name: string;
|
|
2650
2918
|
crn: string | null;
|
|
2651
2919
|
govLink: string;
|
|
2652
2920
|
soleTrader: boolean;
|
|
2653
2921
|
director: string;
|
|
2654
|
-
createdAt: string;
|
|
2655
|
-
updatedAt: string;
|
|
2656
2922
|
blacklistReason?: string | null | undefined;
|
|
2657
2923
|
lastUpdatedBy?: {
|
|
2658
2924
|
id: string;
|
|
@@ -2664,34 +2930,39 @@ export declare const collaborationsContractRouter: {
|
|
|
2664
2930
|
agentId: string;
|
|
2665
2931
|
} | null | undefined;
|
|
2666
2932
|
} | null | undefined;
|
|
2667
|
-
|
|
2933
|
+
user?: {
|
|
2668
2934
|
id: string;
|
|
2669
|
-
name: string;
|
|
2670
2935
|
createdAt: string;
|
|
2671
2936
|
updatedAt: string;
|
|
2672
|
-
} | null | undefined;
|
|
2673
|
-
user?: {
|
|
2674
|
-
id: string;
|
|
2675
2937
|
firstName: string;
|
|
2676
2938
|
lastName: string;
|
|
2677
2939
|
email: string;
|
|
2940
|
+
phone: string;
|
|
2941
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2942
|
+
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;
|
|
2678
2943
|
} | null | undefined;
|
|
2679
2944
|
newCollaboration?: {
|
|
2680
|
-
id: string;
|
|
2681
2945
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2946
|
+
id: string;
|
|
2682
2947
|
createdAt: string;
|
|
2683
2948
|
updatedAt: string;
|
|
2684
2949
|
userId: string;
|
|
2950
|
+
company?: {
|
|
2951
|
+
id: string;
|
|
2952
|
+
createdAt: string;
|
|
2953
|
+
updatedAt: string;
|
|
2954
|
+
name: string;
|
|
2955
|
+
} | null | undefined;
|
|
2685
2956
|
client?: {
|
|
2957
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2686
2958
|
id: string;
|
|
2687
|
-
|
|
2959
|
+
createdAt: string;
|
|
2960
|
+
updatedAt: string;
|
|
2688
2961
|
name: string;
|
|
2689
2962
|
crn: string | null;
|
|
2690
2963
|
govLink: string;
|
|
2691
2964
|
soleTrader: boolean;
|
|
2692
2965
|
director: string;
|
|
2693
|
-
createdAt: string;
|
|
2694
|
-
updatedAt: string;
|
|
2695
2966
|
blacklistReason?: string | null | undefined;
|
|
2696
2967
|
lastUpdatedBy?: {
|
|
2697
2968
|
id: string;
|
|
@@ -2703,17 +2974,16 @@ export declare const collaborationsContractRouter: {
|
|
|
2703
2974
|
agentId: string;
|
|
2704
2975
|
} | null | undefined;
|
|
2705
2976
|
} | null | undefined;
|
|
2706
|
-
|
|
2977
|
+
user?: {
|
|
2707
2978
|
id: string;
|
|
2708
|
-
name: string;
|
|
2709
2979
|
createdAt: string;
|
|
2710
2980
|
updatedAt: string;
|
|
2711
|
-
} | null | undefined;
|
|
2712
|
-
user?: {
|
|
2713
|
-
id: string;
|
|
2714
2981
|
firstName: string;
|
|
2715
2982
|
lastName: string;
|
|
2716
2983
|
email: string;
|
|
2984
|
+
phone: string;
|
|
2985
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2986
|
+
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;
|
|
2717
2987
|
} | null | undefined;
|
|
2718
2988
|
} | null | undefined;
|
|
2719
2989
|
}[];
|
|
@@ -2724,21 +2994,27 @@ export declare const collaborationsContractRouter: {
|
|
|
2724
2994
|
}, {
|
|
2725
2995
|
limit: number;
|
|
2726
2996
|
items: {
|
|
2727
|
-
id: string;
|
|
2728
2997
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2998
|
+
id: string;
|
|
2729
2999
|
createdAt: string | Date;
|
|
2730
3000
|
updatedAt: string | Date;
|
|
2731
3001
|
userId: string;
|
|
3002
|
+
company?: {
|
|
3003
|
+
id: string;
|
|
3004
|
+
createdAt: string | Date;
|
|
3005
|
+
updatedAt: string | Date;
|
|
3006
|
+
name: string;
|
|
3007
|
+
} | null | undefined;
|
|
2732
3008
|
client?: {
|
|
3009
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2733
3010
|
id: string;
|
|
2734
|
-
|
|
3011
|
+
createdAt: string | Date;
|
|
3012
|
+
updatedAt: string | Date;
|
|
2735
3013
|
name: string;
|
|
2736
3014
|
crn: string | null;
|
|
2737
3015
|
govLink: string;
|
|
2738
3016
|
soleTrader: boolean;
|
|
2739
3017
|
director: string;
|
|
2740
|
-
createdAt: string | Date;
|
|
2741
|
-
updatedAt: string | Date;
|
|
2742
3018
|
blacklistReason?: string | null | undefined;
|
|
2743
3019
|
lastUpdatedBy?: {
|
|
2744
3020
|
id: string;
|
|
@@ -2750,34 +3026,39 @@ export declare const collaborationsContractRouter: {
|
|
|
2750
3026
|
agentId: string;
|
|
2751
3027
|
} | null | undefined;
|
|
2752
3028
|
} | null | undefined;
|
|
2753
|
-
|
|
3029
|
+
user?: {
|
|
2754
3030
|
id: string;
|
|
2755
|
-
name: string;
|
|
2756
3031
|
createdAt: string | Date;
|
|
2757
3032
|
updatedAt: string | Date;
|
|
2758
|
-
} | null | undefined;
|
|
2759
|
-
user?: {
|
|
2760
|
-
id: string;
|
|
2761
3033
|
firstName: string;
|
|
2762
3034
|
lastName: string;
|
|
2763
3035
|
email: string;
|
|
3036
|
+
phone: string;
|
|
3037
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3038
|
+
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;
|
|
2764
3039
|
} | null | undefined;
|
|
2765
3040
|
newCollaboration?: {
|
|
2766
|
-
id: string;
|
|
2767
3041
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3042
|
+
id: string;
|
|
2768
3043
|
createdAt: string | Date;
|
|
2769
3044
|
updatedAt: string | Date;
|
|
2770
3045
|
userId: string;
|
|
3046
|
+
company?: {
|
|
3047
|
+
id: string;
|
|
3048
|
+
createdAt: string | Date;
|
|
3049
|
+
updatedAt: string | Date;
|
|
3050
|
+
name: string;
|
|
3051
|
+
} | null | undefined;
|
|
2771
3052
|
client?: {
|
|
3053
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2772
3054
|
id: string;
|
|
2773
|
-
|
|
3055
|
+
createdAt: string | Date;
|
|
3056
|
+
updatedAt: string | Date;
|
|
2774
3057
|
name: string;
|
|
2775
3058
|
crn: string | null;
|
|
2776
3059
|
govLink: string;
|
|
2777
3060
|
soleTrader: boolean;
|
|
2778
3061
|
director: string;
|
|
2779
|
-
createdAt: string | Date;
|
|
2780
|
-
updatedAt: string | Date;
|
|
2781
3062
|
blacklistReason?: string | null | undefined;
|
|
2782
3063
|
lastUpdatedBy?: {
|
|
2783
3064
|
id: string;
|
|
@@ -2789,17 +3070,16 @@ export declare const collaborationsContractRouter: {
|
|
|
2789
3070
|
agentId: string;
|
|
2790
3071
|
} | null | undefined;
|
|
2791
3072
|
} | null | undefined;
|
|
2792
|
-
|
|
3073
|
+
user?: {
|
|
2793
3074
|
id: string;
|
|
2794
|
-
name: string;
|
|
2795
3075
|
createdAt: string | Date;
|
|
2796
3076
|
updatedAt: string | Date;
|
|
2797
|
-
} | null | undefined;
|
|
2798
|
-
user?: {
|
|
2799
|
-
id: string;
|
|
2800
3077
|
firstName: string;
|
|
2801
3078
|
lastName: string;
|
|
2802
3079
|
email: string;
|
|
3080
|
+
phone: string;
|
|
3081
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3082
|
+
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;
|
|
2803
3083
|
} | null | undefined;
|
|
2804
3084
|
} | null | undefined;
|
|
2805
3085
|
}[];
|
|
@@ -2811,22 +3091,22 @@ export declare const collaborationsContractRouter: {
|
|
|
2811
3091
|
};
|
|
2812
3092
|
};
|
|
2813
3093
|
autocomplete: {
|
|
2814
|
-
metadata: {
|
|
2815
|
-
tags: string[];
|
|
2816
|
-
openApi: {
|
|
2817
|
-
operationId: string;
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
3094
|
query: z.ZodObject<{
|
|
2821
3095
|
query: z.ZodOptional<z.ZodString>;
|
|
2822
3096
|
id: z.ZodOptional<z.ZodString>;
|
|
2823
3097
|
}, "strip", z.ZodTypeAny, {
|
|
2824
|
-
id?: string | undefined;
|
|
2825
3098
|
query?: string | undefined;
|
|
2826
|
-
}, {
|
|
2827
3099
|
id?: string | undefined;
|
|
3100
|
+
}, {
|
|
2828
3101
|
query?: string | undefined;
|
|
3102
|
+
id?: string | undefined;
|
|
2829
3103
|
}>;
|
|
3104
|
+
metadata: {
|
|
3105
|
+
tags: string[];
|
|
3106
|
+
openApi: {
|
|
3107
|
+
operationId: string;
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
2830
3110
|
summary: "Get collaborations for autocomplete";
|
|
2831
3111
|
method: "GET";
|
|
2832
3112
|
path: "/v2/collaborations/autocomplete";
|
|
@@ -2959,10 +3239,10 @@ export declare const collaborationsContractRouter: {
|
|
|
2959
3239
|
}>;
|
|
2960
3240
|
}, "strip", z.ZodTypeAny, {
|
|
2961
3241
|
id: string;
|
|
2962
|
-
|
|
3242
|
+
company: {
|
|
2963
3243
|
name: string;
|
|
2964
3244
|
};
|
|
2965
|
-
|
|
3245
|
+
client: {
|
|
2966
3246
|
name: string;
|
|
2967
3247
|
};
|
|
2968
3248
|
user: {
|
|
@@ -2971,10 +3251,10 @@ export declare const collaborationsContractRouter: {
|
|
|
2971
3251
|
};
|
|
2972
3252
|
}, {
|
|
2973
3253
|
id: string;
|
|
2974
|
-
|
|
3254
|
+
company: {
|
|
2975
3255
|
name: string;
|
|
2976
3256
|
};
|
|
2977
|
-
|
|
3257
|
+
client: {
|
|
2978
3258
|
name: string;
|
|
2979
3259
|
};
|
|
2980
3260
|
user: {
|
|
@@ -3111,14 +3391,14 @@ export declare const collaborationsContractRouter: {
|
|
|
3111
3391
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3112
3392
|
}, "strip", z.ZodTypeAny, {
|
|
3113
3393
|
id: string;
|
|
3114
|
-
name: string;
|
|
3115
3394
|
createdAt: string;
|
|
3116
3395
|
updatedAt: string;
|
|
3396
|
+
name: string;
|
|
3117
3397
|
}, {
|
|
3118
3398
|
id: string;
|
|
3119
|
-
name: string;
|
|
3120
3399
|
createdAt: string | Date;
|
|
3121
3400
|
updatedAt: string | Date;
|
|
3401
|
+
name: string;
|
|
3122
3402
|
}>>>;
|
|
3123
3403
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3124
3404
|
id: z.ZodString;
|
|
@@ -3155,15 +3435,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3155
3435
|
agentId: string;
|
|
3156
3436
|
}>>>;
|
|
3157
3437
|
}, "strip", z.ZodTypeAny, {
|
|
3438
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3158
3439
|
id: string;
|
|
3159
|
-
|
|
3440
|
+
createdAt: string;
|
|
3441
|
+
updatedAt: string;
|
|
3160
3442
|
name: string;
|
|
3161
3443
|
crn: string | null;
|
|
3162
3444
|
govLink: string;
|
|
3163
3445
|
soleTrader: boolean;
|
|
3164
3446
|
director: string;
|
|
3165
|
-
createdAt: string;
|
|
3166
|
-
updatedAt: string;
|
|
3167
3447
|
blacklistReason?: string | null | undefined;
|
|
3168
3448
|
lastUpdatedBy?: {
|
|
3169
3449
|
id: string;
|
|
@@ -3175,15 +3455,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3175
3455
|
agentId: string;
|
|
3176
3456
|
} | null | undefined;
|
|
3177
3457
|
}, {
|
|
3458
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3178
3459
|
id: string;
|
|
3179
|
-
|
|
3460
|
+
createdAt: string | Date;
|
|
3461
|
+
updatedAt: string | Date;
|
|
3180
3462
|
name: string;
|
|
3181
3463
|
crn: string | null;
|
|
3182
3464
|
govLink: string;
|
|
3183
3465
|
soleTrader: boolean;
|
|
3184
3466
|
director: string;
|
|
3185
|
-
createdAt: string | Date;
|
|
3186
|
-
updatedAt: string | Date;
|
|
3187
3467
|
blacklistReason?: string | null | undefined;
|
|
3188
3468
|
lastUpdatedBy?: {
|
|
3189
3469
|
id: string;
|
|
@@ -3200,16 +3480,31 @@ export declare const collaborationsContractRouter: {
|
|
|
3200
3480
|
firstName: z.ZodString;
|
|
3201
3481
|
lastName: z.ZodString;
|
|
3202
3482
|
email: z.ZodString;
|
|
3483
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
3484
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
3485
|
+
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"]>>>;
|
|
3486
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3487
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3203
3488
|
}, "strip", z.ZodTypeAny, {
|
|
3204
3489
|
id: string;
|
|
3490
|
+
createdAt: string;
|
|
3491
|
+
updatedAt: string;
|
|
3205
3492
|
firstName: string;
|
|
3206
3493
|
lastName: string;
|
|
3207
3494
|
email: string;
|
|
3495
|
+
phone: string;
|
|
3496
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3497
|
+
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;
|
|
3208
3498
|
}, {
|
|
3209
3499
|
id: string;
|
|
3500
|
+
createdAt: string | Date;
|
|
3501
|
+
updatedAt: string | Date;
|
|
3210
3502
|
firstName: string;
|
|
3211
3503
|
lastName: string;
|
|
3212
3504
|
email: string;
|
|
3505
|
+
phone: string;
|
|
3506
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3507
|
+
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;
|
|
3213
3508
|
}>>>;
|
|
3214
3509
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
3215
3510
|
userId: z.ZodString;
|
|
@@ -3225,14 +3520,14 @@ export declare const collaborationsContractRouter: {
|
|
|
3225
3520
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3226
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3227
3522
|
id: string;
|
|
3228
|
-
name: string;
|
|
3229
3523
|
createdAt: string;
|
|
3230
3524
|
updatedAt: string;
|
|
3525
|
+
name: string;
|
|
3231
3526
|
}, {
|
|
3232
3527
|
id: string;
|
|
3233
|
-
name: string;
|
|
3234
3528
|
createdAt: string | Date;
|
|
3235
3529
|
updatedAt: string | Date;
|
|
3530
|
+
name: string;
|
|
3236
3531
|
}>>>;
|
|
3237
3532
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3238
3533
|
id: z.ZodString;
|
|
@@ -3269,15 +3564,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3269
3564
|
agentId: string;
|
|
3270
3565
|
}>>>;
|
|
3271
3566
|
}, "strip", z.ZodTypeAny, {
|
|
3567
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3272
3568
|
id: string;
|
|
3273
|
-
|
|
3569
|
+
createdAt: string;
|
|
3570
|
+
updatedAt: string;
|
|
3274
3571
|
name: string;
|
|
3275
3572
|
crn: string | null;
|
|
3276
3573
|
govLink: string;
|
|
3277
3574
|
soleTrader: boolean;
|
|
3278
3575
|
director: string;
|
|
3279
|
-
createdAt: string;
|
|
3280
|
-
updatedAt: string;
|
|
3281
3576
|
blacklistReason?: string | null | undefined;
|
|
3282
3577
|
lastUpdatedBy?: {
|
|
3283
3578
|
id: string;
|
|
@@ -3289,15 +3584,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3289
3584
|
agentId: string;
|
|
3290
3585
|
} | null | undefined;
|
|
3291
3586
|
}, {
|
|
3587
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3292
3588
|
id: string;
|
|
3293
|
-
|
|
3589
|
+
createdAt: string | Date;
|
|
3590
|
+
updatedAt: string | Date;
|
|
3294
3591
|
name: string;
|
|
3295
3592
|
crn: string | null;
|
|
3296
3593
|
govLink: string;
|
|
3297
3594
|
soleTrader: boolean;
|
|
3298
3595
|
director: string;
|
|
3299
|
-
createdAt: string | Date;
|
|
3300
|
-
updatedAt: string | Date;
|
|
3301
3596
|
blacklistReason?: string | null | undefined;
|
|
3302
3597
|
lastUpdatedBy?: {
|
|
3303
3598
|
id: string;
|
|
@@ -3314,37 +3609,58 @@ export declare const collaborationsContractRouter: {
|
|
|
3314
3609
|
firstName: z.ZodString;
|
|
3315
3610
|
lastName: z.ZodString;
|
|
3316
3611
|
email: z.ZodString;
|
|
3612
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
3613
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
3614
|
+
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"]>>>;
|
|
3615
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3616
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3317
3617
|
}, "strip", z.ZodTypeAny, {
|
|
3318
3618
|
id: string;
|
|
3619
|
+
createdAt: string;
|
|
3620
|
+
updatedAt: string;
|
|
3319
3621
|
firstName: string;
|
|
3320
3622
|
lastName: string;
|
|
3321
3623
|
email: string;
|
|
3624
|
+
phone: string;
|
|
3625
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3626
|
+
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;
|
|
3322
3627
|
}, {
|
|
3323
3628
|
id: string;
|
|
3629
|
+
createdAt: string | Date;
|
|
3630
|
+
updatedAt: string | Date;
|
|
3324
3631
|
firstName: string;
|
|
3325
3632
|
lastName: string;
|
|
3326
3633
|
email: string;
|
|
3634
|
+
phone: string;
|
|
3635
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3636
|
+
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;
|
|
3327
3637
|
}>>>;
|
|
3328
3638
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
3329
3639
|
userId: z.ZodString;
|
|
3330
3640
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3331
3641
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3332
3642
|
}, "strip", z.ZodTypeAny, {
|
|
3333
|
-
id: string;
|
|
3334
3643
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3644
|
+
id: string;
|
|
3335
3645
|
createdAt: string;
|
|
3336
3646
|
updatedAt: string;
|
|
3337
3647
|
userId: string;
|
|
3648
|
+
company?: {
|
|
3649
|
+
id: string;
|
|
3650
|
+
createdAt: string;
|
|
3651
|
+
updatedAt: string;
|
|
3652
|
+
name: string;
|
|
3653
|
+
} | null | undefined;
|
|
3338
3654
|
client?: {
|
|
3655
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3339
3656
|
id: string;
|
|
3340
|
-
|
|
3657
|
+
createdAt: string;
|
|
3658
|
+
updatedAt: string;
|
|
3341
3659
|
name: string;
|
|
3342
3660
|
crn: string | null;
|
|
3343
3661
|
govLink: string;
|
|
3344
3662
|
soleTrader: boolean;
|
|
3345
3663
|
director: string;
|
|
3346
|
-
createdAt: string;
|
|
3347
|
-
updatedAt: string;
|
|
3348
3664
|
blacklistReason?: string | null | undefined;
|
|
3349
3665
|
lastUpdatedBy?: {
|
|
3350
3666
|
id: string;
|
|
@@ -3356,34 +3672,39 @@ export declare const collaborationsContractRouter: {
|
|
|
3356
3672
|
agentId: string;
|
|
3357
3673
|
} | null | undefined;
|
|
3358
3674
|
} | null | undefined;
|
|
3359
|
-
|
|
3675
|
+
user?: {
|
|
3360
3676
|
id: string;
|
|
3361
|
-
name: string;
|
|
3362
3677
|
createdAt: string;
|
|
3363
3678
|
updatedAt: string;
|
|
3364
|
-
} | null | undefined;
|
|
3365
|
-
user?: {
|
|
3366
|
-
id: string;
|
|
3367
3679
|
firstName: string;
|
|
3368
3680
|
lastName: string;
|
|
3369
3681
|
email: string;
|
|
3682
|
+
phone: string;
|
|
3683
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3684
|
+
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;
|
|
3370
3685
|
} | null | undefined;
|
|
3371
3686
|
}, {
|
|
3372
|
-
id: string;
|
|
3373
3687
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3688
|
+
id: string;
|
|
3374
3689
|
createdAt: string | Date;
|
|
3375
3690
|
updatedAt: string | Date;
|
|
3376
3691
|
userId: string;
|
|
3692
|
+
company?: {
|
|
3693
|
+
id: string;
|
|
3694
|
+
createdAt: string | Date;
|
|
3695
|
+
updatedAt: string | Date;
|
|
3696
|
+
name: string;
|
|
3697
|
+
} | null | undefined;
|
|
3377
3698
|
client?: {
|
|
3699
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3378
3700
|
id: string;
|
|
3379
|
-
|
|
3701
|
+
createdAt: string | Date;
|
|
3702
|
+
updatedAt: string | Date;
|
|
3380
3703
|
name: string;
|
|
3381
3704
|
crn: string | null;
|
|
3382
3705
|
govLink: string;
|
|
3383
3706
|
soleTrader: boolean;
|
|
3384
3707
|
director: string;
|
|
3385
|
-
createdAt: string | Date;
|
|
3386
|
-
updatedAt: string | Date;
|
|
3387
3708
|
blacklistReason?: string | null | undefined;
|
|
3388
3709
|
lastUpdatedBy?: {
|
|
3389
3710
|
id: string;
|
|
@@ -3395,35 +3716,40 @@ export declare const collaborationsContractRouter: {
|
|
|
3395
3716
|
agentId: string;
|
|
3396
3717
|
} | null | undefined;
|
|
3397
3718
|
} | null | undefined;
|
|
3398
|
-
|
|
3719
|
+
user?: {
|
|
3399
3720
|
id: string;
|
|
3400
|
-
name: string;
|
|
3401
3721
|
createdAt: string | Date;
|
|
3402
3722
|
updatedAt: string | Date;
|
|
3403
|
-
} | null | undefined;
|
|
3404
|
-
user?: {
|
|
3405
|
-
id: string;
|
|
3406
3723
|
firstName: string;
|
|
3407
3724
|
lastName: string;
|
|
3408
3725
|
email: string;
|
|
3726
|
+
phone: string;
|
|
3727
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3728
|
+
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;
|
|
3409
3729
|
} | null | undefined;
|
|
3410
3730
|
}>>>;
|
|
3411
3731
|
}, "strip", z.ZodTypeAny, {
|
|
3412
|
-
id: string;
|
|
3413
3732
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3733
|
+
id: string;
|
|
3414
3734
|
createdAt: string;
|
|
3415
3735
|
updatedAt: string;
|
|
3416
3736
|
userId: string;
|
|
3737
|
+
company?: {
|
|
3738
|
+
id: string;
|
|
3739
|
+
createdAt: string;
|
|
3740
|
+
updatedAt: string;
|
|
3741
|
+
name: string;
|
|
3742
|
+
} | null | undefined;
|
|
3417
3743
|
client?: {
|
|
3744
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3418
3745
|
id: string;
|
|
3419
|
-
|
|
3746
|
+
createdAt: string;
|
|
3747
|
+
updatedAt: string;
|
|
3420
3748
|
name: string;
|
|
3421
3749
|
crn: string | null;
|
|
3422
3750
|
govLink: string;
|
|
3423
3751
|
soleTrader: boolean;
|
|
3424
3752
|
director: string;
|
|
3425
|
-
createdAt: string;
|
|
3426
|
-
updatedAt: string;
|
|
3427
3753
|
blacklistReason?: string | null | undefined;
|
|
3428
3754
|
lastUpdatedBy?: {
|
|
3429
3755
|
id: string;
|
|
@@ -3435,34 +3761,39 @@ export declare const collaborationsContractRouter: {
|
|
|
3435
3761
|
agentId: string;
|
|
3436
3762
|
} | null | undefined;
|
|
3437
3763
|
} | null | undefined;
|
|
3438
|
-
|
|
3764
|
+
user?: {
|
|
3439
3765
|
id: string;
|
|
3440
|
-
name: string;
|
|
3441
3766
|
createdAt: string;
|
|
3442
3767
|
updatedAt: string;
|
|
3443
|
-
} | null | undefined;
|
|
3444
|
-
user?: {
|
|
3445
|
-
id: string;
|
|
3446
3768
|
firstName: string;
|
|
3447
3769
|
lastName: string;
|
|
3448
3770
|
email: string;
|
|
3771
|
+
phone: string;
|
|
3772
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3773
|
+
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;
|
|
3449
3774
|
} | null | undefined;
|
|
3450
3775
|
newCollaboration?: {
|
|
3451
|
-
id: string;
|
|
3452
3776
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3777
|
+
id: string;
|
|
3453
3778
|
createdAt: string;
|
|
3454
3779
|
updatedAt: string;
|
|
3455
3780
|
userId: string;
|
|
3781
|
+
company?: {
|
|
3782
|
+
id: string;
|
|
3783
|
+
createdAt: string;
|
|
3784
|
+
updatedAt: string;
|
|
3785
|
+
name: string;
|
|
3786
|
+
} | null | undefined;
|
|
3456
3787
|
client?: {
|
|
3788
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3457
3789
|
id: string;
|
|
3458
|
-
|
|
3790
|
+
createdAt: string;
|
|
3791
|
+
updatedAt: string;
|
|
3459
3792
|
name: string;
|
|
3460
3793
|
crn: string | null;
|
|
3461
3794
|
govLink: string;
|
|
3462
3795
|
soleTrader: boolean;
|
|
3463
3796
|
director: string;
|
|
3464
|
-
createdAt: string;
|
|
3465
|
-
updatedAt: string;
|
|
3466
3797
|
blacklistReason?: string | null | undefined;
|
|
3467
3798
|
lastUpdatedBy?: {
|
|
3468
3799
|
id: string;
|
|
@@ -3474,35 +3805,40 @@ export declare const collaborationsContractRouter: {
|
|
|
3474
3805
|
agentId: string;
|
|
3475
3806
|
} | null | undefined;
|
|
3476
3807
|
} | null | undefined;
|
|
3477
|
-
|
|
3808
|
+
user?: {
|
|
3478
3809
|
id: string;
|
|
3479
|
-
name: string;
|
|
3480
3810
|
createdAt: string;
|
|
3481
3811
|
updatedAt: string;
|
|
3482
|
-
} | null | undefined;
|
|
3483
|
-
user?: {
|
|
3484
|
-
id: string;
|
|
3485
3812
|
firstName: string;
|
|
3486
3813
|
lastName: string;
|
|
3487
3814
|
email: string;
|
|
3815
|
+
phone: string;
|
|
3816
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3817
|
+
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;
|
|
3488
3818
|
} | null | undefined;
|
|
3489
3819
|
} | null | undefined;
|
|
3490
3820
|
}, {
|
|
3491
|
-
id: string;
|
|
3492
3821
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3822
|
+
id: string;
|
|
3493
3823
|
createdAt: string | Date;
|
|
3494
3824
|
updatedAt: string | Date;
|
|
3495
3825
|
userId: string;
|
|
3826
|
+
company?: {
|
|
3827
|
+
id: string;
|
|
3828
|
+
createdAt: string | Date;
|
|
3829
|
+
updatedAt: string | Date;
|
|
3830
|
+
name: string;
|
|
3831
|
+
} | null | undefined;
|
|
3496
3832
|
client?: {
|
|
3833
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3497
3834
|
id: string;
|
|
3498
|
-
|
|
3835
|
+
createdAt: string | Date;
|
|
3836
|
+
updatedAt: string | Date;
|
|
3499
3837
|
name: string;
|
|
3500
3838
|
crn: string | null;
|
|
3501
3839
|
govLink: string;
|
|
3502
3840
|
soleTrader: boolean;
|
|
3503
3841
|
director: string;
|
|
3504
|
-
createdAt: string | Date;
|
|
3505
|
-
updatedAt: string | Date;
|
|
3506
3842
|
blacklistReason?: string | null | undefined;
|
|
3507
3843
|
lastUpdatedBy?: {
|
|
3508
3844
|
id: string;
|
|
@@ -3514,34 +3850,39 @@ export declare const collaborationsContractRouter: {
|
|
|
3514
3850
|
agentId: string;
|
|
3515
3851
|
} | null | undefined;
|
|
3516
3852
|
} | null | undefined;
|
|
3517
|
-
|
|
3853
|
+
user?: {
|
|
3518
3854
|
id: string;
|
|
3519
|
-
name: string;
|
|
3520
3855
|
createdAt: string | Date;
|
|
3521
3856
|
updatedAt: string | Date;
|
|
3522
|
-
} | null | undefined;
|
|
3523
|
-
user?: {
|
|
3524
|
-
id: string;
|
|
3525
3857
|
firstName: string;
|
|
3526
3858
|
lastName: string;
|
|
3527
3859
|
email: string;
|
|
3860
|
+
phone: string;
|
|
3861
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3862
|
+
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;
|
|
3528
3863
|
} | null | undefined;
|
|
3529
3864
|
newCollaboration?: {
|
|
3530
|
-
id: string;
|
|
3531
3865
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3866
|
+
id: string;
|
|
3532
3867
|
createdAt: string | Date;
|
|
3533
3868
|
updatedAt: string | Date;
|
|
3534
3869
|
userId: string;
|
|
3870
|
+
company?: {
|
|
3871
|
+
id: string;
|
|
3872
|
+
createdAt: string | Date;
|
|
3873
|
+
updatedAt: string | Date;
|
|
3874
|
+
name: string;
|
|
3875
|
+
} | null | undefined;
|
|
3535
3876
|
client?: {
|
|
3877
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3536
3878
|
id: string;
|
|
3537
|
-
|
|
3879
|
+
createdAt: string | Date;
|
|
3880
|
+
updatedAt: string | Date;
|
|
3538
3881
|
name: string;
|
|
3539
3882
|
crn: string | null;
|
|
3540
3883
|
govLink: string;
|
|
3541
3884
|
soleTrader: boolean;
|
|
3542
3885
|
director: string;
|
|
3543
|
-
createdAt: string | Date;
|
|
3544
|
-
updatedAt: string | Date;
|
|
3545
3886
|
blacklistReason?: string | null | undefined;
|
|
3546
3887
|
lastUpdatedBy?: {
|
|
3547
3888
|
id: string;
|
|
@@ -3553,17 +3894,16 @@ export declare const collaborationsContractRouter: {
|
|
|
3553
3894
|
agentId: string;
|
|
3554
3895
|
} | null | undefined;
|
|
3555
3896
|
} | null | undefined;
|
|
3556
|
-
|
|
3897
|
+
user?: {
|
|
3557
3898
|
id: string;
|
|
3558
|
-
name: string;
|
|
3559
3899
|
createdAt: string | Date;
|
|
3560
3900
|
updatedAt: string | Date;
|
|
3561
|
-
} | null | undefined;
|
|
3562
|
-
user?: {
|
|
3563
|
-
id: string;
|
|
3564
3901
|
firstName: string;
|
|
3565
3902
|
lastName: string;
|
|
3566
3903
|
email: string;
|
|
3904
|
+
phone: string;
|
|
3905
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
3906
|
+
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;
|
|
3567
3907
|
} | null | undefined;
|
|
3568
3908
|
} | null | undefined;
|
|
3569
3909
|
}>;
|
|
@@ -3728,14 +4068,14 @@ export declare const collaborationsContractRouter: {
|
|
|
3728
4068
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3729
4069
|
}, "strip", z.ZodTypeAny, {
|
|
3730
4070
|
id: string;
|
|
3731
|
-
name: string;
|
|
3732
4071
|
createdAt: string;
|
|
3733
4072
|
updatedAt: string;
|
|
4073
|
+
name: string;
|
|
3734
4074
|
}, {
|
|
3735
4075
|
id: string;
|
|
3736
|
-
name: string;
|
|
3737
4076
|
createdAt: string | Date;
|
|
3738
4077
|
updatedAt: string | Date;
|
|
4078
|
+
name: string;
|
|
3739
4079
|
}>>>;
|
|
3740
4080
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3741
4081
|
id: z.ZodString;
|
|
@@ -3772,15 +4112,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3772
4112
|
agentId: string;
|
|
3773
4113
|
}>>>;
|
|
3774
4114
|
}, "strip", z.ZodTypeAny, {
|
|
4115
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3775
4116
|
id: string;
|
|
3776
|
-
|
|
4117
|
+
createdAt: string;
|
|
4118
|
+
updatedAt: string;
|
|
3777
4119
|
name: string;
|
|
3778
4120
|
crn: string | null;
|
|
3779
4121
|
govLink: string;
|
|
3780
4122
|
soleTrader: boolean;
|
|
3781
4123
|
director: string;
|
|
3782
|
-
createdAt: string;
|
|
3783
|
-
updatedAt: string;
|
|
3784
4124
|
blacklistReason?: string | null | undefined;
|
|
3785
4125
|
lastUpdatedBy?: {
|
|
3786
4126
|
id: string;
|
|
@@ -3792,15 +4132,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3792
4132
|
agentId: string;
|
|
3793
4133
|
} | null | undefined;
|
|
3794
4134
|
}, {
|
|
4135
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3795
4136
|
id: string;
|
|
3796
|
-
|
|
4137
|
+
createdAt: string | Date;
|
|
4138
|
+
updatedAt: string | Date;
|
|
3797
4139
|
name: string;
|
|
3798
4140
|
crn: string | null;
|
|
3799
4141
|
govLink: string;
|
|
3800
4142
|
soleTrader: boolean;
|
|
3801
4143
|
director: string;
|
|
3802
|
-
createdAt: string | Date;
|
|
3803
|
-
updatedAt: string | Date;
|
|
3804
4144
|
blacklistReason?: string | null | undefined;
|
|
3805
4145
|
lastUpdatedBy?: {
|
|
3806
4146
|
id: string;
|
|
@@ -3817,16 +4157,31 @@ export declare const collaborationsContractRouter: {
|
|
|
3817
4157
|
firstName: z.ZodString;
|
|
3818
4158
|
lastName: z.ZodString;
|
|
3819
4159
|
email: z.ZodString;
|
|
4160
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
4161
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
4162
|
+
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"]>>>;
|
|
4163
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4164
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3820
4165
|
}, "strip", z.ZodTypeAny, {
|
|
3821
4166
|
id: string;
|
|
4167
|
+
createdAt: string;
|
|
4168
|
+
updatedAt: string;
|
|
3822
4169
|
firstName: string;
|
|
3823
4170
|
lastName: string;
|
|
3824
4171
|
email: string;
|
|
4172
|
+
phone: string;
|
|
4173
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4174
|
+
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;
|
|
3825
4175
|
}, {
|
|
3826
4176
|
id: string;
|
|
4177
|
+
createdAt: string | Date;
|
|
4178
|
+
updatedAt: string | Date;
|
|
3827
4179
|
firstName: string;
|
|
3828
4180
|
lastName: string;
|
|
3829
4181
|
email: string;
|
|
4182
|
+
phone: string;
|
|
4183
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4184
|
+
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;
|
|
3830
4185
|
}>>>;
|
|
3831
4186
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
3832
4187
|
userId: z.ZodString;
|
|
@@ -3842,14 +4197,14 @@ export declare const collaborationsContractRouter: {
|
|
|
3842
4197
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3843
4198
|
}, "strip", z.ZodTypeAny, {
|
|
3844
4199
|
id: string;
|
|
3845
|
-
name: string;
|
|
3846
4200
|
createdAt: string;
|
|
3847
4201
|
updatedAt: string;
|
|
4202
|
+
name: string;
|
|
3848
4203
|
}, {
|
|
3849
4204
|
id: string;
|
|
3850
|
-
name: string;
|
|
3851
4205
|
createdAt: string | Date;
|
|
3852
4206
|
updatedAt: string | Date;
|
|
4207
|
+
name: string;
|
|
3853
4208
|
}>>>;
|
|
3854
4209
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3855
4210
|
id: z.ZodString;
|
|
@@ -3886,15 +4241,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3886
4241
|
agentId: string;
|
|
3887
4242
|
}>>>;
|
|
3888
4243
|
}, "strip", z.ZodTypeAny, {
|
|
4244
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3889
4245
|
id: string;
|
|
3890
|
-
|
|
4246
|
+
createdAt: string;
|
|
4247
|
+
updatedAt: string;
|
|
3891
4248
|
name: string;
|
|
3892
4249
|
crn: string | null;
|
|
3893
4250
|
govLink: string;
|
|
3894
4251
|
soleTrader: boolean;
|
|
3895
4252
|
director: string;
|
|
3896
|
-
createdAt: string;
|
|
3897
|
-
updatedAt: string;
|
|
3898
4253
|
blacklistReason?: string | null | undefined;
|
|
3899
4254
|
lastUpdatedBy?: {
|
|
3900
4255
|
id: string;
|
|
@@ -3906,15 +4261,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3906
4261
|
agentId: string;
|
|
3907
4262
|
} | null | undefined;
|
|
3908
4263
|
}, {
|
|
4264
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3909
4265
|
id: string;
|
|
3910
|
-
|
|
4266
|
+
createdAt: string | Date;
|
|
4267
|
+
updatedAt: string | Date;
|
|
3911
4268
|
name: string;
|
|
3912
4269
|
crn: string | null;
|
|
3913
4270
|
govLink: string;
|
|
3914
4271
|
soleTrader: boolean;
|
|
3915
4272
|
director: string;
|
|
3916
|
-
createdAt: string | Date;
|
|
3917
|
-
updatedAt: string | Date;
|
|
3918
4273
|
blacklistReason?: string | null | undefined;
|
|
3919
4274
|
lastUpdatedBy?: {
|
|
3920
4275
|
id: string;
|
|
@@ -3931,37 +4286,58 @@ export declare const collaborationsContractRouter: {
|
|
|
3931
4286
|
firstName: z.ZodString;
|
|
3932
4287
|
lastName: z.ZodString;
|
|
3933
4288
|
email: z.ZodString;
|
|
4289
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
4290
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
4291
|
+
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"]>>>;
|
|
4292
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4293
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3934
4294
|
}, "strip", z.ZodTypeAny, {
|
|
3935
4295
|
id: string;
|
|
4296
|
+
createdAt: string;
|
|
4297
|
+
updatedAt: string;
|
|
3936
4298
|
firstName: string;
|
|
3937
4299
|
lastName: string;
|
|
3938
4300
|
email: string;
|
|
4301
|
+
phone: string;
|
|
4302
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4303
|
+
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;
|
|
3939
4304
|
}, {
|
|
3940
4305
|
id: string;
|
|
4306
|
+
createdAt: string | Date;
|
|
4307
|
+
updatedAt: string | Date;
|
|
3941
4308
|
firstName: string;
|
|
3942
4309
|
lastName: string;
|
|
3943
4310
|
email: string;
|
|
4311
|
+
phone: string;
|
|
4312
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4313
|
+
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;
|
|
3944
4314
|
}>>>;
|
|
3945
4315
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
3946
4316
|
userId: z.ZodString;
|
|
3947
4317
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3948
4318
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3949
4319
|
}, "strip", z.ZodTypeAny, {
|
|
3950
|
-
id: string;
|
|
3951
4320
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4321
|
+
id: string;
|
|
3952
4322
|
createdAt: string;
|
|
3953
4323
|
updatedAt: string;
|
|
3954
4324
|
userId: string;
|
|
4325
|
+
company?: {
|
|
4326
|
+
id: string;
|
|
4327
|
+
createdAt: string;
|
|
4328
|
+
updatedAt: string;
|
|
4329
|
+
name: string;
|
|
4330
|
+
} | null | undefined;
|
|
3955
4331
|
client?: {
|
|
4332
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3956
4333
|
id: string;
|
|
3957
|
-
|
|
4334
|
+
createdAt: string;
|
|
4335
|
+
updatedAt: string;
|
|
3958
4336
|
name: string;
|
|
3959
4337
|
crn: string | null;
|
|
3960
4338
|
govLink: string;
|
|
3961
4339
|
soleTrader: boolean;
|
|
3962
4340
|
director: string;
|
|
3963
|
-
createdAt: string;
|
|
3964
|
-
updatedAt: string;
|
|
3965
4341
|
blacklistReason?: string | null | undefined;
|
|
3966
4342
|
lastUpdatedBy?: {
|
|
3967
4343
|
id: string;
|
|
@@ -3973,34 +4349,39 @@ export declare const collaborationsContractRouter: {
|
|
|
3973
4349
|
agentId: string;
|
|
3974
4350
|
} | null | undefined;
|
|
3975
4351
|
} | null | undefined;
|
|
3976
|
-
|
|
4352
|
+
user?: {
|
|
3977
4353
|
id: string;
|
|
3978
|
-
name: string;
|
|
3979
4354
|
createdAt: string;
|
|
3980
4355
|
updatedAt: string;
|
|
3981
|
-
} | null | undefined;
|
|
3982
|
-
user?: {
|
|
3983
|
-
id: string;
|
|
3984
4356
|
firstName: string;
|
|
3985
4357
|
lastName: string;
|
|
3986
4358
|
email: string;
|
|
4359
|
+
phone: string;
|
|
4360
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4361
|
+
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;
|
|
3987
4362
|
} | null | undefined;
|
|
3988
4363
|
}, {
|
|
3989
|
-
id: string;
|
|
3990
4364
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4365
|
+
id: string;
|
|
3991
4366
|
createdAt: string | Date;
|
|
3992
4367
|
updatedAt: string | Date;
|
|
3993
4368
|
userId: string;
|
|
4369
|
+
company?: {
|
|
4370
|
+
id: string;
|
|
4371
|
+
createdAt: string | Date;
|
|
4372
|
+
updatedAt: string | Date;
|
|
4373
|
+
name: string;
|
|
4374
|
+
} | null | undefined;
|
|
3994
4375
|
client?: {
|
|
4376
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
3995
4377
|
id: string;
|
|
3996
|
-
|
|
4378
|
+
createdAt: string | Date;
|
|
4379
|
+
updatedAt: string | Date;
|
|
3997
4380
|
name: string;
|
|
3998
4381
|
crn: string | null;
|
|
3999
4382
|
govLink: string;
|
|
4000
4383
|
soleTrader: boolean;
|
|
4001
4384
|
director: string;
|
|
4002
|
-
createdAt: string | Date;
|
|
4003
|
-
updatedAt: string | Date;
|
|
4004
4385
|
blacklistReason?: string | null | undefined;
|
|
4005
4386
|
lastUpdatedBy?: {
|
|
4006
4387
|
id: string;
|
|
@@ -4012,35 +4393,40 @@ export declare const collaborationsContractRouter: {
|
|
|
4012
4393
|
agentId: string;
|
|
4013
4394
|
} | null | undefined;
|
|
4014
4395
|
} | null | undefined;
|
|
4015
|
-
|
|
4396
|
+
user?: {
|
|
4016
4397
|
id: string;
|
|
4017
|
-
name: string;
|
|
4018
4398
|
createdAt: string | Date;
|
|
4019
4399
|
updatedAt: string | Date;
|
|
4020
|
-
} | null | undefined;
|
|
4021
|
-
user?: {
|
|
4022
|
-
id: string;
|
|
4023
4400
|
firstName: string;
|
|
4024
4401
|
lastName: string;
|
|
4025
4402
|
email: string;
|
|
4403
|
+
phone: string;
|
|
4404
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4405
|
+
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;
|
|
4026
4406
|
} | null | undefined;
|
|
4027
4407
|
}>>>;
|
|
4028
4408
|
}, "strip", z.ZodTypeAny, {
|
|
4029
|
-
id: string;
|
|
4030
4409
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4410
|
+
id: string;
|
|
4031
4411
|
createdAt: string;
|
|
4032
4412
|
updatedAt: string;
|
|
4033
4413
|
userId: string;
|
|
4414
|
+
company?: {
|
|
4415
|
+
id: string;
|
|
4416
|
+
createdAt: string;
|
|
4417
|
+
updatedAt: string;
|
|
4418
|
+
name: string;
|
|
4419
|
+
} | null | undefined;
|
|
4034
4420
|
client?: {
|
|
4421
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4035
4422
|
id: string;
|
|
4036
|
-
|
|
4423
|
+
createdAt: string;
|
|
4424
|
+
updatedAt: string;
|
|
4037
4425
|
name: string;
|
|
4038
4426
|
crn: string | null;
|
|
4039
4427
|
govLink: string;
|
|
4040
4428
|
soleTrader: boolean;
|
|
4041
4429
|
director: string;
|
|
4042
|
-
createdAt: string;
|
|
4043
|
-
updatedAt: string;
|
|
4044
4430
|
blacklistReason?: string | null | undefined;
|
|
4045
4431
|
lastUpdatedBy?: {
|
|
4046
4432
|
id: string;
|
|
@@ -4052,34 +4438,39 @@ export declare const collaborationsContractRouter: {
|
|
|
4052
4438
|
agentId: string;
|
|
4053
4439
|
} | null | undefined;
|
|
4054
4440
|
} | null | undefined;
|
|
4055
|
-
|
|
4441
|
+
user?: {
|
|
4056
4442
|
id: string;
|
|
4057
|
-
name: string;
|
|
4058
4443
|
createdAt: string;
|
|
4059
4444
|
updatedAt: string;
|
|
4060
|
-
} | null | undefined;
|
|
4061
|
-
user?: {
|
|
4062
|
-
id: string;
|
|
4063
4445
|
firstName: string;
|
|
4064
4446
|
lastName: string;
|
|
4065
4447
|
email: string;
|
|
4448
|
+
phone: string;
|
|
4449
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4450
|
+
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;
|
|
4066
4451
|
} | null | undefined;
|
|
4067
4452
|
newCollaboration?: {
|
|
4068
|
-
id: string;
|
|
4069
4453
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4454
|
+
id: string;
|
|
4070
4455
|
createdAt: string;
|
|
4071
4456
|
updatedAt: string;
|
|
4072
4457
|
userId: string;
|
|
4458
|
+
company?: {
|
|
4459
|
+
id: string;
|
|
4460
|
+
createdAt: string;
|
|
4461
|
+
updatedAt: string;
|
|
4462
|
+
name: string;
|
|
4463
|
+
} | null | undefined;
|
|
4073
4464
|
client?: {
|
|
4465
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4074
4466
|
id: string;
|
|
4075
|
-
|
|
4467
|
+
createdAt: string;
|
|
4468
|
+
updatedAt: string;
|
|
4076
4469
|
name: string;
|
|
4077
4470
|
crn: string | null;
|
|
4078
4471
|
govLink: string;
|
|
4079
4472
|
soleTrader: boolean;
|
|
4080
4473
|
director: string;
|
|
4081
|
-
createdAt: string;
|
|
4082
|
-
updatedAt: string;
|
|
4083
4474
|
blacklistReason?: string | null | undefined;
|
|
4084
4475
|
lastUpdatedBy?: {
|
|
4085
4476
|
id: string;
|
|
@@ -4091,35 +4482,40 @@ export declare const collaborationsContractRouter: {
|
|
|
4091
4482
|
agentId: string;
|
|
4092
4483
|
} | null | undefined;
|
|
4093
4484
|
} | null | undefined;
|
|
4094
|
-
|
|
4485
|
+
user?: {
|
|
4095
4486
|
id: string;
|
|
4096
|
-
name: string;
|
|
4097
4487
|
createdAt: string;
|
|
4098
4488
|
updatedAt: string;
|
|
4099
|
-
} | null | undefined;
|
|
4100
|
-
user?: {
|
|
4101
|
-
id: string;
|
|
4102
4489
|
firstName: string;
|
|
4103
4490
|
lastName: string;
|
|
4104
4491
|
email: string;
|
|
4492
|
+
phone: string;
|
|
4493
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4494
|
+
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;
|
|
4105
4495
|
} | null | undefined;
|
|
4106
4496
|
} | null | undefined;
|
|
4107
4497
|
}, {
|
|
4108
|
-
id: string;
|
|
4109
4498
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4499
|
+
id: string;
|
|
4110
4500
|
createdAt: string | Date;
|
|
4111
4501
|
updatedAt: string | Date;
|
|
4112
4502
|
userId: string;
|
|
4503
|
+
company?: {
|
|
4504
|
+
id: string;
|
|
4505
|
+
createdAt: string | Date;
|
|
4506
|
+
updatedAt: string | Date;
|
|
4507
|
+
name: string;
|
|
4508
|
+
} | null | undefined;
|
|
4113
4509
|
client?: {
|
|
4510
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4114
4511
|
id: string;
|
|
4115
|
-
|
|
4512
|
+
createdAt: string | Date;
|
|
4513
|
+
updatedAt: string | Date;
|
|
4116
4514
|
name: string;
|
|
4117
4515
|
crn: string | null;
|
|
4118
4516
|
govLink: string;
|
|
4119
4517
|
soleTrader: boolean;
|
|
4120
4518
|
director: string;
|
|
4121
|
-
createdAt: string | Date;
|
|
4122
|
-
updatedAt: string | Date;
|
|
4123
4519
|
blacklistReason?: string | null | undefined;
|
|
4124
4520
|
lastUpdatedBy?: {
|
|
4125
4521
|
id: string;
|
|
@@ -4131,34 +4527,39 @@ export declare const collaborationsContractRouter: {
|
|
|
4131
4527
|
agentId: string;
|
|
4132
4528
|
} | null | undefined;
|
|
4133
4529
|
} | null | undefined;
|
|
4134
|
-
|
|
4530
|
+
user?: {
|
|
4135
4531
|
id: string;
|
|
4136
|
-
name: string;
|
|
4137
4532
|
createdAt: string | Date;
|
|
4138
4533
|
updatedAt: string | Date;
|
|
4139
|
-
} | null | undefined;
|
|
4140
|
-
user?: {
|
|
4141
|
-
id: string;
|
|
4142
4534
|
firstName: string;
|
|
4143
4535
|
lastName: string;
|
|
4144
4536
|
email: string;
|
|
4537
|
+
phone: string;
|
|
4538
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4539
|
+
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;
|
|
4145
4540
|
} | null | undefined;
|
|
4146
4541
|
newCollaboration?: {
|
|
4147
|
-
id: string;
|
|
4148
4542
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4543
|
+
id: string;
|
|
4149
4544
|
createdAt: string | Date;
|
|
4150
4545
|
updatedAt: string | Date;
|
|
4151
4546
|
userId: string;
|
|
4547
|
+
company?: {
|
|
4548
|
+
id: string;
|
|
4549
|
+
createdAt: string | Date;
|
|
4550
|
+
updatedAt: string | Date;
|
|
4551
|
+
name: string;
|
|
4552
|
+
} | null | undefined;
|
|
4152
4553
|
client?: {
|
|
4554
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4153
4555
|
id: string;
|
|
4154
|
-
|
|
4556
|
+
createdAt: string | Date;
|
|
4557
|
+
updatedAt: string | Date;
|
|
4155
4558
|
name: string;
|
|
4156
4559
|
crn: string | null;
|
|
4157
4560
|
govLink: string;
|
|
4158
4561
|
soleTrader: boolean;
|
|
4159
4562
|
director: string;
|
|
4160
|
-
createdAt: string | Date;
|
|
4161
|
-
updatedAt: string | Date;
|
|
4162
4563
|
blacklistReason?: string | null | undefined;
|
|
4163
4564
|
lastUpdatedBy?: {
|
|
4164
4565
|
id: string;
|
|
@@ -4170,17 +4571,16 @@ export declare const collaborationsContractRouter: {
|
|
|
4170
4571
|
agentId: string;
|
|
4171
4572
|
} | null | undefined;
|
|
4172
4573
|
} | null | undefined;
|
|
4173
|
-
|
|
4574
|
+
user?: {
|
|
4174
4575
|
id: string;
|
|
4175
|
-
name: string;
|
|
4176
4576
|
createdAt: string | Date;
|
|
4177
4577
|
updatedAt: string | Date;
|
|
4178
|
-
} | null | undefined;
|
|
4179
|
-
user?: {
|
|
4180
|
-
id: string;
|
|
4181
4578
|
firstName: string;
|
|
4182
4579
|
lastName: string;
|
|
4183
4580
|
email: string;
|
|
4581
|
+
phone: string;
|
|
4582
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
4583
|
+
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;
|
|
4184
4584
|
} | null | undefined;
|
|
4185
4585
|
} | null | undefined;
|
|
4186
4586
|
}>;
|
|
@@ -4416,10 +4816,10 @@ export declare const collaborationsContractRouter: {
|
|
|
4416
4816
|
}>>;
|
|
4417
4817
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
4418
4818
|
}, "strip", z.ZodTypeAny, {
|
|
4419
|
-
|
|
4819
|
+
company: {
|
|
4420
4820
|
id: string;
|
|
4421
4821
|
};
|
|
4422
|
-
|
|
4822
|
+
client: {
|
|
4423
4823
|
id: string;
|
|
4424
4824
|
};
|
|
4425
4825
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -4427,10 +4827,10 @@ export declare const collaborationsContractRouter: {
|
|
|
4427
4827
|
id: string;
|
|
4428
4828
|
} | undefined;
|
|
4429
4829
|
}, {
|
|
4430
|
-
|
|
4830
|
+
company: {
|
|
4431
4831
|
id: string;
|
|
4432
4832
|
};
|
|
4433
|
-
|
|
4833
|
+
client: {
|
|
4434
4834
|
id: string;
|
|
4435
4835
|
};
|
|
4436
4836
|
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
@@ -4549,14 +4949,14 @@ export declare const collaborationsContractRouter: {
|
|
|
4549
4949
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4550
4950
|
}, "strip", z.ZodTypeAny, {
|
|
4551
4951
|
id: string;
|
|
4552
|
-
name: string;
|
|
4553
4952
|
createdAt: string;
|
|
4554
4953
|
updatedAt: string;
|
|
4954
|
+
name: string;
|
|
4555
4955
|
}, {
|
|
4556
4956
|
id: string;
|
|
4557
|
-
name: string;
|
|
4558
4957
|
createdAt: string | Date;
|
|
4559
4958
|
updatedAt: string | Date;
|
|
4959
|
+
name: string;
|
|
4560
4960
|
}>>>;
|
|
4561
4961
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4562
4962
|
id: z.ZodString;
|
|
@@ -4593,15 +4993,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4593
4993
|
agentId: string;
|
|
4594
4994
|
}>>>;
|
|
4595
4995
|
}, "strip", z.ZodTypeAny, {
|
|
4996
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4596
4997
|
id: string;
|
|
4597
|
-
|
|
4998
|
+
createdAt: string;
|
|
4999
|
+
updatedAt: string;
|
|
4598
5000
|
name: string;
|
|
4599
5001
|
crn: string | null;
|
|
4600
5002
|
govLink: string;
|
|
4601
5003
|
soleTrader: boolean;
|
|
4602
5004
|
director: string;
|
|
4603
|
-
createdAt: string;
|
|
4604
|
-
updatedAt: string;
|
|
4605
5005
|
blacklistReason?: string | null | undefined;
|
|
4606
5006
|
lastUpdatedBy?: {
|
|
4607
5007
|
id: string;
|
|
@@ -4613,15 +5013,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4613
5013
|
agentId: string;
|
|
4614
5014
|
} | null | undefined;
|
|
4615
5015
|
}, {
|
|
5016
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4616
5017
|
id: string;
|
|
4617
|
-
|
|
5018
|
+
createdAt: string | Date;
|
|
5019
|
+
updatedAt: string | Date;
|
|
4618
5020
|
name: string;
|
|
4619
5021
|
crn: string | null;
|
|
4620
5022
|
govLink: string;
|
|
4621
5023
|
soleTrader: boolean;
|
|
4622
5024
|
director: string;
|
|
4623
|
-
createdAt: string | Date;
|
|
4624
|
-
updatedAt: string | Date;
|
|
4625
5025
|
blacklistReason?: string | null | undefined;
|
|
4626
5026
|
lastUpdatedBy?: {
|
|
4627
5027
|
id: string;
|
|
@@ -4638,16 +5038,31 @@ export declare const collaborationsContractRouter: {
|
|
|
4638
5038
|
firstName: z.ZodString;
|
|
4639
5039
|
lastName: z.ZodString;
|
|
4640
5040
|
email: z.ZodString;
|
|
5041
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
5042
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
5043
|
+
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"]>>>;
|
|
5044
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5045
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4641
5046
|
}, "strip", z.ZodTypeAny, {
|
|
4642
5047
|
id: string;
|
|
5048
|
+
createdAt: string;
|
|
5049
|
+
updatedAt: string;
|
|
4643
5050
|
firstName: string;
|
|
4644
5051
|
lastName: string;
|
|
4645
5052
|
email: string;
|
|
5053
|
+
phone: string;
|
|
5054
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5055
|
+
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;
|
|
4646
5056
|
}, {
|
|
4647
5057
|
id: string;
|
|
5058
|
+
createdAt: string | Date;
|
|
5059
|
+
updatedAt: string | Date;
|
|
4648
5060
|
firstName: string;
|
|
4649
5061
|
lastName: string;
|
|
4650
5062
|
email: string;
|
|
5063
|
+
phone: string;
|
|
5064
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5065
|
+
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;
|
|
4651
5066
|
}>>>;
|
|
4652
5067
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
4653
5068
|
userId: z.ZodString;
|
|
@@ -4663,14 +5078,14 @@ export declare const collaborationsContractRouter: {
|
|
|
4663
5078
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4664
5079
|
}, "strip", z.ZodTypeAny, {
|
|
4665
5080
|
id: string;
|
|
4666
|
-
name: string;
|
|
4667
5081
|
createdAt: string;
|
|
4668
5082
|
updatedAt: string;
|
|
5083
|
+
name: string;
|
|
4669
5084
|
}, {
|
|
4670
5085
|
id: string;
|
|
4671
|
-
name: string;
|
|
4672
5086
|
createdAt: string | Date;
|
|
4673
5087
|
updatedAt: string | Date;
|
|
5088
|
+
name: string;
|
|
4674
5089
|
}>>>;
|
|
4675
5090
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4676
5091
|
id: z.ZodString;
|
|
@@ -4707,15 +5122,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4707
5122
|
agentId: string;
|
|
4708
5123
|
}>>>;
|
|
4709
5124
|
}, "strip", z.ZodTypeAny, {
|
|
5125
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4710
5126
|
id: string;
|
|
4711
|
-
|
|
5127
|
+
createdAt: string;
|
|
5128
|
+
updatedAt: string;
|
|
4712
5129
|
name: string;
|
|
4713
5130
|
crn: string | null;
|
|
4714
5131
|
govLink: string;
|
|
4715
5132
|
soleTrader: boolean;
|
|
4716
5133
|
director: string;
|
|
4717
|
-
createdAt: string;
|
|
4718
|
-
updatedAt: string;
|
|
4719
5134
|
blacklistReason?: string | null | undefined;
|
|
4720
5135
|
lastUpdatedBy?: {
|
|
4721
5136
|
id: string;
|
|
@@ -4727,15 +5142,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4727
5142
|
agentId: string;
|
|
4728
5143
|
} | null | undefined;
|
|
4729
5144
|
}, {
|
|
5145
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4730
5146
|
id: string;
|
|
4731
|
-
|
|
5147
|
+
createdAt: string | Date;
|
|
5148
|
+
updatedAt: string | Date;
|
|
4732
5149
|
name: string;
|
|
4733
5150
|
crn: string | null;
|
|
4734
5151
|
govLink: string;
|
|
4735
5152
|
soleTrader: boolean;
|
|
4736
5153
|
director: string;
|
|
4737
|
-
createdAt: string | Date;
|
|
4738
|
-
updatedAt: string | Date;
|
|
4739
5154
|
blacklistReason?: string | null | undefined;
|
|
4740
5155
|
lastUpdatedBy?: {
|
|
4741
5156
|
id: string;
|
|
@@ -4752,37 +5167,58 @@ export declare const collaborationsContractRouter: {
|
|
|
4752
5167
|
firstName: z.ZodString;
|
|
4753
5168
|
lastName: z.ZodString;
|
|
4754
5169
|
email: z.ZodString;
|
|
5170
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
5171
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
5172
|
+
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"]>>>;
|
|
5173
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5174
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4755
5175
|
}, "strip", z.ZodTypeAny, {
|
|
4756
5176
|
id: string;
|
|
5177
|
+
createdAt: string;
|
|
5178
|
+
updatedAt: string;
|
|
4757
5179
|
firstName: string;
|
|
4758
5180
|
lastName: string;
|
|
4759
5181
|
email: string;
|
|
5182
|
+
phone: string;
|
|
5183
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5184
|
+
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;
|
|
4760
5185
|
}, {
|
|
4761
5186
|
id: string;
|
|
5187
|
+
createdAt: string | Date;
|
|
5188
|
+
updatedAt: string | Date;
|
|
4762
5189
|
firstName: string;
|
|
4763
5190
|
lastName: string;
|
|
4764
5191
|
email: string;
|
|
5192
|
+
phone: string;
|
|
5193
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5194
|
+
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;
|
|
4765
5195
|
}>>>;
|
|
4766
5196
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>;
|
|
4767
5197
|
userId: z.ZodString;
|
|
4768
5198
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4769
5199
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4770
5200
|
}, "strip", z.ZodTypeAny, {
|
|
4771
|
-
id: string;
|
|
4772
5201
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5202
|
+
id: string;
|
|
4773
5203
|
createdAt: string;
|
|
4774
5204
|
updatedAt: string;
|
|
4775
5205
|
userId: string;
|
|
5206
|
+
company?: {
|
|
5207
|
+
id: string;
|
|
5208
|
+
createdAt: string;
|
|
5209
|
+
updatedAt: string;
|
|
5210
|
+
name: string;
|
|
5211
|
+
} | null | undefined;
|
|
4776
5212
|
client?: {
|
|
5213
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4777
5214
|
id: string;
|
|
4778
|
-
|
|
5215
|
+
createdAt: string;
|
|
5216
|
+
updatedAt: string;
|
|
4779
5217
|
name: string;
|
|
4780
5218
|
crn: string | null;
|
|
4781
5219
|
govLink: string;
|
|
4782
5220
|
soleTrader: boolean;
|
|
4783
5221
|
director: string;
|
|
4784
|
-
createdAt: string;
|
|
4785
|
-
updatedAt: string;
|
|
4786
5222
|
blacklistReason?: string | null | undefined;
|
|
4787
5223
|
lastUpdatedBy?: {
|
|
4788
5224
|
id: string;
|
|
@@ -4794,34 +5230,39 @@ export declare const collaborationsContractRouter: {
|
|
|
4794
5230
|
agentId: string;
|
|
4795
5231
|
} | null | undefined;
|
|
4796
5232
|
} | null | undefined;
|
|
4797
|
-
|
|
5233
|
+
user?: {
|
|
4798
5234
|
id: string;
|
|
4799
|
-
name: string;
|
|
4800
5235
|
createdAt: string;
|
|
4801
5236
|
updatedAt: string;
|
|
4802
|
-
} | null | undefined;
|
|
4803
|
-
user?: {
|
|
4804
|
-
id: string;
|
|
4805
5237
|
firstName: string;
|
|
4806
5238
|
lastName: string;
|
|
4807
5239
|
email: string;
|
|
5240
|
+
phone: string;
|
|
5241
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5242
|
+
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;
|
|
4808
5243
|
} | null | undefined;
|
|
4809
5244
|
}, {
|
|
4810
|
-
id: string;
|
|
4811
5245
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5246
|
+
id: string;
|
|
4812
5247
|
createdAt: string | Date;
|
|
4813
5248
|
updatedAt: string | Date;
|
|
4814
5249
|
userId: string;
|
|
5250
|
+
company?: {
|
|
5251
|
+
id: string;
|
|
5252
|
+
createdAt: string | Date;
|
|
5253
|
+
updatedAt: string | Date;
|
|
5254
|
+
name: string;
|
|
5255
|
+
} | null | undefined;
|
|
4815
5256
|
client?: {
|
|
5257
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4816
5258
|
id: string;
|
|
4817
|
-
|
|
5259
|
+
createdAt: string | Date;
|
|
5260
|
+
updatedAt: string | Date;
|
|
4818
5261
|
name: string;
|
|
4819
5262
|
crn: string | null;
|
|
4820
5263
|
govLink: string;
|
|
4821
5264
|
soleTrader: boolean;
|
|
4822
5265
|
director: string;
|
|
4823
|
-
createdAt: string | Date;
|
|
4824
|
-
updatedAt: string | Date;
|
|
4825
5266
|
blacklistReason?: string | null | undefined;
|
|
4826
5267
|
lastUpdatedBy?: {
|
|
4827
5268
|
id: string;
|
|
@@ -4833,35 +5274,40 @@ export declare const collaborationsContractRouter: {
|
|
|
4833
5274
|
agentId: string;
|
|
4834
5275
|
} | null | undefined;
|
|
4835
5276
|
} | null | undefined;
|
|
4836
|
-
|
|
5277
|
+
user?: {
|
|
4837
5278
|
id: string;
|
|
4838
|
-
name: string;
|
|
4839
5279
|
createdAt: string | Date;
|
|
4840
5280
|
updatedAt: string | Date;
|
|
4841
|
-
} | null | undefined;
|
|
4842
|
-
user?: {
|
|
4843
|
-
id: string;
|
|
4844
5281
|
firstName: string;
|
|
4845
5282
|
lastName: string;
|
|
4846
5283
|
email: string;
|
|
5284
|
+
phone: string;
|
|
5285
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5286
|
+
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;
|
|
4847
5287
|
} | null | undefined;
|
|
4848
5288
|
}>>>;
|
|
4849
5289
|
}, "strip", z.ZodTypeAny, {
|
|
4850
|
-
id: string;
|
|
4851
5290
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5291
|
+
id: string;
|
|
4852
5292
|
createdAt: string;
|
|
4853
5293
|
updatedAt: string;
|
|
4854
5294
|
userId: string;
|
|
5295
|
+
company?: {
|
|
5296
|
+
id: string;
|
|
5297
|
+
createdAt: string;
|
|
5298
|
+
updatedAt: string;
|
|
5299
|
+
name: string;
|
|
5300
|
+
} | null | undefined;
|
|
4855
5301
|
client?: {
|
|
5302
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4856
5303
|
id: string;
|
|
4857
|
-
|
|
5304
|
+
createdAt: string;
|
|
5305
|
+
updatedAt: string;
|
|
4858
5306
|
name: string;
|
|
4859
5307
|
crn: string | null;
|
|
4860
5308
|
govLink: string;
|
|
4861
5309
|
soleTrader: boolean;
|
|
4862
5310
|
director: string;
|
|
4863
|
-
createdAt: string;
|
|
4864
|
-
updatedAt: string;
|
|
4865
5311
|
blacklistReason?: string | null | undefined;
|
|
4866
5312
|
lastUpdatedBy?: {
|
|
4867
5313
|
id: string;
|
|
@@ -4873,34 +5319,39 @@ export declare const collaborationsContractRouter: {
|
|
|
4873
5319
|
agentId: string;
|
|
4874
5320
|
} | null | undefined;
|
|
4875
5321
|
} | null | undefined;
|
|
4876
|
-
|
|
5322
|
+
user?: {
|
|
4877
5323
|
id: string;
|
|
4878
|
-
name: string;
|
|
4879
5324
|
createdAt: string;
|
|
4880
5325
|
updatedAt: string;
|
|
4881
|
-
} | null | undefined;
|
|
4882
|
-
user?: {
|
|
4883
|
-
id: string;
|
|
4884
5326
|
firstName: string;
|
|
4885
5327
|
lastName: string;
|
|
4886
5328
|
email: string;
|
|
5329
|
+
phone: string;
|
|
5330
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5331
|
+
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;
|
|
4887
5332
|
} | null | undefined;
|
|
4888
5333
|
newCollaboration?: {
|
|
4889
|
-
id: string;
|
|
4890
5334
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5335
|
+
id: string;
|
|
4891
5336
|
createdAt: string;
|
|
4892
5337
|
updatedAt: string;
|
|
4893
5338
|
userId: string;
|
|
5339
|
+
company?: {
|
|
5340
|
+
id: string;
|
|
5341
|
+
createdAt: string;
|
|
5342
|
+
updatedAt: string;
|
|
5343
|
+
name: string;
|
|
5344
|
+
} | null | undefined;
|
|
4894
5345
|
client?: {
|
|
5346
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4895
5347
|
id: string;
|
|
4896
|
-
|
|
5348
|
+
createdAt: string;
|
|
5349
|
+
updatedAt: string;
|
|
4897
5350
|
name: string;
|
|
4898
5351
|
crn: string | null;
|
|
4899
5352
|
govLink: string;
|
|
4900
5353
|
soleTrader: boolean;
|
|
4901
5354
|
director: string;
|
|
4902
|
-
createdAt: string;
|
|
4903
|
-
updatedAt: string;
|
|
4904
5355
|
blacklistReason?: string | null | undefined;
|
|
4905
5356
|
lastUpdatedBy?: {
|
|
4906
5357
|
id: string;
|
|
@@ -4912,35 +5363,40 @@ export declare const collaborationsContractRouter: {
|
|
|
4912
5363
|
agentId: string;
|
|
4913
5364
|
} | null | undefined;
|
|
4914
5365
|
} | null | undefined;
|
|
4915
|
-
|
|
5366
|
+
user?: {
|
|
4916
5367
|
id: string;
|
|
4917
|
-
name: string;
|
|
4918
5368
|
createdAt: string;
|
|
4919
5369
|
updatedAt: string;
|
|
4920
|
-
} | null | undefined;
|
|
4921
|
-
user?: {
|
|
4922
|
-
id: string;
|
|
4923
5370
|
firstName: string;
|
|
4924
5371
|
lastName: string;
|
|
4925
5372
|
email: string;
|
|
5373
|
+
phone: string;
|
|
5374
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5375
|
+
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;
|
|
4926
5376
|
} | null | undefined;
|
|
4927
5377
|
} | null | undefined;
|
|
4928
5378
|
}, {
|
|
4929
|
-
id: string;
|
|
4930
5379
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5380
|
+
id: string;
|
|
4931
5381
|
createdAt: string | Date;
|
|
4932
5382
|
updatedAt: string | Date;
|
|
4933
5383
|
userId: string;
|
|
5384
|
+
company?: {
|
|
5385
|
+
id: string;
|
|
5386
|
+
createdAt: string | Date;
|
|
5387
|
+
updatedAt: string | Date;
|
|
5388
|
+
name: string;
|
|
5389
|
+
} | null | undefined;
|
|
4934
5390
|
client?: {
|
|
5391
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4935
5392
|
id: string;
|
|
4936
|
-
|
|
5393
|
+
createdAt: string | Date;
|
|
5394
|
+
updatedAt: string | Date;
|
|
4937
5395
|
name: string;
|
|
4938
5396
|
crn: string | null;
|
|
4939
5397
|
govLink: string;
|
|
4940
5398
|
soleTrader: boolean;
|
|
4941
5399
|
director: string;
|
|
4942
|
-
createdAt: string | Date;
|
|
4943
|
-
updatedAt: string | Date;
|
|
4944
5400
|
blacklistReason?: string | null | undefined;
|
|
4945
5401
|
lastUpdatedBy?: {
|
|
4946
5402
|
id: string;
|
|
@@ -4952,34 +5408,39 @@ export declare const collaborationsContractRouter: {
|
|
|
4952
5408
|
agentId: string;
|
|
4953
5409
|
} | null | undefined;
|
|
4954
5410
|
} | null | undefined;
|
|
4955
|
-
|
|
5411
|
+
user?: {
|
|
4956
5412
|
id: string;
|
|
4957
|
-
name: string;
|
|
4958
5413
|
createdAt: string | Date;
|
|
4959
5414
|
updatedAt: string | Date;
|
|
4960
|
-
} | null | undefined;
|
|
4961
|
-
user?: {
|
|
4962
|
-
id: string;
|
|
4963
5415
|
firstName: string;
|
|
4964
5416
|
lastName: string;
|
|
4965
5417
|
email: string;
|
|
5418
|
+
phone: string;
|
|
5419
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5420
|
+
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;
|
|
4966
5421
|
} | null | undefined;
|
|
4967
5422
|
newCollaboration?: {
|
|
4968
|
-
id: string;
|
|
4969
5423
|
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5424
|
+
id: string;
|
|
4970
5425
|
createdAt: string | Date;
|
|
4971
5426
|
updatedAt: string | Date;
|
|
4972
5427
|
userId: string;
|
|
5428
|
+
company?: {
|
|
5429
|
+
id: string;
|
|
5430
|
+
createdAt: string | Date;
|
|
5431
|
+
updatedAt: string | Date;
|
|
5432
|
+
name: string;
|
|
5433
|
+
} | null | undefined;
|
|
4973
5434
|
client?: {
|
|
5435
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
4974
5436
|
id: string;
|
|
4975
|
-
|
|
5437
|
+
createdAt: string | Date;
|
|
5438
|
+
updatedAt: string | Date;
|
|
4976
5439
|
name: string;
|
|
4977
5440
|
crn: string | null;
|
|
4978
5441
|
govLink: string;
|
|
4979
5442
|
soleTrader: boolean;
|
|
4980
5443
|
director: string;
|
|
4981
|
-
createdAt: string | Date;
|
|
4982
|
-
updatedAt: string | Date;
|
|
4983
5444
|
blacklistReason?: string | null | undefined;
|
|
4984
5445
|
lastUpdatedBy?: {
|
|
4985
5446
|
id: string;
|
|
@@ -4991,17 +5452,16 @@ export declare const collaborationsContractRouter: {
|
|
|
4991
5452
|
agentId: string;
|
|
4992
5453
|
} | null | undefined;
|
|
4993
5454
|
} | null | undefined;
|
|
4994
|
-
|
|
5455
|
+
user?: {
|
|
4995
5456
|
id: string;
|
|
4996
|
-
name: string;
|
|
4997
5457
|
createdAt: string | Date;
|
|
4998
5458
|
updatedAt: string | Date;
|
|
4999
|
-
} | null | undefined;
|
|
5000
|
-
user?: {
|
|
5001
|
-
id: string;
|
|
5002
5459
|
firstName: string;
|
|
5003
5460
|
lastName: string;
|
|
5004
5461
|
email: string;
|
|
5462
|
+
phone: string;
|
|
5463
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
5464
|
+
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;
|
|
5005
5465
|
} | null | undefined;
|
|
5006
5466
|
} | null | undefined;
|
|
5007
5467
|
}>;
|