@dakkitor/api-contracts 1.1.131 → 1.1.133

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 (63) hide show
  1. package/dist/abilities/abilities.contract.d.ts +19 -13
  2. package/dist/abilities/abilities.contract.js +33 -18
  3. package/dist/abilities/first-agent.abilities.json +68 -56
  4. package/dist/abilities/second-agent.abilities.json +3 -3
  5. package/dist/abilities/team-leads.json +3 -6
  6. package/dist/actives/actives.contract.d.ts +6313 -6313
  7. package/dist/actives/actives.contract.js +92 -92
  8. package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
  9. package/dist/auth/auth.contract.d.ts +16 -16
  10. package/dist/bookings/bookings.contract.d.ts +23378 -23378
  11. package/dist/call-history/call-history.contract.d.ts +366 -366
  12. package/dist/call-history/call-history.contract.js +67 -67
  13. package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
  14. package/dist/clients/clients.contract.d.ts +72 -72
  15. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
  16. package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
  17. package/dist/common/call-rating.schema.d.ts +12 -12
  18. package/dist/common/call-rating.schema.js +48 -40
  19. package/dist/common/common-schemas.d.ts +4 -4
  20. package/dist/common/common-schemas.d.ts.map +1 -1
  21. package/dist/common/common-schemas.js +1 -2
  22. package/dist/common/error-schemas.d.ts +11 -5
  23. package/dist/common/error-schemas.js +11 -8
  24. package/dist/common/openapi-metadata.d.ts +54 -44
  25. package/dist/common/openapi-metadata.js +135 -129
  26. package/dist/common/pagination-query.schema.d.ts +11 -5
  27. package/dist/common/pagination-query.schema.js +11 -8
  28. package/dist/companies/companies.contract.d.ts +40 -40
  29. package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
  30. package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
  31. package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
  32. package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
  33. package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
  34. package/dist/dashboards/dashboard-widgets.contract.js +89 -89
  35. package/dist/dashboards/dashboard.contract.d.ts +305 -215
  36. package/dist/files/files.contract.d.ts +1544 -1177
  37. package/dist/files/files.contract.js +177 -162
  38. package/dist/health/health.contract.d.ts +191 -144
  39. package/dist/health/health.contract.js +53 -40
  40. package/dist/index.d.ts +67 -67
  41. package/dist/jobs/jobs.contract.d.ts +2553 -2553
  42. package/dist/jobs/jobs.contract.js +150 -150
  43. package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
  44. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
  45. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
  46. package/dist/leads/leads.contract.d.ts +108 -108
  47. package/dist/leads/leads.contract.js +119 -119
  48. package/dist/locations/locations.contract.d.ts +7 -7
  49. package/dist/monitoring/monitoring.contract.d.ts +13 -13
  50. package/dist/monitoring/monitoring.contract.js +37 -37
  51. package/dist/own-research/own-research.contract.d.ts +535 -134
  52. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  53. package/dist/own-research/own-research.contract.js +88 -56
  54. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  55. package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
  56. package/dist/qualifications/qualifications.contract.js +193 -171
  57. package/dist/trades/trades.contract.d.ts +991 -763
  58. package/dist/trades/trades.contract.js +111 -89
  59. package/dist/users/users.contract.d.ts +202 -202
  60. package/dist/users/users.contract.js +121 -121
  61. package/dist/workers/workers.contract.d.ts +710 -710
  62. package/dist/workers/workers.contract.js +150 -150
  63. package/package.json +1 -1
@@ -12,38 +12,38 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
12
12
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
13
13
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
14
14
  }, "strip", z.ZodTypeAny, {
15
- createdAt: string;
15
+ name: string;
16
16
  id: string;
17
+ createdAt: string;
17
18
  updatedAt: string;
18
- name: string;
19
19
  }, {
20
- createdAt: string | Date;
20
+ name: string;
21
21
  id: string;
22
+ createdAt: string | Date;
22
23
  updatedAt: string | Date;
23
- name: string;
24
24
  }>>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
27
27
  agentId: string;
28
- leadDistributionConfigId?: string | null | undefined;
29
28
  companyId?: string | null | undefined;
30
29
  company?: {
31
- createdAt: string;
30
+ name: string;
32
31
  id: string;
32
+ createdAt: string;
33
33
  updatedAt: string;
34
- name: string;
35
34
  } | null | undefined;
35
+ leadDistributionConfigId?: string | null | undefined;
36
36
  }, {
37
37
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
38
38
  agentId: string;
39
- leadDistributionConfigId?: string | null | undefined;
40
39
  companyId?: string | null | undefined;
41
40
  company?: {
42
- createdAt: string | Date;
41
+ name: string;
43
42
  id: string;
43
+ createdAt: string | Date;
44
44
  updatedAt: string | Date;
45
- name: string;
46
45
  } | null | undefined;
46
+ leadDistributionConfigId?: string | null | undefined;
47
47
  }>;
48
48
  export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
49
49
  agentId: z.ZodString;
@@ -56,15 +56,15 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
56
56
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
57
57
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
58
58
  }, "strip", z.ZodTypeAny, {
59
- createdAt: string;
59
+ name: string;
60
60
  id: string;
61
+ createdAt: string;
61
62
  updatedAt: string;
62
- name: string;
63
63
  }, {
64
- createdAt: string | Date;
64
+ name: string;
65
65
  id: string;
66
+ createdAt: string | Date;
66
67
  updatedAt: string | Date;
67
- name: string;
68
68
  }>>>;
