@dakkitor/api-contracts 1.7.1 → 1.9.1

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.
Files changed (218) hide show
  1. package/dist/abilities/abilities.contract.d.ts +1 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +1 -0
  4. package/dist/abilities/abilities.contract.spec.js +50 -19
  5. package/dist/abilities/interconnection.abilities.json +6 -0
  6. package/dist/abilities/outreach.abilities.json +0 -7
  7. package/dist/abilities/second-agent.abilities.json +18 -91
  8. package/dist/abilities/team-leads.json +1 -0
  9. package/dist/abilities/worker-curator.abilities.json +2 -0
  10. package/dist/actives/actives.contract.d.ts +7083 -6905
  11. package/dist/actives/actives.contract.d.ts.map +1 -1
  12. package/dist/agent-client-links/agent-client-links.contract.d.ts +1645 -1543
  13. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  14. package/dist/auth/auth.contract.d.ts +73 -67
  15. package/dist/auth/auth.contract.d.ts.map +1 -1
  16. package/dist/auth/auth.contract.js +1 -0
  17. package/dist/bookings/backdate-guard.spec.d.ts +2 -0
  18. package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
  19. package/dist/bookings/backdate-guard.spec.js +80 -0
  20. package/dist/bookings/bookings.contract.d.ts +11169 -10843
  21. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  22. package/dist/bookings/bookings.contract.js +26 -2
  23. package/dist/call-history/call-history.contract.d.ts +913 -876
  24. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  25. package/dist/calls-feed/calls-feed.contract.d.ts +126 -119
  26. package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
  27. package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
  28. package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
  29. package/dist/candidate-calling/candidate-calling.contract.js +206 -0
  30. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
  31. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
  32. package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
  33. package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
  34. package/dist/clients/clients.contract.d.ts +110 -110
  35. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3052 -2948
  36. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  37. package/dist/collaborations/collaborations.contract.d.ts +2640 -2543
  38. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  39. package/dist/common/common-schemas.d.ts +13 -13
  40. package/dist/common/common-schemas.d.ts.map +1 -1
  41. package/dist/common/common-schemas.js +1 -0
  42. package/dist/common/nino.d.ts +8 -0
  43. package/dist/common/nino.d.ts.map +1 -0
  44. package/dist/common/nino.js +26 -0
  45. package/dist/common/nino.spec.d.ts +2 -0
  46. package/dist/common/nino.spec.d.ts.map +1 -0
  47. package/dist/common/nino.spec.js +32 -0
  48. package/dist/companies/companies.contract.d.ts +30 -30
  49. package/dist/crews/crews.contract.d.ts +300 -300
  50. package/dist/cron-executions/cron-executions.contract.d.ts +26 -13
  51. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
  52. package/dist/cron-executions/cron-executions.contract.js +2 -0
  53. package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
  54. package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
  55. package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
  56. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
  57. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
  58. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
  59. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3483 -2798
  60. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  61. package/dist/curated-worker-leads/candidate-coordination.contract.js +59 -10
  62. package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
  63. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +429 -386
  64. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
  65. package/dist/curated-worker-leads/contact-history.spec.js +56 -0
  66. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
  67. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
  68. package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
  69. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
  70. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
  71. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
  72. package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
  73. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5821 -5144
  74. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  75. package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
  76. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +96 -96
  77. package/dist/curated-workers/curated-workers.contract.d.ts +1518 -1307
  78. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  79. package/dist/curated-workers/curated-workers.contract.js +37 -6
  80. package/dist/dashboards/dashboard-widgets.contract.d.ts +425 -455
  81. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  82. package/dist/dashboards/dashboard-widgets.contract.js +1 -11
  83. package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
  84. package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
  85. package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
  86. package/dist/dashboards/dashboard.contract.d.ts +16 -16
  87. package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
  88. package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
  89. package/dist/document-intake/document-intake.automation.spec.js +469 -0
  90. package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
  91. package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
  92. package/dist/document-intake/document-intake.card-side.spec.js +51 -0
  93. package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
  94. package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
  95. package/dist/document-intake/document-intake.contract.js +219 -5
  96. package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
  97. package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
  98. package/dist/document-intake/document-intake.contract.spec.js +37 -0
  99. package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
  100. package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
  101. package/dist/document-intake/document-intake.nino.spec.js +42 -0
  102. package/dist/export-jobs/export-jobs.contract.d.ts +670 -670
  103. package/dist/exports-events/exports-events.schemas.d.ts +4 -4
  104. package/dist/files/files.contract.d.ts +36 -36
  105. package/dist/index.d.ts +21 -9
  106. package/dist/index.d.ts.map +1 -1
  107. package/dist/index.js +21 -9
  108. package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
  109. package/dist/jobs/jobs.contract.d.ts +8714 -8456
  110. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  111. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
  112. package/dist/lead-assignments/lead-assignments.contract.d.ts +1290 -1219
  113. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  114. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +330 -306
  115. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  116. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
  117. package/dist/leads/leads.contract.d.ts +245 -245
  118. package/dist/locations/locations.contract.d.ts +46 -46
  119. package/dist/notifications/notifications.contract.d.ts +85 -85
  120. package/dist/offices/offices.contract.d.ts +24 -24
  121. package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
  122. package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
  123. package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
  124. package/dist/outreach/lab-outreach.contract.d.ts +48 -48
  125. package/dist/outreach/outreach-requests.contract.d.ts +272 -272
  126. package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
  127. package/dist/outreach/outreach.contract.d.ts +583 -162
  128. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  129. package/dist/outreach/outreach.contract.js +50 -1
  130. package/dist/outreach/outreach.schemas.d.ts +2 -2
  131. package/dist/outreach/relay-hub-outreach.contract.d.ts +1334 -0
  132. package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
  133. package/dist/outreach/relay-hub-outreach.contract.js +113 -0
  134. package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
  135. package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
  136. package/dist/outreach/relay-hub-outreach.contract.spec.js +145 -0
  137. package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
  138. package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
  139. package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
  140. package/dist/own-research/check-phone-response.spec.d.ts +2 -0
  141. package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
  142. package/dist/own-research/check-phone-response.spec.js +54 -0
  143. package/dist/own-research/own-research.contract.d.ts +1152 -1067
  144. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  145. package/dist/own-research/own-research.contract.js +6 -1
  146. package/dist/proofs/proofs.contract.d.ts +196 -196
  147. package/dist/proofs/proofs.dtos.d.ts +104 -104
  148. package/dist/qualifications/qualifications.contract.d.ts +22 -22
  149. package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
  150. package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
  151. package/dist/realtime/realtime-telemetry.contract.js +81 -0
  152. package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
  153. package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
  154. package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
  155. package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
  156. package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
  157. package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
  158. package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
  159. package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
  160. package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
  161. package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
  162. package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
  163. package/dist/relay-pods/relay-hub.contract.js +140 -0
  164. package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
  165. package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
  166. package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
  167. package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
  168. package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
  169. package/dist/relay-pods/relay-hub.schemas.js +158 -0
  170. package/dist/relay-pods/relay-lab-fleet.contract.d.ts +81 -81
  171. package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
  172. package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
  173. package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
  174. package/dist/relay-pods/relay-pod-members.contract.js +73 -0
  175. package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
  176. package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
  177. package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
  178. package/dist/shared/summary-schemas.d.ts +10 -10
  179. package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
  180. package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
  181. package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
  182. package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
  183. package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
  184. package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
  185. package/dist/sheets-sync/sheets-sync.contract.js +156 -34
  186. package/dist/telegram/telegram.contract.d.ts +12 -12
  187. package/dist/trades/trades.contract.d.ts +16 -16
  188. package/dist/user-access-grants/user-access-grants.contract.d.ts +383 -383
  189. package/dist/users/__tests__/assignable-roles.spec.js +1 -1
  190. package/dist/users/users.contract.d.ts +462 -431
  191. package/dist/users/users.contract.d.ts.map +1 -1
  192. package/dist/users/users.contract.js +19 -8
  193. package/dist/users/users.contract.spec.js +54 -0
  194. package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
  195. package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
  196. package/dist/voice-screener/voice-screener.contract.js +89 -0
  197. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
  198. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
  199. package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
  200. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
  201. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +151 -151
  202. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
  203. package/dist/workers/do-not-contact.contract.d.ts +4 -4
  204. package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
  205. package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
  206. package/dist/workers/qualification-back-proof.spec.js +39 -0
  207. package/dist/workers/workers.contract.d.ts +3416 -3178
  208. package/dist/workers/workers.contract.d.ts.map +1 -1
  209. package/dist/workers/workers.contract.js +17 -0
  210. package/package.json +1 -1
  211. package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
  212. package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
  213. package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
  214. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
  215. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
  216. package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
  217. package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
  218. package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
