@dakkitor/api-contracts 1.1.73 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -13,37 +13,37 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
13
13
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
id: string;
|
|
16
|
-
name: string;
|
|
17
16
|
createdAt: string;
|
|
18
17
|
updatedAt: string;
|
|
18
|
+
name: string;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
|
-
name: string;
|
|
22
21
|
createdAt: string | Date;
|
|
23
22
|
updatedAt: string | Date;
|
|
23
|
+
name: string;
|
|
24
24
|
}>>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
agentId: string;
|
|
27
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
28
|
-
|
|
29
|
-
companyId?: string | null | undefined;
|
|
27
|
+
agentId: string;
|
|
30
28
|
company?: {
|
|
31
29
|
id: string;
|
|
32
|
-
name: string;
|
|
33
30
|
createdAt: string;
|
|
34
31
|
updatedAt: string;
|
|
32
|
+
name: string;
|
|
35
33
|
} | null | undefined;
|
|
34
|
+
companyId?: string | null | undefined;
|
|
35
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
agentId: string;
|
|
38
37
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
39
|
-
|
|
40
|
-
companyId?: string | null | undefined;
|
|
38
|
+
agentId: string;
|
|
41
39
|
company?: {
|
|
42
40
|
id: string;
|
|
43
|
-
name: string;
|
|
44
41
|
createdAt: string | Date;
|
|
45
42
|
updatedAt: string | Date;
|
|
43
|
+
name: string;
|
|
46
44
|
} | 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;
|
|
@@ -57,14 +57,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
57
57
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
id: string;
|
|
60
|
-
name: string;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
62
|
+
name: string;
|
|
63
63
|
}, {
|
|
64
64
|
id: string;
|
|
65
|
-
name: string;
|
|
66
65
|
createdAt: string | Date;
|
|
67
66
|
updatedAt: string | Date;
|
|
67
|
+
name: string;
|
|
68
68
|
}>>>;
|
|
69
69
|
} & {
|
|
70
70
|
id: z.ZodString;
|
|
@@ -100,9 +100,9 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
100
100
|
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;
|
|
101
101
|
}>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
agentId: string;
|
|
104
103
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
105
104
|
id: string;
|
|
105
|
+
agentId: string;
|
|
106
106
|
agent: {
|
|
107
107
|
id: string;
|
|
108
108
|
createdAt: string;
|
|
@@ -114,18 +114,18 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
114
114
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
115
115
|
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;
|
|
116
116
|
};
|
|
117
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
118
|
-
companyId?: string | null | undefined;
|
|
119
117
|
company?: {
|
|
120
118
|
id: string;
|
|
121
|
-
name: string;
|
|
122
119
|
createdAt: string;
|
|
123
120
|
updatedAt: string;
|
|
121
|
+
name: string;
|
|
124
122
|
} | null | undefined;
|
|
123
|
+
companyId?: string | null | undefined;
|
|
124
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
agentId: string;
|
|
127
126
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
128
127
|
id: string;
|
|
128
|
+
agentId: string;
|
|
129
129
|
agent: {
|
|
130
130
|
id: string;
|
|
131
131
|
createdAt: string | Date;
|
|
@@ -137,14 +137,14 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
137
137
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
138
138
|
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;
|
|
139
139
|
};
|
|
140
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
141
|
-
companyId?: string | null | undefined;
|
|
142
140
|
company?: {
|
|
143
141
|
id: string;
|
|
144
|
-
name: string;
|
|
145
142
|
createdAt: string | Date;
|
|
146
143
|
updatedAt: string | Date;
|
|
144
|
+
name: string;
|
|
147
145
|
} | null | undefined;
|
|
146
|
+
companyId?: string | null | undefined;
|
|
147
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
150
150
|
agentId: z.ZodString;
|
|
@@ -152,15 +152,15 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
152
152
|
leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
153
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
agentId: string;
|
|
156
155
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
157
|
-
|
|
156
|
+
agentId: string;
|
|
158
157
|
companyId?: string | null | undefined;
|
|
158
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
agentId: string;
|
|
161
160
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
162
|
-
|
|
161
|
+
agentId: string;
|
|
163
162
|
companyId?: string | null | undefined;
|
|
163
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
166
166
|
status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
|
|
@@ -168,12 +168,12 @@ export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
168
168
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
170
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
171
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
172
171
|
companyId?: string | null | undefined;
|
|
172
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
175
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
176
175
|
companyId?: string | null | undefined;
|
|
176
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
179
179
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -186,17 +186,17 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
limit: number;
|
|
188
188
|
page: number;
|
|
189
|
-
agentId?: string | undefined;
|
|
190
189
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
191
|
-
|
|
190
|
+
agentId?: string | undefined;
|
|
192
191
|
companyId?: string | undefined;
|
|
192
|
+
leadDistributionConfigId?: string | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
agentId?: string | undefined;
|
|
195
194
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
196
|
-
leadDistributionConfigId?: string | undefined;
|
|
197
|
-
companyId?: string | undefined;
|
|
198
195
|
limit?: number | undefined;
|
|
199
196
|
page?: number | undefined;
|
|
197
|
+
agentId?: string | undefined;
|
|
198
|
+
companyId?: string | undefined;
|
|
199
|
+
leadDistributionConfigId?: string | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
202
202
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -211,14 +211,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
211
211
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
id: string;
|
|
214
|
-
name: string;
|
|
215
214
|
createdAt: string;
|
|
216
215
|
updatedAt: string;
|
|
216
|
+
name: string;
|
|
217
217
|
}, {
|
|
218
218
|
id: string;
|
|
219
|
-
name: string;
|
|
220
219
|
createdAt: string | Date;
|
|
221
220
|
updatedAt: string | Date;
|
|
221
|
+
name: string;
|
|
222
222
|
}>>>;
|
|
223
223
|
} & {
|
|
224
224
|
id: z.ZodString;
|
|
@@ -254,9 +254,9 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
254
254
|
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;
|
|
255
255
|
}>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
agentId: string;
|
|
258
257
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
259
258
|
id: string;
|
|
259
|
+
agentId: string;
|
|
260
260
|
agent: {
|
|
261
261
|
id: string;
|
|
262
262
|
createdAt: string;
|
|
@@ -268,18 +268,18 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
268
268
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
269
269
|
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;
|
|
270
270
|
};
|
|
271
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
272
|
-
companyId?: string | null | undefined;
|
|
273
271
|
company?: {
|
|
274
272
|
id: string;
|
|
275
|
-
name: string;
|
|
276
273
|
createdAt: string;
|
|
277
274
|
updatedAt: string;
|
|
275
|
+
name: string;
|
|
278
276
|
} | null | undefined;
|
|
277
|
+
companyId?: string | null | undefined;
|
|
278
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
279
279
|
}, {
|
|
280
|
-
agentId: string;
|
|
281
280
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
282
281
|
id: string;
|
|
282
|
+
agentId: string;
|
|
283
283
|
agent: {
|
|
284
284
|
id: string;
|
|
285
285
|
createdAt: string | Date;
|
|
@@ -291,14 +291,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
291
291
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
292
292
|
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;
|
|
293
293
|
};
|
|
294
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
295
|
-
companyId?: string | null | undefined;
|
|
296
294
|
company?: {
|
|
297
295
|
id: string;
|
|
298
|
-
name: string;
|
|
299
296
|
createdAt: string | Date;
|
|
300
297
|
updatedAt: string | Date;
|
|
298
|
+
name: string;
|
|
301
299
|
} | null | undefined;
|
|
300
|
+
companyId?: string | null | undefined;
|
|
301
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
302
302
|
}>, "many">;
|
|
303
303
|
totalCount: z.ZodNumber;
|
|
304
304
|
limit: z.ZodNumber;
|
|
@@ -308,9 +308,9 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
limit: number;
|
|
310
310
|
items: {
|
|
311
|
-
agentId: string;
|
|
312
311
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
313
312
|
id: string;
|
|
313
|
+
agentId: string;
|
|
314
314
|
agent: {
|
|
315
315
|
id: string;
|
|
316
316
|
createdAt: string;
|
|
@@ -322,14 +322,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
322
322
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
323
323
|
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;
|
|
324
324
|
};
|
|
325
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
326
|
-
companyId?: string | null | undefined;
|
|
327
325
|
company?: {
|
|
328
326
|
id: string;
|
|
329
|
-
name: string;
|
|
330
327
|
createdAt: string;
|
|
331
328
|
updatedAt: string;
|
|
329
|
+
name: string;
|
|
332
330
|
} | null | undefined;
|
|
331
|
+
companyId?: string | null | undefined;
|
|
332
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
333
333
|
}[];
|
|
334
334
|
totalCount: number;
|
|
335
335
|
skip: number;
|
|
@@ -338,9 +338,9 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
338
338
|
}, {
|
|
339
339
|
limit: number;
|
|
340
340
|
items: {
|
|
341
|
-
agentId: string;
|
|
342
341
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
343
342
|
id: string;
|
|
343
|
+
agentId: string;
|
|
344
344
|
agent: {
|
|
345
345
|
id: string;
|
|
346
346
|
createdAt: string | Date;
|
|
@@ -352,14 +352,14 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
352
352
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
353
353
|
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;
|
|
354
354
|
};
|
|
355
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
356
|
-
companyId?: string | null | undefined;
|
|
357
355
|
company?: {
|
|
358
356
|
id: string;
|
|
359
|
-
name: string;
|
|
360
357
|
createdAt: string | Date;
|
|
361
358
|
updatedAt: string | Date;
|
|
359
|
+
name: string;
|
|
362
360
|
} | null | undefined;
|
|
361
|
+
companyId?: string | null | undefined;
|
|
362
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
363
363
|
}[];
|
|
364
364
|
totalCount: number;
|
|
365
365
|
skip: number;
|
|
@@ -374,9 +374,6 @@ export type FilterAgentLeadDistribution = z.infer<typeof FilterAgentLeadDistribu
|
|
|
374
374
|
export type PaginatedAgentLeadDistributionResponse = z.infer<typeof PaginatedAgentLeadDistributionResponseSchema>;
|
|
375
375
|
export declare const agentLeadDistributionContract: {
|
|
376
376
|
findAll: {
|
|
377
|
-
metadata: {
|
|
378
|
-
tags: string[];
|
|
379
|
-
};
|
|
380
377
|
query: z.ZodObject<{
|
|
381
378
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
382
379
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -388,18 +385,21 @@ export declare const agentLeadDistributionContract: {
|
|
|
388
385
|
}, "strip", z.ZodTypeAny, {
|
|
389
386
|
limit: number;
|
|
390
387
|
page: number;
|
|
391
|
-
agentId?: string | undefined;
|
|
392
388
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
393
|
-
|
|
389
|
+
agentId?: string | undefined;
|
|
394
390
|
companyId?: string | undefined;
|
|
391
|
+
leadDistributionConfigId?: string | undefined;
|
|
395
392
|
}, {
|
|
396
|
-
agentId?: string | undefined;
|
|
397
393
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
398
|
-
leadDistributionConfigId?: string | undefined;
|
|
399
|
-
companyId?: string | undefined;
|
|
400
394
|
limit?: number | undefined;
|
|
401
395
|
page?: number | undefined;
|
|
396
|
+
agentId?: string | undefined;
|
|
397
|
+
companyId?: string | undefined;
|
|
398
|
+
leadDistributionConfigId?: string | undefined;
|
|
402
399
|
}>;
|
|
400
|
+
metadata: {
|
|
401
|
+
tags: string[];
|
|
402
|
+
};
|
|
403
403
|
summary: "List all agent lead distribution records";
|
|
404
404
|
method: "GET";
|
|
405
405
|
path: "/v2/agent-lead-distribution";
|
|
@@ -492,14 +492,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
492
492
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
493
493
|
}, "strip", z.ZodTypeAny, {
|
|
494
494
|
id: string;
|
|
495
|
-
name: string;
|
|
496
495
|
createdAt: string;
|
|
497
496
|
updatedAt: string;
|
|
497
|
+
name: string;
|
|
498
498
|
}, {
|
|
499
499
|
id: string;
|
|
500
|
-
name: string;
|
|
501
500
|
createdAt: string | Date;
|
|
502
501
|
updatedAt: string | Date;
|
|
502
|
+
name: string;
|
|
503
503
|
}>>>;
|
|
504
504
|
} & {
|
|
505
505
|
id: z.ZodString;
|
|
@@ -535,9 +535,9 @@ export declare const agentLeadDistributionContract: {
|
|
|
535
535
|
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;
|
|
536
536
|
}>;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
agentId: string;
|
|
539
538
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
540
539
|
id: string;
|
|
540
|
+
agentId: string;
|
|
541
541
|
agent: {
|
|
542
542
|
id: string;
|
|
543
543
|
createdAt: string;
|
|
@@ -549,18 +549,18 @@ export declare const agentLeadDistributionContract: {
|
|
|
549
549
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
550
550
|
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;
|
|
551
551
|
};
|
|
552
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
553
|
-
companyId?: string | null | undefined;
|
|
554
552
|
company?: {
|
|
555
553
|
id: string;
|
|
556
|
-
name: string;
|
|
557
554
|
createdAt: string;
|
|
558
555
|
updatedAt: string;
|
|
556
|
+
name: string;
|
|
559
557
|
} | null | undefined;
|
|
558
|
+
companyId?: string | null | undefined;
|
|
559
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
560
560
|
}, {
|
|
561
|
-
agentId: string;
|
|
562
561
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
563
562
|
id: string;
|
|
563
|
+
agentId: string;
|
|
564
564
|
agent: {
|
|
565
565
|
id: string;
|
|
566
566
|
createdAt: string | Date;
|
|
@@ -572,14 +572,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
572
572
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
573
573
|
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;
|
|
574
574
|
};
|
|
575
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
576
|
-
companyId?: string | null | undefined;
|
|
577
575
|
company?: {
|
|
578
576
|
id: string;
|
|
579
|
-
name: string;
|
|
580
577
|
createdAt: string | Date;
|
|
581
578
|
updatedAt: string | Date;
|
|
579
|
+
name: string;
|
|
582
580
|
} | null | undefined;
|
|
581
|
+
companyId?: string | null | undefined;
|
|
582
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
583
583
|
}>, "many">;
|
|
584
584
|
totalCount: z.ZodNumber;
|
|
585
585
|
limit: z.ZodNumber;
|
|
@@ -589,9 +589,9 @@ export declare const agentLeadDistributionContract: {
|
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
limit: number;
|
|
591
591
|
items: {
|
|
592
|
-
agentId: string;
|
|
593
592
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
594
593
|
id: string;
|
|
594
|
+
agentId: string;
|
|
595
595
|
agent: {
|
|
596
596
|
id: string;
|
|
597
597
|
createdAt: string;
|
|
@@ -603,14 +603,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
603
603
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
604
604
|
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;
|
|
605
605
|
};
|
|
606
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
607
|
-
companyId?: string | null | undefined;
|
|
608
606
|
company?: {
|
|
609
607
|
id: string;
|
|
610
|
-
name: string;
|
|
611
608
|
createdAt: string;
|
|
612
609
|
updatedAt: string;
|
|
610
|
+
name: string;
|
|
613
611
|
} | null | undefined;
|
|
612
|
+
companyId?: string | null | undefined;
|
|
613
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
614
614
|
}[];
|
|
615
615
|
totalCount: number;
|
|
616
616
|
skip: number;
|
|
@@ -619,9 +619,9 @@ export declare const agentLeadDistributionContract: {
|
|
|
619
619
|
}, {
|
|
620
620
|
limit: number;
|
|
621
621
|
items: {
|
|
622
|
-
agentId: string;
|
|
623
622
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
624
623
|
id: string;
|
|
624
|
+
agentId: string;
|
|
625
625
|
agent: {
|
|
626
626
|
id: string;
|
|
627
627
|
createdAt: string | Date;
|
|
@@ -633,14 +633,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
633
633
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
634
634
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
635
635
|
};
|
|
636
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
637
|
-
companyId?: string | null | undefined;
|
|
638
636
|
company?: {
|
|
639
637
|
id: string;
|
|
640
|
-
name: string;
|
|
641
638
|
createdAt: string | Date;
|
|
642
639
|
updatedAt: string | Date;
|
|
640
|
+
name: string;
|
|
643
641
|
} | null | undefined;
|
|
642
|
+
companyId?: string | null | undefined;
|
|
643
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
644
644
|
}[];
|
|
645
645
|
totalCount: number;
|
|
646
646
|
skip: number;
|
|
@@ -776,14 +776,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
776
776
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
778
|
id: string;
|
|
779
|
-
name: string;
|
|
780
779
|
createdAt: string;
|
|
781
780
|
updatedAt: string;
|
|
781
|
+
name: string;
|
|
782
782
|
}, {
|
|
783
783
|
id: string;
|
|
784
|
-
name: string;
|
|
785
784
|
createdAt: string | Date;
|
|
786
785
|
updatedAt: string | Date;
|
|
786
|
+
name: string;
|
|
787
787
|
}>>>;
|
|
788
788
|
} & {
|
|
789
789
|
id: z.ZodString;
|
|
@@ -819,9 +819,9 @@ export declare const agentLeadDistributionContract: {
|
|
|
819
819
|
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;
|
|
820
820
|
}>;
|
|
821
821
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
agentId: string;
|
|
823
822
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
824
823
|
id: string;
|
|
824
|
+
agentId: string;
|
|
825
825
|
agent: {
|
|
826
826
|
id: string;
|
|
827
827
|
createdAt: string;
|
|
@@ -833,18 +833,18 @@ export declare const agentLeadDistributionContract: {
|
|
|
833
833
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
834
834
|
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;
|
|
835
835
|
};
|
|
836
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
837
|
-
companyId?: string | null | undefined;
|
|
838
836
|
company?: {
|
|
839
837
|
id: string;
|
|
840
|
-
name: string;
|
|
841
838
|
createdAt: string;
|
|
842
839
|
updatedAt: string;
|
|
840
|
+
name: string;
|
|
843
841
|
} | null | undefined;
|
|
842
|
+
companyId?: string | null | undefined;
|
|
843
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
844
844
|
}, {
|
|
845
|
-
agentId: string;
|
|
846
845
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
847
846
|
id: string;
|
|
847
|
+
agentId: string;
|
|
848
848
|
agent: {
|
|
849
849
|
id: string;
|
|
850
850
|
createdAt: string | Date;
|
|
@@ -856,14 +856,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
856
856
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
857
857
|
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;
|
|
858
858
|
};
|
|
859
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
860
|
-
companyId?: string | null | undefined;
|
|
861
859
|
company?: {
|
|
862
860
|
id: string;
|
|
863
|
-
name: string;
|
|
864
861
|
createdAt: string | Date;
|
|
865
862
|
updatedAt: string | Date;
|
|
863
|
+
name: string;
|
|
866
864
|
} | null | undefined;
|
|
865
|
+
companyId?: string | null | undefined;
|
|
866
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
867
867
|
}>;
|
|
868
868
|
404: z.ZodObject<{
|
|
869
869
|
statusCode: z.ZodNumber;
|
|
@@ -929,15 +929,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
929
929
|
leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
930
930
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
agentId: string;
|
|
933
932
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
934
|
-
|
|
933
|
+
agentId: string;
|
|
935
934
|
companyId?: string | null | undefined;
|
|
935
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
936
936
|
}, {
|
|
937
|
-
agentId: string;
|
|
938
937
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
939
|
-
|
|
938
|
+
agentId: string;
|
|
940
939
|
companyId?: string | null | undefined;
|
|
940
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
941
941
|
}>;
|
|
942
942
|
path: "/v2/agent-lead-distribution";
|
|
943
943
|
responses: {
|
|
@@ -1028,37 +1028,37 @@ export declare const agentLeadDistributionContract: {
|
|
|
1028
1028
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1030
|
id: string;
|
|
1031
|
-
name: string;
|
|
1032
1031
|
createdAt: string;
|
|
1033
1032
|
updatedAt: string;
|
|
1033
|
+
name: string;
|
|
1034
1034
|
}, {
|
|
1035
1035
|
id: string;
|
|
1036
|
-
name: string;
|
|
1037
1036
|
createdAt: string | Date;
|
|
1038
1037
|
updatedAt: string | Date;
|
|
1038
|
+
name: string;
|
|
1039
1039
|
}>>>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
|
-
agentId: string;
|
|
1042
1041
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1043
|
-
|
|
1044
|
-
companyId?: string | null | undefined;
|
|
1042
|
+
agentId: string;
|
|
1045
1043
|
company?: {
|
|
1046
1044
|
id: string;
|
|
1047
|
-
name: string;
|
|
1048
1045
|
createdAt: string;
|
|
1049
1046
|
updatedAt: string;
|
|
1047
|
+
name: string;
|
|
1050
1048
|
} | null | undefined;
|
|
1049
|
+
companyId?: string | null | undefined;
|
|
1050
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1051
1051
|
}, {
|
|
1052
|
-
agentId: string;
|
|
1053
1052
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1054
|
-
|
|
1055
|
-
companyId?: string | null | undefined;
|
|
1053
|
+
agentId: string;
|
|
1056
1054
|
company?: {
|
|
1057
1055
|
id: string;
|
|
1058
|
-
name: string;
|
|
1059
1056
|
createdAt: string | Date;
|
|
1060
1057
|
updatedAt: string | Date;
|
|
1058
|
+
name: string;
|
|
1061
1059
|
} | null | undefined;
|
|
1060
|
+
companyId?: string | null | undefined;
|
|
1061
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1062
1062
|
}>;
|
|
1063
1063
|
403: z.ZodObject<{
|
|
1064
1064
|
statusCode: z.ZodNumber;
|
|
@@ -1106,12 +1106,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
1106
1106
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1108
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1109
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1110
1109
|
companyId?: string | null | undefined;
|
|
1110
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1111
1111
|
}, {
|
|
1112
1112
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1113
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1114
1113
|
companyId?: string | null | undefined;
|
|
1114
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1115
1115
|
}>;
|
|
1116
1116
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
1117
1117
|
responses: {
|
|
@@ -1202,37 +1202,37 @@ export declare const agentLeadDistributionContract: {
|
|
|
1202
1202
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1204
1204
|
id: string;
|
|
1205
|
-
name: string;
|
|
1206
1205
|
createdAt: string;
|
|
1207
1206
|
updatedAt: string;
|
|
1207
|
+
name: string;
|
|
1208
1208
|
}, {
|
|
1209
1209
|
id: string;
|
|
1210
|
-
name: string;
|
|
1211
1210
|
createdAt: string | Date;
|
|
1212
1211
|
updatedAt: string | Date;
|
|
1212
|
+
name: string;
|
|
1213
1213
|
}>>>;
|
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
agentId: string;
|
|
1216
1215
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1217
|
-
|
|
1218
|
-
companyId?: string | null | undefined;
|
|
1216
|
+
agentId: string;
|
|
1219
1217
|
company?: {
|
|
1220
1218
|
id: string;
|
|
1221
|
-
name: string;
|
|
1222
1219
|
createdAt: string;
|
|
1223
1220
|
updatedAt: string;
|
|
1221
|
+
name: string;
|
|
1224
1222
|
} | null | undefined;
|
|
1223
|
+
companyId?: string | null | undefined;
|
|
1224
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1225
1225
|
}, {
|
|
1226
|
-
agentId: string;
|
|
1227
1226
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1228
|
-
|
|
1229
|
-
companyId?: string | null | undefined;
|
|
1227
|
+
agentId: string;
|
|
1230
1228
|
company?: {
|
|
1231
1229
|
id: string;
|
|
1232
|
-
name: string;
|
|
1233
1230
|
createdAt: string | Date;
|
|
1234
1231
|
updatedAt: string | Date;
|
|
1232
|
+
name: string;
|
|
1235
1233
|
} | null | undefined;
|
|
1234
|
+
companyId?: string | null | undefined;
|
|
1235
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1236
1236
|
}>;
|
|
1237
1237
|
404: z.ZodObject<{
|
|
1238
1238
|
statusCode: z.ZodNumber;
|