@dakkitor/api-contracts 1.1.137 → 1.1.138

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.
Files changed (53) hide show
  1. package/dist/abilities/bot.abilities.json +4 -0
  2. package/dist/abilities/first-agent.abilities.json +4 -0
  3. package/dist/abilities/kpi.abilities.json +4 -0
  4. package/dist/abilities/second-agent.abilities.json +4 -0
  5. package/dist/abilities/team-leads.json +4 -0
  6. package/dist/actives/actives.contract.d.ts +5449 -4281
  7. package/dist/actives/actives.contract.d.ts.map +1 -1
  8. package/dist/agent-client-links/agent-client-links.contract.d.ts +1431 -1017
  9. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  10. package/dist/auth/auth.contract.d.ts +16 -16
  11. package/dist/bookings/bookings.contract.d.ts +20568 -16024
  12. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  13. package/dist/call-history/call-history.contract.d.ts +814 -640
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  15. package/dist/client-contacts/client-contacts.contract.d.ts +177 -177
  16. package/dist/clients/clients.contract.d.ts +92 -92
  17. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2114 -1730
  18. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  19. package/dist/collaborations/collaborations.contract.d.ts +1889 -1508
  20. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  21. package/dist/common/common-schemas.d.ts +23 -4
  22. package/dist/common/common-schemas.d.ts.map +1 -1
  23. package/dist/common/common-schemas.js +31 -1
  24. package/dist/companies/companies.contract.d.ts +28 -28
  25. package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
  26. package/dist/curated-workers/curated-workers.contract.d.ts +762 -500
  27. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  28. package/dist/curated-workers/curated-workers.contract.js +10 -0
  29. package/dist/dashboards/dashboard-widgets.contract.d.ts +63 -63
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +3 -0
  33. package/dist/jobs/jobs.contract.d.ts +3743 -3083
  34. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  35. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +64 -64
  36. package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -562
  37. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  38. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +370 -274
  39. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  40. package/dist/leads/leads.contract.d.ts +228 -228
  41. package/dist/locations/locations.contract.d.ts +22 -22
  42. package/dist/offices/offices.contract.d.ts +794 -0
  43. package/dist/offices/offices.contract.d.ts.map +1 -0
  44. package/dist/offices/offices.contract.js +93 -0
  45. package/dist/own-research/own-research.contract.d.ts +854 -563
  46. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  47. package/dist/users/users.contract.d.ts +345 -245
  48. package/dist/users/users.contract.d.ts.map +1 -1
  49. package/dist/users/users.contract.js +7 -25
  50. package/dist/workers/workers.contract.d.ts +1102 -702
  51. package/dist/workers/workers.contract.d.ts.map +1 -1
  52. package/dist/workers/workers.contract.js +13 -0
  53. package/package.json +1 -1
@@ -21,15 +21,15 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
21
21
  lastName: z.ZodString;
22
22
  email: z.ZodString;
23
23
  }, "strip", z.ZodTypeAny, {
24
- id: string;
25
- firstName: string;
26
24
  lastName: string;
25
+ firstName: string;
27
26
  email: string;
28
- }, {
29
27
  id: string;
30
- firstName: string;
28
+ }, {
31
29
  lastName: string;
30
+ firstName: string;
32
31
  email: string;
32
+ id: string;
33
33
  }>>>;
34
34
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
35
35
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -41,41 +41,41 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
41
41
  agentId: string;
42
42
  }>>>;
43
43
  }, "strip", z.ZodTypeAny, {
44
+ createdAt: string;
44
45
  id: string;
45
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
46
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
46
47
  name: string;
48
+ updatedAt: string;
47
49
  crn: string | null;
48
50
  govLink: string | null;
49
51
  soleTrader: boolean;
50
52
  director: string;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  blacklistReason?: string | null | undefined;
54
54
  lastUpdatedBy?: {
55
- id: string;
56
- firstName: string;
57
55
  lastName: string;
56
+ firstName: string;
58
57
  email: string;
58
+ id: string;
59
59
  } | null | undefined;
60
60
  agentClientLinks?: {
61
61
  agentId: string;
62
62
  } | null | undefined;
63
63
  }, {
64
+ createdAt: string | Date;
64
65
  id: string;
65
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
66
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
66
67
  name: string;
68
+ updatedAt: string | Date;
67
69
  crn: string | null;
68
70
  govLink: string | null;
69
71
  soleTrader: boolean;
70
72
  director: string;
71
- createdAt: string | Date;
72
- updatedAt: string | Date;
73
73
  blacklistReason?: string | null | undefined;
74
74
  lastUpdatedBy?: {
75
- id: string;
76
- firstName: string;
77
75
  lastName: string;
76
+ firstName: string;
78
77
  email: string;
78
+ id: string;
79
79
  } | null | undefined;
80
80
  agentClientLinks?: {
81
81
  agentId: string;
@@ -104,49 +104,65 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
104
104
  isPrimary?: boolean | undefined;
105
105
  }>, "many">>>;
106
106
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
107
- 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"]>>>;
107
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
108
+ id: z.ZodString;
109
+ name: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ id: string;
112
+ name: string;
113
+ }, {
114
+ id: string;
115
+ name: string;
116
+ }>>>;
108
117
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
109
118
  id: z.ZodString;
110
119
  firstName: z.ZodString;
111
120
  lastName: z.ZodString;
112
121
  }, "strip", z.ZodTypeAny, {
113
- id: string;
114
- firstName: string;
115
122
  lastName: string;
116
- }, {
117
- id: string;
118
123
  firstName: string;
124
+ id: string;
125
+ }, {
119
126
  lastName: string;
127
+ firstName: string;
128
+ id: string;
120
129
  }>, "many">>;
121
130
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
122
131
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
123
132
  }, "strip", z.ZodTypeAny, {
124
- id: string;
125
- firstName: string;
126
133
  lastName: string;
134
+ firstName: string;
127
135
  email: string;
128
136
  createdAt: string;
129
- updatedAt: string;
137
+ id: string;
130
138
  phoneNumbers: {
131
139
  id: string;
132
140
  phoneNumber: string;
133
141
  isPrimary: boolean;
134
142
  description?: string | null | undefined;
135
143
  }[];
144
+ updatedAt: string;
145
+ office?: {
146
+ id: string;
147
+ name: string;
148
+ } | null | undefined;
136
149
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | 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;
138
150
  canImpersonateUsers?: {
139
- id: string;
140
- firstName: string;
141
151
  lastName: string;
152
+ firstName: string;
153
+ id: string;
142
154
  }[] | undefined;
143
155
  }, {
144
- id: string;
145
- firstName: string;
146
156
  lastName: string;
157
+ firstName: string;
147
158
  email: string;
148
159
  createdAt: string | Date;
160
+ id: string;
149
161
  updatedAt: string | Date;
162
+ office?: {
163
+ id: string;
164
+ name: string;
165
+ } | null | undefined;
150
166
  phoneNumbers?: {
151
167
  id: string;
152
168
  phoneNumber: string;
@@ -154,11 +170,10 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
154
170
  isPrimary?: boolean | undefined;
155
171
  }[] | undefined;
156
172
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
157
- 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;
158
173
  canImpersonateUsers?: {
159
- id: string;
160
- firstName: string;
161
174
  lastName: string;
175
+ firstName: string;
176
+ id: string;
162
177
  }[] | undefined;
163
178
  }>;
164
179
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -188,49 +203,65 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
188
203
  isPrimary?: boolean | undefined;
189
204
  }>, "many">>>;
190
205
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
191
- 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"]>>>;
206
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
207
+ id: z.ZodString;
208
+ name: z.ZodString;
209
+ }, "strip", z.ZodTypeAny, {
210
+ id: string;
211
+ name: string;
212
+ }, {
213
+ id: string;
214
+ name: string;
215
+ }>>>;
192
216
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
217
  id: z.ZodString;
194
218
  firstName: z.ZodString;
195
219
  lastName: z.ZodString;
196
220
  }, "strip", z.ZodTypeAny, {
197
- id: string;
198
- firstName: string;
199
221
  lastName: string;
200
- }, {
201
- id: string;
202
222
  firstName: string;
223
+ id: string;
224
+ }, {
203
225
  lastName: string;
226
+ firstName: string;
227
+ id: string;
204
228
  }>, "many">>;
205
229
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
206
230
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
207
231
  }, "strip", z.ZodTypeAny, {
208
- id: string;
209
- firstName: string;
210
232
  lastName: string;
233
+ firstName: string;
211
234
  email: string;
212
235
  createdAt: string;
213
- updatedAt: string;
236
+ id: string;
214
237
  phoneNumbers: {
215
238
  id: string;
216
239
  phoneNumber: string;
217
240
  isPrimary: boolean;
218
241
  description?: string | null | undefined;
219
242
  }[];
243
+ updatedAt: string;
244
+ office?: {
245
+ id: string;
246
+ name: string;
247
+ } | null | undefined;
220
248
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
221
- 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;
222
249
  canImpersonateUsers?: {
223
- id: string;
224
- firstName: string;
225
250
  lastName: string;
251
+ firstName: string;
252
+ id: string;
226
253
  }[] | undefined;
227
254
  }, {
228
- id: string;
229
- firstName: string;
230
255
  lastName: string;
256
+ firstName: string;
231
257
  email: string;
232
258
  createdAt: string | Date;
259
+ id: string;
233
260
  updatedAt: string | Date;
261
+ office?: {
262
+ id: string;
263
+ name: string;
264
+ } | null | undefined;
234
265
  phoneNumbers?: {
235
266
  id: string;
236
267
  phoneNumber: string;
@@ -238,11 +269,10 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
238
269
  isPrimary?: boolean | undefined;
239
270
  }[] | undefined;
240
271
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
241
- 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;
242
272
  canImpersonateUsers?: {
243
- id: string;
244
- firstName: string;
245
273
  lastName: string;
274
+ firstName: string;
275
+ id: string;
246
276
  }[] | undefined;
247
277
  }>>>;
248
278
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -269,49 +299,65 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
269
299
  isPrimary?: boolean | undefined;
270
300
  }>, "many">>>;
271
301
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
272
- 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"]>>>;
302
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
303
+ id: z.ZodString;
304
+ name: z.ZodString;
305
+ }, "strip", z.ZodTypeAny, {
306
+ id: string;
307
+ name: string;
308
+ }, {
309
+ id: string;
310
+ name: string;
311
+ }>>>;
273
312
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
274
313
  id: z.ZodString;
275
314
  firstName: z.ZodString;
276
315
  lastName: z.ZodString;
277
316
  }, "strip", z.ZodTypeAny, {
278
- id: string;
279
- firstName: string;
280
317
  lastName: string;
281
- }, {
282
- id: string;
283
318
  firstName: string;
319
+ id: string;
320
+ }, {
284
321
  lastName: string;
322
+ firstName: string;
323
+ id: string;
285
324
  }>, "many">>;
286
325
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
287
326
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
288
327
  }, "strip", z.ZodTypeAny, {
289
- id: string;
290
- firstName: string;
291
328
  lastName: string;
329
+ firstName: string;
292
330
  email: string;
293
331
  createdAt: string;
294
- updatedAt: string;
332
+ id: string;
295
333
  phoneNumbers: {
296
334
  id: string;
297
335
  phoneNumber: string;
298
336
  isPrimary: boolean;
299
337
  description?: string | null | undefined;
300
338
  }[];
339
+ updatedAt: string;
340
+ office?: {
341
+ id: string;
342
+ name: string;
343
+ } | null | undefined;
301
344
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
302
- 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;
303
345
  canImpersonateUsers?: {
304
- id: string;
305
- firstName: string;
306
346
  lastName: string;
347
+ firstName: string;
348
+ id: string;
307
349
  }[] | undefined;
308
350
  }, {
309
- id: string;
310
- firstName: string;
311
351
  lastName: string;
352
+ firstName: string;
312
353
  email: string;
313
354
  createdAt: string | Date;
355
+ id: string;
314
356
  updatedAt: string | Date;
357
+ office?: {
358
+ id: string;
359
+ name: string;
360
+ } | null | undefined;
315
361
  phoneNumbers?: {
316
362
  id: string;
317
363
  phoneNumber: string;
@@ -319,170 +365,185 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
319
365
  isPrimary?: boolean | undefined;
320
366
  }[] | undefined;
321
367
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
322
- office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
323
368
  canImpersonateUsers?: {
324
- id: string;
325
- firstName: string;
326
369
  lastName: string;
370
+ firstName: string;
371
+ id: string;
327
372
  }[] | undefined;
328
373
  }>;
