@dakkitor/api-contracts 1.9.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +31 -1
- package/dist/abilities/abilities.contract.spec.js +52 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +32 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +7200 -6919
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
- package/dist/auth/auth.contract.d.ts +85 -85
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +10542 -10116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +315 -140
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +9230 -4114
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +362 -16
- package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
- package/dist/collaborations/collaborations.contract.d.ts +538 -538
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
- package/dist/curated-worker-leads/contact-history.spec.js +86 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- 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 +5586 -3381
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
- package/dist/leads/leads.contract.d.ts +210 -210
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +512 -40
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/own-research/own-research.contract.d.ts +196 -130
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
- package/dist/users/users.contract.d.ts +236 -236
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
- package/dist/workers/workers.contract.d.ts +2620 -2420
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -184,13 +184,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
184
184
|
firstName: string;
|
|
185
185
|
}[] | undefined;
|
|
186
186
|
} | null | undefined;
|
|
187
|
+
deletedAt?: string | null | undefined;
|
|
187
188
|
canImpersonateUsers?: {
|
|
188
189
|
id: string;
|
|
189
190
|
lastName: string;
|
|
190
191
|
firstName: string;
|
|
191
192
|
}[] | undefined;
|
|
192
193
|
dialpadUserId?: string | null | undefined;
|
|
193
|
-
deletedAt?: string | null | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
email: string;
|
|
196
196
|
createdAt: string | Date;
|
|
@@ -216,13 +216,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
216
216
|
description?: string | null | undefined;
|
|
217
217
|
isPrimary?: boolean | undefined;
|
|
218
218
|
}[] | undefined;
|
|
219
|
+
deletedAt?: string | Date | null | undefined;
|
|
219
220
|
canImpersonateUsers?: {
|
|
220
221
|
id: string;
|
|
221
222
|
lastName: string;
|
|
222
223
|
firstName: string;
|
|
223
224
|
}[] | undefined;
|
|
224
225
|
dialpadUserId?: string | null | undefined;
|
|
225
|
-
deletedAt?: string | Date | null | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
228
228
|
id: z.ZodString;
|
|
@@ -270,13 +270,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
270
270
|
firstName: string;
|
|
271
271
|
}[] | undefined;
|
|
272
272
|
} | null | undefined;
|
|
273
|
+
deletedAt?: string | null | undefined;
|
|
273
274
|
canImpersonateUsers?: {
|
|
274
275
|
id: string;
|
|
275
276
|
lastName: string;
|
|
276
277
|
firstName: string;
|
|
277
278
|
}[] | undefined;
|
|
278
279
|
dialpadUserId?: string | null | undefined;
|
|
279
|
-
deletedAt?: string | null | undefined;
|
|
280
280
|
};
|
|
281
281
|
companyId?: string | null | undefined;
|
|
282
282
|
company?: {
|
|
@@ -319,13 +319,13 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
319
319
|
description?: string | null | undefined;
|
|
320
320
|
isPrimary?: boolean | undefined;
|
|
321
321
|
}[] | undefined;
|
|
322
|
+
deletedAt?: string | Date | null | undefined;
|
|
322
323
|
canImpersonateUsers?: {
|
|
323
324
|
id: string;
|
|
324
325
|
lastName: string;
|
|
325
326
|
firstName: string;
|
|
326
327
|
}[] | undefined;
|
|
327
328
|
dialpadUserId?: string | null | undefined;
|
|
328
|
-
deletedAt?: string | Date | null | undefined;
|
|
329
329
|
};
|
|
330
330
|
companyId?: string | null | undefined;
|
|
331
331
|
company?: {
|
|
@@ -515,13 +515,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
515
515
|
firstName: string;
|
|
516
516
|
}[] | undefined;
|
|
517
517
|
} | null | undefined;
|
|
518
|
+
deletedAt?: string | null | undefined;
|
|
518
519
|
canImpersonateUsers?: {
|
|
519
520
|
id: string;
|
|
520
521
|
lastName: string;
|
|
521
522
|
firstName: string;
|
|
522
523
|
}[] | undefined;
|
|
523
524
|
dialpadUserId?: string | null | undefined;
|
|
524
|
-
deletedAt?: string | null | undefined;
|
|
525
525
|
}, {
|
|
526
526
|
email: string;
|
|
527
527
|
createdAt: string | Date;
|
|
@@ -547,13 +547,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
547
547
|
description?: string | null | undefined;
|
|
548
548
|
isPrimary?: boolean | undefined;
|
|
549
549
|
}[] | undefined;
|
|
550
|
+
deletedAt?: string | Date | null | undefined;
|
|
550
551
|
canImpersonateUsers?: {
|
|
551
552
|
id: string;
|
|
552
553
|
lastName: string;
|
|
553
554
|
firstName: string;
|
|
554
555
|
}[] | undefined;
|
|
555
556
|
dialpadUserId?: string | null | undefined;
|
|
556
|
-
deletedAt?: string | Date | null | undefined;
|
|
557
557
|
}>;
|
|
558
558
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
559
559
|
id: z.ZodString;
|
|
@@ -601,13 +601,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
601
601
|
firstName: string;
|
|
602
602
|
}[] | undefined;
|
|
603
603
|
} | null | undefined;
|
|
604
|
+
deletedAt?: string | null | undefined;
|
|
604
605
|
canImpersonateUsers?: {
|
|
605
606
|
id: string;
|
|
606
607
|
lastName: string;
|
|
607
608
|
firstName: string;
|
|
608
609
|
}[] | undefined;
|
|
609
610
|
dialpadUserId?: string | null | undefined;
|
|
610
|
-
deletedAt?: string | null | undefined;
|
|
611
611
|
};
|
|
612
612
|
companyId?: string | null | undefined;
|
|
613
613
|
company?: {
|
|
@@ -650,13 +650,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
650
650
|
description?: string | null | undefined;
|
|
651
651
|
isPrimary?: boolean | undefined;
|
|
652
652
|
}[] | undefined;
|
|
653
|
+
deletedAt?: string | Date | null | undefined;
|
|
653
654
|
canImpersonateUsers?: {
|
|
654
655
|
id: string;
|
|
655
656
|
lastName: string;
|
|
656
657
|
firstName: string;
|
|
657
658
|
}[] | undefined;
|
|
658
659
|
dialpadUserId?: string | null | undefined;
|
|
659
|
-
deletedAt?: string | Date | null | undefined;
|
|
660
660
|
};
|
|
661
661
|
companyId?: string | null | undefined;
|
|
662
662
|
company?: {
|
|
@@ -707,13 +707,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
707
707
|
firstName: string;
|
|
708
708
|
}[] | undefined;
|
|
709
709
|
} | null | undefined;
|
|
710
|
+
deletedAt?: string | null | undefined;
|
|
710
711
|
canImpersonateUsers?: {
|
|
711
712
|
id: string;
|
|
712
713
|
lastName: string;
|
|
713
714
|
firstName: string;
|
|
714
715
|
}[] | undefined;
|
|
715
716
|
dialpadUserId?: string | null | undefined;
|
|
716
|
-
deletedAt?: string | null | undefined;
|
|
717
717
|
};
|
|
718
718
|
companyId?: string | null | undefined;
|
|
719
719
|
company?: {
|
|
@@ -763,13 +763,13 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
763
763
|
description?: string | null | undefined;
|
|
764
764
|
isPrimary?: boolean | undefined;
|
|
765
765
|
}[] | undefined;
|
|
766
|
+
deletedAt?: string | Date | null | undefined;
|
|
766
767
|
canImpersonateUsers?: {
|
|
767
768
|
id: string;
|
|
768
769
|
lastName: string;
|
|
769
770
|
firstName: string;
|
|
770
771
|
}[] | undefined;
|
|
771
772
|
dialpadUserId?: string | null | undefined;
|
|
772
|
-
deletedAt?: string | Date | null | undefined;
|
|
773
773
|
};
|
|
774
774
|
companyId?: string | null | undefined;
|
|
775
775
|
company?: {
|
|
@@ -859,9 +859,6 @@ export type AgentLeadDistributionConfigRef = z.infer<typeof AgentLeadDistributio
|
|
|
859
859
|
export type BatchResult = z.infer<typeof BatchResultSchema>;
|
|
860
860
|
export declare const agentLeadDistributionContract: {
|
|
861
861
|
findAll: {
|
|
862
|
-
metadata: {
|
|
863
|
-
tags: string[];
|
|
864
|
-
};
|
|
865
862
|
query: z.ZodObject<{
|
|
866
863
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
867
864
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -885,11 +882,14 @@ export declare const agentLeadDistributionContract: {
|
|
|
885
882
|
companyId?: string | undefined;
|
|
886
883
|
leadDistributionConfigId?: string | undefined;
|
|
887
884
|
}>;
|
|
885
|
+
metadata: {
|
|
886
|
+
tags: string[];
|
|
887
|
+
};
|
|
888
888
|
summary: "List all agent lead distribution records";
|
|
889
889
|
method: "GET";
|
|
890
890
|
path: "/v2/agent-lead-distribution";
|
|
891
891
|
responses: {
|
|
892
|
-
|
|
892
|
+
401: z.ZodObject<{
|
|
893
893
|
statusCode: z.ZodNumber;
|
|
894
894
|
message: z.ZodString;
|
|
895
895
|
code: z.ZodString;
|
|
@@ -898,23 +898,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
898
898
|
path: z.ZodString;
|
|
899
899
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
900
900
|
}, "strip", z.ZodTypeAny, {
|
|
901
|
-
message: string;
|
|
902
901
|
code: string;
|
|
903
902
|
path: string;
|
|
903
|
+
message: string;
|
|
904
904
|
statusCode: number;
|
|
905
905
|
timestamp: string;
|
|
906
906
|
details?: unknown;
|
|
907
907
|
correlationId?: string | undefined;
|
|
908
908
|
}, {
|
|
909
|
-
message: string;
|
|
910
909
|
code: string;
|
|
911
910
|
path: string;
|
|
911
|
+
message: string;
|
|
912
912
|
statusCode: number;
|
|
913
913
|
timestamp: string;
|
|
914
914
|
details?: unknown;
|
|
915
915
|
correlationId?: string | undefined;
|
|
916
916
|
}>;
|
|
917
|
-
|
|
917
|
+
400: z.ZodObject<{
|
|
918
918
|
statusCode: z.ZodNumber;
|
|
919
919
|
message: z.ZodString;
|
|
920
920
|
code: z.ZodString;
|
|
@@ -923,17 +923,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
923
923
|
path: z.ZodString;
|
|
924
924
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
925
925
|
}, "strip", z.ZodTypeAny, {
|
|
926
|
-
message: string;
|
|
927
926
|
code: string;
|
|
928
927
|
path: string;
|
|
928
|
+
message: string;
|
|
929
929
|
statusCode: number;
|
|
930
930
|
timestamp: string;
|
|
931
931
|
details?: unknown;
|
|
932
932
|
correlationId?: string | undefined;
|
|
933
933
|
}, {
|
|
934
|
-
message: string;
|
|
935
934
|
code: string;
|
|
936
935
|
path: string;
|
|
936
|
+
message: string;
|
|
937
937
|
statusCode: number;
|
|
938
938
|
timestamp: string;
|
|
939
939
|
details?: unknown;
|
|
@@ -948,17 +948,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
948
948
|
path: z.ZodString;
|
|
949
949
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
message: string;
|
|
952
951
|
code: string;
|
|
953
952
|
path: string;
|
|
953
|
+
message: string;
|
|
954
954
|
statusCode: number;
|
|
955
955
|
timestamp: string;
|
|
956
956
|
details?: unknown;
|
|
957
957
|
correlationId?: string | undefined;
|
|
958
958
|
}, {
|
|
959
|
-
message: string;
|
|
960
959
|
code: string;
|
|
961
960
|
path: string;
|
|
961
|
+
message: string;
|
|
962
962
|
statusCode: number;
|
|
963
963
|
timestamp: string;
|
|
964
964
|
details?: unknown;
|
|
@@ -1087,13 +1087,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1087
1087
|
firstName: string;
|
|
1088
1088
|
}[] | undefined;
|
|
1089
1089
|
} | null | undefined;
|
|
1090
|
+
deletedAt?: string | null | undefined;
|
|
1090
1091
|
canImpersonateUsers?: {
|
|
1091
1092
|
id: string;
|
|
1092
1093
|
lastName: string;
|
|
1093
1094
|
firstName: string;
|
|
1094
1095
|
}[] | undefined;
|
|
1095
1096
|
dialpadUserId?: string | null | undefined;
|
|
1096
|
-
deletedAt?: string | null | undefined;
|
|
1097
1097
|
}, {
|
|
1098
1098
|
email: string;
|
|
1099
1099
|
createdAt: string | Date;
|
|
@@ -1119,13 +1119,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1119
1119
|
description?: string | null | undefined;
|
|
1120
1120
|
isPrimary?: boolean | undefined;
|
|
1121
1121
|
}[] | undefined;
|
|
1122
|
+
deletedAt?: string | Date | null | undefined;
|
|
1122
1123
|
canImpersonateUsers?: {
|
|
1123
1124
|
id: string;
|
|
1124
1125
|
lastName: string;
|
|
1125
1126
|
firstName: string;
|
|
1126
1127
|
}[] | undefined;
|
|
1127
1128
|
dialpadUserId?: string | null | undefined;
|
|
1128
|
-
deletedAt?: string | Date | null | undefined;
|
|
1129
1129
|
}>;
|
|
1130
1130
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
1131
1131
|
id: z.ZodString;
|
|
@@ -1173,13 +1173,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1173
1173
|
firstName: string;
|
|
1174
1174
|
}[] | undefined;
|
|
1175
1175
|
} | null | undefined;
|
|
1176
|
+
deletedAt?: string | null | undefined;
|
|
1176
1177
|
canImpersonateUsers?: {
|
|
1177
1178
|
id: string;
|
|
1178
1179
|
lastName: string;
|
|
1179
1180
|
firstName: string;
|
|
1180
1181
|
}[] | undefined;
|
|
1181
1182
|
dialpadUserId?: string | null | undefined;
|
|
1182
|
-
deletedAt?: string | null | undefined;
|
|
1183
1183
|
};
|
|
1184
1184
|
companyId?: string | null | undefined;
|
|
1185
1185
|
company?: {
|
|
@@ -1222,13 +1222,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1222
1222
|
description?: string | null | undefined;
|
|
1223
1223
|
isPrimary?: boolean | undefined;
|
|
1224
1224
|
}[] | undefined;
|
|
1225
|
+
deletedAt?: string | Date | null | undefined;
|
|
1225
1226
|
canImpersonateUsers?: {
|
|
1226
1227
|
id: string;
|
|
1227
1228
|
lastName: string;
|
|
1228
1229
|
firstName: string;
|
|
1229
1230
|
}[] | undefined;
|
|
1230
1231
|
dialpadUserId?: string | null | undefined;
|
|
1231
|
-
deletedAt?: string | Date | null | undefined;
|
|
1232
1232
|
};
|
|
1233
1233
|
companyId?: string | null | undefined;
|
|
1234
1234
|
company?: {
|
|
@@ -1279,13 +1279,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1279
1279
|
firstName: string;
|
|
1280
1280
|
}[] | undefined;
|
|
1281
1281
|
} | null | undefined;
|
|
1282
|
+
deletedAt?: string | null | undefined;
|
|
1282
1283
|
canImpersonateUsers?: {
|
|
1283
1284
|
id: string;
|
|
1284
1285
|
lastName: string;
|
|
1285
1286
|
firstName: string;
|
|
1286
1287
|
}[] | undefined;
|
|
1287
1288
|
dialpadUserId?: string | null | undefined;
|
|
1288
|
-
deletedAt?: string | null | undefined;
|
|
1289
1289
|
};
|
|
1290
1290
|
companyId?: string | null | undefined;
|
|
1291
1291
|
company?: {
|
|
@@ -1335,13 +1335,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1335
1335
|
description?: string | null | undefined;
|
|
1336
1336
|
isPrimary?: boolean | undefined;
|
|
1337
1337
|
}[] | undefined;
|
|
1338
|
+
deletedAt?: string | Date | null | undefined;
|
|
1338
1339
|
canImpersonateUsers?: {
|
|
1339
1340
|
id: string;
|
|
1340
1341
|
lastName: string;
|
|
1341
1342
|
firstName: string;
|
|
1342
1343
|
}[] | undefined;
|
|
1343
1344
|
dialpadUserId?: string | null | undefined;
|
|
1344
|
-
deletedAt?: string | Date | null | undefined;
|
|
1345
1345
|
};
|
|
1346
1346
|
companyId?: string | null | undefined;
|
|
1347
1347
|
company?: {
|
|
@@ -1370,17 +1370,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1370
1370
|
path: z.ZodString;
|
|
1371
1371
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1372
1372
|
}, "strip", z.ZodTypeAny, {
|
|
1373
|
-
message: string;
|
|
1374
1373
|
code: string;
|
|
1375
1374
|
path: string;
|
|
1375
|
+
message: string;
|
|
1376
1376
|
statusCode: number;
|
|
1377
1377
|
timestamp: string;
|
|
1378
1378
|
details?: unknown;
|
|
1379
1379
|
correlationId?: string | undefined;
|
|
1380
1380
|
}, {
|
|
1381
|
-
message: string;
|
|
1382
1381
|
code: string;
|
|
1383
1382
|
path: string;
|
|
1383
|
+
message: string;
|
|
1384
1384
|
statusCode: number;
|
|
1385
1385
|
timestamp: string;
|
|
1386
1386
|
details?: unknown;
|
|
@@ -1403,7 +1403,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
1403
1403
|
method: "GET";
|
|
1404
1404
|
path: "/v2/agent-lead-distribution/:id";
|
|
1405
1405
|
responses: {
|
|
1406
|
-
|
|
1406
|
+
401: z.ZodObject<{
|
|
1407
1407
|
statusCode: z.ZodNumber;
|
|
1408
1408
|
message: z.ZodString;
|
|
1409
1409
|
code: z.ZodString;
|
|
@@ -1412,23 +1412,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
1412
1412
|
path: z.ZodString;
|
|
1413
1413
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
message: string;
|
|
1416
1415
|
code: string;
|
|
1417
1416
|
path: string;
|
|
1417
|
+
message: string;
|
|
1418
1418
|
statusCode: number;
|
|
1419
1419
|
timestamp: string;
|
|
1420
1420
|
details?: unknown;
|
|
1421
1421
|
correlationId?: string | undefined;
|
|
1422
1422
|
}, {
|
|
1423
|
-
message: string;
|
|
1424
1423
|
code: string;
|
|
1425
1424
|
path: string;
|
|
1425
|
+
message: string;
|
|
1426
1426
|
statusCode: number;
|
|
1427
1427
|
timestamp: string;
|
|
1428
1428
|
details?: unknown;
|
|
1429
1429
|
correlationId?: string | undefined;
|
|
1430
1430
|
}>;
|
|
1431
|
-
|
|
1431
|
+
400: z.ZodObject<{
|
|
1432
1432
|
statusCode: z.ZodNumber;
|
|
1433
1433
|
message: z.ZodString;
|
|
1434
1434
|
code: z.ZodString;
|
|
@@ -1437,17 +1437,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1437
1437
|
path: z.ZodString;
|
|
1438
1438
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1439
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1440
|
-
message: string;
|
|
1441
1440
|
code: string;
|
|
1442
1441
|
path: string;
|
|
1442
|
+
message: string;
|
|
1443
1443
|
statusCode: number;
|
|
1444
1444
|
timestamp: string;
|
|
1445
1445
|
details?: unknown;
|
|
1446
1446
|
correlationId?: string | undefined;
|
|
1447
1447
|
}, {
|
|
1448
|
-
message: string;
|
|
1449
1448
|
code: string;
|
|
1450
1449
|
path: string;
|
|
1450
|
+
message: string;
|
|
1451
1451
|
statusCode: number;
|
|
1452
1452
|
timestamp: string;
|
|
1453
1453
|
details?: unknown;
|
|
@@ -1462,17 +1462,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1462
1462
|
path: z.ZodString;
|
|
1463
1463
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1464
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1465
|
-
message: string;
|
|
1466
1465
|
code: string;
|
|
1467
1466
|
path: string;
|
|
1467
|
+
message: string;
|
|
1468
1468
|
statusCode: number;
|
|
1469
1469
|
timestamp: string;
|
|
1470
1470
|
details?: unknown;
|
|
1471
1471
|
correlationId?: string | undefined;
|
|
1472
1472
|
}, {
|
|
1473
|
-
message: string;
|
|
1474
1473
|
code: string;
|
|
1475
1474
|
path: string;
|
|
1475
|
+
message: string;
|
|
1476
1476
|
statusCode: number;
|
|
1477
1477
|
timestamp: string;
|
|
1478
1478
|
details?: unknown;
|
|
@@ -1600,13 +1600,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1600
1600
|
firstName: string;
|
|
1601
1601
|
}[] | undefined;
|
|
1602
1602
|
} | null | undefined;
|
|
1603
|
+
deletedAt?: string | null | undefined;
|
|
1603
1604
|
canImpersonateUsers?: {
|
|
1604
1605
|
id: string;
|
|
1605
1606
|
lastName: string;
|
|
1606
1607
|
firstName: string;
|
|
1607
1608
|
}[] | undefined;
|
|
1608
1609
|
dialpadUserId?: string | null | undefined;
|
|
1609
|
-
deletedAt?: string | null | undefined;
|
|
1610
1610
|
}, {
|
|
1611
1611
|
email: string;
|
|
1612
1612
|
createdAt: string | Date;
|
|
@@ -1632,13 +1632,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1632
1632
|
description?: string | null | undefined;
|
|
1633
1633
|
isPrimary?: boolean | undefined;
|
|
1634
1634
|
}[] | undefined;
|
|
1635
|
+
deletedAt?: string | Date | null | undefined;
|
|
1635
1636
|
canImpersonateUsers?: {
|
|
1636
1637
|
id: string;
|
|
1637
1638
|
lastName: string;
|
|
1638
1639
|
firstName: string;
|
|
1639
1640
|
}[] | undefined;
|
|
1640
1641
|
dialpadUserId?: string | null | undefined;
|
|
1641
|
-
deletedAt?: string | Date | null | undefined;
|
|
1642
1642
|
}>;
|
|
1643
1643
|
leadDistributionConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<{
|
|
1644
1644
|
id: z.ZodString;
|
|
@@ -1686,13 +1686,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1686
1686
|
firstName: string;
|
|
1687
1687
|
}[] | undefined;
|
|
1688
1688
|
} | null | undefined;
|
|
1689
|
+
deletedAt?: string | null | undefined;
|
|
1689
1690
|
canImpersonateUsers?: {
|
|
1690
1691
|
id: string;
|
|
1691
1692
|
lastName: string;
|
|
1692
1693
|
firstName: string;
|
|
1693
1694
|
}[] | undefined;
|
|
1694
1695
|
dialpadUserId?: string | null | undefined;
|
|
1695
|
-
deletedAt?: string | null | undefined;
|
|
1696
1696
|
};
|
|
1697
1697
|
companyId?: string | null | undefined;
|
|
1698
1698
|
company?: {
|
|
@@ -1735,13 +1735,13 @@ export declare const agentLeadDistributionContract: {
|
|
|
1735
1735
|
description?: string | null | undefined;
|
|
1736
1736
|
isPrimary?: boolean | undefined;
|
|
1737
1737
|
}[] | undefined;
|
|
1738
|
+
deletedAt?: string | Date | null | undefined;
|
|
1738
1739
|
canImpersonateUsers?: {
|
|
1739
1740
|
id: string;
|
|
1740
1741
|
lastName: string;
|
|
1741
1742
|
firstName: string;
|
|
1742
1743
|
}[] | undefined;
|
|
1743
1744
|
dialpadUserId?: string | null | undefined;
|
|
1744
|
-
deletedAt?: string | Date | null | undefined;
|
|
1745
1745
|
};
|
|
1746
1746
|
companyId?: string | null | undefined;
|
|
1747
1747
|
company?: {
|
|
@@ -1765,17 +1765,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1765
1765
|
path: z.ZodString;
|
|
1766
1766
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1767
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1768
|
-
message: string;
|
|
1769
1768
|
code: string;
|
|
1770
1769
|
path: string;
|
|
1770
|
+
message: string;
|
|
1771
1771
|
statusCode: number;
|
|
1772
1772
|
timestamp: string;
|
|
1773
1773
|
details?: unknown;
|
|
1774
1774
|
correlationId?: string | undefined;
|
|
1775
1775
|
}, {
|
|
1776
|
-
message: string;
|
|
1777
1776
|
code: string;
|
|
1778
1777
|
path: string;
|
|
1778
|
+
message: string;
|
|
1779
1779
|
statusCode: number;
|
|
1780
1780
|
timestamp: string;
|
|
1781
1781
|
details?: unknown;
|
|
@@ -1790,17 +1790,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1790
1790
|
path: z.ZodString;
|
|
1791
1791
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1792
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
message: string;
|
|
1794
1793
|
code: string;
|
|
1795
1794
|
path: string;
|
|
1795
|
+
message: string;
|
|
1796
1796
|
statusCode: number;
|
|
1797
1797
|
timestamp: string;
|
|
1798
1798
|
details?: unknown;
|
|
1799
1799
|
correlationId?: string | undefined;
|
|
1800
1800
|
}, {
|
|
1801
|
-
message: string;
|
|
1802
1801
|
code: string;
|
|
1803
1802
|
path: string;
|
|
1803
|
+
message: string;
|
|
1804
1804
|
statusCode: number;
|
|
1805
1805
|
timestamp: string;
|
|
1806
1806
|
details?: unknown;
|
|
@@ -1832,7 +1832,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
1832
1832
|
}>;
|
|
1833
1833
|
path: "/v2/agent-lead-distribution";
|
|
1834
1834
|
responses: {
|
|
1835
|
-
|
|
1835
|
+
401: z.ZodObject<{
|
|
1836
1836
|
statusCode: z.ZodNumber;
|
|
1837
1837
|
message: z.ZodString;
|
|
1838
1838
|
code: z.ZodString;
|
|
@@ -1841,23 +1841,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
1841
1841
|
path: z.ZodString;
|
|
1842
1842
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1843
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1844
|
-
message: string;
|
|
1845
1844
|
code: string;
|
|
1846
1845
|
path: string;
|
|
1846
|
+
message: string;
|
|
1847
1847
|
statusCode: number;
|
|
1848
1848
|
timestamp: string;
|
|
1849
1849
|
details?: unknown;
|
|
1850
1850
|
correlationId?: string | undefined;
|
|
1851
1851
|
}, {
|
|
1852
|
-
message: string;
|
|
1853
1852
|
code: string;
|
|
1854
1853
|
path: string;
|
|
1854
|
+
message: string;
|
|
1855
1855
|
statusCode: number;
|
|
1856
1856
|
timestamp: string;
|
|
1857
1857
|
details?: unknown;
|
|
1858
1858
|
correlationId?: string | undefined;
|
|
1859
1859
|
}>;
|
|
1860
|
-
|
|
1860
|
+
400: z.ZodObject<{
|
|
1861
1861
|
statusCode: z.ZodNumber;
|
|
1862
1862
|
message: z.ZodString;
|
|
1863
1863
|
code: z.ZodString;
|
|
@@ -1866,17 +1866,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1866
1866
|
path: z.ZodString;
|
|
1867
1867
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1868
1868
|
}, "strip", z.ZodTypeAny, {
|
|
1869
|
-
message: string;
|
|
1870
1869
|
code: string;
|
|
1871
1870
|
path: string;
|
|
1871
|
+
message: string;
|
|
1872
1872
|
statusCode: number;
|
|
1873
1873
|
timestamp: string;
|
|
1874
1874
|
details?: unknown;
|
|
1875
1875
|
correlationId?: string | undefined;
|
|
1876
1876
|
}, {
|
|
1877
|
-
message: string;
|
|
1878
1877
|
code: string;
|
|
1879
1878
|
path: string;
|
|
1879
|
+
message: string;
|
|
1880
1880
|
statusCode: number;
|
|
1881
1881
|
timestamp: string;
|
|
1882
1882
|
details?: unknown;
|
|
@@ -1891,17 +1891,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1891
1891
|
path: z.ZodString;
|
|
1892
1892
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1893
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
message: string;
|
|
1895
1894
|
code: string;
|
|
1896
1895
|
path: string;
|
|
1896
|
+
message: string;
|
|
1897
1897
|
statusCode: number;
|
|
1898
1898
|
timestamp: string;
|
|
1899
1899
|
details?: unknown;
|
|
1900
1900
|
correlationId?: string | undefined;
|
|
1901
1901
|
}, {
|
|
1902
|
-
message: string;
|
|
1903
1902
|
code: string;
|
|
1904
1903
|
path: string;
|
|
1904
|
+
message: string;
|
|
1905
1905
|
statusCode: number;
|
|
1906
1906
|
timestamp: string;
|
|
1907
1907
|
details?: unknown;
|
|
@@ -1960,17 +1960,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
1960
1960
|
path: z.ZodString;
|
|
1961
1961
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1962
1962
|
}, "strip", z.ZodTypeAny, {
|
|
1963
|
-
message: string;
|
|
1964
1963
|
code: string;
|
|
1965
1964
|
path: string;
|
|
1965
|
+
message: string;
|
|
1966
1966
|
statusCode: number;
|
|
1967
1967
|
timestamp: string;
|
|
1968
1968
|
details?: unknown;
|
|
1969
1969
|
correlationId?: string | undefined;
|
|
1970
1970
|
}, {
|
|
1971
|
-
message: string;
|
|
1972
1971
|
code: string;
|
|
1973
1972
|
path: string;
|
|
1973
|
+
message: string;
|
|
1974
1974
|
statusCode: number;
|
|
1975
1975
|
timestamp: string;
|
|
1976
1976
|
details?: unknown;
|
|
@@ -2006,7 +2006,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
2006
2006
|
}>;
|
|
2007
2007
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
2008
2008
|
responses: {
|
|
2009
|
-
|
|
2009
|
+
401: z.ZodObject<{
|
|
2010
2010
|
statusCode: z.ZodNumber;
|
|
2011
2011
|
message: z.ZodString;
|
|
2012
2012
|
code: z.ZodString;
|
|
@@ -2015,23 +2015,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
2015
2015
|
path: z.ZodString;
|
|
2016
2016
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2017
2017
|
}, "strip", z.ZodTypeAny, {
|
|
2018
|
-
message: string;
|
|
2019
2018
|
code: string;
|
|
2020
2019
|
path: string;
|
|
2020
|
+
message: string;
|
|
2021
2021
|
statusCode: number;
|
|
2022
2022
|
timestamp: string;
|
|
2023
2023
|
details?: unknown;
|
|
2024
2024
|
correlationId?: string | undefined;
|
|
2025
2025
|
}, {
|
|
2026
|
-
message: string;
|
|
2027
2026
|
code: string;
|
|
2028
2027
|
path: string;
|
|
2028
|
+
message: string;
|
|
2029
2029
|
statusCode: number;
|
|
2030
2030
|
timestamp: string;
|
|
2031
2031
|
details?: unknown;
|
|
2032
2032
|
correlationId?: string | undefined;
|
|
2033
2033
|
}>;
|
|
2034
|
-
|
|
2034
|
+
400: z.ZodObject<{
|
|
2035
2035
|
statusCode: z.ZodNumber;
|
|
2036
2036
|
message: z.ZodString;
|
|
2037
2037
|
code: z.ZodString;
|
|
@@ -2040,17 +2040,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2040
2040
|
path: z.ZodString;
|
|
2041
2041
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2042
2042
|
}, "strip", z.ZodTypeAny, {
|
|
2043
|
-
message: string;
|
|
2044
2043
|
code: string;
|
|
2045
2044
|
path: string;
|
|
2045
|
+
message: string;
|
|
2046
2046
|
statusCode: number;
|
|
2047
2047
|
timestamp: string;
|
|
2048
2048
|
details?: unknown;
|
|
2049
2049
|
correlationId?: string | undefined;
|
|
2050
2050
|
}, {
|
|
2051
|
-
message: string;
|
|
2052
2051
|
code: string;
|
|
2053
2052
|
path: string;
|
|
2053
|
+
message: string;
|
|
2054
2054
|
statusCode: number;
|
|
2055
2055
|
timestamp: string;
|
|
2056
2056
|
details?: unknown;
|
|
@@ -2065,17 +2065,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2065
2065
|
path: z.ZodString;
|
|
2066
2066
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2067
2067
|
}, "strip", z.ZodTypeAny, {
|
|
2068
|
-
message: string;
|
|
2069
2068
|
code: string;
|
|
2070
2069
|
path: string;
|
|
2070
|
+
message: string;
|
|
2071
2071
|
statusCode: number;
|
|
2072
2072
|
timestamp: string;
|
|
2073
2073
|
details?: unknown;
|
|
2074
2074
|
correlationId?: string | undefined;
|
|
2075
2075
|
}, {
|
|
2076
|
-
message: string;
|
|
2077
2076
|
code: string;
|
|
2078
2077
|
path: string;
|
|
2078
|
+
message: string;
|
|
2079
2079
|
statusCode: number;
|
|
2080
2080
|
timestamp: string;
|
|
2081
2081
|
details?: unknown;
|
|
@@ -2134,17 +2134,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2134
2134
|
path: z.ZodString;
|
|
2135
2135
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2136
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2137
|
-
message: string;
|
|
2138
2137
|
code: string;
|
|
2139
2138
|
path: string;
|
|
2139
|
+
message: string;
|
|
2140
2140
|
statusCode: number;
|
|
2141
2141
|
timestamp: string;
|
|
2142
2142
|
details?: unknown;
|
|
2143
2143
|
correlationId?: string | undefined;
|
|
2144
2144
|
}, {
|
|
2145
|
-
message: string;
|
|
2146
2145
|
code: string;
|
|
2147
2146
|
path: string;
|
|
2147
|
+
message: string;
|
|
2148
2148
|
statusCode: number;
|
|
2149
2149
|
timestamp: string;
|
|
2150
2150
|
details?: unknown;
|
|
@@ -2159,17 +2159,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2159
2159
|
path: z.ZodString;
|
|
2160
2160
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2161
2161
|
}, "strip", z.ZodTypeAny, {
|
|
2162
|
-
message: string;
|
|
2163
2162
|
code: string;
|
|
2164
2163
|
path: string;
|
|
2164
|
+
message: string;
|
|
2165
2165
|
statusCode: number;
|
|
2166
2166
|
timestamp: string;
|
|
2167
2167
|
details?: unknown;
|
|
2168
2168
|
correlationId?: string | undefined;
|
|
2169
2169
|
}, {
|
|
2170
|
-
message: string;
|
|
2171
2170
|
code: string;
|
|
2172
2171
|
path: string;
|
|
2172
|
+
message: string;
|
|
2173
2173
|
statusCode: number;
|
|
2174
2174
|
timestamp: string;
|
|
2175
2175
|
details?: unknown;
|
|
@@ -2193,7 +2193,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
2193
2193
|
body: typeof import("@ts-rest/core").ContractNoBody;
|
|
2194
2194
|
path: "/v2/agent-lead-distribution/:agentId";
|
|
2195
2195
|
responses: {
|
|
2196
|
-
|
|
2196
|
+
401: z.ZodObject<{
|
|
2197
2197
|
statusCode: z.ZodNumber;
|
|
2198
2198
|
message: z.ZodString;
|
|
2199
2199
|
code: z.ZodString;
|
|
@@ -2202,23 +2202,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
2202
2202
|
path: z.ZodString;
|
|
2203
2203
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2204
2204
|
}, "strip", z.ZodTypeAny, {
|
|
2205
|
-
message: string;
|
|
2206
2205
|
code: string;
|
|
2207
2206
|
path: string;
|
|
2207
|
+
message: string;
|
|
2208
2208
|
statusCode: number;
|
|
2209
2209
|
timestamp: string;
|
|
2210
2210
|
details?: unknown;
|
|
2211
2211
|
correlationId?: string | undefined;
|
|
2212
2212
|
}, {
|
|
2213
|
-
message: string;
|
|
2214
2213
|
code: string;
|
|
2215
2214
|
path: string;
|
|
2215
|
+
message: string;
|
|
2216
2216
|
statusCode: number;
|
|
2217
2217
|
timestamp: string;
|
|
2218
2218
|
details?: unknown;
|
|
2219
2219
|
correlationId?: string | undefined;
|
|
2220
2220
|
}>;
|
|
2221
|
-
|
|
2221
|
+
400: z.ZodObject<{
|
|
2222
2222
|
statusCode: z.ZodNumber;
|
|
2223
2223
|
message: z.ZodString;
|
|
2224
2224
|
code: z.ZodString;
|
|
@@ -2227,17 +2227,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2227
2227
|
path: z.ZodString;
|
|
2228
2228
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2229
2229
|
}, "strip", z.ZodTypeAny, {
|
|
2230
|
-
message: string;
|
|
2231
2230
|
code: string;
|
|
2232
2231
|
path: string;
|
|
2232
|
+
message: string;
|
|
2233
2233
|
statusCode: number;
|
|
2234
2234
|
timestamp: string;
|
|
2235
2235
|
details?: unknown;
|
|
2236
2236
|
correlationId?: string | undefined;
|
|
2237
2237
|
}, {
|
|
2238
|
-
message: string;
|
|
2239
2238
|
code: string;
|
|
2240
2239
|
path: string;
|
|
2240
|
+
message: string;
|
|
2241
2241
|
statusCode: number;
|
|
2242
2242
|
timestamp: string;
|
|
2243
2243
|
details?: unknown;
|
|
@@ -2252,17 +2252,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2252
2252
|
path: z.ZodString;
|
|
2253
2253
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2254
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2255
|
-
message: string;
|
|
2256
2255
|
code: string;
|
|
2257
2256
|
path: string;
|
|
2257
|
+
message: string;
|
|
2258
2258
|
statusCode: number;
|
|
2259
2259
|
timestamp: string;
|
|
2260
2260
|
details?: unknown;
|
|
2261
2261
|
correlationId?: string | undefined;
|
|
2262
2262
|
}, {
|
|
2263
|
-
message: string;
|
|
2264
2263
|
code: string;
|
|
2265
2264
|
path: string;
|
|
2265
|
+
message: string;
|
|
2266
2266
|
statusCode: number;
|
|
2267
2267
|
timestamp: string;
|
|
2268
2268
|
details?: unknown;
|
|
@@ -2278,17 +2278,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2278
2278
|
path: z.ZodString;
|
|
2279
2279
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2280
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
message: string;
|
|
2282
2281
|
code: string;
|
|
2283
2282
|
path: string;
|
|
2283
|
+
message: string;
|
|
2284
2284
|
statusCode: number;
|
|
2285
2285
|
timestamp: string;
|
|
2286
2286
|
details?: unknown;
|
|
2287
2287
|
correlationId?: string | undefined;
|
|
2288
2288
|
}, {
|
|
2289
|
-
message: string;
|
|
2290
2289
|
code: string;
|
|
2291
2290
|
path: string;
|
|
2291
|
+
message: string;
|
|
2292
2292
|
statusCode: number;
|
|
2293
2293
|
timestamp: string;
|
|
2294
2294
|
details?: unknown;
|
|
@@ -2303,17 +2303,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2303
2303
|
path: z.ZodString;
|
|
2304
2304
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2305
2305
|
}, "strip", z.ZodTypeAny, {
|
|
2306
|
-
message: string;
|
|
2307
2306
|
code: string;
|
|
2308
2307
|
path: string;
|
|
2308
|
+
message: string;
|
|
2309
2309
|
statusCode: number;
|
|
2310
2310
|
timestamp: string;
|
|
2311
2311
|
details?: unknown;
|
|
2312
2312
|
correlationId?: string | undefined;
|
|
2313
2313
|
}, {
|
|
2314
|
-
message: string;
|
|
2315
2314
|
code: string;
|
|
2316
2315
|
path: string;
|
|
2316
|
+
message: string;
|
|
2317
2317
|
statusCode: number;
|
|
2318
2318
|
timestamp: string;
|
|
2319
2319
|
details?: unknown;
|
|
@@ -2373,7 +2373,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
2373
2373
|
}>;
|
|
2374
2374
|
path: "/v2/agent-lead-distribution/batch";
|
|
2375
2375
|
responses: {
|
|
2376
|
-
|
|
2376
|
+
401: z.ZodObject<{
|
|
2377
2377
|
statusCode: z.ZodNumber;
|
|
2378
2378
|
message: z.ZodString;
|
|
2379
2379
|
code: z.ZodString;
|
|
@@ -2382,23 +2382,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
2382
2382
|
path: z.ZodString;
|
|
2383
2383
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2384
2384
|
}, "strip", z.ZodTypeAny, {
|
|
2385
|
-
message: string;
|
|
2386
2385
|
code: string;
|
|
2387
2386
|
path: string;
|
|
2387
|
+
message: string;
|
|
2388
2388
|
statusCode: number;
|
|
2389
2389
|
timestamp: string;
|
|
2390
2390
|
details?: unknown;
|
|
2391
2391
|
correlationId?: string | undefined;
|
|
2392
2392
|
}, {
|
|
2393
|
-
message: string;
|
|
2394
2393
|
code: string;
|
|
2395
2394
|
path: string;
|
|
2395
|
+
message: string;
|
|
2396
2396
|
statusCode: number;
|
|
2397
2397
|
timestamp: string;
|
|
2398
2398
|
details?: unknown;
|
|
2399
2399
|
correlationId?: string | undefined;
|
|
2400
2400
|
}>;
|
|
2401
|
-
|
|
2401
|
+
400: z.ZodObject<{
|
|
2402
2402
|
statusCode: z.ZodNumber;
|
|
2403
2403
|
message: z.ZodString;
|
|
2404
2404
|
code: z.ZodString;
|
|
@@ -2407,17 +2407,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2407
2407
|
path: z.ZodString;
|
|
2408
2408
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2409
2409
|
}, "strip", z.ZodTypeAny, {
|
|
2410
|
-
message: string;
|
|
2411
2410
|
code: string;
|
|
2412
2411
|
path: string;
|
|
2412
|
+
message: string;
|
|
2413
2413
|
statusCode: number;
|
|
2414
2414
|
timestamp: string;
|
|
2415
2415
|
details?: unknown;
|
|
2416
2416
|
correlationId?: string | undefined;
|
|
2417
2417
|
}, {
|
|
2418
|
-
message: string;
|
|
2419
2418
|
code: string;
|
|
2420
2419
|
path: string;
|
|
2420
|
+
message: string;
|
|
2421
2421
|
statusCode: number;
|
|
2422
2422
|
timestamp: string;
|
|
2423
2423
|
details?: unknown;
|
|
@@ -2432,17 +2432,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2432
2432
|
path: z.ZodString;
|
|
2433
2433
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2434
2434
|
}, "strip", z.ZodTypeAny, {
|
|
2435
|
-
message: string;
|
|
2436
2435
|
code: string;
|
|
2437
2436
|
path: string;
|
|
2437
|
+
message: string;
|
|
2438
2438
|
statusCode: number;
|
|
2439
2439
|
timestamp: string;
|
|
2440
2440
|
details?: unknown;
|
|
2441
2441
|
correlationId?: string | undefined;
|
|
2442
2442
|
}, {
|
|
2443
|
-
message: string;
|
|
2444
2443
|
code: string;
|
|
2445
2444
|
path: string;
|
|
2445
|
+
message: string;
|
|
2446
2446
|
statusCode: number;
|
|
2447
2447
|
timestamp: string;
|
|
2448
2448
|
details?: unknown;
|
|
@@ -2464,17 +2464,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2464
2464
|
path: z.ZodString;
|
|
2465
2465
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2466
2466
|
}, "strip", z.ZodTypeAny, {
|
|
2467
|
-
message: string;
|
|
2468
2467
|
code: string;
|
|
2469
2468
|
path: string;
|
|
2469
|
+
message: string;
|
|
2470
2470
|
statusCode: number;
|
|
2471
2471
|
timestamp: string;
|
|
2472
2472
|
details?: unknown;
|
|
2473
2473
|
correlationId?: string | undefined;
|
|
2474
2474
|
}, {
|
|
2475
|
-
message: string;
|
|
2476
2475
|
code: string;
|
|
2477
2476
|
path: string;
|
|
2477
|
+
message: string;
|
|
2478
2478
|
statusCode: number;
|
|
2479
2479
|
timestamp: string;
|
|
2480
2480
|
details?: unknown;
|
|
@@ -2489,17 +2489,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2489
2489
|
path: z.ZodString;
|
|
2490
2490
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2491
2491
|
}, "strip", z.ZodTypeAny, {
|
|
2492
|
-
message: string;
|
|
2493
2492
|
code: string;
|
|
2494
2493
|
path: string;
|
|
2494
|
+
message: string;
|
|
2495
2495
|
statusCode: number;
|
|
2496
2496
|
timestamp: string;
|
|
2497
2497
|
details?: unknown;
|
|
2498
2498
|
correlationId?: string | undefined;
|
|
2499
2499
|
}, {
|
|
2500
|
-
message: string;
|
|
2501
2500
|
code: string;
|
|
2502
2501
|
path: string;
|
|
2502
|
+
message: string;
|
|
2503
2503
|
statusCode: number;
|
|
2504
2504
|
timestamp: string;
|
|
2505
2505
|
details?: unknown;
|
|
@@ -2522,7 +2522,7 @@ export declare const agentLeadDistributionContract: {
|
|
|
2522
2522
|
}>;
|
|
2523
2523
|
path: "/v2/agent-lead-distribution/batch";
|
|
2524
2524
|
responses: {
|
|
2525
|
-
|
|
2525
|
+
401: z.ZodObject<{
|
|
2526
2526
|
statusCode: z.ZodNumber;
|
|
2527
2527
|
message: z.ZodString;
|
|
2528
2528
|
code: z.ZodString;
|
|
@@ -2531,23 +2531,23 @@ export declare const agentLeadDistributionContract: {
|
|
|
2531
2531
|
path: z.ZodString;
|
|
2532
2532
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2533
2533
|
}, "strip", z.ZodTypeAny, {
|
|
2534
|
-
message: string;
|
|
2535
2534
|
code: string;
|
|
2536
2535
|
path: string;
|
|
2536
|
+
message: string;
|
|
2537
2537
|
statusCode: number;
|
|
2538
2538
|
timestamp: string;
|
|
2539
2539
|
details?: unknown;
|
|
2540
2540
|
correlationId?: string | undefined;
|
|
2541
2541
|
}, {
|
|
2542
|
-
message: string;
|
|
2543
2542
|
code: string;
|
|
2544
2543
|
path: string;
|
|
2544
|
+
message: string;
|
|
2545
2545
|
statusCode: number;
|
|
2546
2546
|
timestamp: string;
|
|
2547
2547
|
details?: unknown;
|
|
2548
2548
|
correlationId?: string | undefined;
|
|
2549
2549
|
}>;
|
|
2550
|
-
|
|
2550
|
+
400: z.ZodObject<{
|
|
2551
2551
|
statusCode: z.ZodNumber;
|
|
2552
2552
|
message: z.ZodString;
|
|
2553
2553
|
code: z.ZodString;
|
|
@@ -2556,17 +2556,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2556
2556
|
path: z.ZodString;
|
|
2557
2557
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2558
2558
|
}, "strip", z.ZodTypeAny, {
|
|
2559
|
-
message: string;
|
|
2560
2559
|
code: string;
|
|
2561
2560
|
path: string;
|
|
2561
|
+
message: string;
|
|
2562
2562
|
statusCode: number;
|
|
2563
2563
|
timestamp: string;
|
|
2564
2564
|
details?: unknown;
|
|
2565
2565
|
correlationId?: string | undefined;
|
|
2566
2566
|
}, {
|
|
2567
|
-
message: string;
|
|
2568
2567
|
code: string;
|
|
2569
2568
|
path: string;
|
|
2569
|
+
message: string;
|
|
2570
2570
|
statusCode: number;
|
|
2571
2571
|
timestamp: string;
|
|
2572
2572
|
details?: unknown;
|
|
@@ -2581,17 +2581,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2581
2581
|
path: z.ZodString;
|
|
2582
2582
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2583
2583
|
}, "strip", z.ZodTypeAny, {
|
|
2584
|
-
message: string;
|
|
2585
2584
|
code: string;
|
|
2586
2585
|
path: string;
|
|
2586
|
+
message: string;
|
|
2587
2587
|
statusCode: number;
|
|
2588
2588
|
timestamp: string;
|
|
2589
2589
|
details?: unknown;
|
|
2590
2590
|
correlationId?: string | undefined;
|
|
2591
2591
|
}, {
|
|
2592
|
-
message: string;
|
|
2593
2592
|
code: string;
|
|
2594
2593
|
path: string;
|
|
2594
|
+
message: string;
|
|
2595
2595
|
statusCode: number;
|
|
2596
2596
|
timestamp: string;
|
|
2597
2597
|
details?: unknown;
|
|
@@ -2613,17 +2613,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2613
2613
|
path: z.ZodString;
|
|
2614
2614
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2615
2615
|
}, "strip", z.ZodTypeAny, {
|
|
2616
|
-
message: string;
|
|
2617
2616
|
code: string;
|
|
2618
2617
|
path: string;
|
|
2618
|
+
message: string;
|
|
2619
2619
|
statusCode: number;
|
|
2620
2620
|
timestamp: string;
|
|
2621
2621
|
details?: unknown;
|
|
2622
2622
|
correlationId?: string | undefined;
|
|
2623
2623
|
}, {
|
|
2624
|
-
message: string;
|
|
2625
2624
|
code: string;
|
|
2626
2625
|
path: string;
|
|
2626
|
+
message: string;
|
|
2627
2627
|
statusCode: number;
|
|
2628
2628
|
timestamp: string;
|
|
2629
2629
|
details?: unknown;
|
|
@@ -2638,17 +2638,17 @@ export declare const agentLeadDistributionContract: {
|
|
|
2638
2638
|
path: z.ZodString;
|
|
2639
2639
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2640
2640
|
}, "strip", z.ZodTypeAny, {
|
|
2641
|
-
message: string;
|
|
2642
2641
|
code: string;
|
|
2643
2642
|
path: string;
|
|
2643
|
+
message: string;
|
|
2644
2644
|
statusCode: number;
|
|
2645
2645
|
timestamp: string;
|
|
2646
2646
|
details?: unknown;
|
|
2647
2647
|
correlationId?: string | undefined;
|
|
2648
2648
|
}, {
|
|
2649
|
-
message: string;
|
|
2650
2649
|
code: string;
|
|
2651
2650
|
path: string;
|
|
2651
|
+
message: string;
|
|
2652
2652
|
statusCode: number;
|
|
2653
2653
|
timestamp: string;
|
|
2654
2654
|
details?: unknown;
|