@leadpoet/client 0.1.3 → 0.1.5

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 (36) hide show
  1. package/README.md +59 -35
  2. package/cli.js +47 -2
  3. package/cli.js.map +2 -2
  4. package/client.js +47 -2
  5. package/client.js.map +2 -2
  6. package/mcp.js +3969 -71
  7. package/mcp.js.map +4 -4
  8. package/package.json +13 -2
  9. package/skill/SKILL.md +83 -9
  10. package/types/scripts/leadpoet-mcp.d.ts +1 -7
  11. package/types/shared/account-monitoring.d.ts +1169 -0
  12. package/types/shared/assistant-brief.d.ts +1681 -0
  13. package/types/shared/assistant-memories.d.ts +62 -0
  14. package/types/shared/assistant-send-forecast.d.ts +442 -0
  15. package/types/shared/assistant.d.ts +238 -0
  16. package/types/shared/employee-count.d.ts +90 -0
  17. package/types/shared/gtm-context.d.ts +233 -0
  18. package/types/shared/icp-product-selection.d.ts +27 -0
  19. package/types/shared/icp-profile.d.ts +2625 -0
  20. package/types/shared/industry-taxonomy.d.ts +1 -0
  21. package/types/shared/lead-request-limits.d.ts +4 -0
  22. package/types/shared/leadpoet-client.d.ts +1315 -0
  23. package/types/shared/leadpoet-mcp-server.d.ts +39 -0
  24. package/types/shared/mcp-connect.d.ts +22 -0
  25. package/types/shared/monitor-technologies.d.ts +38 -0
  26. package/types/shared/outreach-analytics.d.ts +334 -0
  27. package/types/shared/outreach-audience-filters.d.ts +156 -0
  28. package/types/shared/outreach-audience-segments.d.ts +135 -0
  29. package/types/shared/outreach-enums.d.ts +22 -0
  30. package/types/shared/outreach-v2-contract.d.ts +253 -0
  31. package/types/shared/plan-entitlements.d.ts +75 -0
  32. package/types/shared/plan-features.d.ts +50 -0
  33. package/types/shared/request-credit-constants.d.ts +13 -0
  34. package/types/shared/website-fact-language.d.ts +9 -0
  35. package/types/shared/workspace-operations.d.ts +1975 -29
  36. package/types/shared/workspace-tool-metadata.d.ts +1083 -0