329
374
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
330
375
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
331
376
  }, "strip", z.ZodTypeAny, {
332
- id: string;
333
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
334
377
  createdAt: string;
378
+ id: string;
379
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
335
380
  updatedAt: string;
336
381
  agentId: string;
382
+ agent: {
383
+ lastName: string;
384
+ firstName: string;
385
+ email: string;
386
+ createdAt: string;
387
+ id: string;
388
+ phoneNumbers: {
389
+ id: string;
390
+ phoneNumber: string;
391
+ isPrimary: boolean;
392
+ description?: string | null | undefined;
393
+ }[];
394
+ updatedAt: string;
395
+ office?: {
396
+ id: string;
397
+ name: string;
398
+ } | null | undefined;
399
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
400
+ canImpersonateUsers?: {
401
+ lastName: string;
402
+ firstName: string;
403
+ id: string;
404
+ }[] | undefined;
405
+ };
337
406
  clientId: string;
338
407
  client: {
408
+ createdAt: string;
339
409
  id: string;
340
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
410
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
341
411
  name: string;
412
+ updatedAt: string;
342
413
  crn: string | null;
343
414
  govLink: string | null;
344
415
  soleTrader: boolean;
345
416
  director: string;
346
- createdAt: string;
347
- updatedAt: string;
348
417
  blacklistReason?: string | null | undefined;
349
418
  lastUpdatedBy?: {
350
- id: string;
351
- firstName: string;
352
419
  lastName: string;
420
+ firstName: string;
353
421
  email: string;
422
+ id: string;
354
423
  } | null | undefined;
355
424
  agentClientLinks?: {
356
425
  agentId: string;
357
426
  } | null | undefined;
358
427
  };
428
+ linkType: "CREATION" | "EDIT_SUGGESTION";
359
429
  createdBy: string;
360
- agent: {
361
- id: string;
362
- firstName: string;
430
+ creator: {
363
431
  lastName: string;
432
+ firstName: string;
364
433
  email: string;
365
434
  createdAt: string;
366
- updatedAt: string;
435
+ id: string;
367
436
  phoneNumbers: {
368
437
  id: string;
369
438
  phoneNumber: string;
370
439
  isPrimary: boolean;
371
440
  description?: string | null | undefined;
372
441
  }[];
373
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
374
- 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;
375
- canImpersonateUsers?: {
376
- id: string;
377
- firstName: string;
378
- lastName: string;
379
- }[] | undefined;
380
- };
381
- linkType: "CREATION" | "EDIT_SUGGESTION";
382
- creator: {
383
- id: string;
384
- firstName: string;
385
- lastName: string;
386
- email: string;
387
- createdAt: string;
388
442
  updatedAt: string;
389
- phoneNumbers: {
443
+ office?: {
390
444
  id: string;
391
- phoneNumber: string;
392
- isPrimary: boolean;
393
- description?: string | null | undefined;
394
- }[];
445
+ name: string;
446
+ } | null | undefined;
395
447
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
396
- 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;
397
448
  canImpersonateUsers?: {
398
- id: string;
399
- firstName: string;
400
449
  lastName: string;
450
+ firstName: string;
451
+ id: string;
401
452
  }[] | undefined;
402
453
  };
403
454
  suggestedChanges?: Record<string, unknown> | null | undefined;
404
455
  appliedChanges?: Record<string, unknown> | null | undefined;
405
456
  reviewedBy?: string | null | undefined;
406
457
  reviewer?: {
407
- id: string;
408
- firstName: string;
409
458
  lastName: string;
459
+ firstName: string;
410
460
  email: string;
411
461
  createdAt: string;
412
- updatedAt: string;
462
+ id: string;
413
463
  phoneNumbers: {
414
464
  id: string;
415
465
  phoneNumber: string;
416
466
  isPrimary: boolean;
417
467
  description?: string | null | undefined;
418
468
  }[];
469
+ updatedAt: string;
470
+ office?: {
471
+ id: string;
472
+ name: string;
473
+ } | null | undefined;
419
474
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
420
- 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;
421
475
  canImpersonateUsers?: {
422
- id: string;
423
- firstName: string;
424
476
  lastName: string;
477
+ firstName: string;
478
+ id: string;
425
479
  }[] | undefined;
426
480
  } | null | undefined;
427
481
  reviewedAt?: string | null | undefined;
428
482
  }, {
429
- id: string;
430
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
431
483
  createdAt: string | Date;
484
+ id: string;
485
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
432
486
  updatedAt: string | Date;
433
487
  agentId: string;
488
+ agent: {
489
+ lastName: string;
490
+ firstName: string;
491
+ email: string;
492
+ createdAt: string | Date;
493
+ id: string;
494
+ updatedAt: string | Date;
495
+ office?: {
496
+ id: string;
497
+ name: string;
498
+ } | null | undefined;
499
+ phoneNumbers?: {
500
+ id: string;
501
+ phoneNumber: string;
502
+ description?: string | null | undefined;
503
+ isPrimary?: boolean | undefined;
504
+ }[] | undefined;
505
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
506
+ canImpersonateUsers?: {
507
+ lastName: string;
508
+ firstName: string;
509
+ id: string;
510
+ }[] | undefined;
511
+ };
434
512
  clientId: string;
435
513
  client: {
514
+ createdAt: string | Date;
436
515
  id: string;
437
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
516
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
438
517
  name: string;
518
+ updatedAt: string | Date;
439
519
  crn: string | null;
440
520
  govLink: string | null;
441
521
  soleTrader: boolean;
442
522
  director: string;
443
- createdAt: string | Date;
444
- updatedAt: string | Date;
445
523
  blacklistReason?: string | null | undefined;
446
524
  lastUpdatedBy?: {
447
- id: string;
448
- firstName: string;
449
525
  lastName: string;
526
+ firstName: string;
450
527
  email: string;
528
+ id: string;
451
529
  } | null | undefined;
452
530
  agentClientLinks?: {
453
531
  agentId: string;
454
532
  } | null | undefined;
455
533
  };
456
- createdBy: string;
457
- agent: {
458
- id: string;
459
- firstName: string;
460
- lastName: string;
461
- email: string;
462
- createdAt: string | Date;
463
- updatedAt: string | Date;
464
- phoneNumbers?: {
465
- id: string;
466
- phoneNumber: string;
467
- description?: string | null | undefined;
468
- isPrimary?: boolean | undefined;
469
- }[] | undefined;
470
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
471
- 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;
472
- canImpersonateUsers?: {
473
- id: string;
474
- firstName: string;
475
- lastName: string;
476
- }[] | undefined;
477
- };
478
534
  linkType: "CREATION" | "EDIT_SUGGESTION";
535
+ createdBy: string;
479
536
  creator: {
480
- id: string;
481
- firstName: string;
482
537
  lastName: string;
538
+ firstName: string;
483
539
  email: string;
484
540
  createdAt: string | Date;
541
+ id: string;
485
542
  updatedAt: string | Date;
543
+ office?: {
544
+ id: string;
545
+ name: string;
546
+ } | null | undefined;
486
547
  phoneNumbers?: {
487
548
  id: string;
488
549
  phoneNumber: string;
@@ -490,23 +551,26 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
490
551
  isPrimary?: boolean | undefined;
491
552
  }[] | undefined;
492
553
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
493
- 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;
494
554
  canImpersonateUsers?: {
495
- id: string;
496
- firstName: string;
497
555
  lastName: string;
556
+ firstName: string;
557
+ id: string;
498
558
  }[] | undefined;
499
559
  };
500
560
  suggestedChanges?: Record<string, unknown> | null | undefined;
501
561
  appliedChanges?: Record<string, unknown> | null | undefined;
502
562
  reviewedBy?: string | null | undefined;
503
563
  reviewer?: {
504
- id: string;
505
- firstName: string;
506
564
  lastName: string;
565
+ firstName: string;
507
566
  email: string;
508
567
  createdAt: string | Date;
568
+ id: string;
509
569
  updatedAt: string | Date;
570
+ office?: {
571
+ id: string;
572
+ name: string;
573
+ } | null | undefined;
510
574
  phoneNumbers?: {
511
575
  id: string;
512
576
  phoneNumber: string;
@@ -514,11 +578,10 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
514
578
  isPrimary?: boolean | undefined;
515
579
  }[] | undefined;
516
580
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
517
- 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;
518
581
  canImpersonateUsers?: {
519
- id: string;
520
- firstName: string;
521
582
  lastName: string;
583
+ firstName: string;
584
+ id: string;
522
585
  }[] | undefined;
523
586
  } | null | undefined;
524
587
  reviewedAt?: string | Date | null | undefined;
@@ -538,17 +601,17 @@ export declare const FilterAgentClientLinkSchema: z.ZodObject<{
538
601
  page: number;
539
602
  sortBy: "createdAt";
540
603
  sortOrder: "ASC" | "DESC";
541
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
604
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
542
605
  agentId?: string | undefined;
543
606
  clientId?: string | undefined;
544
607
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
545
608
  }, {
546
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
547
- agentId?: string | undefined;
609
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
548
610
  limit?: number | undefined;
549
611
  page?: number | undefined;
550
612
  sortBy?: "createdAt" | undefined;
551
613
  sortOrder?: "ASC" | "DESC" | undefined;
614
+ agentId?: string | undefined;
552
615
  clientId?: string | undefined;
553
616
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
554
617
  }>;
@@ -565,12 +628,12 @@ export declare const UpdateAgentClientLinkSchema: z.ZodObject<{
565
628
  suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
566
629
  status: z.ZodOptional<z.ZodEnum<["PENDING_REVIEW", "APPROVED", "REJECTED"]>>;
567
630
  }, "strip", z.ZodTypeAny, {
568
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
631
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
569
632
  clientId?: string | undefined;
570
633
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
571
634
  suggestedChanges?: Record<string, unknown> | null | undefined;
572
635
  }, {
573
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
636
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
574
637
  clientId?: string | undefined;
575
638
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
576
639
  suggestedChanges?: Record<string, unknown> | null | undefined;
@@ -595,15 +658,15 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
595
658
  lastName: z.ZodString;
596
659
  email: z.ZodString;
597
660
  }, "strip", z.ZodTypeAny, {
598
- id: string;
599
- firstName: string;
600
661
  lastName: string;
662
+ firstName: string;
601
663
  email: string;
602
- }, {
603
664
  id: string;
604
- firstName: string;
665
+ }, {
605
666
  lastName: string;
667
+ firstName: string;
606
668
  email: string;
669
+ id: string;
607
670
  }>>>;
608
671
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
609
672
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -615,41 +678,41 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
615
678
  agentId: string;
616
679
  }>>>;
617
680
  }, "strip", z.ZodTypeAny, {
681
+ createdAt: string;
618
682
  id: string;
619
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
683
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
620
684
  name: string;
685
+ updatedAt: string;
621
686
  crn: string | null;
622
687
  govLink: string | null;
623
688
  soleTrader: boolean;
624
689
  director: string;
625
- createdAt: string;
626
- updatedAt: string;
627
690
  blacklistReason?: string | null | undefined;
628
691
  lastUpdatedBy?: {
629
- id: string;
630
- firstName: string;
631
692
  lastName: string;
693
+ firstName: string;
632
694
  email: string;
695
+ id: string;
633
696
  } | null | undefined;
634
697
  agentClientLinks?: {
635
698
  agentId: string;
636
699
  } | null | undefined;
637
700
  }, {
701
+ createdAt: string | Date;
638
702
  id: string;
639
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
703
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
640
704
  name: string;
705
+ updatedAt: string | Date;
641
706
  crn: string | null;
642
707
  govLink: string | null;
643
708
  soleTrader: boolean;
644
709
  director: string;
645
- createdAt: string | Date;
646
- updatedAt: string | Date;
647
710
  blacklistReason?: string | null | undefined;
648
711
  lastUpdatedBy?: {
649
- id: string;
650
- firstName: string;
651
712
  lastName: string;
713
+ firstName: string;
652
714
  email: string;
715
+ id: string;
653
716
  } | null | undefined;
654
717
  agentClientLinks?: {
655
718
  agentId: string;
@@ -678,49 +741,65 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
678
741
  isPrimary?: boolean | undefined;
679
742
  }>, "many">>>;
680
743
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
681
- 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"]>>>;
744
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
745
+ id: z.ZodString;
746
+ name: z.ZodString;
747
+ }, "strip", z.ZodTypeAny, {
748
+ id: string;
749
+ name: string;
750
+ }, {
751
+ id: string;
752
+ name: string;
753
+ }>>>;
682
754
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
683
755
  id: z.ZodString;
684
756
  firstName: z.ZodString;
685
757
  lastName: z.ZodString;
686
758
  }, "strip", z.ZodTypeAny, {
687
- id: string;
688
- firstName: string;
689
759
  lastName: string;
690
- }, {
691
- id: string;
692
760
  firstName: string;
761
+ id: string;
762
+ }, {
693
763
  lastName: string;
764
+ firstName: string;
765
+ id: string;
694
766
  }>, "many">>;
695
767
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
696
768
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
697
769
  }, "strip", z.ZodTypeAny, {
698
- id: string;
699
- firstName: string;
700
770
  lastName: string;
771
+ firstName: string;
701
772
  email: string;
702
773
  createdAt: string;
703
- updatedAt: string;
774
+ id: string;
704
775
  phoneNumbers: {
705
776
  id: string;
706
777
  phoneNumber: string;
707
778
  isPrimary: boolean;
708
779
  description?: string | null | undefined;
709
780
  }[];
781
+ updatedAt: string;
782
+ office?: {
783
+ id: string;
784
+ name: string;
785
+ } | null | undefined;
710
786
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
711
- 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;
712
787
  canImpersonateUsers?: {
713
- id: string;
714
- firstName: string;
715
788
  lastName: string;
789
+ firstName: string;
790
+ id: string;
716
791
  }[] | undefined;
717
792
  }, {
718
- id: string;
719
- firstName: string;
720
793
  lastName: string;
794
+ firstName: string;
721
795
  email: string;
722
796
  createdAt: string | Date;
797
+ id: string;
723
798
  updatedAt: string | Date;
799
+ office?: {
800
+ id: string;
801
+ name: string;
802
+ } | null | undefined;
724
803
  phoneNumbers?: {
725
804
  id: string;
726
805
  phoneNumber: string;
@@ -728,11 +807,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
728
807
  isPrimary?: boolean | undefined;
729
808
  }[] | undefined;
730
809
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
731
- 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;
732
810
  canImpersonateUsers?: {
733
- id: string;
734
- firstName: string;
735
811
  lastName: string;
812
+ firstName: string;
813
+ id: string;
736
814
  }[] | undefined;
737
815
  }>;
738
816
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -762,49 +840,65 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
762
840
  isPrimary?: boolean | undefined;
763
841
  }>, "many">>>;
764
842
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
765
- 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"]>>>;
843
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
844
+ id: z.ZodString;
845
+ name: z.ZodString;
846
+ }, "strip", z.ZodTypeAny, {
847
+ id: string;
848
+ name: string;
849
+ }, {
850
+ id: string;
851
+ name: string;
852
+ }>>>;
766
853
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
767
854
  id: z.ZodString;
768
855
  firstName: z.ZodString;
769
856
  lastName: z.ZodString;
770
857
  }, "strip", z.ZodTypeAny, {
771
- id: string;
772
- firstName: string;
773
858
  lastName: string;
774
- }, {
775
- id: string;
776
859
  firstName: string;
860
+ id: string;
861
+ }, {
777
862
  lastName: string;
863
+ firstName: string;
864
+ id: string;
778
865
  }>, "many">>;
779
866
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
780
867
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
781
868
  }, "strip", z.ZodTypeAny, {
782
- id: string;
783
- firstName: string;
784
869
  lastName: string;
870
+ firstName: string;
785
871
  email: string;
786
872
  createdAt: string;
787
- updatedAt: string;
873
+ id: string;
788
874
  phoneNumbers: {
789
875
  id: string;
790
876
  phoneNumber: string;
791
877
  isPrimary: boolean;
792
878
  description?: string | null | undefined;
793
879
  }[];
880
+ updatedAt: string;
881
+ office?: {
882
+ id: string;
883
+ name: string;
884
+ } | null | undefined;
794
885
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
795
- 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;
796
886
  canImpersonateUsers?: {
797
- id: string;
798
- firstName: string;
799
887
  lastName: string;
888
+ firstName: string;
889
+ id: string;
800
890
  }[] | undefined;
801
891
  }, {
802
- id: string;
803
- firstName: string;
804
892
  lastName: string;
893
+ firstName: string;
805
894
  email: string;
806
895
  createdAt: string | Date;
896
+ id: string;
807
897
  updatedAt: string | Date;
898
+ office?: {
899
+ id: string;
900
+ name: string;
901
+ } | null | undefined;
808
902
  phoneNumbers?: {
809
903
  id: string;
810
904
  phoneNumber: string;
@@ -812,11 +906,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
812
906
  isPrimary?: boolean | undefined;
813
907
  }[] | undefined;
814
908
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
815
- 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;
816
909
  canImpersonateUsers?: {
817
- id: string;
818
- firstName: string;
819
910
  lastName: string;
911
+ firstName: string;
912
+ id: string;
820
913
  }[] | undefined;
821
914
  }>>>;
822
915
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -843,49 +936,65 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
843
936
  isPrimary?: boolean | undefined;
844
937
  }>, "many">>>;
845
938
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
846
- 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"]>>>;
939
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
940
+ id: z.ZodString;
941
+ name: z.ZodString;
942
+ }, "strip", z.ZodTypeAny, {
943
+ id: string;
944
+ name: string;
945
+ }, {
946
+ id: string;
947
+ name: string;
948
+ }>>>;
847
949
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
848
950
  id: z.ZodString;
849
951
  firstName: z.ZodString;
850
952
  lastName: z.ZodString;
851
953
  }, "strip", z.ZodTypeAny, {
852
- id: string;
853
- firstName: string;
854
954
  lastName: string;
855
- }, {
856
- id: string;
857
955
  firstName: string;
956
+ id: string;
957
+ }, {
858
958
  lastName: string;
959
+ firstName: string;
960
+ id: string;
859
961
  }>, "many">>;
860
962
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
861
963
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
862
964
  }, "strip", z.ZodTypeAny, {
863
- id: string;
864
- firstName: string;
865
965
  lastName: string;
966
+ firstName: string;
866
967
  email: string;
867
968
  createdAt: string;
868
- updatedAt: string;
969
+ id: string;
869
970
  phoneNumbers: {
870
971
  id: string;
871
972
  phoneNumber: string;
872
973
  isPrimary: boolean;
873
974
  description?: string | null | undefined;
874
975
  }[];
976
+ updatedAt: string;
977
+ office?: {
978
+ id: string;
979
+ name: string;
980
+ } | null | undefined;
875
981
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
876
- 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;
877
982
  canImpersonateUsers?: {
878
- id: string;
879
- firstName: string;
880
983
  lastName: string;
984
+ firstName: string;
985
+ id: string;
881
986
  }[] | undefined;
882
987
  }, {
883
- id: string;
884
- firstName: string;
885
988
  lastName: string;
989
+ firstName: string;
886
990
  email: string;
887
991
  createdAt: string | Date;
992
+ id: string;
888
993
  updatedAt: string | Date;
994
+ office?: {
995
+ id: string;
996
+ name: string;
997
+ } | null | undefined;
889
998
  phoneNumbers?: {
890
999
  id: string;
891
1000
  phoneNumber: string;
@@ -893,170 +1002,185 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
893
1002
  isPrimary?: boolean | undefined;
894
1003
  }[] | undefined;
895
1004
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
896
- office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
897
1005
  canImpersonateUsers?: {
898
- id: string;
899
- firstName: string;
900
1006
  lastName: string;
1007
+ firstName: string;
1008
+ id: string;
901
1009
  }[] | undefined;
902
1010
  }>;
