@dakkitor/api-contracts 1.1.101 → 1.1.103
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/abilities.contract.d.ts +2 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +4 -1
- package/dist/abilities/interconnection.json +370 -0
- package/dist/abilities/second-agent.abilities copy.json +370 -0
- package/dist/abilities/team-leads.json +88 -0
- package/dist/actives/actives.contract.d.ts +3475 -3475
- package/dist/agent-client-links/agent-client-links.contract.d.ts +489 -489
- package/dist/auth/auth.contract.d.ts +13 -13
- package/dist/bookings/bookings.contract.d.ts +13250 -13250
- package/dist/call-history/call-history.contract.d.ts +620 -620
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1190 -1190
- package/dist/collaborations/collaborations.contract.d.ts +1047 -1047
- package/dist/curated-workers/curated-workers.contract.d.ts +256 -256
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +2473 -2289
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +47 -3
- package/dist/lead-assignments/lead-assignments.contract.d.ts +448 -448
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +199 -199
- package/dist/leads/leads.contract.d.ts +150 -150
- package/dist/users/users.contract.d.ts +180 -180
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +1 -0
- package/dist/workers/workers.contract.d.ts +377 -377
- 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
|
-
id: string;
|
|
16
15
|
createdAt: string;
|
|
16
|
+
id: string;
|
|
17
17
|
updatedAt: string;
|
|
18
18
|
name: string;
|
|
19
19
|
}, {
|
|
20
|
-
id: string;
|
|
21
20
|
createdAt: string | Date;
|
|
21
|
+
id: string;
|
|
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;
|
|
28
30
|
company?: {
|
|
29
|
-
id: string;
|
|
30
31
|
createdAt: string;
|
|
32
|
+
id: string;
|
|
31
33
|
updatedAt: string;
|
|
32
34
|
name: string;
|
|
33
35
|
} | null | undefined;
|
|
34
|
-
companyId?: string | null | undefined;
|
|
35
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
38
38
|
agentId: string;
|
|
39
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
40
|
+
companyId?: string | null | undefined;
|
|
39
41
|
company?: {
|
|
40
|
-
id: string;
|
|
41
42
|
createdAt: string | Date;
|
|
43
|
+
id: string;
|
|
42
44
|
updatedAt: string | Date;
|
|
43
45
|
name: string;
|
|
44
46
|
} | null | undefined;
|
|
45
|
-
companyId?: string | null | undefined;
|
|
46
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
49
49
|
agentId: z.ZodString;
|
|
@@ -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
|
-
id: string;
|
|
60
59
|
createdAt: string;
|
|
60
|
+
id: string;
|
|
61
61
|
updatedAt: string;
|
|
62
62
|
name: string;
|
|
63
63
|
}, {
|
|
64
|
-
id: string;
|
|
65
64
|
createdAt: string | Date;
|
|
65
|
+
id: string;
|
|
66
66
|
updatedAt: string | Date;
|
|
67
67
|
name: string;
|
|
68
68
|
}>>>;
|
|
@@ -74,77 +74,77 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
74
74
|
lastName: z.ZodString;
|
|
75
75
|
email: z.ZodString;
|
|
76
76
|
phone: z.ZodString;
|
|
77
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
77
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEAD"]>, "many">>;
|
|
78
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"]>>>;
|
|
79
79
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
80
80
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
id: string;
|
|
83
|
-
createdAt: string;
|
|
84
|
-
updatedAt: string;
|
|
85
|
-
firstName: string;
|
|
86
82
|
lastName: string;
|
|
83
|
+
firstName: string;
|
|
87
84
|
email: string;
|
|
88
85
|
phone: string;
|
|
89
|
-
|
|
86
|
+
createdAt: string;
|
|
87
|
+
id: string;
|
|
88
|
+
updatedAt: string;
|
|
89
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
90
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;
|
|
91
91
|
}, {
|
|
92
|
-
id: string;
|
|
93
|
-
createdAt: string | Date;
|
|
94
|
-
updatedAt: string | Date;
|
|
95
|
-
firstName: string;
|
|
96
92
|
lastName: string;
|
|
93
|
+
firstName: string;
|
|
97
94
|
email: string;
|
|
98
95
|
phone: string;
|
|
99
|
-
|
|
96
|
+
createdAt: string | Date;
|
|
97
|
+
id: string;
|
|
98
|
+
updatedAt: string | Date;
|
|
99
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
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
|
-
id: string;
|
|
104
103
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
104
|
+
id: string;
|
|
105
105
|
agentId: string;
|
|
106
106
|
agent: {
|
|
107
|
-
id: string;
|
|
108
|
-
createdAt: string;
|
|
109
|
-
updatedAt: string;
|
|
110
|
-
firstName: string;
|
|
111
107
|
lastName: string;
|
|
108
|
+
firstName: string;
|
|
112
109
|
email: string;
|
|
113
110
|
phone: string;
|
|
114
|
-
|
|
111
|
+
createdAt: string;
|
|
112
|
+
id: string;
|
|
113
|
+
updatedAt: string;
|
|
114
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
117
119
|
company?: {
|
|
118
|
-
id: string;
|
|
119
120
|
createdAt: string;
|
|
121
|
+
id: string;
|
|
120
122
|
updatedAt: string;
|
|
121
123
|
name: string;
|
|
122
124
|
} | null | undefined;
|
|
123
|
-
companyId?: string | null | undefined;
|
|
124
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
id: string;
|
|
127
126
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
127
|
+
id: string;
|
|
128
128
|
agentId: string;
|
|
129
129
|
agent: {
|
|
130
|
-
id: string;
|
|
131
|
-
createdAt: string | Date;
|
|
132
|
-
updatedAt: string | Date;
|
|
133
|
-
firstName: string;
|
|
134
130
|
lastName: string;
|
|
131
|
+
firstName: string;
|
|
135
132
|
email: string;
|
|
136
133
|
phone: string;
|
|
137
|
-
|
|
134
|
+
createdAt: string | Date;
|
|
135
|
+
id: string;
|
|
136
|
+
updatedAt: string | Date;
|
|
137
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
140
142
|
company?: {
|
|
141
|
-
id: string;
|
|
142
143
|
createdAt: string | Date;
|
|
144
|
+
id: string;
|
|
143
145
|
updatedAt: string | Date;
|
|
144
146
|
name: string;
|
|
145
147
|
} | 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;
|
|
@@ -154,13 +154,13 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
156
156
|
agentId: string;
|
|
157
|
-
companyId?: string | null | undefined;
|
|
158
157
|
leadDistributionConfigId?: string | null | undefined;
|
|
158
|
+
companyId?: string | null | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
161
161
|
agentId: string;
|
|
162
|
-
companyId?: string | null | undefined;
|
|
163
162
|
leadDistributionConfigId?: string | null | undefined;
|
|
163
|
+
companyId?: 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
|
-
companyId?: string | null | undefined;
|
|
172
171
|
leadDistributionConfigId?: string | null | undefined;
|
|
172
|
+
companyId?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
175
|
-
companyId?: string | null | undefined;
|
|
176
175
|
leadDistributionConfigId?: string | null | undefined;
|
|
176
|
+
companyId?: string | null | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
179
179
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -188,15 +188,15 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
188
188
|
page: number;
|
|
189
189
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
190
190
|
agentId?: string | undefined;
|
|
191
|
-
companyId?: string | undefined;
|
|
192
191
|
leadDistributionConfigId?: string | undefined;
|
|
192
|
+
companyId?: string | undefined;
|
|
193
193
|
}, {
|
|
194
194
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
195
195
|
limit?: number | undefined;
|
|
196
196
|
page?: number | undefined;
|
|
197
197
|
agentId?: string | undefined;
|
|
198
|
-
companyId?: string | undefined;
|
|
199
198
|
leadDistributionConfigId?: string | undefined;
|
|
199
|
+
companyId?: string | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
202
202
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -210,13 +210,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
210
210
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
211
211
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
id: string;
|
|
214
213
|
createdAt: string;
|
|
214
|
+
id: string;
|
|
215
215
|
updatedAt: string;
|
|
216
216
|
name: string;
|
|
217
217
|
}, {
|
|
218
|
-
id: string;
|
|
219
218
|
createdAt: string | Date;
|
|
219
|
+
id: string;
|
|
220
220
|
updatedAt: string | Date;
|
|
221
221
|
name: string;
|
|
222
222
|
}>>>;
|
|
@@ -228,77 +228,77 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
228
228
|
lastName: z.ZodString;
|
|
229
229
|
email: z.ZodString;
|
|
230
230
|
phone: z.ZodString;
|
|
231
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
231
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEAD"]>, "many">>;
|
|
232
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"]>>>;
|
|
233
233
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
234
234
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
id: string;
|
|
237
|
-
createdAt: string;
|
|
238
|
-
updatedAt: string;
|
|
239
|
-
firstName: string;
|
|
240
236
|
lastName: string;
|
|
237
|
+
firstName: string;
|
|
241
238
|
email: string;
|
|
242
239
|
phone: string;
|
|
243
|
-
|
|
240
|
+
createdAt: string;
|
|
241
|
+
id: string;
|
|
242
|
+
updatedAt: string;
|
|
243
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
244
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;
|
|
245
245
|
}, {
|
|
246
|
-
id: string;
|
|
247
|
-
createdAt: string | Date;
|
|
248
|
-
updatedAt: string | Date;
|
|
249
|
-
firstName: string;
|
|
250
246
|
lastName: string;
|
|
247
|
+
firstName: string;
|
|
251
248
|
email: string;
|
|
252
249
|
phone: string;
|
|
253
|
-
|
|
250
|
+
createdAt: string | Date;
|
|
251
|
+
id: string;
|
|
252
|
+
updatedAt: string | Date;
|
|
253
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
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
|
-
id: string;
|
|
258
257
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
258
|
+
id: string;
|
|
259
259
|
agentId: string;
|
|
260
260
|
agent: {
|
|
261
|
-
id: string;
|
|
262
|
-
createdAt: string;
|
|
263
|
-
updatedAt: string;
|
|
264
|
-
firstName: string;
|
|
265
261
|
lastName: string;
|
|
262
|
+
firstName: string;
|
|
266
263
|
email: string;
|
|
267
264
|
phone: string;
|
|
268
|
-
|
|
265
|
+
createdAt: string;
|
|
266
|
+
id: string;
|
|
267
|
+
updatedAt: string;
|
|
268
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
271
273
|
company?: {
|
|
272
|
-
id: string;
|
|
273
274
|
createdAt: string;
|
|
275
|
+
id: string;
|
|
274
276
|
updatedAt: string;
|
|
275
277
|
name: string;
|
|
276
278
|
} | null | undefined;
|
|
277
|
-
companyId?: string | null | undefined;
|
|
278
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
279
279
|
}, {
|
|
280
|
-
id: string;
|
|
281
280
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
281
|
+
id: string;
|
|
282
282
|
agentId: string;
|
|
283
283
|
agent: {
|
|
284
|
-
id: string;
|
|
285
|
-
createdAt: string | Date;
|
|
286
|
-
updatedAt: string | Date;
|
|
287
|
-
firstName: string;
|
|
288
284
|
lastName: string;
|
|
285
|
+
firstName: string;
|
|
289
286
|
email: string;
|
|
290
287
|
phone: string;
|
|
291
|
-
|
|
288
|
+
createdAt: string | Date;
|
|
289
|
+
id: string;
|
|
290
|
+
updatedAt: string | Date;
|
|
291
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
294
296
|
company?: {
|
|
295
|
-
id: string;
|
|
296
297
|
createdAt: string | Date;
|
|
298
|
+
id: string;
|
|
297
299
|
updatedAt: string | Date;
|
|
298
300
|
name: string;
|
|
299
301
|
} | 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,28 +308,28 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
limit: number;
|
|
310
310
|
items: {
|
|
311
|
-
id: string;
|
|
312
311
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
312
|
+
id: string;
|
|
313
313
|
agentId: string;
|
|
314
314
|
agent: {
|
|
315
|
-
id: string;
|
|
316
|
-
createdAt: string;
|
|
317
|
-
updatedAt: string;
|
|
318
|
-
firstName: string;
|
|
319
315
|
lastName: string;
|
|
316
|
+
firstName: string;
|
|
320
317
|
email: string;
|
|
321
318
|
phone: string;
|
|
322
|
-
|
|
319
|
+
createdAt: string;
|
|
320
|
+
id: string;
|
|
321
|
+
updatedAt: string;
|
|
322
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
325
327
|
company?: {
|
|
326
|
-
id: string;
|
|
327
328
|
createdAt: string;
|
|
329
|
+
id: string;
|
|
328
330
|
updatedAt: string;
|
|
329
331
|
name: string;
|
|
330
332
|
} | null | undefined;
|
|
331
|
-
companyId?: string | null | undefined;
|
|
332
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
333
333
|
}[];
|
|
334
334
|
totalCount: number;
|
|
335
335
|
skip: number;
|
|
@@ -338,28 +338,28 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
338
338
|
}, {
|
|
339
339
|
limit: number;
|
|
340
340
|
items: {
|
|
341
|
-
id: string;
|
|
342
341
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
342
|
+
id: string;
|
|
343
343
|
agentId: string;
|
|
344
344
|
agent: {
|
|
345
|
-
id: string;
|
|
346
|
-
createdAt: string | Date;
|
|
347
|
-
updatedAt: string | Date;
|
|
348
|
-
firstName: string;
|
|
349
345
|
lastName: string;
|
|
346
|
+
firstName: string;
|
|
350
347
|
email: string;
|
|
351
348
|
phone: string;
|
|
352
|
-
|
|
349
|
+
createdAt: string | Date;
|
|
350
|
+
id: string;
|
|
351
|
+
updatedAt: string | Date;
|
|
352
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
355
357
|
company?: {
|
|
356
|
-
id: string;
|
|
357
358
|
createdAt: string | Date;
|
|
359
|
+
id: string;
|
|
358
360
|
updatedAt: string | Date;
|
|
359
361
|
name: string;
|
|
360
362
|
} | null | undefined;
|
|
361
|
-
companyId?: string | null | undefined;
|
|
362
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
363
363
|
}[];
|
|
364
364
|
totalCount: number;
|
|
365
365
|
skip: number;
|
|
@@ -374,6 +374,9 @@ 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
|
+
};
|
|
377
380
|
query: z.ZodObject<{
|
|
378
381
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
379
382
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -387,19 +390,16 @@ export declare const agentLeadDistributionContract: {
|
|
|
387
390
|
page: number;
|
|
388
391
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
389
392
|
agentId?: string | undefined;
|
|
390
|
-
companyId?: string | undefined;
|
|
391
393
|
leadDistributionConfigId?: string | undefined;
|
|
394
|
+
companyId?: string | undefined;
|
|
392
395
|
}, {
|
|
393
396
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
394
397
|
limit?: number | undefined;
|
|
395
398
|
page?: number | undefined;
|
|
396
399
|
agentId?: string | undefined;
|
|
397
|
-
companyId?: string | undefined;
|
|
398
400
|
leadDistributionConfigId?: string | undefined;
|
|
401
|
+
companyId?: string | undefined;
|
|
399
402
|
}>;
|
|
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";
|
|
@@ -491,13 +491,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
491
491
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
492
492
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
493
493
|
}, "strip", z.ZodTypeAny, {
|
|
494
|
-
id: string;
|
|
495
494
|
createdAt: string;
|
|
495
|
+
id: string;
|
|
496
496
|
updatedAt: string;
|
|
497
497
|
name: string;
|
|
498
498
|
}, {
|
|
499
|
-
id: string;
|
|
500
499
|
createdAt: string | Date;
|
|
500
|
+
id: string;
|
|
501
501
|
updatedAt: string | Date;
|
|
502
502
|
name: string;
|
|
503
503
|
}>>>;
|
|
@@ -509,77 +509,77 @@ export declare const agentLeadDistributionContract: {
|
|
|
509
509
|
lastName: z.ZodString;
|
|
510
510
|
email: z.ZodString;
|
|
511
511
|
phone: z.ZodString;
|
|
512
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
512
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEAD"]>, "many">>;
|
|
513
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"]>>>;
|
|
514
514
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
515
515
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
|
-
id: string;
|
|
518
|
-
createdAt: string;
|
|
519
|
-
updatedAt: string;
|
|
520
|
-
firstName: string;
|
|
521
517
|
lastName: string;
|
|
518
|
+
firstName: string;
|
|
522
519
|
email: string;
|
|
523
520
|
phone: string;
|
|
524
|
-
|
|
521
|
+
createdAt: string;
|
|
522
|
+
id: string;
|
|
523
|
+
updatedAt: string;
|
|
524
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
525
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;
|
|
526
526
|
}, {
|
|
527
|
-
id: string;
|
|
528
|
-
createdAt: string | Date;
|
|
529
|
-
updatedAt: string | Date;
|
|
530
|
-
firstName: string;
|
|
531
527
|
lastName: string;
|
|
528
|
+
firstName: string;
|
|
532
529
|
email: string;
|
|
533
530
|
phone: string;
|
|
534
|
-
|
|
531
|
+
createdAt: string | Date;
|
|
532
|
+
id: string;
|
|
533
|
+
updatedAt: string | Date;
|
|
534
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
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
|
-
id: string;
|
|
539
538
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
539
|
+
id: string;
|
|
540
540
|
agentId: string;
|
|
541
541
|
agent: {
|
|
542
|
-
id: string;
|
|
543
|
-
createdAt: string;
|
|
544
|
-
updatedAt: string;
|
|
545
|
-
firstName: string;
|
|
546
542
|
lastName: string;
|
|
543
|
+
firstName: string;
|
|
547
544
|
email: string;
|
|
548
545
|
phone: string;
|
|
549
|
-
|
|
546
|
+
createdAt: string;
|
|
547
|
+
id: string;
|
|
548
|
+
updatedAt: string;
|
|
549
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
552
554
|
company?: {
|
|
553
|
-
id: string;
|
|
554
555
|
createdAt: string;
|
|
556
|
+
id: string;
|
|
555
557
|
updatedAt: string;
|
|
556
558
|
name: string;
|
|
557
559
|
} | null | undefined;
|
|
558
|
-
companyId?: string | null | undefined;
|
|
559
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
560
560
|
}, {
|
|
561
|
-
id: string;
|
|
562
561
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
562
|
+
id: string;
|
|
563
563
|
agentId: string;
|
|
564
564
|
agent: {
|
|
565
|
-
id: string;
|
|
566
|
-
createdAt: string | Date;
|
|
567
|
-
updatedAt: string | Date;
|
|
568
|
-
firstName: string;
|
|
569
565
|
lastName: string;
|
|
566
|
+
firstName: string;
|
|
570
567
|
email: string;
|
|
571
568
|
phone: string;
|
|
572
|
-
|
|
569
|
+
createdAt: string | Date;
|
|
570
|
+
id: string;
|
|
571
|
+
updatedAt: string | Date;
|
|
572
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
575
577
|
company?: {
|
|
576
|
-
id: string;
|
|
577
578
|
createdAt: string | Date;
|
|
579
|
+
id: string;
|
|
578
580
|
updatedAt: string | Date;
|
|
579
581
|
name: string;
|
|
580
582
|
} | 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,28 +589,28 @@ export declare const agentLeadDistributionContract: {
|
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
limit: number;
|
|
591
591
|
items: {
|
|
592
|
-
id: string;
|
|
593
592
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
593
|
+
id: string;
|
|
594
594
|
agentId: string;
|
|
595
595
|
agent: {
|
|
596
|
-
id: string;
|
|
597
|
-
createdAt: string;
|
|
598
|
-
updatedAt: string;
|
|
599
|
-
firstName: string;
|
|
600
596
|
lastName: string;
|
|
597
|
+
firstName: string;
|
|
601
598
|
email: string;
|
|
602
599
|
phone: string;
|
|
603
|
-
|
|
600
|
+
createdAt: string;
|
|
601
|
+
id: string;
|
|
602
|
+
updatedAt: string;
|
|
603
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
606
608
|
company?: {
|
|
607
|
-
id: string;
|
|
608
609
|
createdAt: string;
|
|
610
|
+
id: string;
|
|
609
611
|
updatedAt: string;
|
|
610
612
|
name: string;
|
|
611
613
|
} | null | undefined;
|
|
612
|
-
companyId?: string | null | undefined;
|
|
613
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
614
614
|
}[];
|
|
615
615
|
totalCount: number;
|
|
616
616
|
skip: number;
|
|
@@ -619,28 +619,28 @@ export declare const agentLeadDistributionContract: {
|
|
|
619
619
|
}, {
|
|
620
620
|
limit: number;
|
|
621
621
|
items: {
|
|
622
|
-
id: string;
|
|
623
622
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
623
|
+
id: string;
|
|
624
624
|
agentId: string;
|
|
625
625
|
agent: {
|
|
626
|
-
id: string;
|
|
627
|
-
createdAt: string | Date;
|
|
628
|
-
updatedAt: string | Date;
|
|
629
|
-
firstName: string;
|
|
630
626
|
lastName: string;
|
|
627
|
+
firstName: string;
|
|
631
628
|
email: string;
|
|
632
629
|
phone: string;
|
|
633
|
-
|
|
630
|
+
createdAt: string | Date;
|
|
631
|
+
id: string;
|
|
632
|
+
updatedAt: string | Date;
|
|
633
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
636
638
|
company?: {
|
|
637
|
-
id: string;
|
|
638
639
|
createdAt: string | Date;
|
|
640
|
+
id: string;
|
|
639
641
|
updatedAt: string | Date;
|
|
640
642
|
name: string;
|
|
641
643
|
} | null | undefined;
|
|
642
|
-
companyId?: string | null | undefined;
|
|
643
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
644
644
|
}[];
|
|
645
645
|
totalCount: number;
|
|
646
646
|
skip: number;
|
|
@@ -775,13 +775,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
775
775
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
776
776
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
|
-
id: string;
|
|
779
778
|
createdAt: string;
|
|
779
|
+
id: string;
|
|
780
780
|
updatedAt: string;
|
|
781
781
|
name: string;
|
|
782
782
|
}, {
|
|
783
|
-
id: string;
|
|
784
783
|
createdAt: string | Date;
|
|
784
|
+
id: string;
|
|
785
785
|
updatedAt: string | Date;
|
|
786
786
|
name: string;
|
|
787
787
|
}>>>;
|
|
@@ -793,77 +793,77 @@ export declare const agentLeadDistributionContract: {
|
|
|
793
793
|
lastName: z.ZodString;
|
|
794
794
|
email: z.ZodString;
|
|
795
795
|
phone: z.ZodString;
|
|
796
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI"]>, "many">>;
|
|
796
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEAD"]>, "many">>;
|
|
797
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"]>>>;
|
|
798
798
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
799
799
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
id: string;
|
|
802
|
-
createdAt: string;
|
|
803
|
-
updatedAt: string;
|
|
804
|
-
firstName: string;
|
|
805
801
|
lastName: string;
|
|
802
|
+
firstName: string;
|
|
806
803
|
email: string;
|
|
807
804
|
phone: string;
|
|
808
|
-
|
|
805
|
+
createdAt: string;
|
|
806
|
+
id: string;
|
|
807
|
+
updatedAt: string;
|
|
808
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
809
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;
|
|
810
810
|
}, {
|
|
811
|
-
id: string;
|
|
812
|
-
createdAt: string | Date;
|
|
813
|
-
updatedAt: string | Date;
|
|
814
|
-
firstName: string;
|
|
815
811
|
lastName: string;
|
|
812
|
+
firstName: string;
|
|
816
813
|
email: string;
|
|
817
814
|
phone: string;
|
|
818
|
-
|
|
815
|
+
createdAt: string | Date;
|
|
816
|
+
id: string;
|
|
817
|
+
updatedAt: string | Date;
|
|
818
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | undefined;
|
|
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
|
-
id: string;
|
|
823
822
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
823
|
+
id: string;
|
|
824
824
|
agentId: string;
|
|
825
825
|
agent: {
|
|
826
|
-
id: string;
|
|
827
|
-
createdAt: string;
|
|
828
|
-
updatedAt: string;
|
|
829
|
-
firstName: string;
|
|
830
826
|
lastName: string;
|
|
827
|
+
firstName: string;
|
|
831
828
|
email: string;
|
|
832
829
|
phone: string;
|
|
833
|
-
|
|
830
|
+
createdAt: string;
|
|
831
|
+
id: string;
|
|
832
|
+
updatedAt: string;
|
|
833
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
836
838
|
company?: {
|
|
837
|
-
id: string;
|
|
838
839
|
createdAt: string;
|
|
840
|
+
id: string;
|
|
839
841
|
updatedAt: string;
|
|
840
842
|
name: string;
|
|
841
843
|
} | null | undefined;
|
|
842
|
-
companyId?: string | null | undefined;
|
|
843
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
844
844
|
}, {
|
|
845
|
-
id: string;
|
|
846
845
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
846
|
+
id: string;
|
|
847
847
|
agentId: string;
|
|
848
848
|
agent: {
|
|
849
|
-
id: string;
|
|
850
|
-
createdAt: string | Date;
|
|
851
|
-
updatedAt: string | Date;
|
|
852
|
-
firstName: string;
|
|
853
849
|
lastName: string;
|
|
850
|
+
firstName: string;
|
|
854
851
|
email: string;
|
|
855
852
|
phone: string;
|
|
856
|
-
|
|
853
|
+
createdAt: string | Date;
|
|
854
|
+
id: string;
|
|
855
|
+
updatedAt: string | Date;
|
|
856
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEAD")[] | 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;
|
|
859
861
|
company?: {
|
|
860
|
-
id: string;
|
|
861
862
|
createdAt: string | Date;
|
|
863
|
+
id: string;
|
|
862
864
|
updatedAt: string | Date;
|
|
863
865
|
name: string;
|
|
864
866
|
} | null | undefined;
|
|
865
|
-
companyId?: string | null | undefined;
|
|
866
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
867
867
|
}>;
|
|
868
868
|
404: z.ZodObject<{
|
|
869
869
|
statusCode: z.ZodNumber;
|
|
@@ -931,13 +931,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
932
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
933
933
|
agentId: string;
|
|
934
|
-
companyId?: string | null | undefined;
|
|
935
934
|
leadDistributionConfigId?: string | null | undefined;
|
|
935
|
+
companyId?: string | null | undefined;
|
|
936
936
|
}, {
|
|
937
937
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
938
938
|
agentId: string;
|
|
939
|
-
companyId?: string | null | undefined;
|
|
940
939
|
leadDistributionConfigId?: string | null | undefined;
|
|
940
|
+
companyId?: string | null | undefined;
|
|
941
941
|
}>;
|
|
942
942
|
path: "/v2/agent-lead-distribution";
|
|
943
943
|
responses: {
|
|
@@ -1027,38 +1027,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1027
1027
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1028
1028
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1029
1029
|
}, "strip", z.ZodTypeAny, {
|
|
1030
|
-
id: string;
|
|
1031
1030
|
createdAt: string;
|
|
1031
|
+
id: string;
|
|
1032
1032
|
updatedAt: string;
|
|
1033
1033
|
name: string;
|
|
1034
1034
|
}, {
|
|
1035
|
-
id: string;
|
|
1036
1035
|
createdAt: string | Date;
|
|
1036
|
+
id: string;
|
|
1037
1037
|
updatedAt: string | Date;
|
|
1038
1038
|
name: string;
|
|
1039
1039
|
}>>>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1041
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1042
1042
|
agentId: string;
|
|
1043
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1044
|
+
companyId?: string | null | undefined;
|
|
1043
1045
|
company?: {
|
|
1044
|
-
id: string;
|
|
1045
1046
|
createdAt: string;
|
|
1047
|
+
id: string;
|
|
1046
1048
|
updatedAt: string;
|
|
1047
1049
|
name: string;
|
|
1048
1050
|
} | null | undefined;
|
|
1049
|
-
companyId?: string | null | undefined;
|
|
1050
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1051
1051
|
}, {
|
|
1052
1052
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1053
1053
|
agentId: string;
|
|
1054
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1055
|
+
companyId?: string | null | undefined;
|
|
1054
1056
|
company?: {
|
|
1055
|
-
id: string;
|
|
1056
1057
|
createdAt: string | Date;
|
|
1058
|
+
id: string;
|
|
1057
1059
|
updatedAt: string | Date;
|
|
1058
1060
|
name: string;
|
|
1059
1061
|
} | 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
|
-
companyId?: string | null | undefined;
|
|
1110
1109
|
leadDistributionConfigId?: string | null | undefined;
|
|
1110
|
+
companyId?: string | null | undefined;
|
|
1111
1111
|
}, {
|
|
1112
1112
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1113
|
-
companyId?: string | null | undefined;
|
|
1114
1113
|
leadDistributionConfigId?: string | null | undefined;
|
|
1114
|
+
companyId?: string | null | undefined;
|
|
1115
1115
|
}>;
|
|
1116
1116
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
1117
1117
|
responses: {
|
|
@@ -1201,38 +1201,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1201
1201
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1202
1202
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1204
|
-
id: string;
|
|
1205
1204
|
createdAt: string;
|
|
1205
|
+
id: string;
|
|
1206
1206
|
updatedAt: string;
|
|
1207
1207
|
name: string;
|
|
1208
1208
|
}, {
|
|
1209
|
-
id: string;
|
|
1210
1209
|
createdAt: string | Date;
|
|
1210
|
+
id: string;
|
|
1211
1211
|
updatedAt: string | Date;
|
|
1212
1212
|
name: string;
|
|
1213
1213
|
}>>>;
|
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
1215
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1216
1216
|
agentId: string;
|
|
1217
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1218
|
+
companyId?: string | null | undefined;
|
|
1217
1219
|
company?: {
|
|
1218
|
-
id: string;
|
|
1219
1220
|
createdAt: string;
|
|
1221
|
+
id: string;
|
|
1220
1222
|
updatedAt: string;
|
|
1221
1223
|
name: string;
|
|
1222
1224
|
} | null | undefined;
|
|
1223
|
-
companyId?: string | null | undefined;
|
|
1224
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1225
1225
|
}, {
|
|
1226
1226
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1227
1227
|
agentId: string;
|
|
1228
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1229
|
+
companyId?: string | null | undefined;
|
|
1228
1230
|
company?: {
|
|
1229
|
-
id: string;
|
|
1230
1231
|
createdAt: string | Date;
|
|
1232
|
+
id: string;
|
|
1231
1233
|
updatedAt: string | Date;
|
|
1232
1234
|
name: string;
|
|
1233
1235
|
} | null | undefined;
|
|
1234
|
-
companyId?: string | null | undefined;
|
|
1235
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1236
1236
|
}>;
|
|
1237
1237
|
404: z.ZodObject<{
|
|
1238
1238
|
statusCode: z.ZodNumber;
|