@dakkitor/api-contracts 1.1.125 → 1.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/second-agent.abilities.json +4 -10
- package/dist/actives/actives.contract.d.ts +4114 -4056
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +538 -538
- package/dist/bookings/bookings.contract.d.ts +15340 -15116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +183 -183
- package/dist/client-contacts/client-contacts.contract.d.ts +502 -502
- package/dist/clients/clients.contract.d.ts +172 -172
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1558 -1558
- package/dist/collaborations/collaborations.contract.d.ts +1316 -1316
- package/dist/common/common-schemas.d.ts +8 -8
- package/dist/companies/companies.contract.d.ts +12 -12
- package/dist/cron-executions/cron-executions.contract.d.ts +6 -6
- package/dist/curated-workers/curated-workers.contract.d.ts +450 -450
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +4 -2
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +60 -60
- package/dist/dashboards/dashboard.contract.d.ts +34 -34
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +3327 -3135
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +198 -148
- package/dist/lead-assignments/lead-assignments.contract.d.ts +66 -66
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +53 -53
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +161 -161
- package/dist/locations/locations.contract.d.ts +21 -21
- package/dist/postcodes/postcodes.contract.d.ts +18 -18
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/users/users.contract.d.ts +36 -36
- package/dist/workers/workers.contract.d.ts +651 -651
- package/package.json +1 -1
|
@@ -25,25 +25,25 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
27
27
|
agentId: string;
|
|
28
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
29
|
+
companyId?: string | null | undefined;
|
|
28
30
|
company?: {
|
|
29
31
|
id: string;
|
|
30
32
|
name: string;
|
|
31
33
|
createdAt: string;
|
|
32
34
|
updatedAt: string;
|
|
33
35
|
} | null | undefined;
|
|
34
|
-
companyId?: string | 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
|
+
companyId?: string | null | undefined;
|
|
39
41
|
company?: {
|
|
40
42
|
id: string;
|
|
41
43
|
name: string;
|
|
42
44
|
createdAt: string | Date;
|
|
43
45
|
updatedAt: string | Date;
|
|
44
46
|
} | null | undefined;
|
|
45
|
-
companyId?: string | null | undefined;
|
|
46
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
49
49
|
agentId: z.ZodString;
|
|
@@ -144,14 +144,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
144
144
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
145
145
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
146
146
|
};
|
|
147
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
148
|
+
companyId?: string | null | undefined;
|
|
147
149
|
company?: {
|
|
148
150
|
id: string;
|
|
149
151
|
name: string;
|
|
150
152
|
createdAt: string;
|
|
151
153
|
updatedAt: string;
|
|
152
154
|
} | null | undefined;
|
|
153
|
-
companyId?: string | null | undefined;
|
|
154
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
id: string;
|
|
157
157
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -172,14 +172,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
172
172
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
173
173
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
174
174
|
};
|
|
175
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
176
|
+
companyId?: string | null | undefined;
|
|
175
177
|
company?: {
|
|
176
178
|
id: string;
|
|
177
179
|
name: string;
|
|
178
180
|
createdAt: string | Date;
|
|
179
181
|
updatedAt: string | Date;
|
|
180
182
|
} | null | undefined;
|
|
181
|
-
companyId?: string | null | undefined;
|
|
182
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
183
183
|
}>;
|
|
184
184
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
185
185
|
agentId: z.ZodString;
|
|
@@ -189,13 +189,13 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
191
191
|
agentId: string;
|
|
192
|
-
companyId?: string | null | undefined;
|
|
193
192
|
leadDistributionConfigId?: string | null | undefined;
|
|
193
|
+
companyId?: string | null | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
196
196
|
agentId: string;
|
|
197
|
-
companyId?: string | null | undefined;
|
|
198
197
|
leadDistributionConfigId?: string | null | undefined;
|
|
198
|
+
companyId?: string | null | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
201
201
|
status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
|
|
@@ -203,12 +203,12 @@ export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
203
203
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
205
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
206
|
-
companyId?: string | null | undefined;
|
|
207
206
|
leadDistributionConfigId?: string | null | undefined;
|
|
207
|
+
companyId?: string | null | undefined;
|
|
208
208
|
}, {
|
|
209
209
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
210
|
-
companyId?: string | null | undefined;
|
|
211
210
|
leadDistributionConfigId?: string | null | undefined;
|
|
211
|
+
companyId?: string | null | undefined;
|
|
212
212
|
}>;
|
|
213
213
|
export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
214
214
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -223,15 +223,15 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
223
223
|
page: number;
|
|
224
224
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
225
225
|
agentId?: string | undefined;
|
|
226
|
-
companyId?: string | undefined;
|
|
227
226
|
leadDistributionConfigId?: string | undefined;
|
|
227
|
+
companyId?: string | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
230
|
-
agentId?: string | undefined;
|
|
231
230
|
limit?: number | undefined;
|
|
232
231
|
page?: number | undefined;
|
|
233
|
-
|
|
232
|
+
agentId?: string | undefined;
|
|
234
233
|
leadDistributionConfigId?: string | undefined;
|
|
234
|
+
companyId?: string | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
237
237
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -333,14 +333,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
333
333
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
334
334
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
335
335
|
};
|
|
336
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
337
|
+
companyId?: string | null | undefined;
|
|
336
338
|
company?: {
|
|
337
339
|
id: string;
|
|
338
340
|
name: string;
|
|
339
341
|
createdAt: string;
|
|
340
342
|
updatedAt: string;
|
|
341
343
|
} | null | undefined;
|
|
342
|
-
companyId?: string | null | undefined;
|
|
343
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
id: string;
|
|
346
346
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -361,14 +361,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
361
361
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
362
362
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
363
363
|
};
|
|
364
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
365
|
+
companyId?: string | null | undefined;
|
|
364
366
|
company?: {
|
|
365
367
|
id: string;
|
|
366
368
|
name: string;
|
|
367
369
|
createdAt: string | Date;
|
|
368
370
|
updatedAt: string | Date;
|
|
369
371
|
} | null | undefined;
|
|
370
|
-
companyId?: string | null | undefined;
|
|
371
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
372
372
|
}>, "many">;
|
|
373
373
|
totalCount: z.ZodNumber;
|
|
374
374
|
limit: z.ZodNumber;
|
|
@@ -397,14 +397,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
397
397
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
398
398
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
399
399
|
};
|
|
400
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
401
|
+
companyId?: string | null | undefined;
|
|
400
402
|
company?: {
|
|
401
403
|
id: string;
|
|
402
404
|
name: string;
|
|
403
405
|
createdAt: string;
|
|
404
406
|
updatedAt: string;
|
|
405
407
|
} | null | undefined;
|
|
406
|
-
companyId?: string | null | undefined;
|
|
407
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
408
408
|
}[];
|
|
409
409
|
totalCount: number;
|
|
410
410
|
skip: number;
|
|
@@ -432,14 +432,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
432
432
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
433
433
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
434
434
|
};
|
|
435
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
436
|
+
companyId?: string | null | undefined;
|
|
435
437
|
company?: {
|
|
436
438
|
id: string;
|
|
437
439
|
name: string;
|
|
438
440
|
createdAt: string | Date;
|
|
439
441
|
updatedAt: string | Date;
|
|
440
442
|
} | null | undefined;
|
|
441
|
-
companyId?: string | null | undefined;
|
|
442
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
443
443
|
}[];
|
|
444
444
|
totalCount: number;
|
|
445
445
|
skip: number;
|
|
@@ -454,6 +454,9 @@ export type FilterAgentLeadDistribution = z.infer<typeof FilterAgentLeadDistribu
|
|
|
454
454
|
export type PaginatedAgentLeadDistributionResponse = z.infer<typeof PaginatedAgentLeadDistributionResponseSchema>;
|
|
455
455
|
export declare const agentLeadDistributionContract: {
|
|
456
456
|
findAll: {
|
|
457
|
+
metadata: {
|
|
458
|
+
tags: string[];
|
|
459
|
+
};
|
|
457
460
|
query: z.ZodObject<{
|
|
458
461
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
459
462
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -467,19 +470,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
467
470
|
page: number;
|
|
468
471
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
469
472
|
agentId?: string | undefined;
|
|
470
|
-
companyId?: string | undefined;
|
|
471
473
|
leadDistributionConfigId?: string | undefined;
|
|
474
|
+
companyId?: string | undefined;
|
|
472
475
|
}, {
|
|
473
476
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
474
|
-
agentId?: string | undefined;
|
|
475
477
|
limit?: number | undefined;
|
|
476
478
|
page?: number | undefined;
|
|
477
|
-
|
|
479
|
+
agentId?: string | undefined;
|
|
478
480
|
leadDistributionConfigId?: string | undefined;
|
|
481
|
+
companyId?: string | undefined;
|
|
479
482
|
}>;
|
|
480
|
-
metadata: {
|
|
481
|
-
tags: string[];
|
|
482
|
-
};
|
|
483
483
|
summary: "List all agent lead distribution records";
|
|
484
484
|
method: "GET";
|
|
485
485
|
path: "/v2/agent-lead-distribution";
|
|
@@ -659,14 +659,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
659
659
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
660
660
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
661
661
|
};
|
|
662
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
663
|
+
companyId?: string | null | undefined;
|
|
662
664
|
company?: {
|
|
663
665
|
id: string;
|
|
664
666
|
name: string;
|
|
665
667
|
createdAt: string;
|
|
666
668
|
updatedAt: string;
|
|
667
669
|
} | null | undefined;
|
|
668
|
-
companyId?: string | null | undefined;
|
|
669
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
670
670
|
}, {
|
|
671
671
|
id: string;
|
|
672
672
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -687,14 +687,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
687
687
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
688
688
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
689
689
|
};
|
|
690
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
691
|
+
companyId?: string | null | undefined;
|
|
690
692
|
company?: {
|
|
691
693
|
id: string;
|
|
692
694
|
name: string;
|
|
693
695
|
createdAt: string | Date;
|
|
694
696
|
updatedAt: string | Date;
|
|
695
697
|
} | null | undefined;
|
|
696
|
-
companyId?: string | null | undefined;
|
|
697
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
698
698
|
}>, "many">;
|
|
699
699
|
totalCount: z.ZodNumber;
|
|
700
700
|
limit: z.ZodNumber;
|
|
@@ -723,14 +723,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
723
723
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
724
724
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
725
725
|
};
|
|
726
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
727
|
+
companyId?: string | null | undefined;
|
|
726
728
|
company?: {
|
|
727
729
|
id: string;
|
|
728
730
|
name: string;
|
|
729
731
|
createdAt: string;
|
|
730
732
|
updatedAt: string;
|
|
731
733
|
} | null | undefined;
|
|
732
|
-
companyId?: string | null | undefined;
|
|
733
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
734
734
|
}[];
|
|
735
735
|
totalCount: number;
|
|
736
736
|
skip: number;
|
|
@@ -758,14 +758,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
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
|
};
|
|
761
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
762
|
+
companyId?: string | null | undefined;
|
|
761
763
|
company?: {
|
|
762
764
|
id: string;
|
|
763
765
|
name: string;
|
|
764
766
|
createdAt: string | Date;
|
|
765
767
|
updatedAt: string | Date;
|
|
766
768
|
} | null | undefined;
|
|
767
|
-
companyId?: string | null | undefined;
|
|
768
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
769
769
|
}[];
|
|
770
770
|
totalCount: number;
|
|
771
771
|
skip: number;
|
|
@@ -988,14 +988,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
988
988
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
989
989
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
990
990
|
};
|
|
991
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
992
|
+
companyId?: string | null | undefined;
|
|
991
993
|
company?: {
|
|
992
994
|
id: string;
|
|
993
995
|
name: string;
|
|
994
996
|
createdAt: string;
|
|
995
997
|
updatedAt: string;
|
|
996
998
|
} | null | undefined;
|
|
997
|
-
companyId?: string | null | undefined;
|
|
998
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
999
999
|
}, {
|
|
1000
1000
|
id: string;
|
|
1001
1001
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1016,14 +1016,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
1016
1016
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1017
1017
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1018
1018
|
};
|
|
1019
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1020
|
+
companyId?: string | null | undefined;
|
|
1019
1021
|
company?: {
|
|
1020
1022
|
id: string;
|
|
1021
1023
|
name: string;
|
|
1022
1024
|
createdAt: string | Date;
|
|
1023
1025
|
updatedAt: string | Date;
|
|
1024
1026
|
} | null | undefined;
|
|
1025
|
-
companyId?: string | null | undefined;
|
|
1026
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1027
1027
|
}>;
|
|
1028
1028
|
404: z.ZodObject<{
|
|
1029
1029
|
statusCode: z.ZodNumber;
|
|
@@ -1091,13 +1091,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1091
1091
|
}, "strip", z.ZodTypeAny, {
|
|
1092
1092
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1093
1093
|
agentId: string;
|
|
1094
|
-
companyId?: string | null | undefined;
|
|
1095
1094
|
leadDistributionConfigId?: string | null | undefined;
|
|
1095
|
+
companyId?: string | null | undefined;
|
|
1096
1096
|
}, {
|
|
1097
1097
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1098
1098
|
agentId: string;
|
|
1099
|
-
companyId?: string | null | undefined;
|
|
1100
1099
|
leadDistributionConfigId?: string | null | undefined;
|
|
1100
|
+
companyId?: string | null | undefined;
|
|
1101
1101
|
}>;
|
|
1102
1102
|
path: "/v2/agent-lead-distribution";
|
|
1103
1103
|
responses: {
|
|
@@ -1200,25 +1200,25 @@ export declare const agentLeadDistributionContract: {
|
|
|
1200
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
1201
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1202
1202
|
agentId: string;
|
|
1203
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1204
|
+
companyId?: string | null | undefined;
|
|
1203
1205
|
company?: {
|
|
1204
1206
|
id: string;
|
|
1205
1207
|
name: string;
|
|
1206
1208
|
createdAt: string;
|
|
1207
1209
|
updatedAt: string;
|
|
1208
1210
|
} | null | undefined;
|
|
1209
|
-
companyId?: string | null | undefined;
|
|
1210
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1211
1211
|
}, {
|
|
1212
1212
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1213
1213
|
agentId: string;
|
|
1214
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1215
|
+
companyId?: string | null | undefined;
|
|
1214
1216
|
company?: {
|
|
1215
1217
|
id: string;
|
|
1216
1218
|
name: string;
|
|
1217
1219
|
createdAt: string | Date;
|
|
1218
1220
|
updatedAt: string | Date;
|
|
1219
1221
|
} | null | undefined;
|
|
1220
|
-
companyId?: string | null | undefined;
|
|
1221
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1222
1222
|
}>;
|
|
1223
1223
|
403: z.ZodObject<{
|
|
1224
1224
|
statusCode: z.ZodNumber;
|
|
@@ -1266,12 +1266,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
1266
1266
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1268
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1269
|
-
companyId?: string | null | undefined;
|
|
1270
1269
|
leadDistributionConfigId?: string | null | undefined;
|
|
1270
|
+
companyId?: string | null | undefined;
|
|
1271
1271
|
}, {
|
|
1272
1272
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1273
|
-
companyId?: string | null | undefined;
|
|
1274
1273
|
leadDistributionConfigId?: string | null | undefined;
|
|
1274
|
+
companyId?: string | null | undefined;
|
|
1275
1275
|
}>;
|
|
1276
1276
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
1277
1277
|
responses: {
|
|
@@ -1374,25 +1374,25 @@ export declare const agentLeadDistributionContract: {
|
|
|
1374
1374
|
}, "strip", z.ZodTypeAny, {
|
|
1375
1375
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1376
1376
|
agentId: string;
|
|
1377
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1378
|
+
companyId?: string | null | undefined;
|
|
1377
1379
|
company?: {
|
|
1378
1380
|
id: string;
|
|
1379
1381
|
name: string;
|
|
1380
1382
|
createdAt: string;
|
|
1381
1383
|
updatedAt: string;
|
|
1382
1384
|
} | null | undefined;
|
|
1383
|
-
companyId?: string | null | undefined;
|
|
1384
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1385
1385
|
}, {
|
|
1386
1386
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1387
1387
|
agentId: string;
|
|
1388
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1389
|
+
companyId?: string | null | undefined;
|
|
1388
1390
|
company?: {
|
|
1389
1391
|
id: string;
|
|
1390
1392
|
name: string;
|
|
1391
1393
|
createdAt: string | Date;
|
|
1392
1394
|
updatedAt: string | Date;
|
|
1393
1395
|
} | null | undefined;
|
|
1394
|
-
companyId?: string | null | undefined;
|
|
1395
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1396
1396
|
}>;
|
|
1397
1397
|
404: z.ZodObject<{
|
|
1398
1398
|
statusCode: z.ZodNumber;
|
|
@@ -70,8 +70,8 @@ export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
70
70
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
71
71
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
description?: string | undefined;
|
|
74
73
|
name?: string | undefined;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
isActive?: boolean | undefined;
|
|
76
76
|
lowShare?: number | undefined;
|
|
77
77
|
mediumShare?: number | undefined;
|
|
@@ -79,8 +79,8 @@ export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
79
79
|
mediumMinWeight?: number | undefined;
|
|
80
80
|
highMinWeight?: number | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
description?: string | undefined;
|
|
83
82
|
name?: string | undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
84
|
isActive?: boolean | undefined;
|
|
85
85
|
lowShare?: number | undefined;
|
|
86
86
|
mediumShare?: number | undefined;
|
|
@@ -190,6 +190,9 @@ export type FilterLeadDistributionConfig = z.infer<typeof FilterLeadDistribution
|
|
|
190
190
|
export type PaginatedLeadDistributionConfigResponse = z.infer<typeof PaginatedLeadDistributionConfigResponseSchema>;
|
|
191
191
|
export declare const leadDistributionConfigContract: {
|
|
192
192
|
findAll: {
|
|
193
|
+
metadata: {
|
|
194
|
+
tags: string[];
|
|
195
|
+
};
|
|
193
196
|
query: z.ZodObject<{
|
|
194
197
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
195
198
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -213,9 +216,6 @@ export declare const leadDistributionConfigContract: {
|
|
|
213
216
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
214
217
|
isActive?: boolean | undefined;
|
|
215
218
|
}>;
|
|
216
|
-
metadata: {
|
|
217
|
-
tags: string[];
|
|
218
|
-
};
|
|
219
219
|
summary: "List all lead distribution configs";
|
|
220
220
|
method: "GET";
|
|
221
221
|
path: "/v2/lead-distribution-configs";
|
|
@@ -759,8 +759,8 @@ export declare const leadDistributionConfigContract: {
|
|
|
759
759
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
760
760
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
description?: string | undefined;
|
|
763
762
|
name?: string | undefined;
|
|
763
|
+
description?: string | undefined;
|
|
764
764
|
isActive?: boolean | undefined;
|
|
765
765
|
lowShare?: number | undefined;
|
|
766
766
|
mediumShare?: number | undefined;
|
|
@@ -768,8 +768,8 @@ export declare const leadDistributionConfigContract: {
|
|
|
768
768
|
mediumMinWeight?: number | undefined;
|
|
769
769
|
highMinWeight?: number | undefined;
|
|
770
770
|
}, {
|
|
771
|
-
description?: string | undefined;
|
|
772
771
|
name?: string | undefined;
|
|
772
|
+
description?: string | undefined;
|
|
773
773
|
isActive?: boolean | undefined;
|
|
774
774
|
lowShare?: number | undefined;
|
|
775
775
|
mediumShare?: number | undefined;
|