@dakkitor/api-contracts 1.1.27 → 1.1.29
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 +5955 -1711
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +336 -336
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/bookings/bookings.contract.d.ts +4557 -383
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1190 -276
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +11 -28
- package/dist/client-contacts/client-contacts.contract.d.ts +571 -534
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +5 -7
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +374 -374
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +6 -13
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +3274 -268
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +37 -18
- package/dist/lead-assignments/lead-assignments.contract.d.ts +278 -278
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +319 -319
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +8 -8
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +245 -266
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +22 -21
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -4,7 +4,7 @@ exports.leadAssignmentsContract = exports.DistributeResponseSchema = exports.Que
|
|
|
4
4
|
const zod_openapi_1 = require("@anatine/zod-openapi");
|
|
5
5
|
const core_1 = require("@ts-rest/core");
|
|
6
6
|
const zod_1 = require("zod");
|
|
7
|
-
const
|
|
7
|
+
const call_rating_schema_1 = require("../common/call-rating.schema");
|
|
8
8
|
const error_schemas_1 = require("../common/error-schemas");
|
|
9
9
|
const users_contract_1 = require("../users/users.contract");
|
|
10
10
|
(0, zod_openapi_1.extendZodWithOpenApi)(zod_1.z);
|
|
@@ -63,7 +63,7 @@ exports.LeadAssignmentSchema = zod_1.z.object({
|
|
|
63
63
|
});
|
|
64
64
|
exports.CompleteAssignmentSchema = zod_1.z
|
|
65
65
|
.object({
|
|
66
|
-
status:
|
|
66
|
+
status: call_rating_schema_1.CallRatingSchema,
|
|
67
67
|
notes: zod_1.z
|
|
68
68
|
.string()
|
|
69
69
|
.max(1000)
|
|
@@ -70,8 +70,8 @@ export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
70
70
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
71
71
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
description?: string | undefined;
|
|
74
73
|
name?: string | undefined;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
isActive?: boolean | undefined;
|
|
76
76
|
lowShare?: number | undefined;
|
|
77
77
|
mediumShare?: number | undefined;
|
|
@@ -79,8 +79,8 @@ export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
79
79
|
mediumMinWeight?: number | undefined;
|
|
80
80
|
highMinWeight?: number | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
description?: string | undefined;
|
|
83
82
|
name?: string | undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
84
|
isActive?: boolean | undefined;
|
|
85
85
|
lowShare?: number | undefined;
|
|
86
86
|
mediumShare?: number | undefined;
|
|
@@ -149,6 +149,7 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
149
149
|
currentPage: z.ZodNumber;
|
|
150
150
|
totalPages: z.ZodNumber;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
limit: number;
|
|
152
153
|
items: {
|
|
153
154
|
id: string;
|
|
154
155
|
name: string;
|
|
@@ -161,11 +162,11 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
161
162
|
description?: string | null | undefined;
|
|
162
163
|
}[];
|
|
163
164
|
totalCount: number;
|
|
164
|
-
limit: number;
|
|
165
165
|
skip: number;
|
|
166
166
|
currentPage: number;
|
|
167
167
|
totalPages: number;
|
|
168
168
|
}, {
|
|
169
|
+
limit: number;
|
|
169
170
|
items: {
|
|
170
171
|
id: string;
|
|
171
172
|
name: string;
|
|
@@ -178,7 +179,6 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
178
179
|
description?: string | null | undefined;
|
|
179
180
|
}[];
|
|
180
181
|
totalCount: number;
|
|
181
|
-
limit: number;
|
|
182
182
|
skip: number;
|
|
183
183
|
currentPage: number;
|
|
184
184
|
totalPages: number;
|
|
@@ -229,19 +229,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
229
229
|
path: z.ZodString;
|
|
230
230
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
statusCode: number;
|
|
233
|
-
message: string;
|
|
234
232
|
code: string;
|
|
235
|
-
timestamp: string;
|
|
236
233
|
path: string;
|
|
234
|
+
message: string;
|
|
235
|
+
statusCode: number;
|
|
236
|
+
timestamp: string;
|
|
237
237
|
details?: unknown;
|
|
238
238
|
correlationId?: string | undefined;
|
|
239
239
|
}, {
|
|
240
|
-
statusCode: number;
|
|
241
|
-
message: string;
|
|
242
240
|
code: string;
|
|
243
|
-
timestamp: string;
|
|
244
241
|
path: string;
|
|
242
|
+
message: string;
|
|
243
|
+
statusCode: number;
|
|
244
|
+
timestamp: string;
|
|
245
245
|
details?: unknown;
|
|
246
246
|
correlationId?: string | undefined;
|
|
247
247
|
}>;
|
|
@@ -254,19 +254,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
254
254
|
path: z.ZodString;
|
|
255
255
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
statusCode: number;
|
|
258
|
-
message: string;
|
|
259
257
|
code: string;
|
|
260
|
-
timestamp: string;
|
|
261
258
|
path: string;
|
|
259
|
+
message: string;
|
|
260
|
+
statusCode: number;
|
|
261
|
+
timestamp: string;
|
|
262
262
|
details?: unknown;
|
|
263
263
|
correlationId?: string | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
statusCode: number;
|
|
266
|
-
message: string;
|
|
267
265
|
code: string;
|
|
268
|
-
timestamp: string;
|
|
269
266
|
path: string;
|
|
267
|
+
message: string;
|
|
268
|
+
statusCode: number;
|
|
269
|
+
timestamp: string;
|
|
270
270
|
details?: unknown;
|
|
271
271
|
correlationId?: string | undefined;
|
|
272
272
|
}>;
|
|
@@ -279,19 +279,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
279
279
|
path: z.ZodString;
|
|
280
280
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
statusCode: number;
|
|
283
|
-
message: string;
|
|
284
282
|
code: string;
|
|
285
|
-
timestamp: string;
|
|
286
283
|
path: string;
|
|
284
|
+
message: string;
|
|
285
|
+
statusCode: number;
|
|
286
|
+
timestamp: string;
|
|
287
287
|
details?: unknown;
|
|
288
288
|
correlationId?: string | undefined;
|
|
289
289
|
}, {
|
|
290
|
-
statusCode: number;
|
|
291
|
-
message: string;
|
|
292
290
|
code: string;
|
|
293
|
-
timestamp: string;
|
|
294
291
|
path: string;
|
|
292
|
+
message: string;
|
|
293
|
+
statusCode: number;
|
|
294
|
+
timestamp: string;
|
|
295
295
|
details?: unknown;
|
|
296
296
|
correlationId?: string | undefined;
|
|
297
297
|
}>;
|
|
@@ -333,6 +333,7 @@ export declare const leadDistributionConfigContract: {
|
|
|
333
333
|
currentPage: z.ZodNumber;
|
|
334
334
|
totalPages: z.ZodNumber;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
limit: number;
|
|
336
337
|
items: {
|
|
337
338
|
id: string;
|
|
338
339
|
name: string;
|
|
@@ -345,11 +346,11 @@ export declare const leadDistributionConfigContract: {
|
|
|
345
346
|
description?: string | null | undefined;
|
|
346
347
|
}[];
|
|
347
348
|
totalCount: number;
|
|
348
|
-
limit: number;
|
|
349
349
|
skip: number;
|
|
350
350
|
currentPage: number;
|
|
351
351
|
totalPages: number;
|
|
352
352
|
}, {
|
|
353
|
+
limit: number;
|
|
353
354
|
items: {
|
|
354
355
|
id: string;
|
|
355
356
|
name: string;
|
|
@@ -362,7 +363,6 @@ export declare const leadDistributionConfigContract: {
|
|
|
362
363
|
description?: string | null | undefined;
|
|
363
364
|
}[];
|
|
364
365
|
totalCount: number;
|
|
365
|
-
limit: number;
|
|
366
366
|
skip: number;
|
|
367
367
|
currentPage: number;
|
|
368
368
|
totalPages: number;
|
|
@@ -376,19 +376,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
376
376
|
path: z.ZodString;
|
|
377
377
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
|
-
statusCode: number;
|
|
380
|
-
message: string;
|
|
381
379
|
code: string;
|
|
382
|
-
timestamp: string;
|
|
383
380
|
path: string;
|
|
381
|
+
message: string;
|
|
382
|
+
statusCode: number;
|
|
383
|
+
timestamp: string;
|
|
384
384
|
details?: unknown;
|
|
385
385
|
correlationId?: string | undefined;
|
|
386
386
|
}, {
|
|
387
|
-
statusCode: number;
|
|
388
|
-
message: string;
|
|
389
387
|
code: string;
|
|
390
|
-
timestamp: string;
|
|
391
388
|
path: string;
|
|
389
|
+
message: string;
|
|
390
|
+
statusCode: number;
|
|
391
|
+
timestamp: string;
|
|
392
392
|
details?: unknown;
|
|
393
393
|
correlationId?: string | undefined;
|
|
394
394
|
}>;
|
|
@@ -418,19 +418,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
418
418
|
path: z.ZodString;
|
|
419
419
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
statusCode: number;
|
|
422
|
-
message: string;
|
|
423
421
|
code: string;
|
|
424
|
-
timestamp: string;
|
|
425
422
|
path: string;
|
|
423
|
+
message: string;
|
|
424
|
+
statusCode: number;
|
|
425
|
+
timestamp: string;
|
|
426
426
|
details?: unknown;
|
|
427
427
|
correlationId?: string | undefined;
|
|
428
428
|
}, {
|
|
429
|
-
statusCode: number;
|
|
430
|
-
message: string;
|
|
431
429
|
code: string;
|
|
432
|
-
timestamp: string;
|
|
433
430
|
path: string;
|
|
431
|
+
message: string;
|
|
432
|
+
statusCode: number;
|
|
433
|
+
timestamp: string;
|
|
434
434
|
details?: unknown;
|
|
435
435
|
correlationId?: string | undefined;
|
|
436
436
|
}>;
|
|
@@ -443,19 +443,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
443
443
|
path: z.ZodString;
|
|
444
444
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
statusCode: number;
|
|
447
|
-
message: string;
|
|
448
446
|
code: string;
|
|
449
|
-
timestamp: string;
|
|
450
447
|
path: string;
|
|
448
|
+
message: string;
|
|
449
|
+
statusCode: number;
|
|
450
|
+
timestamp: string;
|
|
451
451
|
details?: unknown;
|
|
452
452
|
correlationId?: string | undefined;
|
|
453
453
|
}, {
|
|
454
|
-
statusCode: number;
|
|
455
|
-
message: string;
|
|
456
454
|
code: string;
|
|
457
|
-
timestamp: string;
|
|
458
455
|
path: string;
|
|
456
|
+
message: string;
|
|
457
|
+
statusCode: number;
|
|
458
|
+
timestamp: string;
|
|
459
459
|
details?: unknown;
|
|
460
460
|
correlationId?: string | undefined;
|
|
461
461
|
}>;
|
|
@@ -468,19 +468,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
468
468
|
path: z.ZodString;
|
|
469
469
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
statusCode: number;
|
|
472
|
-
message: string;
|
|
473
471
|
code: string;
|
|
474
|
-
timestamp: string;
|
|
475
472
|
path: string;
|
|
473
|
+
message: string;
|
|
474
|
+
statusCode: number;
|
|
475
|
+
timestamp: string;
|
|
476
476
|
details?: unknown;
|
|
477
477
|
correlationId?: string | undefined;
|
|
478
478
|
}, {
|
|
479
|
-
statusCode: number;
|
|
480
|
-
message: string;
|
|
481
479
|
code: string;
|
|
482
|
-
timestamp: string;
|
|
483
480
|
path: string;
|
|
481
|
+
message: string;
|
|
482
|
+
statusCode: number;
|
|
483
|
+
timestamp: string;
|
|
484
484
|
details?: unknown;
|
|
485
485
|
correlationId?: string | undefined;
|
|
486
486
|
}>;
|
|
@@ -524,19 +524,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
524
524
|
path: z.ZodString;
|
|
525
525
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
|
-
statusCode: number;
|
|
528
|
-
message: string;
|
|
529
527
|
code: string;
|
|
530
|
-
timestamp: string;
|
|
531
528
|
path: string;
|
|
529
|
+
message: string;
|
|
530
|
+
statusCode: number;
|
|
531
|
+
timestamp: string;
|
|
532
532
|
details?: unknown;
|
|
533
533
|
correlationId?: string | undefined;
|
|
534
534
|
}, {
|
|
535
|
-
statusCode: number;
|
|
536
|
-
message: string;
|
|
537
535
|
code: string;
|
|
538
|
-
timestamp: string;
|
|
539
536
|
path: string;
|
|
537
|
+
message: string;
|
|
538
|
+
statusCode: number;
|
|
539
|
+
timestamp: string;
|
|
540
540
|
details?: unknown;
|
|
541
541
|
correlationId?: string | undefined;
|
|
542
542
|
}>;
|
|
@@ -549,19 +549,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
549
549
|
path: z.ZodString;
|
|
550
550
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
-
statusCode: number;
|
|
553
|
-
message: string;
|
|
554
552
|
code: string;
|
|
555
|
-
timestamp: string;
|
|
556
553
|
path: string;
|
|
554
|
+
message: string;
|
|
555
|
+
statusCode: number;
|
|
556
|
+
timestamp: string;
|
|
557
557
|
details?: unknown;
|
|
558
558
|
correlationId?: string | undefined;
|
|
559
559
|
}, {
|
|
560
|
-
statusCode: number;
|
|
561
|
-
message: string;
|
|
562
560
|
code: string;
|
|
563
|
-
timestamp: string;
|
|
564
561
|
path: string;
|
|
562
|
+
message: string;
|
|
563
|
+
statusCode: number;
|
|
564
|
+
timestamp: string;
|
|
565
565
|
details?: unknown;
|
|
566
566
|
correlationId?: string | undefined;
|
|
567
567
|
}>;
|
|
@@ -612,19 +612,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
612
612
|
path: z.ZodString;
|
|
613
613
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
statusCode: number;
|
|
616
|
-
message: string;
|
|
617
615
|
code: string;
|
|
618
|
-
timestamp: string;
|
|
619
616
|
path: string;
|
|
617
|
+
message: string;
|
|
618
|
+
statusCode: number;
|
|
619
|
+
timestamp: string;
|
|
620
620
|
details?: unknown;
|
|
621
621
|
correlationId?: string | undefined;
|
|
622
622
|
}, {
|
|
623
|
-
statusCode: number;
|
|
624
|
-
message: string;
|
|
625
623
|
code: string;
|
|
626
|
-
timestamp: string;
|
|
627
624
|
path: string;
|
|
625
|
+
message: string;
|
|
626
|
+
statusCode: number;
|
|
627
|
+
timestamp: string;
|
|
628
628
|
details?: unknown;
|
|
629
629
|
correlationId?: string | undefined;
|
|
630
630
|
}>;
|
|
@@ -637,19 +637,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
637
637
|
path: z.ZodString;
|
|
638
638
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
639
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
-
statusCode: number;
|
|
641
|
-
message: string;
|
|
642
640
|
code: string;
|
|
643
|
-
timestamp: string;
|
|
644
641
|
path: string;
|
|
642
|
+
message: string;
|
|
643
|
+
statusCode: number;
|
|
644
|
+
timestamp: string;
|
|
645
645
|
details?: unknown;
|
|
646
646
|
correlationId?: string | undefined;
|
|
647
647
|
}, {
|
|
648
|
-
statusCode: number;
|
|
649
|
-
message: string;
|
|
650
648
|
code: string;
|
|
651
|
-
timestamp: string;
|
|
652
649
|
path: string;
|
|
650
|
+
message: string;
|
|
651
|
+
statusCode: number;
|
|
652
|
+
timestamp: string;
|
|
653
653
|
details?: unknown;
|
|
654
654
|
correlationId?: string | undefined;
|
|
655
655
|
}>;
|
|
@@ -662,19 +662,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
662
662
|
path: z.ZodString;
|
|
663
663
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
|
665
|
-
statusCode: number;
|
|
666
|
-
message: string;
|
|
667
665
|
code: string;
|
|
668
|
-
timestamp: string;
|
|
669
666
|
path: string;
|
|
667
|
+
message: string;
|
|
668
|
+
statusCode: number;
|
|
669
|
+
timestamp: string;
|
|
670
670
|
details?: unknown;
|
|
671
671
|
correlationId?: string | undefined;
|
|
672
672
|
}, {
|
|
673
|
-
statusCode: number;
|
|
674
|
-
message: string;
|
|
675
673
|
code: string;
|
|
676
|
-
timestamp: string;
|
|
677
674
|
path: string;
|
|
675
|
+
message: string;
|
|
676
|
+
statusCode: number;
|
|
677
|
+
timestamp: string;
|
|
678
678
|
details?: unknown;
|
|
679
679
|
correlationId?: string | undefined;
|
|
680
680
|
}>;
|
|
@@ -718,19 +718,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
718
718
|
path: z.ZodString;
|
|
719
719
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
statusCode: number;
|
|
722
|
-
message: string;
|
|
723
721
|
code: string;
|
|
724
|
-
timestamp: string;
|
|
725
722
|
path: string;
|
|
723
|
+
message: string;
|
|
724
|
+
statusCode: number;
|
|
725
|
+
timestamp: string;
|
|
726
726
|
details?: unknown;
|
|
727
727
|
correlationId?: string | undefined;
|
|
728
728
|
}, {
|
|
729
|
-
statusCode: number;
|
|
730
|
-
message: string;
|
|
731
729
|
code: string;
|
|
732
|
-
timestamp: string;
|
|
733
730
|
path: string;
|
|
731
|
+
message: string;
|
|
732
|
+
statusCode: number;
|
|
733
|
+
timestamp: string;
|
|
734
734
|
details?: unknown;
|
|
735
735
|
correlationId?: string | undefined;
|
|
736
736
|
}>;
|
|
@@ -759,8 +759,8 @@ export declare const leadDistributionConfigContract: {
|
|
|
759
759
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
760
760
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
description?: string | undefined;
|
|
763
762
|
name?: string | undefined;
|
|
763
|
+
description?: string | undefined;
|
|
764
764
|
isActive?: boolean | undefined;
|
|
765
765
|
lowShare?: number | undefined;
|
|
766
766
|
mediumShare?: number | undefined;
|
|
@@ -768,8 +768,8 @@ export declare const leadDistributionConfigContract: {
|
|
|
768
768
|
mediumMinWeight?: number | undefined;
|
|
769
769
|
highMinWeight?: number | undefined;
|
|
770
770
|
}, {
|
|
771
|
-
description?: string | undefined;
|
|
772
771
|
name?: string | undefined;
|
|
772
|
+
description?: string | undefined;
|
|
773
773
|
isActive?: boolean | undefined;
|
|
774
774
|
lowShare?: number | undefined;
|
|
775
775
|
mediumShare?: number | undefined;
|
|
@@ -788,19 +788,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
788
788
|
path: z.ZodString;
|
|
789
789
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
-
statusCode: number;
|
|
792
|
-
message: string;
|
|
793
791
|
code: string;
|
|
794
|
-
timestamp: string;
|
|
795
792
|
path: string;
|
|
793
|
+
message: string;
|
|
794
|
+
statusCode: number;
|
|
795
|
+
timestamp: string;
|
|
796
796
|
details?: unknown;
|
|
797
797
|
correlationId?: string | undefined;
|
|
798
798
|
}, {
|
|
799
|
-
statusCode: number;
|
|
800
|
-
message: string;
|
|
801
799
|
code: string;
|
|
802
|
-
timestamp: string;
|
|
803
800
|
path: string;
|
|
801
|
+
message: string;
|
|
802
|
+
statusCode: number;
|
|
803
|
+
timestamp: string;
|
|
804
804
|
details?: unknown;
|
|
805
805
|
correlationId?: string | undefined;
|
|
806
806
|
}>;
|
|
@@ -813,19 +813,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
813
813
|
path: z.ZodString;
|
|
814
814
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
statusCode: number;
|
|
817
|
-
message: string;
|
|
818
816
|
code: string;
|
|
819
|
-
timestamp: string;
|
|
820
817
|
path: string;
|
|
818
|
+
message: string;
|
|
819
|
+
statusCode: number;
|
|
820
|
+
timestamp: string;
|
|
821
821
|
details?: unknown;
|
|
822
822
|
correlationId?: string | undefined;
|
|
823
823
|
}, {
|
|
824
|
-
statusCode: number;
|
|
825
|
-
message: string;
|
|
826
824
|
code: string;
|
|
827
|
-
timestamp: string;
|
|
828
825
|
path: string;
|
|
826
|
+
message: string;
|
|
827
|
+
statusCode: number;
|
|
828
|
+
timestamp: string;
|
|
829
829
|
details?: unknown;
|
|
830
830
|
correlationId?: string | undefined;
|
|
831
831
|
}>;
|
|
@@ -838,19 +838,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
838
838
|
path: z.ZodString;
|
|
839
839
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
-
statusCode: number;
|
|
842
|
-
message: string;
|
|
843
841
|
code: string;
|
|
844
|
-
timestamp: string;
|
|
845
842
|
path: string;
|
|
843
|
+
message: string;
|
|
844
|
+
statusCode: number;
|
|
845
|
+
timestamp: string;
|
|
846
846
|
details?: unknown;
|
|
847
847
|
correlationId?: string | undefined;
|
|
848
848
|
}, {
|
|
849
|
-
statusCode: number;
|
|
850
|
-
message: string;
|
|
851
849
|
code: string;
|
|
852
|
-
timestamp: string;
|
|
853
850
|
path: string;
|
|
851
|
+
message: string;
|
|
852
|
+
statusCode: number;
|
|
853
|
+
timestamp: string;
|
|
854
854
|
details?: unknown;
|
|
855
855
|
correlationId?: string | undefined;
|
|
856
856
|
}>;
|
|
@@ -894,19 +894,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
894
894
|
path: z.ZodString;
|
|
895
895
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
statusCode: number;
|
|
898
|
-
message: string;
|
|
899
897
|
code: string;
|
|
900
|
-
timestamp: string;
|
|
901
898
|
path: string;
|
|
899
|
+
message: string;
|
|
900
|
+
statusCode: number;
|
|
901
|
+
timestamp: string;
|
|
902
902
|
details?: unknown;
|
|
903
903
|
correlationId?: string | undefined;
|
|
904
904
|
}, {
|
|
905
|
-
statusCode: number;
|
|
906
|
-
message: string;
|
|
907
905
|
code: string;
|
|
908
|
-
timestamp: string;
|
|
909
906
|
path: string;
|
|
907
|
+
message: string;
|
|
908
|
+
statusCode: number;
|
|
909
|
+
timestamp: string;
|
|
910
910
|
details?: unknown;
|
|
911
911
|
correlationId?: string | undefined;
|
|
912
912
|
}>;
|
|
@@ -919,19 +919,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
919
919
|
path: z.ZodString;
|
|
920
920
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
921
921
|
}, "strip", z.ZodTypeAny, {
|
|
922
|
-
statusCode: number;
|
|
923
|
-
message: string;
|
|
924
922
|
code: string;
|
|
925
|
-
timestamp: string;
|
|
926
923
|
path: string;
|
|
924
|
+
message: string;
|
|
925
|
+
statusCode: number;
|
|
926
|
+
timestamp: string;
|
|
927
927
|
details?: unknown;
|
|
928
928
|
correlationId?: string | undefined;
|
|
929
929
|
}, {
|
|
930
|
-
statusCode: number;
|
|
931
|
-
message: string;
|
|
932
930
|
code: string;
|
|
933
|
-
timestamp: string;
|
|
934
931
|
path: string;
|
|
932
|
+
message: string;
|
|
933
|
+
statusCode: number;
|
|
934
|
+
timestamp: string;
|
|
935
935
|
details?: unknown;
|
|
936
936
|
correlationId?: string | undefined;
|
|
937
937
|
}>;
|
|
@@ -962,19 +962,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
962
962
|
path: z.ZodString;
|
|
963
963
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
-
statusCode: number;
|
|
966
|
-
message: string;
|
|
967
965
|
code: string;
|
|
968
|
-
timestamp: string;
|
|
969
966
|
path: string;
|
|
967
|
+
message: string;
|
|
968
|
+
statusCode: number;
|
|
969
|
+
timestamp: string;
|
|
970
970
|
details?: unknown;
|
|
971
971
|
correlationId?: string | undefined;
|
|
972
972
|
}, {
|
|
973
|
-
statusCode: number;
|
|
974
|
-
message: string;
|
|
975
973
|
code: string;
|
|
976
|
-
timestamp: string;
|
|
977
974
|
path: string;
|
|
975
|
+
message: string;
|
|
976
|
+
statusCode: number;
|
|
977
|
+
timestamp: string;
|
|
978
978
|
details?: unknown;
|
|
979
979
|
correlationId?: string | undefined;
|
|
980
980
|
}>;
|
|
@@ -987,19 +987,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
987
987
|
path: z.ZodString;
|
|
988
988
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
989
989
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
-
statusCode: number;
|
|
991
|
-
message: string;
|
|
992
990
|
code: string;
|
|
993
|
-
timestamp: string;
|
|
994
991
|
path: string;
|
|
992
|
+
message: string;
|
|
993
|
+
statusCode: number;
|
|
994
|
+
timestamp: string;
|
|
995
995
|
details?: unknown;
|
|
996
996
|
correlationId?: string | undefined;
|
|
997
997
|
}, {
|
|
998
|
-
statusCode: number;
|
|
999
|
-
message: string;
|
|
1000
998
|
code: string;
|
|
1001
|
-
timestamp: string;
|
|
1002
999
|
path: string;
|
|
1000
|
+
message: string;
|
|
1001
|
+
statusCode: number;
|
|
1002
|
+
timestamp: string;
|
|
1003
1003
|
details?: unknown;
|
|
1004
1004
|
correlationId?: string | undefined;
|
|
1005
1005
|
}>;
|
|
@@ -1012,19 +1012,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
1012
1012
|
path: z.ZodString;
|
|
1013
1013
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
-
statusCode: number;
|
|
1016
|
-
message: string;
|
|
1017
1015
|
code: string;
|
|
1018
|
-
timestamp: string;
|
|
1019
1016
|
path: string;
|
|
1017
|
+
message: string;
|
|
1018
|
+
statusCode: number;
|
|
1019
|
+
timestamp: string;
|
|
1020
1020
|
details?: unknown;
|
|
1021
1021
|
correlationId?: string | undefined;
|
|
1022
1022
|
}, {
|
|
1023
|
-
statusCode: number;
|
|
1024
|
-
message: string;
|
|
1025
1023
|
code: string;
|
|
1026
|
-
timestamp: string;
|
|
1027
1024
|
path: string;
|
|
1025
|
+
message: string;
|
|
1026
|
+
statusCode: number;
|
|
1027
|
+
timestamp: string;
|
|
1028
1028
|
details?: unknown;
|
|
1029
1029
|
correlationId?: string | undefined;
|
|
1030
1030
|
}>;
|
|
@@ -1038,19 +1038,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
1038
1038
|
path: z.ZodString;
|
|
1039
1039
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
|
-
statusCode: number;
|
|
1042
|
-
message: string;
|
|
1043
1041
|
code: string;
|
|
1044
|
-
timestamp: string;
|
|
1045
1042
|
path: string;
|
|
1043
|
+
message: string;
|
|
1044
|
+
statusCode: number;
|
|
1045
|
+
timestamp: string;
|
|
1046
1046
|
details?: unknown;
|
|
1047
1047
|
correlationId?: string | undefined;
|
|
1048
1048
|
}, {
|
|
1049
|
-
statusCode: number;
|
|
1050
|
-
message: string;
|
|
1051
1049
|
code: string;
|
|
1052
|
-
timestamp: string;
|
|
1053
1050
|
path: string;
|
|
1051
|
+
message: string;
|
|
1052
|
+
statusCode: number;
|
|
1053
|
+
timestamp: string;
|
|
1054
1054
|
details?: unknown;
|
|
1055
1055
|
correlationId?: string | undefined;
|
|
1056
1056
|
}>;
|
|
@@ -1063,19 +1063,19 @@ export declare const leadDistributionConfigContract: {
|
|
|
1063
1063
|
path: z.ZodString;
|
|
1064
1064
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1066
|
-
statusCode: number;
|
|
1067
|
-
message: string;
|
|
1068
1066
|
code: string;
|
|
1069
|
-
timestamp: string;
|
|
1070
1067
|
path: string;
|
|
1068
|
+
message: string;
|
|
1069
|
+
statusCode: number;
|
|
1070
|
+
timestamp: string;
|
|
1071
1071
|
details?: unknown;
|
|
1072
1072
|
correlationId?: string | undefined;
|
|
1073
1073
|
}, {
|
|
1074
|
-
statusCode: number;
|
|
1075
|
-
message: string;
|
|
1076
1074
|
code: string;
|
|
1077
|
-
timestamp: string;
|
|
1078
1075
|
path: string;
|
|
1076
|
+
message: string;
|
|
1077
|
+
statusCode: number;
|
|
1078
|
+
timestamp: string;
|
|
1079
1079
|
details?: unknown;
|
|
1080
1080
|
correlationId?: string | undefined;
|
|
1081
1081
|
}>;
|