69
69
  } & {
70
70
  id: z.ZodString;
@@ -96,55 +96,55 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
96
96
  firstName: z.ZodString;
97
97
  lastName: z.ZodString;
98
98
  }, "strip", z.ZodTypeAny, {
99
- lastName: string;
100
- firstName: string;
101
99
  id: string;
102
- }, {
103
- lastName: string;
104
100
  firstName: string;
101
+ lastName: string;
102
+ }, {
105
103
  id: string;
104
+ firstName: string;
105
+ lastName: string;
106
106
  }>, "many">>;
107
107
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
108
108
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- lastName: string;
111
- firstName: string;
112
110
  email: string;
113
- createdAt: string;
114
111
  id: string;
112
+ createdAt: string;
113
+ updatedAt: string;
114
+ firstName: string;
115
+ lastName: string;
115
116
  phoneNumbers: {
116
117
  id: string;
117
118
  phoneNumber: string;
118
119
  isPrimary: boolean;
119
120
  description?: string | null | undefined;
120
121
  }[];
121
- updatedAt: string;
122
122
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
123
123
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
124
124
  canImpersonateUsers?: {
125
- lastName: string;
126
- firstName: string;
127
125
  id: string;
126
+ firstName: string;
127
+ lastName: string;
128
128
  }[] | undefined;
129
129
  }, {
130
- lastName: string;
131
- firstName: string;
132
130
  email: string;
133
- createdAt: string | Date;
134
131
  id: string;
132
+ createdAt: string | Date;
135
133
  updatedAt: string | Date;
134
+ firstName: string;
135
+ lastName: string;
136
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
136
137
  phoneNumbers?: {
137
138
  id: string;
138
139
  phoneNumber: string;
139
140
  description?: string | null | undefined;
140
141
  isPrimary?: boolean | undefined;
141
142
  }[] | undefined;
142
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
143
143
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
144
144
  canImpersonateUsers?: {
145
- lastName: string;
146
- firstName: string;
147
145
  id: string;
146
+ firstName: string;
147
+ lastName: string;
148
148
  }[] | undefined;
149
149
  }>;
150
150
  }, "strip", z.ZodTypeAny, {
@@ -152,67 +152,67 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
152
152
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
153
153
  agentId: string;
154
154
  agent: {
155
- lastName: string;
156
- firstName: string;
157
155
  email: string;
158
- createdAt: string;
159
156
  id: string;
157
+ createdAt: string;
158
+ updatedAt: string;
159
+ firstName: string;
160
+ lastName: string;
160
161
  phoneNumbers: {
161
162
  id: string;
162
163
  phoneNumber: string;
163
164
  isPrimary: boolean;
164
165
  description?: string | null | undefined;
165
166
  }[];
166
- updatedAt: string;
167
167
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
168
168
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
169
169
  canImpersonateUsers?: {
170
- lastName: string;
171
- firstName: string;
172
170
  id: string;
171
+ firstName: string;
172
+ lastName: string;
173
173
  }[] | undefined;
174
174
  };
175
- leadDistributionConfigId?: string | null | undefined;
176
175
  companyId?: string | null | undefined;
177
176
  company?: {
178
- createdAt: string;
177
+ name: string;
179
178
  id: string;
179
+ createdAt: string;
180
180
  updatedAt: string;
181
- name: string;
182
181
  } | null | undefined;
182
+ leadDistributionConfigId?: string | null | undefined;
183
183
  }, {
184
184
  id: string;
185
185
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
186
186
  agentId: string;
187
187
  agent: {
188
- lastName: string;
189
- firstName: string;
190
188
  email: string;
191
- createdAt: string | Date;
192
189
  id: string;
190
+ createdAt: string | Date;
193
191
  updatedAt: string | Date;
192
+ firstName: string;
193
+ lastName: string;
194
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
194
195
  phoneNumbers?: {
195
196
  id: string;
196
197
  phoneNumber: string;
197
198
  description?: string | null | undefined;
198
199
  isPrimary?: boolean | undefined;
199
200
  }[] | undefined;
200
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
201
201
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
202
202
  canImpersonateUsers?: {
203
- lastName: string;
204
- firstName: string;
205
203
  id: string;
204
+ firstName: string;
205
+ lastName: string;
206
206
  }[] | undefined;
207
207
  };
208
- leadDistributionConfigId?: string | null | undefined;
209
208
  companyId?: string | null | undefined;
210
209
  company?: {
211
- createdAt: string | Date;
210
+ name: string;
212
211
  id: string;
212
+ createdAt: string | Date;
213
213
  updatedAt: string | Date;
214
- name: string;
215
214
  } | null | undefined;
215
+ leadDistributionConfigId?: string | null | undefined;
216
216
  }>;
217
217
  export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
218
218
  agentId: z.ZodString;
