@dakkitor/api-contracts 1.5.0 → 1.6.0

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 (129) hide show
  1. package/dist/abilities/abilities.contract.d.ts +6 -2
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +45 -1
  4. package/dist/abilities/abilities.contract.spec.js +98 -0
  5. package/dist/abilities/first-agent.abilities.json +8 -14
  6. package/dist/abilities/outreach.abilities.json +25 -0
  7. package/dist/abilities/second-agent.abilities.json +4 -13
  8. package/dist/actives/actives.contract.d.ts +3618 -3479
  9. package/dist/actives/actives.contract.d.ts.map +1 -1
  10. package/dist/actives/actives.contract.js +2 -0
  11. package/dist/actives/actives.contract.spec.d.ts +2 -0
  12. package/dist/actives/actives.contract.spec.d.ts.map +1 -0
  13. package/dist/actives/actives.contract.spec.js +35 -0
  14. package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
  15. package/dist/auth/auth.contract.d.ts +108 -108
  16. package/dist/bookings/bookings.contract.d.ts +6644 -6452
  17. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  18. package/dist/call-history/call-history.contract.d.ts +718 -718
  19. package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
  20. package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
  21. package/dist/clients/clients.contract.d.ts +203 -203
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
  23. package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
  24. package/dist/common/common-schemas.d.ts +12 -12
  25. package/dist/companies/companies.contract.d.ts +74 -74
  26. package/dist/crews/crews.contract.d.ts +253 -253
  27. package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
  28. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
  29. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
  30. package/dist/curated-worker-leads/consent-queue.contract.d.ts +1137 -1107
  31. package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
  32. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
  33. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
  34. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
  35. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  36. package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
  37. package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
  38. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
  39. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
  40. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
  41. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
  42. package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
  43. package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
  44. package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
  45. package/dist/dashboards/dashboard.contract.d.ts +12 -12
  46. package/dist/document-intake/document-intake.contract.d.ts +601 -601
  47. package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
  48. package/dist/exports-events/exports-events.schemas.d.ts +4 -4
  49. package/dist/files/files.contract.d.ts +74 -74
  50. package/dist/index.d.ts +6 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +6 -0
  53. package/dist/interactions/interactions.contract.d.ts +6 -6
  54. package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
  55. package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
  56. package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
  57. package/dist/jobs/job-moderation-fields.spec.js +72 -0
  58. package/dist/jobs/jobs.contract.d.ts +4773 -4525
  59. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  60. package/dist/jobs/jobs.contract.js +48 -0
  61. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
  63. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
  64. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
  65. package/dist/leads/leads.contract.d.ts +283 -283
  66. package/dist/locations/locations.contract.d.ts +49 -49
  67. package/dist/notifications/notifications.contract.d.ts +67 -67
  68. package/dist/offices/offices.contract.d.ts +34 -34
  69. package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
  70. package/dist/outreach/__tests__/outreach-requests.contract.spec.js +13 -0
  71. package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
  72. package/dist/outreach/outreach-requests.contract.d.ts +862 -217
  73. package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
  74. package/dist/outreach/outreach-requests.contract.js +23 -3
  75. package/dist/outreach/outreach-requests.schemas.d.ts +56 -10
  76. package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
  77. package/dist/outreach/outreach-requests.schemas.js +3 -0
  78. package/dist/outreach/outreach.contract.d.ts +300 -38
  79. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  80. package/dist/outreach/outreach.contract.js +18 -0
  81. package/dist/outreach/outreach.contract.spec.d.ts +2 -0
  82. package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
  83. package/dist/outreach/outreach.contract.spec.js +54 -0
  84. package/dist/outreach/outreach.schemas.d.ts +2 -2
  85. package/dist/own-research/own-research.contract.d.ts +775 -775
  86. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  87. package/dist/proofs/proof-type.enum.d.ts +4 -4
  88. package/dist/proofs/proofs.contract.d.ts +363 -363
  89. package/dist/proofs/proofs.dtos.d.ts +124 -124
  90. package/dist/qualifications/qualifications.contract.d.ts +38 -38
  91. package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
  92. package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
  93. package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
  94. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
  95. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
  96. package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
  97. package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
  98. package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
  99. package/dist/relay-pods/relay-pods.contract.js +188 -0
  100. package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
  101. package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
  102. package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
  103. package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
  104. package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
  105. package/dist/relay-pods/relay-pods.schemas.js +112 -0
  106. package/dist/shared/live-booking.schema.d.ts +4 -4
  107. package/dist/shared/summary-schemas.d.ts +6 -6
  108. package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
  109. package/dist/telegram/telegram.contract.d.ts +22 -22
  110. package/dist/trades/trades.contract.d.ts +90 -90
  111. package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
  112. package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
  113. package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
  114. package/dist/users/__tests__/assignable-roles.spec.js +41 -0
  115. package/dist/users/users.contract.d.ts +399 -393
  116. package/dist/users/users.contract.d.ts.map +1 -1
  117. package/dist/users/users.contract.js +11 -0
  118. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
  119. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
  120. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
  121. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
  122. package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
  123. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
  124. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
  125. package/dist/workers/workers.contract.d.ts +2919 -2919
  126. package/package.json +1 -1
  127. package/dist/bookings/bookings.contract.spec.d.ts +0 -2
  128. package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
  129. package/dist/bookings/bookings.contract.spec.js +0 -11
@@ -4,6 +4,7 @@ export * from './outreach-requests.schemas';
4
4
  export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  jobId: z.ZodString;
7
+ requestedByUserId: z.ZodString;
7
8
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
8
9
  eligibleAtRequest: z.ZodNumber;
9
10
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -11,6 +12,31 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
11
12
  createdAt: z.ZodString;
12
13
  startedAt: z.ZodNullable<z.ZodString>;
13
14
  completedAt: z.ZodNullable<z.ZodString>;
15
+ assignedPod: z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodString;
17
+ slug: z.ZodString;
18
+ displayName: z.ZodString;
19
+ ownerUserId: z.ZodString;
20
+ ownerName: z.ZodNullable<z.ZodString>;
21
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
22
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
23
+ }, "strict", z.ZodTypeAny, {
24
+ id: string;
25
+ status: "ACTIVE" | "INACTIVE";
26
+ slug: string;
27
+ displayName: string;
28
+ ownerUserId: string;
29
+ ownerName: string | null;
30
+ publicBaseUrl: string;
31
+ }, {
32
+ id: string;
33
+ status: "ACTIVE" | "INACTIVE";
34
+ slug: string;
35
+ displayName: string;
36
+ ownerUserId: string;
37
+ ownerName: string | null;
38
+ publicBaseUrl: string;
39
+ }>>;
14
40
  } & {
15
41
  job: z.ZodObject<{
16
42
  title: z.ZodString;
@@ -19,66 +45,90 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
19
45
  locationText: z.ZodNullable<z.ZodString>;
20
46
  createdByName: z.ZodNullable<z.ZodString>;
21
47
  }, "strip", z.ZodTypeAny, {
22
- createdByName: string | null;
23
48
  title: string;
24
49
  trade: string | null;
25
50
  payText: string | null;
26
51
  locationText: string | null;
27
- }, {
28
52
  createdByName: string | null;
53
+ }, {
29
54
  title: string;
30
55
  trade: string | null;
31
56
  payText: string | null;
32
57
  locationText: string | null;
58
+ createdByName: string | null;
33
59
  }>;
34
60
  }, "strip", z.ZodTypeAny, {
35
61
  id: string;
36
- createdAt: string;
37
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
38
62
  jobId: string;
63
+ requestedByUserId: string;
64
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
65
+ eligibleAtRequest: number;
66
+ requestedByName: string | null;
67
+ contactedCount: number;
68
+ createdAt: string;
69
+ startedAt: string | null;
70
+ completedAt: string | null;
71
+ assignedPod: {
72
+ id: string;
73
+ status: "ACTIVE" | "INACTIVE";
74
+ slug: string;
75
+ displayName: string;
76
+ ownerUserId: string;
77
+ ownerName: string | null;
78
+ publicBaseUrl: string;
79
+ } | null;
39
80
  job: {
40
- createdByName: string | null;
41
81
  title: string;
42
82
  trade: string | null;
43
83
  payText: string | null;
44
84
  locationText: string | null;
85
+ createdByName: string | null;
45
86
  };
46
- startedAt: string | null;
47
- completedAt: string | null;
48
- requestedByName: string | null;
49
- contactedCount: number;
50
- eligibleAtRequest: number;
51
87
  }, {
52
88
  id: string;
53
- createdAt: string;
54
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
55
89
  jobId: string;
90
+ requestedByUserId: string;
91
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
92
+ eligibleAtRequest: number;
93
+ requestedByName: string | null;
94
+ contactedCount: number;
95
+ createdAt: string;
96
+ startedAt: string | null;
97
+ completedAt: string | null;
98
+ assignedPod: {
99
+ id: string;
100
+ status: "ACTIVE" | "INACTIVE";
101
+ slug: string;
102
+ displayName: string;
103
+ ownerUserId: string;
104
+ ownerName: string | null;
105
+ publicBaseUrl: string;
106
+ } | null;
56
107
  job: {
57
- createdByName: string | null;
58
108
  title: string;
59
109
  trade: string | null;
60
110
  payText: string | null;
61
111
  locationText: string | null;
112
+ createdByName: string | null;
62
113
  };
63
- startedAt: string | null;
64
- completedAt: string | null;
65
- requestedByName: string | null;
66
- contactedCount: number;
67
- eligibleAtRequest: number;
68
114
  }>;