@@ -36,36 +36,36 @@ export declare const LeadSchema: z.ZodObject<{
36
36
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
37
37
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
40
- id: string;
41
- phoneNumber: string;
42
39
  name: string;
43
40
  createdAt: string;
44
41
  updatedAt: string;
42
+ id: string;
43
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
44
+ phoneNumber: string;
45
45
  source: string;
46
- blacklistReason?: string | null | undefined;
47
46
  lastCalledAt?: string | null | undefined;
48
- qualityScore?: number | null | undefined;
49
- conversionRate?: number | null | undefined;
50
- totalCalls?: number | null | undefined;
51
- lastCallNotes?: string | null | undefined;
52
47
  cooldownUntil?: string | null | undefined;
48
+ blacklistReason?: string | null | undefined;
49
+ lastCallNotes?: string | null | undefined;
50
+ totalCalls?: number | null | undefined;
51
+ conversionRate?: number | null | undefined;
52
+ qualityScore?: number | null | undefined;
53
53
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
54
54
  }, {
55
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
56
- id: string;
57
- phoneNumber: string;
58
55
  name: string;
59
56
  createdAt: string | Date;
60
57
  updatedAt: string | Date;
58
+ id: string;
59
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
60
+ phoneNumber: string;
61
61
  source: string;
62
- blacklistReason?: string | null | undefined;
63
62
  lastCalledAt?: string | Date | null | undefined;
64
- qualityScore?: number | null | undefined;
65
- conversionRate?: number | null | undefined;
66
- totalCalls?: number | null | undefined;
67
- lastCallNotes?: string | null | undefined;
68
63
  cooldownUntil?: string | Date | null | undefined;
64
+ blacklistReason?: string | null | undefined;
65
+ lastCallNotes?: string | null | undefined;
66
+ totalCalls?: number | null | undefined;
67
+ conversionRate?: number | null | undefined;
68
+ qualityScore?: number | null | undefined;
69
69
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
70
70
  }>;