@@ -222,13 +222,13 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
222
222
  }, "strip", z.ZodTypeAny, {
223
223
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
224
224
  agentId: string;
225
- leadDistributionConfigId?: string | null | undefined;
226
225
  companyId?: string | null | undefined;
226
+ leadDistributionConfigId?: string | null | undefined;
227
227
  }, {
228
228
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
229
229
  agentId: string;
230
- leadDistributionConfigId?: string | null | undefined;
231
230
  companyId?: string | null | undefined;
231
+ leadDistributionConfigId?: string | null | undefined;
232
232
  }>;
233
233
  export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
234
234
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
@@ -236,12 +236,12 @@ export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
236
236
  companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
237
  }, "strip", z.ZodTypeAny, {
238
238
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
239
- leadDistributionConfigId?: string | null | undefined;
240
239
  companyId?: string | null | undefined;
240
+ leadDistributionConfigId?: string | null | undefined;
241
241
  }, {
242
242
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
243
- leadDistributionConfigId?: string | null | undefined;
244
243
  companyId?: string | null | undefined;
244
+ leadDistributionConfigId?: string | null | undefined;
245
245
  }>;
246
246
  export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
247
247
  limit: z.ZodDefault<z.ZodNumber>;
@@ -252,19 +252,19 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
252
252
  leadDistributionConfigId: z.ZodOptional<z.ZodString>;
253
253
  companyId: z.ZodOptional<z.ZodString>;
254
254
  }, "strip", z.ZodTypeAny, {
255
- limit: number;
256
255
  page: number;
256
+ limit: number;
257
257
  status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
258
258
  agentId?: string | undefined;
259
- leadDistributionConfigId?: string | undefined;
260
259
  companyId?: string | undefined;
260
+ leadDistributionConfigId?: string | undefined;
261
261
  }, {
262
- status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
263
- limit?: number | undefined;
264
262
  page?: number | undefined;
263
+ limit?: number | undefined;
264
+ status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
265
265
  agentId?: string | undefined;
266
- leadDistributionConfigId?: string | undefined;
267
266
  companyId?: string | undefined;
267
+ leadDistributionConfigId?: string | undefined;
268
268
  }>;
269
269
  export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
270
270
  items: z.ZodArray<z.ZodObject<{
@@ -278,15 +278,15 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
278
278
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
279
279
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
280
280
  }, "strip", z.ZodTypeAny, {
281
- createdAt: string;
281
+ name: string;
282
282
  id: string;
283
+ createdAt: string;
283
284
  updatedAt: string;
284
- name: string;
285
285
  }, {
286
- createdAt: string | Date;
286
+ name: string;
287
287
  id: string;
288
+ createdAt: string | Date;
288
289
  updatedAt: string | Date;
289
- name: string;
290
290
  }>>>;
291
291
  } & {
292
292
  id: z.ZodString;
@@ -318,55 +318,55 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
318
318
  firstName: z.ZodString;
319
319
  lastName: z.ZodString;
320
320
  }, "strip", z.ZodTypeAny, {
321
- lastName: string;
322
- firstName: string;
323
321
  id: string;
324
- }, {
325
- lastName: string;
326
322
  firstName: string;
323
+ lastName: string;
324
+ }, {
327
325
  id: string;
326
+ firstName: string;
327
+ lastName: string;
328
328
  }>, "many">>;
329
329
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
330
330
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
331
331
  }, "strip", z.ZodTypeAny, {
332
- lastName: string;
333
- firstName: string;
334
332
  email: string;
335
- createdAt: string;
336
333
  id: string;
334
+ createdAt: string;
335
+ updatedAt: string;
336
+ firstName: string;
337
+ lastName: string;
337
338
  phoneNumbers: {
338
339
  id: string;
339
340
  phoneNumber: string;
340
341
  isPrimary: boolean;
341
342
  description?: string | null | undefined;
342
343
  }[];
343
- updatedAt: string;
344
344
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
345
345
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
346
346
  canImpersonateUsers?: {
347
- lastName: string;
348
- firstName: string;
349
347
  id: string;
348
+ firstName: string;
349
+ lastName: string;
350
350
  }[] | undefined;
351
351
  }, {
352
- lastName: string;
353
- firstName: string;
354
352
  email: string;
355
- createdAt: string | Date;
356
353
  id: string;
354
+ createdAt: string | Date;
357
355
  updatedAt: string | Date;
356
+ firstName: string;
357
+ lastName: string;
358
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
358
359
  phoneNumbers?: {
359
360
  id: string;
360
361
  phoneNumber: string;
361
362
  description?: string | null | undefined;
362
363
  isPrimary?: boolean | undefined;
363
364
  }[] | undefined;
364
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
365
365
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
366
366
  canImpersonateUsers?: {
367
- lastName: string;
368
- firstName: string;
369
367
  id: string;
368
+ firstName: string;
369
+ lastName: string;
370
370
  }[] | undefined;
371
371
  }>;