903
1011
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
904
1012
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
905
1013
  }, "strip", z.ZodTypeAny, {
906
- id: string;
907
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
908
1014
  createdAt: string;
1015
+ id: string;
1016
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
909
1017
  updatedAt: string;
910
1018
  agentId: string;
1019
+ agent: {
1020
+ lastName: string;
1021
+ firstName: string;
1022
+ email: string;
1023
+ createdAt: string;
1024
+ id: string;
1025
+ phoneNumbers: {
1026
+ id: string;
1027
+ phoneNumber: string;
1028
+ isPrimary: boolean;
1029
+ description?: string | null | undefined;
1030
+ }[];
1031
+ updatedAt: string;
1032
+ office?: {
1033
+ id: string;
1034
+ name: string;
1035
+ } | null | undefined;
1036
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1037
+ canImpersonateUsers?: {
1038
+ lastName: string;
1039
+ firstName: string;
1040
+ id: string;
1041
+ }[] | undefined;
1042
+ };
911
1043
  clientId: string;
912
1044
  client: {
1045
+ createdAt: string;
913
1046
  id: string;
914
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1047
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
915
1048
  name: string;
1049
+ updatedAt: string;
916
1050
  crn: string | null;
917
1051
  govLink: string | null;
918
1052
  soleTrader: boolean;
919
1053
  director: string;
920
- createdAt: string;
921
- updatedAt: string;
922
1054
  blacklistReason?: string | null | undefined;
923
1055
  lastUpdatedBy?: {
924
- id: string;
925
- firstName: string;
926
1056
  lastName: string;
1057
+ firstName: string;
927
1058
  email: string;
1059
+ id: string;
928
1060
  } | null | undefined;
929
1061
  agentClientLinks?: {
930
1062
  agentId: string;
931
1063
  } | null | undefined;
932
1064
  };
1065
+ linkType: "CREATION" | "EDIT_SUGGESTION";
933
1066
  createdBy: string;
934
- agent: {
935
- id: string;
936
- firstName: string;
1067
+ creator: {
937
1068
  lastName: string;
1069
+ firstName: string;
938
1070
  email: string;
939
1071
  createdAt: string;
940
- updatedAt: string;
1072
+ id: string;
941
1073
  phoneNumbers: {
942
1074
  id: string;
943
1075
  phoneNumber: string;
944
1076
  isPrimary: boolean;
945
1077
  description?: string | null | undefined;
946
1078
  }[];
947
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
948
- 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;
949
- canImpersonateUsers?: {
950
- id: string;
951
- firstName: string;
952
- lastName: string;
953
- }[] | undefined;
954
- };
955
- linkType: "CREATION" | "EDIT_SUGGESTION";
956
- creator: {
957
- id: string;
958
- firstName: string;
959
- lastName: string;
960
- email: string;
961
- createdAt: string;
962
1079
  updatedAt: string;
963
- phoneNumbers: {
1080
+ office?: {
964
1081
  id: string;
965
- phoneNumber: string;
966
- isPrimary: boolean;
967
- description?: string | null | undefined;
968
- }[];
1082
+ name: string;
1083
+ } | null | undefined;
969
1084
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
970
- 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;
971
1085
  canImpersonateUsers?: {
972
- id: string;
973
- firstName: string;
974
1086
  lastName: string;
1087
+ firstName: string;
1088
+ id: string;
975
1089
  }[] | undefined;
976
1090
  };
977
1091
  suggestedChanges?: Record<string, unknown> | null | undefined;
978
1092
  appliedChanges?: Record<string, unknown> | null | undefined;
979
1093
  reviewedBy?: string | null | undefined;
980
1094
  reviewer?: {
981
- id: string;
982
- firstName: string;
983
1095
  lastName: string;
1096
+ firstName: string;
984
1097
  email: string;
985
1098
  createdAt: string;
986
- updatedAt: string;
1099
+ id: string;
987
1100
  phoneNumbers: {
988
1101
  id: string;
989
1102
  phoneNumber: string;
990
1103
  isPrimary: boolean;
991
1104
  description?: string | null | undefined;
992
1105
  }[];
1106
+ updatedAt: string;
1107
+ office?: {
1108
+ id: string;
1109
+ name: string;
1110
+ } | null | undefined;
993
1111
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
994
- 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;
995
1112
  canImpersonateUsers?: {
996
- id: string;
997
- firstName: string;
998
1113
  lastName: string;
999
- }[] | undefined;
1114
+ firstName: string;
1115
+ id: string;
1116
+ }[] | undefined;
1000
1117
  } | null | undefined;
1001
1118
  reviewedAt?: string | null | undefined;
1002
1119
  }, {
1003
- id: string;
1004
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1005
1120
  createdAt: string | Date;
1121
+ id: string;
1122
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1006
1123
  updatedAt: string | Date;
1007
1124
  agentId: string;
1125
+ agent: {
1126
+ lastName: string;
1127
+ firstName: string;
1128
+ email: string;
1129
+ createdAt: string | Date;
1130
+ id: string;
1131
+ updatedAt: string | Date;
1132
+ office?: {
1133
+ id: string;
1134
+ name: string;
1135
+ } | null | undefined;
1136
+ phoneNumbers?: {
1137
+ id: string;
1138
+ phoneNumber: string;
1139
+ description?: string | null | undefined;
1140
+ isPrimary?: boolean | undefined;
1141
+ }[] | undefined;
1142
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1143
+ canImpersonateUsers?: {
1144
+ lastName: string;
1145
+ firstName: string;
1146
+ id: string;
1147
+ }[] | undefined;
1148
+ };
1008
1149
  clientId: string;
1009
1150
  client: {
1151
+ createdAt: string | Date;
1010
1152
  id: string;
1011
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1153
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1012
1154
  name: string;
1155
+ updatedAt: string | Date;
1013
1156
  crn: string | null;
1014
1157
  govLink: string | null;
1015
1158
  soleTrader: boolean;
1016
1159
  director: string;
1017
- createdAt: string | Date;
1018
- updatedAt: string | Date;
1019
1160
  blacklistReason?: string | null | undefined;
1020
1161
  lastUpdatedBy?: {
1021
- id: string;
1022
- firstName: string;
1023
1162
  lastName: string;
1163
+ firstName: string;
1024
1164
  email: string;
1165
+ id: string;
1025
1166
  } | null | undefined;
1026
1167
  agentClientLinks?: {
1027
1168
  agentId: string;
1028
1169
  } | null | undefined;
1029
1170
  };
1030
- createdBy: string;
1031
- agent: {
1032
- id: string;
1033
- firstName: string;
1034
- lastName: string;
1035
- email: string;
1036
- createdAt: string | Date;
1037
- updatedAt: string | Date;
1038
- phoneNumbers?: {
1039
- id: string;
1040
- phoneNumber: string;
1041
- description?: string | null | undefined;
1042
- isPrimary?: boolean | undefined;
1043
- }[] | undefined;
1044
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1045
- 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;
1046
- canImpersonateUsers?: {
1047
- id: string;
1048
- firstName: string;
1049
- lastName: string;
1050
- }[] | undefined;
1051
- };
1052
1171
  linkType: "CREATION" | "EDIT_SUGGESTION";
1172
+ createdBy: string;
1053
1173
  creator: {
1054
- id: string;
1055
- firstName: string;
1056
1174
  lastName: string;
1175
+ firstName: string;
1057
1176
  email: string;
1058
1177
  createdAt: string | Date;
1178
+ id: string;
1059
1179
  updatedAt: string | Date;
1180
+ office?: {
1181
+ id: string;
1182
+ name: string;
1183
+ } | null | undefined;
1060
1184
  phoneNumbers?: {
1061
1185
  id: string;
1062
1186
  phoneNumber: string;
@@ -1064,23 +1188,26 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1064
1188
  isPrimary?: boolean | undefined;
1065
1189
  }[] | undefined;
1066
1190
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1067
- 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;
1068
1191
  canImpersonateUsers?: {
1069
- id: string;
1070
- firstName: string;
1071
1192
  lastName: string;
1193
+ firstName: string;
1194
+ id: string;
1072
1195
  }[] | undefined;
1073
1196
  };
1074
1197
  suggestedChanges?: Record<string, unknown> | null | undefined;
1075
1198
  appliedChanges?: Record<string, unknown> | null | undefined;
1076
1199
  reviewedBy?: string | null | undefined;
1077
1200
  reviewer?: {
1078
- id: string;
1079
- firstName: string;
1080
1201
  lastName: string;
1202
+ firstName: string;
1081
1203
  email: string;
1082
1204
  createdAt: string | Date;
1205
+ id: string;
1083
1206
  updatedAt: string | Date;
1207
+ office?: {
1208
+ id: string;
1209
+ name: string;
1210
+ } | null | undefined;
1084
1211
  phoneNumbers?: {
1085
1212
  id: string;
1086
1213
  phoneNumber: string;
@@ -1088,11 +1215,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1088
1215
  isPrimary?: boolean | undefined;
1089
1216
  }[] | undefined;
1090
1217
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1091
- 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;
1092
1218
  canImpersonateUsers?: {
1093
- id: string;
1094
- firstName: string;
1095
1219
  lastName: string;
1220
+ firstName: string;
1221
+ id: string;
1096
1222
  }[] | undefined;
1097
1223
  } | null | undefined;
1098
1224
  reviewedAt?: string | Date | null | undefined;
@@ -1105,99 +1231,108 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1105
1231
  }, "strip", z.ZodTypeAny, {
1106
1232
  limit: number;
1107
1233
  items: {
1108
- id: string;
1109
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1110
1234
  createdAt: string;
1235
+ id: string;
1236
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1111
1237
  updatedAt: string;
1112
1238
  agentId: string;
1239
+ agent: {
1240
+ lastName: string;
1241
+ firstName: string;
1242
+ email: string;
1243
+ createdAt: string;
1244
+ id: string;
1245
+ phoneNumbers: {
1246
+ id: string;
1247
+ phoneNumber: string;
1248
+ isPrimary: boolean;
1249
+ description?: string | null | undefined;
1250
+ }[];
1251
+ updatedAt: string;
1252
+ office?: {
1253
+ id: string;
1254
+ name: string;
1255
+ } | null | undefined;
1256
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1257
+ canImpersonateUsers?: {
1258
+ lastName: string;
1259
+ firstName: string;
1260
+ id: string;
1261
+ }[] | undefined;
1262
+ };
1113
1263
  clientId: string;
1114
1264
  client: {
1265
+ createdAt: string;
1115
1266
  id: string;
1116
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1267
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1117
1268
  name: string;
1269
+ updatedAt: string;
1118
1270
  crn: string | null;
1119
1271
  govLink: string | null;
1120
1272
  soleTrader: boolean;
1121
1273
  director: string;
1122
- createdAt: string;
1123
- updatedAt: string;
1124
1274
  blacklistReason?: string | null | undefined;
1125
1275
  lastUpdatedBy?: {
1126
- id: string;
1127
- firstName: string;
1128
1276
  lastName: string;
1277
+ firstName: string;
1129
1278
  email: string;
1279
+ id: string;
1130
1280
  } | null | undefined;
1131
1281
  agentClientLinks?: {
1132
1282
  agentId: string;
1133
1283
  } | null | undefined;
1134
1284
  };
1285
+ linkType: "CREATION" | "EDIT_SUGGESTION";
1135
1286
  createdBy: string;
1136
- agent: {
1137
- id: string;
1138
- firstName: string;
1287
+ creator: {
1139
1288
  lastName: string;
1289
+ firstName: string;
1140
1290
  email: string;
1141
1291
  createdAt: string;
1142
- updatedAt: string;
1292
+ id: string;
1143
1293
  phoneNumbers: {
1144
1294
  id: string;
1145
1295
  phoneNumber: string;
1146
1296
  isPrimary: boolean;
1147
1297
  description?: string | null | undefined;
1148
1298
  }[];
1149
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1150
- 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;
1151
- canImpersonateUsers?: {
1152
- id: string;
1153
- firstName: string;
1154
- lastName: string;
1155
- }[] | undefined;
1156
- };
1157
- linkType: "CREATION" | "EDIT_SUGGESTION";
1158
- creator: {
1159
- id: string;
1160
- firstName: string;
1161
- lastName: string;
1162
- email: string;
1163
- createdAt: string;
1164
1299
  updatedAt: string;
1165
- phoneNumbers: {
1300
+ office?: {
1166
1301
  id: string;
1167
- phoneNumber: string;
1168
- isPrimary: boolean;
1169
- description?: string | null | undefined;
1170
- }[];
1302
+ name: string;
1303
+ } | null | undefined;
1171
1304
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1172
- 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;
1173
1305
  canImpersonateUsers?: {
1174
- id: string;
1175
- firstName: string;
1176
1306
  lastName: string;
1307
+ firstName: string;
1308
+ id: string;
1177
1309
  }[] | undefined;
1178
1310
  };
1179
1311
  suggestedChanges?: Record<string, unknown> | null | undefined;
1180
1312
  appliedChanges?: Record<string, unknown> | null | undefined;
1181
1313
  reviewedBy?: string | null | undefined;
1182
1314
  reviewer?: {
1183
- id: string;
1184
- firstName: string;
1185
1315
  lastName: string;
1316
+ firstName: string;
1186
1317
  email: string;
1187
1318
  createdAt: string;
1188
- updatedAt: string;
1319
+ id: string;
1189
1320
  phoneNumbers: {
1190
1321
  id: string;
1191
1322
  phoneNumber: string;
1192
1323
  isPrimary: boolean;
1193
1324
  description?: string | null | undefined;
1194
1325
  }[];
1326
+ updatedAt: string;
1327
+ office?: {
1328
+ id: string;
1329
+ name: string;
1330
+ } | null | undefined;
1195
1331
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1196
- 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;
1197
1332
  canImpersonateUsers?: {
1198
- id: string;
1199
- firstName: string;
1200
1333
  lastName: string;
1334
+ firstName: string;
1335
+ id: string;
1201
1336
  }[] | undefined;
1202
1337
  } | null | undefined;
1203
1338
  reviewedAt?: string | null | undefined;
@@ -1209,63 +1344,70 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1209
1344
  }, {
1210
1345
  limit: number;
1211
1346
  items: {
1212
- id: string;
1213
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1214
1347
  createdAt: string | Date;
1348
+ id: string;
1349
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1215
1350
  updatedAt: string | Date;
1216
1351
  agentId: string;
1352
+ agent: {
1353
+ lastName: string;
1354
+ firstName: string;
1355
+ email: string;
1356
+ createdAt: string | Date;
1357
+ id: string;
1358
+ updatedAt: string | Date;
1359
+ office?: {
1360
+ id: string;
1361
+ name: string;
1362
+ } | null | undefined;
1363
+ phoneNumbers?: {
1364
+ id: string;
1365
+ phoneNumber: string;
1366
+ description?: string | null | undefined;
1367
+ isPrimary?: boolean | undefined;
1368
+ }[] | undefined;
1369
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1370
+ canImpersonateUsers?: {
1371
+ lastName: string;
1372
+ firstName: string;
1373
+ id: string;
1374
+ }[] | undefined;
1375
+ };
1217
1376
  clientId: string;
1218
1377
  client: {
1378
+ createdAt: string | Date;
1219
1379
  id: string;
1220
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1380
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1221
1381
  name: string;
1382
+ updatedAt: string | Date;
1222
1383
  crn: string | null;
1223
1384
  govLink: string | null;
1224
1385
  soleTrader: boolean;
1225
1386
  director: string;
1226
- createdAt: string | Date;
1227
- updatedAt: string | Date;
1228
1387
  blacklistReason?: string | null | undefined;
1229
1388
  lastUpdatedBy?: {
1230
- id: string;
1231
- firstName: string;
1232
1389
  lastName: string;
1390
+ firstName: string;
1233
1391
  email: string;
1392
+ id: string;
1234
1393
  } | null | undefined;
1235
1394
  agentClientLinks?: {
1236
1395
  agentId: string;
1237
1396
  } | null | undefined;
1238
1397
  };
1239
- createdBy: string;
1240
- agent: {
1241
- id: string;
1242
- firstName: string;
1243
- lastName: string;
1244
- email: string;
1245
- createdAt: string | Date;
1246
- updatedAt: string | Date;
1247
- phoneNumbers?: {
1248
- id: string;
1249
- phoneNumber: string;
1250
- description?: string | null | undefined;
1251
- isPrimary?: boolean | undefined;
1252
- }[] | undefined;
1253
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1254
- 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;
1255
- canImpersonateUsers?: {
1256
- id: string;
1257
- firstName: string;
1258
- lastName: string;
1259
- }[] | undefined;
1260
- };
1261
1398
  linkType: "CREATION" | "EDIT_SUGGESTION";
1399
+ createdBy: string;
1262
1400
  creator: {
1263
- id: string;
1264
- firstName: string;
1265
1401
  lastName: string;
1402
+ firstName: string;
1266
1403
  email: string;
1267
1404
  createdAt: string | Date;
1405
+ id: string;
1268
1406
  updatedAt: string | Date;
1407
+ office?: {
1408
+ id: string;
1409
+ name: string;
1410
+ } | null | undefined;
1269
1411
  phoneNumbers?: {
1270
1412
  id: string;
1271
1413
  phoneNumber: string;
@@ -1273,23 +1415,26 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1273
1415
  isPrimary?: boolean | undefined;
1274
1416
  }[] | undefined;
1275
1417
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1276
- office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1277
1418
  canImpersonateUsers?: {
1278
- id: string;
1279
- firstName: string;
1280
1419
  lastName: string;
1420
+ firstName: string;
1421
+ id: string;
1281
1422
  }[] | undefined;
1282
1423
  };
1283
1424
  suggestedChanges?: Record<string, unknown> | null | undefined;
1284
1425
  appliedChanges?: Record<string, unknown> | null | undefined;
1285
1426
  reviewedBy?: string | null | undefined;
1286
1427
  reviewer?: {
1287
- id: string;
1288
- firstName: string;
1289
1428
  lastName: string;
1429
+ firstName: string;
1290
1430
  email: string;
1291
1431
  createdAt: string | Date;
1432
+ id: string;
1292
1433
  updatedAt: string | Date;
1434
+ office?: {
1435
+ id: string;
1436
+ name: string;
1437
+ } | null | undefined;
1293
1438
  phoneNumbers?: {
1294
1439
  id: string;
1295
1440
  phoneNumber: string;
@@ -1297,11 +1442,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
1297
1442
  isPrimary?: boolean | undefined;
1298
1443
  }[] | undefined;
1299
1444
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1300
- 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;
1301
1445
  canImpersonateUsers?: {
1302
- id: string;
1303
- firstName: string;
1304
1446
  lastName: string;
1447
+ firstName: string;
1448
+ id: string;
1305
1449
  }[] | undefined;
1306
1450
  } | null | undefined;
1307
1451
  reviewedAt?: string | Date | null | undefined;
@@ -1337,17 +1481,17 @@ export declare const agentClientLinksContract: {
1337
1481
  page: number;
1338
1482
  sortBy: "createdAt";
1339
1483
  sortOrder: "ASC" | "DESC";
1340
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
1484
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
1341
1485
  agentId?: string | undefined;
1342
1486
  clientId?: string | undefined;
1343
1487
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
1344
1488
  }, {
1345
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
1346
- agentId?: string | undefined;
1489
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
1347
1490
  limit?: number | undefined;
1348
1491
  page?: number | undefined;
1349
1492
  sortBy?: "createdAt" | undefined;
1350
1493
  sortOrder?: "ASC" | "DESC" | undefined;
1494
+ agentId?: string | undefined;
1351
1495
  clientId?: string | undefined;
1352
1496
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
1353
1497
  }>;
@@ -1474,15 +1618,15 @@ export declare const agentClientLinksContract: {
1474
1618
  lastName: z.ZodString;
1475
1619
  email: z.ZodString;
1476
1620
  }, "strip", z.ZodTypeAny, {
1477
- id: string;
1478
- firstName: string;
1479
1621
  lastName: string;
1622
+ firstName: string;
1480
1623
  email: string;
1481
- }, {
1482
1624
  id: string;
1483
- firstName: string;
1625
+ }, {
1484
1626
  lastName: string;
1627
+ firstName: string;
1485
1628
  email: string;
1629
+ id: string;
1486
1630
  }>>>;
1487
1631
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1488
1632
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -1494,41 +1638,41 @@ export declare const agentClientLinksContract: {
1494
1638
  agentId: string;
1495
1639
  }>>>;
1496
1640
  }, "strip", z.ZodTypeAny, {
1641
+ createdAt: string;
1497
1642
  id: string;
1498
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1643
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1499
1644
  name: string;
1645
+ updatedAt: string;
1500
1646
  crn: string | null;
1501
1647
  govLink: string | null;
1502
1648
  soleTrader: boolean;
1503
1649
  director: string;
1504
- createdAt: string;
1505
- updatedAt: string;
1506
1650
  blacklistReason?: string | null | undefined;
1507
1651
  lastUpdatedBy?: {
1508
- id: string;
1509
- firstName: string;
1510
1652
  lastName: string;
1653
+ firstName: string;
1511
1654
  email: string;
1655
+ id: string;
1512
1656
  } | null | undefined;
1513
1657
  agentClientLinks?: {
1514
1658
  agentId: string;
1515
1659
  } | null | undefined;
1516
1660
  }, {
1661
+ createdAt: string | Date;
1517
1662
  id: string;
1518
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1663
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1519
1664
  name: string;
1665
+ updatedAt: string | Date;
1520
1666
  crn: string | null;
1521
1667
  govLink: string | null;
1522
1668
  soleTrader: boolean;
1523
1669
  director: string;
1524
- createdAt: string | Date;
1525
- updatedAt: string | Date;
1526
1670
  blacklistReason?: string | null | undefined;
1527
1671
  lastUpdatedBy?: {
1528
- id: string;
1529
- firstName: string;
1530
1672
  lastName: string;
1673
+ firstName: string;
1531
1674
  email: string;
1675
+ id: string;
1532
1676
  } | null | undefined;
1533
1677
  agentClientLinks?: {
1534
1678
  agentId: string;
@@ -1557,49 +1701,65 @@ export declare const agentClientLinksContract: {
1557
1701
  isPrimary?: boolean | undefined;
1558
1702
  }>, "many">>>;
1559
1703
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
1560
- 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"]>>>;
1561
- canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1704
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1562
1705
  id: z.ZodString;
1563
- firstName: z.ZodString;
1564
- lastName: z.ZodString;
1706
+ name: z.ZodString;
1565
1707
  }, "strip", z.ZodTypeAny, {
1566
1708
  id: string;
1567
- firstName: string;
1568
- lastName: string;
1709
+ name: string;
1569
1710
  }, {
1570
1711
  id: string;
1712
+ name: string;
1713
+ }>>>;
1714
+ canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1715
+ id: z.ZodString;
1716
+ firstName: z.ZodString;
1717
+ lastName: z.ZodString;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ lastName: string;
1571
1720
  firstName: string;
1721
+ id: string;
1722
+ }, {
1572
1723
  lastName: string;
1724
+ firstName: string;
1725
+ id: string;
1573
1726
  }>, "many">>;
1574
1727
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1575
1728
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1576
1729
  }, "strip", z.ZodTypeAny, {
1577
- id: string;
1578
- firstName: string;
1579
1730
  lastName: string;
1731
+ firstName: string;
1580
1732
  email: string;
1581
1733
  createdAt: string;
1582
- updatedAt: string;
1734
+ id: string;
1583
1735
  phoneNumbers: {
1584
1736
  id: string;
1585
1737
  phoneNumber: string;
1586
1738
  isPrimary: boolean;
1587
1739
  description?: string | null | undefined;
1588
1740
  }[];
1741
+ updatedAt: string;
1742
+ office?: {
1743
+ id: string;
1744
+ name: string;
1745
+ } | null | undefined;
1589
1746
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1590
- 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;
1591
1747
  canImpersonateUsers?: {
1592
- id: string;
1593
- firstName: string;
1594
1748
  lastName: string;
1749
+ firstName: string;
1750
+ id: string;
1595
1751
  }[] | undefined;
1596
1752
  }, {
1597
- id: string;
1598
- firstName: string;
1599
1753
  lastName: string;
1754
+ firstName: string;
1600
1755
  email: string;
1601
1756
  createdAt: string | Date;
1757
+ id: string;
1602
1758
  updatedAt: string | Date;
1759
+ office?: {
1760
+ id: string;
1761
+ name: string;
1762
+ } | null | undefined;
1603
1763
  phoneNumbers?: {
1604
1764
  id: string;
1605
1765
  phoneNumber: string;
@@ -1607,11 +1767,10 @@ export declare const agentClientLinksContract: {
1607
1767
  isPrimary?: boolean | undefined;
1608
1768
  }[] | undefined;
1609
1769
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1610
- 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;
1611
1770
  canImpersonateUsers?: {
1612
- id: string;
1613
- firstName: string;
1614
1771
  lastName: string;
1772
+ firstName: string;
1773
+ id: string;
1615
1774
  }[] | undefined;
1616
1775
  }>;
1617
1776
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -1641,49 +1800,65 @@ export declare const agentClientLinksContract: {
1641
1800
  isPrimary?: boolean | undefined;
1642
1801
  }>, "many">>>;
1643
1802
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
1644
- 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"]>>>;
1803
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1804
+ id: z.ZodString;
1805
+ name: z.ZodString;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ id: string;
1808
+ name: string;
1809
+ }, {
1810
+ id: string;
1811
+ name: string;
1812
+ }>>>;
1645
1813
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1646
1814
  id: z.ZodString;
1647
1815
  firstName: z.ZodString;
1648
1816
  lastName: z.ZodString;
1649
1817
  }, "strip", z.ZodTypeAny, {
1650
- id: string;
1651
- firstName: string;
1652
1818
  lastName: string;
1653
- }, {
1654
- id: string;
1655
1819
  firstName: string;
1820
+ id: string;
1821
+ }, {
1656
1822
  lastName: string;
1823
+ firstName: string;
1824
+ id: string;
1657
1825
  }>, "many">>;
1658
1826
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1659
1827
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1660
1828
  }, "strip", z.ZodTypeAny, {
1661
- id: string;
1662
- firstName: string;
1663
1829
  lastName: string;
1830
+ firstName: string;
1664
1831
  email: string;
1665
1832
  createdAt: string;
1666
- updatedAt: string;
1833
+ id: string;
1667
1834
  phoneNumbers: {
1668
1835
  id: string;
1669
1836
  phoneNumber: string;
1670
1837
  isPrimary: boolean;
1671
1838
  description?: string | null | undefined;
1672
1839
  }[];
1840
+ updatedAt: string;
1841
+ office?: {
1842
+ id: string;
1843
+ name: string;
1844
+ } | null | undefined;
1673
1845
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1674
- 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;
1675
1846
  canImpersonateUsers?: {
1676
- id: string;
1677
- firstName: string;
1678
1847
  lastName: string;
1848
+ firstName: string;
1849
+ id: string;
1679
1850
  }[] | undefined;
1680
1851
  }, {
1681
- id: string;
1682
- firstName: string;
1683
1852
  lastName: string;
1853
+ firstName: string;
1684
1854
  email: string;
1685
1855
  createdAt: string | Date;
1856
+ id: string;
1686
1857
  updatedAt: string | Date;
1858
+ office?: {
1859
+ id: string;
1860
+ name: string;
1861
+ } | null | undefined;
1687
1862
  phoneNumbers?: {
1688
1863
  id: string;
1689
1864
  phoneNumber: string;
@@ -1691,11 +1866,10 @@ export declare const agentClientLinksContract: {
1691
1866
  isPrimary?: boolean | undefined;
1692
1867
  }[] | undefined;
1693
1868
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1694
- 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;
1695
1869
  canImpersonateUsers?: {
1696
- id: string;
1697
- firstName: string;
1698
1870
  lastName: string;
1871
+ firstName: string;
1872
+ id: string;
1699
1873
  }[] | undefined;
1700
1874
  }>>>;
1701
1875
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -1722,49 +1896,65 @@ export declare const agentClientLinksContract: {
1722
1896
  isPrimary?: boolean | undefined;
1723
1897
  }>, "many">>>;
1724
1898
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
1725
- 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"]>>>;
1899
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1900
+ id: z.ZodString;
1901
+ name: z.ZodString;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ id: string;
1904
+ name: string;
1905
+ }, {
1906
+ id: string;
1907
+ name: string;
1908
+ }>>>;
1726
1909
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1727
1910
  id: z.ZodString;
