@dakkitor/api-contracts 1.1.33 → 1.1.34

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.
@@ -5,19 +5,67 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
5
5
  agentId: z.ZodString;
6
6
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
7
7
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodString;
11
+ name: z.ZodString;
12
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
13
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ name: string;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ }, {
20
+ id: string;
21
+ name: string;
22
+ createdAt: string | Date;
23
+ updatedAt: string | Date;
24
+ }>>>;
8
25
  }, "strip", z.ZodTypeAny, {
9
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
10
26
  agentId: string;
27
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
11
28
  leadDistributionConfigId?: string | null | undefined;
29
+ companyId?: string | null | undefined;
30
+ company?: {
31
+ id: string;
32
+ name: string;
33
+ createdAt: string;
34
+ updatedAt: string;
35
+ } | null | undefined;
12
36
  }, {
13
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
14
37
  agentId: string;
38
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
15
39
  leadDistributionConfigId?: string | null | undefined;
40
+ companyId?: string | null | undefined;
41
+ company?: {
42
+ id: string;
43
+ name: string;
44
+ createdAt: string | Date;
45
+ updatedAt: string | Date;
46
+ } | null | undefined;
16
47
  }>;
17
48
  export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
18
49
  agentId: z.ZodString;
19
50
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
20
51
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ id: z.ZodString;
55
+ name: z.ZodString;
56
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
57
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ id: string;
60
+ name: string;
61
+ createdAt: string;
62
+ updatedAt: string;
63
+ }, {
64
+ id: string;
65
+ name: string;
66
+ createdAt: string | Date;
67
+ updatedAt: string | Date;
68
+ }>>>;
21
69
  } & {
22
70
  id: z.ZodString;
23
71
  agent: z.ZodObject<{
@@ -30,77 +78,97 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
30
78
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
31
79
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
32
80
  }, "strip", z.ZodTypeAny, {
33
- lastName: string;
81
+ id: string;
82
+ createdAt: string;
83
+ updatedAt: string;
34
84
  firstName: string;
85
+ lastName: string;
35
86
  email: string;
36
87
  phone: string;
37
- createdAt: string;
38
- id: string;
39
- updatedAt: string;
40
88
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
41
89
  }, {
42
- lastName: string;
90
+ id: string;
91
+ createdAt: string | Date;
92
+ updatedAt: string | Date;
43
93
  firstName: string;
94
+ lastName: string;
44
95
  email: string;
45
96
  phone: string;
46
- createdAt: string | Date;
47
- id: string;
48
- updatedAt: string | Date;
49
97
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
50
98
  }>;
51
99
  }, "strip", z.ZodTypeAny, {
100
+ agentId: string;
52
101
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
53
102
  id: string;
54
- agentId: string;
55
103
  agent: {
56
- lastName: string;
104
+ id: string;
105
+ createdAt: string;
106
+ updatedAt: string;
57
107
  firstName: string;
108
+ lastName: string;
58
109
  email: string;
59
110
  phone: string;
60
- createdAt: string;
61
- id: string;
62
- updatedAt: string;
63
111
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
64
112
  };
65
113
  leadDistributionConfigId?: string | null | undefined;
114
+ companyId?: string | null | undefined;
115
+ company?: {
116
+ id: string;
117
+ name: string;
118
+ createdAt: string;
119
+ updatedAt: string;
120
+ } | null | undefined;
66
121
  }, {
122
+ agentId: string;
67
123
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
68
124
  id: string;
69
- agentId: string;
70
125
  agent: {
71
- lastName: string;
126
+ id: string;
127
+ createdAt: string | Date;
128
+ updatedAt: string | Date;
72
129
  firstName: string;
130
+ lastName: string;
73
131
  email: string;
74
132
  phone: string;
75
- createdAt: string | Date;
76
- id: string;
77
- updatedAt: string | Date;
78
133
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
79
134
  };
80
135
  leadDistributionConfigId?: string | null | undefined;
136
+ companyId?: string | null | undefined;
137
+ company?: {
138
+ id: string;
139
+ name: string;
140
+ createdAt: string | Date;
141
+ updatedAt: string | Date;
142
+ } | null | undefined;
81
143
  }>;
82
144
  export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
83
145
  agentId: z.ZodString;
