@dakkitor/api-contracts 1.7.0 → 1.8.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.
- package/dist/abilities/abilities.contract.spec.js +39 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +2 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +2562 -2515
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +908 -908
- package/dist/auth/auth.contract.d.ts +50 -44
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +4918 -4824
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +434 -434
- package/dist/calls-feed/calls-feed.contract.d.ts +70 -70
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1412 -1412
- package/dist/collaborations/collaborations.contract.d.ts +1278 -1278
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +19 -6
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +1255 -1188
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +22 -6
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +347 -304
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +6058 -5381
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +88 -88
- package/dist/curated-workers/curated-workers.contract.d.ts +1173 -962
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +43 -73
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +426 -426
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +3610 -3610
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +56 -56
- package/dist/lead-assignments/lead-assignments.contract.d.ts +706 -706
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +220 -220
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +86 -86
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +18 -18
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- package/dist/outreach/outreach.contract.d.ts +12 -12
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1156 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +103 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +119 -0
- package/dist/own-research/own-research.contract.d.ts +708 -708
- package/dist/proofs/proofs.contract.d.ts +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +115 -86
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +16 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +87 -58
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -1
- package/dist/relay-pods/relay-lab-fleet.schemas.js +22 -5
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +226 -226
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +327 -325
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +10 -7
- package/dist/users/users.contract.spec.js +15 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +35 -35
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +1969 -1775
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -21,16 +21,16 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
|
|
|
21
21
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
22
22
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
23
23
|
}, "strict", z.ZodTypeAny, {
|
|
24
|
-
id: string;
|
|
25
24
|
status: "ACTIVE" | "INACTIVE";
|
|
25
|
+
id: string;
|
|
26
26
|
slug: string;
|
|
27
27
|
displayName: string;
|
|
28
28
|
ownerUserId: string;
|
|
29
29
|
ownerName: string | null;
|
|
30
30
|
publicBaseUrl: string;
|
|
31
31
|
}, {
|
|
32
|
-
id: string;
|
|
33
32
|
status: "ACTIVE" | "INACTIVE";
|
|
33
|
+
id: string;
|
|
34
34
|
slug: string;
|
|
35
35
|
displayName: string;
|
|
36
36
|
ownerUserId: string;
|
|
@@ -48,32 +48,40 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
|
|
|
48
48
|
locationText: z.ZodNullable<z.ZodString>;
|
|
49
49
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
createdByName: string | null;
|
|
51
52
|
title: string;
|
|
52
53
|
trade: string | null;
|
|
53
54
|
payText: string | null;
|
|
54
55
|
locationText: string | null;
|
|
55
|
-
createdByName: string | null;
|
|
56
56
|
}, {
|
|
57
|
+
createdByName: string | null;
|
|
57
58
|
title: string;
|
|
58
59
|
trade: string | null;
|
|
59
60
|
payText: string | null;
|
|
60
61
|
locationText: string | null;
|
|
61
|
-
createdByName: string | null;
|
|
62
62
|
}>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
64
65
|
id: string;
|
|
66
|
+
createdAt: string;
|
|
65
67
|
jobId: string;
|
|
68
|
+
job: {
|
|
69
|
+
createdByName: string | null;
|
|
70
|
+
title: string;
|
|
71
|
+
trade: string | null;
|
|
72
|
+
payText: string | null;
|
|
73
|
+
locationText: string | null;
|
|
74
|
+
};
|
|
75
|
+
terminalAt: string | null;
|
|
76
|
+
completedAt: string | null;
|
|
77
|
+
startedAt: string | null;
|
|
66
78
|
requestedByUserId: string;
|
|
67
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
68
79
|
eligibleAtRequest: number;
|
|
69
80
|
requestedByName: string | null;
|
|
70
81
|
contactedCount: number;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
startedAt: string | null;
|
|
73
|
-
completedAt: string | null;
|
|
74
82
|
assignedPod: {
|
|
75
|
-
id: string;
|
|
76
83
|
status: "ACTIVE" | "INACTIVE";
|
|
84
|
+
id: string;
|
|
77
85
|
slug: string;
|
|
78
86
|
displayName: string;
|
|
79
87
|
ownerUserId: string;
|
|
@@ -82,28 +90,28 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
|
|
|
82
90
|
} | null;
|
|
83
91
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
84
92
|
terminalCampaignId: string | null;
|
|
85
|
-
|
|
93
|
+
}, {
|
|
94
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
95
|
+
id: string;
|
|
96
|
+
createdAt: string;
|
|
97
|
+
jobId: string;
|
|
86
98
|
job: {
|
|
99
|
+
createdByName: string | null;
|
|
87
100
|
title: string;
|
|
88
101
|
trade: string | null;
|
|
89
102
|
payText: string | null;
|
|
90
103
|
locationText: string | null;
|
|
91
|
-
createdByName: string | null;
|
|
92
104
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
105
|
+
terminalAt: string | null;
|
|
106
|
+
completedAt: string | null;
|
|
107
|
+
startedAt: string | null;
|
|
96
108
|
requestedByUserId: string;
|
|
97
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
98
109
|
eligibleAtRequest: number;
|
|
99
110
|
requestedByName: string | null;
|
|
100
111
|
contactedCount: number;
|
|
101
|
-
createdAt: string;
|
|
102
|
-
startedAt: string | null;
|
|
103
|
-
completedAt: string | null;
|
|
104
112
|
assignedPod: {
|
|
105
|
-
id: string;
|
|
106
113
|
status: "ACTIVE" | "INACTIVE";
|
|
114
|
+
id: string;
|
|
107
115
|
slug: string;
|
|
108
116
|
displayName: string;
|
|
109
117
|
ownerUserId: string;
|
|
@@ -112,14 +120,6 @@ export declare const OutreachRequestQueueItemSchema: z.ZodObject<{
|
|
|
112
120
|
} | null;
|
|
113
121
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
114
122
|
terminalCampaignId: string | null;
|
|
115
|
-
terminalAt: string | null;
|
|
116
|
-
job: {
|
|
117
|
-
title: string;
|
|
118
|
-
trade: string | null;
|
|
119
|
-
payText: string | null;
|
|
120
|
-
locationText: string | null;
|
|
121
|
-
createdByName: string | null;
|
|
122
|
-
};
|
|
123
123
|
}>;
|
|
124
124
|
export type OutreachRequestQueueItem = z.infer<typeof OutreachRequestQueueItemSchema>;
|
|
125
125
|
export declare const CreateOutreachRequestBodySchema: z.ZodObject<{
|
|
@@ -154,16 +154,16 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
154
154
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
155
155
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
156
156
|
}, "strict", z.ZodTypeAny, {
|
|
157
|
-
id: string;
|
|
158
157
|
status: "ACTIVE" | "INACTIVE";
|
|
158
|
+
id: string;
|
|
159
159
|
slug: string;
|
|
160
160
|
displayName: string;
|
|
161
161
|
ownerUserId: string;
|
|
162
162
|
ownerName: string | null;
|
|
163
163
|
publicBaseUrl: string;
|
|
164
164
|
}, {
|
|
165
|
-
id: string;
|
|
166
165
|
status: "ACTIVE" | "INACTIVE";
|
|
166
|
+
id: string;
|
|
167
167
|
slug: string;
|
|
168
168
|
displayName: string;
|
|
169
169
|
ownerUserId: string;
|
|
@@ -181,32 +181,40 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
181
181
|
locationText: z.ZodNullable<z.ZodString>;
|
|
182
182
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
createdByName: string | null;
|
|
184
185
|
title: string;
|
|
185
186
|
trade: string | null;
|
|
186
187
|
payText: string | null;
|
|
187
188
|
locationText: string | null;
|
|
188
|
-
createdByName: string | null;
|
|
189
189
|
}, {
|
|
190
|
+
createdByName: string | null;
|
|
190
191
|
title: string;
|
|
191
192
|
trade: string | null;
|
|
192
193
|
payText: string | null;
|
|
193
194
|
locationText: string | null;
|
|
194
|
-
createdByName: string | null;
|
|
195
195
|
}>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
197
198
|
id: string;
|
|
199
|
+
createdAt: string;
|
|
198
200
|
jobId: string;
|
|
201
|
+
job: {
|
|
202
|
+
createdByName: string | null;
|
|
203
|
+
title: string;
|
|
204
|
+
trade: string | null;
|
|
205
|
+
payText: string | null;
|
|
206
|
+
locationText: string | null;
|
|
207
|
+
};
|
|
208
|
+
terminalAt: string | null;
|
|
209
|
+
completedAt: string | null;
|
|
210
|
+
startedAt: string | null;
|
|
199
211
|
requestedByUserId: string;
|
|
200
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
201
212
|
eligibleAtRequest: number;
|
|
202
213
|
requestedByName: string | null;
|
|
203
214
|
contactedCount: number;
|
|
204
|
-
createdAt: string;
|
|
205
|
-
startedAt: string | null;
|
|
206
|
-
completedAt: string | null;
|
|
207
215
|
assignedPod: {
|
|
208
|
-
id: string;
|
|
209
216
|
status: "ACTIVE" | "INACTIVE";
|
|
217
|
+
id: string;
|
|
210
218
|
slug: string;
|
|
211
219
|
displayName: string;
|
|
212
220
|
ownerUserId: string;
|
|
@@ -215,28 +223,28 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
215
223
|
} | null;
|
|
216
224
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
217
225
|
terminalCampaignId: string | null;
|
|
218
|
-
|
|
226
|
+
}, {
|
|
227
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
228
|
+
id: string;
|
|
229
|
+
createdAt: string;
|
|
230
|
+
jobId: string;
|
|
219
231
|
job: {
|
|
232
|
+
createdByName: string | null;
|
|
220
233
|
title: string;
|
|
221
234
|
trade: string | null;
|
|
222
235
|
payText: string | null;
|
|
223
236
|
locationText: string | null;
|
|
224
|
-
createdByName: string | null;
|
|
225
237
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
238
|
+
terminalAt: string | null;
|
|
239
|
+
completedAt: string | null;
|
|
240
|
+
startedAt: string | null;
|
|
229
241
|
requestedByUserId: string;
|
|
230
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
231
242
|
eligibleAtRequest: number;
|
|
232
243
|
requestedByName: string | null;
|
|
233
244
|
contactedCount: number;
|
|
234
|
-
createdAt: string;
|
|
235
|
-
startedAt: string | null;
|
|
236
|
-
completedAt: string | null;
|
|
237
245
|
assignedPod: {
|
|
238
|
-
id: string;
|
|
239
246
|
status: "ACTIVE" | "INACTIVE";
|
|
247
|
+
id: string;
|
|
240
248
|
slug: string;
|
|
241
249
|
displayName: string;
|
|
242
250
|
ownerUserId: string;
|
|
@@ -245,30 +253,30 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
245
253
|
} | null;
|
|
246
254
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
247
255
|
terminalCampaignId: string | null;
|
|
248
|
-
|
|
256
|
+
}>, "many">;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
items: {
|
|
259
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
260
|
+
id: string;
|
|
261
|
+
createdAt: string;
|
|
262
|
+
jobId: string;
|
|
249
263
|
job: {
|
|
264
|
+
createdByName: string | null;
|
|
250
265
|
title: string;
|
|
251
266
|
trade: string | null;
|
|
252
267
|
payText: string | null;
|
|
253
268
|
locationText: string | null;
|
|
254
|
-
createdByName: string | null;
|
|
255
269
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
id: string;
|
|
260
|
-
jobId: string;
|
|
270
|
+
terminalAt: string | null;
|
|
271
|
+
completedAt: string | null;
|
|
272
|
+
startedAt: string | null;
|
|
261
273
|
requestedByUserId: string;
|
|
262
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
263
274
|
eligibleAtRequest: number;
|
|
264
275
|
requestedByName: string | null;
|
|
265
276
|
contactedCount: number;
|
|
266
|
-
createdAt: string;
|
|
267
|
-
startedAt: string | null;
|
|
268
|
-
completedAt: string | null;
|
|
269
277
|
assignedPod: {
|
|
270
|
-
id: string;
|
|
271
278
|
status: "ACTIVE" | "INACTIVE";
|
|
279
|
+
id: string;
|
|
272
280
|
slug: string;
|
|
273
281
|
displayName: string;
|
|
274
282
|
ownerUserId: string;
|
|
@@ -277,30 +285,30 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
277
285
|
} | null;
|
|
278
286
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
279
287
|
terminalCampaignId: string | null;
|
|
280
|
-
|
|
288
|
+
}[];
|
|
289
|
+
}, {
|
|
290
|
+
items: {
|
|
291
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
292
|
+
id: string;
|
|
293
|
+
createdAt: string;
|
|
294
|
+
jobId: string;
|
|
281
295
|
job: {
|
|
296
|
+
createdByName: string | null;
|
|
282
297
|
title: string;
|
|
283
298
|
trade: string | null;
|
|
284
299
|
payText: string | null;
|
|
285
300
|
locationText: string | null;
|
|
286
|
-
createdByName: string | null;
|
|
287
301
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
id: string;
|
|
292
|
-
jobId: string;
|
|
302
|
+
terminalAt: string | null;
|
|
303
|
+
completedAt: string | null;
|
|
304
|
+
startedAt: string | null;
|
|
293
305
|
requestedByUserId: string;
|
|
294
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
295
306
|
eligibleAtRequest: number;
|
|
296
307
|
requestedByName: string | null;
|
|
297
308
|
contactedCount: number;
|
|
298
|
-
createdAt: string;
|
|
299
|
-
startedAt: string | null;
|
|
300
|
-
completedAt: string | null;
|
|
301
309
|
assignedPod: {
|
|
302
|
-
id: string;
|
|
303
310
|
status: "ACTIVE" | "INACTIVE";
|
|
311
|
+
id: string;
|
|
304
312
|
slug: string;
|
|
305
313
|
displayName: string;
|
|
306
314
|
ownerUserId: string;
|
|
@@ -309,24 +317,16 @@ export declare const ListOutreachRequestsResponseSchema: z.ZodObject<{
|
|
|
309
317
|
} | null;
|
|
310
318
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
311
319
|
terminalCampaignId: string | null;
|
|
312
|
-
terminalAt: string | null;
|
|
313
|
-
job: {
|
|
314
|
-
title: string;
|
|
315
|
-
trade: string | null;
|
|
316
|
-
payText: string | null;
|
|
317
|
-
locationText: string | null;
|
|
318
|
-
createdByName: string | null;
|
|
319
|
-
};
|
|
320
320
|
}[];
|
|
321
321
|
}>;
|
|
322
322
|
export type ListOutreachRequestsResponse = z.infer<typeof ListOutreachRequestsResponseSchema>;
|
|
323
323
|
export declare const outreachRequestsContract: {
|
|
324
324
|
create: {
|
|
325
|
+
description: string;
|
|
325
326
|
metadata: {
|
|
326
327
|
tags: string[];
|
|
327
328
|
};
|
|
328
329
|
summary: "Mark a job for outreach";
|
|
329
|
-
description: string;
|
|
330
330
|
method: "POST";
|
|
331
331
|
body: z.ZodObject<{
|
|
332
332
|
jobId: z.ZodString;
|
|
@@ -349,17 +349,17 @@ export declare const outreachRequestsContract: {
|
|
|
349
349
|
path: z.ZodString;
|
|
350
350
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
message: string;
|
|
352
353
|
code: string;
|
|
353
354
|
path: string;
|
|
354
|
-
message: string;
|
|
355
355
|
statusCode: number;
|
|
356
356
|
timestamp: string;
|
|
357
357
|
details?: unknown;
|
|
358
358
|
correlationId?: string | undefined;
|
|
359
359
|
}, {
|
|
360
|
+
message: string;
|
|
360
361
|
code: string;
|
|
361
362
|
path: string;
|
|
362
|
-
message: string;
|
|
363
363
|
statusCode: number;
|
|
364
364
|
timestamp: string;
|
|
365
365
|
details?: unknown;
|
|
@@ -374,17 +374,17 @@ export declare const outreachRequestsContract: {
|
|
|
374
374
|
path: z.ZodString;
|
|
375
375
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
message: string;
|
|
377
378
|
code: string;
|
|
378
379
|
path: string;
|
|
379
|
-
message: string;
|
|
380
380
|
statusCode: number;
|
|
381
381
|
timestamp: string;
|
|
382
382
|
details?: unknown;
|
|
383
383
|
correlationId?: string | undefined;
|
|
384
384
|
}, {
|
|
385
|
+
message: string;
|
|
385
386
|
code: string;
|
|
386
387
|
path: string;
|
|
387
|
-
message: string;
|
|
388
388
|
statusCode: number;
|
|
389
389
|
timestamp: string;
|
|
390
390
|
details?: unknown;
|
|
@@ -399,17 +399,17 @@ export declare const outreachRequestsContract: {
|
|
|
399
399
|
path: z.ZodString;
|
|
400
400
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
message: string;
|
|
402
403
|
code: string;
|
|
403
404
|
path: string;
|
|
404
|
-
message: string;
|
|
405
405
|
statusCode: number;
|
|
406
406
|
timestamp: string;
|
|
407
407
|
details?: unknown;
|
|
408
408
|
correlationId?: string | undefined;
|
|
409
409
|
}, {
|
|
410
|
+
message: string;
|
|
410
411
|
code: string;
|
|
411
412
|
path: string;
|
|
412
|
-
message: string;
|
|
413
413
|
statusCode: number;
|
|
414
414
|
timestamp: string;
|
|
415
415
|
details?: unknown;
|
|
@@ -424,17 +424,17 @@ export declare const outreachRequestsContract: {
|
|
|
424
424
|
path: z.ZodString;
|
|
425
425
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
426
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
+
message: string;
|
|
427
428
|
code: string;
|
|
428
429
|
path: string;
|
|
429
|
-
message: string;
|
|
430
430
|
statusCode: number;
|
|
431
431
|
timestamp: string;
|
|
432
432
|
details?: unknown;
|
|
433
433
|
correlationId?: string | undefined;
|
|
434
434
|
}, {
|
|
435
|
+
message: string;
|
|
435
436
|
code: string;
|
|
436
437
|
path: string;
|
|
437
|
-
message: string;
|
|
438
438
|
statusCode: number;
|
|
439
439
|
timestamp: string;
|
|
440
440
|
details?: unknown;
|
|
@@ -460,16 +460,16 @@ export declare const outreachRequestsContract: {
|
|
|
460
460
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
461
461
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
462
462
|
}, "strict", z.ZodTypeAny, {
|
|
463
|
-
id: string;
|
|
464
463
|
status: "ACTIVE" | "INACTIVE";
|
|
464
|
+
id: string;
|
|
465
465
|
slug: string;
|
|
466
466
|
displayName: string;
|
|
467
467
|
ownerUserId: string;
|
|
468
468
|
ownerName: string | null;
|
|
469
469
|
publicBaseUrl: string;
|
|
470
470
|
}, {
|
|
471
|
-
id: string;
|
|
472
471
|
status: "ACTIVE" | "INACTIVE";
|
|
472
|
+
id: string;
|
|
473
473
|
slug: string;
|
|
474
474
|
displayName: string;
|
|
475
475
|
ownerUserId: string;
|
|
@@ -480,19 +480,20 @@ export declare const outreachRequestsContract: {
|
|
|
480
480
|
terminalCampaignId: z.ZodNullable<z.ZodString>;
|
|
481
481
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
483
484
|
id: string;
|
|
485
|
+
createdAt: string;
|
|
484
486
|
jobId: string;
|
|
487
|
+
terminalAt: string | null;
|
|
488
|
+
completedAt: string | null;
|
|
489
|
+
startedAt: string | null;
|
|
485
490
|
requestedByUserId: string;
|
|
486
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
487
491
|
eligibleAtRequest: number;
|
|
488
492
|
requestedByName: string | null;
|
|
489
493
|
contactedCount: number;
|
|
490
|
-
createdAt: string;
|
|
491
|
-
startedAt: string | null;
|
|
492
|
-
completedAt: string | null;
|
|
493
494
|
assignedPod: {
|
|
494
|
-
id: string;
|
|
495
495
|
status: "ACTIVE" | "INACTIVE";
|
|
496
|
+
id: string;
|
|
496
497
|
slug: string;
|
|
497
498
|
displayName: string;
|
|
498
499
|
ownerUserId: string;
|
|
@@ -501,21 +502,21 @@ export declare const outreachRequestsContract: {
|
|
|
501
502
|
} | null;
|
|
502
503
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
503
504
|
terminalCampaignId: string | null;
|
|
504
|
-
terminalAt: string | null;
|
|
505
505
|
}, {
|
|
506
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
506
507
|
id: string;
|
|
508
|
+
createdAt: string;
|
|
507
509
|
jobId: string;
|
|
510
|
+
terminalAt: string | null;
|
|
511
|
+
completedAt: string | null;
|
|
512
|
+
startedAt: string | null;
|
|
508
513
|
requestedByUserId: string;
|
|
509
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
510
514
|
eligibleAtRequest: number;
|
|
511
515
|
requestedByName: string | null;
|
|
512
516
|
contactedCount: number;
|
|
513
|
-
createdAt: string;
|
|
514
|
-
startedAt: string | null;
|
|
515
|
-
completedAt: string | null;
|
|
516
517
|
assignedPod: {
|
|
517
|
-
id: string;
|
|
518
518
|
status: "ACTIVE" | "INACTIVE";
|
|
519
|
+
id: string;
|
|
519
520
|
slug: string;
|
|
520
521
|
displayName: string;
|
|
521
522
|
ownerUserId: string;
|
|
@@ -524,7 +525,6 @@ export declare const outreachRequestsContract: {
|
|
|
524
525
|
} | null;
|
|
525
526
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
526
527
|
terminalCampaignId: string | null;
|
|
527
|
-
terminalAt: string | null;
|
|
528
528
|
}>;
|
|
529
529
|
404: z.ZodObject<{
|
|
530
530
|
statusCode: z.ZodNumber;
|
|
@@ -535,17 +535,17 @@ export declare const outreachRequestsContract: {
|
|
|
535
535
|
path: z.ZodString;
|
|
536
536
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
+
message: string;
|
|
538
539
|
code: string;
|
|
539
540
|
path: string;
|
|
540
|
-
message: string;
|
|
541
541
|
statusCode: number;
|
|
542
542
|
timestamp: string;
|
|
543
543
|
details?: unknown;
|
|
544
544
|
correlationId?: string | undefined;
|
|
545
545
|
}, {
|
|
546
|
+
message: string;
|
|
546
547
|
code: string;
|
|
547
548
|
path: string;
|
|
548
|
-
message: string;
|
|
549
549
|
statusCode: number;
|
|
550
550
|
timestamp: string;
|
|
551
551
|
details?: unknown;
|
|
@@ -554,6 +554,7 @@ export declare const outreachRequestsContract: {
|
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
cancel: {
|
|
557
|
+
description: string;
|
|
557
558
|
metadata: {
|
|
558
559
|
tags: string[];
|
|
559
560
|
};
|
|
@@ -565,7 +566,6 @@ export declare const outreachRequestsContract: {
|
|
|
565
566
|
id: string;
|
|
566
567
|
}>;
|
|
567
568
|
summary: "Withdraw an outreach request";
|
|
568
|
-
description: string;
|
|
569
569
|
method: "POST";
|
|
570
570
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
571
571
|
path: "/v2/outreach/requests/:id/cancel";
|
|
@@ -579,17 +579,17 @@ export declare const outreachRequestsContract: {
|
|
|
579
579
|
path: z.ZodString;
|
|
580
580
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
581
581
|
}, "strip", z.ZodTypeAny, {
|
|
582
|
+
message: string;
|
|
582
583
|
code: string;
|
|
583
584
|
path: string;
|
|
584
|
-
message: string;
|
|
585
585
|
statusCode: number;
|
|
586
586
|
timestamp: string;
|
|
587
587
|
details?: unknown;
|
|
588
588
|
correlationId?: string | undefined;
|
|
589
589
|
}, {
|
|
590
|
+
message: string;
|
|
590
591
|
code: string;
|
|
591
592
|
path: string;
|
|
592
|
-
message: string;
|
|
593
593
|
statusCode: number;
|
|
594
594
|
timestamp: string;
|
|
595
595
|
details?: unknown;
|
|
@@ -604,17 +604,17 @@ export declare const outreachRequestsContract: {
|
|
|
604
604
|
path: z.ZodString;
|
|
605
605
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
message: string;
|
|
607
608
|
code: string;
|
|
608
609
|
path: string;
|
|
609
|
-
message: string;
|
|
610
610
|
statusCode: number;
|
|
611
611
|
timestamp: string;
|
|
612
612
|
details?: unknown;
|
|
613
613
|
correlationId?: string | undefined;
|
|
614
614
|
}, {
|
|
615
|
+
message: string;
|
|
615
616
|
code: string;
|
|
616
617
|
path: string;
|
|
617
|
-
message: string;
|
|
618
618
|
statusCode: number;
|
|
619
619
|
timestamp: string;
|
|
620
620
|
details?: unknown;
|
|
@@ -629,17 +629,17 @@ export declare const outreachRequestsContract: {
|
|
|
629
629
|
path: z.ZodString;
|
|
630
630
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
+
message: string;
|
|
632
633
|
code: string;
|
|
633
634
|
path: string;
|
|
634
|
-
message: string;
|
|
635
635
|
statusCode: number;
|
|
636
636
|
timestamp: string;
|
|
637
637
|
details?: unknown;
|
|
638
638
|
correlationId?: string | undefined;
|
|
639
639
|
}, {
|
|
640
|
+
message: string;
|
|
640
641
|
code: string;
|
|
641
642
|
path: string;
|
|
642
|
-
message: string;
|
|
643
643
|
statusCode: number;
|
|
644
644
|
timestamp: string;
|
|
645
645
|
details?: unknown;
|
|
@@ -654,17 +654,17 @@ export declare const outreachRequestsContract: {
|
|
|
654
654
|
path: z.ZodString;
|
|
655
655
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
656
656
|
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
message: string;
|
|
657
658
|
code: string;
|
|
658
659
|
path: string;
|
|
659
|
-
message: string;
|
|
660
660
|
statusCode: number;
|
|
661
661
|
timestamp: string;
|
|
662
662
|
details?: unknown;
|
|
663
663
|
correlationId?: string | undefined;
|
|
664
664
|
}, {
|
|
665
|
+
message: string;
|
|
665
666
|
code: string;
|
|
666
667
|
path: string;
|
|
667
|
-
message: string;
|
|
668
668
|
statusCode: number;
|
|
669
669
|
timestamp: string;
|
|
670
670
|
details?: unknown;
|
|
@@ -690,16 +690,16 @@ export declare const outreachRequestsContract: {
|
|
|
690
690
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
691
691
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
692
692
|
}, "strict", z.ZodTypeAny, {
|
|
693
|
-
id: string;
|
|
694
693
|
status: "ACTIVE" | "INACTIVE";
|
|
694
|
+
id: string;
|
|
695
695
|
slug: string;
|
|
696
696
|
displayName: string;
|
|
697
697
|
ownerUserId: string;
|
|
698
698
|
ownerName: string | null;
|
|
699
699
|
publicBaseUrl: string;
|
|
700
700
|
}, {
|
|
701
|
-
id: string;
|
|
702
701
|
status: "ACTIVE" | "INACTIVE";
|
|
702
|
+
id: string;
|
|
703
703
|
slug: string;
|
|
704
704
|
displayName: string;
|
|
705
705
|
ownerUserId: string;
|
|
@@ -710,19 +710,20 @@ export declare const outreachRequestsContract: {
|
|
|
710
710
|
terminalCampaignId: z.ZodNullable<z.ZodString>;
|
|
711
711
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
712
712
|
}, "strip", z.ZodTypeAny, {
|
|
713
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
713
714
|
id: string;
|
|
715
|
+
createdAt: string;
|
|
714
716
|
jobId: string;
|
|
717
|
+
terminalAt: string | null;
|
|
718
|
+
completedAt: string | null;
|
|
719
|
+
startedAt: string | null;
|
|
715
720
|
requestedByUserId: string;
|
|
716
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
717
721
|
eligibleAtRequest: number;
|
|
718
722
|
requestedByName: string | null;
|
|
719
723
|
contactedCount: number;
|
|
720
|
-
createdAt: string;
|
|
721
|
-
startedAt: string | null;
|
|
722
|
-
completedAt: string | null;
|
|
723
724
|
assignedPod: {
|
|
724
|
-
id: string;
|
|
725
725
|
status: "ACTIVE" | "INACTIVE";
|
|
726
|
+
id: string;
|
|
726
727
|
slug: string;
|
|
727
728
|
displayName: string;
|
|
728
729
|
ownerUserId: string;
|
|
@@ -731,21 +732,21 @@ export declare const outreachRequestsContract: {
|
|
|
731
732
|
} | null;
|
|
732
733
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
733
734
|
terminalCampaignId: string | null;
|
|
734
|
-
terminalAt: string | null;
|
|
735
735
|
}, {
|
|
736
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
736
737
|
id: string;
|
|
738
|
+
createdAt: string;
|
|
737
739
|
jobId: string;
|
|
740
|
+
terminalAt: string | null;
|
|
741
|
+
completedAt: string | null;
|
|
742
|
+
startedAt: string | null;
|
|
738
743
|
requestedByUserId: string;
|
|
739
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
740
744
|
eligibleAtRequest: number;
|
|
741
745
|
requestedByName: string | null;
|
|
742
746
|
contactedCount: number;
|
|
743
|
-
createdAt: string;
|
|
744
|
-
startedAt: string | null;
|
|
745
|
-
completedAt: string | null;
|
|
746
747
|
assignedPod: {
|
|
747
|
-
id: string;
|
|
748
748
|
status: "ACTIVE" | "INACTIVE";
|
|
749
|
+
id: string;
|
|
749
750
|
slug: string;
|
|
750
751
|
displayName: string;
|
|
751
752
|
ownerUserId: string;
|
|
@@ -754,7 +755,6 @@ export declare const outreachRequestsContract: {
|
|
|
754
755
|
} | null;
|
|
755
756
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
756
757
|
terminalCampaignId: string | null;
|
|
757
|
-
terminalAt: string | null;
|
|
758
758
|
}>;
|
|
759
759
|
404: z.ZodObject<{
|
|
760
760
|
statusCode: z.ZodNumber;
|
|
@@ -765,17 +765,17 @@ export declare const outreachRequestsContract: {
|
|
|
765
765
|
path: z.ZodString;
|
|
766
766
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
767
767
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
+
message: string;
|
|
768
769
|
code: string;
|
|
769
770
|
path: string;
|
|
770
|
-
message: string;
|
|
771
771
|
statusCode: number;
|
|
772
772
|
timestamp: string;
|
|
773
773
|
details?: unknown;
|
|
774
774
|
correlationId?: string | undefined;
|
|
775
775
|
}, {
|
|
776
|
+
message: string;
|
|
776
777
|
code: string;
|
|
777
778
|
path: string;
|
|
778
|
-
message: string;
|
|
779
779
|
statusCode: number;
|
|
780
780
|
timestamp: string;
|
|
781
781
|
details?: unknown;
|
|
@@ -790,17 +790,17 @@ export declare const outreachRequestsContract: {
|
|
|
790
790
|
path: z.ZodString;
|
|
791
791
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
message: string;
|
|
793
794
|
code: string;
|
|
794
795
|
path: string;
|
|
795
|
-
message: string;
|
|
796
796
|
statusCode: number;
|
|
797
797
|
timestamp: string;
|
|
798
798
|
details?: unknown;
|
|
799
799
|
correlationId?: string | undefined;
|
|
800
800
|
}, {
|
|
801
|
+
message: string;
|
|
801
802
|
code: string;
|
|
802
803
|
path: string;
|
|
803
|
-
message: string;
|
|
804
804
|
statusCode: number;
|
|
805
805
|
timestamp: string;
|
|
806
806
|
details?: unknown;
|
|
@@ -809,6 +809,7 @@ export declare const outreachRequestsContract: {
|
|
|
809
809
|
};
|
|
810
810
|
};
|
|
811
811
|
reassign: {
|
|
812
|
+
description: "PENDING only. Rejects non-PENDING requests with 409. Returns the request with its updated assigned pod snapshot.";
|
|
812
813
|
metadata: {
|
|
813
814
|
tags: string[];
|
|
814
815
|
};
|
|
@@ -820,7 +821,6 @@ export declare const outreachRequestsContract: {
|
|
|
820
821
|
id: string;
|
|
821
822
|
}>;
|
|
822
823
|
summary: "Reassign a pending outreach request to another Relay pod";
|
|
823
|
-
description: "PENDING only. Rejects non-PENDING requests with 409. Returns the request with its updated assigned pod snapshot.";
|
|
824
824
|
method: "POST";
|
|
825
825
|
body: z.ZodObject<{
|
|
826
826
|
targetPodId: z.ZodString;
|
|
@@ -840,17 +840,17 @@ export declare const outreachRequestsContract: {
|
|
|
840
840
|
path: z.ZodString;
|
|
841
841
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
842
842
|
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
message: string;
|
|
843
844
|
code: string;
|
|
844
845
|
path: string;
|
|
845
|
-
message: string;
|
|
846
846
|
statusCode: number;
|
|
847
847
|
timestamp: string;
|
|
848
848
|
details?: unknown;
|
|
849
849
|
correlationId?: string | undefined;
|
|
850
850
|
}, {
|
|
851
|
+
message: string;
|
|
851
852
|
code: string;
|
|
852
853
|
path: string;
|
|
853
|
-
message: string;
|
|
854
854
|
statusCode: number;
|
|
855
855
|
timestamp: string;
|
|
856
856
|
details?: unknown;
|
|
@@ -865,17 +865,17 @@ export declare const outreachRequestsContract: {
|
|
|
865
865
|
path: z.ZodString;
|
|
866
866
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
+
message: string;
|
|
868
869
|
code: string;
|
|
869
870
|
path: string;
|
|
870
|
-
message: string;
|
|
871
871
|
statusCode: number;
|
|
872
872
|
timestamp: string;
|
|
873
873
|
details?: unknown;
|
|
874
874
|
correlationId?: string | undefined;
|
|
875
875
|
}, {
|
|
876
|
+
message: string;
|
|
876
877
|
code: string;
|
|
877
878
|
path: string;
|
|
878
|
-
message: string;
|
|
879
879
|
statusCode: number;
|
|
880
880
|
timestamp: string;
|
|
881
881
|
details?: unknown;
|
|
@@ -890,17 +890,17 @@ export declare const outreachRequestsContract: {
|
|
|
890
890
|
path: z.ZodString;
|
|
891
891
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
892
892
|
}, "strip", z.ZodTypeAny, {
|
|
893
|
+
message: string;
|
|
893
894
|
code: string;
|
|
894
895
|
path: string;
|
|
895
|
-
message: string;
|
|
896
896
|
statusCode: number;
|
|
897
897
|
timestamp: string;
|
|
898
898
|
details?: unknown;
|
|
899
899
|
correlationId?: string | undefined;
|
|
900
900
|
}, {
|
|
901
|
+
message: string;
|
|
901
902
|
code: string;
|
|
902
903
|
path: string;
|
|
903
|
-
message: string;
|
|
904
904
|
statusCode: number;
|
|
905
905
|
timestamp: string;
|
|
906
906
|
details?: unknown;
|
|
@@ -915,17 +915,17 @@ export declare const outreachRequestsContract: {
|
|
|
915
915
|
path: z.ZodString;
|
|
916
916
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
message: string;
|
|
918
919
|
code: string;
|
|
919
920
|
path: string;
|
|
920
|
-
message: string;
|
|
921
921
|
statusCode: number;
|
|
922
922
|
timestamp: string;
|
|
923
923
|
details?: unknown;
|
|
924
924
|
correlationId?: string | undefined;
|
|
925
925
|
}, {
|
|
926
|
+
message: string;
|
|
926
927
|
code: string;
|
|
927
928
|
path: string;
|
|
928
|
-
message: string;
|
|
929
929
|
statusCode: number;
|
|
930
930
|
timestamp: string;
|
|
931
931
|
details?: unknown;
|
|
@@ -951,16 +951,16 @@ export declare const outreachRequestsContract: {
|
|
|
951
951
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
952
952
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
953
953
|
}, "strict", z.ZodTypeAny, {
|
|
954
|
-
id: string;
|
|
955
954
|
status: "ACTIVE" | "INACTIVE";
|
|
955
|
+
id: string;
|
|
956
956
|
slug: string;
|
|
957
957
|
displayName: string;
|
|
958
958
|
ownerUserId: string;
|
|
959
959
|
ownerName: string | null;
|
|
960
960
|
publicBaseUrl: string;
|
|
961
961
|
}, {
|
|
962
|
-
id: string;
|
|
963
962
|
status: "ACTIVE" | "INACTIVE";
|
|
963
|
+
id: string;
|
|
964
964
|
slug: string;
|
|
965
965
|
displayName: string;
|
|
966
966
|
ownerUserId: string;
|
|
@@ -971,19 +971,20 @@ export declare const outreachRequestsContract: {
|
|
|
971
971
|
terminalCampaignId: z.ZodNullable<z.ZodString>;
|
|
972
972
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
973
973
|
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
974
975
|
id: string;
|
|
976
|
+
createdAt: string;
|
|
975
977
|
jobId: string;
|
|
978
|
+
terminalAt: string | null;
|
|
979
|
+
completedAt: string | null;
|
|
980
|
+
startedAt: string | null;
|
|
976
981
|
requestedByUserId: string;
|
|
977
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
978
982
|
eligibleAtRequest: number;
|
|
979
983
|
requestedByName: string | null;
|
|
980
984
|
contactedCount: number;
|
|
981
|
-
createdAt: string;
|
|
982
|
-
startedAt: string | null;
|
|
983
|
-
completedAt: string | null;
|
|
984
985
|
assignedPod: {
|
|
985
|
-
id: string;
|
|
986
986
|
status: "ACTIVE" | "INACTIVE";
|
|
987
|
+
id: string;
|
|
987
988
|
slug: string;
|
|
988
989
|
displayName: string;
|
|
989
990
|
ownerUserId: string;
|
|
@@ -992,21 +993,21 @@ export declare const outreachRequestsContract: {
|
|
|
992
993
|
} | null;
|
|
993
994
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
994
995
|
terminalCampaignId: string | null;
|
|
995
|
-
terminalAt: string | null;
|
|
996
996
|
}, {
|
|
997
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
997
998
|
id: string;
|
|
999
|
+
createdAt: string;
|
|
998
1000
|
jobId: string;
|
|
1001
|
+
terminalAt: string | null;
|
|
1002
|
+
completedAt: string | null;
|
|
1003
|
+
startedAt: string | null;
|
|
999
1004
|
requestedByUserId: string;
|
|
1000
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1001
1005
|
eligibleAtRequest: number;
|
|
1002
1006
|
requestedByName: string | null;
|
|
1003
1007
|
contactedCount: number;
|
|
1004
|
-
createdAt: string;
|
|
1005
|
-
startedAt: string | null;
|
|
1006
|
-
completedAt: string | null;
|
|
1007
1008
|
assignedPod: {
|
|
1008
|
-
id: string;
|
|
1009
1009
|
status: "ACTIVE" | "INACTIVE";
|
|
1010
|
+
id: string;
|
|
1010
1011
|
slug: string;
|
|
1011
1012
|
displayName: string;
|
|
1012
1013
|
ownerUserId: string;
|
|
@@ -1015,7 +1016,6 @@ export declare const outreachRequestsContract: {
|
|
|
1015
1016
|
} | null;
|
|
1016
1017
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1017
1018
|
terminalCampaignId: string | null;
|
|
1018
|
-
terminalAt: string | null;
|
|
1019
1019
|
}>;
|
|
1020
1020
|
404: z.ZodObject<{
|
|
1021
1021
|
statusCode: z.ZodNumber;
|
|
@@ -1026,17 +1026,17 @@ export declare const outreachRequestsContract: {
|
|
|
1026
1026
|
path: z.ZodString;
|
|
1027
1027
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1028
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
message: string;
|
|
1029
1030
|
code: string;
|
|
1030
1031
|
path: string;
|
|
1031
|
-
message: string;
|
|
1032
1032
|
statusCode: number;
|
|
1033
1033
|
timestamp: string;
|
|
1034
1034
|
details?: unknown;
|
|
1035
1035
|
correlationId?: string | undefined;
|
|
1036
1036
|
}, {
|
|
1037
|
+
message: string;
|
|
1037
1038
|
code: string;
|
|
1038
1039
|
path: string;
|
|
1039
|
-
message: string;
|
|
1040
1040
|
statusCode: number;
|
|
1041
1041
|
timestamp: string;
|
|
1042
1042
|
details?: unknown;
|
|
@@ -1051,17 +1051,17 @@ export declare const outreachRequestsContract: {
|
|
|
1051
1051
|
path: z.ZodString;
|
|
1052
1052
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1053
1053
|
}, "strip", z.ZodTypeAny, {
|
|
1054
|
+
message: string;
|
|
1054
1055
|
code: string;
|
|
1055
1056
|
path: string;
|
|
1056
|
-
message: string;
|
|
1057
1057
|
statusCode: number;
|
|
1058
1058
|
timestamp: string;
|
|
1059
1059
|
details?: unknown;
|
|
1060
1060
|
correlationId?: string | undefined;
|
|
1061
1061
|
}, {
|
|
1062
|
+
message: string;
|
|
1062
1063
|
code: string;
|
|
1063
1064
|
path: string;
|
|
1064
|
-
message: string;
|
|
1065
1065
|
statusCode: number;
|
|
1066
1066
|
timestamp: string;
|
|
1067
1067
|
details?: unknown;
|
|
@@ -1070,18 +1070,18 @@ export declare const outreachRequestsContract: {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
1072
|
list: {
|
|
1073
|
-
|
|
1074
|
-
tags: string[];
|
|
1075
|
-
};
|
|
1073
|
+
description: string;
|
|
1076
1074
|
query: z.ZodObject<{
|
|
1077
1075
|
status: z.ZodOptional<z.ZodEnum<["PENDING", "RUNNING", "COMPLETED", "CANCELLED"]>>;
|
|
1078
1076
|
}, "strip", z.ZodTypeAny, {
|
|
1079
|
-
status?: "PENDING" | "
|
|
1077
|
+
status?: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING" | undefined;
|
|
1080
1078
|
}, {
|
|
1081
|
-
status?: "PENDING" | "
|
|
1079
|
+
status?: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING" | undefined;
|
|
1082
1080
|
}>;
|
|
1081
|
+
metadata: {
|
|
1082
|
+
tags: string[];
|
|
1083
|
+
};
|
|
1083
1084
|
summary: "The open outreach queue";
|
|
1084
|
-
description: string;
|
|
1085
1085
|
method: "GET";
|
|
1086
1086
|
path: "/v2/outreach/requests";
|
|
1087
1087
|
responses: {
|
|
@@ -1094,17 +1094,17 @@ export declare const outreachRequestsContract: {
|
|
|
1094
1094
|
path: z.ZodString;
|
|
1095
1095
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1096
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
+
message: string;
|
|
1097
1098
|
code: string;
|
|
1098
1099
|
path: string;
|
|
1099
|
-
message: string;
|
|
1100
1100
|
statusCode: number;
|
|
1101
1101
|
timestamp: string;
|
|
1102
1102
|
details?: unknown;
|
|
1103
1103
|
correlationId?: string | undefined;
|
|
1104
1104
|
}, {
|
|
1105
|
+
message: string;
|
|
1105
1106
|
code: string;
|
|
1106
1107
|
path: string;
|
|
1107
|
-
message: string;
|
|
1108
1108
|
statusCode: number;
|
|
1109
1109
|
timestamp: string;
|
|
1110
1110
|
details?: unknown;
|
|
@@ -1119,17 +1119,17 @@ export declare const outreachRequestsContract: {
|
|
|
1119
1119
|
path: z.ZodString;
|
|
1120
1120
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1121
1121
|
}, "strip", z.ZodTypeAny, {
|
|
1122
|
+
message: string;
|
|
1122
1123
|
code: string;
|
|
1123
1124
|
path: string;
|
|
1124
|
-
message: string;
|
|
1125
1125
|
statusCode: number;
|
|
1126
1126
|
timestamp: string;
|
|
1127
1127
|
details?: unknown;
|
|
1128
1128
|
correlationId?: string | undefined;
|
|
1129
1129
|
}, {
|
|
1130
|
+
message: string;
|
|
1130
1131
|
code: string;
|
|
1131
1132
|
path: string;
|
|
1132
|
-
message: string;
|
|
1133
1133
|
statusCode: number;
|
|
1134
1134
|
timestamp: string;
|
|
1135
1135
|
details?: unknown;
|
|
@@ -1144,17 +1144,17 @@ export declare const outreachRequestsContract: {
|
|
|
1144
1144
|
path: z.ZodString;
|
|
1145
1145
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1146
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
+
message: string;
|
|
1147
1148
|
code: string;
|
|
1148
1149
|
path: string;
|
|
1149
|
-
message: string;
|
|
1150
1150
|
statusCode: number;
|
|
1151
1151
|
timestamp: string;
|
|
1152
1152
|
details?: unknown;
|
|
1153
1153
|
correlationId?: string | undefined;
|
|
1154
1154
|
}, {
|
|
1155
|
+
message: string;
|
|
1155
1156
|
code: string;
|
|
1156
1157
|
path: string;
|
|
1157
|
-
message: string;
|
|
1158
1158
|
statusCode: number;
|
|
1159
1159
|
timestamp: string;
|
|
1160
1160
|
details?: unknown;
|
|
@@ -1169,17 +1169,17 @@ export declare const outreachRequestsContract: {
|
|
|
1169
1169
|
path: z.ZodString;
|
|
1170
1170
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1171
1171
|
}, "strip", z.ZodTypeAny, {
|
|
1172
|
+
message: string;
|
|
1172
1173
|
code: string;
|
|
1173
1174
|
path: string;
|
|
1174
|
-
message: string;
|
|
1175
1175
|
statusCode: number;
|
|
1176
1176
|
timestamp: string;
|
|
1177
1177
|
details?: unknown;
|
|
1178
1178
|
correlationId?: string | undefined;
|
|
1179
1179
|
}, {
|
|
1180
|
+
message: string;
|
|
1180
1181
|
code: string;
|
|
1181
1182
|
path: string;
|
|
1182
|
-
message: string;
|
|
1183
1183
|
statusCode: number;
|
|
1184
1184
|
timestamp: string;
|
|
1185
1185
|
details?: unknown;
|
|
@@ -1206,16 +1206,16 @@ export declare const outreachRequestsContract: {
|
|
|
1206
1206
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
1207
1207
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1208
1208
|
}, "strict", z.ZodTypeAny, {
|
|
1209
|
-
id: string;
|
|
1210
1209
|
status: "ACTIVE" | "INACTIVE";
|
|
1210
|
+
id: string;
|
|
1211
1211
|
slug: string;
|
|
1212
1212
|
displayName: string;
|
|
1213
1213
|
ownerUserId: string;
|
|
1214
1214
|
ownerName: string | null;
|
|
1215
1215
|
publicBaseUrl: string;
|
|
1216
1216
|
}, {
|
|
1217
|
-
id: string;
|
|
1218
1217
|
status: "ACTIVE" | "INACTIVE";
|
|
1218
|
+
id: string;
|
|
1219
1219
|
slug: string;
|
|
1220
1220
|
displayName: string;
|
|
1221
1221
|
ownerUserId: string;
|
|
@@ -1233,32 +1233,40 @@ export declare const outreachRequestsContract: {
|
|
|
1233
1233
|
locationText: z.ZodNullable<z.ZodString>;
|
|
1234
1234
|
createdByName: z.ZodNullable<z.ZodString>;
|
|
1235
1235
|
}, "strip", z.ZodTypeAny, {
|
|
1236
|
+
createdByName: string | null;
|
|
1236
1237
|
title: string;
|
|
1237
1238
|
trade: string | null;
|
|
1238
1239
|
payText: string | null;
|
|
1239
1240
|
locationText: string | null;
|
|
1240
|
-
createdByName: string | null;
|
|
1241
1241
|
}, {
|
|
1242
|
+
createdByName: string | null;
|
|
1242
1243
|
title: string;
|
|
1243
1244
|
trade: string | null;
|
|
1244
1245
|
payText: string | null;
|
|
1245
1246
|
locationText: string | null;
|
|
1246
|
-
createdByName: string | null;
|
|
1247
1247
|
}>;
|
|
1248
1248
|
}, "strip", z.ZodTypeAny, {
|
|
1249
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1249
1250
|
id: string;
|
|
1251
|
+
createdAt: string;
|
|
1250
1252
|
jobId: string;
|
|
1253
|
+
job: {
|
|
1254
|
+
createdByName: string | null;
|
|
1255
|
+
title: string;
|
|
1256
|
+
trade: string | null;
|
|
1257
|
+
payText: string | null;
|
|
1258
|
+
locationText: string | null;
|
|
1259
|
+
};
|
|
1260
|
+
terminalAt: string | null;
|
|
1261
|
+
completedAt: string | null;
|
|
1262
|
+
startedAt: string | null;
|
|
1251
1263
|
requestedByUserId: string;
|
|
1252
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1253
1264
|
eligibleAtRequest: number;
|
|
1254
1265
|
requestedByName: string | null;
|
|
1255
1266
|
contactedCount: number;
|
|
1256
|
-
createdAt: string;
|
|
1257
|
-
startedAt: string | null;
|
|
1258
|
-
completedAt: string | null;
|
|
1259
1267
|
assignedPod: {
|
|
1260
|
-
id: string;
|
|
1261
1268
|
status: "ACTIVE" | "INACTIVE";
|
|
1269
|
+
id: string;
|
|
1262
1270
|
slug: string;
|
|
1263
1271
|
displayName: string;
|
|
1264
1272
|
ownerUserId: string;
|
|
@@ -1267,28 +1275,28 @@ export declare const outreachRequestsContract: {
|
|
|
1267
1275
|
} | null;
|
|
1268
1276
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1269
1277
|
terminalCampaignId: string | null;
|
|
1270
|
-
|
|
1278
|
+
}, {
|
|
1279
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1280
|
+
id: string;
|
|
1281
|
+
createdAt: string;
|
|
1282
|
+
jobId: string;
|
|
1271
1283
|
job: {
|
|
1284
|
+
createdByName: string | null;
|
|
1272
1285
|
title: string;
|
|
1273
1286
|
trade: string | null;
|
|
1274
1287
|
payText: string | null;
|
|
1275
1288
|
locationText: string | null;
|
|
1276
|
-
createdByName: string | null;
|
|
1277
1289
|
};
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1290
|
+
terminalAt: string | null;
|
|
1291
|
+
completedAt: string | null;
|
|
1292
|
+
startedAt: string | null;
|
|
1281
1293
|
requestedByUserId: string;
|
|
1282
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1283
1294
|
eligibleAtRequest: number;
|
|
1284
1295
|
requestedByName: string | null;
|
|
1285
1296
|
contactedCount: number;
|
|
1286
|
-
createdAt: string;
|
|
1287
|
-
startedAt: string | null;
|
|
1288
|
-
completedAt: string | null;
|
|
1289
1297
|
assignedPod: {
|
|
1290
|
-
id: string;
|
|
1291
1298
|
status: "ACTIVE" | "INACTIVE";
|
|
1299
|
+
id: string;
|
|
1292
1300
|
slug: string;
|
|
1293
1301
|
displayName: string;
|
|
1294
1302
|
ownerUserId: string;
|
|
@@ -1297,30 +1305,30 @@ export declare const outreachRequestsContract: {
|
|
|
1297
1305
|
} | null;
|
|
1298
1306
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1299
1307
|
terminalCampaignId: string | null;
|
|
1300
|
-
|
|
1308
|
+
}>, "many">;
|
|
1309
|
+
}, "strip", z.ZodTypeAny, {
|
|
1310
|
+
items: {
|
|
1311
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1312
|
+
id: string;
|
|
1313
|
+
createdAt: string;
|
|
1314
|
+
jobId: string;
|
|
1301
1315
|
job: {
|
|
1316
|
+
createdByName: string | null;
|
|
1302
1317
|
title: string;
|
|
1303
1318
|
trade: string | null;
|
|
1304
1319
|
payText: string | null;
|
|
1305
1320
|
locationText: string | null;
|
|
1306
|
-
createdByName: string | null;
|
|
1307
1321
|
};
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
id: string;
|
|
1312
|
-
jobId: string;
|
|
1322
|
+
terminalAt: string | null;
|
|
1323
|
+
completedAt: string | null;
|
|
1324
|
+
startedAt: string | null;
|
|
1313
1325
|
requestedByUserId: string;
|
|
1314
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1315
1326
|
eligibleAtRequest: number;
|
|
1316
1327
|
requestedByName: string | null;
|
|
1317
1328
|
contactedCount: number;
|
|
1318
|
-
createdAt: string;
|
|
1319
|
-
startedAt: string | null;
|
|
1320
|
-
completedAt: string | null;
|
|
1321
1329
|
assignedPod: {
|
|
1322
|
-
id: string;
|
|
1323
1330
|
status: "ACTIVE" | "INACTIVE";
|
|
1331
|
+
id: string;
|
|
1324
1332
|
slug: string;
|
|
1325
1333
|
displayName: string;
|
|
1326
1334
|
ownerUserId: string;
|
|
@@ -1329,30 +1337,30 @@ export declare const outreachRequestsContract: {
|
|
|
1329
1337
|
} | null;
|
|
1330
1338
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1331
1339
|
terminalCampaignId: string | null;
|
|
1332
|
-
|
|
1340
|
+
}[];
|
|
1341
|
+
}, {
|
|
1342
|
+
items: {
|
|
1343
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1344
|
+
id: string;
|
|
1345
|
+
createdAt: string;
|
|
1346
|
+
jobId: string;
|
|
1333
1347
|
job: {
|
|
1348
|
+
createdByName: string | null;
|
|
1334
1349
|
title: string;
|
|
1335
1350
|
trade: string | null;
|
|
1336
1351
|
payText: string | null;
|
|
1337
1352
|
locationText: string | null;
|
|
1338
|
-
createdByName: string | null;
|
|
1339
1353
|
};
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
id: string;
|
|
1344
|
-
jobId: string;
|
|
1354
|
+
terminalAt: string | null;
|
|
1355
|
+
completedAt: string | null;
|
|
1356
|
+
startedAt: string | null;
|
|
1345
1357
|
requestedByUserId: string;
|
|
1346
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1347
1358
|
eligibleAtRequest: number;
|
|
1348
1359
|
requestedByName: string | null;
|
|
1349
1360
|
contactedCount: number;
|
|
1350
|
-
createdAt: string;
|
|
1351
|
-
startedAt: string | null;
|
|
1352
|
-
completedAt: string | null;
|
|
1353
1361
|
assignedPod: {
|
|
1354
|
-
id: string;
|
|
1355
1362
|
status: "ACTIVE" | "INACTIVE";
|
|
1363
|
+
id: string;
|
|
1356
1364
|
slug: string;
|
|
1357
1365
|
displayName: string;
|
|
1358
1366
|
ownerUserId: string;
|
|
@@ -1361,19 +1369,12 @@ export declare const outreachRequestsContract: {
|
|
|
1361
1369
|
} | null;
|
|
1362
1370
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1363
1371
|
terminalCampaignId: string | null;
|
|
1364
|
-
terminalAt: string | null;
|
|
1365
|
-
job: {
|
|
1366
|
-
title: string;
|
|
1367
|
-
trade: string | null;
|
|
1368
|
-
payText: string | null;
|
|
1369
|
-
locationText: string | null;
|
|
1370
|
-
createdByName: string | null;
|
|
1371
|
-
};
|
|
1372
1372
|
}[];
|
|
1373
1373
|
}>;
|
|
1374
1374
|
};
|
|
1375
1375
|
};
|
|
1376
1376
|
start: {
|
|
1377
|
+
description: string;
|
|
1377
1378
|
metadata: {
|
|
1378
1379
|
tags: string[];
|
|
1379
1380
|
};
|
|
@@ -1385,7 +1386,6 @@ export declare const outreachRequestsContract: {
|
|
|
1385
1386
|
id: string;
|
|
1386
1387
|
}>;
|
|
1387
1388
|
summary: "Mark a request as being worked";
|
|
1388
|
-
description: string;
|
|
1389
1389
|
method: "POST";
|
|
1390
1390
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1391
1391
|
path: "/v2/outreach/requests/:id/start";
|
|
@@ -1399,17 +1399,17 @@ export declare const outreachRequestsContract: {
|
|
|
1399
1399
|
path: z.ZodString;
|
|
1400
1400
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1401
1401
|
}, "strip", z.ZodTypeAny, {
|
|
1402
|
+
message: string;
|
|
1402
1403
|
code: string;
|
|
1403
1404
|
path: string;
|
|
1404
|
-
message: string;
|
|
1405
1405
|
statusCode: number;
|
|
1406
1406
|
timestamp: string;
|
|
1407
1407
|
details?: unknown;
|
|
1408
1408
|
correlationId?: string | undefined;
|
|
1409
1409
|
}, {
|
|
1410
|
+
message: string;
|
|
1410
1411
|
code: string;
|
|
1411
1412
|
path: string;
|
|
1412
|
-
message: string;
|
|
1413
1413
|
statusCode: number;
|
|
1414
1414
|
timestamp: string;
|
|
1415
1415
|
details?: unknown;
|
|
@@ -1424,17 +1424,17 @@ export declare const outreachRequestsContract: {
|
|
|
1424
1424
|
path: z.ZodString;
|
|
1425
1425
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1426
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1427
|
+
message: string;
|
|
1427
1428
|
code: string;
|
|
1428
1429
|
path: string;
|
|
1429
|
-
message: string;
|
|
1430
1430
|
statusCode: number;
|
|
1431
1431
|
timestamp: string;
|
|
1432
1432
|
details?: unknown;
|
|
1433
1433
|
correlationId?: string | undefined;
|
|
1434
1434
|
}, {
|
|
1435
|
+
message: string;
|
|
1435
1436
|
code: string;
|
|
1436
1437
|
path: string;
|
|
1437
|
-
message: string;
|
|
1438
1438
|
statusCode: number;
|
|
1439
1439
|
timestamp: string;
|
|
1440
1440
|
details?: unknown;
|
|
@@ -1449,17 +1449,17 @@ export declare const outreachRequestsContract: {
|
|
|
1449
1449
|
path: z.ZodString;
|
|
1450
1450
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
}, "strip", z.ZodTypeAny, {
|
|
1452
|
+
message: string;
|
|
1452
1453
|
code: string;
|
|
1453
1454
|
path: string;
|
|
1454
|
-
message: string;
|
|
1455
1455
|
statusCode: number;
|
|
1456
1456
|
timestamp: string;
|
|
1457
1457
|
details?: unknown;
|
|
1458
1458
|
correlationId?: string | undefined;
|
|
1459
1459
|
}, {
|
|
1460
|
+
message: string;
|
|
1460
1461
|
code: string;
|
|
1461
1462
|
path: string;
|
|
1462
|
-
message: string;
|
|
1463
1463
|
statusCode: number;
|
|
1464
1464
|
timestamp: string;
|
|
1465
1465
|
details?: unknown;
|
|
@@ -1474,17 +1474,17 @@ export declare const outreachRequestsContract: {
|
|
|
1474
1474
|
path: z.ZodString;
|
|
1475
1475
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1476
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
message: string;
|
|
1477
1478
|
code: string;
|
|
1478
1479
|
path: string;
|
|
1479
|
-
message: string;
|
|
1480
1480
|
statusCode: number;
|
|
1481
1481
|
timestamp: string;
|
|
1482
1482
|
details?: unknown;
|
|
1483
1483
|
correlationId?: string | undefined;
|
|
1484
1484
|
}, {
|
|
1485
|
+
message: string;
|
|
1485
1486
|
code: string;
|
|
1486
1487
|
path: string;
|
|
1487
|
-
message: string;
|
|
1488
1488
|
statusCode: number;
|
|
1489
1489
|
timestamp: string;
|
|
1490
1490
|
details?: unknown;
|
|
@@ -1510,16 +1510,16 @@ export declare const outreachRequestsContract: {
|
|
|
1510
1510
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
1511
1511
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1512
1512
|
}, "strict", z.ZodTypeAny, {
|
|
1513
|
-
id: string;
|
|
1514
1513
|
status: "ACTIVE" | "INACTIVE";
|
|
1514
|
+
id: string;
|
|
1515
1515
|
slug: string;
|
|
1516
1516
|
displayName: string;
|
|
1517
1517
|
ownerUserId: string;
|
|
1518
1518
|
ownerName: string | null;
|
|
1519
1519
|
publicBaseUrl: string;
|
|
1520
1520
|
}, {
|
|
1521
|
-
id: string;
|
|
1522
1521
|
status: "ACTIVE" | "INACTIVE";
|
|
1522
|
+
id: string;
|
|
1523
1523
|
slug: string;
|
|
1524
1524
|
displayName: string;
|
|
1525
1525
|
ownerUserId: string;
|
|
@@ -1530,19 +1530,20 @@ export declare const outreachRequestsContract: {
|
|
|
1530
1530
|
terminalCampaignId: z.ZodNullable<z.ZodString>;
|
|
1531
1531
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
1532
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1533
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1533
1534
|
id: string;
|
|
1535
|
+
createdAt: string;
|
|
1534
1536
|
jobId: string;
|
|
1537
|
+
terminalAt: string | null;
|
|
1538
|
+
completedAt: string | null;
|
|
1539
|
+
startedAt: string | null;
|
|
1535
1540
|
requestedByUserId: string;
|
|
1536
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1537
1541
|
eligibleAtRequest: number;
|
|
1538
1542
|
requestedByName: string | null;
|
|
1539
1543
|
contactedCount: number;
|
|
1540
|
-
createdAt: string;
|
|
1541
|
-
startedAt: string | null;
|
|
1542
|
-
completedAt: string | null;
|
|
1543
1544
|
assignedPod: {
|
|
1544
|
-
id: string;
|
|
1545
1545
|
status: "ACTIVE" | "INACTIVE";
|
|
1546
|
+
id: string;
|
|
1546
1547
|
slug: string;
|
|
1547
1548
|
displayName: string;
|
|
1548
1549
|
ownerUserId: string;
|
|
@@ -1551,21 +1552,21 @@ export declare const outreachRequestsContract: {
|
|
|
1551
1552
|
} | null;
|
|
1552
1553
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1553
1554
|
terminalCampaignId: string | null;
|
|
1554
|
-
terminalAt: string | null;
|
|
1555
1555
|
}, {
|
|
1556
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1556
1557
|
id: string;
|
|
1558
|
+
createdAt: string;
|
|
1557
1559
|
jobId: string;
|
|
1560
|
+
terminalAt: string | null;
|
|
1561
|
+
completedAt: string | null;
|
|
1562
|
+
startedAt: string | null;
|
|
1558
1563
|
requestedByUserId: string;
|
|
1559
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1560
1564
|
eligibleAtRequest: number;
|
|
1561
1565
|
requestedByName: string | null;
|
|
1562
1566
|
contactedCount: number;
|
|
1563
|
-
createdAt: string;
|
|
1564
|
-
startedAt: string | null;
|
|
1565
|
-
completedAt: string | null;
|
|
1566
1567
|
assignedPod: {
|
|
1567
|
-
id: string;
|
|
1568
1568
|
status: "ACTIVE" | "INACTIVE";
|
|
1569
|
+
id: string;
|
|
1569
1570
|
slug: string;
|
|
1570
1571
|
displayName: string;
|
|
1571
1572
|
ownerUserId: string;
|
|
@@ -1574,7 +1575,6 @@ export declare const outreachRequestsContract: {
|
|
|
1574
1575
|
} | null;
|
|
1575
1576
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1576
1577
|
terminalCampaignId: string | null;
|
|
1577
|
-
terminalAt: string | null;
|
|
1578
1578
|
}>;
|
|
1579
1579
|
404: z.ZodObject<{
|
|
1580
1580
|
statusCode: z.ZodNumber;
|
|
@@ -1585,17 +1585,17 @@ export declare const outreachRequestsContract: {
|
|
|
1585
1585
|
path: z.ZodString;
|
|
1586
1586
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1587
1587
|
}, "strip", z.ZodTypeAny, {
|
|
1588
|
+
message: string;
|
|
1588
1589
|
code: string;
|
|
1589
1590
|
path: string;
|
|
1590
|
-
message: string;
|
|
1591
1591
|
statusCode: number;
|
|
1592
1592
|
timestamp: string;
|
|
1593
1593
|
details?: unknown;
|
|
1594
1594
|
correlationId?: string | undefined;
|
|
1595
1595
|
}, {
|
|
1596
|
+
message: string;
|
|
1596
1597
|
code: string;
|
|
1597
1598
|
path: string;
|
|
1598
|
-
message: string;
|
|
1599
1599
|
statusCode: number;
|
|
1600
1600
|
timestamp: string;
|
|
1601
1601
|
details?: unknown;
|
|
@@ -1604,6 +1604,7 @@ export declare const outreachRequestsContract: {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
};
|
|
1606
1606
|
complete: {
|
|
1607
|
+
description: string;
|
|
1607
1608
|
metadata: {
|
|
1608
1609
|
tags: string[];
|
|
1609
1610
|
};
|
|
@@ -1615,7 +1616,6 @@ export declare const outreachRequestsContract: {
|
|
|
1615
1616
|
id: string;
|
|
1616
1617
|
}>;
|
|
1617
1618
|
summary: "Mark a request as drained or ended";
|
|
1618
|
-
description: string;
|
|
1619
1619
|
method: "POST";
|
|
1620
1620
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1621
1621
|
path: "/v2/outreach/requests/:id/complete";
|
|
@@ -1629,17 +1629,17 @@ export declare const outreachRequestsContract: {
|
|
|
1629
1629
|
path: z.ZodString;
|
|
1630
1630
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1631
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1632
|
+
message: string;
|
|
1632
1633
|
code: string;
|
|
1633
1634
|
path: string;
|
|
1634
|
-
message: string;
|
|
1635
1635
|
statusCode: number;
|
|
1636
1636
|
timestamp: string;
|
|
1637
1637
|
details?: unknown;
|
|
1638
1638
|
correlationId?: string | undefined;
|
|
1639
1639
|
}, {
|
|
1640
|
+
message: string;
|
|
1640
1641
|
code: string;
|
|
1641
1642
|
path: string;
|
|
1642
|
-
message: string;
|
|
1643
1643
|
statusCode: number;
|
|
1644
1644
|
timestamp: string;
|
|
1645
1645
|
details?: unknown;
|
|
@@ -1654,17 +1654,17 @@ export declare const outreachRequestsContract: {
|
|
|
1654
1654
|
path: z.ZodString;
|
|
1655
1655
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1656
1656
|
}, "strip", z.ZodTypeAny, {
|
|
1657
|
+
message: string;
|
|
1657
1658
|
code: string;
|
|
1658
1659
|
path: string;
|
|
1659
|
-
message: string;
|
|
1660
1660
|
statusCode: number;
|
|
1661
1661
|
timestamp: string;
|
|
1662
1662
|
details?: unknown;
|
|
1663
1663
|
correlationId?: string | undefined;
|
|
1664
1664
|
}, {
|
|
1665
|
+
message: string;
|
|
1665
1666
|
code: string;
|
|
1666
1667
|
path: string;
|
|
1667
|
-
message: string;
|
|
1668
1668
|
statusCode: number;
|
|
1669
1669
|
timestamp: string;
|
|
1670
1670
|
details?: unknown;
|
|
@@ -1679,17 +1679,17 @@ export declare const outreachRequestsContract: {
|
|
|
1679
1679
|
path: z.ZodString;
|
|
1680
1680
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1681
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1682
|
+
message: string;
|
|
1682
1683
|
code: string;
|
|
1683
1684
|
path: string;
|
|
1684
|
-
message: string;
|
|
1685
1685
|
statusCode: number;
|
|
1686
1686
|
timestamp: string;
|
|
1687
1687
|
details?: unknown;
|
|
1688
1688
|
correlationId?: string | undefined;
|
|
1689
1689
|
}, {
|
|
1690
|
+
message: string;
|
|
1690
1691
|
code: string;
|
|
1691
1692
|
path: string;
|
|
1692
|
-
message: string;
|
|
1693
1693
|
statusCode: number;
|
|
1694
1694
|
timestamp: string;
|
|
1695
1695
|
details?: unknown;
|
|
@@ -1704,17 +1704,17 @@ export declare const outreachRequestsContract: {
|
|
|
1704
1704
|
path: z.ZodString;
|
|
1705
1705
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1706
1706
|
}, "strip", z.ZodTypeAny, {
|
|
1707
|
+
message: string;
|
|
1707
1708
|
code: string;
|
|
1708
1709
|
path: string;
|
|
1709
|
-
message: string;
|
|
1710
1710
|
statusCode: number;
|
|
1711
1711
|
timestamp: string;
|
|
1712
1712
|
details?: unknown;
|
|
1713
1713
|
correlationId?: string | undefined;
|
|
1714
1714
|
}, {
|
|
1715
|
+
message: string;
|
|
1715
1716
|
code: string;
|
|
1716
1717
|
path: string;
|
|
1717
|
-
message: string;
|
|
1718
1718
|
statusCode: number;
|
|
1719
1719
|
timestamp: string;
|
|
1720
1720
|
details?: unknown;
|
|
@@ -1740,16 +1740,16 @@ export declare const outreachRequestsContract: {
|
|
|
1740
1740
|
publicBaseUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
1741
1741
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1742
1742
|
}, "strict", z.ZodTypeAny, {
|
|
1743
|
-
id: string;
|
|
1744
1743
|
status: "ACTIVE" | "INACTIVE";
|
|
1744
|
+
id: string;
|
|
1745
1745
|
slug: string;
|
|
1746
1746
|
displayName: string;
|
|
1747
1747
|
ownerUserId: string;
|
|
1748
1748
|
ownerName: string | null;
|
|
1749
1749
|
publicBaseUrl: string;
|
|
1750
1750
|
}, {
|
|
1751
|
-
id: string;
|
|
1752
1751
|
status: "ACTIVE" | "INACTIVE";
|
|
1752
|
+
id: string;
|
|
1753
1753
|
slug: string;
|
|
1754
1754
|
displayName: string;
|
|
1755
1755
|
ownerUserId: string;
|
|
@@ -1760,19 +1760,20 @@ export declare const outreachRequestsContract: {
|
|
|
1760
1760
|
terminalCampaignId: z.ZodNullable<z.ZodString>;
|
|
1761
1761
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
1762
1762
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1763
1764
|
id: string;
|
|
1765
|
+
createdAt: string;
|
|
1764
1766
|
jobId: string;
|
|
1767
|
+
terminalAt: string | null;
|
|
1768
|
+
completedAt: string | null;
|
|
1769
|
+
startedAt: string | null;
|
|
1765
1770
|
requestedByUserId: string;
|
|
1766
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1767
1771
|
eligibleAtRequest: number;
|
|
1768
1772
|
requestedByName: string | null;
|
|
1769
1773
|
contactedCount: number;
|
|
1770
|
-
createdAt: string;
|
|
1771
|
-
startedAt: string | null;
|
|
1772
|
-
completedAt: string | null;
|
|
1773
1774
|
assignedPod: {
|
|
1774
|
-
id: string;
|
|
1775
1775
|
status: "ACTIVE" | "INACTIVE";
|
|
1776
|
+
id: string;
|
|
1776
1777
|
slug: string;
|
|
1777
1778
|
displayName: string;
|
|
1778
1779
|
ownerUserId: string;
|
|
@@ -1781,21 +1782,21 @@ export declare const outreachRequestsContract: {
|
|
|
1781
1782
|
} | null;
|
|
1782
1783
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1783
1784
|
terminalCampaignId: string | null;
|
|
1784
|
-
terminalAt: string | null;
|
|
1785
1785
|
}, {
|
|
1786
|
+
status: "PENDING" | "CANCELLED" | "COMPLETED" | "RUNNING";
|
|
1786
1787
|
id: string;
|
|
1788
|
+
createdAt: string;
|
|
1787
1789
|
jobId: string;
|
|
1790
|
+
terminalAt: string | null;
|
|
1791
|
+
completedAt: string | null;
|
|
1792
|
+
startedAt: string | null;
|
|
1788
1793
|
requestedByUserId: string;
|
|
1789
|
-
status: "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED";
|
|
1790
1794
|
eligibleAtRequest: number;
|
|
1791
1795
|
requestedByName: string | null;
|
|
1792
1796
|
contactedCount: number;
|
|
1793
|
-
createdAt: string;
|
|
1794
|
-
startedAt: string | null;
|
|
1795
|
-
completedAt: string | null;
|
|
1796
1797
|
assignedPod: {
|
|
1797
|
-
id: string;
|
|
1798
1798
|
status: "ACTIVE" | "INACTIVE";
|
|
1799
|
+
id: string;
|
|
1799
1800
|
slug: string;
|
|
1800
1801
|
displayName: string;
|
|
1801
1802
|
ownerUserId: string;
|
|
@@ -1804,7 +1805,6 @@ export declare const outreachRequestsContract: {
|
|
|
1804
1805
|
} | null;
|
|
1805
1806
|
terminalReason: "LAB_RUN_COMPLETED" | null;
|
|
1806
1807
|
terminalCampaignId: string | null;
|
|
1807
|
-
terminalAt: string | null;
|
|
1808
1808
|
}>;
|
|
1809
1809
|
404: z.ZodObject<{
|
|
1810
1810
|
statusCode: z.ZodNumber;
|
|
@@ -1815,17 +1815,17 @@ export declare const outreachRequestsContract: {
|
|
|
1815
1815
|
path: z.ZodString;
|
|
1816
1816
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1817
1817
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
message: string;
|
|
1818
1819
|
code: string;
|
|
1819
1820
|
path: string;
|
|
1820
|
-
message: string;
|
|
1821
1821
|
statusCode: number;
|
|
1822
1822
|
timestamp: string;
|
|
1823
1823
|
details?: unknown;
|
|
1824
1824
|
correlationId?: string | undefined;
|
|
1825
1825
|
}, {
|
|
1826
|
+
message: string;
|
|
1826
1827
|
code: string;
|
|
1827
1828
|
path: string;
|
|
1828
|
-
message: string;
|
|
1829
1829
|
statusCode: number;
|
|
1830
1830
|
timestamp: string;
|
|
1831
1831
|
details?: unknown;
|