71
71
  /**
@@ -79,31 +79,31 @@ export declare const CreateLeadSchema: z.ZodEffects<z.ZodObject<{
79
79
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
80
80
  source: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
- phoneNumber: string;
83
82
  name: string;
83
+ phoneNumber: string;
84
84
  source: string;
85
85
  isBlacklisted: boolean;
86
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
86
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
87
87
  blacklistReason?: string | null | undefined;
88
88
  }, {
89
- phoneNumber: string;
90
89
  name: string;
90
+ phoneNumber: string;
91
91
  source: string;
92
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
92
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
93
93
  blacklistReason?: string | null | undefined;
94
94
  isBlacklisted?: boolean | undefined;
95
95
  }>, {
96
- phoneNumber: string;
97
96
  name: string;
97
+ phoneNumber: string;
98
98
  source: string;
99
99
  isBlacklisted: boolean;
100
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
100
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
101
101
  blacklistReason?: string | null | undefined;
102
102
  }, {
103
- phoneNumber: string;
104
103
  name: string;
104
+ phoneNumber: string;
105
105
  source: string;
106
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
106
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
107
107
  blacklistReason?: string | null | undefined;
108
108
  isBlacklisted?: boolean | undefined;
109
109
  }>;
@@ -117,27 +117,27 @@ export declare const UpdateLeadSchema: z.ZodEffects<z.ZodObject<{
117
117
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
118
  source: z.ZodOptional<z.ZodString>;
119
119
  }, "strip", z.ZodTypeAny, {
120
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
121
- phoneNumber?: string | undefined;
122
120
  name?: string | undefined;
121
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
122
+ phoneNumber?: string | undefined;
123
123
  blacklistReason?: string | null | undefined;
124
124
  source?: string | undefined;
125
125
  }, {
126
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
127
- phoneNumber?: string | undefined;
128
126
  name?: string | undefined;
127
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
128
+ phoneNumber?: string | undefined;
129
129
  blacklistReason?: string | null | undefined;
130
130
  source?: string | undefined;
131
131
  }>, {
132
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
133
- phoneNumber?: string | undefined;
134
132
  name?: string | undefined;
133
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
134
+ phoneNumber?: string | undefined;
135
135
  blacklistReason?: string | null | undefined;
136
136
  source?: string | undefined;
137
137
  }, {
138
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
139
- phoneNumber?: string | undefined;
140
138
  name?: string | undefined;
139
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
140
+ phoneNumber?: string | undefined;
141
141
  blacklistReason?: string | null | undefined;
142
142
  source?: string | undefined;
143
143
  }>;
@@ -171,48 +171,48 @@ export declare const FilterLeadSchema: z.ZodObject<{
171
171
  field: z.ZodEnum<["name", "phoneNumber", "status", "source", "lastCalledAt", "qualityScore", "conversionRate", "totalCalls", "createdAt", "updatedAt"]>;
172
172
  order: z.ZodEnum<["ASC", "DESC"]>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
174
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
175
175
  order: "ASC" | "DESC";
176
176
  }, {
177
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
177
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
178
178
  order: "ASC" | "DESC";
179
179
  }>, "many">>>;
180
180
  }, "strip", z.ZodTypeAny, {
181
- limit: number;
182
181
  page: number;
182
+ limit: number;
183
+ name?: string | null | undefined;
183
184
  sort?: {
184
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
185
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
185
186
  order: "ASC" | "DESC";
186
187
  }[] | null | undefined;
187
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | null | undefined;
188
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
188
189
  phoneNumber?: string | null | undefined;
189
- name?: string | null | undefined;
190
- source?: string | null | undefined;
191
190
  lastCalledAt?: {
192
191
  from?: string | null | undefined;
193
192
  to?: string | null | undefined;
194
193
  } | null | undefined;
195
194
  minTotalCalls?: number | null | undefined;
195
+ source?: string | null | undefined;
196
196
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
197
197
  minQualityScore?: number | null | undefined;
198
198
  maxQualityScore?: number | null | undefined;
199
199
  minConversionRate?: number | null | undefined;
200
200
  }, {
201
+ name?: string | null | undefined;
201
202
  sort?: {
202
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
203
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
203
204
  order: "ASC" | "DESC";
204
205
  }[] | null | undefined;
205
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | null | undefined;
206
- phoneNumber?: string | null | undefined;
207
- name?: string | null | undefined;
208
- limit?: number | undefined;
209
206
  page?: number | undefined;
210
- source?: string | null | undefined;
207
+ limit?: number | undefined;
208
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
209
+ phoneNumber?: string | null | undefined;
211
210
  lastCalledAt?: {
212
211
  from?: string | null | undefined;
213
212
  to?: string | null | undefined;
214
213
  } | null | undefined;
215
214
  minTotalCalls?: number | null | undefined;
215
+ source?: string | null | undefined;
216
216
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
217
217
  minQualityScore?: number | null | undefined;
218
218
  maxQualityScore?: number | null | undefined;
@@ -233,26 +233,26 @@ export declare const LeadCallHistoryResponseSchema: z.ZodObject<{
233
233
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
234
234
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
235
235
  }, "strip", z.ZodTypeAny, {
236
- id: string;
237
236
  createdAt: string;
238
237
  updatedAt: string;
238
+ id: string;
239
239
  agentId: string;
240
- assignmentId: string;
241
240
  rating: import("../common/call-rating.schema").CallRating;
242
241
  callType: import("../call-history/call-history.contract").CallType;
243
- ratingWeight: number;
244
242
  leadId: string;
243
+ ratingWeight: number;
244
+ assignmentId: string;
245
245
  notes?: string | null | undefined;
246
246
  }, {
247
- id: string;
248
247
  createdAt: string | Date;
249
248
  updatedAt: string | Date;
249
+ id: string;
250
250
  agentId: string;
251
- assignmentId: string;
252
251
  rating: import("../common/call-rating.schema").CallRating;
253
252
  callType: import("../call-history/call-history.contract").CallType;
254
- ratingWeight: number;
255
253
  leadId: string;
254
+ ratingWeight: number;
255
+ assignmentId: string;
256
256
  notes?: string | null | undefined;
257
257
  }>;
258
258
  /**
@@ -336,36 +336,36 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
336
336
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
337
337
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
338
338
  }, "strip", z.ZodTypeAny, {
339
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
340
- id: string;
341
- phoneNumber: string;
342
339
  name: string;
343
340
  createdAt: string;
344
341
  updatedAt: string;
342
+ id: string;
343
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
344
+ phoneNumber: string;
345
345
  source: string;
346
- blacklistReason?: string | null | undefined;
347
346
  lastCalledAt?: string | null | undefined;
348
- qualityScore?: number | null | undefined;
349
- conversionRate?: number | null | undefined;
350
- totalCalls?: number | null | undefined;
351
- lastCallNotes?: string | null | undefined;
352
347
  cooldownUntil?: string | null | undefined;
348
+ blacklistReason?: string | null | undefined;
349
+ lastCallNotes?: string | null | undefined;
350
+ totalCalls?: number | null | undefined;
351
+ conversionRate?: number | null | undefined;
352
+ qualityScore?: number | null | undefined;
353
353
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
354
354
  }, {
355
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
356
- id: string;
357
- phoneNumber: string;
358
355
  name: string;
359
356
  createdAt: string | Date;
360
357
  updatedAt: string | Date;
358
+ id: string;
359
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
360
+ phoneNumber: string;
361
361
  source: string;
362
- blacklistReason?: string | null | undefined;
363
362
  lastCalledAt?: string | Date | null | undefined;
364
- qualityScore?: number | null | undefined;
365
- conversionRate?: number | null | undefined;
366
- totalCalls?: number | null | undefined;
367
- lastCallNotes?: string | null | undefined;
368
363
  cooldownUntil?: string | Date | null | undefined;
364
+ blacklistReason?: string | null | undefined;
365
+ lastCallNotes?: string | null | undefined;
366
+ totalCalls?: number | null | undefined;
367
+ conversionRate?: number | null | undefined;
368
+ qualityScore?: number | null | undefined;
369
369
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
370
370
  }>, "many">;
371
371
  totalCount: z.ZodNumber;
@@ -376,20 +376,20 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
376
376
  }, "strip", z.ZodTypeAny, {
377
377
  limit: number;
378
378
  items: {
379
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
380
- id: string;
381
- phoneNumber: string;
382
379
  name: string;
383
380
  createdAt: string;
384
381
  updatedAt: string;
382
+ id: string;
383
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
384
+ phoneNumber: string;
385
385
  source: string;
386
- blacklistReason?: string | null | undefined;
387
386
  lastCalledAt?: string | null | undefined;
388
- qualityScore?: number | null | undefined;
389
- conversionRate?: number | null | undefined;
390
- totalCalls?: number | null | undefined;
391
- lastCallNotes?: string | null | undefined;
392
387
  cooldownUntil?: string | null | undefined;
388
+ blacklistReason?: string | null | undefined;
389
+ lastCallNotes?: string | null | undefined;
390
+ totalCalls?: number | null | undefined;
391
+ conversionRate?: number | null | undefined;
392
+ qualityScore?: number | null | undefined;
393
393
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
394
394
  }[];
395
395
  totalCount: number;
@@ -399,20 +399,20 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
399
399
  }, {
400
400
  limit: number;
401
401
  items: {
402
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
403
- id: string;
404
- phoneNumber: string;
405
402
  name: string;
406
403
  createdAt: string | Date;
407
404
  updatedAt: string | Date;
405
+ id: string;
406
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
407
+ phoneNumber: string;
408
408
  source: string;
409
- blacklistReason?: string | null | undefined;
410
409
  lastCalledAt?: string | Date | null | undefined;
411
- qualityScore?: number | null | undefined;
412
- conversionRate?: number | null | undefined;
413
- totalCalls?: number | null | undefined;
414
- lastCallNotes?: string | null | undefined;
415
410
  cooldownUntil?: string | Date | null | undefined;
411
+ blacklistReason?: string | null | undefined;
412
+ lastCallNotes?: string | null | undefined;
413
+ totalCalls?: number | null | undefined;
414
+ conversionRate?: number | null | undefined;
415
+ qualityScore?: number | null | undefined;
416
416
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
417
417
  }[];
418
418
  totalCount: number;
@@ -432,44 +432,44 @@ export declare const BatchUpdateLeadSchema: z.ZodObject<{
432
432
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
433
433
  source: z.ZodOptional<z.ZodString>;
434
434
  }, "strip", z.ZodTypeAny, {
435
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
436
- phoneNumber?: string | undefined;
437
435
  name?: string | undefined;
436
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
437
+ phoneNumber?: string | undefined;
438
438
  blacklistReason?: string | null | undefined;
439
439
  source?: string | undefined;
440
440
  }, {
441
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
442
- phoneNumber?: string | undefined;
443
441
  name?: string | undefined;
442
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
443
+ phoneNumber?: string | undefined;
444
444
  blacklistReason?: string | null | undefined;
445
445
  source?: string | undefined;
446
446
  }>, {
447
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
448
- phoneNumber?: string | undefined;
449
447
  name?: string | undefined;
448
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
449
+ phoneNumber?: string | undefined;
450
450
  blacklistReason?: string | null | undefined;
451
451
  source?: string | undefined;
452
452
  }, {
453
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
454
- phoneNumber?: string | undefined;
455
453
  name?: string | undefined;
454
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
455
+ phoneNumber?: string | undefined;
456
456
  blacklistReason?: string | null | undefined;
457
457
  source?: string | undefined;
458
458
  }>;
459
459
  }, "strip", z.ZodTypeAny, {
460
460
  data: {
461
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
462
- phoneNumber?: string | undefined;
463
461
  name?: string | undefined;
462
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
463
+ phoneNumber?: string | undefined;
464
464
  blacklistReason?: string | null | undefined;
465
465
  source?: string | undefined;
466
466
  };
467
467
  leadIds: string[];
468
468
  }, {
469
469
  data: {
470
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
471
- phoneNumber?: string | undefined;
472
470
  name?: string | undefined;
471
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
472
+ phoneNumber?: string | undefined;
473
473
  blacklistReason?: string | null | undefined;
474
474
  source?: string | undefined;
475
475
  };
@@ -533,31 +533,31 @@ export declare const leadsContractRouter: {
533
533
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
534
  source: z.ZodString;
535
535
  }, "strip", z.ZodTypeAny, {
536
- phoneNumber: string;
537
536
  name: string;
537
+ phoneNumber: string;
538
538
  source: string;
539
539
  isBlacklisted: boolean;
540
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
540
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
541
541
  blacklistReason?: string | null | undefined;
542
542
  }, {
543
- phoneNumber: string;
544
543
  name: string;
544
+ phoneNumber: string;
545
545
  source: string;
546
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
546
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
547
547
  blacklistReason?: string | null | undefined;
548
548
  isBlacklisted?: boolean | undefined;
549
549
  }>, {
550
- phoneNumber: string;
551
550
  name: string;
551
+ phoneNumber: string;
552
552
  source: string;
553
553
  isBlacklisted: boolean;
554
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
554
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
555
555
  blacklistReason?: string | null | undefined;
556
556
  }, {
557
- phoneNumber: string;
558
557
  name: string;
558
+ phoneNumber: string;
559
559
  source: string;
560
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
560
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
561
561
  blacklistReason?: string | null | undefined;
562
562
  isBlacklisted?: boolean | undefined;
563
563
  }>;
@@ -588,7 +588,7 @@ export declare const leadsContractRouter: {
588
588
  details?: unknown;
589
589
  correlationId?: string | undefined;
590
590
  }>;
591
- 401: z.ZodObject<{
591
+ 403: z.ZodObject<{
592
592
  statusCode: z.ZodNumber;
593
593
  message: z.ZodString;
594
594
  code: z.ZodString;
@@ -613,7 +613,7 @@ export declare const leadsContractRouter: {
613
613
  details?: unknown;
614
614
  correlationId?: string | undefined;
615
615
  }>;
616
- 403: z.ZodObject<{
616
+ 401: z.ZodObject<{
617
617
  statusCode: z.ZodNumber;
618
618
  message: z.ZodString;
619
619
  code: z.ZodString;
@@ -680,36 +680,36 @@ export declare const leadsContractRouter: {
680
680
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
681
681
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
682
682
  }, "strip", z.ZodTypeAny, {
683
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
684
- id: string;
685
- phoneNumber: string;
686
683
  name: string;
687
684
  createdAt: string;
688
685
  updatedAt: string;
686
+ id: string;
687
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
688
+ phoneNumber: string;
689
689
  source: string;
690
- blacklistReason?: string | null | undefined;
691
690
  lastCalledAt?: string | null | undefined;
692
- qualityScore?: number | null | undefined;
693
- conversionRate?: number | null | undefined;
694
- totalCalls?: number | null | undefined;
695
- lastCallNotes?: string | null | undefined;
696
691
  cooldownUntil?: string | null | undefined;
692
+ blacklistReason?: string | null | undefined;
693
+ lastCallNotes?: string | null | undefined;
694
+ totalCalls?: number | null | undefined;
695
+ conversionRate?: number | null | undefined;
696
+ qualityScore?: number | null | undefined;
697
697
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
698
698
  }, {
699
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
700
- id: string;
701
- phoneNumber: string;
702
699
  name: string;
703
700
  createdAt: string | Date;
704
701
  updatedAt: string | Date;
702
+ id: string;
703
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
704
+ phoneNumber: string;
705
705
  source: string;
706
- blacklistReason?: string | null | undefined;
707
706
  lastCalledAt?: string | Date | null | undefined;
708
- qualityScore?: number | null | undefined;
709
- conversionRate?: number | null | undefined;
710
- totalCalls?: number | null | undefined;
711
- lastCallNotes?: string | null | undefined;
712
707
  cooldownUntil?: string | Date | null | undefined;
708
+ blacklistReason?: string | null | undefined;
709
+ lastCallNotes?: string | null | undefined;
710
+ totalCalls?: number | null | undefined;
711
+ conversionRate?: number | null | undefined;
712
+ qualityScore?: number | null | undefined;
713
713
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
714
714
  }>;
715
715
  409: z.ZodObject<{
@@ -740,6 +740,12 @@ export declare const leadsContractRouter: {
740
740
  };
741
741
  };
742
742
  findAll: {
743
+ metadata: {
744
+ tags: string[];
745
+ openApi: {
746
+ operationId: string;
747
+ };
748
+ };
743
749
  query: z.ZodObject<{
744
750
  limit: z.ZodDefault<z.ZodNumber>;
745
751
  page: z.ZodDefault<z.ZodNumber>;
@@ -767,59 +773,53 @@ export declare const leadsContractRouter: {
767
773
  field: z.ZodEnum<["name", "phoneNumber", "status", "source", "lastCalledAt", "qualityScore", "conversionRate", "totalCalls", "createdAt", "updatedAt"]>;
768
774
  order: z.ZodEnum<["ASC", "DESC"]>;
769
775
  }, "strip", z.ZodTypeAny, {
770
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
776
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
771
777
  order: "ASC" | "DESC";
772
778
  }, {
773
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
779
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
774
780
  order: "ASC" | "DESC";
775
781
  }>, "many">>>;
776
782
  }, "strip", z.ZodTypeAny, {
777
- limit: number;
778
783
  page: number;
784
+ limit: number;
785
+ name?: string | null | undefined;
779
786
  sort?: {
780
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
787
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
781
788
  order: "ASC" | "DESC";
782
789
  }[] | null | undefined;
783
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | null | undefined;
790
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
784
791
  phoneNumber?: string | null | undefined;
785
- name?: string | null | undefined;
786
- source?: string | null | undefined;
787
792
  lastCalledAt?: {
788
793
  from?: string | null | undefined;
789
794
  to?: string | null | undefined;
790
795
  } | null | undefined;
791
796
  minTotalCalls?: number | null | undefined;
797
+ source?: string | null | undefined;
792
798
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
793
799
  minQualityScore?: number | null | undefined;
794
800
  maxQualityScore?: number | null | undefined;
795
801
  minConversionRate?: number | null | undefined;
796
802
  }, {
803
+ name?: string | null | undefined;
797
804
  sort?: {
798
- field: "status" | "phoneNumber" | "name" | "createdAt" | "updatedAt" | "source" | "lastCalledAt" | "qualityScore" | "conversionRate" | "totalCalls";
805
+ field: "name" | "createdAt" | "updatedAt" | "status" | "phoneNumber" | "lastCalledAt" | "totalCalls" | "conversionRate" | "source" | "qualityScore";
799
806
  order: "ASC" | "DESC";
800
807
  }[] | null | undefined;
801
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | null | undefined;
802
- phoneNumber?: string | null | undefined;
803
- name?: string | null | undefined;
804
- limit?: number | undefined;
805
808
  page?: number | undefined;
806
- source?: string | null | undefined;
809
+ limit?: number | undefined;
810
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | null | undefined;
811
+ phoneNumber?: string | null | undefined;
807
812
  lastCalledAt?: {
808
813
  from?: string | null | undefined;
809
814
  to?: string | null | undefined;
810
815
  } | null | undefined;
811
816
  minTotalCalls?: number | null | undefined;
817
+ source?: string | null | undefined;
812
818
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
813
819
  minQualityScore?: number | null | undefined;
814
820
  maxQualityScore?: number | null | undefined;
815
821
  minConversionRate?: number | null | undefined;
816
822
  }>;
817
- metadata: {
818
- tags: string[];
819
- openApi: {
820
- operationId: string;
821
- };
822
- };
823
823
  summary: "Get all leads";
824
824
  method: "GET";
825
825
  path: "/v2/leads";
@@ -849,7 +849,7 @@ export declare const leadsContractRouter: {
849
849
  details?: unknown;
850
850
  correlationId?: string | undefined;
851
851
  }>;
852
- 401: z.ZodObject<{
852
+ 403: z.ZodObject<{
853
853
  statusCode: z.ZodNumber;
854
854
  message: z.ZodString;
855
855
  code: z.ZodString;
@@ -874,7 +874,7 @@ export declare const leadsContractRouter: {
874
874
  details?: unknown;
875
875
  correlationId?: string | undefined;
876
876
  }>;
877
- 403: z.ZodObject<{
877
+ 401: z.ZodObject<{
878
878
  statusCode: z.ZodNumber;
879
879
  message: z.ZodString;
880
880
  code: z.ZodString;
@@ -942,36 +942,36 @@ export declare const leadsContractRouter: {
942
942
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
943
943
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
944
944
  }, "strip", z.ZodTypeAny, {
945
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
946
- id: string;
947
- phoneNumber: string;
948
945
  name: string;
949
946
  createdAt: string;
950
947
  updatedAt: string;
948
+ id: string;
949
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
950
+ phoneNumber: string;
951
951
  source: string;
952
- blacklistReason?: string | null | undefined;
953
952
  lastCalledAt?: string | null | undefined;
954
- qualityScore?: number | null | undefined;
955
- conversionRate?: number | null | undefined;
956
- totalCalls?: number | null | undefined;
957
- lastCallNotes?: string | null | undefined;
958
953
  cooldownUntil?: string | null | undefined;
954
+ blacklistReason?: string | null | undefined;
955
+ lastCallNotes?: string | null | undefined;
956
+ totalCalls?: number | null | undefined;
957
+ conversionRate?: number | null | undefined;
958
+ qualityScore?: number | null | undefined;
959
959
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
960
960
  }, {
961
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
962
- id: string;
963
- phoneNumber: string;
964
961
  name: string;
965
962
  createdAt: string | Date;
966
963
  updatedAt: string | Date;
964
+ id: string;
965
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
966
+ phoneNumber: string;
967
967
  source: string;
968
- blacklistReason?: string | null | undefined;
969
968
  lastCalledAt?: string | Date | null | undefined;
970
- qualityScore?: number | null | undefined;
971
- conversionRate?: number | null | undefined;
972
- totalCalls?: number | null | undefined;
973
- lastCallNotes?: string | null | undefined;
974
969
  cooldownUntil?: string | Date | null | undefined;
970
+ blacklistReason?: string | null | undefined;
971
+ lastCallNotes?: string | null | undefined;
972
+ totalCalls?: number | null | undefined;
973
+ conversionRate?: number | null | undefined;
974
+ qualityScore?: number | null | undefined;
975
975
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
976
976
  }>, "many">;
977
977
  totalCount: z.ZodNumber;
@@ -982,20 +982,20 @@ export declare const leadsContractRouter: {
982
982
  }, "strip", z.ZodTypeAny, {
983
983
  limit: number;
984
984
  items: {
985
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
986
- id: string;
987
- phoneNumber: string;
988
985
  name: string;
989
986
  createdAt: string;
990
987
  updatedAt: string;
988
+ id: string;
989
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
990
+ phoneNumber: string;
991
991
  source: string;
992
- blacklistReason?: string | null | undefined;
993
992
  lastCalledAt?: string | null | undefined;
994
- qualityScore?: number | null | undefined;
995
- conversionRate?: number | null | undefined;
996
- totalCalls?: number | null | undefined;
997
- lastCallNotes?: string | null | undefined;
998
993
  cooldownUntil?: string | null | undefined;
994
+ blacklistReason?: string | null | undefined;
995
+ lastCallNotes?: string | null | undefined;
996
+ totalCalls?: number | null | undefined;
997
+ conversionRate?: number | null | undefined;
998
+ qualityScore?: number | null | undefined;
999
999
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1000
1000
  }[];
1001
1001
  totalCount: number;
@@ -1005,20 +1005,20 @@ export declare const leadsContractRouter: {
1005
1005
  }, {
1006
1006
  limit: number;
1007
1007
  items: {
1008
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
1009
- id: string;
1010
- phoneNumber: string;
1011
1008
  name: string;
1012
1009
  createdAt: string | Date;
1013
1010
  updatedAt: string | Date;
1011
+ id: string;
1012
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
1013
+ phoneNumber: string;
1014
1014
  source: string;
1015
- blacklistReason?: string | null | undefined;
1016
1015
  lastCalledAt?: string | Date | null | undefined;
1017
- qualityScore?: number | null | undefined;
1018
- conversionRate?: number | null | undefined;
1019
- totalCalls?: number | null | undefined;
1020
- lastCallNotes?: string | null | undefined;
1021
1016
  cooldownUntil?: string | Date | null | undefined;
1017
+ blacklistReason?: string | null | undefined;
1018
+ lastCallNotes?: string | null | undefined;
1019
+ totalCalls?: number | null | undefined;
1020
+ conversionRate?: number | null | undefined;
1021
+ qualityScore?: number | null | undefined;
1022
1022
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1023
1023
  }[];
1024
1024
  totalCount: number;
@@ -1046,44 +1046,44 @@ export declare const leadsContractRouter: {
1046
1046
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1047
1047
  source: z.ZodOptional<z.ZodString>;
1048
1048
  }, "strip", z.ZodTypeAny, {
1049
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1050
- phoneNumber?: string | undefined;
1051
1049
  name?: string | undefined;
1050
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1051
+ phoneNumber?: string | undefined;
1052
1052
  blacklistReason?: string | null | undefined;
1053
1053
  source?: string | undefined;
1054
1054
  }, {
1055
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1056
- phoneNumber?: string | undefined;
1057
1055
  name?: string | undefined;
1056
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1057
+ phoneNumber?: string | undefined;
1058
1058
  blacklistReason?: string | null | undefined;
1059
1059
  source?: string | undefined;
1060
1060
  }>, {
1061
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1062
- phoneNumber?: string | undefined;
1063
1061
  name?: string | undefined;
1062
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1063
+ phoneNumber?: string | undefined;
1064
1064
  blacklistReason?: string | null | undefined;
1065
1065
  source?: string | undefined;
1066
1066
  }, {
1067
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1068
- phoneNumber?: string | undefined;
1069
1067
  name?: string | undefined;
1068
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1069
+ phoneNumber?: string | undefined;
1070
1070
  blacklistReason?: string | null | undefined;
1071
1071
  source?: string | undefined;
1072
1072
  }>;
1073
1073
  }, "strip", z.ZodTypeAny, {
1074
1074
  data: {
1075
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1076
- phoneNumber?: string | undefined;
1077
1075
  name?: string | undefined;
1076
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1077
+ phoneNumber?: string | undefined;
1078
1078
  blacklistReason?: string | null | undefined;
1079
1079
  source?: string | undefined;
1080
1080
  };
1081
1081
  leadIds: string[];
1082
1082
  }, {
1083
1083
  data: {
1084
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1085
- phoneNumber?: string | undefined;
1086
1084
  name?: string | undefined;
1085
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1086
+ phoneNumber?: string | undefined;
1087
1087
  blacklistReason?: string | null | undefined;
1088
1088
  source?: string | undefined;
1089
1089
  };
@@ -1378,13 +1378,13 @@ export declare const leadsContractRouter: {
1378
1378
  };
1379
1379
  };
1380
1380
  getQualityDashboard: {
1381
- query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1382
1381
  metadata: {
1383
1382
  tags: string[];
1384
1383
  openApi: {
1385
1384
  operationId: string;
1386
1385
  };
1387
1386
  };
1387
+ query: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1388
1388
  summary: "Get lead quality analytics dashboard";
1389
1389
  method: "GET";
1390
1390
  path: "/v2/leads/analytics/quality-dashboard";
@@ -1414,7 +1414,7 @@ export declare const leadsContractRouter: {
1414
1414
  details?: unknown;
1415
1415
  correlationId?: string | undefined;
1416
1416
  }>;
1417
- 401: z.ZodObject<{
1417
+ 403: z.ZodObject<{
1418
1418
  statusCode: z.ZodNumber;
1419
1419
  message: z.ZodString;
1420
1420
  code: z.ZodString;
@@ -1439,7 +1439,7 @@ export declare const leadsContractRouter: {
1439
1439
  details?: unknown;
1440
1440
  correlationId?: string | undefined;
1441
1441
  }>;
1442
- 403: z.ZodObject<{
1442
+ 401: z.ZodObject<{
1443
1443
  statusCode: z.ZodNumber;
1444
1444
  message: z.ZodString;
1445
1445
  code: z.ZodString;
@@ -1578,7 +1578,7 @@ export declare const leadsContractRouter: {
1578
1578
  details?: unknown;
1579
1579
  correlationId?: string | undefined;
1580
1580
  }>;
1581
- 401: z.ZodObject<{
1581
+ 403: z.ZodObject<{
1582
1582
  statusCode: z.ZodNumber;
1583
1583
  message: z.ZodString;
1584
1584
  code: z.ZodString;
@@ -1603,7 +1603,7 @@ export declare const leadsContractRouter: {
1603
1603
  details?: unknown;
1604
1604
  correlationId?: string | undefined;
1605
1605
  }>;
1606
- 403: z.ZodObject<{
1606
+ 401: z.ZodObject<{
1607
1607
  statusCode: z.ZodNumber;
1608
1608
  message: z.ZodString;
1609
1609
  code: z.ZodString;
@@ -1670,36 +1670,36 @@ export declare const leadsContractRouter: {
1670
1670
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1671
1671
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1672
1672
  }, "strip", z.ZodTypeAny, {
1673
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
1674
- id: string;
1675
- phoneNumber: string;
1676
1673
  name: string;
1677
1674
  createdAt: string;
1678
1675
  updatedAt: string;
1676
+ id: string;
1677
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
1678
+ phoneNumber: string;
1679
1679
  source: string;
1680
- blacklistReason?: string | null | undefined;
1681
1680
  lastCalledAt?: string | null | undefined;
1682
- qualityScore?: number | null | undefined;
1683
- conversionRate?: number | null | undefined;
1684
- totalCalls?: number | null | undefined;
1685
- lastCallNotes?: string | null | undefined;
1686
1681
  cooldownUntil?: string | null | undefined;
1682
+ blacklistReason?: string | null | undefined;
1683
+ lastCallNotes?: string | null | undefined;
1684
+ totalCalls?: number | null | undefined;
1685
+ conversionRate?: number | null | undefined;
1686
+ qualityScore?: number | null | undefined;
1687
1687
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1688
1688
  }, {
1689
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
1690
- id: string;
1691
- phoneNumber: string;
1692
1689
  name: string;
1693
1690
  createdAt: string | Date;
1694
1691
  updatedAt: string | Date;
1692
+ id: string;
1693
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
1694
+ phoneNumber: string;
1695
1695
  source: string;
1696
- blacklistReason?: string | null | undefined;
1697
1696
  lastCalledAt?: string | Date | null | undefined;
1698
- qualityScore?: number | null | undefined;
1699
- conversionRate?: number | null | undefined;
1700
- totalCalls?: number | null | undefined;
1701
- lastCallNotes?: string | null | undefined;
1702
1697
  cooldownUntil?: string | Date | null | undefined;
1698
+ blacklistReason?: string | null | undefined;
1699
+ lastCallNotes?: string | null | undefined;
1700
+ totalCalls?: number | null | undefined;
1701
+ conversionRate?: number | null | undefined;
1702
+ qualityScore?: number | null | undefined;
1703
1703
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1704
1704
  }>;
1705
1705
  404: z.ZodObject<{
@@ -1752,27 +1752,27 @@ export declare const leadsContractRouter: {
1752
1752
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1753
1753
  source: z.ZodOptional<z.ZodString>;
1754
1754
  }, "strip", z.ZodTypeAny, {
1755
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1756
- phoneNumber?: string | undefined;
1757
1755
  name?: string | undefined;
1756
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1757
+ phoneNumber?: string | undefined;
1758
1758
  blacklistReason?: string | null | undefined;
1759
1759
  source?: string | undefined;
1760
1760
  }, {
1761
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1762
- phoneNumber?: string | undefined;
1763
1761
  name?: string | undefined;
1762
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1763
+ phoneNumber?: string | undefined;
1764
1764
  blacklistReason?: string | null | undefined;
1765
1765
  source?: string | undefined;
1766
1766
  }>, {
1767
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1768
- phoneNumber?: string | undefined;
1769
1767
  name?: string | undefined;
1768
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1769
+ phoneNumber?: string | undefined;
1770
1770
  blacklistReason?: string | null | undefined;
1771
1771
  source?: string | undefined;
1772
1772
  }, {
1773
- status?: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED" | undefined;
1774
- phoneNumber?: string | undefined;
1775
1773
  name?: string | undefined;
1774
+ status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1775
+ phoneNumber?: string | undefined;
1776
1776
  blacklistReason?: string | null | undefined;
1777
1777
  source?: string | undefined;
1778
1778
  }>;
@@ -1803,7 +1803,7 @@ export declare const leadsContractRouter: {
1803
1803
  details?: unknown;
1804
1804
  correlationId?: string | undefined;
1805
1805
  }>;
1806
- 401: z.ZodObject<{
1806
+ 403: z.ZodObject<{
1807
1807
  statusCode: z.ZodNumber;
1808
1808
  message: z.ZodString;
1809
1809
  code: z.ZodString;
@@ -1828,7 +1828,7 @@ export declare const leadsContractRouter: {
1828
1828
  details?: unknown;
1829
1829
  correlationId?: string | undefined;
1830
1830
  }>;
1831
- 403: z.ZodObject<{
1831
+ 401: z.ZodObject<{
1832
1832
  statusCode: z.ZodNumber;
1833
1833
  message: z.ZodString;
1834
1834
  code: z.ZodString;
@@ -1895,36 +1895,36 @@ export declare const leadsContractRouter: {
1895
1895
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1896
1896
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1897
1897
  }, "strip", z.ZodTypeAny, {
1898
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
1899
- id: string;
1900
- phoneNumber: string;
1901
1898
  name: string;
1902
1899
  createdAt: string;
1903
1900
  updatedAt: string;
1901
+ id: string;
1902
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
1903
+ phoneNumber: string;
1904
1904
  source: string;
1905
- blacklistReason?: string | null | undefined;
1906
1905
  lastCalledAt?: string | null | undefined;
1907
- qualityScore?: number | null | undefined;
1908
- conversionRate?: number | null | undefined;
1909
- totalCalls?: number | null | undefined;
1910
- lastCallNotes?: string | null | undefined;
1911
1906
  cooldownUntil?: string | null | undefined;
1907
+ blacklistReason?: string | null | undefined;
1908
+ lastCallNotes?: string | null | undefined;
1909
+ totalCalls?: number | null | undefined;
1910
+ conversionRate?: number | null | undefined;
1911
+ qualityScore?: number | null | undefined;
1912
1912
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1913
1913
  }, {
1914
- status: "BLACKLISTED" | "AVAILABLE" | "ASSIGNED" | "PARKED";
1915
- id: string;
1916
- phoneNumber: string;
1917
1914
  name: string;
1918
1915
  createdAt: string | Date;
1919
1916
  updatedAt: string | Date;
1917
+ id: string;
1918
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED";
1919
+ phoneNumber: string;
1920
1920
  source: string;
1921
- blacklistReason?: string | null | undefined;
1922
1921
  lastCalledAt?: string | Date | null | undefined;
1923
- qualityScore?: number | null | undefined;
1924
- conversionRate?: number | null | undefined;
1925
- totalCalls?: number | null | undefined;
1926
- lastCallNotes?: string | null | undefined;
1927
1922
  cooldownUntil?: string | Date | null | undefined;
1923
+ blacklistReason?: string | null | undefined;
1924
+ lastCallNotes?: string | null | undefined;
1925
+ totalCalls?: number | null | undefined;
1926
+ conversionRate?: number | null | undefined;
1927
+ qualityScore?: number | null | undefined;
1928
1928
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1929
1929
  }>;
1930
1930
  404: z.ZodObject<{
@@ -2023,7 +2023,7 @@ export declare const leadsContractRouter: {
2023
2023
  details?: unknown;
2024
2024
  correlationId?: string | undefined;
2025
2025
  }>;
2026
- 401: z.ZodObject<{
2026
+ 403: z.ZodObject<{
2027
2027
  statusCode: z.ZodNumber;
2028
2028
  message: z.ZodString;
2029
2029
  code: z.ZodString;
@@ -2048,7 +2048,7 @@ export declare const leadsContractRouter: {
2048
2048
  details?: unknown;
2049
2049
  correlationId?: string | undefined;
2050
2050
  }>;
2051
- 403: z.ZodObject<{
2051
+ 401: z.ZodObject<{
2052
2052
  statusCode: z.ZodNumber;
2053
2053
  message: z.ZodString;
2054
2054
  code: z.ZodString;
@@ -2148,14 +2148,14 @@ export declare const leadsContractRouter: {
2148
2148
  notes: z.ZodOptional<z.ZodString>;
2149
2149
  callType: z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>;
2150
2150
  }, "strip", z.ZodTypeAny, {
2151
- assignmentId: string;
2152
2151
  rating: import("../common/call-rating.schema").CallRating;
2153
2152
  callType: import("../call-history/call-history.contract").CallType;
2153
+ assignmentId: string;
2154
2154
  notes?: string | undefined;
2155
2155
  }, {
2156
- assignmentId: string;
2157
2156
  rating: import("../common/call-rating.schema").CallRating;
2158
2157
  callType: import("../call-history/call-history.contract").CallType;
2158
+ assignmentId: string;
2159
2159
  notes?: string | undefined;
2160
2160
  }>;
2161
2161
  path: "/v2/leads/:id/call";
@@ -2185,7 +2185,7 @@ export declare const leadsContractRouter: {
2185
2185
  details?: unknown;
2186
2186
  correlationId?: string | undefined;
2187
2187
  }>;
2188
- 401: z.ZodObject<{
2188
+ 403: z.ZodObject<{
2189
2189
  statusCode: z.ZodNumber;
2190
2190
  message: z.ZodString;
2191
2191
  code: z.ZodString;
@@ -2210,7 +2210,7 @@ export declare const leadsContractRouter: {
2210
2210
  details?: unknown;
2211
2211
  correlationId?: string | undefined;
2212
2212
  }>;
2213
- 403: z.ZodObject<{
2213
+ 401: z.ZodObject<{
2214
2214
  statusCode: z.ZodNumber;
2215
2215
  message: z.ZodString;
2216
2216
  code: z.ZodString;
@@ -2272,26 +2272,26 @@ export declare const leadsContractRouter: {
2272
2272
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2273
2273
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2274
2274
  }, "strip", z.ZodTypeAny, {
2275
- id: string;
2276
2275
  createdAt: string;
2277
2276
  updatedAt: string;
2277
+ id: string;
2278
2278
  agentId: string;
2279
- assignmentId: string;
2280
2279
  rating: import("../common/call-rating.schema").CallRating;
2281
2280
  callType: import("../call-history/call-history.contract").CallType;
2282
- ratingWeight: number;
2283
2281
  leadId: string;
2282
+ ratingWeight: number;
2283
+ assignmentId: string;
2284
2284
  notes?: string | null | undefined;
2285
2285
  }, {
2286
- id: string;
2287
2286
  createdAt: string | Date;
2288
2287
  updatedAt: string | Date;
2288
+ id: string;
2289
2289
  agentId: string;
2290
- assignmentId: string;
2291
2290
  rating: import("../common/call-rating.schema").CallRating;
2292
2291
  callType: import("../call-history/call-history.contract").CallType;
2293
- ratingWeight: number;
2294
2292
  leadId: string;
2293
+ ratingWeight: number;
2294
+ assignmentId: string;
2295
2295
  notes?: string | null | undefined;
2296
2296
  }>;
2297
2297
  };