@@ -0,0 +1,1681 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Briefs: the morning plan, the end-of-day wrap-up and the start- and
4
+ * end-of-week reviews. One builder serves the in-app agent, the Slack agent
5
+ * and MCP. Each caller supplies only how to run a workspace read as the user,
6
+ * so auth, team access and scopes stay those of the read itself.
7
+ *
8
+ * Every number comes from a read in this brief. A read that fails or is not
9
+ * allowed makes its lines "unavailable"; it is never shown as zero.
10
+ */
11
+ export declare const BRIEF_KINDS: readonly ["morning", "end_of_day", "week_start", "week_end"];
12
+ export type BriefKind = (typeof BRIEF_KINDS)[number];
13
+ export declare const BRIEF_TITLES: Record<BriefKind, string>;
14
+ /** Runs one workspace read as the user; null when it failed or is not allowed. */
15
+ export type BriefQuery = Record<string, string | number>;
16
+ export type BriefReader = (operationId: string, query: BriefQuery) => Promise<unknown | null>;
17
+ export type BriefLine = {
18
+ label: string;
19
+ value: string;
20
+ href?: string;
21
+ };
22
+ export type BriefSection = {
23
+ id: "results" | "comparison" | "todo";
24
+ title: string;
25
+ lines: BriefLine[];
26
+ unavailable: string[];
27
+ };
28
+ export type Brief = {
29
+ kind: BriefKind;
30
+ title: string;
31
+ timezone: string;
32
+ /** Local dates (YYYY-MM-DD) the results cover. */
33
+ period: {
34
+ from: string;
35
+ to: string;
36
+ };
37
+ generated_at: string;
38
+ sections: BriefSection[];
39
+ next_step: {
40
+ label: string;
41
+ href: string;
42
+ } | null;
43
+ /** Reads that failed or were not allowed; their lines are missing, not zero. */
44
+ unavailable: string[];
45
+ };
46
+ export declare const briefInputSchema: z.ZodObject<{
47
+ kind: z.ZodEnum<["morning", "end_of_day", "week_start", "week_end"]>;
48
+ timezone: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ kind: "morning" | "end_of_day" | "week_start" | "week_end";
51
+ timezone: string;
52
+ }, {
53
+ kind: "morning" | "end_of_day" | "week_start" | "week_end";
54
+ timezone?: string | undefined;
55
+ }>;
56
+ /** One tool definition for the agent and MCP. */
57
+ export declare const BRIEF_TOOL: {
58
+ name: string;
59
+ title: string;
60
+ description: string;
61
+ inputSchema: {
62
+ type: "object";
63
+ properties: {
64
+ kind: {
65
+ type: string;
66
+ enum: ("morning" | "end_of_day" | "week_start" | "week_end")[];
67
+ };
68
+ timezone: {
69
+ type: string;
70
+ description: string;
71
+ };
72
+ };
73
+ required: string[];
74
+ additionalProperties: boolean;
75
+ };
76
+ inputError: string;
77
+ };
78
+ export type BriefInput = z.infer<typeof briefInputSchema>;
79
+ /** The date (YYYY-MM-DD) where the user is. */
80
+ export declare function localDate(now: Date, timeZone: string): string;
81
+ export declare function addDays(day: string, days: number): string;
82
+ /** Monday of the week that holds this local date. */
83
+ export declare function weekStart(day: string): string;
84
+ export type BriefPeriods = {
85
+ results: {
86
+ from: string;
87
+ to: string;
88
+ label: string;
89
+ };
90
+ comparison?: {
91
+ from: string;
92
+ to: string;
93
+ label: string;
94
+ };
95
+ };
96
+ /** The local dates each kind reports on. */
97
+ export declare function briefPeriods(kind: BriefKind, now: Date, timeZone: string): BriefPeriods;
98
+ declare const repliesSchema: z.ZodObject<{
99
+ tasks: z.ZodArray<z.ZodObject<{
100
+ status: z.ZodString;
101
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
103
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104
+ status: z.ZodString;
105
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
108
+ status: z.ZodString;
109
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
111
+ }, z.ZodTypeAny, "passthrough">>, "many">;
112
+ results_limited: z.ZodOptional<z.ZodBoolean>;
113
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
114
+ tasks: z.ZodArray<z.ZodObject<{
115
+ status: z.ZodString;
116
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
118
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
119
+ status: z.ZodString;
120
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
122
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
123
+ status: z.ZodString;
124
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
126
+ }, z.ZodTypeAny, "passthrough">>, "many">;
127
+ results_limited: z.ZodOptional<z.ZodBoolean>;
128
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
129
+ tasks: z.ZodArray<z.ZodObject<{
130
+ status: z.ZodString;
131
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
133
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
134
+ status: z.ZodString;
135
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
137
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
138
+ status: z.ZodString;
139
+ sla_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ sequence_stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
141
+ }, z.ZodTypeAny, "passthrough">>, "many">;
142
+ results_limited: z.ZodOptional<z.ZodBoolean>;
143
+ }, z.ZodTypeAny, "passthrough">>;
144
+ /** Review's own count of its drafts. Today and the brief both count from it, so neither promises drafts Review doesn't offer. */
145
+ export declare const reviewSummarySchema: z.ZodObject<{
146
+ total: z.ZodNumber;
147
+ results_limited: z.ZodOptional<z.ZodBoolean>;
148
+ paused_campaign_drafts: z.ZodOptional<z.ZodNumber>;
149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
150
+ total: z.ZodNumber;
151
+ results_limited: z.ZodOptional<z.ZodBoolean>;
152
+ paused_campaign_drafts: z.ZodOptional<z.ZodNumber>;
153
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
154
+ total: z.ZodNumber;
155
+ results_limited: z.ZodOptional<z.ZodBoolean>;
156
+ paused_campaign_drafts: z.ZodOptional<z.ZodNumber>;
157
+ }, z.ZodTypeAny, "passthrough">>;
158
+ export type ReviewSummary = z.infer<typeof reviewSummarySchema>;
159
+ /** Drafts a person can approve now: a paused campaign's drafts wait until it resumes. */
160
+ export declare function approvableDrafts(review: ReviewSummary | null | undefined): number;
161
+ /** "3 drafts", or "5000+ drafts" when Review's count stopped at its limit. */
162
+ export declare function approvableDraftsText(review: ReviewSummary | null | undefined): string;
163
+ declare const accountsSchema: z.ZodObject<{
164
+ accounts: z.ZodArray<z.ZodObject<{
165
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
169
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
173
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ }, z.ZodTypeAny, "passthrough">>, "many">;
177
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
178
+ accounts: z.ZodArray<z.ZodObject<{
179
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
187
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
+ }, z.ZodTypeAny, "passthrough">>, "many">;
191
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
192
+ accounts: z.ZodArray<z.ZodObject<{
193
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
197
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ account_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ }, z.ZodTypeAny, "passthrough">>, "many">;
205
+ }, z.ZodTypeAny, "passthrough">>;
206
+ /** Named as unavailable when the request history loaded without its research count. */
207
+ export declare const RESEARCH_COUNT_NAME = "lead requests in research";
208
+ declare const requestsSchema: z.ZodObject<{
209
+ queries: z.ZodArray<z.ZodObject<{
210
+ status: z.ZodString;
211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
212
+ status: z.ZodString;
213
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
214
+ status: z.ZodString;
215
+ }, z.ZodTypeAny, "passthrough">>, "many">;
216
+ total: z.ZodOptional<z.ZodNumber>;
217
+ researching: z.ZodOptional<z.ZodNumber>;
218
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
219
+ queries: z.ZodArray<z.ZodObject<{
220
+ status: z.ZodString;
221
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
222
+ status: z.ZodString;
223
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
224
+ status: z.ZodString;
225
+ }, z.ZodTypeAny, "passthrough">>, "many">;
226
+ total: z.ZodOptional<z.ZodNumber>;
227
+ researching: z.ZodOptional<z.ZodNumber>;
228
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
229
+ queries: z.ZodArray<z.ZodObject<{
230
+ status: z.ZodString;
231
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
232
+ status: z.ZodString;
233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
234
+ status: z.ZodString;
235
+ }, z.ZodTypeAny, "passthrough">>, "many">;
236
+ total: z.ZodOptional<z.ZodNumber>;
237
+ researching: z.ZodOptional<z.ZodNumber>;
238
+ }, z.ZodTypeAny, "passthrough">>;
239
+ declare const creditsSchema: z.ZodObject<{
240
+ credits_remaining: z.ZodNumber;
241
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
242
+ credits_remaining: z.ZodNumber;
243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
244
+ credits_remaining: z.ZodNumber;
245
+ }, z.ZodTypeAny, "passthrough">>;
246
+ declare const reportSchema: z.ZodObject<{
247
+ summary: z.ZodObject<{
248
+ sent: z.ZodNumber;
249
+ replied: z.ZodNumber;
250
+ reply_breakdown: z.ZodObject<{
251
+ positive: z.ZodNumber;
252
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
253
+ positive: z.ZodNumber;
254
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
255
+ positive: z.ZodNumber;
256
+ }, z.ZodTypeAny, "passthrough">>;
257
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
258
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
259
+ sent: z.ZodNumber;
260
+ replied: z.ZodNumber;
261
+ reply_breakdown: z.ZodObject<{
262
+ positive: z.ZodNumber;
263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
264
+ positive: z.ZodNumber;
265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
266
+ positive: z.ZodNumber;
267
+ }, z.ZodTypeAny, "passthrough">>;
268
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
269
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
270
+ sent: z.ZodNumber;
271
+ replied: z.ZodNumber;
272
+ reply_breakdown: z.ZodObject<{
273
+ positive: z.ZodNumber;
274
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
275
+ positive: z.ZodNumber;
276
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
277
+ positive: z.ZodNumber;
278
+ }, z.ZodTypeAny, "passthrough">>;
279
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
280
+ }, z.ZodTypeAny, "passthrough">>;
281
+ channels: z.ZodCatch<z.ZodOptional<z.ZodObject<{
282
+ email: z.ZodOptional<z.ZodObject<{
283
+ responses: z.ZodObject<{
284
+ replied: z.ZodNumber;
285
+ positive: z.ZodNumber;
286
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
287
+ replied: z.ZodNumber;
288
+ positive: z.ZodNumber;
289
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
290
+ replied: z.ZodNumber;
291
+ positive: z.ZodNumber;
292
+ }, z.ZodTypeAny, "passthrough">>;
293
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
294
+ responses: z.ZodObject<{
295
+ replied: z.ZodNumber;
296
+ positive: z.ZodNumber;
297
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
298
+ replied: z.ZodNumber;
299
+ positive: z.ZodNumber;
300
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
301
+ replied: z.ZodNumber;
302
+ positive: z.ZodNumber;
303
+ }, z.ZodTypeAny, "passthrough">>;
304
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
305
+ responses: z.ZodObject<{
306
+ replied: z.ZodNumber;
307
+ positive: z.ZodNumber;
308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
309
+ replied: z.ZodNumber;
310
+ positive: z.ZodNumber;
311
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
312
+ replied: z.ZodNumber;
313
+ positive: z.ZodNumber;
314
+ }, z.ZodTypeAny, "passthrough">>;
315
+ }, z.ZodTypeAny, "passthrough">>>;
316
+ linkedin: z.ZodOptional<z.ZodObject<{
317
+ messaging: z.ZodOptional<z.ZodObject<{
318
+ responses: z.ZodObject<{
319
+ replied: z.ZodNumber;
320
+ positive: z.ZodNumber;
321
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
322
+ replied: z.ZodNumber;
323
+ positive: z.ZodNumber;
324
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
325
+ replied: z.ZodNumber;
326
+ positive: z.ZodNumber;
327
+ }, z.ZodTypeAny, "passthrough">>;
328
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
329
+ responses: z.ZodObject<{
330
+ replied: z.ZodNumber;
331
+ positive: z.ZodNumber;
332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
333
+ replied: z.ZodNumber;
334
+ positive: z.ZodNumber;
335
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
336
+ replied: z.ZodNumber;
337
+ positive: z.ZodNumber;
338
+ }, z.ZodTypeAny, "passthrough">>;
339
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
340
+ responses: z.ZodObject<{
341
+ replied: z.ZodNumber;
342
+ positive: z.ZodNumber;
343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
344
+ replied: z.ZodNumber;
345
+ positive: z.ZodNumber;
346
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
347
+ replied: z.ZodNumber;
348
+ positive: z.ZodNumber;
349
+ }, z.ZodTypeAny, "passthrough">>;
350
+ }, z.ZodTypeAny, "passthrough">>>;
351
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
352
+ messaging: z.ZodOptional<z.ZodObject<{
353
+ responses: z.ZodObject<{
354
+ replied: z.ZodNumber;
355
+ positive: z.ZodNumber;
356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
357
+ replied: z.ZodNumber;
358
+ positive: z.ZodNumber;
359
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
360
+ replied: z.ZodNumber;
361
+ positive: z.ZodNumber;
362
+ }, z.ZodTypeAny, "passthrough">>;
363
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
364
+ responses: z.ZodObject<{
365
+ replied: z.ZodNumber;
366
+ positive: z.ZodNumber;
367
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
368
+ replied: z.ZodNumber;
369
+ positive: z.ZodNumber;
370
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
371
+ replied: z.ZodNumber;
372
+ positive: z.ZodNumber;
373
+ }, z.ZodTypeAny, "passthrough">>;
374
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
375
+ responses: z.ZodObject<{
376
+ replied: z.ZodNumber;
377
+ positive: z.ZodNumber;
378
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
379
+ replied: z.ZodNumber;
380
+ positive: z.ZodNumber;
381
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
382
+ replied: z.ZodNumber;
383
+ positive: z.ZodNumber;
384
+ }, z.ZodTypeAny, "passthrough">>;
385
+ }, z.ZodTypeAny, "passthrough">>>;
386
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
387
+ messaging: z.ZodOptional<z.ZodObject<{
388
+ responses: z.ZodObject<{
389
+ replied: z.ZodNumber;
390
+ positive: z.ZodNumber;
391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
392
+ replied: z.ZodNumber;
393
+ positive: z.ZodNumber;
394
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
395
+ replied: z.ZodNumber;
396
+ positive: z.ZodNumber;
397
+ }, z.ZodTypeAny, "passthrough">>;
398
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
399
+ responses: z.ZodObject<{
400
+ replied: z.ZodNumber;
401
+ positive: z.ZodNumber;
402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
403
+ replied: z.ZodNumber;
404
+ positive: z.ZodNumber;
405
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
406
+ replied: z.ZodNumber;
407
+ positive: z.ZodNumber;
408
+ }, z.ZodTypeAny, "passthrough">>;
409
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
410
+ responses: z.ZodObject<{
411
+ replied: z.ZodNumber;
412
+ positive: z.ZodNumber;
413
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
414
+ replied: z.ZodNumber;
415
+ positive: z.ZodNumber;
416
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
417
+ replied: z.ZodNumber;
418
+ positive: z.ZodNumber;
419
+ }, z.ZodTypeAny, "passthrough">>;
420
+ }, z.ZodTypeAny, "passthrough">>>;
421
+ }, z.ZodTypeAny, "passthrough">>>;
422
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
423
+ email: z.ZodOptional<z.ZodObject<{
424
+ responses: z.ZodObject<{
425
+ replied: z.ZodNumber;
426
+ positive: z.ZodNumber;
427
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
428
+ replied: z.ZodNumber;
429
+ positive: z.ZodNumber;
430
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
431
+ replied: z.ZodNumber;
432
+ positive: z.ZodNumber;
433
+ }, z.ZodTypeAny, "passthrough">>;
434
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
435
+ responses: z.ZodObject<{
436
+ replied: z.ZodNumber;
437
+ positive: z.ZodNumber;
438
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
439
+ replied: z.ZodNumber;
440
+ positive: z.ZodNumber;
441
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
442
+ replied: z.ZodNumber;
443
+ positive: z.ZodNumber;
444
+ }, z.ZodTypeAny, "passthrough">>;
445
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
446
+ responses: z.ZodObject<{
447
+ replied: z.ZodNumber;
448
+ positive: z.ZodNumber;
449
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
450
+ replied: z.ZodNumber;
451
+ positive: z.ZodNumber;
452
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
453
+ replied: z.ZodNumber;
454
+ positive: z.ZodNumber;
455
+ }, z.ZodTypeAny, "passthrough">>;
456
+ }, z.ZodTypeAny, "passthrough">>>;
457
+ linkedin: z.ZodOptional<z.ZodObject<{
458
+ messaging: z.ZodOptional<z.ZodObject<{
459
+ responses: z.ZodObject<{
460
+ replied: z.ZodNumber;
461
+ positive: z.ZodNumber;
462
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
463
+ replied: z.ZodNumber;
464
+ positive: z.ZodNumber;
465
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
466
+ replied: z.ZodNumber;
467
+ positive: z.ZodNumber;
468
+ }, z.ZodTypeAny, "passthrough">>;
469
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
470
+ responses: z.ZodObject<{
471
+ replied: z.ZodNumber;
472
+ positive: z.ZodNumber;
473
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
474
+ replied: z.ZodNumber;
475
+ positive: z.ZodNumber;
476
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
477
+ replied: z.ZodNumber;
478
+ positive: z.ZodNumber;
479
+ }, z.ZodTypeAny, "passthrough">>;
480
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
481
+ responses: z.ZodObject<{
482
+ replied: z.ZodNumber;
483
+ positive: z.ZodNumber;
484
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
485
+ replied: z.ZodNumber;
486
+ positive: z.ZodNumber;
487
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
488
+ replied: z.ZodNumber;
489
+ positive: z.ZodNumber;
490
+ }, z.ZodTypeAny, "passthrough">>;
491
+ }, z.ZodTypeAny, "passthrough">>>;
492
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
493
+ messaging: z.ZodOptional<z.ZodObject<{
494
+ responses: z.ZodObject<{
495
+ replied: z.ZodNumber;
496
+ positive: z.ZodNumber;
497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
498
+ replied: z.ZodNumber;
499
+ positive: z.ZodNumber;
500
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
501
+ replied: z.ZodNumber;
502
+ positive: z.ZodNumber;
503
+ }, z.ZodTypeAny, "passthrough">>;
504
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
505
+ responses: z.ZodObject<{
506
+ replied: z.ZodNumber;
507
+ positive: z.ZodNumber;
508
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
509
+ replied: z.ZodNumber;
510
+ positive: z.ZodNumber;
511
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
512
+ replied: z.ZodNumber;
513
+ positive: z.ZodNumber;
514
+ }, z.ZodTypeAny, "passthrough">>;
515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
516
+ responses: z.ZodObject<{
517
+ replied: z.ZodNumber;
518
+ positive: z.ZodNumber;
519
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
520
+ replied: z.ZodNumber;
521
+ positive: z.ZodNumber;
522
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
523
+ replied: z.ZodNumber;
524
+ positive: z.ZodNumber;
525
+ }, z.ZodTypeAny, "passthrough">>;
526
+ }, z.ZodTypeAny, "passthrough">>>;
527
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
528
+ messaging: z.ZodOptional<z.ZodObject<{
529
+ responses: z.ZodObject<{
530
+ replied: z.ZodNumber;
531
+ positive: z.ZodNumber;
532
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
533
+ replied: z.ZodNumber;
534
+ positive: z.ZodNumber;
535
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
536
+ replied: z.ZodNumber;
537
+ positive: z.ZodNumber;
538
+ }, z.ZodTypeAny, "passthrough">>;
539
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
540
+ responses: z.ZodObject<{
541
+ replied: z.ZodNumber;
542
+ positive: z.ZodNumber;
543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
544
+ replied: z.ZodNumber;
545
+ positive: z.ZodNumber;
546
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
547
+ replied: z.ZodNumber;
548
+ positive: z.ZodNumber;
549
+ }, z.ZodTypeAny, "passthrough">>;
550
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
551
+ responses: z.ZodObject<{
552
+ replied: z.ZodNumber;
553
+ positive: z.ZodNumber;
554
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
555
+ replied: z.ZodNumber;
556
+ positive: z.ZodNumber;
557
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
558
+ replied: z.ZodNumber;
559
+ positive: z.ZodNumber;
560
+ }, z.ZodTypeAny, "passthrough">>;
561
+ }, z.ZodTypeAny, "passthrough">>>;
562
+ }, z.ZodTypeAny, "passthrough">>>;
563
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
564
+ email: z.ZodOptional<z.ZodObject<{
565
+ responses: z.ZodObject<{
566
+ replied: z.ZodNumber;
567
+ positive: z.ZodNumber;
568
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
569
+ replied: z.ZodNumber;
570
+ positive: z.ZodNumber;
571
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
572
+ replied: z.ZodNumber;
573
+ positive: z.ZodNumber;
574
+ }, z.ZodTypeAny, "passthrough">>;
575
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
576
+ responses: z.ZodObject<{
577
+ replied: z.ZodNumber;
578
+ positive: z.ZodNumber;
579
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
580
+ replied: z.ZodNumber;
581
+ positive: z.ZodNumber;
582
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
583
+ replied: z.ZodNumber;
584
+ positive: z.ZodNumber;
585
+ }, z.ZodTypeAny, "passthrough">>;
586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
587
+ responses: z.ZodObject<{
588
+ replied: z.ZodNumber;
589
+ positive: z.ZodNumber;
590
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
591
+ replied: z.ZodNumber;
592
+ positive: z.ZodNumber;
593
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
594
+ replied: z.ZodNumber;
595
+ positive: z.ZodNumber;
596
+ }, z.ZodTypeAny, "passthrough">>;
597
+ }, z.ZodTypeAny, "passthrough">>>;
598
+ linkedin: z.ZodOptional<z.ZodObject<{
599
+ messaging: z.ZodOptional<z.ZodObject<{
600
+ responses: z.ZodObject<{
601
+ replied: z.ZodNumber;
602
+ positive: z.ZodNumber;
603
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
604
+ replied: z.ZodNumber;
605
+ positive: z.ZodNumber;
606
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
607
+ replied: z.ZodNumber;
608
+ positive: z.ZodNumber;
609
+ }, z.ZodTypeAny, "passthrough">>;
610
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
611
+ responses: z.ZodObject<{
612
+ replied: z.ZodNumber;
613
+ positive: z.ZodNumber;
614
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
615
+ replied: z.ZodNumber;
616
+ positive: z.ZodNumber;
617
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
618
+ replied: z.ZodNumber;
619
+ positive: z.ZodNumber;
620
+ }, z.ZodTypeAny, "passthrough">>;
621
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
622
+ responses: z.ZodObject<{
623
+ replied: z.ZodNumber;
624
+ positive: z.ZodNumber;
625
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
626
+ replied: z.ZodNumber;
627
+ positive: z.ZodNumber;
628
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
629
+ replied: z.ZodNumber;
630
+ positive: z.ZodNumber;
631
+ }, z.ZodTypeAny, "passthrough">>;
632
+ }, z.ZodTypeAny, "passthrough">>>;
633
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
634
+ messaging: z.ZodOptional<z.ZodObject<{
635
+ responses: z.ZodObject<{
636
+ replied: z.ZodNumber;
637
+ positive: z.ZodNumber;
638
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
639
+ replied: z.ZodNumber;
640
+ positive: z.ZodNumber;
641
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
642
+ replied: z.ZodNumber;
643
+ positive: z.ZodNumber;
644
+ }, z.ZodTypeAny, "passthrough">>;
645
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
+ responses: z.ZodObject<{
647
+ replied: z.ZodNumber;
648
+ positive: z.ZodNumber;
649
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
650
+ replied: z.ZodNumber;
651
+ positive: z.ZodNumber;
652
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
653
+ replied: z.ZodNumber;
654
+ positive: z.ZodNumber;
655
+ }, z.ZodTypeAny, "passthrough">>;
656
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
657
+ responses: z.ZodObject<{
658
+ replied: z.ZodNumber;
659
+ positive: z.ZodNumber;
660
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
661
+ replied: z.ZodNumber;
662
+ positive: z.ZodNumber;
663
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
664
+ replied: z.ZodNumber;
665
+ positive: z.ZodNumber;
666
+ }, z.ZodTypeAny, "passthrough">>;
667
+ }, z.ZodTypeAny, "passthrough">>>;
668
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
669
+ messaging: z.ZodOptional<z.ZodObject<{
670
+ responses: z.ZodObject<{
671
+ replied: z.ZodNumber;
672
+ positive: z.ZodNumber;
673
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
674
+ replied: z.ZodNumber;
675
+ positive: z.ZodNumber;
676
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
677
+ replied: z.ZodNumber;
678
+ positive: z.ZodNumber;
679
+ }, z.ZodTypeAny, "passthrough">>;
680
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
681
+ responses: z.ZodObject<{
682
+ replied: z.ZodNumber;
683
+ positive: z.ZodNumber;
684
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
685
+ replied: z.ZodNumber;
686
+ positive: z.ZodNumber;
687
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
688
+ replied: z.ZodNumber;
689
+ positive: z.ZodNumber;
690
+ }, z.ZodTypeAny, "passthrough">>;
691
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
692
+ responses: z.ZodObject<{
693
+ replied: z.ZodNumber;
694
+ positive: z.ZodNumber;
695
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
696
+ replied: z.ZodNumber;
697
+ positive: z.ZodNumber;
698
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
699
+ replied: z.ZodNumber;
700
+ positive: z.ZodNumber;
701
+ }, z.ZodTypeAny, "passthrough">>;
702
+ }, z.ZodTypeAny, "passthrough">>>;
703
+ }, z.ZodTypeAny, "passthrough">>>;
704
+ }, z.ZodTypeAny, "passthrough">>>>;
705
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
706
+ summary: z.ZodObject<{
707
+ sent: z.ZodNumber;
708
+ replied: z.ZodNumber;
709
+ reply_breakdown: z.ZodObject<{
710
+ positive: z.ZodNumber;
711
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
712
+ positive: z.ZodNumber;
713
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
714
+ positive: z.ZodNumber;
715
+ }, z.ZodTypeAny, "passthrough">>;
716
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
717
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
718
+ sent: z.ZodNumber;
719
+ replied: z.ZodNumber;
720
+ reply_breakdown: z.ZodObject<{
721
+ positive: z.ZodNumber;
722
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
723
+ positive: z.ZodNumber;
724
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
725
+ positive: z.ZodNumber;
726
+ }, z.ZodTypeAny, "passthrough">>;
727
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
728
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
729
+ sent: z.ZodNumber;
730
+ replied: z.ZodNumber;
731
+ reply_breakdown: z.ZodObject<{
732
+ positive: z.ZodNumber;
733
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
734
+ positive: z.ZodNumber;
735
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
736
+ positive: z.ZodNumber;
737
+ }, z.ZodTypeAny, "passthrough">>;
738
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
739
+ }, z.ZodTypeAny, "passthrough">>;
740
+ channels: z.ZodCatch<z.ZodOptional<z.ZodObject<{
741
+ email: z.ZodOptional<z.ZodObject<{
742
+ responses: z.ZodObject<{
743
+ replied: z.ZodNumber;
744
+ positive: z.ZodNumber;
745
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
746
+ replied: z.ZodNumber;
747
+ positive: z.ZodNumber;
748
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
749
+ replied: z.ZodNumber;
750
+ positive: z.ZodNumber;
751
+ }, z.ZodTypeAny, "passthrough">>;
752
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
753
+ responses: z.ZodObject<{
754
+ replied: z.ZodNumber;
755
+ positive: z.ZodNumber;
756
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
757
+ replied: z.ZodNumber;
758
+ positive: z.ZodNumber;
759
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
760
+ replied: z.ZodNumber;
761
+ positive: z.ZodNumber;
762
+ }, z.ZodTypeAny, "passthrough">>;
763
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
764
+ responses: z.ZodObject<{
765
+ replied: z.ZodNumber;
766
+ positive: z.ZodNumber;
767
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
768
+ replied: z.ZodNumber;
769
+ positive: z.ZodNumber;
770
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
771
+ replied: z.ZodNumber;
772
+ positive: z.ZodNumber;
773
+ }, z.ZodTypeAny, "passthrough">>;
774
+ }, z.ZodTypeAny, "passthrough">>>;
775
+ linkedin: z.ZodOptional<z.ZodObject<{
776
+ messaging: z.ZodOptional<z.ZodObject<{
777
+ responses: z.ZodObject<{
778
+ replied: z.ZodNumber;
779
+ positive: z.ZodNumber;
780
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
781
+ replied: z.ZodNumber;
782
+ positive: z.ZodNumber;
783
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
784
+ replied: z.ZodNumber;
785
+ positive: z.ZodNumber;
786
+ }, z.ZodTypeAny, "passthrough">>;
787
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
788
+ responses: z.ZodObject<{
789
+ replied: z.ZodNumber;
790
+ positive: z.ZodNumber;
791
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
792
+ replied: z.ZodNumber;
793
+ positive: z.ZodNumber;
794
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
795
+ replied: z.ZodNumber;
796
+ positive: z.ZodNumber;
797
+ }, z.ZodTypeAny, "passthrough">>;
798
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
799
+ responses: z.ZodObject<{
800
+ replied: z.ZodNumber;
801
+ positive: z.ZodNumber;
802
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
803
+ replied: z.ZodNumber;
804
+ positive: z.ZodNumber;
805
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
806
+ replied: z.ZodNumber;
807
+ positive: z.ZodNumber;
808
+ }, z.ZodTypeAny, "passthrough">>;
809
+ }, z.ZodTypeAny, "passthrough">>>;
810
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
811
+ messaging: z.ZodOptional<z.ZodObject<{
812
+ responses: z.ZodObject<{
813
+ replied: z.ZodNumber;
814
+ positive: z.ZodNumber;
815
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
816
+ replied: z.ZodNumber;
817
+ positive: z.ZodNumber;
818
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
819
+ replied: z.ZodNumber;
820
+ positive: z.ZodNumber;
821
+ }, z.ZodTypeAny, "passthrough">>;
822
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
823
+ responses: z.ZodObject<{
824
+ replied: z.ZodNumber;
825
+ positive: z.ZodNumber;
826
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
827
+ replied: z.ZodNumber;
828
+ positive: z.ZodNumber;
829
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
830
+ replied: z.ZodNumber;
831
+ positive: z.ZodNumber;
832
+ }, z.ZodTypeAny, "passthrough">>;
833
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
834
+ responses: z.ZodObject<{
835
+ replied: z.ZodNumber;
836
+ positive: z.ZodNumber;
837
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
838
+ replied: z.ZodNumber;
839
+ positive: z.ZodNumber;
840
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
841
+ replied: z.ZodNumber;
842
+ positive: z.ZodNumber;
843
+ }, z.ZodTypeAny, "passthrough">>;
844
+ }, z.ZodTypeAny, "passthrough">>>;
845
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
846
+ messaging: z.ZodOptional<z.ZodObject<{
847
+ responses: z.ZodObject<{
848
+ replied: z.ZodNumber;
849
+ positive: z.ZodNumber;
850
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
851
+ replied: z.ZodNumber;
852
+ positive: z.ZodNumber;
853
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
854
+ replied: z.ZodNumber;
855
+ positive: z.ZodNumber;
856
+ }, z.ZodTypeAny, "passthrough">>;
857
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
858
+ responses: z.ZodObject<{
859
+ replied: z.ZodNumber;
860
+ positive: z.ZodNumber;
861
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
862
+ replied: z.ZodNumber;
863
+ positive: z.ZodNumber;
864
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
865
+ replied: z.ZodNumber;
866
+ positive: z.ZodNumber;
867
+ }, z.ZodTypeAny, "passthrough">>;
868
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
869
+ responses: z.ZodObject<{
870
+ replied: z.ZodNumber;
871
+ positive: z.ZodNumber;
872
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
873
+ replied: z.ZodNumber;
874
+ positive: z.ZodNumber;
875
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
876
+ replied: z.ZodNumber;
877
+ positive: z.ZodNumber;
878
+ }, z.ZodTypeAny, "passthrough">>;
879
+ }, z.ZodTypeAny, "passthrough">>>;
880
+ }, z.ZodTypeAny, "passthrough">>>;
881
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
882
+ email: z.ZodOptional<z.ZodObject<{
883
+ responses: z.ZodObject<{
884
+ replied: z.ZodNumber;
885
+ positive: z.ZodNumber;
886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
887
+ replied: z.ZodNumber;
888
+ positive: z.ZodNumber;
889
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
890
+ replied: z.ZodNumber;
891
+ positive: z.ZodNumber;
892
+ }, z.ZodTypeAny, "passthrough">>;
893
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
894
+ responses: z.ZodObject<{
895
+ replied: z.ZodNumber;
896
+ positive: z.ZodNumber;
897
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
898
+ replied: z.ZodNumber;
899
+ positive: z.ZodNumber;
900
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
901
+ replied: z.ZodNumber;
902
+ positive: z.ZodNumber;
903
+ }, z.ZodTypeAny, "passthrough">>;
904
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
905
+ responses: z.ZodObject<{
906
+ replied: z.ZodNumber;
907
+ positive: z.ZodNumber;
908
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
909
+ replied: z.ZodNumber;
910
+ positive: z.ZodNumber;
911
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
912
+ replied: z.ZodNumber;
913
+ positive: z.ZodNumber;
914
+ }, z.ZodTypeAny, "passthrough">>;
915
+ }, z.ZodTypeAny, "passthrough">>>;
916
+ linkedin: z.ZodOptional<z.ZodObject<{
917
+ messaging: z.ZodOptional<z.ZodObject<{
918
+ responses: z.ZodObject<{
919
+ replied: z.ZodNumber;
920
+ positive: z.ZodNumber;
921
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
922
+ replied: z.ZodNumber;
923
+ positive: z.ZodNumber;
924
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
925
+ replied: z.ZodNumber;
926
+ positive: z.ZodNumber;
927
+ }, z.ZodTypeAny, "passthrough">>;
928
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
929
+ responses: z.ZodObject<{
930
+ replied: z.ZodNumber;
931
+ positive: z.ZodNumber;
932
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
933
+ replied: z.ZodNumber;
934
+ positive: z.ZodNumber;
935
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
936
+ replied: z.ZodNumber;
937
+ positive: z.ZodNumber;
938
+ }, z.ZodTypeAny, "passthrough">>;
939
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
940
+ responses: z.ZodObject<{
941
+ replied: z.ZodNumber;
942
+ positive: z.ZodNumber;
943
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
944
+ replied: z.ZodNumber;
945
+ positive: z.ZodNumber;
946
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
947
+ replied: z.ZodNumber;
948
+ positive: z.ZodNumber;
949
+ }, z.ZodTypeAny, "passthrough">>;
950
+ }, z.ZodTypeAny, "passthrough">>>;
951
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
952
+ messaging: z.ZodOptional<z.ZodObject<{
953
+ responses: z.ZodObject<{
954
+ replied: z.ZodNumber;
955
+ positive: z.ZodNumber;
956
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
957
+ replied: z.ZodNumber;
958
+ positive: z.ZodNumber;
959
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
960
+ replied: z.ZodNumber;
961
+ positive: z.ZodNumber;
962
+ }, z.ZodTypeAny, "passthrough">>;
963
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
964
+ responses: z.ZodObject<{
965
+ replied: z.ZodNumber;
966
+ positive: z.ZodNumber;
967
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
968
+ replied: z.ZodNumber;
969
+ positive: z.ZodNumber;
970
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
971
+ replied: z.ZodNumber;
972
+ positive: z.ZodNumber;
973
+ }, z.ZodTypeAny, "passthrough">>;
974
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
975
+ responses: z.ZodObject<{
976
+ replied: z.ZodNumber;
977
+ positive: z.ZodNumber;
978
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
979
+ replied: z.ZodNumber;
980
+ positive: z.ZodNumber;
981
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
982
+ replied: z.ZodNumber;
983
+ positive: z.ZodNumber;
984
+ }, z.ZodTypeAny, "passthrough">>;
985
+ }, z.ZodTypeAny, "passthrough">>>;
986
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
987
+ messaging: z.ZodOptional<z.ZodObject<{
988
+ responses: z.ZodObject<{
989
+ replied: z.ZodNumber;
990
+ positive: z.ZodNumber;
991
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
992
+ replied: z.ZodNumber;
993
+ positive: z.ZodNumber;
994
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
995
+ replied: z.ZodNumber;
996
+ positive: z.ZodNumber;
997
+ }, z.ZodTypeAny, "passthrough">>;
998
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
999
+ responses: z.ZodObject<{
1000
+ replied: z.ZodNumber;
1001
+ positive: z.ZodNumber;
1002
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1003
+ replied: z.ZodNumber;
1004
+ positive: z.ZodNumber;
1005
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1006
+ replied: z.ZodNumber;
1007
+ positive: z.ZodNumber;
1008
+ }, z.ZodTypeAny, "passthrough">>;
1009
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1010
+ responses: z.ZodObject<{
1011
+ replied: z.ZodNumber;
1012
+ positive: z.ZodNumber;
1013
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1014
+ replied: z.ZodNumber;
1015
+ positive: z.ZodNumber;
1016
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1017
+ replied: z.ZodNumber;
1018
+ positive: z.ZodNumber;
1019
+ }, z.ZodTypeAny, "passthrough">>;
1020
+ }, z.ZodTypeAny, "passthrough">>>;
1021
+ }, z.ZodTypeAny, "passthrough">>>;
1022
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1023
+ email: z.ZodOptional<z.ZodObject<{
1024
+ responses: z.ZodObject<{
1025
+ replied: z.ZodNumber;
1026
+ positive: z.ZodNumber;
1027
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1028
+ replied: z.ZodNumber;
1029
+ positive: z.ZodNumber;
1030
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1031
+ replied: z.ZodNumber;
1032
+ positive: z.ZodNumber;
1033
+ }, z.ZodTypeAny, "passthrough">>;
1034
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1035
+ responses: z.ZodObject<{
1036
+ replied: z.ZodNumber;
1037
+ positive: z.ZodNumber;
1038
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1039
+ replied: z.ZodNumber;
1040
+ positive: z.ZodNumber;
1041
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1042
+ replied: z.ZodNumber;
1043
+ positive: z.ZodNumber;
1044
+ }, z.ZodTypeAny, "passthrough">>;
1045
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1046
+ responses: z.ZodObject<{
1047
+ replied: z.ZodNumber;
1048
+ positive: z.ZodNumber;
1049
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1050
+ replied: z.ZodNumber;
1051
+ positive: z.ZodNumber;
1052
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1053
+ replied: z.ZodNumber;
1054
+ positive: z.ZodNumber;
1055
+ }, z.ZodTypeAny, "passthrough">>;
1056
+ }, z.ZodTypeAny, "passthrough">>>;
1057
+ linkedin: z.ZodOptional<z.ZodObject<{
1058
+ messaging: z.ZodOptional<z.ZodObject<{
1059
+ responses: z.ZodObject<{
1060
+ replied: z.ZodNumber;
1061
+ positive: z.ZodNumber;
1062
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1063
+ replied: z.ZodNumber;
1064
+ positive: z.ZodNumber;
1065
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1066
+ replied: z.ZodNumber;
1067
+ positive: z.ZodNumber;
1068
+ }, z.ZodTypeAny, "passthrough">>;
1069
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1070
+ responses: z.ZodObject<{
1071
+ replied: z.ZodNumber;
1072
+ positive: z.ZodNumber;
1073
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1074
+ replied: z.ZodNumber;
1075
+ positive: z.ZodNumber;
1076
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1077
+ replied: z.ZodNumber;
1078
+ positive: z.ZodNumber;
1079
+ }, z.ZodTypeAny, "passthrough">>;
1080
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1081
+ responses: z.ZodObject<{
1082
+ replied: z.ZodNumber;
1083
+ positive: z.ZodNumber;
1084
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1085
+ replied: z.ZodNumber;
1086
+ positive: z.ZodNumber;
1087
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1088
+ replied: z.ZodNumber;
1089
+ positive: z.ZodNumber;
1090
+ }, z.ZodTypeAny, "passthrough">>;
1091
+ }, z.ZodTypeAny, "passthrough">>>;
1092
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1093
+ messaging: z.ZodOptional<z.ZodObject<{
1094
+ responses: z.ZodObject<{
1095
+ replied: z.ZodNumber;
1096
+ positive: z.ZodNumber;
1097
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1098
+ replied: z.ZodNumber;
1099
+ positive: z.ZodNumber;
1100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1101
+ replied: z.ZodNumber;
1102
+ positive: z.ZodNumber;
1103
+ }, z.ZodTypeAny, "passthrough">>;
1104
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1105
+ responses: z.ZodObject<{
1106
+ replied: z.ZodNumber;
1107
+ positive: z.ZodNumber;
1108
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1109
+ replied: z.ZodNumber;
1110
+ positive: z.ZodNumber;
1111
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1112
+ replied: z.ZodNumber;
1113
+ positive: z.ZodNumber;
1114
+ }, z.ZodTypeAny, "passthrough">>;
1115
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1116
+ responses: z.ZodObject<{
1117
+ replied: z.ZodNumber;
1118
+ positive: z.ZodNumber;
1119
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1120
+ replied: z.ZodNumber;
1121
+ positive: z.ZodNumber;
1122
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1123
+ replied: z.ZodNumber;
1124
+ positive: z.ZodNumber;
1125
+ }, z.ZodTypeAny, "passthrough">>;
1126
+ }, z.ZodTypeAny, "passthrough">>>;
1127
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1128
+ messaging: z.ZodOptional<z.ZodObject<{
1129
+ responses: z.ZodObject<{
1130
+ replied: z.ZodNumber;
1131
+ positive: z.ZodNumber;
1132
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1133
+ replied: z.ZodNumber;
1134
+ positive: z.ZodNumber;
1135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1136
+ replied: z.ZodNumber;
1137
+ positive: z.ZodNumber;
1138
+ }, z.ZodTypeAny, "passthrough">>;
1139
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1140
+ responses: z.ZodObject<{
1141
+ replied: z.ZodNumber;
1142
+ positive: z.ZodNumber;
1143
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1144
+ replied: z.ZodNumber;
1145
+ positive: z.ZodNumber;
1146
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1147
+ replied: z.ZodNumber;
1148
+ positive: z.ZodNumber;
1149
+ }, z.ZodTypeAny, "passthrough">>;
1150
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1151
+ responses: z.ZodObject<{
1152
+ replied: z.ZodNumber;
1153
+ positive: z.ZodNumber;
1154
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1155
+ replied: z.ZodNumber;
1156
+ positive: z.ZodNumber;
1157
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1158
+ replied: z.ZodNumber;
1159
+ positive: z.ZodNumber;
1160
+ }, z.ZodTypeAny, "passthrough">>;
1161
+ }, z.ZodTypeAny, "passthrough">>>;
1162
+ }, z.ZodTypeAny, "passthrough">>>;
1163
+ }, z.ZodTypeAny, "passthrough">>>>;
1164
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1165
+ summary: z.ZodObject<{
1166
+ sent: z.ZodNumber;
1167
+ replied: z.ZodNumber;
1168
+ reply_breakdown: z.ZodObject<{
1169
+ positive: z.ZodNumber;
1170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1171
+ positive: z.ZodNumber;
1172
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1173
+ positive: z.ZodNumber;
1174
+ }, z.ZodTypeAny, "passthrough">>;
1175
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
1176
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1177
+ sent: z.ZodNumber;
1178
+ replied: z.ZodNumber;
1179
+ reply_breakdown: z.ZodObject<{
1180
+ positive: z.ZodNumber;
1181
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1182
+ positive: z.ZodNumber;
1183
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1184
+ positive: z.ZodNumber;
1185
+ }, z.ZodTypeAny, "passthrough">>;
1186
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
1187
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1188
+ sent: z.ZodNumber;
1189
+ replied: z.ZodNumber;
1190
+ reply_breakdown: z.ZodObject<{
1191
+ positive: z.ZodNumber;
1192
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1193
+ positive: z.ZodNumber;
1194
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1195
+ positive: z.ZodNumber;
1196
+ }, z.ZodTypeAny, "passthrough">>;
1197
+ outcomes: z.ZodRecord<z.ZodString, z.ZodNumber>;
1198
+ }, z.ZodTypeAny, "passthrough">>;
1199
+ channels: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1200
+ email: z.ZodOptional<z.ZodObject<{
1201
+ responses: z.ZodObject<{
1202
+ replied: z.ZodNumber;
1203
+ positive: z.ZodNumber;
1204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1205
+ replied: z.ZodNumber;
1206
+ positive: z.ZodNumber;
1207
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1208
+ replied: z.ZodNumber;
1209
+ positive: z.ZodNumber;
1210
+ }, z.ZodTypeAny, "passthrough">>;
1211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1212
+ responses: z.ZodObject<{
1213
+ replied: z.ZodNumber;
1214
+ positive: z.ZodNumber;
1215
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1216
+ replied: z.ZodNumber;
1217
+ positive: z.ZodNumber;
1218
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1219
+ replied: z.ZodNumber;
1220
+ positive: z.ZodNumber;
1221
+ }, z.ZodTypeAny, "passthrough">>;
1222
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1223
+ responses: z.ZodObject<{
1224
+ replied: z.ZodNumber;
1225
+ positive: z.ZodNumber;
1226
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1227
+ replied: z.ZodNumber;
1228
+ positive: z.ZodNumber;
1229
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1230
+ replied: z.ZodNumber;
1231
+ positive: z.ZodNumber;
1232
+ }, z.ZodTypeAny, "passthrough">>;
1233
+ }, z.ZodTypeAny, "passthrough">>>;
1234
+ linkedin: z.ZodOptional<z.ZodObject<{
1235
+ messaging: z.ZodOptional<z.ZodObject<{
1236
+ responses: z.ZodObject<{
1237
+ replied: z.ZodNumber;
1238
+ positive: z.ZodNumber;
1239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1240
+ replied: z.ZodNumber;
1241
+ positive: z.ZodNumber;
1242
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1243
+ replied: z.ZodNumber;
1244
+ positive: z.ZodNumber;
1245
+ }, z.ZodTypeAny, "passthrough">>;
1246
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1247
+ responses: z.ZodObject<{
1248
+ replied: z.ZodNumber;
1249
+ positive: z.ZodNumber;
1250
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1251
+ replied: z.ZodNumber;
1252
+ positive: z.ZodNumber;
1253
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1254
+ replied: z.ZodNumber;
1255
+ positive: z.ZodNumber;
1256
+ }, z.ZodTypeAny, "passthrough">>;
1257
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1258
+ responses: z.ZodObject<{
1259
+ replied: z.ZodNumber;
1260
+ positive: z.ZodNumber;
1261
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1262
+ replied: z.ZodNumber;
1263
+ positive: z.ZodNumber;
1264
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1265
+ replied: z.ZodNumber;
1266
+ positive: z.ZodNumber;
1267
+ }, z.ZodTypeAny, "passthrough">>;
1268
+ }, z.ZodTypeAny, "passthrough">>>;
1269
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1270
+ messaging: z.ZodOptional<z.ZodObject<{
1271
+ responses: z.ZodObject<{
1272
+ replied: z.ZodNumber;
1273
+ positive: z.ZodNumber;
1274
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1275
+ replied: z.ZodNumber;
1276
+ positive: z.ZodNumber;
1277
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1278
+ replied: z.ZodNumber;
1279
+ positive: z.ZodNumber;
1280
+ }, z.ZodTypeAny, "passthrough">>;
1281
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1282
+ responses: z.ZodObject<{
1283
+ replied: z.ZodNumber;
1284
+ positive: z.ZodNumber;
1285
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1286
+ replied: z.ZodNumber;
1287
+ positive: z.ZodNumber;
1288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1289
+ replied: z.ZodNumber;
1290
+ positive: z.ZodNumber;
1291
+ }, z.ZodTypeAny, "passthrough">>;
1292
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1293
+ responses: z.ZodObject<{
1294
+ replied: z.ZodNumber;
1295
+ positive: z.ZodNumber;
1296
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1297
+ replied: z.ZodNumber;
1298
+ positive: z.ZodNumber;
1299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1300
+ replied: z.ZodNumber;
1301
+ positive: z.ZodNumber;
1302
+ }, z.ZodTypeAny, "passthrough">>;
1303
+ }, z.ZodTypeAny, "passthrough">>>;
1304
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1305
+ messaging: z.ZodOptional<z.ZodObject<{
1306
+ responses: z.ZodObject<{
1307
+ replied: z.ZodNumber;
1308
+ positive: z.ZodNumber;
1309
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1310
+ replied: z.ZodNumber;
1311
+ positive: z.ZodNumber;
1312
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1313
+ replied: z.ZodNumber;
1314
+ positive: z.ZodNumber;
1315
+ }, z.ZodTypeAny, "passthrough">>;
1316
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1317
+ responses: z.ZodObject<{
1318
+ replied: z.ZodNumber;
1319
+ positive: z.ZodNumber;
1320
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1321
+ replied: z.ZodNumber;
1322
+ positive: z.ZodNumber;
1323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1324
+ replied: z.ZodNumber;
1325
+ positive: z.ZodNumber;
1326
+ }, z.ZodTypeAny, "passthrough">>;
1327
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1328
+ responses: z.ZodObject<{
1329
+ replied: z.ZodNumber;
1330
+ positive: z.ZodNumber;
1331
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1332
+ replied: z.ZodNumber;
1333
+ positive: z.ZodNumber;
1334
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1335
+ replied: z.ZodNumber;
1336
+ positive: z.ZodNumber;
1337
+ }, z.ZodTypeAny, "passthrough">>;
1338
+ }, z.ZodTypeAny, "passthrough">>>;
1339
+ }, z.ZodTypeAny, "passthrough">>>;
1340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1341
+ email: z.ZodOptional<z.ZodObject<{
1342
+ responses: z.ZodObject<{
1343
+ replied: z.ZodNumber;
1344
+ positive: z.ZodNumber;
1345
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1346
+ replied: z.ZodNumber;
1347
+ positive: z.ZodNumber;
1348
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1349
+ replied: z.ZodNumber;
1350
+ positive: z.ZodNumber;
1351
+ }, z.ZodTypeAny, "passthrough">>;
1352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1353
+ responses: z.ZodObject<{
1354
+ replied: z.ZodNumber;
1355
+ positive: z.ZodNumber;
1356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1357
+ replied: z.ZodNumber;
1358
+ positive: z.ZodNumber;
1359
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1360
+ replied: z.ZodNumber;
1361
+ positive: z.ZodNumber;
1362
+ }, z.ZodTypeAny, "passthrough">>;
1363
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1364
+ responses: z.ZodObject<{
1365
+ replied: z.ZodNumber;
1366
+ positive: z.ZodNumber;
1367
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1368
+ replied: z.ZodNumber;
1369
+ positive: z.ZodNumber;
1370
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1371
+ replied: z.ZodNumber;
1372
+ positive: z.ZodNumber;
1373
+ }, z.ZodTypeAny, "passthrough">>;
1374
+ }, z.ZodTypeAny, "passthrough">>>;
1375
+ linkedin: z.ZodOptional<z.ZodObject<{
1376
+ messaging: z.ZodOptional<z.ZodObject<{
1377
+ responses: z.ZodObject<{
1378
+ replied: z.ZodNumber;
1379
+ positive: z.ZodNumber;
1380
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1381
+ replied: z.ZodNumber;
1382
+ positive: z.ZodNumber;
1383
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1384
+ replied: z.ZodNumber;
1385
+ positive: z.ZodNumber;
1386
+ }, z.ZodTypeAny, "passthrough">>;
1387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1388
+ responses: z.ZodObject<{
1389
+ replied: z.ZodNumber;
1390
+ positive: z.ZodNumber;
1391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1392
+ replied: z.ZodNumber;
1393
+ positive: z.ZodNumber;
1394
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1395
+ replied: z.ZodNumber;
1396
+ positive: z.ZodNumber;
1397
+ }, z.ZodTypeAny, "passthrough">>;
1398
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1399
+ responses: z.ZodObject<{
1400
+ replied: z.ZodNumber;
1401
+ positive: z.ZodNumber;
1402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1403
+ replied: z.ZodNumber;
1404
+ positive: z.ZodNumber;
1405
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1406
+ replied: z.ZodNumber;
1407
+ positive: z.ZodNumber;
1408
+ }, z.ZodTypeAny, "passthrough">>;
1409
+ }, z.ZodTypeAny, "passthrough">>>;
1410
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1411
+ messaging: z.ZodOptional<z.ZodObject<{
1412
+ responses: z.ZodObject<{
1413
+ replied: z.ZodNumber;
1414
+ positive: z.ZodNumber;
1415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1416
+ replied: z.ZodNumber;
1417
+ positive: z.ZodNumber;
1418
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1419
+ replied: z.ZodNumber;
1420
+ positive: z.ZodNumber;
1421
+ }, z.ZodTypeAny, "passthrough">>;
1422
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1423
+ responses: z.ZodObject<{
1424
+ replied: z.ZodNumber;
1425
+ positive: z.ZodNumber;
1426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1427
+ replied: z.ZodNumber;
1428
+ positive: z.ZodNumber;
1429
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1430
+ replied: z.ZodNumber;
1431
+ positive: z.ZodNumber;
1432
+ }, z.ZodTypeAny, "passthrough">>;
1433
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1434
+ responses: z.ZodObject<{
1435
+ replied: z.ZodNumber;
1436
+ positive: z.ZodNumber;
1437
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1438
+ replied: z.ZodNumber;
1439
+ positive: z.ZodNumber;
1440
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1441
+ replied: z.ZodNumber;
1442
+ positive: z.ZodNumber;
1443
+ }, z.ZodTypeAny, "passthrough">>;
1444
+ }, z.ZodTypeAny, "passthrough">>>;
1445
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1446
+ messaging: z.ZodOptional<z.ZodObject<{
1447
+ responses: z.ZodObject<{
1448
+ replied: z.ZodNumber;
1449
+ positive: z.ZodNumber;
1450
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1451
+ replied: z.ZodNumber;
1452
+ positive: z.ZodNumber;
1453
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1454
+ replied: z.ZodNumber;
1455
+ positive: z.ZodNumber;
1456
+ }, z.ZodTypeAny, "passthrough">>;
1457
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1458
+ responses: z.ZodObject<{
1459
+ replied: z.ZodNumber;
1460
+ positive: z.ZodNumber;
1461
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1462
+ replied: z.ZodNumber;
1463
+ positive: z.ZodNumber;
1464
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1465
+ replied: z.ZodNumber;
1466
+ positive: z.ZodNumber;
1467
+ }, z.ZodTypeAny, "passthrough">>;
1468
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1469
+ responses: z.ZodObject<{
1470
+ replied: z.ZodNumber;
1471
+ positive: z.ZodNumber;
1472
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1473
+ replied: z.ZodNumber;
1474
+ positive: z.ZodNumber;
1475
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1476
+ replied: z.ZodNumber;
1477
+ positive: z.ZodNumber;
1478
+ }, z.ZodTypeAny, "passthrough">>;
1479
+ }, z.ZodTypeAny, "passthrough">>>;
1480
+ }, z.ZodTypeAny, "passthrough">>>;
1481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1482
+ email: z.ZodOptional<z.ZodObject<{
1483
+ responses: z.ZodObject<{
1484
+ replied: z.ZodNumber;
1485
+ positive: z.ZodNumber;
1486
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1487
+ replied: z.ZodNumber;
1488
+ positive: z.ZodNumber;
1489
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1490
+ replied: z.ZodNumber;
1491
+ positive: z.ZodNumber;
1492
+ }, z.ZodTypeAny, "passthrough">>;
1493
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1494
+ responses: z.ZodObject<{
1495
+ replied: z.ZodNumber;
1496
+ positive: z.ZodNumber;
1497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1498
+ replied: z.ZodNumber;
1499
+ positive: z.ZodNumber;
1500
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1501
+ replied: z.ZodNumber;
1502
+ positive: z.ZodNumber;
1503
+ }, z.ZodTypeAny, "passthrough">>;
1504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1505
+ responses: z.ZodObject<{
1506
+ replied: z.ZodNumber;
1507
+ positive: z.ZodNumber;
1508
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1509
+ replied: z.ZodNumber;
1510
+ positive: z.ZodNumber;
1511
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1512
+ replied: z.ZodNumber;
1513
+ positive: z.ZodNumber;
1514
+ }, z.ZodTypeAny, "passthrough">>;
1515
+ }, z.ZodTypeAny, "passthrough">>>;
1516
+ linkedin: z.ZodOptional<z.ZodObject<{
1517
+ messaging: z.ZodOptional<z.ZodObject<{
1518
+ responses: z.ZodObject<{
1519
+ replied: z.ZodNumber;
1520
+ positive: z.ZodNumber;
1521
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1522
+ replied: z.ZodNumber;
1523
+ positive: z.ZodNumber;
1524
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1525
+ replied: z.ZodNumber;
1526
+ positive: z.ZodNumber;
1527
+ }, z.ZodTypeAny, "passthrough">>;
1528
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1529
+ responses: z.ZodObject<{
1530
+ replied: z.ZodNumber;
1531
+ positive: z.ZodNumber;
1532
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1533
+ replied: z.ZodNumber;
1534
+ positive: z.ZodNumber;
1535
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1536
+ replied: z.ZodNumber;
1537
+ positive: z.ZodNumber;
1538
+ }, z.ZodTypeAny, "passthrough">>;
1539
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1540
+ responses: z.ZodObject<{
1541
+ replied: z.ZodNumber;
1542
+ positive: z.ZodNumber;
1543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1544
+ replied: z.ZodNumber;
1545
+ positive: z.ZodNumber;
1546
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1547
+ replied: z.ZodNumber;
1548
+ positive: z.ZodNumber;
1549
+ }, z.ZodTypeAny, "passthrough">>;
1550
+ }, z.ZodTypeAny, "passthrough">>>;
1551
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1552
+ messaging: z.ZodOptional<z.ZodObject<{
1553
+ responses: z.ZodObject<{
1554
+ replied: z.ZodNumber;
1555
+ positive: z.ZodNumber;
1556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1557
+ replied: z.ZodNumber;
1558
+ positive: z.ZodNumber;
1559
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1560
+ replied: z.ZodNumber;
1561
+ positive: z.ZodNumber;
1562
+ }, z.ZodTypeAny, "passthrough">>;
1563
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1564
+ responses: z.ZodObject<{
1565
+ replied: z.ZodNumber;
1566
+ positive: z.ZodNumber;
1567
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1568
+ replied: z.ZodNumber;
1569
+ positive: z.ZodNumber;
1570
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1571
+ replied: z.ZodNumber;
1572
+ positive: z.ZodNumber;
1573
+ }, z.ZodTypeAny, "passthrough">>;
1574
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1575
+ responses: z.ZodObject<{
1576
+ replied: z.ZodNumber;
1577
+ positive: z.ZodNumber;
1578
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1579
+ replied: z.ZodNumber;
1580
+ positive: z.ZodNumber;
1581
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1582
+ replied: z.ZodNumber;
1583
+ positive: z.ZodNumber;
1584
+ }, z.ZodTypeAny, "passthrough">>;
1585
+ }, z.ZodTypeAny, "passthrough">>>;
1586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1587
+ messaging: z.ZodOptional<z.ZodObject<{
1588
+ responses: z.ZodObject<{
1589
+ replied: z.ZodNumber;
1590
+ positive: z.ZodNumber;
1591
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1592
+ replied: z.ZodNumber;
1593
+ positive: z.ZodNumber;
1594
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1595
+ replied: z.ZodNumber;
1596
+ positive: z.ZodNumber;
1597
+ }, z.ZodTypeAny, "passthrough">>;
1598
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1599
+ responses: z.ZodObject<{
1600
+ replied: z.ZodNumber;
1601
+ positive: z.ZodNumber;
1602
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1603
+ replied: z.ZodNumber;
1604
+ positive: z.ZodNumber;
1605
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1606
+ replied: z.ZodNumber;
1607
+ positive: z.ZodNumber;
1608
+ }, z.ZodTypeAny, "passthrough">>;
1609
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1610
+ responses: z.ZodObject<{
1611
+ replied: z.ZodNumber;
1612
+ positive: z.ZodNumber;
1613
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1614
+ replied: z.ZodNumber;
1615
+ positive: z.ZodNumber;
1616
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1617
+ replied: z.ZodNumber;
1618
+ positive: z.ZodNumber;
1619
+ }, z.ZodTypeAny, "passthrough">>;
1620
+ }, z.ZodTypeAny, "passthrough">>>;
1621
+ }, z.ZodTypeAny, "passthrough">>>;
1622
+ }, z.ZodTypeAny, "passthrough">>>>;
1623
+ }, z.ZodTypeAny, "passthrough">>;
1624
+ type Reads = {
1625
+ results: z.infer<typeof reportSchema> | null;
1626
+ comparison: z.infer<typeof reportSchema> | null;
1627
+ replies: z.infer<typeof repliesSchema> | null;
1628
+ review: ReviewSummary | null;
1629
+ accounts: z.infer<typeof accountsSchema> | null;
1630
+ requests: z.infer<typeof requestsSchema> | null;
1631
+ credits: z.infer<typeof creditsSchema> | null;
1632
+ };
1633
+ /** The reads one brief makes, by name: each a workspace operation and its query. */
1634
+ export declare function briefReads(kind: BriefKind, periods: BriefPeriods, timeZone: string): Partial<Record<keyof Reads, {
1635
+ operationId: string;
1636
+ query: BriefQuery;
1637
+ }>>;
1638
+ /** Sender statuses Today and the brief share. */
1639
+ export declare const SENDER_NEEDS_ATTENTION: ReadonlySet<string>;
1640
+ /** A reply the user can answer: open, and not closed-only (see isReplyClosedOnly). Today and the brief use it too. */
1641
+ export declare function isReplyToAnswer(task: {
1642
+ status: string;
1643
+ sequence_stopped?: unknown;
1644
+ resume_ended_reason?: unknown;
1645
+ }): boolean;
1646
+ /**
1647
+ * A reply that can be closed on the Replies screen, never answered: outreach to
1648
+ * the contact was stopped (mark done), or its out-of-office or not-now resume
1649
+ * ended because the contact is suppressed (archive).
1650
+ */
1651
+ export declare function isReplyClosedOnly(task: {
1652
+ sequence_stopped?: unknown;
1653
+ resume_ended_reason?: unknown;
1654
+ }): boolean;
1655
+ /** Whether a reply's due time has passed. It does not check that the reply can be answered; callers pass only replies to answer. */
1656
+ export declare function isReplyOverdue(task: {
1657
+ sla_due_at?: string | null;
1658
+ }, now: number): boolean;
1659
+ /**
1660
+ * Counts of listed reply tasks. Every task falls in exactly one of to_answer,
1661
+ * snoozed and closed_only, so the three add up to the listed tasks. They count
1662
+ * only what is listed: under results_limited each is a lower bound.
1663
+ */
1664
+ export declare function replyCounts(tasks: ReadonlyArray<{
1665
+ status: string;
1666
+ sequence_stopped?: unknown;
1667
+ resume_ended_reason?: unknown;
1668
+ sla_due_at?: string | null;
1669
+ }>, now: number): {
1670
+ to_answer: number;
1671
+ overdue: number;
1672
+ snoozed: number;
1673
+ closed_only: number;
1674
+ };
1675
+ /** Builds a brief from its reads. Pure: the same reads always give the same brief. */
1676
+ export declare function buildBrief(kind: BriefKind, timeZone: string, now: Date, periods: BriefPeriods, raw: Partial<Record<keyof Reads, unknown>>): Brief;
1677
+ /** Runs a brief's reads in parallel with the caller's reader, then builds it. */
1678
+ export declare function loadBrief(input: BriefInput, read: BriefReader, now?: Date): Promise<Brief>;
1679
+ /** The brief as Markdown, for chat, Slack and email. Links are relative to the app. */
1680
+ export declare function briefMarkdown(brief: Brief, origin?: string): string;
1681
+ export {};