69
115
  export type OutreachRequestQueueItem = z.infer<typeof OutreachRequestQueueItemSchema>;
70
116
  export declare const CreateOutreachRequestBodySchema: z.ZodObject<{
71
117
  jobId: z.ZodString;
118
+ targetPodId: z.ZodOptional<z.ZodString>;
72
119
  }, "strip", z.ZodTypeAny, {
73
120
  jobId: string;
121
+ targetPodId?: string | undefined;
74
122
  }, {
75
123
  jobId: string;
124
+ targetPodId?: string | undefined;
76
125
  }>;
77
126
  export type CreateOutreachRequestBody = z.infer<typeof CreateOutreachRequestBodySchema>;
78
127
  export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
79
128
  items: z.ZodArray<z.ZodObject<{
80
129
  id: z.ZodString;
81
130
  jobId: z.ZodString;
131
+ requestedByUserId: z.ZodString;
82
132
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
83
133
  eligibleAtRequest: z.ZodNumber;
84
134
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -86,6 +136,31 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
86
136
  createdAt: z.ZodString;
87
137
  startedAt: z.ZodNullable<z.ZodString>;
88
138
  completedAt: z.ZodNullable<z.ZodString>;
139
+ assignedPod: z.ZodNullable<z.ZodObject<{
140
+ id: z.ZodString;
141
+ slug: z.ZodString;
142
+ displayName: z.ZodString;
143
+ ownerUserId: z.ZodString;
144
+ ownerName: z.ZodNullable<z.ZodString>;
145
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
146
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
147
+ }, "strict", z.ZodTypeAny, {
148
+ id: string;
149
+ status: "ACTIVE" | "INACTIVE";
150
+ slug: string;
151
+ displayName: string;
152
+ ownerUserId: string;
153
+ ownerName: string | null;
154
+ publicBaseUrl: string;
155
+ }, {
156
+ id: string;
157
+ status: "ACTIVE" | "INACTIVE";
158
+ slug: string;
159
+ displayName: string;
160
+ ownerUserId: string;
161
+ ownerName: string | null;
162
+ publicBaseUrl: string;
163
+ }>>;
89
164
  } & {
90
165
  job: z.ZodObject<{
91
166
  title: z.ZodString;
@@ -94,107 +169,150 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
94
169
  locationText: z.ZodNullable<z.ZodString>;
95
170
  createdByName: z.ZodNullable<z.ZodString>;
96
171
  }, "strip", z.ZodTypeAny, {
97
- createdByName: string | null;
98
172
  title: string;
99
173
  trade: string | null;
100
174
  payText: string | null;
101
175
  locationText: string | null;
102
- }, {
103
176
  createdByName: string | null;
177
+ }, {
104
178
  title: string;
105
179
  trade: string | null;
106
180
  payText: string | null;
107
181
  locationText: string | null;
182
+ createdByName: string | null;
108
183
  }>;
109
184
  }, "strip", z.ZodTypeAny, {
110
185
  id: string;
111
- createdAt: string;
112
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
113
186
  jobId: string;
187
+ requestedByUserId: string;
188
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
189
+ eligibleAtRequest: number;
190
+ requestedByName: string | null;
191
+ contactedCount: number;
192
+ createdAt: string;
193
+ startedAt: string | null;
194
+ completedAt: string | null;
195
+ assignedPod: {
196
+ id: string;
197
+ status: "ACTIVE" | "INACTIVE";
198
+ slug: string;
199
+ displayName: string;
200
+ ownerUserId: string;
201
+ ownerName: string | null;
202
+ publicBaseUrl: string;
203
+ } | null;
114
204
  job: {
115
- createdByName: string | null;
116
205
  title: string;
117
206
  trade: string | null;
118
207
  payText: string | null;
119
208
  locationText: string | null;
209
+ createdByName: string | null;
120
210
  };
121
- startedAt: string | null;
122
- completedAt: string | null;
123
- requestedByName: string | null;
124
- contactedCount: number;
125
- eligibleAtRequest: number;
126
211
  }, {
127
212
  id: string;
128
- createdAt: string;
129
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
130
213
  jobId: string;
214
+ requestedByUserId: string;
215
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
216
+ eligibleAtRequest: number;
217
+ requestedByName: string | null;
218
+ contactedCount: number;
219
+ createdAt: string;
220
+ startedAt: string | null;
221
+ completedAt: string | null;
222
+ assignedPod: {
223
+ id: string;
224
+ status: "ACTIVE" | "INACTIVE";
225
+ slug: string;
226
+ displayName: string;
227
+ ownerUserId: string;
228
+ ownerName: string | null;
229
+ publicBaseUrl: string;
230
+ } | null;
131
231
  job: {
132
- createdByName: string | null;
133
232
  title: string;
134
233
  trade: string | null;
135
234
  payText: string | null;
136
235
  locationText: string | null;
236
+ createdByName: string | null;
137
237
  };
138
- startedAt: string | null;
139
- completedAt: string | null;
140
- requestedByName: string | null;
141
- contactedCount: number;
142
- eligibleAtRequest: number;
143
238
  }>, "many">;
144
239
  }, "strip", z.ZodTypeAny, {
145
240
  items: {
146
241
  id: string;
147
- createdAt: string;
148
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
149
242
  jobId: string;
243
+ requestedByUserId: string;
244
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
245
+ eligibleAtRequest: number;
246
+ requestedByName: string | null;
247
+ contactedCount: number;
248
+ createdAt: string;
249
+ startedAt: string | null;
250
+ completedAt: string | null;
251
+ assignedPod: {
252
+ id: string;
253
+ status: "ACTIVE" | "INACTIVE";
254
+ slug: string;
255
+ displayName: string;
256
+ ownerUserId: string;
257
+ ownerName: string | null;
258
+ publicBaseUrl: string;
259
+ } | null;
150
260
  job: {
151
- createdByName: string | null;
152
261
  title: string;
153
262
  trade: string | null;
154
263
  payText: string | null;
155
264
  locationText: string | null;
265
+ createdByName: string | null;
156
266
  };
157
- startedAt: string | null;
158
- completedAt: string | null;
159
- requestedByName: string | null;
160
- contactedCount: number;
161
- eligibleAtRequest: number;
162
267
  }[];
163
268
  }, {
164
269
  items: {
165
270
  id: string;
166
- createdAt: string;
167
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
168
271
  jobId: string;
272
+ requestedByUserId: string;
273
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
274
+ eligibleAtRequest: number;
275
+ requestedByName: string | null;
276
+ contactedCount: number;
277
+ createdAt: string;
278
+ startedAt: string | null;
279
+ completedAt: string | null;
280
+ assignedPod: {
281
+ id: string;
282
+ status: "ACTIVE" | "INACTIVE";
283
+ slug: string;
284
+ displayName: string;
285
+ ownerUserId: string;
286
+ ownerName: string | null;
287
+ publicBaseUrl: string;
288
+ } | null;
169
289
  job: {
170
- createdByName: string | null;
171
290
  title: string;
172
291
  trade: string | null;
173
292
  payText: string | null;
174
293
  locationText: string | null;
294
+ createdByName: string | null;
175
295
  };
176
- startedAt: string | null;
177
- completedAt: string | null;
178
- requestedByName: string | null;
179
- contactedCount: number;
180
- eligibleAtRequest: number;
181
296
  }[];
182
297
  }>;
183
298
  export type ListOutreachRequestsResponse = z.infer<typeof ListOutreachRequestsResponseSchema>;