372
372
  }, "strip", z.ZodTypeAny, {
@@ -374,67 +374,67 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
374
374
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
375
375
  agentId: string;
376
376
  agent: {
377
- lastName: string;
378
- firstName: string;
379
377
  email: string;
380
- createdAt: string;
381
378
  id: string;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ firstName: string;
382
+ lastName: string;
382
383
  phoneNumbers: {
383
384
  id: string;
384
385
  phoneNumber: string;
385
386
  isPrimary: boolean;
386
387
  description?: string | null | undefined;
387
388
  }[];
388
- updatedAt: string;
389
389
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
390
390
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
391
391
  canImpersonateUsers?: {
392
- lastName: string;
393
- firstName: string;
394
392
  id: string;
393
+ firstName: string;
394
+ lastName: string;
395
395
  }[] | undefined;
396
396
  };
397
- leadDistributionConfigId?: string | null | undefined;
398
397
  companyId?: string | null | undefined;
399
398
  company?: {
400
- createdAt: string;
399
+ name: string;
401
400
  id: string;
401
+ createdAt: string;
402
402
  updatedAt: string;
403
- name: string;
404
403
  } | null | undefined;
404
+ leadDistributionConfigId?: string | null | undefined;
405
405
  }, {
406
406
  id: string;
407
407
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
408
408
  agentId: string;
409
409
  agent: {
410
- lastName: string;
411
- firstName: string;
412
410
  email: string;
413
- createdAt: string | Date;
414
411
  id: string;
412
+ createdAt: string | Date;
415
413
  updatedAt: string | Date;
414
+ firstName: string;
415
+ lastName: string;
416
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
416
417
  phoneNumbers?: {
417
418
  id: string;
418
419
  phoneNumber: string;
419
420
  description?: string | null | undefined;
420
421
  isPrimary?: boolean | undefined;
421
422
  }[] | undefined;
422
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
423
423
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
424
424
  canImpersonateUsers?: {
425
- lastName: string;
426
- firstName: string;
427
425
  id: string;
426
+ firstName: string;
427
+ lastName: string;
428
428
  }[] | undefined;
429
429
  };
430
- leadDistributionConfigId?: string | null | undefined;
431
430
  companyId?: string | null | undefined;
432
431
  company?: {
433
- createdAt: string | Date;
432
+ name: string;
434
433
  id: string;
434
+ createdAt: string | Date;
435
435
  updatedAt: string | Date;
436
- name: string;
437
436
  } | null | undefined;
437
+ leadDistributionConfigId?: string | null | undefined;
438
438
  }>, "many">;
439
439
  totalCount: z.ZodNumber;
440
440
  limit: z.ZodNumber;
@@ -448,34 +448,34 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
448
448
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
449
449
  agentId: string;
450
450
  agent: {
451
- lastName: string;
452
- firstName: string;
453
451
  email: string;
454
- createdAt: string;
455
452
  id: string;
453
+ createdAt: string;
454
+ updatedAt: string;
455
+ firstName: string;
456
+ lastName: string;
456
457
  phoneNumbers: {
457
458
  id: string;
458
459
  phoneNumber: string;
459
460
  isPrimary: boolean;
460
461
  description?: string | null | undefined;
461
462
  }[];
462
- updatedAt: string;
463
463
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
464
464
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
465
465
  canImpersonateUsers?: {
466
- lastName: string;
467
- firstName: string;
468
466
  id: string;
467
+ firstName: string;
468
+ lastName: string;
469
469
  }[] | undefined;
470
470
  };
471
- leadDistributionConfigId?: string | null | undefined;
472
471
  companyId?: string | null | undefined;
473
472
  company?: {
474
- createdAt: string;
473
+ name: string;
475
474
  id: string;
475
+ createdAt: string;
476
476
  updatedAt: string;
477
- name: string;
478
477
  } | null | undefined;
478
+ leadDistributionConfigId?: string | null | undefined;
479
479
  }[];
480
480
  totalCount: number;
481
481
  skip: number;
@@ -488,34 +488,34 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
488
488
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
489
489
  agentId: string;
490
490
  agent: {
491
- lastName: string;
492
- firstName: string;
493
491
  email: string;
494
- createdAt: string | Date;
495
492
  id: string;
493
+ createdAt: string | Date;
496
494
  updatedAt: string | Date;
495
+ firstName: string;
496
+ lastName: string;
497
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
497
498
  phoneNumbers?: {
498
499
  id: string;
499
500
  phoneNumber: string;
500
501
  description?: string | null | undefined;
501
502
  isPrimary?: boolean | undefined;
502
503
  }[] | undefined;
503
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
504
504
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
505
505
  canImpersonateUsers?: {
506
- lastName: string;
507
- firstName: string;
508
506
  id: string;
507
+ firstName: string;
508
+ lastName: string;
509
509
  }[] | undefined;
510
510
  };
511
- leadDistributionConfigId?: string | null | undefined;
512
511
  companyId?: string | null | undefined;
513
512
  company?: {
514
- createdAt: string | Date;
513
+ name: string;
515
514
  id: string;
515
+ createdAt: string | Date;
516
516
  updatedAt: string | Date;
517
- name: string;
518
517
  } | null | undefined;
518
+ leadDistributionConfigId?: string | null | undefined;
519
519
  }[];
520
520
  totalCount: number;
521
521
  skip: number;
@@ -530,9 +530,6 @@ export type FilterAgentLeadDistribution = z.infer<typeof FilterAgentLeadDistribu
530
530
  export type PaginatedAgentLeadDistributionResponse = z.infer<typeof PaginatedAgentLeadDistributionResponseSchema>;
