@dakkitor/api-contracts 1.1.106 → 1.1.108
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 +6880 -5360
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +871 -481
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +131 -31
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +25019 -19099
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +861 -541
- 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 +1834 -1194
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1687 -1052
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- 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.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +4321 -3221
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -434
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +359 -199
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +117 -117
- package/dist/users/users.contract.d.ts +597 -173
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +45 -8
- package/dist/workers/workers.contract.d.ts +498 -268
- package/dist/workers/workers.contract.d.ts.map +1 -1
- 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
|
}>>>;
|
|
@@ -73,78 +73,113 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
73
73
|
firstName: z.ZodString;
|
|
74
74
|
lastName: z.ZodString;
|
|
75
75
|
email: z.ZodString;
|
|
76
|
-
|
|
76
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
|
+
id: z.ZodString;
|
|
78
|
+
phoneNumber: z.ZodString;
|
|
79
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
id: string;
|
|
83
|
+
phoneNumber: string;
|
|
84
|
+
isPrimary: boolean;
|
|
85
|
+
description?: string | null | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
id: string;
|
|
88
|
+
phoneNumber: string;
|
|
89
|
+
description?: string | null | undefined;
|
|
90
|
+
isPrimary?: boolean | undefined;
|
|
91
|
+
}>, "many">>>;
|
|
77
92
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
78
93
|
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
94
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
80
95
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
96
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
lastName: string;
|
|
83
|
-
firstName: string;
|
|
84
|
-
email: string;
|
|
85
|
-
phone: string;
|
|
86
|
-
createdAt: string;
|
|
87
97
|
id: string;
|
|
98
|
+
createdAt: string;
|
|
88
99
|
updatedAt: string;
|
|
100
|
+
firstName: string;
|
|
101
|
+
lastName: string;
|
|
102
|
+
email: string;
|
|
103
|
+
phoneNumbers: {
|
|
104
|
+
id: string;
|
|
105
|
+
phoneNumber: string;
|
|
106
|
+
isPrimary: boolean;
|
|
107
|
+
description?: string | null | undefined;
|
|
108
|
+
}[];
|
|
89
109
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
90
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;
|
|
91
111
|
}, {
|
|
92
|
-
lastName: string;
|
|
93
|
-
firstName: string;
|
|
94
|
-
email: string;
|
|
95
|
-
phone: string;
|
|
96
|
-
createdAt: string | Date;
|
|
97
112
|
id: string;
|
|
113
|
+
createdAt: string | Date;
|
|
98
114
|
updatedAt: string | Date;
|
|
115
|
+
firstName: string;
|
|
116
|
+
lastName: string;
|
|
117
|
+
email: string;
|
|
118
|
+
phoneNumbers?: {
|
|
119
|
+
id: string;
|
|
120
|
+
phoneNumber: string;
|
|
121
|
+
description?: string | null | undefined;
|
|
122
|
+
isPrimary?: boolean | undefined;
|
|
123
|
+
}[] | undefined;
|
|
99
124
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
100
125
|
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
126
|
}>;
|
|
102
127
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
104
128
|
id: string;
|
|
129
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
105
130
|
agentId: string;
|
|
106
131
|
agent: {
|
|
107
|
-
lastName: string;
|
|
108
|
-
firstName: string;
|
|
109
|
-
email: string;
|
|
110
|
-
phone: string;
|
|
111
|
-
createdAt: string;
|
|
112
132
|
id: string;
|
|
133
|
+
createdAt: string;
|
|
113
134
|
updatedAt: string;
|
|
135
|
+
firstName: string;
|
|
136
|
+
lastName: string;
|
|
137
|
+
email: string;
|
|
138
|
+
phoneNumbers: {
|
|
139
|
+
id: string;
|
|
140
|
+
phoneNumber: string;
|
|
141
|
+
isPrimary: boolean;
|
|
142
|
+
description?: string | null | undefined;
|
|
143
|
+
}[];
|
|
114
144
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
115
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;
|
|
116
146
|
};
|
|
117
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
118
|
-
companyId?: string | null | undefined;
|
|
119
147
|
company?: {
|
|
120
|
-
createdAt: string;
|
|
121
148
|
id: string;
|
|
149
|
+
createdAt: string;
|
|
122
150
|
updatedAt: string;
|
|
123
151
|
name: string;
|
|
124
152
|
} | null | undefined;
|
|
153
|
+
companyId?: string | null | undefined;
|
|
154
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
125
155
|
}, {
|
|
126
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
127
156
|
id: string;
|
|
157
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
128
158
|
agentId: string;
|
|
129
159
|
agent: {
|
|
130
|
-
lastName: string;
|
|
131
|
-
firstName: string;
|
|
132
|
-
email: string;
|
|
133
|
-
phone: string;
|
|
134
|
-
createdAt: string | Date;
|
|
135
160
|
id: string;
|
|
161
|
+
createdAt: string | Date;
|
|
136
162
|
updatedAt: string | Date;
|
|
163
|
+
firstName: string;
|
|
164
|
+
lastName: string;
|
|
165
|
+
email: string;
|
|
166
|
+
phoneNumbers?: {
|
|
167
|
+
id: string;
|
|
168
|
+
phoneNumber: string;
|
|
169
|
+
description?: string | null | undefined;
|
|
170
|
+
isPrimary?: boolean | undefined;
|
|
171
|
+
}[] | undefined;
|
|
137
172
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
138
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;
|
|
139
174
|
};
|
|
140
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
141
|
-
companyId?: string | null | undefined;
|
|
142
175
|
company?: {
|
|
143
|
-
createdAt: string | Date;
|
|
144
176
|
id: string;
|
|
177
|
+
createdAt: string | Date;
|
|
145
178
|
updatedAt: string | Date;
|
|
146
179
|
name: string;
|
|
147
180
|
} | null | undefined;
|
|
181
|
+
companyId?: string | null | undefined;
|
|
182
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
148
183
|
}>;
|
|
149
184
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
150
185
|
agentId: z.ZodString;
|
|
@@ -154,13 +189,13 @@ export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
154
189
|
}, "strip", z.ZodTypeAny, {
|
|
155
190
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
156
191
|
agentId: string;
|
|
157
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
158
192
|
companyId?: string | null | undefined;
|
|
193
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
159
194
|
}, {
|
|
160
195
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
161
196
|
agentId: string;
|
|
162
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
163
197
|
companyId?: string | null | undefined;
|
|
198
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
164
199
|
}>;
|
|
165
200
|
export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
166
201
|
status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
|
|
@@ -168,12 +203,12 @@ export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
168
203
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
204
|
}, "strip", z.ZodTypeAny, {
|
|
170
205
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
171
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
172
206
|
companyId?: string | null | undefined;
|
|
207
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
173
208
|
}, {
|
|
174
209
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
175
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
176
210
|
companyId?: string | null | undefined;
|
|
211
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
177
212
|
}>;
|
|
178
213
|
export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
179
214
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -188,15 +223,15 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
|
|
|
188
223
|
page: number;
|
|
189
224
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
190
225
|
agentId?: string | undefined;
|
|
191
|
-
leadDistributionConfigId?: string | undefined;
|
|
192
226
|
companyId?: string | undefined;
|
|
227
|
+
leadDistributionConfigId?: string | undefined;
|
|
193
228
|
}, {
|
|
194
229
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
195
230
|
limit?: number | undefined;
|
|
196
231
|
page?: number | undefined;
|
|
197
232
|
agentId?: string | undefined;
|
|
198
|
-
leadDistributionConfigId?: string | undefined;
|
|
199
233
|
companyId?: string | undefined;
|
|
234
|
+
leadDistributionConfigId?: string | undefined;
|
|
200
235
|
}>;
|
|
201
236
|
export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
202
237
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -210,13 +245,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
210
245
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
211
246
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
212
247
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
createdAt: string;
|
|
214
248
|
id: string;
|
|
249
|
+
createdAt: string;
|
|
215
250
|
updatedAt: string;
|
|
216
251
|
name: string;
|
|
217
252
|
}, {
|
|
218
|
-
createdAt: string | Date;
|
|
219
253
|
id: string;
|
|
254
|
+
createdAt: string | Date;
|
|
220
255
|
updatedAt: string | Date;
|
|
221
256
|
name: string;
|
|
222
257
|
}>>>;
|
|
@@ -227,78 +262,113 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
227
262
|
firstName: z.ZodString;
|
|
228
263
|
lastName: z.ZodString;
|
|
229
264
|
email: z.ZodString;
|
|
230
|
-
|
|
265
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
phoneNumber: z.ZodString;
|
|
268
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
id: string;
|
|
272
|
+
phoneNumber: string;
|
|
273
|
+
isPrimary: boolean;
|
|
274
|
+
description?: string | null | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
id: string;
|
|
277
|
+
phoneNumber: string;
|
|
278
|
+
description?: string | null | undefined;
|
|
279
|
+
isPrimary?: boolean | undefined;
|
|
280
|
+
}>, "many">>>;
|
|
231
281
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
232
282
|
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
283
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
234
284
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
235
285
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
lastName: string;
|
|
237
|
-
firstName: string;
|
|
238
|
-
email: string;
|
|
239
|
-
phone: string;
|
|
240
|
-
createdAt: string;
|
|
241
286
|
id: string;
|
|
287
|
+
createdAt: string;
|
|
242
288
|
updatedAt: string;
|
|
289
|
+
firstName: string;
|
|
290
|
+
lastName: string;
|
|
291
|
+
email: string;
|
|
292
|
+
phoneNumbers: {
|
|
293
|
+
id: string;
|
|
294
|
+
phoneNumber: string;
|
|
295
|
+
isPrimary: boolean;
|
|
296
|
+
description?: string | null | undefined;
|
|
297
|
+
}[];
|
|
243
298
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
244
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;
|
|
245
300
|
}, {
|
|
246
|
-
lastName: string;
|
|
247
|
-
firstName: string;
|
|
248
|
-
email: string;
|
|
249
|
-
phone: string;
|
|
250
|
-
createdAt: string | Date;
|
|
251
301
|
id: string;
|
|
302
|
+
createdAt: string | Date;
|
|
252
303
|
updatedAt: string | Date;
|
|
304
|
+
firstName: string;
|
|
305
|
+
lastName: string;
|
|
306
|
+
email: string;
|
|
307
|
+
phoneNumbers?: {
|
|
308
|
+
id: string;
|
|
309
|
+
phoneNumber: string;
|
|
310
|
+
description?: string | null | undefined;
|
|
311
|
+
isPrimary?: boolean | undefined;
|
|
312
|
+
}[] | undefined;
|
|
253
313
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
254
314
|
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
315
|
}>;
|
|
256
316
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
258
317
|
id: string;
|
|
318
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
259
319
|
agentId: string;
|
|
260
320
|
agent: {
|
|
261
|
-
lastName: string;
|
|
262
|
-
firstName: string;
|
|
263
|
-
email: string;
|
|
264
|
-
phone: string;
|
|
265
|
-
createdAt: string;
|
|
266
321
|
id: string;
|
|
322
|
+
createdAt: string;
|
|
267
323
|
updatedAt: string;
|
|
324
|
+
firstName: string;
|
|
325
|
+
lastName: string;
|
|
326
|
+
email: string;
|
|
327
|
+
phoneNumbers: {
|
|
328
|
+
id: string;
|
|
329
|
+
phoneNumber: string;
|
|
330
|
+
isPrimary: boolean;
|
|
331
|
+
description?: string | null | undefined;
|
|
332
|
+
}[];
|
|
268
333
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
269
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;
|
|
270
335
|
};
|
|
271
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
272
|
-
companyId?: string | null | undefined;
|
|
273
336
|
company?: {
|
|
274
|
-
createdAt: string;
|
|
275
337
|
id: string;
|
|
338
|
+
createdAt: string;
|
|
276
339
|
updatedAt: string;
|
|
277
340
|
name: string;
|
|
278
341
|
} | null | undefined;
|
|
342
|
+
companyId?: string | null | undefined;
|
|
343
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
279
344
|
}, {
|
|
280
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
281
345
|
id: string;
|
|
346
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
282
347
|
agentId: string;
|
|
283
348
|
agent: {
|
|
284
|
-
lastName: string;
|
|
285
|
-
firstName: string;
|
|
286
|
-
email: string;
|
|
287
|
-
phone: string;
|
|
288
|
-
createdAt: string | Date;
|
|
289
349
|
id: string;
|
|
350
|
+
createdAt: string | Date;
|
|
290
351
|
updatedAt: string | Date;
|
|
352
|
+
firstName: string;
|
|
353
|
+
lastName: string;
|
|
354
|
+
email: string;
|
|
355
|
+
phoneNumbers?: {
|
|
356
|
+
id: string;
|
|
357
|
+
phoneNumber: string;
|
|
358
|
+
description?: string | null | undefined;
|
|
359
|
+
isPrimary?: boolean | undefined;
|
|
360
|
+
}[] | undefined;
|
|
291
361
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
292
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;
|
|
293
363
|
};
|
|
294
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
295
|
-
companyId?: string | null | undefined;
|
|
296
364
|
company?: {
|
|
297
|
-
createdAt: string | Date;
|
|
298
365
|
id: string;
|
|
366
|
+
createdAt: string | Date;
|
|
299
367
|
updatedAt: string | Date;
|
|
300
368
|
name: string;
|
|
301
369
|
} | null | undefined;
|
|
370
|
+
companyId?: string | null | undefined;
|
|
371
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
302
372
|
}>, "many">;
|
|
303
373
|
totalCount: z.ZodNumber;
|
|
304
374
|
limit: z.ZodNumber;
|
|
@@ -308,28 +378,33 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
308
378
|
}, "strip", z.ZodTypeAny, {
|
|
309
379
|
limit: number;
|
|
310
380
|
items: {
|
|
311
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
312
381
|
id: string;
|
|
382
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
313
383
|
agentId: string;
|
|
314
384
|
agent: {
|
|
315
|
-
lastName: string;
|
|
316
|
-
firstName: string;
|
|
317
|
-
email: string;
|
|
318
|
-
phone: string;
|
|
319
|
-
createdAt: string;
|
|
320
385
|
id: string;
|
|
386
|
+
createdAt: string;
|
|
321
387
|
updatedAt: string;
|
|
388
|
+
firstName: string;
|
|
389
|
+
lastName: string;
|
|
390
|
+
email: string;
|
|
391
|
+
phoneNumbers: {
|
|
392
|
+
id: string;
|
|
393
|
+
phoneNumber: string;
|
|
394
|
+
isPrimary: boolean;
|
|
395
|
+
description?: string | null | undefined;
|
|
396
|
+
}[];
|
|
322
397
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
323
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;
|
|
324
399
|
};
|
|
325
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
326
|
-
companyId?: string | null | undefined;
|
|
327
400
|
company?: {
|
|
328
|
-
createdAt: string;
|
|
329
401
|
id: string;
|
|
402
|
+
createdAt: string;
|
|
330
403
|
updatedAt: string;
|
|
331
404
|
name: string;
|
|
332
405
|
} | null | undefined;
|
|
406
|
+
companyId?: string | null | undefined;
|
|
407
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
333
408
|
}[];
|
|
334
409
|
totalCount: number;
|
|
335
410
|
skip: number;
|
|
@@ -338,28 +413,33 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
338
413
|
}, {
|
|
339
414
|
limit: number;
|
|
340
415
|
items: {
|
|
341
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
342
416
|
id: string;
|
|
417
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
343
418
|
agentId: string;
|
|
344
419
|
agent: {
|
|
345
|
-
lastName: string;
|
|
346
|
-
firstName: string;
|
|
347
|
-
email: string;
|
|
348
|
-
phone: string;
|
|
349
|
-
createdAt: string | Date;
|
|
350
420
|
id: string;
|
|
421
|
+
createdAt: string | Date;
|
|
351
422
|
updatedAt: string | Date;
|
|
423
|
+
firstName: string;
|
|
424
|
+
lastName: string;
|
|
425
|
+
email: string;
|
|
426
|
+
phoneNumbers?: {
|
|
427
|
+
id: string;
|
|
428
|
+
phoneNumber: string;
|
|
429
|
+
description?: string | null | undefined;
|
|
430
|
+
isPrimary?: boolean | undefined;
|
|
431
|
+
}[] | undefined;
|
|
352
432
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
353
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;
|
|
354
434
|
};
|
|
355
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
356
|
-
companyId?: string | null | undefined;
|
|
357
435
|
company?: {
|
|
358
|
-
createdAt: string | Date;
|
|
359
436
|
id: string;
|
|
437
|
+
createdAt: string | Date;
|
|
360
438
|
updatedAt: string | Date;
|
|
361
439
|
name: string;
|
|
362
440
|
} | null | undefined;
|
|
441
|
+
companyId?: string | null | undefined;
|
|
442
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
363
443
|
}[];
|
|
364
444
|
totalCount: number;
|
|
365
445
|
skip: number;
|
|
@@ -374,9 +454,6 @@ export type FilterAgentLeadDistribution = z.infer<typeof FilterAgentLeadDistribu
|
|
|
374
454
|
export type PaginatedAgentLeadDistributionResponse = z.infer<typeof PaginatedAgentLeadDistributionResponseSchema>;
|
|
375
455
|
export declare const agentLeadDistributionContract: {
|
|
376
456
|
findAll: {
|
|
377
|
-
metadata: {
|
|
378
|
-
tags: string[];
|
|
379
|
-
};
|
|
380
457
|
query: z.ZodObject<{
|
|
381
458
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
382
459
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -390,16 +467,19 @@ export declare const agentLeadDistributionContract: {
|
|
|
390
467
|
page: number;
|
|
391
468
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
392
469
|
agentId?: string | undefined;
|
|
393
|
-
leadDistributionConfigId?: string | undefined;
|
|
394
470
|
companyId?: string | undefined;
|
|
471
|
+
leadDistributionConfigId?: string | undefined;
|
|
395
472
|
}, {
|
|
396
473
|
status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
|
|
397
474
|
limit?: number | undefined;
|
|
398
475
|
page?: number | undefined;
|
|
399
476
|
agentId?: string | undefined;
|
|
400
|
-
leadDistributionConfigId?: string | undefined;
|
|
401
477
|
companyId?: string | undefined;
|
|
478
|
+
leadDistributionConfigId?: string | undefined;
|
|
402
479
|
}>;
|
|
480
|
+
metadata: {
|
|
481
|
+
tags: string[];
|
|
482
|
+
};
|
|
403
483
|
summary: "List all agent lead distribution records";
|
|
404
484
|
method: "GET";
|
|
405
485
|
path: "/v2/agent-lead-distribution";
|
|
@@ -491,13 +571,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
491
571
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
492
572
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
493
573
|
}, "strip", z.ZodTypeAny, {
|
|
494
|
-
createdAt: string;
|
|
495
574
|
id: string;
|
|
575
|
+
createdAt: string;
|
|
496
576
|
updatedAt: string;
|
|
497
577
|
name: string;
|
|
498
578
|
}, {
|
|
499
|
-
createdAt: string | Date;
|
|
500
579
|
id: string;
|
|
580
|
+
createdAt: string | Date;
|
|
501
581
|
updatedAt: string | Date;
|
|
502
582
|
name: string;
|
|
503
583
|
}>>>;
|
|
@@ -508,78 +588,113 @@ export declare const agentLeadDistributionContract: {
|
|
|
508
588
|
firstName: z.ZodString;
|
|
509
589
|
lastName: z.ZodString;
|
|
510
590
|
email: z.ZodString;
|
|
511
|
-
|
|
591
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
592
|
+
id: z.ZodString;
|
|
593
|
+
phoneNumber: z.ZodString;
|
|
594
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
id: string;
|
|
598
|
+
phoneNumber: string;
|
|
599
|
+
isPrimary: boolean;
|
|
600
|
+
description?: string | null | undefined;
|
|
601
|
+
}, {
|
|
602
|
+
id: string;
|
|
603
|
+
phoneNumber: string;
|
|
604
|
+
description?: string | null | undefined;
|
|
605
|
+
isPrimary?: boolean | undefined;
|
|
606
|
+
}>, "many">>>;
|
|
512
607
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
513
608
|
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
609
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
515
610
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
516
611
|
}, "strip", z.ZodTypeAny, {
|
|
517
|
-
lastName: string;
|
|
518
|
-
firstName: string;
|
|
519
|
-
email: string;
|
|
520
|
-
phone: string;
|
|
521
|
-
createdAt: string;
|
|
522
612
|
id: string;
|
|
613
|
+
createdAt: string;
|
|
523
614
|
updatedAt: string;
|
|
615
|
+
firstName: string;
|
|
616
|
+
lastName: string;
|
|
617
|
+
email: string;
|
|
618
|
+
phoneNumbers: {
|
|
619
|
+
id: string;
|
|
620
|
+
phoneNumber: string;
|
|
621
|
+
isPrimary: boolean;
|
|
622
|
+
description?: string | null | undefined;
|
|
623
|
+
}[];
|
|
524
624
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
525
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;
|
|
526
626
|
}, {
|
|
527
|
-
lastName: string;
|
|
528
|
-
firstName: string;
|
|
529
|
-
email: string;
|
|
530
|
-
phone: string;
|
|
531
|
-
createdAt: string | Date;
|
|
532
627
|
id: string;
|
|
628
|
+
createdAt: string | Date;
|
|
533
629
|
updatedAt: string | Date;
|
|
630
|
+
firstName: string;
|
|
631
|
+
lastName: string;
|
|
632
|
+
email: string;
|
|
633
|
+
phoneNumbers?: {
|
|
634
|
+
id: string;
|
|
635
|
+
phoneNumber: string;
|
|
636
|
+
description?: string | null | undefined;
|
|
637
|
+
isPrimary?: boolean | undefined;
|
|
638
|
+
}[] | undefined;
|
|
534
639
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
535
640
|
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
641
|
}>;
|
|
537
642
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
539
643
|
id: string;
|
|
644
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
540
645
|
agentId: string;
|
|
541
646
|
agent: {
|
|
542
|
-
lastName: string;
|
|
543
|
-
firstName: string;
|
|
544
|
-
email: string;
|
|
545
|
-
phone: string;
|
|
546
|
-
createdAt: string;
|
|
547
647
|
id: string;
|
|
648
|
+
createdAt: string;
|
|
548
649
|
updatedAt: string;
|
|
650
|
+
firstName: string;
|
|
651
|
+
lastName: string;
|
|
652
|
+
email: string;
|
|
653
|
+
phoneNumbers: {
|
|
654
|
+
id: string;
|
|
655
|
+
phoneNumber: string;
|
|
656
|
+
isPrimary: boolean;
|
|
657
|
+
description?: string | null | undefined;
|
|
658
|
+
}[];
|
|
549
659
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
550
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;
|
|
551
661
|
};
|
|
552
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
553
|
-
companyId?: string | null | undefined;
|
|
554
662
|
company?: {
|
|
555
|
-
createdAt: string;
|
|
556
663
|
id: string;
|
|
664
|
+
createdAt: string;
|
|
557
665
|
updatedAt: string;
|
|
558
666
|
name: string;
|
|
559
667
|
} | null | undefined;
|
|
668
|
+
companyId?: string | null | undefined;
|
|
669
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
560
670
|
}, {
|
|
561
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
562
671
|
id: string;
|
|
672
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
563
673
|
agentId: string;
|
|
564
674
|
agent: {
|
|
565
|
-
lastName: string;
|
|
566
|
-
firstName: string;
|
|
567
|
-
email: string;
|
|
568
|
-
phone: string;
|
|
569
|
-
createdAt: string | Date;
|
|
570
675
|
id: string;
|
|
676
|
+
createdAt: string | Date;
|
|
571
677
|
updatedAt: string | Date;
|
|
678
|
+
firstName: string;
|
|
679
|
+
lastName: string;
|
|
680
|
+
email: string;
|
|
681
|
+
phoneNumbers?: {
|
|
682
|
+
id: string;
|
|
683
|
+
phoneNumber: string;
|
|
684
|
+
description?: string | null | undefined;
|
|
685
|
+
isPrimary?: boolean | undefined;
|
|
686
|
+
}[] | undefined;
|
|
572
687
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
573
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;
|
|
574
689
|
};
|
|
575
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
576
|
-
companyId?: string | null | undefined;
|
|
577
690
|
company?: {
|
|
578
|
-
createdAt: string | Date;
|
|
579
691
|
id: string;
|
|
692
|
+
createdAt: string | Date;
|
|
580
693
|
updatedAt: string | Date;
|
|
581
694
|
name: string;
|
|
582
695
|
} | null | undefined;
|
|
696
|
+
companyId?: string | null | undefined;
|
|
697
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
583
698
|
}>, "many">;
|
|
584
699
|
totalCount: z.ZodNumber;
|
|
585
700
|
limit: z.ZodNumber;
|
|
@@ -589,28 +704,33 @@ export declare const agentLeadDistributionContract: {
|
|
|
589
704
|
}, "strip", z.ZodTypeAny, {
|
|
590
705
|
limit: number;
|
|
591
706
|
items: {
|
|
592
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
593
707
|
id: string;
|
|
708
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
594
709
|
agentId: string;
|
|
595
710
|
agent: {
|
|
596
|
-
lastName: string;
|
|
597
|
-
firstName: string;
|
|
598
|
-
email: string;
|
|
599
|
-
phone: string;
|
|
600
|
-
createdAt: string;
|
|
601
711
|
id: string;
|
|
712
|
+
createdAt: string;
|
|
602
713
|
updatedAt: string;
|
|
714
|
+
firstName: string;
|
|
715
|
+
lastName: string;
|
|
716
|
+
email: string;
|
|
717
|
+
phoneNumbers: {
|
|
718
|
+
id: string;
|
|
719
|
+
phoneNumber: string;
|
|
720
|
+
isPrimary: boolean;
|
|
721
|
+
description?: string | null | undefined;
|
|
722
|
+
}[];
|
|
603
723
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
604
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;
|
|
605
725
|
};
|
|
606
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
607
|
-
companyId?: string | null | undefined;
|
|
608
726
|
company?: {
|
|
609
|
-
createdAt: string;
|
|
610
727
|
id: string;
|
|
728
|
+
createdAt: string;
|
|
611
729
|
updatedAt: string;
|
|
612
730
|
name: string;
|
|
613
731
|
} | null | undefined;
|
|
732
|
+
companyId?: string | null | undefined;
|
|
733
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
614
734
|
}[];
|
|
615
735
|
totalCount: number;
|
|
616
736
|
skip: number;
|
|
@@ -619,28 +739,33 @@ export declare const agentLeadDistributionContract: {
|
|
|
619
739
|
}, {
|
|
620
740
|
limit: number;
|
|
621
741
|
items: {
|
|
622
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
623
742
|
id: string;
|
|
743
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
624
744
|
agentId: string;
|
|
625
745
|
agent: {
|
|
626
|
-
lastName: string;
|
|
627
|
-
firstName: string;
|
|
628
|
-
email: string;
|
|
629
|
-
phone: string;
|
|
630
|
-
createdAt: string | Date;
|
|
631
746
|
id: string;
|
|
747
|
+
createdAt: string | Date;
|
|
632
748
|
updatedAt: string | Date;
|
|
749
|
+
firstName: string;
|
|
750
|
+
lastName: string;
|
|
751
|
+
email: string;
|
|
752
|
+
phoneNumbers?: {
|
|
753
|
+
id: string;
|
|
754
|
+
phoneNumber: string;
|
|
755
|
+
description?: string | null | undefined;
|
|
756
|
+
isPrimary?: boolean | undefined;
|
|
757
|
+
}[] | undefined;
|
|
633
758
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
634
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;
|
|
635
760
|
};
|
|
636
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
637
|
-
companyId?: string | null | undefined;
|
|
638
761
|
company?: {
|
|
639
|
-
createdAt: string | Date;
|
|
640
762
|
id: string;
|
|
763
|
+
createdAt: string | Date;
|
|
641
764
|
updatedAt: string | Date;
|
|
642
765
|
name: string;
|
|
643
766
|
} | null | undefined;
|
|
767
|
+
companyId?: string | null | undefined;
|
|
768
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
644
769
|
}[];
|
|
645
770
|
totalCount: number;
|
|
646
771
|
skip: number;
|
|
@@ -775,13 +900,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
775
900
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
776
901
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
777
902
|
}, "strip", z.ZodTypeAny, {
|
|
778
|
-
createdAt: string;
|
|
779
903
|
id: string;
|
|
904
|
+
createdAt: string;
|
|
780
905
|
updatedAt: string;
|
|
781
906
|
name: string;
|
|
782
907
|
}, {
|
|
783
|
-
createdAt: string | Date;
|
|
784
908
|
id: string;
|
|
909
|
+
createdAt: string | Date;
|
|
785
910
|
updatedAt: string | Date;
|
|
786
911
|
name: string;
|
|
787
912
|
}>>>;
|
|
@@ -792,78 +917,113 @@ export declare const agentLeadDistributionContract: {
|
|
|
792
917
|
firstName: z.ZodString;
|
|
793
918
|
lastName: z.ZodString;
|
|
794
919
|
email: z.ZodString;
|
|
795
|
-
|
|
920
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
921
|
+
id: z.ZodString;
|
|
922
|
+
phoneNumber: z.ZodString;
|
|
923
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
id: string;
|
|
927
|
+
phoneNumber: string;
|
|
928
|
+
isPrimary: boolean;
|
|
929
|
+
description?: string | null | undefined;
|
|
930
|
+
}, {
|
|
931
|
+
id: string;
|
|
932
|
+
phoneNumber: string;
|
|
933
|
+
description?: string | null | undefined;
|
|
934
|
+
isPrimary?: boolean | undefined;
|
|
935
|
+
}>, "many">>>;
|
|
796
936
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
797
937
|
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
938
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
799
939
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
800
940
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
lastName: string;
|
|
802
|
-
firstName: string;
|
|
803
|
-
email: string;
|
|
804
|
-
phone: string;
|
|
805
|
-
createdAt: string;
|
|
806
941
|
id: string;
|
|
942
|
+
createdAt: string;
|
|
807
943
|
updatedAt: string;
|
|
944
|
+
firstName: string;
|
|
945
|
+
lastName: string;
|
|
946
|
+
email: string;
|
|
947
|
+
phoneNumbers: {
|
|
948
|
+
id: string;
|
|
949
|
+
phoneNumber: string;
|
|
950
|
+
isPrimary: boolean;
|
|
951
|
+
description?: string | null | undefined;
|
|
952
|
+
}[];
|
|
808
953
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
809
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;
|
|
810
955
|
}, {
|
|
811
|
-
lastName: string;
|
|
812
|
-
firstName: string;
|
|
813
|
-
email: string;
|
|
814
|
-
phone: string;
|
|
815
|
-
createdAt: string | Date;
|
|
816
956
|
id: string;
|
|
957
|
+
createdAt: string | Date;
|
|
817
958
|
updatedAt: string | Date;
|
|
959
|
+
firstName: string;
|
|
960
|
+
lastName: string;
|
|
961
|
+
email: string;
|
|
962
|
+
phoneNumbers?: {
|
|
963
|
+
id: string;
|
|
964
|
+
phoneNumber: string;
|
|
965
|
+
description?: string | null | undefined;
|
|
966
|
+
isPrimary?: boolean | undefined;
|
|
967
|
+
}[] | undefined;
|
|
818
968
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
819
969
|
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
970
|
}>;
|
|
821
971
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
823
972
|
id: string;
|
|
973
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
824
974
|
agentId: string;
|
|
825
975
|
agent: {
|
|
826
|
-
lastName: string;
|
|
827
|
-
firstName: string;
|
|
828
|
-
email: string;
|
|
829
|
-
phone: string;
|
|
830
|
-
createdAt: string;
|
|
831
976
|
id: string;
|
|
977
|
+
createdAt: string;
|
|
832
978
|
updatedAt: string;
|
|
979
|
+
firstName: string;
|
|
980
|
+
lastName: string;
|
|
981
|
+
email: string;
|
|
982
|
+
phoneNumbers: {
|
|
983
|
+
id: string;
|
|
984
|
+
phoneNumber: string;
|
|
985
|
+
isPrimary: boolean;
|
|
986
|
+
description?: string | null | undefined;
|
|
987
|
+
}[];
|
|
833
988
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
834
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;
|
|
835
990
|
};
|
|
836
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
837
|
-
companyId?: string | null | undefined;
|
|
838
991
|
company?: {
|
|
839
|
-
createdAt: string;
|
|
840
992
|
id: string;
|
|
993
|
+
createdAt: string;
|
|
841
994
|
updatedAt: string;
|
|
842
995
|
name: string;
|
|
843
996
|
} | null | undefined;
|
|
997
|
+
companyId?: string | null | undefined;
|
|
998
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
844
999
|
}, {
|
|
845
|
-
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
846
1000
|
id: string;
|
|
1001
|
+
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
847
1002
|
agentId: string;
|
|
848
1003
|
agent: {
|
|
849
|
-
lastName: string;
|
|
850
|
-
firstName: string;
|
|
851
|
-
email: string;
|
|
852
|
-
phone: string;
|
|
853
|
-
createdAt: string | Date;
|
|
854
1004
|
id: string;
|
|
1005
|
+
createdAt: string | Date;
|
|
855
1006
|
updatedAt: string | Date;
|
|
1007
|
+
firstName: string;
|
|
1008
|
+
lastName: string;
|
|
1009
|
+
email: string;
|
|
1010
|
+
phoneNumbers?: {
|
|
1011
|
+
id: string;
|
|
1012
|
+
phoneNumber: string;
|
|
1013
|
+
description?: string | null | undefined;
|
|
1014
|
+
isPrimary?: boolean | undefined;
|
|
1015
|
+
}[] | undefined;
|
|
856
1016
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
857
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;
|
|
858
1018
|
};
|
|
859
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
860
|
-
companyId?: string | null | undefined;
|
|
861
1019
|
company?: {
|
|
862
|
-
createdAt: string | Date;
|
|
863
1020
|
id: string;
|
|
1021
|
+
createdAt: string | Date;
|
|
864
1022
|
updatedAt: string | Date;
|
|
865
1023
|
name: string;
|
|
866
1024
|
} | null | undefined;
|
|
1025
|
+
companyId?: string | null | undefined;
|
|
1026
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
867
1027
|
}>;
|
|
868
1028
|
404: z.ZodObject<{
|
|
869
1029
|
statusCode: z.ZodNumber;
|
|
@@ -931,13 +1091,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
931
1091
|
}, "strip", z.ZodTypeAny, {
|
|
932
1092
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
933
1093
|
agentId: string;
|
|
934
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
935
1094
|
companyId?: string | null | undefined;
|
|
1095
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
936
1096
|
}, {
|
|
937
1097
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
938
1098
|
agentId: string;
|
|
939
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
940
1099
|
companyId?: string | null | undefined;
|
|
1100
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
941
1101
|
}>;
|
|
942
1102
|
path: "/v2/agent-lead-distribution";
|
|
943
1103
|
responses: {
|
|
@@ -1027,38 +1187,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1027
1187
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1028
1188
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1029
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1030
|
-
createdAt: string;
|
|
1031
1190
|
id: string;
|
|
1191
|
+
createdAt: string;
|
|
1032
1192
|
updatedAt: string;
|
|
1033
1193
|
name: string;
|
|
1034
1194
|
}, {
|
|
1035
|
-
createdAt: string | Date;
|
|
1036
1195
|
id: string;
|
|
1196
|
+
createdAt: string | Date;
|
|
1037
1197
|
updatedAt: string | Date;
|
|
1038
1198
|
name: string;
|
|
1039
1199
|
}>>>;
|
|
1040
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1201
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1042
1202
|
agentId: string;
|
|
1043
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1044
|
-
companyId?: string | null | undefined;
|
|
1045
1203
|
company?: {
|
|
1046
|
-
createdAt: string;
|
|
1047
1204
|
id: string;
|
|
1205
|
+
createdAt: string;
|
|
1048
1206
|
updatedAt: string;
|
|
1049
1207
|
name: string;
|
|
1050
1208
|
} | null | undefined;
|
|
1209
|
+
companyId?: string | null | undefined;
|
|
1210
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1051
1211
|
}, {
|
|
1052
1212
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1053
1213
|
agentId: string;
|
|
1054
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1055
|
-
companyId?: string | null | undefined;
|
|
1056
1214
|
company?: {
|
|
1057
|
-
createdAt: string | Date;
|
|
1058
1215
|
id: string;
|
|
1216
|
+
createdAt: string | Date;
|
|
1059
1217
|
updatedAt: string | Date;
|
|
1060
1218
|
name: string;
|
|
1061
1219
|
} | null | undefined;
|
|
1220
|
+
companyId?: string | null | undefined;
|
|
1221
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1062
1222
|
}>;
|
|
1063
1223
|
403: z.ZodObject<{
|
|
1064
1224
|
statusCode: z.ZodNumber;
|
|
@@ -1106,12 +1266,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
1106
1266
|
companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1268
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1109
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1110
1269
|
companyId?: string | null | undefined;
|
|
1270
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1111
1271
|
}, {
|
|
1112
1272
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1113
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1114
1273
|
companyId?: string | null | undefined;
|
|
1274
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1115
1275
|
}>;
|
|
1116
1276
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
1117
1277
|
responses: {
|
|
@@ -1201,38 +1361,38 @@ export declare const agentLeadDistributionContract: {
|
|
|
1201
1361
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1202
1362
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1203
1363
|
}, "strip", z.ZodTypeAny, {
|
|
1204
|
-
createdAt: string;
|
|
1205
1364
|
id: string;
|
|
1365
|
+
createdAt: string;
|
|
1206
1366
|
updatedAt: string;
|
|
1207
1367
|
name: string;
|
|
1208
1368
|
}, {
|
|
1209
|
-
createdAt: string | Date;
|
|
1210
1369
|
id: string;
|
|
1370
|
+
createdAt: string | Date;
|
|
1211
1371
|
updatedAt: string | Date;
|
|
1212
1372
|
name: string;
|
|
1213
1373
|
}>>>;
|
|
1214
1374
|
}, "strip", z.ZodTypeAny, {
|
|
1215
1375
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1216
1376
|
agentId: string;
|
|
1217
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1218
|
-
companyId?: string | null | undefined;
|
|
1219
1377
|
company?: {
|
|
1220
|
-
createdAt: string;
|
|
1221
1378
|
id: string;
|
|
1379
|
+
createdAt: string;
|
|
1222
1380
|
updatedAt: string;
|
|
1223
1381
|
name: string;
|
|
1224
1382
|
} | null | undefined;
|
|
1383
|
+
companyId?: string | null | undefined;
|
|
1384
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1225
1385
|
}, {
|
|
1226
1386
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1227
1387
|
agentId: string;
|
|
1228
|
-
leadDistributionConfigId?: string | null | undefined;
|
|
1229
|
-
companyId?: string | null | undefined;
|
|
1230
1388
|
company?: {
|
|
1231
|
-
createdAt: string | Date;
|
|
1232
1389
|
id: string;
|
|
1390
|
+
createdAt: string | Date;
|
|
1233
1391
|
updatedAt: string | Date;
|
|
1234
1392
|
name: string;
|
|
1235
1393
|
} | null | undefined;
|
|
1394
|
+
companyId?: string | null | undefined;
|
|
1395
|
+
leadDistributionConfigId?: string | null | undefined;
|
|
1236
1396
|
}>;
|
|
1237
1397
|
404: z.ZodObject<{
|
|
1238
1398
|
statusCode: z.ZodNumber;
|