184
299
  export declare const outreachRequestsContract: {
185
300
  create: {
186
- description: string;
187
301
  metadata: {
188
302
  tags: string[];
189
303
  };
190
304
  summary: "Mark a job for outreach";
305
+ description: string;
191
306
  method: "POST";
192
307
  body: z.ZodObject<{
193
308
  jobId: z.ZodString;
309
+ targetPodId: z.ZodOptional<z.ZodString>;
194
310
  }, "strip", z.ZodTypeAny, {
195
311
  jobId: string;
312
+ targetPodId?: string | undefined;
196
313
  }, {
197
314
  jobId: string;
315
+ targetPodId?: string | undefined;
198
316
  }>;
199
317
  path: "/v2/outreach/requests";
200
318
  responses: {
@@ -207,17 +325,17 @@ export declare const outreachRequestsContract: {
207
325
  path: z.ZodString;
208
326
  correlationId: z.ZodOptional<z.ZodString>;
209
327
  }, "strip", z.ZodTypeAny, {
210
- message: string;
211
- path: string;
212
328
  code: string;
329
+ path: string;
330
+ message: string;
213
331
  statusCode: number;
214
332
  timestamp: string;
215
333
  details?: unknown;
216
334
  correlationId?: string | undefined;
217
335
  }, {
218
- message: string;
219
- path: string;
220
336
  code: string;
337
+ path: string;
338
+ message: string;
221
339
  statusCode: number;
222
340
  timestamp: string;
223
341
  details?: unknown;
@@ -232,17 +350,17 @@ export declare const outreachRequestsContract: {
232
350
  path: z.ZodString;
233
351
  correlationId: z.ZodOptional<z.ZodString>;
234
352
  }, "strip", z.ZodTypeAny, {
235
- message: string;
236
- path: string;
237
353
  code: string;
354
+ path: string;
355
+ message: string;
238
356
  statusCode: number;
239
357
  timestamp: string;
240
358
  details?: unknown;
241
359
  correlationId?: string | undefined;
242
360
  }, {
243
- message: string;
244
- path: string;
245
361
  code: string;
362
+ path: string;
363
+ message: string;
246
364
  statusCode: number;
247
365
  timestamp: string;
248
366
  details?: unknown;
@@ -257,17 +375,17 @@ export declare const outreachRequestsContract: {
257
375
  path: z.ZodString;
258
376
  correlationId: z.ZodOptional<z.ZodString>;
259
377
  }, "strip", z.ZodTypeAny, {
260
- message: string;
261
- path: string;
262
378
  code: string;
379
+ path: string;
380
+ message: string;
263
381
  statusCode: number;
264
382
  timestamp: string;
265
383
  details?: unknown;
266
384
  correlationId?: string | undefined;
267
385
  }, {
268
- message: string;
269
- path: string;
270
386
  code: string;
387
+ path: string;
388
+ message: string;
271
389
  statusCode: number;
272
390
  timestamp: string;
273
391
  details?: unknown;
@@ -282,17 +400,17 @@ export declare const outreachRequestsContract: {
282
400
  path: z.ZodString;
283
401
  correlationId: z.ZodOptional<z.ZodString>;
284
402
  }, "strip", z.ZodTypeAny, {
285
- message: string;
286
- path: string;
287
403
  code: string;
404
+ path: string;
405
+ message: string;
288
406
  statusCode: number;
289
407
  timestamp: string;
290
408
  details?: unknown;
291
409
  correlationId?: string | undefined;
292
410
  }, {
293
- message: string;
294
- path: string;
295
411
  code: string;
412
+ path: string;
413
+ message: string;
296
414
  statusCode: number;
297
415
  timestamp: string;
298
416
  details?: unknown;
@@ -301,6 +419,7 @@ export declare const outreachRequestsContract: {
301
419
  200: z.ZodObject<{
302
420
  id: z.ZodString;
303
421
  jobId: z.ZodString;
422
+ requestedByUserId: z.ZodString;
304
423
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
305
424
  eligibleAtRequest: z.ZodNumber;
306
425
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -308,26 +427,71 @@ export declare const outreachRequestsContract: {
308
427
  createdAt: z.ZodString;
309
428
  startedAt: z.ZodNullable<z.ZodString>;
310
429
  completedAt: z.ZodNullable<z.ZodString>;
430
+ assignedPod: z.ZodNullable<z.ZodObject<{
431
+ id: z.ZodString;
432
+ slug: z.ZodString;
433
+ displayName: z.ZodString;
434
+ ownerUserId: z.ZodString;
435
+ ownerName: z.ZodNullable<z.ZodString>;
436
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
437
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
438
+ }, "strict", z.ZodTypeAny, {
439
+ id: string;
440
+ status: "ACTIVE" | "INACTIVE";
441
+ slug: string;
442
+ displayName: string;
443
+ ownerUserId: string;
444
+ ownerName: string | null;
445
+ publicBaseUrl: string;
446
+ }, {
447
+ id: string;
448
+ status: "ACTIVE" | "INACTIVE";
449
+ slug: string;
450
+ displayName: string;
451
+ ownerUserId: string;
452
+ ownerName: string | null;
453
+ publicBaseUrl: string;
454
+ }>>;
311
455
  }, "strip", z.ZodTypeAny, {
312
456
  id: string;
313
- createdAt: string;
314
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
315
457
  jobId: string;
316
- startedAt: string | null;
317
- completedAt: string | null;
458
+ requestedByUserId: string;
459
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
460
+ eligibleAtRequest: number;
318
461
  requestedByName: string | null;
319
462
  contactedCount: number;
320
- eligibleAtRequest: number;
321
- }, {
322
- id: string;
323
463
  createdAt: string;
324
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
325
- jobId: string;
326
464
  startedAt: string | null;
327
465
  completedAt: string | null;
466
+ assignedPod: {
467
+ id: string;
468
+ status: "ACTIVE" | "INACTIVE";
469
+ slug: string;
470
+ displayName: string;
471
+ ownerUserId: string;
472
+ ownerName: string | null;
473
+ publicBaseUrl: string;
474
+ } | null;
475
+ }, {
476
+ id: string;
477
+ jobId: string;
478
+ requestedByUserId: string;
479
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
480
+ eligibleAtRequest: number;
328
481
  requestedByName: string | null;
329
482
  contactedCount: number;
330
- eligibleAtRequest: number;
483
+ createdAt: string;
484
+ startedAt: string | null;
485
+ completedAt: string | null;
486
+ assignedPod: {
487
+ id: string;
488
+ status: "ACTIVE" | "INACTIVE";
489
+ slug: string;
490
+ displayName: string;
491
+ ownerUserId: string;
492
+ ownerName: string | null;
493
+ publicBaseUrl: string;
494
+ } | null;
331
495
  }>;
332
496
  404: z.ZodObject<{
333
497
  statusCode: z.ZodNumber;
@@ -338,17 +502,17 @@ export declare const outreachRequestsContract: {
338
502
  path: z.ZodString;
339
503
  correlationId: z.ZodOptional<z.ZodString>;
340
504
  }, "strip", z.ZodTypeAny, {
341
- message: string;
342
- path: string;
343
505
  code: string;
506
+ path: string;
507
+ message: string;
344
508
  statusCode: number;
345
509
  timestamp: string;
346
510
  details?: unknown;
347
511
  correlationId?: string | undefined;
348
512
  }, {
349
- message: string;
350
- path: string;
351
513
  code: string;
514
+ path: string;
515
+ message: string;
352
516
  statusCode: number;
353
517
  timestamp: string;
354
518
  details?: unknown;
@@ -357,7 +521,6 @@ export declare const outreachRequestsContract: {
357
521
  };
358
522
  };
359
523
  cancel: {
360
- description: string;
361
524
  metadata: {
362
525
  tags: string[];
363
526
  };
@@ -369,6 +532,7 @@ export declare const outreachRequestsContract: {
369
532
  id: string;
370
533
  }>;
371
534
  summary: "Withdraw an outreach request";
535
+ description: string;
372
536
  method: "POST";
373
537
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
374
538
  path: "/v2/outreach/requests/:id/cancel";
@@ -382,17 +546,17 @@ export declare const outreachRequestsContract: {
382
546
  path: z.ZodString;
383
547
  correlationId: z.ZodOptional<z.ZodString>;
384
548
  }, "strip", z.ZodTypeAny, {
385
- message: string;
386
- path: string;
387
549
  code: string;
550
+ path: string;
551
+ message: string;
388
552
  statusCode: number;
389
553
  timestamp: string;
390
554
  details?: unknown;
391
555
  correlationId?: string | undefined;
392
556
  }, {
393
- message: string;
394
- path: string;
395
557
  code: string;
558
+ path: string;
559
+ message: string;
396
560
  statusCode: number;
397
561
  timestamp: string;
398
562
  details?: unknown;
@@ -407,23 +571,150 @@ export declare const outreachRequestsContract: {
407
571
  path: z.ZodString;
408
572
  correlationId: z.ZodOptional<z.ZodString>;
409
573
  }, "strip", z.ZodTypeAny, {
574
+ code: string;
575
+ path: string;
410
576
  message: string;
577
+ statusCode: number;
578
+ timestamp: string;
579
+ details?: unknown;
580
+ correlationId?: string | undefined;
581
+ }, {
582
+ code: string;
411
583
  path: string;
584
+ message: string;
585
+ statusCode: number;
586
+ timestamp: string;
587
+ details?: unknown;
588
+ correlationId?: string | undefined;
589
+ }>;
590
+ 403: z.ZodObject<{
591
+ statusCode: z.ZodNumber;
592
+ message: z.ZodString;
593
+ code: z.ZodString;
594
+ details: z.ZodOptional<z.ZodUnknown>;
595
+ timestamp: z.ZodString;
596
+ path: z.ZodString;
597
+ correlationId: z.ZodOptional<z.ZodString>;
598
+ }, "strip", z.ZodTypeAny, {
412
599
  code: string;
600
+ path: string;
601
+ message: string;
413
602
  statusCode: number;
414
603
  timestamp: string;
415
604
  details?: unknown;
416
605
  correlationId?: string | undefined;
417
606
  }, {
607
+ code: string;
608
+ path: string;
418
609
  message: string;
610
+ statusCode: number;
611
+ timestamp: string;
612
+ details?: unknown;
613
+ correlationId?: string | undefined;
614
+ }>;
615
+ 500: z.ZodObject<{
616
+ statusCode: z.ZodNumber;
617
+ message: z.ZodString;
618
+ code: z.ZodString;
619
+ details: z.ZodOptional<z.ZodUnknown>;
620
+ timestamp: z.ZodString;
621
+ path: z.ZodString;
622
+ correlationId: z.ZodOptional<z.ZodString>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ code: string;
419
625
  path: string;
626
+ message: string;
627
+ statusCode: number;
628
+ timestamp: string;
629
+ details?: unknown;
630
+ correlationId?: string | undefined;
631
+ }, {
420
632
  code: string;
633
+ path: string;
634
+ message: string;
421
635
  statusCode: number;
422
636
  timestamp: string;
423
637
  details?: unknown;
424
638
  correlationId?: string | undefined;
425
639
  }>;
426
- 403: z.ZodObject<{
640
+ 200: z.ZodObject<{
641
+ id: z.ZodString;
642
+ jobId: z.ZodString;
643
+ requestedByUserId: z.ZodString;
644
+ status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
645
+ eligibleAtRequest: z.ZodNumber;
646
+ requestedByName: z.ZodNullable<z.ZodString>;
647
+ contactedCount: z.ZodNumber;
648
+ createdAt: z.ZodString;
649
+ startedAt: z.ZodNullable<z.ZodString>;
650
+ completedAt: z.ZodNullable<z.ZodString>;
651
+ assignedPod: z.ZodNullable<z.ZodObject<{
652
+ id: z.ZodString;
653
+ slug: z.ZodString;
654
+ displayName: z.ZodString;
655
+ ownerUserId: z.ZodString;
656
+ ownerName: z.ZodNullable<z.ZodString>;
657
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
658
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
659
+ }, "strict", z.ZodTypeAny, {
660
+ id: string;
661
+ status: "ACTIVE" | "INACTIVE";
662
+ slug: string;
663
+ displayName: string;
664
+ ownerUserId: string;
665
+ ownerName: string | null;
666
+ publicBaseUrl: string;
667
+ }, {
668
+ id: string;
669
+ status: "ACTIVE" | "INACTIVE";
670
+ slug: string;
671
+ displayName: string;
672
+ ownerUserId: string;
673
+ ownerName: string | null;
674
+ publicBaseUrl: string;
675
+ }>>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ id: string;
678
+ jobId: string;
679
+ requestedByUserId: string;
680
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
681
+ eligibleAtRequest: number;
682
+ requestedByName: string | null;
683
+ contactedCount: number;
684
+ createdAt: string;
685
+ startedAt: string | null;
686
+ completedAt: string | null;
687
+ assignedPod: {
688
+ id: string;
689
+ status: "ACTIVE" | "INACTIVE";
690
+ slug: string;
691
+ displayName: string;
692
+ ownerUserId: string;
693
+ ownerName: string | null;
694
+ publicBaseUrl: string;
695
+ } | null;
696
+ }, {
697
+ id: string;
698
+ jobId: string;
699
+ requestedByUserId: string;
700
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
701
+ eligibleAtRequest: number;
702
+ requestedByName: string | null;
703
+ contactedCount: number;
704
+ createdAt: string;
705
+ startedAt: string | null;
706
+ completedAt: string | null;
707
+ assignedPod: {
708
+ id: string;
709
+ status: "ACTIVE" | "INACTIVE";
710
+ slug: string;
711
+ displayName: string;
712
+ ownerUserId: string;
713
+ ownerName: string | null;
714
+ publicBaseUrl: string;
715
+ } | null;
716
+ }>;
717
+ 404: z.ZodObject<{
427
718
  statusCode: z.ZodNumber;
428
719
  message: z.ZodString;
429
720
  code: z.ZodString;
@@ -432,23 +723,98 @@ export declare const outreachRequestsContract: {
432
723
  path: z.ZodString;
433
724
  correlationId: z.ZodOptional<z.ZodString>;
434
725
  }, "strip", z.ZodTypeAny, {
726
+ code: string;
727
+ path: string;
435
728
  message: string;
729
+ statusCode: number;
730
+ timestamp: string;
731
+ details?: unknown;
732
+ correlationId?: string | undefined;
733
+ }, {
734
+ code: string;
436
735
  path: string;
736
+ message: string;
737
+ statusCode: number;
738
+ timestamp: string;
739
+ details?: unknown;
740
+ correlationId?: string | undefined;
741
+ }>;
742
+ 409: z.ZodObject<{
743
+ statusCode: z.ZodNumber;
744
+ message: z.ZodString;
745
+ code: z.ZodString;
746
+ details: z.ZodOptional<z.ZodUnknown>;
747
+ timestamp: z.ZodString;
748
+ path: z.ZodString;
749
+ correlationId: z.ZodOptional<z.ZodString>;
750
+ }, "strip", z.ZodTypeAny, {
437
751
  code: string;
752
+ path: string;
753
+ message: string;
438
754
  statusCode: number;
439
755
  timestamp: string;
440
756
  details?: unknown;
441
757
  correlationId?: string | undefined;
442
758
  }, {
759
+ code: string;
760
+ path: string;
443
761
  message: string;
762
+ statusCode: number;
763
+ timestamp: string;
764
+ details?: unknown;
765
+ correlationId?: string | undefined;
766
+ }>;
767
+ };
768
+ };
769
+ reassign: {
770
+ metadata: {
771
+ tags: string[];
772
+ };
773
+ pathParams: z.ZodObject<{
774
+ id: z.ZodString;
775
+ }, "strip", z.ZodTypeAny, {
776
+ id: string;
777
+ }, {
778
+ id: string;
779
+ }>;
780
+ summary: "Reassign a pending outreach request to another Relay pod";
781
+ description: "PENDING only. Rejects non-PENDING requests with 409. Returns the request with its updated assigned pod snapshot.";
782
+ method: "POST";
783
+ body: z.ZodObject<{
784
+ targetPodId: z.ZodString;
785
+ }, "strict", z.ZodTypeAny, {
786
+ targetPodId: string;
787
+ }, {
788
+ targetPodId: string;
789
+ }>;
790
+ path: "/v2/outreach/requests/:id/reassign";
791
+ responses: {
792
+ 400: z.ZodObject<{
793
+ statusCode: z.ZodNumber;
794
+ message: z.ZodString;
795
+ code: z.ZodString;
796
+ details: z.ZodOptional<z.ZodUnknown>;
797
+ timestamp: z.ZodString;
798
+ path: z.ZodString;
799
+ correlationId: z.ZodOptional<z.ZodString>;
800
+ }, "strip", z.ZodTypeAny, {
801
+ code: string;
444
802
  path: string;
803
+ message: string;
804
+ statusCode: number;
805
+ timestamp: string;
806
+ details?: unknown;
807
+ correlationId?: string | undefined;
808
+ }, {
445
809
  code: string;
810
+ path: string;
811
+ message: string;
446
812
  statusCode: number;
447
813
  timestamp: string;
448
814
  details?: unknown;
449
815
  correlationId?: string | undefined;
450
816
  }>;
451
- 500: z.ZodObject<{
817
+ 401: z.ZodObject<{
452
818
  statusCode: z.ZodNumber;
453
819
  message: z.ZodString;
454
820
  code: z.ZodString;
@@ -457,17 +823,67 @@ export declare const outreachRequestsContract: {
457
823
  path: z.ZodString;
458
824
  correlationId: z.ZodOptional<z.ZodString>;
459
825
  }, "strip", z.ZodTypeAny, {
826
+ code: string;
827
+ path: string;
460
828
  message: string;
829
+ statusCode: number;
830
+ timestamp: string;
831
+ details?: unknown;
832
+ correlationId?: string | undefined;
833
+ }, {
834
+ code: string;
461
835
  path: string;
836
+ message: string;
837
+ statusCode: number;
838
+ timestamp: string;
839
+ details?: unknown;
840
+ correlationId?: string | undefined;
841
+ }>;
842
+ 403: z.ZodObject<{
843
+ statusCode: z.ZodNumber;
844
+ message: z.ZodString;
845
+ code: z.ZodString;
846
+ details: z.ZodOptional<z.ZodUnknown>;
847
+ timestamp: z.ZodString;
848
+ path: z.ZodString;
849
+ correlationId: z.ZodOptional<z.ZodString>;
850
+ }, "strip", z.ZodTypeAny, {
462
851
  code: string;
852
+ path: string;
853
+ message: string;
463
854
  statusCode: number;
464
855
  timestamp: string;
465
856
  details?: unknown;
466
857
  correlationId?: string | undefined;
467
858
  }, {
859
+ code: string;
860
+ path: string;
468
861
  message: string;
862
+ statusCode: number;
863
+ timestamp: string;
864
+ details?: unknown;
865
+ correlationId?: string | undefined;
866
+ }>;
867
+ 500: z.ZodObject<{
868
+ statusCode: z.ZodNumber;
869
+ message: z.ZodString;
870
+ code: z.ZodString;
871
+ details: z.ZodOptional<z.ZodUnknown>;
872
+ timestamp: z.ZodString;
873
+ path: z.ZodString;
874
+ correlationId: z.ZodOptional<z.ZodString>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ code: string;
469
877
  path: string;
878
+ message: string;
879
+ statusCode: number;
880
+ timestamp: string;
881
+ details?: unknown;
882
+ correlationId?: string | undefined;
883
+ }, {
470
884
  code: string;
885
+ path: string;
886
+ message: string;
471
887
  statusCode: number;
472
888
  timestamp: string;
473
889
  details?: unknown;
@@ -476,6 +892,7 @@ export declare const outreachRequestsContract: {
476
892
  200: z.ZodObject<{
477
893
  id: z.ZodString;
478
894
  jobId: z.ZodString;
895
+ requestedByUserId: z.ZodString;
479
896
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
480
897
  eligibleAtRequest: z.ZodNumber;
481
898
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -483,26 +900,71 @@ export declare const outreachRequestsContract: {
483
900
  createdAt: z.ZodString;
484
901
  startedAt: z.ZodNullable<z.ZodString>;
485
902
  completedAt: z.ZodNullable<z.ZodString>;
903
+ assignedPod: z.ZodNullable<z.ZodObject<{
904
+ id: z.ZodString;
905
+ slug: z.ZodString;
906
+ displayName: z.ZodString;
907
+ ownerUserId: z.ZodString;
908
+ ownerName: z.ZodNullable<z.ZodString>;
909
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
910
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
911
+ }, "strict", z.ZodTypeAny, {
912
+ id: string;
913
+ status: "ACTIVE" | "INACTIVE";
914
+ slug: string;
915
+ displayName: string;
916
+ ownerUserId: string;
917
+ ownerName: string | null;
918
+ publicBaseUrl: string;
919
+ }, {
920
+ id: string;
921
+ status: "ACTIVE" | "INACTIVE";
922
+ slug: string;
923
+ displayName: string;
924
+ ownerUserId: string;
925
+ ownerName: string | null;
926
+ publicBaseUrl: string;
927
+ }>>;
486
928
  }, "strip", z.ZodTypeAny, {
487
929
  id: string;
488
- createdAt: string;
489
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
490
930
  jobId: string;
491
- startedAt: string | null;
492
- completedAt: string | null;
931
+ requestedByUserId: string;
932
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
933
+ eligibleAtRequest: number;
493
934
  requestedByName: string | null;
494
935
  contactedCount: number;
495
- eligibleAtRequest: number;
936
+ createdAt: string;
937
+ startedAt: string | null;
938
+ completedAt: string | null;
939
+ assignedPod: {
940
+ id: string;
941
+ status: "ACTIVE" | "INACTIVE";
942
+ slug: string;
943
+ displayName: string;
944
+ ownerUserId: string;
945
+ ownerName: string | null;
946
+ publicBaseUrl: string;
947
+ } | null;
496
948
  }, {
497
949
  id: string;
950
+ jobId: string;
951
+ requestedByUserId: string;
952
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
953
+ eligibleAtRequest: number;
954
+ requestedByName: string | null;
955
+ contactedCount: number;
498
956
  createdAt: string;
499
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
500
- jobId: string;
501
957
  startedAt: string | null;
502
958
  completedAt: string | null;
503
- requestedByName: string | null;
504
- contactedCount: number;
505
- eligibleAtRequest: number;
959
+ assignedPod: {
960
+ id: string;
961
+ status: "ACTIVE" | "INACTIVE";
962
+ slug: string;
963
+ displayName: string;
964
+ ownerUserId: string;
965
+ ownerName: string | null;
966
+ publicBaseUrl: string;
967
+ } | null;
506
968
  }>;
507
969
  404: z.ZodObject<{
508
970
  statusCode: z.ZodNumber;
@@ -513,17 +975,42 @@ export declare const outreachRequestsContract: {
513
975
  path: z.ZodString;
514
976
  correlationId: z.ZodOptional<z.ZodString>;
515
977
  }, "strip", z.ZodTypeAny, {
516
- message: string;
517
- path: string;
518
978
  code: string;
979
+ path: string;
980
+ message: string;
519
981
  statusCode: number;
520
982
  timestamp: string;
521
983
  details?: unknown;
522
984
  correlationId?: string | undefined;
523
985
  }, {
986
+ code: string;
987
+ path: string;
524
988
  message: string;
989
+ statusCode: number;
990
+ timestamp: string;
991
+ details?: unknown;
992
+ correlationId?: string | undefined;
993
+ }>;
994
+ 409: z.ZodObject<{
995
+ statusCode: z.ZodNumber;
996
+ message: z.ZodString;
997
+ code: z.ZodString;
998
+ details: z.ZodOptional<z.ZodUnknown>;
999
+ timestamp: z.ZodString;
1000
+ path: z.ZodString;
1001
+ correlationId: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ code: string;
525
1004
  path: string;
1005
+ message: string;
1006
+ statusCode: number;
1007
+ timestamp: string;
1008
+ details?: unknown;
1009
+ correlationId?: string | undefined;
1010
+ }, {
526
1011
  code: string;
1012
+ path: string;
1013
+ message: string;
527
1014
  statusCode: number;
528
1015
  timestamp: string;
529
1016
  details?: unknown;
@@ -532,18 +1019,18 @@ export declare const outreachRequestsContract: {
532
1019
  };
533
1020
  };
534
1021
  list: {
535
- description: string;
536
1022
  metadata: {
537
1023
  tags: string[];
538
1024
  };
539
1025
  query: z.ZodObject<{
540
1026
  status: z.ZodOptional<z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>>;
541
1027
  }, "strip", z.ZodTypeAny, {
542
- status?: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING" | undefined;
1028
+ status?: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | undefined;
543
1029
  }, {
544
- status?: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING" | undefined;
1030
+ status?: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | undefined;
545
1031
  }>;
546
1032
  summary: "The open outreach queue";
1033
+ description: string;
547
1034
  method: "GET";
548
1035
  path: "/v2/outreach/requests";
549
1036
  responses: {
@@ -556,17 +1043,17 @@ export declare const outreachRequestsContract: {
556
1043
  path: z.ZodString;
557
1044
  correlationId: z.ZodOptional<z.ZodString>;
558
1045
  }, "strip", z.ZodTypeAny, {
559
- message: string;
560
- path: string;
561
1046
  code: string;
1047
+ path: string;
1048
+ message: string;
562
1049
  statusCode: number;
563
1050
  timestamp: string;
564
1051
  details?: unknown;
565
1052
  correlationId?: string | undefined;
566
1053
  }, {
567
- message: string;
568
- path: string;
569
1054
  code: string;
1055
+ path: string;
1056
+ message: string;
570
1057
  statusCode: number;
571
1058
  timestamp: string;
572
1059
  details?: unknown;
@@ -581,17 +1068,17 @@ export declare const outreachRequestsContract: {
581
1068
  path: z.ZodString;
582
1069
  correlationId: z.ZodOptional<z.ZodString>;
583
1070
  }, "strip", z.ZodTypeAny, {
584
- message: string;
585
- path: string;
586
1071
  code: string;
1072
+ path: string;
1073
+ message: string;
587
1074
  statusCode: number;
588
1075
  timestamp: string;
589
1076
  details?: unknown;
590
1077
  correlationId?: string | undefined;
591
1078
  }, {
592
- message: string;
593
- path: string;
594
1079
  code: string;
1080
+ path: string;
1081
+ message: string;
595
1082
  statusCode: number;
596
1083
  timestamp: string;
597
1084
  details?: unknown;
@@ -606,17 +1093,17 @@ export declare const outreachRequestsContract: {
606
1093
  path: z.ZodString;
607
1094
  correlationId: z.ZodOptional<z.ZodString>;
608
1095
  }, "strip", z.ZodTypeAny, {
609
- message: string;
610
- path: string;
611
1096
  code: string;
1097
+ path: string;
1098
+ message: string;
612
1099
  statusCode: number;
613
1100
  timestamp: string;
614
1101
  details?: unknown;
615
1102
  correlationId?: string | undefined;
616
1103
  }, {
617
- message: string;
618
- path: string;
619
1104
  code: string;
1105
+ path: string;
1106
+ message: string;
620
1107
  statusCode: number;
621
1108
  timestamp: string;
622
1109
  details?: unknown;
@@ -631,17 +1118,17 @@ export declare const outreachRequestsContract: {
631
1118
  path: z.ZodString;
632
1119
  correlationId: z.ZodOptional<z.ZodString>;
633
1120
  }, "strip", z.ZodTypeAny, {
634
- message: string;
635
- path: string;
636
1121
  code: string;
1122
+ path: string;
1123
+ message: string;
637
1124
  statusCode: number;
638
1125
  timestamp: string;
639
1126
  details?: unknown;
640
1127
  correlationId?: string | undefined;
641
1128
  }, {
642
- message: string;
643
- path: string;
644
1129
  code: string;
1130
+ path: string;
1131
+ message: string;
645
1132
  statusCode: number;
646
1133
  timestamp: string;
647
1134
  details?: unknown;
@@ -651,6 +1138,7 @@ export declare const outreachRequestsContract: {
651
1138
  items: z.ZodArray<z.ZodObject<{
652
1139
  id: z.ZodString;
653
1140
  jobId: z.ZodString;
1141
+ requestedByUserId: z.ZodString;
654
1142
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
655
1143
  eligibleAtRequest: z.ZodNumber;
656
1144
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -658,6 +1146,31 @@ export declare const outreachRequestsContract: {
658
1146
  createdAt: z.ZodString;
659
1147
  startedAt: z.ZodNullable<z.ZodString>;
660
1148
  completedAt: z.ZodNullable<z.ZodString>;
1149
+ assignedPod: z.ZodNullable<z.ZodObject<{
1150
+ id: z.ZodString;
1151
+ slug: z.ZodString;
1152
+ displayName: z.ZodString;
1153
+ ownerUserId: z.ZodString;
1154
+ ownerName: z.ZodNullable<z.ZodString>;
1155
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
1156
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
1157
+ }, "strict", z.ZodTypeAny, {
1158
+ id: string;
1159
+ status: "ACTIVE" | "INACTIVE";
1160
+ slug: string;
1161
+ displayName: string;
1162
+ ownerUserId: string;
1163
+ ownerName: string | null;
1164
+ publicBaseUrl: string;
1165
+ }, {
1166
+ id: string;
1167
+ status: "ACTIVE" | "INACTIVE";
1168
+ slug: string;
1169
+ displayName: string;
1170
+ ownerUserId: string;
1171
+ ownerName: string | null;
1172
+ publicBaseUrl: string;
1173
+ }>>;
661
1174
  } & {
662
1175
  job: z.ZodObject<{
663
1176
  title: z.ZodString;
@@ -666,96 +1179,135 @@ export declare const outreachRequestsContract: {
666
1179
  locationText: z.ZodNullable<z.ZodString>;
667
1180
  createdByName: z.ZodNullable<z.ZodString>;
668
1181
  }, "strip", z.ZodTypeAny, {
669
- createdByName: string | null;
670
1182
  title: string;
671
1183
  trade: string | null;
672
1184
  payText: string | null;
673
1185
  locationText: string | null;
674
- }, {
675
1186
  createdByName: string | null;
1187
+ }, {
676
1188
  title: string;
677
1189
  trade: string | null;
678
1190
  payText: string | null;
679
1191
  locationText: string | null;
1192
+ createdByName: string | null;
680
1193
  }>;
681
1194
  }, "strip", z.ZodTypeAny, {
682
1195
  id: string;
683
- createdAt: string;
684
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
685
1196
  jobId: string;
1197
+ requestedByUserId: string;
1198
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1199
+ eligibleAtRequest: number;
1200
+ requestedByName: string | null;
1201
+ contactedCount: number;
1202
+ createdAt: string;
1203
+ startedAt: string | null;
1204
+ completedAt: string | null;
1205
+ assignedPod: {
1206
+ id: string;
1207
+ status: "ACTIVE" | "INACTIVE";
1208
+ slug: string;
1209
+ displayName: string;
1210
+ ownerUserId: string;
1211
+ ownerName: string | null;
1212
+ publicBaseUrl: string;
1213
+ } | null;
686
1214
  job: {
687
- createdByName: string | null;
688
1215
  title: string;
689
1216
  trade: string | null;
690
1217
  payText: string | null;
691
1218
  locationText: string | null;
1219
+ createdByName: string | null;
692
1220
  };
693
- startedAt: string | null;
694
- completedAt: string | null;
695
- requestedByName: string | null;
696
- contactedCount: number;
697
- eligibleAtRequest: number;
698
1221
  }, {
699
1222
  id: string;
700
- createdAt: string;
701
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
702
1223
  jobId: string;
1224
+ requestedByUserId: string;
1225
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1226
+ eligibleAtRequest: number;
1227
+ requestedByName: string | null;
1228
+ contactedCount: number;
1229
+ createdAt: string;
1230
+ startedAt: string | null;
1231
+ completedAt: string | null;
1232
+ assignedPod: {
1233
+ id: string;
1234
+ status: "ACTIVE" | "INACTIVE";
1235
+ slug: string;
1236
+ displayName: string;
1237
+ ownerUserId: string;
1238
+ ownerName: string | null;
1239
+ publicBaseUrl: string;
1240
+ } | null;
703
1241
  job: {
704
- createdByName: string | null;
705
1242
  title: string;
706
1243
  trade: string | null;
707
1244
  payText: string | null;
708
1245
  locationText: string | null;
1246
+ createdByName: string | null;
709
1247
  };
710
- startedAt: string | null;
711
- completedAt: string | null;
712
- requestedByName: string | null;
713
- contactedCount: number;
714
- eligibleAtRequest: number;
715
1248
  }>, "many">;
716
1249
  }, "strip", z.ZodTypeAny, {
717
1250
  items: {
718
1251
  id: string;
719
- createdAt: string;
720
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
721
1252
  jobId: string;
1253
+ requestedByUserId: string;
1254
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1255
+ eligibleAtRequest: number;
1256
+ requestedByName: string | null;
1257
+ contactedCount: number;
1258
+ createdAt: string;
1259
+ startedAt: string | null;
1260
+ completedAt: string | null;
1261
+ assignedPod: {
1262
+ id: string;
1263
+ status: "ACTIVE" | "INACTIVE";
1264
+ slug: string;
1265
+ displayName: string;
1266
+ ownerUserId: string;
1267
+ ownerName: string | null;
1268
+ publicBaseUrl: string;
1269
+ } | null;
722
1270
  job: {
723
- createdByName: string | null;
724
1271
  title: string;
725
1272
  trade: string | null;
726
1273
  payText: string | null;
727
1274
  locationText: string | null;
1275
+ createdByName: string | null;
728
1276
  };
729
- startedAt: string | null;
730
- completedAt: string | null;
731
- requestedByName: string | null;
732
- contactedCount: number;
733
- eligibleAtRequest: number;
734
1277
  }[];
735
1278
  }, {
736
1279
  items: {
737
1280
  id: string;
738
- createdAt: string;
739
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
740
1281
  jobId: string;
1282
+ requestedByUserId: string;
1283
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1284
+ eligibleAtRequest: number;
1285
+ requestedByName: string | null;
1286
+ contactedCount: number;
1287
+ createdAt: string;
1288
+ startedAt: string | null;
1289
+ completedAt: string | null;
1290
+ assignedPod: {
1291
+ id: string;
1292
+ status: "ACTIVE" | "INACTIVE";
1293
+ slug: string;
1294
+ displayName: string;
1295
+ ownerUserId: string;
1296
+ ownerName: string | null;
1297
+ publicBaseUrl: string;
1298
+ } | null;
741
1299
  job: {
742
- createdByName: string | null;
743
1300
  title: string;
744
1301
  trade: string | null;
745
1302
  payText: string | null;
746
1303
  locationText: string | null;
1304
+ createdByName: string | null;
747
1305
  };
748
- startedAt: string | null;
749
- completedAt: string | null;
750
- requestedByName: string | null;
751
- contactedCount: number;
752
- eligibleAtRequest: number;
753
1306
  }[];
754
1307
  }>;
755
1308
  };
756
1309
  };
757
1310
  start: {
758
- description: string;
759
1311
  metadata: {
760
1312
  tags: string[];
761
1313
  };
@@ -767,6 +1319,7 @@ export declare const outreachRequestsContract: {
767
1319
  id: string;
768
1320
  }>;
769
1321
  summary: "Mark a request as being worked";
1322
+ description: string;
770
1323
  method: "POST";
771
1324
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
772
1325
  path: "/v2/outreach/requests/:id/start";
@@ -780,17 +1333,17 @@ export declare const outreachRequestsContract: {
780
1333
  path: z.ZodString;
781
1334
  correlationId: z.ZodOptional<z.ZodString>;
782
1335
  }, "strip", z.ZodTypeAny, {
783
- message: string;
784
- path: string;
785
1336
  code: string;
1337
+ path: string;
1338
+ message: string;
786
1339
  statusCode: number;
787
1340
  timestamp: string;
788
1341
  details?: unknown;
789
1342
  correlationId?: string | undefined;
790
1343
  }, {
791
- message: string;
792
- path: string;
793
1344
  code: string;
1345
+ path: string;
1346
+ message: string;
794
1347
  statusCode: number;
795
1348
  timestamp: string;
796
1349
  details?: unknown;
@@ -805,17 +1358,17 @@ export declare const outreachRequestsContract: {
805
1358
  path: z.ZodString;
806
1359
  correlationId: z.ZodOptional<z.ZodString>;
807
1360
  }, "strip", z.ZodTypeAny, {
808
- message: string;
809
- path: string;
810
1361
  code: string;
1362
+ path: string;
1363
+ message: string;
811
1364
  statusCode: number;
812
1365
  timestamp: string;
813
1366
  details?: unknown;
814
1367
  correlationId?: string | undefined;
815
1368
  }, {
816
- message: string;
817
- path: string;
818
1369
  code: string;
1370
+ path: string;
1371
+ message: string;
819
1372
  statusCode: number;
820
1373
  timestamp: string;
821
1374
  details?: unknown;
@@ -830,17 +1383,17 @@ export declare const outreachRequestsContract: {
830
1383
  path: z.ZodString;
831
1384
  correlationId: z.ZodOptional<z.ZodString>;
832
1385
  }, "strip", z.ZodTypeAny, {
833
- message: string;
834
- path: string;
835
1386
  code: string;
1387
+ path: string;
1388
+ message: string;
836
1389
  statusCode: number;
837
1390
  timestamp: string;
838
1391
  details?: unknown;
839
1392
  correlationId?: string | undefined;
840
1393
  }, {
841
- message: string;
842
- path: string;
843
1394
  code: string;
1395
+ path: string;
1396
+ message: string;
844
1397
  statusCode: number;
845
1398
  timestamp: string;
846
1399
  details?: unknown;
@@ -855,17 +1408,17 @@ export declare const outreachRequestsContract: {
855
1408
  path: z.ZodString;
856
1409
  correlationId: z.ZodOptional<z.ZodString>;
857
1410
  }, "strip", z.ZodTypeAny, {
858
- message: string;
859
- path: string;
860
1411
  code: string;
1412
+ path: string;
1413
+ message: string;
861
1414
  statusCode: number;
862
1415
  timestamp: string;
863
1416
  details?: unknown;
864
1417
  correlationId?: string | undefined;
865
1418
  }, {
866
- message: string;
867
- path: string;
868
1419
  code: string;
1420
+ path: string;
1421
+ message: string;
869
1422
  statusCode: number;
870
1423
  timestamp: string;
871
1424
  details?: unknown;
@@ -874,6 +1427,7 @@ export declare const outreachRequestsContract: {
874
1427
  200: z.ZodObject<{
875
1428
  id: z.ZodString;
876
1429
  jobId: z.ZodString;
1430
+ requestedByUserId: z.ZodString;
877
1431
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
878
1432
  eligibleAtRequest: z.ZodNumber;
879
1433
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -881,26 +1435,71 @@ export declare const outreachRequestsContract: {
881
1435
  createdAt: z.ZodString;
882
1436
  startedAt: z.ZodNullable<z.ZodString>;
883
1437
  completedAt: z.ZodNullable<z.ZodString>;
1438
+ assignedPod: z.ZodNullable<z.ZodObject<{
1439
+ id: z.ZodString;
1440
+ slug: z.ZodString;
1441
+ displayName: z.ZodString;
1442
+ ownerUserId: z.ZodString;
1443
+ ownerName: z.ZodNullable<z.ZodString>;
1444
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
1445
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
1446
+ }, "strict", z.ZodTypeAny, {
1447
+ id: string;
1448
+ status: "ACTIVE" | "INACTIVE";
1449
+ slug: string;
1450
+ displayName: string;
1451
+ ownerUserId: string;
1452
+ ownerName: string | null;
1453
+ publicBaseUrl: string;
1454
+ }, {
1455
+ id: string;
1456
+ status: "ACTIVE" | "INACTIVE";
1457
+ slug: string;
1458
+ displayName: string;
1459
+ ownerUserId: string;
1460
+ ownerName: string | null;
1461
+ publicBaseUrl: string;
1462
+ }>>;
884
1463
  }, "strip", z.ZodTypeAny, {
885
1464
  id: string;
886
- createdAt: string;
887
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
888
1465
  jobId: string;
889
- startedAt: string | null;
890
- completedAt: string | null;
1466
+ requestedByUserId: string;
1467
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1468
+ eligibleAtRequest: number;
891
1469
  requestedByName: string | null;
892
1470
  contactedCount: number;
893
- eligibleAtRequest: number;
894
- }, {
895
- id: string;
896
1471
  createdAt: string;
897
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
898
- jobId: string;
899
1472
  startedAt: string | null;
900
1473
  completedAt: string | null;
1474
+ assignedPod: {
1475
+ id: string;
1476
+ status: "ACTIVE" | "INACTIVE";
1477
+ slug: string;
1478
+ displayName: string;
1479
+ ownerUserId: string;
1480
+ ownerName: string | null;
1481
+ publicBaseUrl: string;
1482
+ } | null;
1483
+ }, {
1484
+ id: string;
1485
+ jobId: string;
1486
+ requestedByUserId: string;
1487
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1488
+ eligibleAtRequest: number;
901
1489
  requestedByName: string | null;
902
1490
  contactedCount: number;
903
- eligibleAtRequest: number;
1491
+ createdAt: string;
1492
+ startedAt: string | null;
1493
+ completedAt: string | null;
1494
+ assignedPod: {
1495
+ id: string;
1496
+ status: "ACTIVE" | "INACTIVE";
1497
+ slug: string;
1498
+ displayName: string;
1499
+ ownerUserId: string;
1500
+ ownerName: string | null;
1501
+ publicBaseUrl: string;
1502
+ } | null;
904
1503
  }>;
905
1504
  404: z.ZodObject<{
906
1505
  statusCode: z.ZodNumber;
@@ -911,17 +1510,17 @@ export declare const outreachRequestsContract: {
911
1510
  path: z.ZodString;
912
1511
  correlationId: z.ZodOptional<z.ZodString>;
913
1512
  }, "strip", z.ZodTypeAny, {
914
- message: string;
915
- path: string;
916
1513
  code: string;
1514
+ path: string;
1515
+ message: string;
917
1516
  statusCode: number;
918
1517
  timestamp: string;
919
1518
  details?: unknown;
920
1519
  correlationId?: string | undefined;
921
1520
  }, {
922
- message: string;
923
- path: string;
924
1521
  code: string;
1522
+ path: string;
1523
+ message: string;
925
1524
  statusCode: number;
926
1525
  timestamp: string;
927
1526
  details?: unknown;
@@ -930,7 +1529,6 @@ export declare const outreachRequestsContract: {
930
1529
  };
931
1530
  };
932
1531
  complete: {
933
- description: string;
934
1532
  metadata: {
935
1533
  tags: string[];
936
1534
  };
@@ -942,6 +1540,7 @@ export declare const outreachRequestsContract: {
942
1540
  id: string;
943
1541
  }>;
944
1542
  summary: "Mark a request as drained or ended";
1543
+ description: string;
945
1544
  method: "POST";
946
1545
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
947
1546
  path: "/v2/outreach/requests/:id/complete";
@@ -955,17 +1554,17 @@ export declare const outreachRequestsContract: {
955
1554
  path: z.ZodString;
956
1555
  correlationId: z.ZodOptional<z.ZodString>;
957
1556
  }, "strip", z.ZodTypeAny, {
958
- message: string;
959
- path: string;
960
1557
  code: string;
1558
+ path: string;
1559
+ message: string;
961
1560
  statusCode: number;
962
1561
  timestamp: string;
963
1562
  details?: unknown;
964
1563
  correlationId?: string | undefined;
965
1564
  }, {
966
- message: string;
967
- path: string;
968
1565
  code: string;
1566
+ path: string;
1567
+ message: string;
969
1568
  statusCode: number;
970
1569
  timestamp: string;
971
1570
  details?: unknown;
@@ -980,17 +1579,17 @@ export declare const outreachRequestsContract: {
980
1579
  path: z.ZodString;
981
1580
  correlationId: z.ZodOptional<z.ZodString>;
982
1581
  }, "strip", z.ZodTypeAny, {
983
- message: string;
984
- path: string;
985
1582
  code: string;
1583
+ path: string;
1584
+ message: string;
986
1585
  statusCode: number;
987
1586
  timestamp: string;
988
1587
  details?: unknown;
989
1588
  correlationId?: string | undefined;
990
1589
  }, {
991
- message: string;
992
- path: string;
993
1590
  code: string;
1591
+ path: string;
1592
+ message: string;
994
1593
  statusCode: number;
995
1594
  timestamp: string;
996
1595
  details?: unknown;
@@ -1005,17 +1604,17 @@ export declare const outreachRequestsContract: {
1005
1604
  path: z.ZodString;
1006
1605
  correlationId: z.ZodOptional<z.ZodString>;
1007
1606
  }, "strip", z.ZodTypeAny, {
1008
- message: string;
1009
- path: string;
1010
1607
  code: string;
1608
+ path: string;
1609
+ message: string;
1011
1610
  statusCode: number;
1012
1611
  timestamp: string;
1013
1612
  details?: unknown;
1014
1613
  correlationId?: string | undefined;
1015
1614
  }, {
1016
- message: string;
1017
- path: string;
1018
1615
  code: string;
1616
+ path: string;
1617
+ message: string;
1019
1618
  statusCode: number;
1020
1619
  timestamp: string;
1021
1620
  details?: unknown;
@@ -1030,17 +1629,17 @@ export declare const outreachRequestsContract: {
1030
1629
  path: z.ZodString;
1031
1630
  correlationId: z.ZodOptional<z.ZodString>;
1032
1631
  }, "strip", z.ZodTypeAny, {
1033
- message: string;
1034
- path: string;
1035
1632
  code: string;
1633
+ path: string;
1634
+ message: string;
1036
1635
  statusCode: number;
1037
1636
  timestamp: string;
1038
1637
  details?: unknown;
1039
1638
  correlationId?: string | undefined;
1040
1639
  }, {
1041
- message: string;
1042
- path: string;
1043
1640
  code: string;
1641
+ path: string;
1642
+ message: string;
1044
1643
  statusCode: number;
1045
1644
  timestamp: string;
1046
1645
  details?: unknown;
@@ -1049,6 +1648,7 @@ export declare const outreachRequestsContract: {
1049
1648
  200: z.ZodObject<{
1050
1649
  id: z.ZodString;
1051
1650
  jobId: z.ZodString;
1651
+ requestedByUserId: z.ZodString;
1052
1652
  status: z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>;
1053
1653
  eligibleAtRequest: z.ZodNumber;
1054
1654
  requestedByName: z.ZodNullable<z.ZodString>;
@@ -1056,26 +1656,71 @@ export declare const outreachRequestsContract: {
1056
1656
  createdAt: z.ZodString;
1057
1657
  startedAt: z.ZodNullable<z.ZodString>;
1058
1658
  completedAt: z.ZodNullable<z.ZodString>;
1659
+ assignedPod: z.ZodNullable<z.ZodObject<{
1660
+ id: z.ZodString;
1661
+ slug: z.ZodString;
1662
+ displayName: z.ZodString;
1663
+ ownerUserId: z.ZodString;
1664
+ ownerName: z.ZodNullable<z.ZodString>;
1665
+ publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
1666
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
1667
+ }, "strict", z.ZodTypeAny, {
1668
+ id: string;
1669
+ status: "ACTIVE" | "INACTIVE";
1670
+ slug: string;
1671
+ displayName: string;
1672
+ ownerUserId: string;
1673
+ ownerName: string | null;
1674
+ publicBaseUrl: string;
1675
+ }, {
1676
+ id: string;
1677
+ status: "ACTIVE" | "INACTIVE";
1678
+ slug: string;
1679
+ displayName: string;
1680
+ ownerUserId: string;
1681
+ ownerName: string | null;
1682
+ publicBaseUrl: string;
1683
+ }>>;
1059
1684
  }, "strip", z.ZodTypeAny, {
1060
1685
  id: string;
1061
- createdAt: string;
1062
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
1063
1686
  jobId: string;
1064
- startedAt: string | null;
1065
- completedAt: string | null;
1687
+ requestedByUserId: string;
1688
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1689
+ eligibleAtRequest: number;
1066
1690
  requestedByName: string | null;
1067
1691
  contactedCount: number;
1068
- eligibleAtRequest: number;
1069
- }, {
1070
- id: string;
1071
1692
  createdAt: string;
1072
- status: "PENDING" | "COMPLETED" | "CANCELLED" | "RUNNING";
1073
- jobId: string;
1074
1693
  startedAt: string | null;
1075
1694
  completedAt: string | null;
1695
+ assignedPod: {
1696
+ id: string;
1697
+ status: "ACTIVE" | "INACTIVE";
1698
+ slug: string;
1699
+ displayName: string;
1700
+ ownerUserId: string;
1701
+ ownerName: string | null;
1702
+ publicBaseUrl: string;
1703
+ } | null;
1704
+ }, {
1705
+ id: string;
1706
+ jobId: string;
1707
+ requestedByUserId: string;
1708
+ status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
1709
+ eligibleAtRequest: number;
1076
1710
  requestedByName: string | null;
1077
1711
  contactedCount: number;
1078
- eligibleAtRequest: number;
1712
+ createdAt: string;
1713
+ startedAt: string | null;
1714
+ completedAt: string | null;
1715
+ assignedPod: {
1716
+ id: string;
1717
+ status: "ACTIVE" | "INACTIVE";
1718
+ slug: string;
1719
+ displayName: string;
1720
+ ownerUserId: string;
1721
+ ownerName: string | null;
1722
+ publicBaseUrl: string;
1723
+ } | null;
1079
1724
  }>;
1080
1725
  404: z.ZodObject<{
1081
1726
  statusCode: z.ZodNumber;
@@ -1086,17 +1731,17 @@ export declare const outreachRequestsContract: {
1086
1731
  path: z.ZodString;
1087
1732
  correlationId: z.ZodOptional<z.ZodString>;
1088
1733
  }, "strip", z.ZodTypeAny, {
1089
- message: string;
1090
- path: string;
1091
1734
  code: string;
1735
+ path: string;
1736
+ message: string;
1092
1737
  statusCode: number;
1093
1738
  timestamp: string;
1094
1739
  details?: unknown;
1095
1740
  correlationId?: string | undefined;
1096
1741
  }, {
1097
- message: string;
1098
- path: string;
1099
1742
  code: string;
1743
+ path: string;
1744
+ message: string;
1100
1745
  statusCode: number;
1101
1746
  timestamp: string;
1102
1747
  details?: unknown;