@dakkitor/api-contracts 1.1.39 → 1.1.41
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/first-agent.abilities.json +4 -0
- package/dist/actives/actives.contract.d.ts +2609 -2563
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +82 -24
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +2349 -2310
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +645 -599
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +336 -288
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +198 -174
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +136 -136
- package/dist/users/users.contract.d.ts +42 -0
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +24 -1
- package/package.json +1 -1
|
@@ -12,37 +12,37 @@ 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
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
15
|
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
}, {
|
|
20
16
|
id: string;
|
|
17
|
+
updatedAt: string;
|
|
21
18
|
name: string;
|
|
19
|
+
}, {
|
|
22
20
|
createdAt: string | Date;
|
|
21
|
+
id: string;
|
|
23
22
|
updatedAt: string | Date;
|
|
23
|
+
name: string;
|
|
24
24
|
}>>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
agentId: string;
|
|
27
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
27
|
+
agentId: string;
|
|
28
28
|
leadDistributionConfigId?: string | null | undefined;
|
|
29
29
|
companyId?: string | null | undefined;
|
|
30
30
|
company?: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
31
|
createdAt: string;
|
|
32
|
+
id: string;
|
|
34
33
|
updatedAt: string;
|
|
34
|
+
name: string;
|
|
35
35
|
} | null | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
agentId: string;
|
|
38
37
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
38
|
+
agentId: string;
|
|
39
39
|
leadDistributionConfigId?: string | null | undefined;
|
|
40
40
|
companyId?: string | null | undefined;
|
|
41
41
|
company?: {
|
|
42
|
-
id: string;
|
|
43
|
-
name: string;
|
|
44
42
|
createdAt: string | Date;
|
|
43
|
+
id: string;
|
|
45
44
|
updatedAt: string | Date;
|
|
45
|
+
name: string;
|
|
46
46
|
} | null | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
@@ -56,15 +56,15 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
56
56
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
57
57
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
id: string;
|
|
60
|
-
name: string;
|
|
61
59
|
createdAt: string;
|
|
62
|
-
updatedAt: string;
|
|
63
|
-
}, {
|
|
64
60
|
id: string;
|
|
61
|
+
updatedAt: string;
|
|
65
62
|
name: string;
|
|
63
|
+
}, {
|
|
66
64
|
createdAt: string | Date;
|
|
65
|
+
id: string;
|
|
67
66
|
updatedAt: string | Date;
|
|
67
|
+
name: string;
|
|
68
68
|
}>>>;
|
|
69
69
|
} & {
|
|
70
70
|
id: z.ZodString;
|
|
@@ -75,70 +75,75 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
75
75
|
email: z.ZodString;
|
|
76
76
|
phone: z.ZodString;
|
|
77
77
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
78
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
78
79
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
79
80
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
80
81
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
id: string;
|
|
82
|
-
createdAt: string;
|
|
83
|
-
updatedAt: string;
|
|
84
|
-
firstName: string;
|
|
85
82
|
lastName: string;
|
|
83
|
+
firstName: string;
|
|
86
84
|
email: string;
|
|
87
85
|
phone: string;
|
|
86
|
+
createdAt: string;
|
|
87
|
+
id: string;
|
|
88
|
+
updatedAt: string;
|
|
88
89
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
90
|
+
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;
|
|
89
91
|
}, {
|
|
90
|
-
id: string;
|
|
91
|
-
createdAt: string | Date;
|
|
92
|
-
updatedAt: string | Date;
|
|
93
|
-
firstName: string;
|
|
94
92
|
lastName: string;
|
|
93
|
+
firstName: string;
|
|
95
94
|
email: string;
|
|
96
95
|
phone: string;
|
|
96
|
+
createdAt: string | Date;
|
|
97
|
+
id: string;
|
|
98
|
+
updatedAt: string | Date;
|
|
97
99
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
98
101
|
}>;
|
|
99
102
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
agentId: string;
|
|
101
103
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
102
104
|
id: string;
|
|
105
|
+
agentId: string;
|
|
103
106
|
agent: {
|
|
104
|
-
id: string;
|
|
105
|
-
createdAt: string;
|
|
106
|
-
updatedAt: string;
|
|
107
|
-
firstName: string;
|
|
108
107
|
lastName: string;
|
|
108
|
+
firstName: string;
|
|
109
109
|
email: string;
|
|
110
110
|
phone: string;
|
|
111
|
+
createdAt: string;
|
|
112
|
+
id: string;
|
|
113
|
+
updatedAt: string;
|
|
111
114
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
112
116
|
};
|
|
113
117
|
leadDistributionConfigId?: string | null | undefined;
|
|
114
118
|
companyId?: string | null | undefined;
|
|
115
119
|
company?: {
|
|
116
|
-
id: string;
|
|
117
|
-
name: string;
|
|
118
120
|
createdAt: string;
|
|
121
|
+
id: string;
|
|
119
122
|
updatedAt: string;
|
|
123
|
+
name: string;
|
|
120
124
|
} | null | undefined;
|
|
121
125
|
}, {
|
|
122
|
-
agentId: string;
|
|
123
126
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
124
127
|
id: string;
|
|
128
|
+
agentId: string;
|
|
125
129
|
agent: {
|
|
126
|
-
id: string;
|
|
127
|
-
createdAt: string | Date;
|
|
128
|
-
updatedAt: string | Date;
|
|
129
|
-
firstName: string;
|
|
130
130
|
lastName: string;
|
|
131
|
+
firstName: string;
|
|
131
132
|
email: string;
|
|
132
133
|
phone: string;
|
|
134
|
+
createdAt: string | Date;
|
|
135
|
+
id: string;
|
|
136
|
+
updatedAt: string | Date;
|
|
133
137
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
134
139
|
};
|
|
135
140
|
leadDistributionConfigId?: string | null | undefined;
|
|
136
141
|
companyId?: string | null | undefined;
|
|
137
142
|
company?: {
|
|
138
|
-
id: string;
|
|
139
|
-
name: string;
|
|
140
143
|
createdAt: string | Date;
|
|
144
|
+
id: string;
|
|
141
145
|
updatedAt: string | Date;
|
|
146
|
+
name: string;
|
|
142
147
|
} | null | undefined;
|
|
143
148
|
}>;
|
|
144
149
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
@@ -147,13 +152,13 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
147
152
|
leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
153
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
154
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
agentId: string;
|
|
151
155
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
156
|
+
agentId: string;
|
|
152
157
|
leadDistributionConfigId?: string | null | undefined;
|
|
153
158
|
companyId?: string | null | undefined;
|
|
154
159
|
}, {
|
|
155
|
-
agentId: string;
|
|
156
160
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
161
|
+
agentId: string;
|
|
157
162
|
leadDistributionConfigId?: string | null | undefined;
|
|
158
163
|
companyId?: string | null | undefined;
|
|
159
164
|
}>;
|
|
@@ -181,17 +186,17 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
181
186
|
}, "strip", z.ZodTypeAny, {
|
|
182
187
|
limit: number;
|
|
183
188
|
page: number;
|
|
184
|
-
agentId?: string | undefined;
|
|
185
189
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
190
|
+
agentId?: string | undefined;
|
|
186
191
|
leadDistributionConfigId?: string | undefined;
|
|
187
192
|
companyId?: string | undefined;
|
|
188
193
|
}, {
|
|
189
|
-
agentId?: string | undefined;
|
|
190
194
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
191
|
-
leadDistributionConfigId?: string | undefined;
|
|
192
|
-
companyId?: string | undefined;
|
|
193
195
|
limit?: number | undefined;
|
|
194
196
|
page?: number | undefined;
|
|
197
|
+
agentId?: string | undefined;
|
|
198
|
+
leadDistributionConfigId?: string | undefined;
|
|
199
|
+
companyId?: string | undefined;
|
|
195
200
|
}>;
|
|
196
201
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
197
202
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -205,15 +210,15 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
205
210
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
206
211
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
207
212
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
id: string;
|
|
209
|
-
name: string;
|
|
210
213
|
createdAt: string;
|
|
211
|
-
updatedAt: string;
|
|
212
|
-
}, {
|
|
213
214
|
id: string;
|
|
215
|
+
updatedAt: string;
|
|
214
216
|
name: string;
|
|
217
|
+
}, {
|
|
215
218
|
createdAt: string | Date;
|
|
219
|
+
id: string;
|
|
216
220
|
updatedAt: string | Date;
|
|
221
|
+
name: string;
|
|
217
222
|
}>>>;
|
|
218
223
|
} & {
|
|
219
224
|
id: z.ZodString;
|
|
@@ -224,70 +229,75 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
224
229
|
email: z.ZodString;
|
|
225
230
|
phone: z.ZodString;
|
|
226
231
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
232
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
227
233
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
228
234
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
229
235
|
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
id: string;
|
|
231
|
-
createdAt: string;
|
|
232
|
-
updatedAt: string;
|
|
233
|
-
firstName: string;
|
|
234
236
|
lastName: string;
|
|
237
|
+
firstName: string;
|
|
235
238
|
email: string;
|
|
236
239
|
phone: string;
|
|
240
|
+
createdAt: string;
|
|
241
|
+
id: string;
|
|
242
|
+
updatedAt: string;
|
|
237
243
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
244
|
+
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;
|
|
238
245
|
}, {
|
|
239
|
-
id: string;
|
|
240
|
-
createdAt: string | Date;
|
|
241
|
-
updatedAt: string | Date;
|
|
242
|
-
firstName: string;
|
|
243
246
|
lastName: string;
|
|
247
|
+
firstName: string;
|
|
244
248
|
email: string;
|
|
245
249
|
phone: string;
|
|
250
|
+
createdAt: string | Date;
|
|
251
|
+
id: string;
|
|
252
|
+
updatedAt: string | Date;
|
|
246
253
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
247
255
|
}>;
|
|
248
256
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
agentId: string;
|
|
250
257
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
251
258
|
id: string;
|
|
259
|
+
agentId: string;
|
|
252
260
|
agent: {
|
|
253
|
-
id: string;
|
|
254
|
-
createdAt: string;
|
|
255
|
-
updatedAt: string;
|
|
256
|
-
firstName: string;
|
|
257
261
|
lastName: string;
|
|
262
|
+
firstName: string;
|
|
258
263
|
email: string;
|
|
259
264
|
phone: string;
|
|
265
|
+
createdAt: string;
|
|
266
|
+
id: string;
|
|
267
|
+
updatedAt: string;
|
|
260
268
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
261
270
|
};
|
|
262
271
|
leadDistributionConfigId?: string | null | undefined;
|
|
263
272
|
companyId?: string | null | undefined;
|
|
264
273
|
company?: {
|
|
265
|
-
id: string;
|
|
266
|
-
name: string;
|
|
267
274
|
createdAt: string;
|
|
275
|
+
id: string;
|
|
268
276
|
updatedAt: string;
|
|
277
|
+
name: string;
|
|
269
278
|
} | null | undefined;
|
|
270
279
|
}, {
|
|
271
|
-
agentId: string;
|
|
272
280
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
273
281
|
id: string;
|
|
282
|
+
agentId: string;
|
|
274
283
|
agent: {
|
|
275
|
-
id: string;
|
|
276
|
-
createdAt: string | Date;
|
|
277
|
-
updatedAt: string | Date;
|
|
278
|
-
firstName: string;
|
|
279
284
|
lastName: string;
|
|
285
|
+
firstName: string;
|
|
280
286
|
email: string;
|
|
281
287
|
phone: string;
|
|
288
|
+
createdAt: string | Date;
|
|
289
|
+
id: string;
|
|
290
|
+
updatedAt: string | Date;
|
|
282
291
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
283
293
|
};
|
|
284
294
|
leadDistributionConfigId?: string | null | undefined;
|
|
285
295
|
companyId?: string | null | undefined;
|
|
286
296
|
company?: {
|
|
287
|
-
id: string;
|
|
288
|
-
name: string;
|
|
289
297
|
createdAt: string | Date;
|
|
298
|
+
id: string;
|
|
290
299
|
updatedAt: string | Date;
|
|
300
|
+
name: string;
|
|
291
301
|
} | null | undefined;
|
|
292
302
|
}>, "many">;
|
|
293
303
|
totalCount: z.ZodNumber;
|
|
@@ -298,26 +308,27 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
298
308
|
}, "strip", z.ZodTypeAny, {
|
|
299
309
|
limit: number;
|
|
300
310
|
items: {
|
|
301
|
-
agentId: string;
|
|
302
311
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
303
312
|
id: string;
|
|
313
|
+
agentId: string;
|
|
304
314
|
agent: {
|
|
305
|
-
id: string;
|
|
306
|
-
createdAt: string;
|
|
307
|
-
updatedAt: string;
|
|
308
|
-
firstName: string;
|
|
309
315
|
lastName: string;
|
|
316
|
+
firstName: string;
|
|
310
317
|
email: string;
|
|
311
318
|
phone: string;
|
|
319
|
+
createdAt: string;
|
|
320
|
+
id: string;
|
|
321
|
+
updatedAt: string;
|
|
312
322
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
313
324
|
};
|
|
314
325
|
leadDistributionConfigId?: string | null | undefined;
|
|
315
326
|
companyId?: string | null | undefined;
|
|
316
327
|
company?: {
|
|
317
|
-
id: string;
|
|
318
|
-
name: string;
|
|
319
328
|
createdAt: string;
|
|
329
|
+
id: string;
|
|
320
330
|
updatedAt: string;
|
|
331
|
+
name: string;
|
|
321
332
|
} | null | undefined;
|
|
322
333
|
}[];
|
|
323
334
|
totalCount: number;
|
|
@@ -327,26 +338,27 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
327
338
|
}, {
|
|
328
339
|
limit: number;
|
|
329
340
|
items: {
|
|
330
|
-
agentId: string;
|
|
331
341
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
332
342
|
id: string;
|
|
343
|
+
agentId: string;
|
|
333
344
|
agent: {
|
|
334
|
-
id: string;
|
|
335
|
-
createdAt: string | Date;
|
|
336
|
-
updatedAt: string | Date;
|
|
337
|
-
firstName: string;
|
|
338
345
|
lastName: string;
|
|
346
|
+
firstName: string;
|
|
339
347
|
email: string;
|
|
340
348
|
phone: string;
|
|
349
|
+
createdAt: string | Date;
|
|
350
|
+
id: string;
|
|
351
|
+
updatedAt: string | Date;
|
|
341
352
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
342
354
|
};
|
|
343
355
|
leadDistributionConfigId?: string | null | undefined;
|
|
344
356
|
companyId?: string | null | undefined;
|
|
345
357
|
company?: {
|
|
346
|
-
id: string;
|
|
347
|
-
name: string;
|
|
348
358
|
createdAt: string | Date;
|
|
359
|
+
id: string;
|
|
349
360
|
updatedAt: string | Date;
|
|
361
|
+
name: string;
|
|
350
362
|
} | null | undefined;
|
|
351
363
|
}[];
|
|
352
364
|
totalCount: number;
|
|
@@ -376,17 +388,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
376
388
|
}, "strip", z.ZodTypeAny, {
|
|
377
389
|
limit: number;
|
|
378
390
|
page: number;
|
|
379
|
-
agentId?: string | undefined;
|
|
380
391
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
392
|
+
agentId?: string | undefined;
|
|
381
393
|
leadDistributionConfigId?: string | undefined;
|
|
382
394
|
companyId?: string | undefined;
|
|
383
395
|
}, {
|
|
384
|
-
agentId?: string | undefined;
|
|
385
396
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
386
|
-
leadDistributionConfigId?: string | undefined;
|
|
387
|
-
companyId?: string | undefined;
|
|
388
397
|
limit?: number | undefined;
|
|
389
398
|
page?: number | undefined;
|
|
399
|
+
agentId?: string | undefined;
|
|
400
|
+
leadDistributionConfigId?: string | undefined;
|
|
401
|
+
companyId?: string | undefined;
|
|
390
402
|
}>;
|
|
391
403
|
summary: "List all agent lead distribution records";
|
|
392
404
|
method: "GET";
|
|
@@ -479,15 +491,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
479
491
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
480
492
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
481
493
|
}, "strip", z.ZodTypeAny, {
|
|
482
|
-
id: string;
|
|
483
|
-
name: string;
|
|
484
494
|
createdAt: string;
|
|
485
|
-
updatedAt: string;
|
|
486
|
-
}, {
|
|
487
495
|
id: string;
|
|
496
|
+
updatedAt: string;
|
|
488
497
|
name: string;
|
|
498
|
+
}, {
|
|
489
499
|
createdAt: string | Date;
|
|
500
|
+
id: string;
|
|
490
501
|
updatedAt: string | Date;
|
|
502
|
+
name: string;
|
|
491
503
|
}>>>;
|
|
492
504
|
} & {
|
|
493
505
|
id: z.ZodString;
|
|
@@ -498,70 +510,75 @@ export declare const agentLeadDistributionContract: {
|
|
|
498
510
|
email: z.ZodString;
|
|
499
511
|
phone: z.ZodString;
|
|
500
512
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
513
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
501
514
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
502
515
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
503
516
|
}, "strip", z.ZodTypeAny, {
|
|
504
|
-
id: string;
|
|
505
|
-
createdAt: string;
|
|
506
|
-
updatedAt: string;
|
|
507
|
-
firstName: string;
|
|
508
517
|
lastName: string;
|
|
518
|
+
firstName: string;
|
|
509
519
|
email: string;
|
|
510
520
|
phone: string;
|
|
521
|
+
createdAt: string;
|
|
522
|
+
id: string;
|
|
523
|
+
updatedAt: string;
|
|
511
524
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
525
|
+
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;
|
|
512
526
|
}, {
|
|
513
|
-
id: string;
|
|
514
|
-
createdAt: string | Date;
|
|
515
|
-
updatedAt: string | Date;
|
|
516
|
-
firstName: string;
|
|
517
527
|
lastName: string;
|
|
528
|
+
firstName: string;
|
|
518
529
|
email: string;
|
|
519
530
|
phone: string;
|
|
531
|
+
createdAt: string | Date;
|
|
532
|
+
id: string;
|
|
533
|
+
updatedAt: string | Date;
|
|
520
534
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
521
536
|
}>;
|
|
522
537
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
agentId: string;
|
|
524
538
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
525
539
|
id: string;
|
|
540
|
+
agentId: string;
|
|
526
541
|
agent: {
|
|
527
|
-
id: string;
|
|
528
|
-
createdAt: string;
|
|
529
|
-
updatedAt: string;
|
|
530
|
-
firstName: string;
|
|
531
542
|
lastName: string;
|
|
543
|
+
firstName: string;
|
|
532
544
|
email: string;
|
|
533
545
|
phone: string;
|
|
546
|
+
createdAt: string;
|
|
547
|
+
id: string;
|
|
548
|
+
updatedAt: string;
|
|
534
549
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
535
551
|
};
|
|
536
552
|
leadDistributionConfigId?: string | null | undefined;
|
|
537
553
|
companyId?: string | null | undefined;
|
|
538
554
|
company?: {
|
|
539
|
-
id: string;
|
|
540
|
-
name: string;
|
|
541
555
|
createdAt: string;
|
|
556
|
+
id: string;
|
|
542
557
|
updatedAt: string;
|
|
558
|
+
name: string;
|
|
543
559
|
} | null | undefined;
|
|
544
560
|
}, {
|
|
545
|
-
agentId: string;
|
|
546
561
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
547
562
|
id: string;
|
|
563
|
+
agentId: string;
|
|
548
564
|
agent: {
|
|
549
|
-
id: string;
|
|
550
|
-
createdAt: string | Date;
|
|
551
|
-
updatedAt: string | Date;
|
|
552
|
-
firstName: string;
|
|
553
565
|
lastName: string;
|
|
566
|
+
firstName: string;
|
|
554
567
|
email: string;
|
|
555
568
|
phone: string;
|
|
569
|
+
createdAt: string | Date;
|
|
570
|
+
id: string;
|
|
571
|
+
updatedAt: string | Date;
|
|
556
572
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
557
574
|
};
|
|
558
575
|
leadDistributionConfigId?: string | null | undefined;
|
|
559
576
|
companyId?: string | null | undefined;
|
|
560
577
|
company?: {
|
|
561
|
-
id: string;
|
|
562
|
-
name: string;
|
|
563
578
|
createdAt: string | Date;
|
|
579
|
+
id: string;
|
|
564
580
|
updatedAt: string | Date;
|
|
581
|
+
name: string;
|
|
565
582
|
} | null | undefined;
|
|
566
583
|
}>, "many">;
|
|
567
584
|
totalCount: z.ZodNumber;
|
|
@@ -572,26 +589,27 @@ export declare const agentLeadDistributionContract: {
|
|
|
572
589
|
}, "strip", z.ZodTypeAny, {
|
|
573
590
|
limit: number;
|
|
574
591
|
items: {
|
|
575
|
-
agentId: string;
|
|
576
592
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
577
593
|
id: string;
|
|
594
|
+
agentId: string;
|
|
578
595
|
agent: {
|
|
579
|
-
id: string;
|
|
580
|
-
createdAt: string;
|
|
581
|
-
updatedAt: string;
|
|
582
|
-
firstName: string;
|
|
583
596
|
lastName: string;
|
|
597
|
+
firstName: string;
|
|
584
598
|
email: string;
|
|
585
599
|
phone: string;
|
|
600
|
+
createdAt: string;
|
|
601
|
+
id: string;
|
|
602
|
+
updatedAt: string;
|
|
586
603
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
587
605
|
};
|
|
588
606
|
leadDistributionConfigId?: string | null | undefined;
|
|
589
607
|
companyId?: string | null | undefined;
|
|
590
608
|
company?: {
|
|
591
|
-
id: string;
|
|
592
|
-
name: string;
|
|
593
609
|
createdAt: string;
|
|
610
|
+
id: string;
|
|
594
611
|
updatedAt: string;
|
|
612
|
+
name: string;
|
|
595
613
|
} | null | undefined;
|
|
596
614
|
}[];
|
|
597
615
|
totalCount: number;
|
|
@@ -601,26 +619,27 @@ export declare const agentLeadDistributionContract: {
|
|
|
601
619
|
}, {
|
|
602
620
|
limit: number;
|
|
603
621
|
items: {
|
|
604
|
-
agentId: string;
|
|
605
622
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
606
623
|
id: string;
|
|
624
|
+
agentId: string;
|
|
607
625
|
agent: {
|
|
608
|
-
id: string;
|
|
609
|
-
createdAt: string | Date;
|
|
610
|
-
updatedAt: string | Date;
|
|
611
|
-
firstName: string;
|
|
612
626
|
lastName: string;
|
|
627
|
+
firstName: string;
|
|
613
628
|
email: string;
|
|
614
629
|
phone: string;
|
|
630
|
+
createdAt: string | Date;
|
|
631
|
+
id: string;
|
|
632
|
+
updatedAt: string | Date;
|
|
615
633
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
616
635
|
};
|
|
617
636
|
leadDistributionConfigId?: string | null | undefined;
|
|
618
637
|
companyId?: string | null | undefined;
|
|
619
638
|
company?: {
|
|
620
|
-
id: string;
|
|
621
|
-
name: string;
|
|
622
639
|
createdAt: string | Date;
|
|
640
|
+
id: string;
|
|
623
641
|
updatedAt: string | Date;
|
|
642
|
+
name: string;
|
|
624
643
|
} | null | undefined;
|
|
625
644
|
}[];
|
|
626
645
|
totalCount: number;
|
|
@@ -756,15 +775,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
756
775
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
757
776
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
758
777
|
}, "strip", z.ZodTypeAny, {
|
|
759
|
-
id: string;
|
|
760
|
-
name: string;
|
|
761
778
|
createdAt: string;
|
|
762
|
-
updatedAt: string;
|
|
763
|
-
}, {
|
|
764
779
|
id: string;
|
|
780
|
+
updatedAt: string;
|
|
765
781
|
name: string;
|
|
782
|
+
}, {
|
|
766
783
|
createdAt: string | Date;
|
|
784
|
+
id: string;
|
|
767
785
|
updatedAt: string | Date;
|
|
786
|
+
name: string;
|
|
768
787
|
}>>>;
|
|
769
788
|
} & {
|
|
770
789
|
id: z.ZodString;
|
|
@@ -775,70 +794,75 @@ export declare const agentLeadDistributionContract: {
|
|
|
775
794
|
email: z.ZodString;
|
|
776
795
|
phone: z.ZodString;
|
|
777
796
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
797
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
778
798
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
779
799
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
780
800
|
}, "strip", z.ZodTypeAny, {
|
|
781
|
-
id: string;
|
|
782
|
-
createdAt: string;
|
|
783
|
-
updatedAt: string;
|
|
784
|
-
firstName: string;
|
|
785
801
|
lastName: string;
|
|
802
|
+
firstName: string;
|
|
786
803
|
email: string;
|
|
787
804
|
phone: string;
|
|
805
|
+
createdAt: string;
|
|
806
|
+
id: string;
|
|
807
|
+
updatedAt: string;
|
|
788
808
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
809
|
+
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;
|
|
789
810
|
}, {
|
|
790
|
-
id: string;
|
|
791
|
-
createdAt: string | Date;
|
|
792
|
-
updatedAt: string | Date;
|
|
793
|
-
firstName: string;
|
|
794
811
|
lastName: string;
|
|
812
|
+
firstName: string;
|
|
795
813
|
email: string;
|
|
796
814
|
phone: string;
|
|
815
|
+
createdAt: string | Date;
|
|
816
|
+
id: string;
|
|
817
|
+
updatedAt: string | Date;
|
|
797
818
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
798
820
|
}>;
|
|
799
821
|
}, "strip", z.ZodTypeAny, {
|
|
800
|
-
agentId: string;
|
|
801
822
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
802
823
|
id: string;
|
|
824
|
+
agentId: string;
|
|
803
825
|
agent: {
|
|
804
|
-
id: string;
|
|
805
|
-
createdAt: string;
|
|
806
|
-
updatedAt: string;
|
|
807
|
-
firstName: string;
|
|
808
826
|
lastName: string;
|
|
827
|
+
firstName: string;
|
|
809
828
|
email: string;
|
|
810
829
|
phone: string;
|
|
830
|
+
createdAt: string;
|
|
831
|
+
id: string;
|
|
832
|
+
updatedAt: string;
|
|
811
833
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
812
835
|
};
|
|
813
836
|
leadDistributionConfigId?: string | null | undefined;
|
|
814
837
|
companyId?: string | null | undefined;
|
|
815
838
|
company?: {
|
|
816
|
-
id: string;
|
|
817
|
-
name: string;
|
|
818
839
|
createdAt: string;
|
|
840
|
+
id: string;
|
|
819
841
|
updatedAt: string;
|
|
842
|
+
name: string;
|
|
820
843
|
} | null | undefined;
|
|
821
844
|
}, {
|
|
822
|
-
agentId: string;
|
|
823
845
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
824
846
|
id: string;
|
|
847
|
+
agentId: string;
|
|
825
848
|
agent: {
|
|
826
|
-
id: string;
|
|
827
|
-
createdAt: string | Date;
|
|
828
|
-
updatedAt: string | Date;
|
|
829
|
-
firstName: string;
|
|
830
849
|
lastName: string;
|
|
850
|
+
firstName: string;
|
|
831
851
|
email: string;
|
|
832
852
|
phone: string;
|
|
853
|
+
createdAt: string | Date;
|
|
854
|
+
id: string;
|
|
855
|
+
updatedAt: string | Date;
|
|
833
856
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
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;
|
|
834
858
|
};
|
|
835
859
|
leadDistributionConfigId?: string | null | undefined;
|
|
836
860
|
companyId?: string | null | undefined;
|
|
837
861
|
company?: {
|
|
838
|
-
id: string;
|
|
839
|
-
name: string;
|
|
840
862
|
createdAt: string | Date;
|
|
863
|
+
id: string;
|
|
841
864
|
updatedAt: string | Date;
|
|
865
|
+
name: string;
|
|
842
866
|
} | null | undefined;
|
|
843
867
|
}>;
|
|
844
868
|
404: z.ZodObject<{
|
|
@@ -905,13 +929,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
905
929
|
leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
906
930
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
907
931
|
}, "strip", z.ZodTypeAny, {
|
|
908
|
-
agentId: string;
|
|
909
932
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
933
|
+
agentId: string;
|
|
910
934
|
leadDistributionConfigId?: string | null | undefined;
|
|
911
935
|
companyId?: string | null | undefined;
|
|
912
936
|
}, {
|
|
913
|
-
agentId: string;
|
|
914
937
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
938
|
+
agentId: string;
|
|
915
939
|
leadDistributionConfigId?: string | null | undefined;
|
|
916
940
|
companyId?: string | null | undefined;
|
|
917
941
|
}>;
|
|
@@ -1003,37 +1027,37 @@ export declare const agentLeadDistributionContract: {
|
|
|
1003
1027
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1004
1028
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1005
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
id: string;
|
|
1007
|
-
name: string;
|
|
1008
1030
|
createdAt: string;
|
|
1009
|
-
updatedAt: string;
|
|
1010
|
-
}, {
|
|
1011
1031
|
id: string;
|
|
1032
|
+
updatedAt: string;
|
|
1012
1033
|
name: string;
|
|
1034
|
+
}, {
|
|
1013
1035
|
createdAt: string | Date;
|
|
1036
|
+
id: string;
|
|
1014
1037
|
updatedAt: string | Date;
|
|
1038
|
+
name: string;
|
|
1015
1039
|
}>>>;
|
|
1016
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1017
|
-
agentId: string;
|
|
1018
1041
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1042
|
+
agentId: string;
|
|
1019
1043
|
leadDistributionConfigId?: string | null | undefined;
|
|
1020
1044
|
companyId?: string | null | undefined;
|
|
1021
1045
|
company?: {
|
|
1022
|
-
id: string;
|
|
1023
|
-
name: string;
|
|
1024
1046
|
createdAt: string;
|
|
1047
|
+
id: string;
|
|
1025
1048
|
updatedAt: string;
|
|
1049
|
+
name: string;
|
|
1026
1050
|
} | null | undefined;
|
|
1027
1051
|
}, {
|
|
1028
|
-
agentId: string;
|
|
1029
1052
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1053
|
+
agentId: string;
|
|
1030
1054
|
leadDistributionConfigId?: string | null | undefined;
|
|
1031
1055
|
companyId?: string | null | undefined;
|
|
1032
1056
|
company?: {
|
|
1033
|
-
id: string;
|
|
1034
|
-
name: string;
|
|
1035
1057
|
createdAt: string | Date;
|
|
1058
|
+
id: string;
|
|
1036
1059
|
updatedAt: string | Date;
|
|
1060
|
+
name: string;
|
|
1037
1061
|
} | null | undefined;
|
|
1038
1062
|
}>;
|
|
1039
1063
|
403: z.ZodObject<{
|
|
@@ -1177,37 +1201,37 @@ export declare const agentLeadDistributionContract: {
|
|
|
1177
1201
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1178
1202
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1179
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
id: string;
|
|
1181
|
-
name: string;
|
|
1182
1204
|
createdAt: string;
|
|
1183
|
-
updatedAt: string;
|
|
1184
|
-
}, {
|
|
1185
1205
|
id: string;
|
|
1206
|
+
updatedAt: string;
|
|
1186
1207
|
name: string;
|
|
1208
|
+
}, {
|
|
1187
1209
|
createdAt: string | Date;
|
|
1210
|
+
id: string;
|
|
1188
1211
|
updatedAt: string | Date;
|
|
1212
|
+
name: string;
|
|
1189
1213
|
}>>>;
|
|
1190
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1191
|
-
agentId: string;
|
|
1192
1215
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1216
|
+
agentId: string;
|
|
1193
1217
|
leadDistributionConfigId?: string | null | undefined;
|
|
1194
1218
|
companyId?: string | null | undefined;
|
|
1195
1219
|
company?: {
|
|
1196
|
-
id: string;
|
|
1197
|
-
name: string;
|
|
1198
1220
|
createdAt: string;
|
|
1221
|
+
id: string;
|
|
1199
1222
|
updatedAt: string;
|
|
1223
|
+
name: string;
|
|
1200
1224
|
} | null | undefined;
|
|
1201
1225
|
}, {
|
|
1202
|
-
agentId: string;
|
|
1203
1226
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1227
|
+
agentId: string;
|
|
1204
1228
|
leadDistributionConfigId?: string | null | undefined;
|
|
1205
1229
|
companyId?: string | null | undefined;
|
|
1206
1230
|
company?: {
|
|
1207
|
-
id: string;
|
|
1208
|
-
name: string;
|
|
1209
1231
|
createdAt: string | Date;
|
|
1232
|
+
id: string;
|
|
1210
1233
|
updatedAt: string | Date;
|
|
1234
|
+
name: string;
|
|
1211
1235
|
} | null | undefined;
|
|
1212
1236
|
}>;
|
|
1213
1237
|
404: z.ZodObject<{
|