@dakkitor/api-contracts 1.1.107 → 1.1.109
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 +2577 -2577
- package/dist/agent-client-links/agent-client-links.contract.d.ts +486 -486
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +9898 -9898
- package/dist/call-history/call-history.contract.d.ts +483 -453
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +994 -994
- package/dist/collaborations/collaborations.contract.d.ts +868 -868
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard-widgets.contract.d.ts +54 -48
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +18 -9
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +1756 -1756
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +163 -163
- package/dist/leads/leads.contract.d.ts +65 -65
- package/dist/users/users.contract.d.ts +128 -128
- package/dist/workers/workers.contract.d.ts +172 -172
- 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;
|
|
16
15
|
id: string;
|
|
16
|
+
createdAt: string;
|
|
17
17
|
updatedAt: string;
|
|
18
18
|
name: string;
|
|
19
19
|
}, {
|
|
20
|
-
createdAt: string | Date;
|
|
21
20
|
id: string;
|
|
21
|
+
createdAt: string | Date;
|
|
22
22
|
updatedAt: string | Date;
|
|
23
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
|
-
companyId?: string | null | undefined;
|
|
30
28
|
company?: {
|
|
31
|
-
createdAt: string;
|
|
32
29
|
id: string;
|
|
30
|
+
createdAt: string;
|
|
33
31
|
updatedAt: string;
|
|
34
32
|
name: string;
|
|
35
33
|
} | 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;
|
|
41
39
|
company?: {
|
|
42
|
-
createdAt: string | Date;
|
|
43
40
|
id: string;
|
|
41
|
+
createdAt: string | Date;
|
|
44
42
|
updatedAt: string | Date;
|
|
45
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;
|
|
@@ -56,13 +56,13 @@ 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;
|
|
60
59
|
id: string;
|
|
60
|
+
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
62
|
name: string;
|
|
63
63
|
}, {
|
|
64
|
-
createdAt: string | Date;
|
|
65
64
|
id: string;
|
|
65
|
+
createdAt: string | Date;
|
|
66
66
|
updatedAt: string | Date;
|
|
67
67
|
name: string;
|
|
68
68
|
}>>>;
|
|
@@ -94,27 +94,27 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
94
94
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
95
95
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
|
|
97
|
+
id: string;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
updatedAt: string;
|
|
98
100
|
firstName: string;
|
|
101
|
+
lastName: string;
|
|
99
102
|
email: string;
|
|
100
|
-
createdAt: string;
|
|
101
|
-
id: string;
|
|
102
103
|
phoneNumbers: {
|
|
103
104
|
id: string;
|
|
104
105
|
phoneNumber: string;
|
|
105
106
|
isPrimary: boolean;
|
|
106
107
|
description?: string | null | undefined;
|
|
107
108
|
}[];
|
|
108
|
-
updatedAt: string;
|
|
109
109
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
110
110
|
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;
|
|
111
111
|
}, {
|
|
112
|
-
lastName: string;
|
|
113
|
-
firstName: string;
|
|
114
|
-
email: string;
|
|
115
|
-
createdAt: string | Date;
|
|
116
112
|
id: string;
|
|
113
|
+
createdAt: string | Date;
|
|
117
114
|
updatedAt: string | Date;
|
|
115
|
+
firstName: string;
|
|
116
|
+
lastName: string;
|
|
117
|
+
email: string;
|
|
118
118
|
phoneNumbers?: {
|
|
119
119
|
id: string;
|
|
120
120
|
phoneNumber: string;
|
|
@@ -129,40 +129,40 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
129
129
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
130
130
|
agentId: string;
|
|
131
131
|
agent: {
|
|
132
|
-
|
|
132
|
+
id: string;
|
|
133
|
+
createdAt: string;
|
|
134
|
+
updatedAt: string;
|
|
133
135
|
firstName: string;
|
|
136
|
+
lastName: string;
|
|
134
137
|
email: string;
|
|
135
|
-
createdAt: string;
|
|
136
|
-
id: string;
|
|
137
138
|
phoneNumbers: {
|
|
138
139
|
id: string;
|
|
139
140
|
phoneNumber: string;
|
|
140
141
|
isPrimary: boolean;
|
|
141
142
|
description?: string | null | undefined;
|
|
142
143
|
}[];
|
|
143
|
-
updatedAt: string;
|
|
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;
|
|
149
147
|
company?: {
|
|
150
|
-
createdAt: string;
|
|
151
148
|
id: string;
|
|
149
|
+
createdAt: string;
|
|
152
150
|
updatedAt: string;
|
|
153
151
|
name: string;
|
|
154
152
|
} | null | undefined;
|
|
153
|
+
companyId?: string | null | undefined;
|
|
154
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
id: string;
|
|
157
157
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
158
158
|
agentId: string;
|
|
159
159
|
agent: {
|
|
160
|
-
lastName: string;
|
|
161
|
-
firstName: string;
|
|
162
|
-
email: string;
|
|
163
|
-
createdAt: string | Date;
|
|
164
160
|
id: string;
|
|
161
|
+
createdAt: string | Date;
|
|
165
162
|
updatedAt: string | Date;
|
|
163
|
+
firstName: string;
|
|
164
|
+
lastName: string;
|
|
165
|
+
email: string;
|
|
166
166
|
phoneNumbers?: {
|
|
167
167
|
id: string;
|
|
168
168
|
phoneNumber: string;
|
|
@@ -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;
|
|
177
175
|
company?: {
|
|
178
|
-
createdAt: string | Date;
|
|
179
176
|
id: string;
|
|
177
|
+
createdAt: string | Date;
|
|
180
178
|
updatedAt: string | Date;
|
|
181
179
|
name: string;
|
|
182
180
|
} | 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
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
193
192
|
companyId?: string | null | undefined;
|
|
193
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
196
196
|
agentId: string;
|
|
197
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
198
197
|
companyId?: string | null | undefined;
|
|
198
|
+
leadDistributionConfigId?: 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
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
207
206
|
companyId?: string | null | undefined;
|
|
207
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
208
208
|
}, {
|
|
209
209
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
210
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
211
210
|
companyId?: string | null | undefined;
|
|
211
|
+
leadDistributionConfigId?: 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
|
-
leadDistributionConfigId?: string | undefined;
|
|
227
226
|
companyId?: string | undefined;
|
|
227
|
+
leadDistributionConfigId?: string | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
230
230
|
limit?: number | undefined;
|
|
231
231
|
page?: number | undefined;
|
|
232
232
|
agentId?: string | undefined;
|
|
233
|
-
leadDistributionConfigId?: string | undefined;
|
|
234
233
|
companyId?: string | undefined;
|
|
234
|
+
leadDistributionConfigId?: string | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
237
237
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -245,13 +245,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
245
245
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
246
246
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
247
247
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
createdAt: string;
|
|
249
248
|
id: string;
|
|
249
|
+
createdAt: string;
|
|
250
250
|
updatedAt: string;
|
|
251
251
|
name: string;
|
|
252
252
|
}, {
|
|
253
|
-
createdAt: string | Date;
|
|
254
253
|
id: string;
|
|
254
|
+
createdAt: string | Date;
|
|
255
255
|
updatedAt: string | Date;
|
|
256
256
|
name: string;
|
|
257
257
|
}>>>;
|
|
@@ -283,27 +283,27 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
283
283
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
284
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
285
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
|
|
286
|
+
id: string;
|
|
287
|
+
createdAt: string;
|
|
288
|
+
updatedAt: string;
|
|
287
289
|
firstName: string;
|
|
290
|
+
lastName: string;
|
|
288
291
|
email: string;
|
|
289
|
-
createdAt: string;
|
|
290
|
-
id: string;
|
|
291
292
|
phoneNumbers: {
|
|
292
293
|
id: string;
|
|
293
294
|
phoneNumber: string;
|
|
294
295
|
isPrimary: boolean;
|
|
295
296
|
description?: string | null | undefined;
|
|
296
297
|
}[];
|
|
297
|
-
updatedAt: string;
|
|
298
298
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
299
299
|
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;
|
|
300
300
|
}, {
|
|
301
|
-
lastName: string;
|
|
302
|
-
firstName: string;
|
|
303
|
-
email: string;
|
|
304
|
-
createdAt: string | Date;
|
|
305
301
|
id: string;
|
|
302
|
+
createdAt: string | Date;
|
|
306
303
|
updatedAt: string | Date;
|
|
304
|
+
firstName: string;
|
|
305
|
+
lastName: string;
|
|
306
|
+
email: string;
|
|
307
307
|
phoneNumbers?: {
|
|
308
308
|
id: string;
|
|
309
309
|
phoneNumber: string;
|
|
@@ -318,40 +318,40 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
318
318
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
319
319
|
agentId: string;
|
|
320
320
|
agent: {
|
|
321
|
-
|
|
321
|
+
id: string;
|
|
322
|
+
createdAt: string;
|
|
323
|
+
updatedAt: string;
|
|
322
324
|
firstName: string;
|
|
325
|
+
lastName: string;
|
|
323
326
|
email: string;
|
|
324
|
-
createdAt: string;
|
|
325
|
-
id: string;
|
|
326
327
|
phoneNumbers: {
|
|
327
328
|
id: string;
|
|
328
329
|
phoneNumber: string;
|
|
329
330
|
isPrimary: boolean;
|
|
330
331
|
description?: string | null | undefined;
|
|
331
332
|
}[];
|
|
332
|
-
updatedAt: string;
|
|
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;
|
|
338
336
|
company?: {
|
|
339
|
-
createdAt: string;
|
|
340
337
|
id: string;
|
|
338
|
+
createdAt: string;
|
|
341
339
|
updatedAt: string;
|
|
342
340
|
name: string;
|
|
343
341
|
} | null | undefined;
|
|
342
|
+
companyId?: string | null | undefined;
|
|
343
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
id: string;
|
|
346
346
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
347
347
|
agentId: string;
|
|
348
348
|
agent: {
|
|
349
|
-
lastName: string;
|
|
350
|
-
firstName: string;
|
|
351
|
-
email: string;
|
|
352
|
-
createdAt: string | Date;
|
|
353
349
|
id: string;
|
|
350
|
+
createdAt: string | Date;
|
|
354
351
|
updatedAt: string | Date;
|
|
352
|
+
firstName: string;
|
|
353
|
+
lastName: string;
|
|
354
|
+
email: string;
|
|
355
355
|
phoneNumbers?: {
|
|
356
356
|
id: string;
|
|
357
357
|
phoneNumber: string;
|
|
@@ -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;
|
|
366
364
|
company?: {
|
|
367
|
-
createdAt: string | Date;
|
|
368
365
|
id: string;
|
|
366
|
+
createdAt: string | Date;
|
|
369
367
|
updatedAt: string | Date;
|
|
370
368
|
name: string;
|
|
371
369
|
} | 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;
|
|
@@ -382,29 +382,29 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
382
382
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
383
383
|
agentId: string;
|
|
384
384
|
agent: {
|
|
385
|
-
|
|
385
|
+
id: string;
|
|
386
|
+
createdAt: string;
|
|
387
|
+
updatedAt: string;
|
|
386
388
|
firstName: string;
|
|
389
|
+
lastName: string;
|
|
387
390
|
email: string;
|
|
388
|
-
createdAt: string;
|
|
389
|
-
id: string;
|
|
390
391
|
phoneNumbers: {
|
|
391
392
|
id: string;
|
|
392
393
|
phoneNumber: string;
|
|
393
394
|
isPrimary: boolean;
|
|
394
395
|
description?: string | null | undefined;
|
|
395
396
|
}[];
|
|
396
|
-
updatedAt: string;
|
|
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;
|
|
402
400
|
company?: {
|
|
403
|
-
createdAt: string;
|
|
404
401
|
id: string;
|
|
402
|
+
createdAt: string;
|
|
405
403
|
updatedAt: string;
|
|
406
404
|
name: string;
|
|
407
405
|
} | null | undefined;
|
|
406
|
+
companyId?: string | null | undefined;
|
|
407
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
408
408
|
}[];
|
|
409
409
|
totalCount: number;
|
|
410
410
|
skip: number;
|
|
@@ -417,12 +417,12 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
417
417
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
418
418
|
agentId: string;
|
|
419
419
|
agent: {
|
|
420
|
-
lastName: string;
|
|
421
|
-
firstName: string;
|
|
422
|
-
email: string;
|
|
423
|
-
createdAt: string | Date;
|
|
424
420
|
id: string;
|
|
421
|
+
createdAt: string | Date;
|
|
425
422
|
updatedAt: string | Date;
|
|
423
|
+
firstName: string;
|
|
424
|
+
lastName: string;
|
|
425
|
+
email: string;
|
|
426
426
|
phoneNumbers?: {
|
|
427
427
|
id: string;
|
|
428
428
|
phoneNumber: string;
|
|
@@ -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;
|
|
437
435
|
company?: {
|
|
438
|
-
createdAt: string | Date;
|
|
439
436
|
id: string;
|
|
437
|
+
createdAt: string | Date;
|
|
440
438
|
updatedAt: string | Date;
|
|
441
439
|
name: string;
|
|
442
440
|
} | null | undefined;
|
|
441
|
+
companyId?: string | null | undefined;
|
|
442
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
443
443
|
}[];
|
|
444
444
|
totalCount: number;
|
|
445
445
|
skip: number;
|
|
@@ -454,9 +454,6 @@ 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
|
-
};
|
|
460
457
|
query: z.ZodObject<{
|
|
461
458
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
462
459
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -470,16 +467,19 @@ export declare const agentLeadDistributionContract: {
|
|
|
470
467
|
page: number;
|
|
471
468
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
472
469
|
agentId?: string | undefined;
|
|
473
|
-
leadDistributionConfigId?: string | undefined;
|
|
474
470
|
companyId?: string | undefined;
|
|
471
|
+
leadDistributionConfigId?: string | undefined;
|
|
475
472
|
}, {
|
|
476
473
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
477
474
|
limit?: number | undefined;
|
|
478
475
|
page?: number | undefined;
|
|
479
476
|
agentId?: string | undefined;
|
|
480
|
-
leadDistributionConfigId?: string | undefined;
|
|
481
477
|
companyId?: string | undefined;
|
|
478
|
+
leadDistributionConfigId?: string | undefined;
|
|
482
479
|
}>;
|
|
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";
|
|
@@ -571,13 +571,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
571
571
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
572
572
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
createdAt: string;
|
|
575
574
|
id: string;
|
|
575
|
+
createdAt: string;
|
|
576
576
|
updatedAt: string;
|
|
577
577
|
name: string;
|
|
578
578
|
}, {
|
|
579
|
-
createdAt: string | Date;
|
|
580
579
|
id: string;
|
|
580
|
+
createdAt: string | Date;
|
|
581
581
|
updatedAt: string | Date;
|
|
582
582
|
name: string;
|
|
583
583
|
}>>>;
|
|
@@ -609,27 +609,27 @@ export declare const agentLeadDistributionContract: {
|
|
|
609
609
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
610
610
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
611
611
|
}, "strip", z.ZodTypeAny, {
|
|
612
|
-
|
|
612
|
+
id: string;
|
|
613
|
+
createdAt: string;
|
|
614
|
+
updatedAt: string;
|
|
613
615
|
firstName: string;
|
|
616
|
+
lastName: string;
|
|
614
617
|
email: string;
|
|
615
|
-
createdAt: string;
|
|
616
|
-
id: string;
|
|
617
618
|
phoneNumbers: {
|
|
618
619
|
id: string;
|
|
619
620
|
phoneNumber: string;
|
|
620
621
|
isPrimary: boolean;
|
|
621
622
|
description?: string | null | undefined;
|
|
622
623
|
}[];
|
|
623
|
-
updatedAt: string;
|
|
624
624
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
625
625
|
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;
|
|
626
626
|
}, {
|
|
627
|
-
lastName: string;
|
|
628
|
-
firstName: string;
|
|
629
|
-
email: string;
|
|
630
|
-
createdAt: string | Date;
|
|
631
627
|
id: string;
|
|
628
|
+
createdAt: string | Date;
|
|
632
629
|
updatedAt: string | Date;
|
|
630
|
+
firstName: string;
|
|
631
|
+
lastName: string;
|
|
632
|
+
email: string;
|
|
633
633
|
phoneNumbers?: {
|
|
634
634
|
id: string;
|
|
635
635
|
phoneNumber: string;
|
|
@@ -644,40 +644,40 @@ export declare const agentLeadDistributionContract: {
|
|
|
644
644
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
645
645
|
agentId: string;
|
|
646
646
|
agent: {
|
|
647
|
-
|
|
647
|
+
id: string;
|
|
648
|
+
createdAt: string;
|
|
649
|
+
updatedAt: string;
|
|
648
650
|
firstName: string;
|
|
651
|
+
lastName: string;
|
|
649
652
|
email: string;
|
|
650
|
-
createdAt: string;
|
|
651
|
-
id: string;
|
|
652
653
|
phoneNumbers: {
|
|
653
654
|
id: string;
|
|
654
655
|
phoneNumber: string;
|
|
655
656
|
isPrimary: boolean;
|
|
656
657
|
description?: string | null | undefined;
|
|
657
658
|
}[];
|
|
658
|
-
updatedAt: string;
|
|
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;
|
|
664
662
|
company?: {
|
|
665
|
-
createdAt: string;
|
|
666
663
|
id: string;
|
|
664
|
+
createdAt: string;
|
|
667
665
|
updatedAt: string;
|
|
668
666
|
name: string;
|
|
669
667
|
} | null | undefined;
|
|
668
|
+
companyId?: string | null | undefined;
|
|
669
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
670
670
|
}, {
|
|
671
671
|
id: string;
|
|
672
672
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
673
673
|
agentId: string;
|
|
674
674
|
agent: {
|
|
675
|
-
lastName: string;
|
|
676
|
-
firstName: string;
|
|
677
|
-
email: string;
|
|
678
|
-
createdAt: string | Date;
|
|
679
675
|
id: string;
|
|
676
|
+
createdAt: string | Date;
|
|
680
677
|
updatedAt: string | Date;
|
|
678
|
+
firstName: string;
|
|
679
|
+
lastName: string;
|
|
680
|
+
email: string;
|
|
681
681
|
phoneNumbers?: {
|
|
682
682
|
id: string;
|
|
683
683
|
phoneNumber: string;
|
|
@@ -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;
|
|
692
690
|
company?: {
|
|
693
|
-
createdAt: string | Date;
|
|
694
691
|
id: string;
|
|
692
|
+
createdAt: string | Date;
|
|
695
693
|
updatedAt: string | Date;
|
|
696
694
|
name: string;
|
|
697
695
|
} | 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;
|
|
@@ -708,29 +708,29 @@ export declare const agentLeadDistributionContract: {
|
|
|
708
708
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
709
709
|
agentId: string;
|
|
710
710
|
agent: {
|
|
711
|
-
|
|
711
|
+
id: string;
|
|
712
|
+
createdAt: string;
|
|
713
|
+
updatedAt: string;
|
|
712
714
|
firstName: string;
|
|
715
|
+
lastName: string;
|
|
713
716
|
email: string;
|
|
714
|
-
createdAt: string;
|
|
715
|
-
id: string;
|
|
716
717
|
phoneNumbers: {
|
|
717
718
|
id: string;
|
|
718
719
|
phoneNumber: string;
|
|
719
720
|
isPrimary: boolean;
|
|
720
721
|
description?: string | null | undefined;
|
|
721
722
|
}[];
|
|
722
|
-
updatedAt: string;
|
|
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;
|
|
728
726
|
company?: {
|
|
729
|
-
createdAt: string;
|
|
730
727
|
id: string;
|
|
728
|
+
createdAt: string;
|
|
731
729
|
updatedAt: string;
|
|
732
730
|
name: string;
|
|
733
731
|
} | null | undefined;
|
|
732
|
+
companyId?: string | null | undefined;
|
|
733
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
734
734
|
}[];
|
|
735
735
|
totalCount: number;
|
|
736
736
|
skip: number;
|
|
@@ -743,12 +743,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
743
743
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
744
744
|
agentId: string;
|
|
745
745
|
agent: {
|
|
746
|
-
lastName: string;
|
|
747
|
-
firstName: string;
|
|
748
|
-
email: string;
|
|
749
|
-
createdAt: string | Date;
|
|
750
746
|
id: string;
|
|
747
|
+
createdAt: string | Date;
|
|
751
748
|
updatedAt: string | Date;
|
|
749
|
+
firstName: string;
|
|
750
|
+
lastName: string;
|
|
751
|
+
email: string;
|
|
752
752
|
phoneNumbers?: {
|
|
753
753
|
id: string;
|
|
754
754
|
phoneNumber: string;
|
|
@@ -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;
|
|
763
761
|
company?: {
|
|
764
|
-
createdAt: string | Date;
|
|
765
762
|
id: string;
|
|
763
|
+
createdAt: string | Date;
|
|
766
764
|
updatedAt: string | Date;
|
|
767
765
|
name: string;
|
|
768
766
|
} | null | undefined;
|
|
767
|
+
companyId?: string | null | undefined;
|
|
768
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
769
769
|
}[];
|
|
770
770
|
totalCount: number;
|
|
771
771
|
skip: number;
|
|
@@ -900,13 +900,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
900
900
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
901
901
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
createdAt: string;
|
|
904
903
|
id: string;
|
|
904
|
+
createdAt: string;
|
|
905
905
|
updatedAt: string;
|
|
906
906
|
name: string;
|
|
907
907
|
}, {
|
|
908
|
-
createdAt: string | Date;
|
|
909
908
|
id: string;
|
|
909
|
+
createdAt: string | Date;
|
|
910
910
|
updatedAt: string | Date;
|
|
911
911
|
name: string;
|
|
912
912
|
}>>>;
|
|
@@ -938,27 +938,27 @@ export declare const agentLeadDistributionContract: {
|
|
|
938
938
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
939
939
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
940
940
|
}, "strip", z.ZodTypeAny, {
|
|
941
|
-
|
|
941
|
+
id: string;
|
|
942
|
+
createdAt: string;
|
|
943
|
+
updatedAt: string;
|
|
942
944
|
firstName: string;
|
|
945
|
+
lastName: string;
|
|
943
946
|
email: string;
|
|
944
|
-
createdAt: string;
|
|
945
|
-
id: string;
|
|
946
947
|
phoneNumbers: {
|
|
947
948
|
id: string;
|
|
948
949
|
phoneNumber: string;
|
|
949
950
|
isPrimary: boolean;
|
|
950
951
|
description?: string | null | undefined;
|
|
951
952
|
}[];
|
|
952
|
-
updatedAt: string;
|
|
953
953
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
954
954
|
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;
|
|
955
955
|
}, {
|
|
956
|
-
lastName: string;
|
|
957
|
-
firstName: string;
|
|
958
|
-
email: string;
|
|
959
|
-
createdAt: string | Date;
|
|
960
956
|
id: string;
|
|
957
|
+
createdAt: string | Date;
|
|
961
958
|
updatedAt: string | Date;
|
|
959
|
+
firstName: string;
|
|
960
|
+
lastName: string;
|
|
961
|
+
email: string;
|
|
962
962
|
phoneNumbers?: {
|
|
963
963
|
id: string;
|
|
964
964
|
phoneNumber: string;
|
|
@@ -973,40 +973,40 @@ export declare const agentLeadDistributionContract: {
|
|
|
973
973
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
974
974
|
agentId: string;
|
|
975
975
|
agent: {
|
|
976
|
-
|
|
976
|
+
id: string;
|
|
977
|
+
createdAt: string;
|
|
978
|
+
updatedAt: string;
|
|
977
979
|
firstName: string;
|
|
980
|
+
lastName: string;
|
|
978
981
|
email: string;
|
|
979
|
-
createdAt: string;
|
|
980
|
-
id: string;
|
|
981
982
|
phoneNumbers: {
|
|
982
983
|
id: string;
|
|
983
984
|
phoneNumber: string;
|
|
984
985
|
isPrimary: boolean;
|
|
985
986
|
description?: string | null | undefined;
|
|
986
987
|
}[];
|
|
987
|
-
updatedAt: string;
|
|
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;
|
|
993
991
|
company?: {
|
|
994
|
-
createdAt: string;
|
|
995
992
|
id: string;
|
|
993
|
+
createdAt: string;
|
|
996
994
|
updatedAt: string;
|
|
997
995
|
name: string;
|
|
998
996
|
} | null | undefined;
|
|
997
|
+
companyId?: string | null | undefined;
|
|
998
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
999
999
|
}, {
|
|
1000
1000
|
id: string;
|
|
1001
1001
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1002
1002
|
agentId: string;
|
|
1003
1003
|
agent: {
|
|
1004
|
-
lastName: string;
|
|
1005
|
-
firstName: string;
|
|
1006
|
-
email: string;
|
|
1007
|
-
createdAt: string | Date;
|
|
1008
1004
|
id: string;
|
|
1005
|
+
createdAt: string | Date;
|
|
1009
1006
|
updatedAt: string | Date;
|
|
1007
|
+
firstName: string;
|
|
1008
|
+
lastName: string;
|
|
1009
|
+
email: string;
|
|
1010
1010
|
phoneNumbers?: {
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
phoneNumber: string;
|
|
@@ -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;
|
|
1021
1019
|
company?: {
|
|
1022
|
-
createdAt: string | Date;
|
|
1023
1020
|
id: string;
|
|
1021
|
+
createdAt: string | Date;
|
|
1024
1022
|
updatedAt: string | Date;
|
|
1025
1023
|
name: string;
|
|
1026
1024
|
} | 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
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1095
1094
|
companyId?: string | null | undefined;
|
|
1095
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1096
1096
|
}, {
|
|
1097
1097
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1098
1098
|
agentId: string;
|
|
1099
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1100
1099
|
companyId?: string | null | undefined;
|
|
1100
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1101
1101
|
}>;
|
|
1102
1102
|
path: "/v2/agent-lead-distribution";
|
|
1103
1103
|
responses: {
|
|
@@ -1187,38 +1187,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1187
1187
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1188
1188
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
-
createdAt: string;
|
|
1191
1190
|
id: string;
|
|
1191
|
+
createdAt: string;
|
|
1192
1192
|
updatedAt: string;
|
|
1193
1193
|
name: string;
|
|
1194
1194
|
}, {
|
|
1195
|
-
createdAt: string | Date;
|
|
1196
1195
|
id: string;
|
|
1196
|
+
createdAt: string | Date;
|
|
1197
1197
|
updatedAt: string | Date;
|
|
1198
1198
|
name: string;
|
|
1199
1199
|
}>>>;
|
|
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;
|
|
1205
1203
|
company?: {
|
|
1206
|
-
createdAt: string;
|
|
1207
1204
|
id: string;
|
|
1205
|
+
createdAt: string;
|
|
1208
1206
|
updatedAt: string;
|
|
1209
1207
|
name: string;
|
|
1210
1208
|
} | 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;
|
|
1216
1214
|
company?: {
|
|
1217
|
-
createdAt: string | Date;
|
|
1218
1215
|
id: string;
|
|
1216
|
+
createdAt: string | Date;
|
|
1219
1217
|
updatedAt: string | Date;
|
|
1220
1218
|
name: string;
|
|
1221
1219
|
} | 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
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1270
1269
|
companyId?: string | null | undefined;
|
|
1270
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1271
1271
|
}, {
|
|
1272
1272
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1273
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1274
1273
|
companyId?: string | null | undefined;
|
|
1274
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1275
1275
|
}>;
|
|
1276
1276
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
1277
1277
|
responses: {
|
|
@@ -1361,38 +1361,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1361
1361
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1362
1362
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1363
1363
|
}, "strip", z.ZodTypeAny, {
|
|
1364
|
-
createdAt: string;
|
|
1365
1364
|
id: string;
|
|
1365
|
+
createdAt: string;
|
|
1366
1366
|
updatedAt: string;
|
|
1367
1367
|
name: string;
|
|
1368
1368
|
}, {
|
|
1369
|
-
createdAt: string | Date;
|
|
1370
1369
|
id: string;
|
|
1370
|
+
createdAt: string | Date;
|
|
1371
1371
|
updatedAt: string | Date;
|
|
1372
1372
|
name: string;
|
|
1373
1373
|
}>>>;
|
|
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;
|
|
1379
1377
|
company?: {
|
|
1380
|
-
createdAt: string;
|
|
1381
1378
|
id: string;
|
|
1379
|
+
createdAt: string;
|
|
1382
1380
|
updatedAt: string;
|
|
1383
1381
|
name: string;
|
|
1384
1382
|
} | 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;
|
|
1390
1388
|
company?: {
|
|
1391
|
-
createdAt: string | Date;
|
|
1392
1389
|
id: string;
|
|
1390
|
+
createdAt: string | Date;
|
|
1393
1391
|
updatedAt: string | Date;
|
|
1394
1392
|
name: string;
|
|
1395
1393
|
} | null | undefined;
|
|
1394
|
+
companyId?: string | null | undefined;
|
|
1395
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1396
1396
|
}>;
|
|
1397
1397
|
404: z.ZodObject<{
|
|
1398
1398
|
statusCode: z.ZodNumber;
|