84
146
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
85
147
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
149
  }, "strip", z.ZodTypeAny, {
87
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
88
150
  agentId: string;
151
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
89
152
  leadDistributionConfigId?: string | null | undefined;
153
+ companyId?: string | null | undefined;
90
154
  }, {
91
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
92
155
  agentId: string;
156
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
93
157
  leadDistributionConfigId?: string | null | undefined;
158
+ companyId?: string | null | undefined;
94
159
  }>;
95
160
  export declare const UpdateAgentLeadDistributionSchema: z.ZodObject<{
96
161
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
97
162
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
164
  }, "strip", z.ZodTypeAny, {
99
165
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
100
166
  leadDistributionConfigId?: string | null | undefined;
167
+ companyId?: string | null | undefined;
101
168
  }, {
102
169
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
103
170
  leadDistributionConfigId?: string | null | undefined;
171
+ companyId?: string | null | undefined;
104
172
  }>;
105
173
  export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
106
174
  limit: z.ZodDefault<z.ZodNumber>;
@@ -109,24 +177,44 @@ export declare const FilterAgentLeadDistributionSchema: z.ZodObject<{
109
177
  agentId: z.ZodOptional<z.ZodString>;
110
178
  status: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>>;
111
179
  leadDistributionConfigId: z.ZodOptional<z.ZodString>;
180
+ companyId: z.ZodOptional<z.ZodString>;
112
181
  }, "strip", z.ZodTypeAny, {
113
182
  limit: number;
114
183
  page: number;
115
- status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
116
184
  agentId?: string | undefined;
185
+ status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
117
186
  leadDistributionConfigId?: string | undefined;
187
+ companyId?: string | undefined;
118
188
  }, {
189
+ agentId?: string | undefined;
119
190
  status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
191
+ leadDistributionConfigId?: string | undefined;
192
+ companyId?: string | undefined;
120
193
  limit?: number | undefined;
121
194
  page?: number | undefined;
122
- agentId?: string | undefined;
123
- leadDistributionConfigId?: string | undefined;
124
195
  }>;
125
196
  export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
126
197
  items: z.ZodArray<z.ZodObject<{
127
198
  agentId: z.ZodString;
128
199
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
129
200
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
203
+ id: z.ZodString;
204
+ name: z.ZodString;
205
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
206
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ id: string;
209
+ name: string;
210
+ createdAt: string;
211
+ updatedAt: string;
212
+ }, {
213
+ id: string;
214
+ name: string;
215
+ createdAt: string | Date;
216
+ updatedAt: string | Date;
217
+ }>>>;
130
218
  } & {
131
219
  id: z.ZodString;
132
220
  agent: z.ZodObject<{
@@ -139,54 +227,68 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
139
227
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
140
228
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
141
229
  }, "strip", z.ZodTypeAny, {
142
- lastName: string;
230
+ id: string;
231
+ createdAt: string;
232
+ updatedAt: string;
143
233
  firstName: string;
234
+ lastName: string;
144
235
  email: string;
145
236
  phone: string;
146
- createdAt: string;
147
- id: string;
148
- updatedAt: string;
149
237
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
150
238
  }, {
151
- lastName: string;
239
+ id: string;
240
+ createdAt: string | Date;
241
+ updatedAt: string | Date;
152
242
  firstName: string;
243
+ lastName: string;
153
244
  email: string;
154
245
  phone: string;
155
- createdAt: string | Date;
156
- id: string;
157
- updatedAt: string | Date;
158
246
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
159
247
  }>;
160
248
  }, "strip", z.ZodTypeAny, {
249
+ agentId: string;
161
250
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
162
251
  id: string;
163
- agentId: string;
164
252
  agent: {
165
- lastName: string;
253
+ id: string;
254
+ createdAt: string;
255
+ updatedAt: string;
166
256
  firstName: string;
257
+ lastName: string;
167
258
  email: string;
168
259
  phone: string;
169
- createdAt: string;
170
- id: string;
171
- updatedAt: string;
172
260
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
173
261
  };
174
262
  leadDistributionConfigId?: string | null | undefined;
263
+ companyId?: string | null | undefined;
264
+ company?: {
265
+ id: string;
266
+ name: string;
267
+ createdAt: string;
268
+ updatedAt: string;
269
+ } | null | undefined;
175
270
  }, {
271
+ agentId: string;
176
272
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
177
273
  id: string;
178
- agentId: string;
179
274
  agent: {
180
- lastName: string;
275
+ id: string;
276
+ createdAt: string | Date;
277
+ updatedAt: string | Date;
181
278
  firstName: string;
279
+ lastName: string;
182
280
  email: string;
183
281
  phone: string;
184
- createdAt: string | Date;
185
- id: string;
186
- updatedAt: string | Date;
187
282
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
188
283
  };
189
284
  leadDistributionConfigId?: string | null | undefined;
285
+ companyId?: string | null | undefined;
286
+ company?: {
287
+ id: string;
288
+ name: string;
289
+ createdAt: string | Date;
290
+ updatedAt: string | Date;
291
+ } | null | undefined;
190
292
  }>, "many">;