531
531
  export declare const agentLeadDistributionContract: {
532
532
  findAll: {
533
- metadata: {
534
- tags: string[];
535
- };
536
533
  query: z.ZodObject<{
537
534
  limit: z.ZodDefault<z.ZodNumber>;
538
535
  page: z.ZodDefault<z.ZodNumber>;
@@ -542,20 +539,23 @@ export declare const agentLeadDistributionContract: {
542
539
  leadDistributionConfigId: z.ZodOptional<z.ZodString>;
543
540
  companyId: z.ZodOptional<z.ZodString>;
544
541
  }, "strip", z.ZodTypeAny, {
545
- limit: number;
546
542
  page: number;
543
+ limit: number;
547
544
  status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
548
545
  agentId?: string | undefined;
549
- leadDistributionConfigId?: string | undefined;
550
546
  companyId?: string | undefined;
547
+ leadDistributionConfigId?: string | undefined;
551
548
  }, {
552
- status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
553
- limit?: number | undefined;
554
549
  page?: number | undefined;
550
+ limit?: number | undefined;
551
+ status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
555
552
  agentId?: string | undefined;
556
- leadDistributionConfigId?: string | undefined;
557
553
  companyId?: string | undefined;
554
+ leadDistributionConfigId?: string | undefined;
558
555
  }>;
556
+ metadata: {
557
+ tags: string[];
558
+ };
559
559
  summary: "List all agent lead distribution records";
560
560
  method: "GET";
561
561
  path: "/v2/agent-lead-distribution";
@@ -647,15 +647,15 @@ export declare const agentLeadDistributionContract: {
647
647
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
648
648
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
649
649
  }, "strip", z.ZodTypeAny, {
650
- createdAt: string;
650
+ name: string;
651
651
  id: string;
652
+ createdAt: string;
652
653
  updatedAt: string;
653
- name: string;
654
654
  }, {
655
- createdAt: string | Date;
655
+ name: string;
656
656
  id: string;
657
+ createdAt: string | Date;
657
658
  updatedAt: string | Date;
658
- name: string;
659
659
  }>>>;
660
660
  } & {
661
661
  id: z.ZodString;
@@ -687,55 +687,55 @@ export declare const agentLeadDistributionContract: {
687
687
  firstName: z.ZodString;
688
688
  lastName: z.ZodString;
689
689
  }, "strip", z.ZodTypeAny, {
690
- lastName: string;
691
- firstName: string;
692
690
  id: string;
693
- }, {
694
- lastName: string;
695
691
  firstName: string;
692
+ lastName: string;
693
+ }, {
696
694
  id: string;
695
+ firstName: string;
696
+ lastName: string;
697
697
  }>, "many">>;
698
698
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
699
699
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
700
700
  }, "strip", z.ZodTypeAny, {
701
- lastName: string;
702
- firstName: string;
703
701
  email: string;
704
- createdAt: string;
705
702
  id: string;
703
+ createdAt: string;
704
+ updatedAt: string;
705
+ firstName: string;
706
+ lastName: string;
706
707
  phoneNumbers: {
707
708
  id: string;
708
709
  phoneNumber: string;
709
710
  isPrimary: boolean;
710
711
  description?: string | null | undefined;
711
712
  }[];
712
- updatedAt: string;
713
713
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
714
714
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
715
715
  canImpersonateUsers?: {
716
- lastName: string;
717
- firstName: string;
718
716
  id: string;
717
+ firstName: string;
718
+ lastName: string;
719
719
  }[] | undefined;
720
720
  }, {
721
- lastName: string;
722
- firstName: string;
723
721
  email: string;
724
- createdAt: string | Date;
725
722
  id: string;
723
+ createdAt: string | Date;
726
724
  updatedAt: string | Date;
725
+ firstName: string;
726
+ lastName: string;
727
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
727
728
  phoneNumbers?: {
728
729
  id: string;
729
730
  phoneNumber: string;
730
731
  description?: string | null | undefined;
731
732
  isPrimary?: boolean | undefined;
732
733
  }[] | undefined;
733
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
734
734
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
735
735
  canImpersonateUsers?: {
736
- lastName: string;
737
- firstName: string;
738
736
  id: string;
737
+ firstName: string;
738
+ lastName: string;
739
739
  }[] | undefined;
740
740
  }>;
741
741
  }, "strip", z.ZodTypeAny, {
@@ -743,67 +743,67 @@ export declare const agentLeadDistributionContract: {
743
743
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
744
744
  agentId: string;
745
745
  agent: {
746
- lastName: string;
747
- firstName: string;
748
746
  email: string;
749
- createdAt: string;
750
747
  id: string;
748
+ createdAt: string;
749
+ updatedAt: string;
750
+ firstName: string;
751
+ lastName: string;
751
752
  phoneNumbers: {
752
753
  id: string;
753
754
  phoneNumber: string;
754
755
  isPrimary: boolean;
755
756
  description?: string | null | undefined;
756
757
  }[];
757
- updatedAt: string;
758
758
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
759
759
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
760
760
  canImpersonateUsers?: {
761
- lastName: string;
762
- firstName: string;
763
761
  id: string;
762
+ firstName: string;
763
+ lastName: string;
764
764
  }[] | undefined;
765
765
  };
766
- leadDistributionConfigId?: string | null | undefined;
767
766
  companyId?: string | null | undefined;
768
767
  company?: {
769
- createdAt: string;
768
+ name: string;
770
769
  id: string;
770
+ createdAt: string;
771
771
  updatedAt: string;
772
- name: string;
773
772
  } | null | undefined;
773
+ leadDistributionConfigId?: string | null | undefined;
774
774
  }, {
775
775
  id: string;
776
776
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
777
777
  agentId: string;
778
778
  agent: {
779
- lastName: string;
780
- firstName: string;
781
779
  email: string;
782
- createdAt: string | Date;
783
780
  id: string;
781
+ createdAt: string | Date;
784
782
  updatedAt: string | Date;
783
+ firstName: string;
784
+ lastName: string;
785
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
785
786
  phoneNumbers?: {
786
787
  id: string;
787
788
  phoneNumber: string;
788
789
  description?: string | null | undefined;
789
790
  isPrimary?: boolean | undefined;
790
791
  }[] | undefined;
791
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
792
792
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
793
793
  canImpersonateUsers?: {
794
- lastName: string;
795
- firstName: string;
796
794
  id: string;
795
+ firstName: string;
796
+ lastName: string;
797
797
  }[] | undefined;
798
798
  };
799
- leadDistributionConfigId?: string | null | undefined;
800
799
  companyId?: string | null | undefined;
801
800
  company?: {
802
- createdAt: string | Date;
801
+ name: string;
803
802
  id: string;
803
+ createdAt: string | Date;
804
804
  updatedAt: string | Date;
805
- name: string;
806
805
  } | null | undefined;
806
+ leadDistributionConfigId?: string | null | undefined;
807
807
  }>, "many">;
808
808
  totalCount: z.ZodNumber;
809
809
  limit: z.ZodNumber;
@@ -817,34 +817,34 @@ export declare const agentLeadDistributionContract: {
817
817
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
818
818
  agentId: string;
819
819
  agent: {
820
- lastName: string;
821
- firstName: string;
822
820
  email: string;
823
- createdAt: string;
824
821
  id: string;
822
+ createdAt: string;
823
+ updatedAt: string;
824
+ firstName: string;
825
+ lastName: string;
825
826
  phoneNumbers: {
826
827
  id: string;
827
828
  phoneNumber: string;
828
829
  isPrimary: boolean;
829
830
  description?: string | null | undefined;
830
831
  }[];
831
- updatedAt: string;
832
832
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
833
833
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
834
834
  canImpersonateUsers?: {
835
- lastName: string;
836
- firstName: string;
837
835
  id: string;
836
+ firstName: string;
837
+ lastName: string;
838
838
  }[] | undefined;
839
839
  };
840
- leadDistributionConfigId?: string | null | undefined;
841
840
  companyId?: string | null | undefined;
842
841
  company?: {
843
- createdAt: string;
842
+ name: string;
844
843
  id: string;
844
+ createdAt: string;
845
845
  updatedAt: string;
846
- name: string;
847
846
  } | null | undefined;
847
+ leadDistributionConfigId?: string | null | undefined;
848
848
  }[];
849
849
  totalCount: number;
850
850
  skip: number;
@@ -857,34 +857,34 @@ export declare const agentLeadDistributionContract: {
857
857
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
858
858
  agentId: string;
859
859
  agent: {
860
- lastName: string;
861
- firstName: string;
862
860
  email: string;
863
- createdAt: string | Date;
864
861
  id: string;
862
+ createdAt: string | Date;
865
863
  updatedAt: string | Date;
864
+ firstName: string;
865
+ lastName: string;
866
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
866
867
  phoneNumbers?: {
867
868
  id: string;
868
869
  phoneNumber: string;
869
870
  description?: string | null | undefined;
870
871
  isPrimary?: boolean | undefined;
871
872
  }[] | undefined;
872
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
873
873
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
874
874
  canImpersonateUsers?: {
875
- lastName: string;
876
- firstName: string;
877
875
  id: string;
876
+ firstName: string;
877
+ lastName: string;
878
878
  }[] | undefined;
879
879
  };
880
- leadDistributionConfigId?: string | null | undefined;
881
880
  companyId?: string | null | undefined;
882
881
  company?: {
883
- createdAt: string | Date;
882
+ name: string;
884
883
  id: string;
884
+ createdAt: string | Date;
885
885
  updatedAt: string | Date;
886
- name: string;
887
886
  } | null | undefined;
887
+ leadDistributionConfigId?: string | null | undefined;
888
888
  }[];
889
889
  totalCount: number;
890
890
  skip: number;
@@ -1019,15 +1019,15 @@ export declare const agentLeadDistributionContract: {
1019
1019
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1020
1020
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1021
1021
  }, "strip", z.ZodTypeAny, {
1022
- createdAt: string;
1022
+ name: string;
1023
1023
  id: string;
1024
+ createdAt: string;
1024
1025
  updatedAt: string;
1025
- name: string;
1026
1026
  }, {
1027
- createdAt: string | Date;
1027
+ name: string;
1028
1028
  id: string;
1029
+ createdAt: string | Date;
1029
1030
  updatedAt: string | Date;
1030
- name: string;
1031
1031
  }>>>;
1032
1032
  } & {
1033
1033
  id: z.ZodString;
@@ -1059,55 +1059,55 @@ export declare const agentLeadDistributionContract: {
1059
1059
  firstName: z.ZodString;
1060
1060
  lastName: z.ZodString;
1061
1061
  }, "strip", z.ZodTypeAny, {
1062
- lastName: string;
1063
- firstName: string;
1064
1062
  id: string;
1065
- }, {
1066
- lastName: string;
1067
1063
  firstName: string;
1064
+ lastName: string;
1065
+ }, {
1068
1066
  id: string;
1067
+ firstName: string;
1068
+ lastName: string;
1069
1069
  }>, "many">>;
1070
1070
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1071
1071
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1072
1072
  }, "strip", z.ZodTypeAny, {
1073
- lastName: string;
1074
- firstName: string;
1075
1073
  email: string;
1076
- createdAt: string;
1077
1074
  id: string;
1075
+ createdAt: string;
1076
+ updatedAt: string;
1077
+ firstName: string;
1078
+ lastName: string;
1078
1079
  phoneNumbers: {
1079
1080
  id: string;
1080
1081
  phoneNumber: string;
1081
1082
  isPrimary: boolean;
1082
1083
  description?: string | null | undefined;
1083
1084
  }[];
1084
- updatedAt: string;
1085
1085
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1086
1086
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1087
1087
  canImpersonateUsers?: {
1088
- lastName: string;
1089
- firstName: string;
1090
1088
  id: string;
1089
+ firstName: string;
1090
+ lastName: string;
1091
1091
  }[] | undefined;
1092
1092
  }, {
1093
- lastName: string;
1094
- firstName: string;
1095
1093
  email: string;
1096
- createdAt: string | Date;
1097
1094
  id: string;
1095
+ createdAt: string | Date;
1098
1096
  updatedAt: string | Date;
1097
+ firstName: string;
1098
+ lastName: string;
1099
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1099
1100
  phoneNumbers?: {
1100
1101
  id: string;
1101
1102
  phoneNumber: string;
1102
1103
  description?: string | null | undefined;
1103
1104
  isPrimary?: boolean | undefined;
1104
1105
  }[] | undefined;
1105
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1106
1106
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1107
1107
  canImpersonateUsers?: {
1108
- lastName: string;
1109
- firstName: string;
1110
1108
  id: string;
1109
+ firstName: string;
1110
+ lastName: string;
1111
1111
  }[] | undefined;
1112
1112
  }>;
1113
1113
  }, "strip", z.ZodTypeAny, {
@@ -1115,67 +1115,67 @@ export declare const agentLeadDistributionContract: {
1115
1115
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1116
1116
  agentId: string;
1117
1117
  agent: {
1118
- lastName: string;
1119
- firstName: string;
1120
1118
  email: string;
1121
- createdAt: string;
1122
1119
  id: string;
1120
+ createdAt: string;
1121
+ updatedAt: string;
1122
+ firstName: string;
1123
+ lastName: string;
1123
1124
  phoneNumbers: {
1124
1125
  id: string;
1125
1126
  phoneNumber: string;
1126
1127
  isPrimary: boolean;
1127
1128
  description?: string | null | undefined;
1128
1129
  }[];
1129
- updatedAt: string;
1130
1130
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1131
1131
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1132
1132
  canImpersonateUsers?: {
1133
- lastName: string;
1134
- firstName: string;
1135
1133
  id: string;
1134
+ firstName: string;
1135
+ lastName: string;
1136
1136
  }[] | undefined;
1137
1137
  };
1138
- leadDistributionConfigId?: string | null | undefined;
1139
1138
  companyId?: string | null | undefined;
1140
1139
  company?: {
1141
- createdAt: string;
1140
+ name: string;
1142
1141
  id: string;
1142
+ createdAt: string;
1143
1143
  updatedAt: string;
1144
- name: string;
1145
1144
  } | null | undefined;
1145
+ leadDistributionConfigId?: string | null | undefined;
1146
1146
  }, {
1147
1147
  id: string;
1148
1148
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1149
1149
  agentId: string;
1150
1150
  agent: {
1151
- lastName: string;
1152
- firstName: string;
1153
1151
  email: string;
1154
- createdAt: string | Date;
1155
1152
  id: string;
1153
+ createdAt: string | Date;
1156
1154
  updatedAt: string | Date;
1155
+ firstName: string;
1156
+ lastName: string;
1157
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1157
1158
  phoneNumbers?: {
1158
1159
  id: string;
1159
1160
  phoneNumber: string;
1160
1161
  description?: string | null | undefined;
1161
1162
  isPrimary?: boolean | undefined;
1162
1163
  }[] | undefined;
1163
- roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
1164
1164
  office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
1165
1165
  canImpersonateUsers?: {
1166
- lastName: string;
1167
- firstName: string;
1168
1166
  id: string;
1167
+ firstName: string;
1168
+ lastName: string;
1169
1169
  }[] | undefined;
1170
1170
  };
1171
- leadDistributionConfigId?: string | null | undefined;
1172
1171
  companyId?: string | null | undefined;
1173
1172
  company?: {
1174
- createdAt: string | Date;
1173
+ name: string;
1175
1174
  id: string;
1175
+ createdAt: string | Date;
1176
1176
  updatedAt: string | Date;
1177
- name: string;
1178
1177
  } | null | undefined;
1178
+ leadDistributionConfigId?: string | null | undefined;
1179
1179
  }>;
1180
1180
  404: z.ZodObject<{
1181
1181
  statusCode: z.ZodNumber;
@@ -1243,13 +1243,13 @@ export declare const agentLeadDistributionContract: {
1243
1243
  }, "strip", z.ZodTypeAny, {
1244
1244
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1245
1245
  agentId: string;
1246
- leadDistributionConfigId?: string | null | undefined;
1247
1246
  companyId?: string | null | undefined;
1247
+ leadDistributionConfigId?: string | null | undefined;
1248
1248
  }, {
1249
1249
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1250
1250
  agentId: string;
1251
- leadDistributionConfigId?: string | null | undefined;
1252
1251
  companyId?: string | null | undefined;
1252
+ leadDistributionConfigId?: string | null | undefined;
1253
1253
  }>;
1254
1254
  path: "/v2/agent-lead-distribution";
1255
1255
  responses: {
@@ -1339,38 +1339,38 @@ export declare const agentLeadDistributionContract: {
1339
1339
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1340
1340
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1341
1341
  }, "strip", z.ZodTypeAny, {
1342
- createdAt: string;
1342
+ name: string;
1343
1343
  id: string;
1344
+ createdAt: string;
1344
1345
  updatedAt: string;
1345
- name: string;
1346
1346
  }, {
1347
- createdAt: string | Date;
1347
+ name: string;
1348
1348
  id: string;
1349
+ createdAt: string | Date;
1349
1350
  updatedAt: string | Date;
1350
- name: string;
1351
1351
  }>>>;
1352
1352
  }, "strip", z.ZodTypeAny, {
1353
1353
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1354
1354
  agentId: string;
1355
- leadDistributionConfigId?: string | null | undefined;
1356
1355
  companyId?: string | null | undefined;
1357
1356
  company?: {
1358
- createdAt: string;
1357
+ name: string;
1359
1358
  id: string;
1359
+ createdAt: string;
1360
1360
  updatedAt: string;
1361
- name: string;
1362
1361
  } | null | undefined;
1362
+ leadDistributionConfigId?: string | null | undefined;
1363
1363
  }, {
1364
1364
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1365
1365
  agentId: string;
1366
- leadDistributionConfigId?: string | null | undefined;
1367
1366
  companyId?: string | null | undefined;
1368
1367
  company?: {
1369
- createdAt: string | Date;
1368
+ name: string;
1370
1369
  id: string;
1370
+ createdAt: string | Date;
1371
1371
  updatedAt: string | Date;
1372
- name: string;
1373
1372
  } | null | undefined;
1373
+ leadDistributionConfigId?: string | null | undefined;
1374
1374
  }>;
1375
1375
  403: z.ZodObject<{
1376
1376
  statusCode: z.ZodNumber;
@@ -1418,12 +1418,12 @@ export declare const agentLeadDistributionContract: {
1418
1418
  companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
1419
  }, "strip", z.ZodTypeAny, {
1420
1420
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1421
- leadDistributionConfigId?: string | null | undefined;
1422
1421
  companyId?: string | null | undefined;
1422
+ leadDistributionConfigId?: string | null | undefined;
1423
1423
  }, {
1424
1424
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1425
- leadDistributionConfigId?: string | null | undefined;
1426
1425
  companyId?: string | null | undefined;
1426
+ leadDistributionConfigId?: string | null | undefined;
1427
1427
  }>;
1428
1428
  path: "/v2/agent-lead-distribution/:agentId";
1429
1429
  responses: {
@@ -1513,38 +1513,38 @@ export declare const agentLeadDistributionContract: {
1513
1513
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1514
1514
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1515
1515
  }, "strip", z.ZodTypeAny, {
1516
- createdAt: string;
1516
+ name: string;
1517
1517
  id: string;
1518
+ createdAt: string;
1518
1519
  updatedAt: string;
1519
- name: string;
1520
1520
  }, {
1521
- createdAt: string | Date;
1521
+ name: string;
1522
1522
  id: string;
1523
+ createdAt: string | Date;
1523
1524
  updatedAt: string | Date;
1524
- name: string;
1525
1525
  }>>>;
1526
1526
  }, "strip", z.ZodTypeAny, {
1527
1527
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1528
1528
  agentId: string;
1529
- leadDistributionConfigId?: string | null | undefined;
1530
1529
  companyId?: string | null | undefined;
1531
1530
  company?: {
1532
- createdAt: string;
1531
+ name: string;
1533
1532
  id: string;
1533
+ createdAt: string;
1534
1534
  updatedAt: string;
1535
- name: string;
1536
1535
  } | null | undefined;
1536
+ leadDistributionConfigId?: string | null | undefined;
1537
1537
  }, {
1538
1538
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
1539
1539
  agentId: string;
1540
- leadDistributionConfigId?: string | null | undefined;
1541
1540
  companyId?: string | null | undefined;
1542
1541
  company?: {
1543
- createdAt: string | Date;
1542
+ name: string;
1544
1543
  id: string;
1544
+ createdAt: string | Date;
1545
1545
  updatedAt: string | Date;
1546
- name: string;
1547
1546
  } | null | undefined;
1547
+ leadDistributionConfigId?: string | null | undefined;
1548
1548
  }>;
1549
1549
  404: z.ZodObject<{
1550
1550
  statusCode: z.ZodNumber;