1728
1911
  firstName: z.ZodString;
1729
1912
  lastName: z.ZodString;
1730
1913
  }, "strip", z.ZodTypeAny, {
1731
- id: string;
1732
- firstName: string;
1733
1914
  lastName: string;
1734
- }, {
1735
- id: string;
1736
1915
  firstName: string;
1916
+ id: string;
1917
+ }, {
1737
1918
  lastName: string;
1919
+ firstName: string;
1920
+ id: string;
1738
1921
  }>, "many">>;
1739
1922
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1740
1923
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1741
1924
  }, "strip", z.ZodTypeAny, {
1742
- id: string;
1743
- firstName: string;
1744
1925
  lastName: string;
1926
+ firstName: string;
1745
1927
  email: string;
1746
1928
  createdAt: string;
1747
- updatedAt: string;
1929
+ id: string;
1748
1930
  phoneNumbers: {
1749
1931
  id: string;
1750
1932
  phoneNumber: string;
1751
1933
  isPrimary: boolean;
1752
1934
  description?: string | null | undefined;
1753
1935
  }[];
1936
+ updatedAt: string;
1937
+ office?: {
1938
+ id: string;
1939
+ name: string;
1940
+ } | null | undefined;
1754
1941
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1755
- 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;
1756
1942
  canImpersonateUsers?: {
1757
- id: string;
1758
- firstName: string;
1759
1943
  lastName: string;
1944
+ firstName: string;
1945
+ id: string;
1760
1946
  }[] | undefined;
1761
1947
  }, {
1762
- id: string;
1763
- firstName: string;
1764
1948
  lastName: string;
1949
+ firstName: string;
1765
1950
  email: string;
1766
1951
  createdAt: string | Date;
1952
+ id: string;
1767
1953
  updatedAt: string | Date;
1954
+ office?: {
1955
+ id: string;
1956
+ name: string;
1957
+ } | null | undefined;
1768
1958
  phoneNumbers?: {
1769
1959
  id: string;
1770
1960
  phoneNumber: string;
@@ -1772,170 +1962,185 @@ export declare const agentClientLinksContract: {
1772
1962
  isPrimary?: boolean | undefined;
1773
1963
  }[] | undefined;
1774
1964
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1775
- 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;
1776
1965
  canImpersonateUsers?: {
1777
- id: string;
1778
- firstName: string;
1779
1966
  lastName: string;
1967
+ firstName: string;
1968
+ id: string;
1780
1969
  }[] | undefined;
1781
1970
  }>;
1782
1971
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1783
1972
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1784
1973
  }, "strip", z.ZodTypeAny, {
1785
- id: string;
1786
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1787
1974
  createdAt: string;
1975
+ id: string;
1976
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1788
1977
  updatedAt: string;
1789
1978
  agentId: string;
1979
+ agent: {
1980
+ lastName: string;
1981
+ firstName: string;
1982
+ email: string;
1983
+ createdAt: string;
1984
+ id: string;
1985
+ phoneNumbers: {
1986
+ id: string;
1987
+ phoneNumber: string;
1988
+ isPrimary: boolean;
1989
+ description?: string | null | undefined;
1990
+ }[];
1991
+ updatedAt: string;
1992
+ office?: {
1993
+ id: string;
1994
+ name: string;
1995
+ } | null | undefined;
1996
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1997
+ canImpersonateUsers?: {
1998
+ lastName: string;
1999
+ firstName: string;
2000
+ id: string;
2001
+ }[] | undefined;
2002
+ };
1790
2003
  clientId: string;
1791
2004
  client: {
2005
+ createdAt: string;
1792
2006
  id: string;
1793
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2007
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1794
2008
  name: string;
2009
+ updatedAt: string;
1795
2010
  crn: string | null;
1796
2011
  govLink: string | null;
1797
2012
  soleTrader: boolean;
1798
2013
  director: string;
1799
- createdAt: string;
1800
- updatedAt: string;
1801
2014
  blacklistReason?: string | null | undefined;
1802
2015
  lastUpdatedBy?: {
1803
- id: string;
1804
- firstName: string;
1805
2016
  lastName: string;
2017
+ firstName: string;
1806
2018
  email: string;
2019
+ id: string;
1807
2020
  } | null | undefined;
1808
2021
  agentClientLinks?: {
1809
2022
  agentId: string;
1810
2023
  } | null | undefined;
1811
2024
  };
2025
+ linkType: "CREATION" | "EDIT_SUGGESTION";
1812
2026
  createdBy: string;
1813
- agent: {
1814
- id: string;
1815
- firstName: string;
2027
+ creator: {
1816
2028
  lastName: string;
2029
+ firstName: string;
1817
2030
  email: string;
1818
2031
  createdAt: string;
1819
- updatedAt: string;
2032
+ id: string;
1820
2033
  phoneNumbers: {
1821
2034
  id: string;
1822
2035
  phoneNumber: string;
1823
2036
  isPrimary: boolean;
1824
2037
  description?: string | null | undefined;
1825
2038
  }[];
1826
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1827
- 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;
1828
- canImpersonateUsers?: {
1829
- id: string;
1830
- firstName: string;
1831
- lastName: string;
1832
- }[] | undefined;
1833
- };
1834
- linkType: "CREATION" | "EDIT_SUGGESTION";
1835
- creator: {
1836
- id: string;
1837
- firstName: string;
1838
- lastName: string;
1839
- email: string;
1840
- createdAt: string;
1841
2039
  updatedAt: string;
1842
- phoneNumbers: {
2040
+ office?: {
1843
2041
  id: string;
1844
- phoneNumber: string;
1845
- isPrimary: boolean;
1846
- description?: string | null | undefined;
1847
- }[];
2042
+ name: string;
2043
+ } | null | undefined;
1848
2044
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1849
- 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;
1850
2045
  canImpersonateUsers?: {
1851
- id: string;
1852
- firstName: string;
1853
2046
  lastName: string;
2047
+ firstName: string;
2048
+ id: string;
1854
2049
  }[] | undefined;
1855
2050
  };
1856
2051
  suggestedChanges?: Record<string, unknown> | null | undefined;
1857
2052
  appliedChanges?: Record<string, unknown> | null | undefined;
1858
2053
  reviewedBy?: string | null | undefined;
1859
2054
  reviewer?: {
1860
- id: string;
1861
- firstName: string;
1862
2055
  lastName: string;
2056
+ firstName: string;
1863
2057
  email: string;
1864
2058
  createdAt: string;
1865
- updatedAt: string;
2059
+ id: string;
1866
2060
  phoneNumbers: {
1867
2061
  id: string;
1868
2062
  phoneNumber: string;
1869
2063
  isPrimary: boolean;
1870
2064
  description?: string | null | undefined;
1871
2065
  }[];
2066
+ updatedAt: string;
2067
+ office?: {
2068
+ id: string;
2069
+ name: string;
2070
+ } | null | undefined;
1872
2071
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1873
- 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;
1874
2072
  canImpersonateUsers?: {
1875
- id: string;
1876
- firstName: string;
1877
2073
  lastName: string;
2074
+ firstName: string;
2075
+ id: string;
1878
2076
  }[] | undefined;
1879
2077
  } | null | undefined;
1880
2078
  reviewedAt?: string | null | undefined;
1881
2079
  }, {
1882
- id: string;
1883
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1884
2080
  createdAt: string | Date;
2081
+ id: string;
2082
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1885
2083
  updatedAt: string | Date;
1886
2084
  agentId: string;
2085
+ agent: {
2086
+ lastName: string;
2087
+ firstName: string;
2088
+ email: string;
2089
+ createdAt: string | Date;
2090
+ id: string;
2091
+ updatedAt: string | Date;
2092
+ office?: {
2093
+ id: string;
2094
+ name: string;
2095
+ } | null | undefined;
2096
+ phoneNumbers?: {
2097
+ id: string;
2098
+ phoneNumber: string;
2099
+ description?: string | null | undefined;
2100
+ isPrimary?: boolean | undefined;
2101
+ }[] | undefined;
2102
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2103
+ canImpersonateUsers?: {
2104
+ lastName: string;
2105
+ firstName: string;
2106
+ id: string;
2107
+ }[] | undefined;
2108
+ };
1887
2109
  clientId: string;
1888
2110
  client: {
2111
+ createdAt: string | Date;
1889
2112
  id: string;
1890
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2113
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1891
2114
  name: string;
2115
+ updatedAt: string | Date;
1892
2116
  crn: string | null;
1893
2117
  govLink: string | null;
1894
2118
  soleTrader: boolean;
1895
2119
  director: string;
1896
- createdAt: string | Date;
1897
- updatedAt: string | Date;
1898
2120
  blacklistReason?: string | null | undefined;
1899
2121
  lastUpdatedBy?: {
1900
- id: string;
1901
- firstName: string;
1902
2122
  lastName: string;
2123
+ firstName: string;
1903
2124
  email: string;
2125
+ id: string;
1904
2126
  } | null | undefined;
1905
2127
  agentClientLinks?: {
1906
2128
  agentId: string;
1907
2129
  } | null | undefined;
1908
2130
  };
1909
- createdBy: string;
1910
- agent: {
1911
- id: string;
1912
- firstName: string;
1913
- lastName: string;
1914
- email: string;
1915
- createdAt: string | Date;
1916
- updatedAt: string | Date;
1917
- phoneNumbers?: {
1918
- id: string;
1919
- phoneNumber: string;
1920
- description?: string | null | undefined;
1921
- isPrimary?: boolean | undefined;
1922
- }[] | undefined;
1923
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1924
- 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;
1925
- canImpersonateUsers?: {
1926
- id: string;
1927
- firstName: string;
1928
- lastName: string;
1929
- }[] | undefined;
1930
- };
1931
2131
  linkType: "CREATION" | "EDIT_SUGGESTION";
2132
+ createdBy: string;
1932
2133
  creator: {
1933
- id: string;
1934
- firstName: string;
1935
2134
  lastName: string;
2135
+ firstName: string;
1936
2136
  email: string;
1937
2137
  createdAt: string | Date;
2138
+ id: string;
1938
2139
  updatedAt: string | Date;
2140
+ office?: {
2141
+ id: string;
2142
+ name: string;
2143
+ } | null | undefined;
1939
2144
  phoneNumbers?: {
1940
2145
  id: string;
1941
2146
  phoneNumber: string;
@@ -1943,23 +2148,26 @@ export declare const agentClientLinksContract: {
1943
2148
  isPrimary?: boolean | undefined;
1944
2149
  }[] | undefined;
1945
2150
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1946
- 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;
1947
2151
  canImpersonateUsers?: {
1948
- id: string;
1949
- firstName: string;
1950
2152
  lastName: string;
2153
+ firstName: string;
2154
+ id: string;
1951
2155
  }[] | undefined;
1952
2156
  };
1953
2157
  suggestedChanges?: Record<string, unknown> | null | undefined;
1954
2158
  appliedChanges?: Record<string, unknown> | null | undefined;
1955
2159
  reviewedBy?: string | null | undefined;
1956
2160
  reviewer?: {
1957
- id: string;
1958
- firstName: string;
1959
2161
  lastName: string;
2162
+ firstName: string;
1960
2163
  email: string;
1961
2164
  createdAt: string | Date;
2165
+ id: string;
1962
2166
  updatedAt: string | Date;
2167
+ office?: {
2168
+ id: string;
2169
+ name: string;
2170
+ } | null | undefined;
1963
2171
  phoneNumbers?: {
1964
2172
  id: string;
1965
2173
  phoneNumber: string;
@@ -1967,12 +2175,11 @@ export declare const agentClientLinksContract: {
1967
2175
  isPrimary?: boolean | undefined;
1968
2176
  }[] | undefined;
1969
2177
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1970
- 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;
1971
2178
  canImpersonateUsers?: {
1972
- id: string;
1973
- firstName: string;
1974
2179
  lastName: string;
1975
- }[] | undefined;
2180
+ firstName: string;
2181
+ id: string;
2182
+ }[] | undefined;
1976
2183
  } | null | undefined;
1977
2184
  reviewedAt?: string | Date | null | undefined;
1978
2185
  }>, "many">;
@@ -1984,99 +2191,108 @@ export declare const agentClientLinksContract: {
1984
2191
  }, "strip", z.ZodTypeAny, {
1985
2192
  limit: number;
1986
2193
  items: {
1987
- id: string;
1988
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
1989
2194
  createdAt: string;
2195
+ id: string;
2196
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
1990
2197
  updatedAt: string;
1991
2198
  agentId: string;
2199
+ agent: {
2200
+ lastName: string;
2201
+ firstName: string;
2202
+ email: string;
2203
+ createdAt: string;
2204
+ id: string;
2205
+ phoneNumbers: {
2206
+ id: string;
2207
+ phoneNumber: string;
2208
+ isPrimary: boolean;
2209
+ description?: string | null | undefined;
2210
+ }[];
2211
+ updatedAt: string;
2212
+ office?: {
2213
+ id: string;
2214
+ name: string;
2215
+ } | null | undefined;
2216
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2217
+ canImpersonateUsers?: {
2218
+ lastName: string;
2219
+ firstName: string;
2220
+ id: string;
2221
+ }[] | undefined;
2222
+ };
1992
2223
  clientId: string;
1993
2224
  client: {
2225
+ createdAt: string;
1994
2226
  id: string;
1995
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2227
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1996
2228
  name: string;
2229
+ updatedAt: string;
1997
2230
  crn: string | null;
1998
2231
  govLink: string | null;
1999
2232
  soleTrader: boolean;
2000
2233
  director: string;
2001
- createdAt: string;
2002
- updatedAt: string;
2003
2234
  blacklistReason?: string | null | undefined;
2004
2235
  lastUpdatedBy?: {
2005
- id: string;
2006
- firstName: string;
2007
2236
  lastName: string;
2237
+ firstName: string;
2008
2238
  email: string;
2239
+ id: string;
2009
2240
  } | null | undefined;
2010
2241
  agentClientLinks?: {
2011
2242
  agentId: string;
2012
2243
  } | null | undefined;
2013
2244
  };
2245
+ linkType: "CREATION" | "EDIT_SUGGESTION";
2014
2246
  createdBy: string;
2015
- agent: {
2016
- id: string;
2017
- firstName: string;
2247
+ creator: {
2018
2248
  lastName: string;
2249
+ firstName: string;
2019
2250
  email: string;
2020
2251
  createdAt: string;
2021
- updatedAt: string;
2252
+ id: string;
2022
2253
  phoneNumbers: {
2023
2254
  id: string;
2024
2255
  phoneNumber: string;
2025
2256
  isPrimary: boolean;
2026
2257
  description?: string | null | undefined;
2027
2258
  }[];
2028
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2029
- 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;
2030
- canImpersonateUsers?: {
2031
- id: string;
2032
- firstName: string;
2033
- lastName: string;
2034
- }[] | undefined;
2035
- };
2036
- linkType: "CREATION" | "EDIT_SUGGESTION";
2037
- creator: {
2038
- id: string;
2039
- firstName: string;
2040
- lastName: string;
2041
- email: string;
2042
- createdAt: string;
2043
2259
  updatedAt: string;
2044
- phoneNumbers: {
2260
+ office?: {
2045
2261
  id: string;
2046
- phoneNumber: string;
2047
- isPrimary: boolean;
2048
- description?: string | null | undefined;
2049
- }[];
2262
+ name: string;
2263
+ } | null | undefined;
2050
2264
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2051
- 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;
2052
2265
  canImpersonateUsers?: {
2053
- id: string;
2054
- firstName: string;
2055
2266
  lastName: string;
2267
+ firstName: string;
2268
+ id: string;
2056
2269
  }[] | undefined;
2057
2270
  };
2058
2271
  suggestedChanges?: Record<string, unknown> | null | undefined;
2059
2272
  appliedChanges?: Record<string, unknown> | null | undefined;
2060
2273
  reviewedBy?: string | null | undefined;
2061
2274
  reviewer?: {
2062
- id: string;
2063
- firstName: string;
2064
2275
  lastName: string;
2276
+ firstName: string;
2065
2277
  email: string;
2066
2278
  createdAt: string;
2067
- updatedAt: string;
2279
+ id: string;
2068
2280
  phoneNumbers: {
2069
2281
  id: string;
2070
2282
  phoneNumber: string;
2071
2283
  isPrimary: boolean;
2072
2284
  description?: string | null | undefined;
2073
2285
  }[];
2286
+ updatedAt: string;
2287
+ office?: {
2288
+ id: string;
2289
+ name: string;
2290
+ } | null | undefined;
2074
2291
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2075
- 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;
2076
2292
  canImpersonateUsers?: {
2077
- id: string;
2078
- firstName: string;
2079
2293
  lastName: string;
2294
+ firstName: string;
2295
+ id: string;
2080
2296
  }[] | undefined;
2081
2297
  } | null | undefined;
2082
2298
  reviewedAt?: string | null | undefined;
@@ -2088,63 +2304,70 @@ export declare const agentClientLinksContract: {
2088
2304
  }, {
2089
2305
  limit: number;
2090
2306
  items: {
2091
- id: string;
2092
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
2093
2307
  createdAt: string | Date;
2308
+ id: string;
2309
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
2094
2310
  updatedAt: string | Date;
2095
2311
  agentId: string;
2312
+ agent: {
2313
+ lastName: string;
2314
+ firstName: string;
2315
+ email: string;
2316
+ createdAt: string | Date;
2317
+ id: string;
2318
+ updatedAt: string | Date;
2319
+ office?: {
2320
+ id: string;
2321
+ name: string;
2322
+ } | null | undefined;
2323
+ phoneNumbers?: {
2324
+ id: string;
2325
+ phoneNumber: string;
2326
+ description?: string | null | undefined;
2327
+ isPrimary?: boolean | undefined;
2328
+ }[] | undefined;
2329
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2330
+ canImpersonateUsers?: {
2331
+ lastName: string;
2332
+ firstName: string;
2333
+ id: string;
2334
+ }[] | undefined;
2335
+ };
2096
2336
  clientId: string;
2097
2337
  client: {
2338
+ createdAt: string | Date;
2098
2339
  id: string;
2099
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2340
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2100
2341
  name: string;
2342
+ updatedAt: string | Date;
2101
2343
  crn: string | null;
2102
2344
  govLink: string | null;
2103
2345
  soleTrader: boolean;
2104
2346
  director: string;
2105
- createdAt: string | Date;
2106
- updatedAt: string | Date;
2107
2347
  blacklistReason?: string | null | undefined;
2108
2348
  lastUpdatedBy?: {
2109
- id: string;
2110
- firstName: string;
2111
2349
  lastName: string;
2350
+ firstName: string;
2112
2351
  email: string;
2352
+ id: string;
2113
2353
  } | null | undefined;
2114
2354
  agentClientLinks?: {
2115
2355
  agentId: string;
2116
2356
  } | null | undefined;
2117
2357
  };
2118
- createdBy: string;
2119
- agent: {
2120
- id: string;
2121
- firstName: string;
2122
- lastName: string;
2123
- email: string;
2124
- createdAt: string | Date;
2125
- updatedAt: string | Date;
2126
- phoneNumbers?: {
2127
- id: string;
2128
- phoneNumber: string;
2129
- description?: string | null | undefined;
2130
- isPrimary?: boolean | undefined;
2131
- }[] | undefined;
2132
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2133
- 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;
2134
- canImpersonateUsers?: {
2135
- id: string;
2136
- firstName: string;
2137
- lastName: string;
2138
- }[] | undefined;
2139
- };
2140
2358
  linkType: "CREATION" | "EDIT_SUGGESTION";
2359
+ createdBy: string;
2141
2360
  creator: {
2142
- id: string;
2143
- firstName: string;
2144
2361
  lastName: string;
2362
+ firstName: string;
2145
2363
  email: string;
2146
2364
  createdAt: string | Date;
2365
+ id: string;
2147
2366
  updatedAt: string | Date;
2367
+ office?: {
2368
+ id: string;
2369
+ name: string;
2370
+ } | null | undefined;
2148
2371
  phoneNumbers?: {
2149
2372
  id: string;
2150
2373
  phoneNumber: string;
@@ -2152,23 +2375,26 @@ export declare const agentClientLinksContract: {
2152
2375
  isPrimary?: boolean | undefined;
2153
2376
  }[] | undefined;
2154
2377
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2155
- 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;
2156
2378
  canImpersonateUsers?: {
2157
- id: string;
2158
- firstName: string;
2159
2379
  lastName: string;
2380
+ firstName: string;
2381
+ id: string;
2160
2382
  }[] | undefined;
2161
2383
  };
2162
2384
  suggestedChanges?: Record<string, unknown> | null | undefined;
2163
2385
  appliedChanges?: Record<string, unknown> | null | undefined;
2164
2386
  reviewedBy?: string | null | undefined;
2165
2387
  reviewer?: {
2166
- id: string;
2167
- firstName: string;
2168
2388
  lastName: string;
2389
+ firstName: string;
2169
2390
  email: string;
2170
2391
  createdAt: string | Date;
2392
+ id: string;
2171
2393
  updatedAt: string | Date;
2394
+ office?: {
2395
+ id: string;
2396
+ name: string;
2397
+ } | null | undefined;
2172
2398
  phoneNumbers?: {
2173
2399
  id: string;
2174
2400
  phoneNumber: string;
@@ -2176,11 +2402,10 @@ export declare const agentClientLinksContract: {
2176
2402
  isPrimary?: boolean | undefined;
2177
2403
  }[] | undefined;
2178
2404
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2179
- 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;
2180
2405
  canImpersonateUsers?: {
2181
- id: string;
2182
- firstName: string;
2183
2406
  lastName: string;
2407
+ firstName: string;
2408
+ id: string;
2184
2409
  }[] | undefined;
2185
2410
  } | null | undefined;
2186
2411
  reviewedAt?: string | Date | null | undefined;
@@ -2325,15 +2550,15 @@ export declare const agentClientLinksContract: {
2325
2550
  lastName: z.ZodString;
2326
2551
  email: z.ZodString;
2327
2552
  }, "strip", z.ZodTypeAny, {
2328
- id: string;
2329
- firstName: string;
2330
2553
  lastName: string;
2554
+ firstName: string;
2331
2555
  email: string;
2332
- }, {
2333
2556
  id: string;
2334
- firstName: string;
2557
+ }, {
2335
2558
  lastName: string;
2559
+ firstName: string;
2336
2560
  email: string;
2561
+ id: string;
2337
2562
  }>>>;
2338
2563
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2339
2564
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -2345,41 +2570,41 @@ export declare const agentClientLinksContract: {
2345
2570
  agentId: string;
2346
2571
  }>>>;
2347
2572
  }, "strip", z.ZodTypeAny, {
2573
+ createdAt: string;
2348
2574
  id: string;
2349
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2575
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2350
2576
  name: string;
2577
+ updatedAt: string;
2351
2578
  crn: string | null;
2352
2579
  govLink: string | null;
2353
2580
  soleTrader: boolean;
2354
2581
  director: string;
2355
- createdAt: string;
2356
- updatedAt: string;
2357
2582
  blacklistReason?: string | null | undefined;
2358
2583
  lastUpdatedBy?: {
2359
- id: string;
2360
- firstName: string;
2361
2584
  lastName: string;
2585
+ firstName: string;
2362
2586
  email: string;
2587
+ id: string;
2363
2588
  } | null | undefined;
2364
2589
  agentClientLinks?: {
2365
2590
  agentId: string;
2366
2591
  } | null | undefined;
2367
2592
  }, {
2593
+ createdAt: string | Date;
2368
2594
  id: string;
2369
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2595
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2370
2596
  name: string;
2597
+ updatedAt: string | Date;
2371
2598
  crn: string | null;
2372
2599
  govLink: string | null;
2373
2600
  soleTrader: boolean;
2374
2601
  director: string;
2375
- createdAt: string | Date;
2376
- updatedAt: string | Date;
2377
2602
  blacklistReason?: string | null | undefined;
2378
2603
  lastUpdatedBy?: {
2379
- id: string;
2380
- firstName: string;
2381
2604
  lastName: string;
2605
+ firstName: string;
2382
2606
  email: string;
2607
+ id: string;
2383
2608
  } | null | undefined;
2384
2609
  agentClientLinks?: {
2385
2610
  agentId: string;
@@ -2408,49 +2633,65 @@ export declare const agentClientLinksContract: {
2408
2633
  isPrimary?: boolean | undefined;
2409
2634
  }>, "many">>>;
2410
2635
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
2411
- 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"]>>>;
2636
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2637
+ id: z.ZodString;
2638
+ name: z.ZodString;
2639
+ }, "strip", z.ZodTypeAny, {
2640
+ id: string;
2641
+ name: string;
2642
+ }, {
2643
+ id: string;
2644
+ name: string;
2645
+ }>>>;
2412
2646
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2413
2647
  id: z.ZodString;
2414
2648
  firstName: z.ZodString;
2415
2649
  lastName: z.ZodString;
2416
2650
  }, "strip", z.ZodTypeAny, {
2417
- id: string;
2418
- firstName: string;
2419
2651
  lastName: string;
2420
- }, {
2421
- id: string;
2422
2652
  firstName: string;
2653
+ id: string;
2654
+ }, {
2423
2655
  lastName: string;
2656
+ firstName: string;
2657
+ id: string;
2424
2658
  }>, "many">>;
2425
2659
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2426
2660
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2427
2661
  }, "strip", z.ZodTypeAny, {
2428
- id: string;
2429
- firstName: string;
2430
2662
  lastName: string;
2663
+ firstName: string;
2431
2664
  email: string;
2432
2665
  createdAt: string;
2433
- updatedAt: string;
2666
+ id: string;
2434
2667
  phoneNumbers: {
2435
2668
  id: string;
2436
2669
  phoneNumber: string;
2437
2670
  isPrimary: boolean;
2438
2671
  description?: string | null | undefined;
2439
2672
  }[];
2673
+ updatedAt: string;
2674
+ office?: {
2675
+ id: string;
2676
+ name: string;
2677
+ } | null | undefined;
2440
2678
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2441
- 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;
2442
2679
  canImpersonateUsers?: {
2443
- id: string;
2444
- firstName: string;
2445
2680
  lastName: string;
2681
+ firstName: string;
2682
+ id: string;
2446
2683
  }[] | undefined;
2447
2684
  }, {
2448
- id: string;
2449
- firstName: string;
2450
2685
  lastName: string;
2686
+ firstName: string;
2451
2687
  email: string;
2452
2688
  createdAt: string | Date;
2689
+ id: string;
2453
2690
  updatedAt: string | Date;
2691
+ office?: {
2692
+ id: string;
2693
+ name: string;
2694
+ } | null | undefined;
2454
2695
  phoneNumbers?: {
2455
2696
  id: string;
2456
2697
  phoneNumber: string;
@@ -2458,11 +2699,10 @@ export declare const agentClientLinksContract: {
2458
2699
  isPrimary?: boolean | undefined;
2459
2700
  }[] | undefined;
2460
2701
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2461
- 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;
2462
2702
  canImpersonateUsers?: {
2463
- id: string;
2464
- firstName: string;
2465
2703
  lastName: string;
2704
+ firstName: string;
2705
+ id: string;
2466
2706
  }[] | undefined;
2467
2707
  }>;
2468
2708
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -2492,49 +2732,65 @@ export declare const agentClientLinksContract: {
2492
2732
  isPrimary?: boolean | undefined;
2493
2733
  }>, "many">>>;
2494
2734
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
2495
- 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"]>>>;
2735
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2736
+ id: z.ZodString;
2737
+ name: z.ZodString;
2738
+ }, "strip", z.ZodTypeAny, {
2739
+ id: string;
2740
+ name: string;
2741
+ }, {
2742
+ id: string;
2743
+ name: string;
2744
+ }>>>;
2496
2745
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2497
2746
  id: z.ZodString;
2498
2747
  firstName: z.ZodString;
2499
2748
  lastName: z.ZodString;
2500
2749
  }, "strip", z.ZodTypeAny, {
2501
- id: string;
2502
- firstName: string;
2503
2750
  lastName: string;
2504
- }, {
2505
- id: string;
2506
2751
  firstName: string;
2752
+ id: string;
2753
+ }, {
2507
2754
  lastName: string;
2755
+ firstName: string;
2756
+ id: string;
2508
2757
  }>, "many">>;
2509
2758
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2510
2759
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2511
2760
  }, "strip", z.ZodTypeAny, {
2512
- id: string;
2513
- firstName: string;
2514
2761
  lastName: string;
2762
+ firstName: string;
2515
2763
  email: string;
2516
2764
  createdAt: string;
2517
- updatedAt: string;
2765
+ id: string;
2518
2766
  phoneNumbers: {
2519
2767
  id: string;
2520
2768
  phoneNumber: string;
2521
2769
  isPrimary: boolean;
2522
2770
  description?: string | null | undefined;
2523
2771
  }[];
2772
+ updatedAt: string;
2773
+ office?: {
2774
+ id: string;
2775
+ name: string;
2776
+ } | null | undefined;
2524
2777
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2525
- 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;
2526
2778
  canImpersonateUsers?: {
2527
- id: string;
2528
- firstName: string;
2529
2779
  lastName: string;
2780
+ firstName: string;
2781
+ id: string;
2530
2782
  }[] | undefined;
2531
2783
  }, {
2532
- id: string;
2533
- firstName: string;
2534
2784
  lastName: string;
2785
+ firstName: string;
2535
2786
  email: string;
2536
2787
  createdAt: string | Date;
2788
+ id: string;
2537
2789
  updatedAt: string | Date;
2790
+ office?: {
2791
+ id: string;
2792
+ name: string;
2793
+ } | null | undefined;
2538
2794
  phoneNumbers?: {
2539
2795
  id: string;
2540
2796
  phoneNumber: string;
@@ -2542,11 +2798,10 @@ export declare const agentClientLinksContract: {
2542
2798
  isPrimary?: boolean | undefined;
2543
2799
  }[] | undefined;
2544
2800
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2545
- 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;
2546
2801
  canImpersonateUsers?: {
2547
- id: string;
2548
- firstName: string;
2549
2802
  lastName: string;
2803
+ firstName: string;
2804
+ id: string;
2550
2805
  }[] | undefined;
2551
2806
  }>>>;
2552
2807
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -2573,49 +2828,65 @@ export declare const agentClientLinksContract: {
2573
2828
  isPrimary?: boolean | undefined;
2574
2829
  }>, "many">>>;
2575
2830
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
2576
- 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"]>>>;
2831
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2832
+ id: z.ZodString;
2833
+ name: z.ZodString;
2834
+ }, "strip", z.ZodTypeAny, {
2835
+ id: string;
2836
+ name: string;
2837
+ }, {
2838
+ id: string;
2839
+ name: string;
2840
+ }>>>;
2577
2841
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2578
2842
  id: z.ZodString;
2579
2843
  firstName: z.ZodString;
2580
2844
  lastName: z.ZodString;
2581
2845
  }, "strip", z.ZodTypeAny, {
2582
- id: string;
2583
- firstName: string;
2584
2846
  lastName: string;
2585
- }, {
2586
- id: string;
2587
2847
  firstName: string;
2848
+ id: string;
2849
+ }, {
2588
2850
  lastName: string;
2851
+ firstName: string;
2852
+ id: string;
2589
2853
  }>, "many">>;
2590
2854
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2591
2855
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2592
2856
  }, "strip", z.ZodTypeAny, {
2593
- id: string;
2594
- firstName: string;
2595
2857
  lastName: string;
2858
+ firstName: string;
2596
2859
  email: string;
2597
2860
  createdAt: string;
2598
- updatedAt: string;
2861
+ id: string;
2599
2862
  phoneNumbers: {
2600
2863
  id: string;
2601
2864
  phoneNumber: string;
2602
2865
  isPrimary: boolean;
2603
2866
  description?: string | null | undefined;
2604
2867
  }[];
2868
+ updatedAt: string;
2869
+ office?: {
2870
+ id: string;
2871
+ name: string;
2872
+ } | null | undefined;
2605
2873
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2606
- 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;
2607
2874
  canImpersonateUsers?: {
2608
- id: string;
2609
- firstName: string;
2610
2875
  lastName: string;
2876
+ firstName: string;
2877
+ id: string;
2611
2878
  }[] | undefined;
2612
2879
  }, {
2613
- id: string;
2614
- firstName: string;
2615
2880
  lastName: string;
2881
+ firstName: string;
2616
2882
  email: string;
2617
2883
  createdAt: string | Date;
2884
+ id: string;
2618
2885
  updatedAt: string | Date;
2886
+ office?: {
2887
+ id: string;
2888
+ name: string;
2889
+ } | null | undefined;
2619
2890
  phoneNumbers?: {
2620
2891
  id: string;
2621
2892
  phoneNumber: string;
@@ -2623,170 +2894,185 @@ export declare const agentClientLinksContract: {
2623
2894
  isPrimary?: boolean | undefined;
2624
2895
  }[] | undefined;
2625
2896
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2626
- 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;
2627
2897
  canImpersonateUsers?: {
2628
- id: string;
2629
- firstName: string;
2630
2898
  lastName: string;
2899
+ firstName: string;
2900
+ id: string;
2631
2901
  }[] | undefined;
2632
2902
  }>;
2633
2903
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2634
2904
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2635
2905
  }, "strip", z.ZodTypeAny, {
2636
- id: string;
2637
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
2638
2906
  createdAt: string;
2907
+ id: string;
2908
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
2639
2909
  updatedAt: string;
2640
2910
  agentId: string;
2911
+ agent: {
2912
+ lastName: string;
2913
+ firstName: string;
2914
+ email: string;
2915
+ createdAt: string;
2916
+ id: string;
2917
+ phoneNumbers: {
2918
+ id: string;
2919
+ phoneNumber: string;
2920
+ isPrimary: boolean;
2921
+ description?: string | null | undefined;
2922
+ }[];
2923
+ updatedAt: string;
2924
+ office?: {
2925
+ id: string;
2926
+ name: string;
2927
+ } | null | undefined;
2928
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2929
+ canImpersonateUsers?: {
2930
+ lastName: string;
2931
+ firstName: string;
2932
+ id: string;
2933
+ }[] | undefined;
2934
+ };
2641
2935
  clientId: string;
2642
2936
  client: {
2937
+ createdAt: string;
2643
2938
  id: string;
2644
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2939
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2645
2940
  name: string;
2941
+ updatedAt: string;
2646
2942
  crn: string | null;
2647
2943
  govLink: string | null;
2648
2944
  soleTrader: boolean;
2649
2945
  director: string;
2650
- createdAt: string;
2651
- updatedAt: string;
2652
2946
  blacklistReason?: string | null | undefined;
2653
2947
  lastUpdatedBy?: {
2654
- id: string;
2655
- firstName: string;
2656
2948
  lastName: string;
2949
+ firstName: string;
2657
2950
  email: string;
2951
+ id: string;
2658
2952
  } | null | undefined;
2659
2953
  agentClientLinks?: {
2660
2954
  agentId: string;
2661
2955
  } | null | undefined;
2662
2956
  };
2957
+ linkType: "CREATION" | "EDIT_SUGGESTION";
2663
2958
  createdBy: string;
2664
- agent: {
2665
- id: string;
2666
- firstName: string;
2959
+ creator: {
2667
2960
  lastName: string;
2961
+ firstName: string;
2668
2962
  email: string;
2669
2963
  createdAt: string;
2670
- updatedAt: string;
2964
+ id: string;
2671
2965
  phoneNumbers: {
2672
2966
  id: string;
2673
2967
  phoneNumber: string;
2674
2968
  isPrimary: boolean;
2675
2969
  description?: string | null | undefined;
2676
2970
  }[];
2677
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2678
- 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;
2679
- canImpersonateUsers?: {
2680
- id: string;
2681
- firstName: string;
2682
- lastName: string;
2683
- }[] | undefined;
2684
- };
2685
- linkType: "CREATION" | "EDIT_SUGGESTION";
2686
- creator: {
2687
- id: string;
2688
- firstName: string;
2689
- lastName: string;
2690
- email: string;
2691
- createdAt: string;
2692
2971
  updatedAt: string;
2693
- phoneNumbers: {
2972
+ office?: {
2694
2973
  id: string;
2695
- phoneNumber: string;
2696
- isPrimary: boolean;
2697
- description?: string | null | undefined;
2698
- }[];
2974
+ name: string;
2975
+ } | null | undefined;
2699
2976
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2700
- 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;
2701
2977
  canImpersonateUsers?: {
2702
- id: string;
2703
- firstName: string;
2704
2978
  lastName: string;
2979
+ firstName: string;
2980
+ id: string;
2705
2981
  }[] | undefined;
2706
2982
  };
2707
2983
  suggestedChanges?: Record<string, unknown> | null | undefined;
2708
2984
  appliedChanges?: Record<string, unknown> | null | undefined;
2709
2985
  reviewedBy?: string | null | undefined;
2710
2986
  reviewer?: {
2711
- id: string;
2712
- firstName: string;
2713
2987
  lastName: string;
2988
+ firstName: string;
2714
2989
  email: string;
2715
2990
  createdAt: string;
2716
- updatedAt: string;
2991
+ id: string;
2717
2992
  phoneNumbers: {
2718
2993
  id: string;
2719
2994
  phoneNumber: string;
2720
2995
  isPrimary: boolean;
2721
2996
  description?: string | null | undefined;
2722
2997
  }[];
2998
+ updatedAt: string;
2999
+ office?: {
3000
+ id: string;
3001
+ name: string;
3002
+ } | null | undefined;
2723
3003
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2724
- 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;
2725
3004
  canImpersonateUsers?: {
2726
- id: string;
2727
- firstName: string;
2728
3005
  lastName: string;
3006
+ firstName: string;
3007
+ id: string;
2729
3008
  }[] | undefined;
2730
3009
  } | null | undefined;
2731
3010
  reviewedAt?: string | null | undefined;
2732
3011
  }, {
2733
- id: string;
2734
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
2735
3012
  createdAt: string | Date;
3013
+ id: string;
3014
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
2736
3015
  updatedAt: string | Date;
2737
3016
  agentId: string;
3017
+ agent: {
3018
+ lastName: string;
3019
+ firstName: string;
3020
+ email: string;
3021
+ createdAt: string | Date;
3022
+ id: string;
3023
+ updatedAt: string | Date;
3024
+ office?: {
3025
+ id: string;
3026
+ name: string;
3027
+ } | null | undefined;
3028
+ phoneNumbers?: {
3029
+ id: string;
3030
+ phoneNumber: string;
3031
+ description?: string | null | undefined;
3032
+ isPrimary?: boolean | undefined;
3033
+ }[] | undefined;
3034
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3035
+ canImpersonateUsers?: {
3036
+ lastName: string;
3037
+ firstName: string;
3038
+ id: string;
3039
+ }[] | undefined;
3040
+ };
2738
3041
  clientId: string;
2739
3042
  client: {
3043
+ createdAt: string | Date;
2740
3044
  id: string;
2741
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3045
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2742
3046
  name: string;
3047
+ updatedAt: string | Date;
2743
3048
  crn: string | null;
2744
3049
  govLink: string | null;
2745
3050
  soleTrader: boolean;
2746
3051
  director: string;
2747
- createdAt: string | Date;
2748
- updatedAt: string | Date;
2749
3052
  blacklistReason?: string | null | undefined;
2750
3053
  lastUpdatedBy?: {
2751
- id: string;
2752
- firstName: string;
2753
3054
  lastName: string;
3055
+ firstName: string;
2754
3056
  email: string;
3057
+ id: string;
2755
3058
  } | null | undefined;
2756
3059
  agentClientLinks?: {
2757
3060
  agentId: string;
2758
3061
  } | null | undefined;
2759
3062
  };
2760
- createdBy: string;
2761
- agent: {
2762
- id: string;
2763
- firstName: string;
2764
- lastName: string;
2765
- email: string;
2766
- createdAt: string | Date;
2767
- updatedAt: string | Date;
2768
- phoneNumbers?: {
2769
- id: string;
2770
- phoneNumber: string;
2771
- description?: string | null | undefined;
2772
- isPrimary?: boolean | undefined;
2773
- }[] | undefined;
2774
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2775
- 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;
2776
- canImpersonateUsers?: {
2777
- id: string;
2778
- firstName: string;
2779
- lastName: string;
2780
- }[] | undefined;
2781
- };
2782
3063
  linkType: "CREATION" | "EDIT_SUGGESTION";
3064
+ createdBy: string;
2783
3065
  creator: {
2784
- id: string;
2785
- firstName: string;
2786
3066
  lastName: string;
3067
+ firstName: string;
2787
3068
  email: string;
2788
3069
  createdAt: string | Date;
3070
+ id: string;
2789
3071
  updatedAt: string | Date;
3072
+ office?: {
3073
+ id: string;
3074
+ name: string;
3075
+ } | null | undefined;
2790
3076
  phoneNumbers?: {
2791
3077
  id: string;
2792
3078
  phoneNumber: string;
@@ -2794,23 +3080,26 @@ export declare const agentClientLinksContract: {
2794
3080
  isPrimary?: boolean | undefined;
2795
3081
  }[] | undefined;
2796
3082
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2797
- 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;
2798
3083
  canImpersonateUsers?: {
2799
- id: string;
2800
- firstName: string;
2801
3084
  lastName: string;
3085
+ firstName: string;
3086
+ id: string;
2802
3087
  }[] | undefined;
2803
3088
  };
2804
3089
  suggestedChanges?: Record<string, unknown> | null | undefined;
2805
3090
  appliedChanges?: Record<string, unknown> | null | undefined;
2806
3091
  reviewedBy?: string | null | undefined;
2807
3092
  reviewer?: {
2808
- id: string;
2809
- firstName: string;
2810
3093
  lastName: string;
3094
+ firstName: string;
2811
3095
  email: string;
2812
3096
  createdAt: string | Date;
3097
+ id: string;
2813
3098
  updatedAt: string | Date;
3099
+ office?: {
3100
+ id: string;
3101
+ name: string;
3102
+ } | null | undefined;
2814
3103
  phoneNumbers?: {
2815
3104
  id: string;
2816
3105
  phoneNumber: string;
@@ -2818,11 +3107,10 @@ export declare const agentClientLinksContract: {
2818
3107
  isPrimary?: boolean | undefined;
2819
3108
  }[] | undefined;
2820
3109
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
2821
- 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;
2822
3110
  canImpersonateUsers?: {
2823
- id: string;
2824
- firstName: string;
2825
3111
  lastName: string;
3112
+ firstName: string;
3113
+ id: string;
2826
3114
  }[] | undefined;
2827
3115
  } | null | undefined;
2828
3116
  reviewedAt?: string | Date | null | undefined;
@@ -2994,15 +3282,15 @@ export declare const agentClientLinksContract: {
2994
3282
  lastName: z.ZodString;
2995
3283
  email: z.ZodString;
2996
3284
  }, "strip", z.ZodTypeAny, {
2997
- id: string;
2998
- firstName: string;
2999
3285
  lastName: string;
3286
+ firstName: string;
3000
3287
  email: string;
3001
- }, {
3002
3288
  id: string;
3003
- firstName: string;
3289
+ }, {
3004
3290
  lastName: string;
3291
+ firstName: string;
3005
3292
  email: string;
3293
+ id: string;
3006
3294
  }>>>;
3007
3295
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3008
3296
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -3014,41 +3302,41 @@ export declare const agentClientLinksContract: {
3014
3302
  agentId: string;
3015
3303
  }>>>;
3016
3304
  }, "strip", z.ZodTypeAny, {
3305
+ createdAt: string;
3017
3306
  id: string;
3018
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3307
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3019
3308
  name: string;
3309
+ updatedAt: string;
3020
3310
  crn: string | null;
3021
3311
  govLink: string | null;
3022
3312
  soleTrader: boolean;
3023
3313
  director: string;
3024
- createdAt: string;
3025
- updatedAt: string;
3026
3314
  blacklistReason?: string | null | undefined;
3027
3315
  lastUpdatedBy?: {
3028
- id: string;
3029
- firstName: string;
3030
3316
  lastName: string;
3317
+ firstName: string;
3031
3318
  email: string;
3319
+ id: string;
3032
3320
  } | null | undefined;
3033
3321
  agentClientLinks?: {
3034
3322
  agentId: string;
3035
3323
  } | null | undefined;
3036
3324
  }, {
3325
+ createdAt: string | Date;
3037
3326
  id: string;
3038
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3327
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3039
3328
  name: string;
3329
+ updatedAt: string | Date;
3040
3330
  crn: string | null;
3041
3331
  govLink: string | null;
3042
3332
  soleTrader: boolean;
3043
3333
  director: string;
3044
- createdAt: string | Date;
3045
- updatedAt: string | Date;
3046
3334
  blacklistReason?: string | null | undefined;
3047
3335
  lastUpdatedBy?: {
3048
- id: string;
3049
- firstName: string;
3050
3336
  lastName: string;
3337
+ firstName: string;
3051
3338
  email: string;
3339
+ id: string;
3052
3340
  } | null | undefined;
3053
3341
  agentClientLinks?: {
3054
3342
  agentId: string;
@@ -3077,49 +3365,65 @@ export declare const agentClientLinksContract: {
3077
3365
  isPrimary?: boolean | undefined;
3078
3366
  }>, "many">>>;
3079
3367
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3080
- 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"]>>>;
3368
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3369
+ id: z.ZodString;
3370
+ name: z.ZodString;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ id: string;
3373
+ name: string;
3374
+ }, {
3375
+ id: string;
3376
+ name: string;
3377
+ }>>>;
3081
3378
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3082
3379
  id: z.ZodString;
3083
3380
  firstName: z.ZodString;
3084
3381
  lastName: z.ZodString;
3085
3382
  }, "strip", z.ZodTypeAny, {
3086
- id: string;
3087
- firstName: string;
3088
3383
  lastName: string;
3089
- }, {
3090
- id: string;
3091
3384
  firstName: string;
3385
+ id: string;
3386
+ }, {
3092
3387
  lastName: string;
3388
+ firstName: string;
3389
+ id: string;
3093
3390
  }>, "many">>;
3094
3391
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3095
3392
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3096
3393
  }, "strip", z.ZodTypeAny, {
3097
- id: string;
3098
- firstName: string;
3099
3394
  lastName: string;
3395
+ firstName: string;
3100
3396
  email: string;
3101
3397
  createdAt: string;
3102
- updatedAt: string;
3398
+ id: string;
3103
3399
  phoneNumbers: {
3104
3400
  id: string;
3105
3401
  phoneNumber: string;
3106
3402
  isPrimary: boolean;
3107
3403
  description?: string | null | undefined;
3108
3404
  }[];
3405
+ updatedAt: string;
3406
+ office?: {
3407
+ id: string;
3408
+ name: string;
3409
+ } | null | undefined;
3109
3410
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3110
- 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;
3111
3411
  canImpersonateUsers?: {
3112
- id: string;
3113
- firstName: string;
3114
3412
  lastName: string;
3413
+ firstName: string;
3414
+ id: string;
3115
3415
  }[] | undefined;
3116
3416
  }, {
3117
- id: string;
3118
- firstName: string;
3119
3417
  lastName: string;
3418
+ firstName: string;
3120
3419
  email: string;
3121
3420
  createdAt: string | Date;
3421
+ id: string;
3122
3422
  updatedAt: string | Date;
3423
+ office?: {
3424
+ id: string;
3425
+ name: string;
3426
+ } | null | undefined;
3123
3427
  phoneNumbers?: {
3124
3428
  id: string;
3125
3429
  phoneNumber: string;
@@ -3127,11 +3431,10 @@ export declare const agentClientLinksContract: {
3127
3431
  isPrimary?: boolean | undefined;
3128
3432
  }[] | undefined;
3129
3433
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3130
- 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;
3131
3434
  canImpersonateUsers?: {
3132
- id: string;
3133
- firstName: string;
3134
3435
  lastName: string;
3436
+ firstName: string;
3437
+ id: string;
3135
3438
  }[] | undefined;
3136
3439
  }>;
3137
3440
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -3161,49 +3464,65 @@ export declare const agentClientLinksContract: {
3161
3464
  isPrimary?: boolean | undefined;
3162
3465
  }>, "many">>>;
3163
3466
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3164
- 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"]>>>;
3467
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3468
+ id: z.ZodString;
3469
+ name: z.ZodString;
3470
+ }, "strip", z.ZodTypeAny, {
3471
+ id: string;
3472
+ name: string;
3473
+ }, {
3474
+ id: string;
3475
+ name: string;
3476
+ }>>>;
3165
3477
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3166
3478
  id: z.ZodString;
3167
3479
  firstName: z.ZodString;
3168
3480
  lastName: z.ZodString;
3169
3481
  }, "strip", z.ZodTypeAny, {
3170
- id: string;
3171
- firstName: string;
3172
3482
  lastName: string;
3173
- }, {
3174
- id: string;
3175
3483
  firstName: string;
3484
+ id: string;
3485
+ }, {
3176
3486
  lastName: string;
3487
+ firstName: string;
3488
+ id: string;
3177
3489
  }>, "many">>;
3178
3490
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3179
3491
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3180
3492
  }, "strip", z.ZodTypeAny, {
3181
- id: string;
3182
- firstName: string;
3183
3493
  lastName: string;
3494
+ firstName: string;
3184
3495
  email: string;
3185
3496
  createdAt: string;
3186
- updatedAt: string;
3497
+ id: string;
3187
3498
  phoneNumbers: {
3188
3499
  id: string;
3189
3500
  phoneNumber: string;
3190
3501
  isPrimary: boolean;
3191
3502
  description?: string | null | undefined;
3192
3503
  }[];
3504
+ updatedAt: string;
3505
+ office?: {
3506
+ id: string;
3507
+ name: string;
3508
+ } | null | undefined;
3193
3509
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3194
- 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;
3195
3510
  canImpersonateUsers?: {
3196
- id: string;
3197
- firstName: string;
3198
3511
  lastName: string;
3512
+ firstName: string;
3513
+ id: string;
3199
3514
  }[] | undefined;
3200
3515
  }, {
3201
- id: string;
3202
- firstName: string;
3203
3516
  lastName: string;
3517
+ firstName: string;
3204
3518
  email: string;
3205
3519
  createdAt: string | Date;
3520
+ id: string;
3206
3521
  updatedAt: string | Date;
3522
+ office?: {
3523
+ id: string;
3524
+ name: string;
3525
+ } | null | undefined;
3207
3526
  phoneNumbers?: {
3208
3527
  id: string;
3209
3528
  phoneNumber: string;
@@ -3211,11 +3530,10 @@ export declare const agentClientLinksContract: {
3211
3530
  isPrimary?: boolean | undefined;
3212
3531
  }[] | undefined;
3213
3532
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3214
- 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;
3215
3533
  canImpersonateUsers?: {
3216
- id: string;
3217
- firstName: string;
3218
3534
  lastName: string;
3535
+ firstName: string;
3536
+ id: string;
3219
3537
  }[] | undefined;
3220
3538
  }>>>;
3221
3539
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -3242,49 +3560,65 @@ export declare const agentClientLinksContract: {
3242
3560
  isPrimary?: boolean | undefined;
3243
3561
  }>, "many">>>;
3244
3562
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3245
- 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"]>>>;
3563
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3564
+ id: z.ZodString;
3565
+ name: z.ZodString;
3566
+ }, "strip", z.ZodTypeAny, {
3567
+ id: string;
3568
+ name: string;
3569
+ }, {
3570
+ id: string;
3571
+ name: string;
3572
+ }>>>;
3246
3573
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3247
3574
  id: z.ZodString;
3248
3575
  firstName: z.ZodString;
3249
3576
  lastName: z.ZodString;
3250
3577
  }, "strip", z.ZodTypeAny, {
3251
- id: string;
3252
- firstName: string;
3253
3578
  lastName: string;
3254
- }, {
3255
- id: string;
3256
3579
  firstName: string;
3580
+ id: string;
3581
+ }, {
3257
3582
  lastName: string;
3583
+ firstName: string;
3584
+ id: string;
3258
3585
  }>, "many">>;
3259
3586
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3260
3587
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3261
3588
  }, "strip", z.ZodTypeAny, {
3262
- id: string;
3263
- firstName: string;
3264
3589
  lastName: string;
3590
+ firstName: string;
3265
3591
  email: string;
3266
3592
  createdAt: string;
3267
- updatedAt: string;
3593
+ id: string;
3268
3594
  phoneNumbers: {
3269
3595
  id: string;
3270
3596
  phoneNumber: string;
3271
3597
  isPrimary: boolean;
3272
3598
  description?: string | null | undefined;
3273
3599
  }[];
3600
+ updatedAt: string;
3601
+ office?: {
3602
+ id: string;
3603
+ name: string;
3604
+ } | null | undefined;
3274
3605
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3275
- 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;
3276
3606
  canImpersonateUsers?: {
3277
- id: string;
3278
- firstName: string;
3279
3607
  lastName: string;
3608
+ firstName: string;
3609
+ id: string;
3280
3610
  }[] | undefined;
3281
3611
  }, {
3282
- id: string;
3283
- firstName: string;
3284
3612
  lastName: string;
3613
+ firstName: string;
3285
3614
  email: string;
3286
3615
  createdAt: string | Date;
3616
+ id: string;
3287
3617
  updatedAt: string | Date;
3618
+ office?: {
3619
+ id: string;
3620
+ name: string;
3621
+ } | null | undefined;
3288
3622
  phoneNumbers?: {
3289
3623
  id: string;
3290
3624
  phoneNumber: string;
@@ -3292,170 +3626,185 @@ export declare const agentClientLinksContract: {
3292
3626
  isPrimary?: boolean | undefined;
3293
3627
  }[] | undefined;
3294
3628
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3295
- 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;
3296
3629
  canImpersonateUsers?: {
3297
- id: string;
3298
- firstName: string;
3299
3630
  lastName: string;
3631
+ firstName: string;
3632
+ id: string;
3300
3633
  }[] | undefined;
3301
3634
  }>;
3302
3635
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3303
3636
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3304
3637
  }, "strip", z.ZodTypeAny, {
3305
- id: string;
3306
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
3307
3638
  createdAt: string;
3639
+ id: string;
3640
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
3308
3641
  updatedAt: string;
3309
3642
  agentId: string;
3643
+ agent: {
3644
+ lastName: string;
3645
+ firstName: string;
3646
+ email: string;
3647
+ createdAt: string;
3648
+ id: string;
3649
+ phoneNumbers: {
3650
+ id: string;
3651
+ phoneNumber: string;
3652
+ isPrimary: boolean;
3653
+ description?: string | null | undefined;
3654
+ }[];
3655
+ updatedAt: string;
3656
+ office?: {
3657
+ id: string;
3658
+ name: string;
3659
+ } | null | undefined;
3660
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3661
+ canImpersonateUsers?: {
3662
+ lastName: string;
3663
+ firstName: string;
3664
+ id: string;
3665
+ }[] | undefined;
3666
+ };
3310
3667
  clientId: string;
3311
3668
  client: {
3669
+ createdAt: string;
3312
3670
  id: string;
3313
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3671
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3314
3672
  name: string;
3673
+ updatedAt: string;
3315
3674
  crn: string | null;
3316
3675
  govLink: string | null;
3317
3676
  soleTrader: boolean;
3318
3677
  director: string;
3319
- createdAt: string;
3320
- updatedAt: string;
3321
3678
  blacklistReason?: string | null | undefined;
3322
3679
  lastUpdatedBy?: {
3323
- id: string;
3324
- firstName: string;
3325
3680
  lastName: string;
3681
+ firstName: string;
3326
3682
  email: string;
3683
+ id: string;
3327
3684
  } | null | undefined;
3328
3685
  agentClientLinks?: {
3329
3686
  agentId: string;
3330
3687
  } | null | undefined;
3331
3688
  };
3689
+ linkType: "CREATION" | "EDIT_SUGGESTION";
3332
3690
  createdBy: string;
3333
- agent: {
3334
- id: string;
3335
- firstName: string;
3691
+ creator: {
3336
3692
  lastName: string;
3693
+ firstName: string;
3337
3694
  email: string;
3338
3695
  createdAt: string;
3339
- updatedAt: string;
3696
+ id: string;
3340
3697
  phoneNumbers: {
3341
3698
  id: string;
3342
3699
  phoneNumber: string;
3343
3700
  isPrimary: boolean;
3344
3701
  description?: string | null | undefined;
3345
3702
  }[];
3346
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3347
- 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;
3348
- canImpersonateUsers?: {
3349
- id: string;
3350
- firstName: string;
3351
- lastName: string;
3352
- }[] | undefined;
3353
- };
3354
- linkType: "CREATION" | "EDIT_SUGGESTION";
3355
- creator: {
3356
- id: string;
3357
- firstName: string;
3358
- lastName: string;
3359
- email: string;
3360
- createdAt: string;
3361
3703
  updatedAt: string;
3362
- phoneNumbers: {
3704
+ office?: {
3363
3705
  id: string;
3364
- phoneNumber: string;
3365
- isPrimary: boolean;
3366
- description?: string | null | undefined;
3367
- }[];
3706
+ name: string;
3707
+ } | null | undefined;
3368
3708
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3369
- 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
3709
  canImpersonateUsers?: {
3371
- id: string;
3372
- firstName: string;
3373
3710
  lastName: string;
3711
+ firstName: string;
3712
+ id: string;
3374
3713
  }[] | undefined;
3375
3714
  };
3376
3715
  suggestedChanges?: Record<string, unknown> | null | undefined;
3377
3716
  appliedChanges?: Record<string, unknown> | null | undefined;
3378
3717
  reviewedBy?: string | null | undefined;
3379
3718
  reviewer?: {
3380
- id: string;
3381
- firstName: string;
3382
3719
  lastName: string;
3720
+ firstName: string;
3383
3721
  email: string;
3384
3722
  createdAt: string;
3385
- updatedAt: string;
3723
+ id: string;
3386
3724
  phoneNumbers: {
3387
3725
  id: string;
3388
3726
  phoneNumber: string;
3389
3727
  isPrimary: boolean;
3390
3728
  description?: string | null | undefined;
3391
3729
  }[];
3730
+ updatedAt: string;
3731
+ office?: {
3732
+ id: string;
3733
+ name: string;
3734
+ } | null | undefined;
3392
3735
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3393
- 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;
3394
3736
  canImpersonateUsers?: {
3395
- id: string;
3396
- firstName: string;
3397
3737
  lastName: string;
3738
+ firstName: string;
3739
+ id: string;
3398
3740
  }[] | undefined;
3399
3741
  } | null | undefined;
3400
3742
  reviewedAt?: string | null | undefined;
3401
3743
  }, {
3402
- id: string;
3403
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
3404
3744
  createdAt: string | Date;
3745
+ id: string;
3746
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
3405
3747
  updatedAt: string | Date;
3406
3748
  agentId: string;
3749
+ agent: {
3750
+ lastName: string;
3751
+ firstName: string;
3752
+ email: string;
3753
+ createdAt: string | Date;
3754
+ id: string;
3755
+ updatedAt: string | Date;
3756
+ office?: {
3757
+ id: string;
3758
+ name: string;
3759
+ } | null | undefined;
3760
+ phoneNumbers?: {
3761
+ id: string;
3762
+ phoneNumber: string;
3763
+ description?: string | null | undefined;
3764
+ isPrimary?: boolean | undefined;
3765
+ }[] | undefined;
3766
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3767
+ canImpersonateUsers?: {
3768
+ lastName: string;
3769
+ firstName: string;
3770
+ id: string;
3771
+ }[] | undefined;
3772
+ };
3407
3773
  clientId: string;
3408
3774
  client: {
3775
+ createdAt: string | Date;
3409
3776
  id: string;
3410
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
3777
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3411
3778
  name: string;
3779
+ updatedAt: string | Date;
3412
3780
  crn: string | null;
3413
3781
  govLink: string | null;
3414
3782
  soleTrader: boolean;
3415
3783
  director: string;
3416
- createdAt: string | Date;
3417
- updatedAt: string | Date;
3418
3784
  blacklistReason?: string | null | undefined;
3419
3785
  lastUpdatedBy?: {
3420
- id: string;
3421
- firstName: string;
3422
3786
  lastName: string;
3787
+ firstName: string;
3423
3788
  email: string;
3789
+ id: string;
3424
3790
  } | null | undefined;
3425
3791
  agentClientLinks?: {
3426
3792
  agentId: string;
3427
3793
  } | null | undefined;
3428
3794
  };
3429
- createdBy: string;
3430
- agent: {
3431
- id: string;
3432
- firstName: string;
3433
- lastName: string;
3434
- email: string;
3435
- createdAt: string | Date;
3436
- updatedAt: string | Date;
3437
- phoneNumbers?: {
3438
- id: string;
3439
- phoneNumber: string;
3440
- description?: string | null | undefined;
3441
- isPrimary?: boolean | undefined;
3442
- }[] | undefined;
3443
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3444
- 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;
3445
- canImpersonateUsers?: {
3446
- id: string;
3447
- firstName: string;
3448
- lastName: string;
3449
- }[] | undefined;
3450
- };
3451
3795
  linkType: "CREATION" | "EDIT_SUGGESTION";
3796
+ createdBy: string;
3452
3797
  creator: {
3453
- id: string;
3454
- firstName: string;
3455
3798
  lastName: string;
3799
+ firstName: string;
3456
3800
  email: string;
3457
3801
  createdAt: string | Date;
3802
+ id: string;
3458
3803
  updatedAt: string | Date;
3804
+ office?: {
3805
+ id: string;
3806
+ name: string;
3807
+ } | null | undefined;
3459
3808
  phoneNumbers?: {
3460
3809
  id: string;
3461
3810
  phoneNumber: string;
@@ -3463,23 +3812,26 @@ export declare const agentClientLinksContract: {
3463
3812
  isPrimary?: boolean | undefined;
3464
3813
  }[] | undefined;
3465
3814
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3466
- 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;
3467
3815
  canImpersonateUsers?: {
3468
- id: string;
3469
- firstName: string;
3470
3816
  lastName: string;
3817
+ firstName: string;
3818
+ id: string;
3471
3819
  }[] | undefined;
3472
3820
  };
3473
3821
  suggestedChanges?: Record<string, unknown> | null | undefined;
3474
3822
  appliedChanges?: Record<string, unknown> | null | undefined;
3475
3823
  reviewedBy?: string | null | undefined;
3476
3824
  reviewer?: {
3477
- id: string;
3478
- firstName: string;
3479
3825
  lastName: string;
3826
+ firstName: string;
3480
3827
  email: string;
3481
3828
  createdAt: string | Date;
3829
+ id: string;
3482
3830
  updatedAt: string | Date;
3831
+ office?: {
3832
+ id: string;
3833
+ name: string;
3834
+ } | null | undefined;
3483
3835
  phoneNumbers?: {
3484
3836
  id: string;
3485
3837
  phoneNumber: string;
@@ -3487,11 +3839,10 @@ export declare const agentClientLinksContract: {
3487
3839
  isPrimary?: boolean | undefined;
3488
3840
  }[] | undefined;
3489
3841
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3490
- 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;
3491
3842
  canImpersonateUsers?: {
3492
- id: string;
3493
- firstName: string;
3494
3843
  lastName: string;
3844
+ firstName: string;
3845
+ id: string;
3495
3846
  }[] | undefined;
3496
3847
  } | null | undefined;
3497
3848
  reviewedAt?: string | Date | null | undefined;
@@ -3542,12 +3893,12 @@ export declare const agentClientLinksContract: {
3542
3893
  suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3543
3894
  status: z.ZodOptional<z.ZodEnum<["PENDING_REVIEW", "APPROVED", "REJECTED"]>>;
3544
3895
  }, "strip", z.ZodTypeAny, {
3545
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
3896
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
3546
3897
  clientId?: string | undefined;
3547
3898
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
3548
3899
  suggestedChanges?: Record<string, unknown> | null | undefined;
3549
3900
  }, {
3550
- status?: "APPROVED" | "REJECTED" | "PENDING_REVIEW" | undefined;
3901
+ status?: "PENDING_REVIEW" | "APPROVED" | "REJECTED" | undefined;
3551
3902
  clientId?: string | undefined;
3552
3903
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
3553
3904
  suggestedChanges?: Record<string, unknown> | null | undefined;
@@ -3672,15 +4023,15 @@ export declare const agentClientLinksContract: {
3672
4023
  lastName: z.ZodString;
3673
4024
  email: z.ZodString;
3674
4025
  }, "strip", z.ZodTypeAny, {
3675
- id: string;
3676
- firstName: string;
3677
4026
  lastName: string;
4027
+ firstName: string;
3678
4028
  email: string;
3679
- }, {
3680
4029
  id: string;
3681
- firstName: string;
4030
+ }, {
3682
4031
  lastName: string;
4032
+ firstName: string;
3683
4033
  email: string;
4034
+ id: string;
3684
4035
  }>>>;
3685
4036
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3686
4037
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
@@ -3692,41 +4043,41 @@ export declare const agentClientLinksContract: {
3692
4043
  agentId: string;
3693
4044
  }>>>;
3694
4045
  }, "strip", z.ZodTypeAny, {
4046
+ createdAt: string;
3695
4047
  id: string;
3696
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4048
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3697
4049
  name: string;
4050
+ updatedAt: string;
3698
4051
  crn: string | null;
3699
4052
  govLink: string | null;
3700
4053
  soleTrader: boolean;
3701
4054
  director: string;
3702
- createdAt: string;
3703
- updatedAt: string;
3704
4055
  blacklistReason?: string | null | undefined;
3705
4056
  lastUpdatedBy?: {
3706
- id: string;
3707
- firstName: string;
3708
4057
  lastName: string;
4058
+ firstName: string;
3709
4059
  email: string;
4060
+ id: string;
3710
4061
  } | null | undefined;
3711
4062
  agentClientLinks?: {
3712
4063
  agentId: string;
3713
4064
  } | null | undefined;
3714
4065
  }, {
4066
+ createdAt: string | Date;
3715
4067
  id: string;
3716
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4068
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3717
4069
  name: string;
4070
+ updatedAt: string | Date;
3718
4071
  crn: string | null;
3719
4072
  govLink: string | null;
3720
4073
  soleTrader: boolean;
3721
4074
  director: string;
3722
- createdAt: string | Date;
3723
- updatedAt: string | Date;
3724
4075
  blacklistReason?: string | null | undefined;
3725
4076
  lastUpdatedBy?: {
3726
- id: string;
3727
- firstName: string;
3728
4077
  lastName: string;
4078
+ firstName: string;
3729
4079
  email: string;
4080
+ id: string;
3730
4081
  } | null | undefined;
3731
4082
  agentClientLinks?: {
3732
4083
  agentId: string;
@@ -3755,49 +4106,65 @@ export declare const agentClientLinksContract: {
3755
4106
  isPrimary?: boolean | undefined;
3756
4107
  }>, "many">>>;
3757
4108
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3758
- 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"]>>>;
4109
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4110
+ id: z.ZodString;
4111
+ name: z.ZodString;
4112
+ }, "strip", z.ZodTypeAny, {
4113
+ id: string;
4114
+ name: string;
4115
+ }, {
4116
+ id: string;
4117
+ name: string;
4118
+ }>>>;
3759
4119
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3760
4120
  id: z.ZodString;
3761
4121
  firstName: z.ZodString;
3762
4122
  lastName: z.ZodString;
3763
4123
  }, "strip", z.ZodTypeAny, {
3764
- id: string;
3765
- firstName: string;
3766
4124
  lastName: string;
3767
- }, {
3768
- id: string;
3769
4125
  firstName: string;
4126
+ id: string;
4127
+ }, {
3770
4128
  lastName: string;
4129
+ firstName: string;
4130
+ id: string;
3771
4131
  }>, "many">>;
3772
4132
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3773
4133
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3774
4134
  }, "strip", z.ZodTypeAny, {
3775
- id: string;
3776
- firstName: string;
3777
4135
  lastName: string;
4136
+ firstName: string;
3778
4137
  email: string;
3779
4138
  createdAt: string;
3780
- updatedAt: string;
4139
+ id: string;
3781
4140
  phoneNumbers: {
3782
4141
  id: string;
3783
4142
  phoneNumber: string;
3784
4143
  isPrimary: boolean;
3785
4144
  description?: string | null | undefined;
3786
4145
  }[];
4146
+ updatedAt: string;
4147
+ office?: {
4148
+ id: string;
4149
+ name: string;
4150
+ } | null | undefined;
3787
4151
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3788
- 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;
3789
4152
  canImpersonateUsers?: {
3790
- id: string;
3791
- firstName: string;
3792
4153
  lastName: string;
4154
+ firstName: string;
4155
+ id: string;
3793
4156
  }[] | undefined;
3794
4157
  }, {
3795
- id: string;
3796
- firstName: string;
3797
4158
  lastName: string;
4159
+ firstName: string;
3798
4160
  email: string;
3799
4161
  createdAt: string | Date;
4162
+ id: string;
3800
4163
  updatedAt: string | Date;
4164
+ office?: {
4165
+ id: string;
4166
+ name: string;
4167
+ } | null | undefined;
3801
4168
  phoneNumbers?: {
3802
4169
  id: string;
3803
4170
  phoneNumber: string;
@@ -3805,11 +4172,10 @@ export declare const agentClientLinksContract: {
3805
4172
  isPrimary?: boolean | undefined;
3806
4173
  }[] | undefined;
3807
4174
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3808
- 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;
3809
4175
  canImpersonateUsers?: {
3810
- id: string;
3811
- firstName: string;
3812
4176
  lastName: string;
4177
+ firstName: string;
4178
+ id: string;
3813
4179
  }[] | undefined;
3814
4180
  }>;
3815
4181
  linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
@@ -3839,49 +4205,65 @@ export declare const agentClientLinksContract: {
3839
4205
  isPrimary?: boolean | undefined;
3840
4206
  }>, "many">>>;
3841
4207
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3842
- 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"]>>>;
4208
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4209
+ id: z.ZodString;
4210
+ name: z.ZodString;
4211
+ }, "strip", z.ZodTypeAny, {
4212
+ id: string;
4213
+ name: string;
4214
+ }, {
4215
+ id: string;
4216
+ name: string;
4217
+ }>>>;
3843
4218
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3844
4219
  id: z.ZodString;
3845
4220
  firstName: z.ZodString;
3846
4221
  lastName: z.ZodString;
3847
4222
  }, "strip", z.ZodTypeAny, {
3848
- id: string;
3849
- firstName: string;
3850
4223
  lastName: string;
3851
- }, {
3852
- id: string;
3853
4224
  firstName: string;
4225
+ id: string;
4226
+ }, {
3854
4227
  lastName: string;
4228
+ firstName: string;
4229
+ id: string;
3855
4230
  }>, "many">>;
3856
4231
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3857
4232
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3858
4233
  }, "strip", z.ZodTypeAny, {
3859
- id: string;
3860
- firstName: string;
3861
4234
  lastName: string;
4235
+ firstName: string;
3862
4236
  email: string;
3863
4237
  createdAt: string;
3864
- updatedAt: string;
4238
+ id: string;
3865
4239
  phoneNumbers: {
3866
4240
  id: string;
3867
4241
  phoneNumber: string;
3868
4242
  isPrimary: boolean;
3869
4243
  description?: string | null | undefined;
3870
4244
  }[];
4245
+ updatedAt: string;
4246
+ office?: {
4247
+ id: string;
4248
+ name: string;
4249
+ } | null | undefined;
3871
4250
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3872
- 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;
3873
4251
  canImpersonateUsers?: {
3874
- id: string;
3875
- firstName: string;
3876
4252
  lastName: string;
4253
+ firstName: string;
4254
+ id: string;
3877
4255
  }[] | undefined;
3878
4256
  }, {
3879
- id: string;
3880
- firstName: string;
3881
4257
  lastName: string;
4258
+ firstName: string;
3882
4259
  email: string;
3883
4260
  createdAt: string | Date;
4261
+ id: string;
3884
4262
  updatedAt: string | Date;
4263
+ office?: {
4264
+ id: string;
4265
+ name: string;
4266
+ } | null | undefined;
3885
4267
  phoneNumbers?: {
3886
4268
  id: string;
3887
4269
  phoneNumber: string;
@@ -3889,11 +4271,10 @@ export declare const agentClientLinksContract: {
3889
4271
  isPrimary?: boolean | undefined;
3890
4272
  }[] | undefined;
3891
4273
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3892
- 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;
3893
4274
  canImpersonateUsers?: {
3894
- id: string;
3895
- firstName: string;
3896
4275
  lastName: string;
4276
+ firstName: string;
4277
+ id: string;
3897
4278
  }[] | undefined;
3898
4279
  }>>>;
3899
4280
  reviewedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -3920,49 +4301,65 @@ export declare const agentClientLinksContract: {
3920
4301
  isPrimary?: boolean | undefined;
3921
4302
  }>, "many">>>;
3922
4303
  roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
3923
- 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"]>>>;
4304
+ office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4305
+ id: z.ZodString;
4306
+ name: z.ZodString;
4307
+ }, "strip", z.ZodTypeAny, {
4308
+ id: string;
4309
+ name: string;
4310
+ }, {
4311
+ id: string;
4312
+ name: string;
4313
+ }>>>;
3924
4314
  canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3925
4315
  id: z.ZodString;
3926
4316
  firstName: z.ZodString;
3927
4317
  lastName: z.ZodString;
3928
4318
  }, "strip", z.ZodTypeAny, {
3929
- id: string;
3930
- firstName: string;
3931
4319
  lastName: string;
3932
- }, {
3933
- id: string;
3934
4320
  firstName: string;
4321
+ id: string;
4322
+ }, {
3935
4323
  lastName: string;
4324
+ firstName: string;
4325
+ id: string;
3936
4326
  }>, "many">>;
3937
4327
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3938
4328
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3939
4329
  }, "strip", z.ZodTypeAny, {
3940
- id: string;
3941
- firstName: string;
3942
4330
  lastName: string;
4331
+ firstName: string;
3943
4332
  email: string;
3944
4333
  createdAt: string;
3945
- updatedAt: string;
4334
+ id: string;
3946
4335
  phoneNumbers: {
3947
4336
  id: string;
3948
4337
  phoneNumber: string;
3949
4338
  isPrimary: boolean;
3950
4339
  description?: string | null | undefined;
3951
4340
  }[];
4341
+ updatedAt: string;
4342
+ office?: {
4343
+ id: string;
4344
+ name: string;
4345
+ } | null | undefined;
3952
4346
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3953
- 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;
3954
4347
  canImpersonateUsers?: {
3955
- id: string;
3956
- firstName: string;
3957
4348
  lastName: string;
4349
+ firstName: string;
4350
+ id: string;
3958
4351
  }[] | undefined;
3959
4352
  }, {
3960
- id: string;
3961
- firstName: string;
3962
4353
  lastName: string;
4354
+ firstName: string;
3963
4355
  email: string;
3964
4356
  createdAt: string | Date;
4357
+ id: string;
3965
4358
  updatedAt: string | Date;
4359
+ office?: {
4360
+ id: string;
4361
+ name: string;
4362
+ } | null | undefined;
3966
4363
  phoneNumbers?: {
3967
4364
  id: string;
3968
4365
  phoneNumber: string;
@@ -3970,170 +4367,185 @@ export declare const agentClientLinksContract: {
3970
4367
  isPrimary?: boolean | undefined;
3971
4368
  }[] | undefined;
3972
4369
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
3973
- 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;
3974
4370
  canImpersonateUsers?: {
3975
- id: string;
3976
- firstName: string;
3977
4371
  lastName: string;
4372
+ firstName: string;
4373
+ id: string;
3978
4374
  }[] | undefined;
3979
4375
  }>;
3980
4376
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3981
4377
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3982
4378
  }, "strip", z.ZodTypeAny, {
3983
- id: string;
3984
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
3985
4379
  createdAt: string;
4380
+ id: string;
4381
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
3986
4382
  updatedAt: string;
3987
4383
  agentId: string;
4384
+ agent: {
4385
+ lastName: string;
4386
+ firstName: string;
4387
+ email: string;
4388
+ createdAt: string;
4389
+ id: string;
4390
+ phoneNumbers: {
4391
+ id: string;
4392
+ phoneNumber: string;
4393
+ isPrimary: boolean;
4394
+ description?: string | null | undefined;
4395
+ }[];
4396
+ updatedAt: string;
4397
+ office?: {
4398
+ id: string;
4399
+ name: string;
4400
+ } | null | undefined;
4401
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4402
+ canImpersonateUsers?: {
4403
+ lastName: string;
4404
+ firstName: string;
4405
+ id: string;
4406
+ }[] | undefined;
4407
+ };
3988
4408
  clientId: string;
3989
4409
  client: {
4410
+ createdAt: string;
3990
4411
  id: string;
3991
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4412
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
3992
4413
  name: string;
4414
+ updatedAt: string;
3993
4415
  crn: string | null;
3994
4416
  govLink: string | null;
3995
4417
  soleTrader: boolean;
3996
4418
  director: string;
3997
- createdAt: string;
3998
- updatedAt: string;
3999
4419
  blacklistReason?: string | null | undefined;
4000
4420
  lastUpdatedBy?: {
4001
- id: string;
4002
- firstName: string;
4003
4421
  lastName: string;
4422
+ firstName: string;
4004
4423
  email: string;
4424
+ id: string;
4005
4425
  } | null | undefined;
4006
4426
  agentClientLinks?: {
4007
4427
  agentId: string;
4008
4428
  } | null | undefined;
4009
4429
  };
4430
+ linkType: "CREATION" | "EDIT_SUGGESTION";
4010
4431
  createdBy: string;
4011
- agent: {
4012
- id: string;
4013
- firstName: string;
4432
+ creator: {
4014
4433
  lastName: string;
4434
+ firstName: string;
4015
4435
  email: string;
4016
4436
  createdAt: string;
4017
- updatedAt: string;
4437
+ id: string;
4018
4438
  phoneNumbers: {
4019
4439
  id: string;
4020
4440
  phoneNumber: string;
4021
4441
  isPrimary: boolean;
4022
4442
  description?: string | null | undefined;
4023
4443
  }[];
4024
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4025
- 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
- canImpersonateUsers?: {
4027
- id: string;
4028
- firstName: string;
4029
- lastName: string;
4030
- }[] | undefined;
4031
- };
4032
- linkType: "CREATION" | "EDIT_SUGGESTION";
4033
- creator: {
4034
- id: string;
4035
- firstName: string;
4036
- lastName: string;
4037
- email: string;
4038
- createdAt: string;
4039
4444
  updatedAt: string;
4040
- phoneNumbers: {
4445
+ office?: {
4041
4446
  id: string;
4042
- phoneNumber: string;
4043
- isPrimary: boolean;
4044
- description?: string | null | undefined;
4045
- }[];
4447
+ name: string;
4448
+ } | null | undefined;
4046
4449
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4047
- 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;
4048
4450
  canImpersonateUsers?: {
4049
- id: string;
4050
- firstName: string;
4051
4451
  lastName: string;
4452
+ firstName: string;
4453
+ id: string;
4052
4454
  }[] | undefined;
4053
4455
  };
4054
4456
  suggestedChanges?: Record<string, unknown> | null | undefined;
4055
4457
  appliedChanges?: Record<string, unknown> | null | undefined;
4056
4458
  reviewedBy?: string | null | undefined;
4057
4459
  reviewer?: {
4058
- id: string;
4059
- firstName: string;
4060
4460
  lastName: string;
4461
+ firstName: string;
4061
4462
  email: string;
4062
4463
  createdAt: string;
4063
- updatedAt: string;
4464
+ id: string;
4064
4465
  phoneNumbers: {
4065
4466
  id: string;
4066
4467
  phoneNumber: string;
4067
4468
  isPrimary: boolean;
4068
4469
  description?: string | null | undefined;
4069
4470
  }[];
4471
+ updatedAt: string;
4472
+ office?: {
4473
+ id: string;
4474
+ name: string;
4475
+ } | null | undefined;
4070
4476
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4071
- 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;
4072
4477
  canImpersonateUsers?: {
4073
- id: string;
4074
- firstName: string;
4075
4478
  lastName: string;
4479
+ firstName: string;
4480
+ id: string;
4076
4481
  }[] | undefined;
4077
4482
  } | null | undefined;
4078
4483
  reviewedAt?: string | null | undefined;
4079
4484
  }, {
4080
- id: string;
4081
- status: "APPROVED" | "REJECTED" | "PENDING_REVIEW";
4082
4485
  createdAt: string | Date;
4486
+ id: string;
4487
+ status: "PENDING_REVIEW" | "APPROVED" | "REJECTED";
4083
4488
  updatedAt: string | Date;
4084
4489
  agentId: string;
4490
+ agent: {
4491
+ lastName: string;
4492
+ firstName: string;
4493
+ email: string;
4494
+ createdAt: string | Date;
4495
+ id: string;
4496
+ updatedAt: string | Date;
4497
+ office?: {
4498
+ id: string;
4499
+ name: string;
4500
+ } | null | undefined;
4501
+ phoneNumbers?: {
4502
+ id: string;
4503
+ phoneNumber: string;
4504
+ description?: string | null | undefined;
4505
+ isPrimary?: boolean | undefined;
4506
+ }[] | undefined;
4507
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4508
+ canImpersonateUsers?: {
4509
+ lastName: string;
4510
+ firstName: string;
4511
+ id: string;
4512
+ }[] | undefined;
4513
+ };
4085
4514
  clientId: string;
4086
4515
  client: {
4516
+ createdAt: string | Date;
4087
4517
  id: string;
4088
- status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
4518
+ status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
4089
4519
  name: string;
4520
+ updatedAt: string | Date;
4090
4521
  crn: string | null;
4091
4522
  govLink: string | null;
4092
4523
  soleTrader: boolean;
4093
4524
  director: string;
4094
- createdAt: string | Date;
4095
- updatedAt: string | Date;
4096
4525
  blacklistReason?: string | null | undefined;
4097
4526
  lastUpdatedBy?: {
4098
- id: string;
4099
- firstName: string;
4100
4527
  lastName: string;
4528
+ firstName: string;
4101
4529
  email: string;
4530
+ id: string;
4102
4531
  } | null | undefined;
4103
4532
  agentClientLinks?: {
4104
4533
  agentId: string;
4105
4534
  } | null | undefined;
4106
4535
  };
4107
- createdBy: string;
4108
- agent: {
4109
- id: string;
4110
- firstName: string;
4111
- lastName: string;
4112
- email: string;
4113
- createdAt: string | Date;
4114
- updatedAt: string | Date;
4115
- phoneNumbers?: {
4116
- id: string;
4117
- phoneNumber: string;
4118
- description?: string | null | undefined;
4119
- isPrimary?: boolean | undefined;
4120
- }[] | undefined;
4121
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4122
- 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;
4123
- canImpersonateUsers?: {
4124
- id: string;
4125
- firstName: string;
4126
- lastName: string;
4127
- }[] | undefined;
4128
- };
4129
4536
  linkType: "CREATION" | "EDIT_SUGGESTION";
4537
+ createdBy: string;
4130
4538
  creator: {
4131
- id: string;
4132
- firstName: string;
4133
4539
  lastName: string;
4540
+ firstName: string;
4134
4541
  email: string;
4135
4542
  createdAt: string | Date;
4543
+ id: string;
4136
4544
  updatedAt: string | Date;
4545
+ office?: {
4546
+ id: string;
4547
+ name: string;
4548
+ } | null | undefined;
4137
4549
  phoneNumbers?: {
4138
4550
  id: string;
4139
4551
  phoneNumber: string;
@@ -4141,23 +4553,26 @@ export declare const agentClientLinksContract: {
4141
4553
  isPrimary?: boolean | undefined;
4142
4554
  }[] | undefined;
4143
4555
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4144
- 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
4556
  canImpersonateUsers?: {
4146
- id: string;
4147
- firstName: string;
4148
4557
  lastName: string;
4558
+ firstName: string;
4559
+ id: string;
4149
4560
  }[] | undefined;
4150
4561
  };
4151
4562
  suggestedChanges?: Record<string, unknown> | null | undefined;
4152
4563
  appliedChanges?: Record<string, unknown> | null | undefined;
4153
4564
  reviewedBy?: string | null | undefined;
4154
4565
  reviewer?: {
4155
- id: string;
4156
- firstName: string;
4157
4566
  lastName: string;
4567
+ firstName: string;
4158
4568
  email: string;
4159
4569
  createdAt: string | Date;
4570
+ id: string;
4160
4571
  updatedAt: string | Date;
4572
+ office?: {
4573
+ id: string;
4574
+ name: string;
4575
+ } | null | undefined;
4161
4576
  phoneNumbers?: {
4162
4577
  id: string;
4163
4578
  phoneNumber: string;
@@ -4165,11 +4580,10 @@ export declare const agentClientLinksContract: {
4165
4580
  isPrimary?: boolean | undefined;
4166
4581
  }[] | undefined;
4167
4582
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
4168
- 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;
4169
4583
  canImpersonateUsers?: {
4170
- id: string;
4171
- firstName: string;
4172
4584
  lastName: string;
4585
+ firstName: string;
4586
+ id: string;
4173
4587
  }[] | undefined;
4174
4588
  } | null | undefined;
4175
4589
  reviewedAt?: string | Date | null | undefined;