191
293
  totalCount: z.ZodNumber;
192
294
  limit: z.ZodNumber;
@@ -196,20 +298,27 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
196
298
  }, "strip", z.ZodTypeAny, {
197
299
  limit: number;
198
300
  items: {
301
+ agentId: string;
199
302
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
200
303
  id: string;
201
- agentId: string;
202
304
  agent: {
203
- lastName: string;
305
+ id: string;
306
+ createdAt: string;
307
+ updatedAt: string;
204
308
  firstName: string;
309
+ lastName: string;
205
310
  email: string;
206
311
  phone: string;
207
- createdAt: string;
208
- id: string;
209
- updatedAt: string;
210
312
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
211
313
  };
212
314
  leadDistributionConfigId?: string | null | undefined;
315
+ companyId?: string | null | undefined;
316
+ company?: {
317
+ id: string;
318
+ name: string;
319
+ createdAt: string;
320
+ updatedAt: string;
321
+ } | null | undefined;
213
322
  }[];
214
323
  totalCount: number;
215
324
  skip: number;
@@ -218,20 +327,27 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
218
327
  }, {
219
328
  limit: number;
220
329
  items: {
330
+ agentId: string;
221
331
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
222
332
  id: string;
223
- agentId: string;
224
333
  agent: {
225
- lastName: string;
334
+ id: string;
335
+ createdAt: string | Date;
336
+ updatedAt: string | Date;
226
337
  firstName: string;
338
+ lastName: string;
227
339
  email: string;
228
340
  phone: string;
229
- createdAt: string | Date;
230
- id: string;
231
- updatedAt: string | Date;
232
341
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
233
342
  };
234
343
  leadDistributionConfigId?: string | null | undefined;
344
+ companyId?: string | null | undefined;
345
+ company?: {
346
+ id: string;
347
+ name: string;
348
+ createdAt: string | Date;
349
+ updatedAt: string | Date;
350
+ } | null | undefined;
235
351
  }[];
236
352
  totalCount: number;
237
353
  skip: number;
@@ -256,18 +372,21 @@ export declare const agentLeadDistributionContract: {
256
372
  agentId: z.ZodOptional<z.ZodString>;
257
373
  status: z.ZodOptional<z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>>;
258
374
  leadDistributionConfigId: z.ZodOptional<z.ZodString>;
375
+ companyId: z.ZodOptional<z.ZodString>;
259
376
  }, "strip", z.ZodTypeAny, {
260
377
  limit: number;
261
378
  page: number;
262
- status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
263
379
  agentId?: string | undefined;
380
+ status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
264
381
  leadDistributionConfigId?: string | undefined;
382
+ companyId?: string | undefined;
265
383
  }, {
384
+ agentId?: string | undefined;
266
385
  status?: "AVAILABLE" | "PAUSED" | "EXCLUDED" | undefined;
386
+ leadDistributionConfigId?: string | undefined;
387
+ companyId?: string | undefined;
267
388
  limit?: number | undefined;
268
389
  page?: number | undefined;
269
- agentId?: string | undefined;
270
- leadDistributionConfigId?: string | undefined;
271
390
  }>;
272
391
  summary: "List all agent lead distribution records";
273
392
  method: "GET";
@@ -353,6 +472,23 @@ export declare const agentLeadDistributionContract: {
353
472
  agentId: z.ZodString;
354
473
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
355
474
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ id: z.ZodString;
478
+ name: z.ZodString;
479
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
480
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ id: string;
483
+ name: string;
484
+ createdAt: string;
485
+ updatedAt: string;
486
+ }, {
487
+ id: string;
488
+ name: string;
489
+ createdAt: string | Date;
490
+ updatedAt: string | Date;
491
+ }>>>;
356
492
  } & {
357
493
  id: z.ZodString;
358
494
  agent: z.ZodObject<{
@@ -365,54 +501,68 @@ export declare const agentLeadDistributionContract: {
365
501
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
366
502
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
367
503
  }, "strip", z.ZodTypeAny, {
368
- lastName: string;
504
+ id: string;
505
+ createdAt: string;
506
+ updatedAt: string;
369
507
  firstName: string;
508
+ lastName: string;
370
509
  email: string;
371
510
  phone: string;
372
- createdAt: string;
373
- id: string;
374
- updatedAt: string;
375
511
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
376
512
  }, {
377
- lastName: string;
513
+ id: string;
514
+ createdAt: string | Date;
515
+ updatedAt: string | Date;
378
516
  firstName: string;
517
+ lastName: string;
379
518
  email: string;
380
519
  phone: string;
381
- createdAt: string | Date;
382
- id: string;
383
- updatedAt: string | Date;
384
520
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
385
521
  }>;
386
522
  }, "strip", z.ZodTypeAny, {
523
+ agentId: string;
387
524
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
388
525
  id: string;
389
- agentId: string;
390
526
  agent: {
391
- lastName: string;
527
+ id: string;
528
+ createdAt: string;
529
+ updatedAt: string;
392
530
  firstName: string;
531
+ lastName: string;
393
532
  email: string;
394
533
  phone: string;
395
- createdAt: string;
396
- id: string;
397
- updatedAt: string;
398
534
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
399
535
  };
400
536
  leadDistributionConfigId?: string | null | undefined;
537
+ companyId?: string | null | undefined;
538
+ company?: {
539
+ id: string;
540
+ name: string;
541
+ createdAt: string;
542
+ updatedAt: string;
543
+ } | null | undefined;
401
544
  }, {
545
+ agentId: string;
402
546
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
403
547
  id: string;
404
- agentId: string;
405
548
  agent: {
406
- lastName: string;
549
+ id: string;
550
+ createdAt: string | Date;
551
+ updatedAt: string | Date;
407
552
  firstName: string;
553
+ lastName: string;
408
554
  email: string;
409
555
  phone: string;
410
- createdAt: string | Date;
411
- id: string;
412
- updatedAt: string | Date;
413
556
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
414
557
  };
415
558
  leadDistributionConfigId?: string | null | undefined;
559
+ companyId?: string | null | undefined;
560
+ company?: {
561
+ id: string;
562
+ name: string;
563
+ createdAt: string | Date;
564
+ updatedAt: string | Date;
565
+ } | null | undefined;
416
566
  }>, "many">;
417
567
  totalCount: z.ZodNumber;
418
568
  limit: z.ZodNumber;
@@ -422,20 +572,27 @@ export declare const agentLeadDistributionContract: {
422
572
  }, "strip", z.ZodTypeAny, {
423
573
  limit: number;
424
574
  items: {
575
+ agentId: string;
425
576
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
426
577
  id: string;
427
- agentId: string;
428
578
  agent: {
429
- lastName: string;
579
+ id: string;
580
+ createdAt: string;
581
+ updatedAt: string;
430
582
  firstName: string;
583
+ lastName: string;
431
584
  email: string;
432
585
  phone: string;
433
- createdAt: string;
434
- id: string;
435
- updatedAt: string;
436
586
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
437
587
  };
438
588
  leadDistributionConfigId?: string | null | undefined;
589
+ companyId?: string | null | undefined;
590
+ company?: {
591
+ id: string;
592
+ name: string;
593
+ createdAt: string;
594
+ updatedAt: string;
595
+ } | null | undefined;
439
596
  }[];
440
597
  totalCount: number;
441
598
  skip: number;
@@ -444,20 +601,27 @@ export declare const agentLeadDistributionContract: {
444
601
  }, {
445
602
  limit: number;
446
603
  items: {
604
+ agentId: string;
447
605
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
448
606
  id: string;
449
- agentId: string;
450
607
  agent: {
451
- lastName: string;
608
+ id: string;
609
+ createdAt: string | Date;
610
+ updatedAt: string | Date;
452
611
  firstName: string;
612
+ lastName: string;
453
613
  email: string;
454
614
  phone: string;
455
- createdAt: string | Date;
456
- id: string;
457
- updatedAt: string | Date;
458
615
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
459
616
  };
460
617
  leadDistributionConfigId?: string | null | undefined;
618
+ companyId?: string | null | undefined;
619
+ company?: {
620
+ id: string;
621
+ name: string;
622
+ createdAt: string | Date;
623
+ updatedAt: string | Date;
624
+ } | null | undefined;
461
625
  }[];
462
626
  totalCount: number;
463
627
  skip: number;
@@ -585,6 +749,23 @@ export declare const agentLeadDistributionContract: {
585
749
  agentId: z.ZodString;
586
750
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
587
751
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
753
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
754
+ id: z.ZodString;
755
+ name: z.ZodString;
756
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
757
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ id: string;
760
+ name: string;
761
+ createdAt: string;
762
+ updatedAt: string;
763
+ }, {
764
+ id: string;
765
+ name: string;
766
+ createdAt: string | Date;
767
+ updatedAt: string | Date;
768
+ }>>>;
588
769
  } & {
589
770
  id: z.ZodString;
590
771
  agent: z.ZodObject<{
@@ -597,54 +778,68 @@ export declare const agentLeadDistributionContract: {
597
778
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
598
779
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
599
780
  }, "strip", z.ZodTypeAny, {
600
- lastName: string;
781
+ id: string;
782
+ createdAt: string;
783
+ updatedAt: string;
601
784
  firstName: string;
785
+ lastName: string;
602
786
  email: string;
603
787
  phone: string;
604
- createdAt: string;
605
- id: string;
606
- updatedAt: string;
607
788
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
608
789
  }, {
609
- lastName: string;
790
+ id: string;
791
+ createdAt: string | Date;
792
+ updatedAt: string | Date;
610
793
  firstName: string;
794
+ lastName: string;
611
795
  email: string;
612
796
  phone: string;
613
- createdAt: string | Date;
614
- id: string;
615
- updatedAt: string | Date;
616
797
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
617
798
  }>;
618
799
  }, "strip", z.ZodTypeAny, {
800
+ agentId: string;
619
801
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
620
802
  id: string;
621
- agentId: string;
622
803
  agent: {
623
- lastName: string;
804
+ id: string;
805
+ createdAt: string;
806
+ updatedAt: string;
624
807
  firstName: string;
808
+ lastName: string;
625
809
  email: string;
626
810
  phone: string;
627
- createdAt: string;
628
- id: string;
629
- updatedAt: string;
630
811
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
631
812
  };
632
813
  leadDistributionConfigId?: string | null | undefined;
814
+ companyId?: string | null | undefined;
815
+ company?: {
816
+ id: string;
817
+ name: string;
818
+ createdAt: string;
819
+ updatedAt: string;
820
+ } | null | undefined;
633
821
  }, {
822
+ agentId: string;
634
823
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
635
824
  id: string;
636
- agentId: string;
637
825
  agent: {
638
- lastName: string;
826
+ id: string;
827
+ createdAt: string | Date;
828
+ updatedAt: string | Date;
639
829
  firstName: string;
830
+ lastName: string;
640
831
  email: string;
641
832
  phone: string;
642
- createdAt: string | Date;
643
- id: string;
644
- updatedAt: string | Date;
645
833
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
646
834
  };
647
835
  leadDistributionConfigId?: string | null | undefined;
836
+ companyId?: string | null | undefined;
837
+ company?: {
838
+ id: string;
839
+ name: string;
840
+ createdAt: string | Date;
841
+ updatedAt: string | Date;
842
+ } | null | undefined;
648
843
  }>;
649
844
  404: z.ZodObject<{
650
845
  statusCode: z.ZodNumber;
@@ -708,14 +903,17 @@ export declare const agentLeadDistributionContract: {
708
903
  agentId: z.ZodString;
709
904
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
710
905
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
711
907
  }, "strip", z.ZodTypeAny, {
712
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
713
908
  agentId: string;
909
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
714
910
  leadDistributionConfigId?: string | null | undefined;
911
+ companyId?: string | null | undefined;
715
912
  }, {
716
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
717
913
  agentId: string;
914
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
718
915
  leadDistributionConfigId?: string | null | undefined;
916
+ companyId?: string | null | undefined;
719
917
  }>;
720
918
  path: "/v2/agent-lead-distribution";
721
919
  responses: {
@@ -798,14 +996,45 @@ export declare const agentLeadDistributionContract: {
798
996
  agentId: z.ZodString;
799
997
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
800
998
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1001
+ id: z.ZodString;
1002
+ name: z.ZodString;
1003
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1004
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ id: string;
1007
+ name: string;
1008
+ createdAt: string;
1009
+ updatedAt: string;
1010
+ }, {
1011
+ id: string;
1012
+ name: string;
1013
+ createdAt: string | Date;
1014
+ updatedAt: string | Date;
1015
+ }>>>;
801
1016
  }, "strip", z.ZodTypeAny, {
802
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
803
1017
  agentId: string;
1018
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
804
1019
  leadDistributionConfigId?: string | null | undefined;
1020
+ companyId?: string | null | undefined;
1021
+ company?: {
1022
+ id: string;
1023
+ name: string;
1024
+ createdAt: string;
1025
+ updatedAt: string;
1026
+ } | null | undefined;
805
1027
  }, {
806
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
807
1028
  agentId: string;
1029
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
808
1030
  leadDistributionConfigId?: string | null | undefined;
1031
+ companyId?: string | null | undefined;
1032
+ company?: {
1033
+ id: string;
1034
+ name: string;
1035
+ createdAt: string | Date;
1036
+ updatedAt: string | Date;
1037
+ } | null | undefined;
809
1038
  }>;
810
1039
  403: z.ZodObject<{
811
1040
  statusCode: z.ZodNumber;
@@ -850,12 +1079,15 @@ export declare const agentLeadDistributionContract: {
850
1079
  body: z.ZodObject<{
851
1080
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
852
1081
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
1083
  }, "strip", z.ZodTypeAny, {
854
1084
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
855
1085
  leadDistributionConfigId?: string | null | undefined;
1086
+ companyId?: string | null | undefined;
856
1087
  }, {
857
1088
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
858
1089
  leadDistributionConfigId?: string | null | undefined;
1090
+ companyId?: string | null | undefined;
859
1091
  }>;
860
1092
  path: "/v2/agent-lead-distribution/:agentId";
861
1093
  responses: {
@@ -938,14 +1170,45 @@ export declare const agentLeadDistributionContract: {
938
1170
  agentId: z.ZodString;
939
1171
  status: z.ZodEnum<["AVAILABLE", "PAUSED", "EXCLUDED"]>;
940
1172
  leadDistributionConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1174
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1175
+ id: z.ZodString;
1176
+ name: z.ZodString;
1177
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1178
+ updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ id: string;
1181
+ name: string;
1182
+ createdAt: string;
1183
+ updatedAt: string;
1184
+ }, {
1185
+ id: string;
1186
+ name: string;
1187
+ createdAt: string | Date;
1188
+ updatedAt: string | Date;
1189
+ }>>>;
941
1190
  }, "strip", z.ZodTypeAny, {
942
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
943
1191
  agentId: string;
1192
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
944
1193
  leadDistributionConfigId?: string | null | undefined;
1194
+ companyId?: string | null | undefined;
1195
+ company?: {
1196
+ id: string;
1197
+ name: string;
1198
+ createdAt: string;
1199
+ updatedAt: string;
1200
+ } | null | undefined;
945
1201
  }, {
946
- status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
947
1202
  agentId: string;
1203
+ status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
948
1204
  leadDistributionConfigId?: string | null | undefined;
1205
+ companyId?: string | null | undefined;
1206
+ company?: {
1207
+ id: string;
1208
+ name: string;
1209
+ createdAt: string | Date;
1210
+ updatedAt: string | Date;
1211
+ } | null | undefined;
949
1212
  }>;
950
1213
  404: z.ZodObject<{
951
1214
  statusCode: z.ZodNumber;