@sentry/junior 0.298.0 → 0.299.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/{actor-6jsm_v96.js → actor-D2iXzvlN.js} +2 -1
- package/dist/{state-CSuA2J1V.js → adapter-AgCNqqsG.js} +49 -133
- package/dist/{admin-BF3DbYGf.js → admin-1VwEXztm.js} +2 -2
- package/dist/{agent-runner-Q9GkoerG.js → agent-runner-Ciet8_nn.js} +977 -1316
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +8 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +125 -43
- package/dist/{app-DOg_mCtV.d.ts → app--ky-Eu33.d.ts} +6 -4
- package/dist/app.d.ts +1 -1
- package/dist/app.js +126 -299
- package/dist/{automation-Cn8qmbdr.js → automation-M3RFJUBf.js} +1 -1
- package/dist/{background-compaction-queue-BZhGFOK6.js → background-compaction-queue-CnimvRdk.js} +4 -4
- package/dist/{briefs-CQrCRF6-.js → briefs-CwzvgdCa.js} +4 -4
- package/dist/{catalog-runtime-DZeD2WbL.js → catalog-runtime-DaBaHY7u.js} +1 -1
- package/dist/cli/chat.js +17 -17
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +5 -5
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +4 -4
- package/dist/{config-BOByVnxe.js → config-CAXIpWQb.js} +80 -6
- package/dist/{connections-BNN5cJam.js → connections-Dy0hPdUq.js} +6 -6
- package/dist/continue-in-slack-DIOjFj76.js +176 -0
- package/dist/{conversation-DCkzvxqB.js → conversation-fCWD9Az3.js} +24 -12
- package/dist/{conversation-feed-CMA12Rjs.js → conversation-feed-BPK8vkkZ.js} +88 -3
- package/dist/{conversation-privacy-C0eRxsgb.js → conversation-privacy-DUgtRkf8.js} +1 -1
- package/dist/{conversation-turn-D9qvcDX6.js → conversation-turn-DkJB6yMF.js} +85 -68
- package/dist/{credential-sync-B_iUpxGL.js → credential-sync-RX24Y8aY.js} +18 -18
- package/dist/{db-DoMcnYol.d.ts → db-B07FtU9g.d.ts} +1 -1
- package/dist/{db-CoMNr2Zm.js → db-COYOGzYS.js} +171 -12
- package/dist/{executor-C-m8VrzX.js → executor-BWmAgSyi.js} +40 -11
- package/dist/{media-BepyEUNm.js → history-IjdmO_r6.js} +1 -85
- package/dist/instrumentation.js +2 -2
- package/dist/lineage-D-5jm_oj.js +37 -0
- package/dist/{logging-CJTi5niy.js → logging-DPLEa8Bn.js} +1 -1
- package/dist/media-BAHvgkok.js +85 -0
- package/dist/{message-Q6_5DAWR.js → message-BIHR1yRk.js} +9 -10
- package/dist/model-input-BPZYH8Nd.js +82 -0
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +17 -9
- package/dist/{oauth-callback-server-CH5XAyo-.js → oauth-callback-server-R7qvSzFG.js} +2 -2
- package/dist/{plugins-HYh_JOdw.js → plugins-CBW2Prb_.js} +1 -1
- package/dist/{projection-BgwEE36_.js → projection-DEdP1q6f.js} +261 -36
- package/dist/{prompt-DXc9DYT9.js → prompt-4M98h_tC.js} +4 -4
- package/dist/{registry-9XwqSnM-.js → registry-BTKmKM-r.js} +3 -3
- package/dist/{resolve-DUIAbcRL.js → resolve-B8hXNVZ3.js} +3 -3
- package/dist/{result-C2Vn8QGn.js → result-g-XAaOj6.js} +158 -69
- package/dist/{runner-CXGtw-Mc.js → runner-BlPSA5A8.js} +9 -9
- package/dist/{sandbox-egress-signals-Di3S_dO7.js → sandbox-egress-signals-Pai-MzEY.js} +1 -1
- package/dist/{schema-Dyp7racy.js → schema-BNnY_trV.js} +47 -7
- package/dist/{schema-BnbZ-rKv.d.ts → schema-DbuWR-DN.d.ts} +657 -346
- package/dist/{service-account-GzAMUQ8a.js → service-account-9OLNQMyz.js} +4 -4
- package/dist/{service-account-DM3KBBeG.js → service-account-BYGZ08DQ.js} +3 -3
- package/dist/session-stop-2XJrcNCy.js +3356 -0
- package/dist/{skills-DCK9SD_l.js → skills-DpBQoeHV.js} +3 -3
- package/dist/slack-conversation-unfurl-BcDIWo67.js +370 -0
- package/dist/spawn-09GssFod.js +73 -0
- package/dist/state-Cufq0_rH.js +132 -0
- package/dist/{user-input-request-CXNIov9n.js → statuses-B8mUfghF.js} +30 -25
- package/dist/{stop-Dh2DfwpK.js → stop-U7iUrR1g.js} +6008 -5772
- package/dist/{store-B1zepKG8.js → store-BHiaHCQu.js} +24 -4
- package/dist/{store-DrA17Fbz.js → store-CSgUTMdv.js} +10 -10
- package/dist/{task-queue-D1rXWfFN.js → task-queue-bMNq0clp.js} +4 -4
- package/dist/{task-runner-CT4M8oDz.js → task-runner-B__rxwxU.js} +10 -10
- package/dist/{thread-context-DnqUkbzN.js → thread-context-d0ceWbVT.js} +18 -18
- package/dist/{turn-session-routing-VXDVXLRl.js → turn-session-routing-BVZHBFCF.js} +5 -5
- package/dist/turn-user-message-BEw7acTP.js +355 -0
- package/dist/users-BK3dbxZL.js +424 -0
- package/dist/{validation-zxAJBDDy.js → validation-BDVJjO2E.js} +1 -1
- package/dist/{version-DcZ40a0g.js → version-DQgZoQ3D.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-CgiGjW10.js → viewer-CAWfFo29.js} +25 -54
- package/dist/{warmup-CwKbxQLl.js → warmup-9ySPacF9.js} +1137 -144
- package/dist/{worker-CbDUzaBA.js → worker-D8jJO-WO.js} +8 -7
- package/migrations/0104_code_change_draft.sql +1 -0
- package/migrations/0105_attachment_uploads.sql +14 -0
- package/migrations/0106_conversation_agent_config.sql +1 -0
- package/migrations/meta/0104_snapshot.json +4516 -0
- package/migrations/meta/0105_snapshot.json +4611 -0
- package/migrations/meta/0106_snapshot.json +4617 -0
- package/migrations/meta/_journal.json +21 -0
- package/package.json +4 -4
- package/dist/attempt-selection-ClP3MMPr.js +0 -61
- package/dist/locks-D-0h111u.js +0 -48
- package/dist/notification-Bv25xbj0.js +0 -1284
- package/dist/prompt-input-BUr4J9RO.js +0 -1424
- package/dist/session-stop-D4i7e6iT.js +0 -181
- package/dist/spawn-6cX6xE9G.js +0 -80
- package/dist/turn-cancel-l460pfGW.js +0 -201
- package/dist/turn-user-message-BSPmkm7X.js +0 -608
- package/dist/turn-wake-DVFVXyhX.js +0 -161
- package/dist/{oauth-relay-CsfIazeF.js → oauth-relay-DRzq73b6.js} +1 -1
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ConversationAnnotation, OwnedObjectAnnotation, OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
2
|
+
import { ConversationAnnotation, ObjectAnnotation, OwnedObjectAnnotation, OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
3
3
|
declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
4
4
|
/** Video types that browsers play in a `<video>` element. */
|
|
5
5
|
declare const INLINE_VIDEO_TYPES: readonly ["video/mp4", "video/webm"];
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Largest file that a web Message can carry.
|
|
8
|
+
*
|
|
9
|
+
* `loadAttachment` reads the whole file into memory before it writes the file
|
|
10
|
+
* to the sandbox, and the message request reads each upload once to check it.
|
|
11
|
+
* Keep this well below function memory.
|
|
12
|
+
*/
|
|
13
|
+
declare const MAX_INPUT_ATTACHMENT_BYTES: number;
|
|
14
|
+
/** Most files on one web Message, as in one Slack message. */
|
|
15
|
+
declare const MAX_INPUT_ATTACHMENTS = 10;
|
|
16
|
+
/** File facts that a browser declares before it uploads the bytes. */
|
|
17
|
+
declare const inputFileSchema: z.ZodObject<{
|
|
11
18
|
filename: z.ZodString;
|
|
12
|
-
contentType: z.
|
|
13
|
-
|
|
14
|
-
"image/jpeg": "image/jpeg";
|
|
15
|
-
"image/png": "image/png";
|
|
16
|
-
"image/webp": "image/webp";
|
|
17
|
-
}>;
|
|
18
|
-
data: z.ZodString;
|
|
19
|
+
contentType: z.ZodString;
|
|
20
|
+
bytes: z.ZodNumber;
|
|
19
21
|
}, z.core.$strict>;
|
|
20
|
-
type
|
|
22
|
+
type InputFile = z.output<typeof inputFileSchema>;
|
|
21
23
|
/** Safe attachment facts shared by mailbox input and transcript messages. */
|
|
22
24
|
declare const messageAttachmentSchema: z.ZodObject<{
|
|
23
25
|
id: z.ZodString;
|
|
@@ -164,269 +166,8 @@ declare const messageCardRefSchema: z.ZodObject<{
|
|
|
164
166
|
type MessageCardRef = z.output<typeof messageCardRefSchema>;
|
|
165
167
|
/** Resolve current saved facts without fetching providers or changing history. */
|
|
166
168
|
declare function resolveMessageCards(refs: readonly MessageCardRef[], annotations: readonly ConversationAnnotation[]): OwnedObjectAnnotation[];
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
conversations: z.ZodNumber;
|
|
170
|
-
date: z.ZodString;
|
|
171
|
-
durationMs: z.ZodNumber;
|
|
172
|
-
failed: z.ZodNumber;
|
|
173
|
-
tokens: z.ZodOptional<z.ZodNumber>;
|
|
174
|
-
}, z.core.$strict>;
|
|
175
|
-
type DailyConversationActivity = z.infer<typeof dailyConversationActivitySchema>;
|
|
176
|
-
/**
|
|
177
|
-
* The part of a Conversation total that its child agents spent, at any depth.
|
|
178
|
-
* Present only when the Conversation has child agents. The Conversation's own
|
|
179
|
-
* part is the total minus this part.
|
|
180
|
-
*/
|
|
181
|
-
declare const conversationChildAgentTotalsSchema: z.ZodObject<{
|
|
182
|
-
auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
183
|
-
count: z.ZodNumber;
|
|
184
|
-
cumulativeDurationMs: z.ZodNumber;
|
|
185
|
-
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
186
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
188
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
189
|
-
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
190
|
-
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
191
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
192
|
-
cost: z.ZodOptional<z.ZodObject<{
|
|
193
|
-
input: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
output: z.ZodOptional<z.ZodNumber>;
|
|
195
|
-
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
196
|
-
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
197
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
198
|
-
}, z.core.$strict>>;
|
|
199
|
-
}, z.core.$strict>>;
|
|
200
|
-
}, z.core.$strict>;
|
|
201
|
-
type ConversationChildAgentTotals = z.infer<typeof conversationChildAgentTotalsSchema>;
|
|
202
|
-
declare const codeChangeSummarySchema: z.ZodObject<{
|
|
203
|
-
closed: z.ZodNumber;
|
|
204
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
205
|
-
created: z.ZodNumber;
|
|
206
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
207
|
-
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
208
|
-
merged: z.ZodNumber;
|
|
209
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
210
|
-
open: z.ZodNumber;
|
|
211
|
-
}, z.core.$strict>;
|
|
212
|
-
declare const codeActivityDaySchema: z.ZodObject<{
|
|
213
|
-
closed: z.ZodNumber;
|
|
214
|
-
created: z.ZodNumber;
|
|
215
|
-
date: z.ZodString;
|
|
216
|
-
merged: z.ZodNumber;
|
|
217
|
-
}, z.core.$strict>;
|
|
218
|
-
declare const codeRepositorySummarySchema: z.ZodObject<{
|
|
219
|
-
closed: z.ZodNumber;
|
|
220
|
-
created: z.ZodNumber;
|
|
221
|
-
id: z.ZodString;
|
|
222
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
223
|
-
merged: z.ZodNumber;
|
|
224
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
225
|
-
name: z.ZodString;
|
|
226
|
-
open: z.ZodNumber;
|
|
227
|
-
provider: z.ZodString;
|
|
228
|
-
url: z.ZodOptional<z.ZodString>;
|
|
229
|
-
}, z.core.$strict>;
|
|
230
|
-
declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
231
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
232
|
-
id: z.ZodString;
|
|
233
|
-
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
234
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
235
|
-
number: z.ZodNumber;
|
|
236
|
-
openedAt: z.ZodString;
|
|
237
|
-
provider: z.ZodString;
|
|
238
|
-
repository: z.ZodString;
|
|
239
|
-
state: z.ZodEnum<{
|
|
240
|
-
closed: "closed";
|
|
241
|
-
merged: "merged";
|
|
242
|
-
open: "open";
|
|
243
|
-
}>;
|
|
244
|
-
title: z.ZodOptional<z.ZodString>;
|
|
245
|
-
url: z.ZodOptional<z.ZodString>;
|
|
246
|
-
}, z.core.$strict>;
|
|
247
|
-
declare const codeOverviewReportSchema: z.ZodObject<{
|
|
248
|
-
activityDays: z.ZodArray<z.ZodObject<{
|
|
249
|
-
closed: z.ZodNumber;
|
|
250
|
-
created: z.ZodNumber;
|
|
251
|
-
date: z.ZodString;
|
|
252
|
-
merged: z.ZodNumber;
|
|
253
|
-
}, z.core.$strict>>;
|
|
254
|
-
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
-
closed: z.ZodNumber;
|
|
256
|
-
created: z.ZodNumber;
|
|
257
|
-
date: z.ZodString;
|
|
258
|
-
merged: z.ZodNumber;
|
|
259
|
-
}, z.core.$strict>>>;
|
|
260
|
-
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
261
|
-
closed: z.ZodNumber;
|
|
262
|
-
created: z.ZodNumber;
|
|
263
|
-
date: z.ZodString;
|
|
264
|
-
merged: z.ZodNumber;
|
|
265
|
-
}, z.core.$strict>>>;
|
|
266
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
267
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
268
|
-
id: z.ZodString;
|
|
269
|
-
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
270
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
271
|
-
number: z.ZodNumber;
|
|
272
|
-
openedAt: z.ZodString;
|
|
273
|
-
provider: z.ZodString;
|
|
274
|
-
repository: z.ZodString;
|
|
275
|
-
state: z.ZodEnum<{
|
|
276
|
-
closed: "closed";
|
|
277
|
-
merged: "merged";
|
|
278
|
-
open: "open";
|
|
279
|
-
}>;
|
|
280
|
-
title: z.ZodOptional<z.ZodString>;
|
|
281
|
-
url: z.ZodOptional<z.ZodString>;
|
|
282
|
-
}, z.core.$strict>>;
|
|
283
|
-
generatedAt: z.ZodString;
|
|
284
|
-
repositories: z.ZodArray<z.ZodObject<{
|
|
285
|
-
closed: z.ZodNumber;
|
|
286
|
-
created: z.ZodNumber;
|
|
287
|
-
id: z.ZodString;
|
|
288
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
289
|
-
merged: z.ZodNumber;
|
|
290
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
291
|
-
name: z.ZodString;
|
|
292
|
-
open: z.ZodNumber;
|
|
293
|
-
provider: z.ZodString;
|
|
294
|
-
url: z.ZodOptional<z.ZodString>;
|
|
295
|
-
}, z.core.$strict>>;
|
|
296
|
-
summary: z.ZodObject<{
|
|
297
|
-
closed: z.ZodNumber;
|
|
298
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
299
|
-
created: z.ZodNumber;
|
|
300
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
301
|
-
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
302
|
-
merged: z.ZodNumber;
|
|
303
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
304
|
-
open: z.ZodNumber;
|
|
305
|
-
}, z.core.$strict>;
|
|
306
|
-
windowEnd: z.ZodString;
|
|
307
|
-
windowStart: z.ZodString;
|
|
308
|
-
}, z.core.$strict>;
|
|
309
|
-
declare const codeRepositoryParamsSchema: z.ZodObject<{
|
|
310
|
-
repositoryId: z.ZodString;
|
|
311
|
-
}, z.core.$strict>;
|
|
312
|
-
/** Code activity, recent changes, and Workspaces for one repository. */
|
|
313
|
-
declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
314
|
-
activityDays: z.ZodArray<z.ZodObject<{
|
|
315
|
-
closed: z.ZodNumber;
|
|
316
|
-
created: z.ZodNumber;
|
|
317
|
-
date: z.ZodString;
|
|
318
|
-
merged: z.ZodNumber;
|
|
319
|
-
}, z.core.$strict>>;
|
|
320
|
-
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
321
|
-
closed: z.ZodNumber;
|
|
322
|
-
created: z.ZodNumber;
|
|
323
|
-
date: z.ZodString;
|
|
324
|
-
merged: z.ZodNumber;
|
|
325
|
-
}, z.core.$strict>>>;
|
|
326
|
-
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
327
|
-
closed: z.ZodNumber;
|
|
328
|
-
created: z.ZodNumber;
|
|
329
|
-
date: z.ZodString;
|
|
330
|
-
merged: z.ZodNumber;
|
|
331
|
-
}, z.core.$strict>>>;
|
|
332
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
333
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
334
|
-
id: z.ZodString;
|
|
335
|
-
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
336
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
337
|
-
number: z.ZodNumber;
|
|
338
|
-
openedAt: z.ZodString;
|
|
339
|
-
provider: z.ZodString;
|
|
340
|
-
repository: z.ZodString;
|
|
341
|
-
state: z.ZodEnum<{
|
|
342
|
-
closed: "closed";
|
|
343
|
-
merged: "merged";
|
|
344
|
-
open: "open";
|
|
345
|
-
}>;
|
|
346
|
-
title: z.ZodOptional<z.ZodString>;
|
|
347
|
-
url: z.ZodOptional<z.ZodString>;
|
|
348
|
-
}, z.core.$strict>>;
|
|
349
|
-
generatedAt: z.ZodString;
|
|
350
|
-
repository: z.ZodObject<{
|
|
351
|
-
id: z.ZodString;
|
|
352
|
-
name: z.ZodString;
|
|
353
|
-
provider: z.ZodString;
|
|
354
|
-
url: z.ZodOptional<z.ZodString>;
|
|
355
|
-
}, z.core.$strict>;
|
|
356
|
-
summary: z.ZodObject<{
|
|
357
|
-
closed: z.ZodNumber;
|
|
358
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
359
|
-
created: z.ZodNumber;
|
|
360
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
361
|
-
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
362
|
-
merged: z.ZodNumber;
|
|
363
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
364
|
-
open: z.ZodNumber;
|
|
365
|
-
}, z.core.$strict>;
|
|
366
|
-
windowEnd: z.ZodString;
|
|
367
|
-
windowStart: z.ZodString;
|
|
368
|
-
workspaces: z.ZodArray<z.ZodObject<{
|
|
369
|
-
id: z.ZodString;
|
|
370
|
-
name: z.ZodString;
|
|
371
|
-
}, z.core.$strict>>;
|
|
372
|
-
}, z.core.$strict>;
|
|
373
|
-
/** Person-scoped code activity and recent code changes for one People profile. */
|
|
374
|
-
declare const codePersonReportSchema: z.ZodObject<{
|
|
375
|
-
activityDays: z.ZodArray<z.ZodObject<{
|
|
376
|
-
closed: z.ZodNumber;
|
|
377
|
-
created: z.ZodNumber;
|
|
378
|
-
date: z.ZodString;
|
|
379
|
-
merged: z.ZodNumber;
|
|
380
|
-
}, z.core.$strict>>;
|
|
381
|
-
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
382
|
-
closed: z.ZodNumber;
|
|
383
|
-
created: z.ZodNumber;
|
|
384
|
-
date: z.ZodString;
|
|
385
|
-
merged: z.ZodNumber;
|
|
386
|
-
}, z.core.$strict>>>;
|
|
387
|
-
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
|
-
closed: z.ZodNumber;
|
|
389
|
-
created: z.ZodNumber;
|
|
390
|
-
date: z.ZodString;
|
|
391
|
-
merged: z.ZodNumber;
|
|
392
|
-
}, z.core.$strict>>>;
|
|
393
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
394
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
395
|
-
id: z.ZodString;
|
|
396
|
-
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
397
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
398
|
-
number: z.ZodNumber;
|
|
399
|
-
openedAt: z.ZodString;
|
|
400
|
-
provider: z.ZodString;
|
|
401
|
-
repository: z.ZodString;
|
|
402
|
-
state: z.ZodEnum<{
|
|
403
|
-
closed: "closed";
|
|
404
|
-
merged: "merged";
|
|
405
|
-
open: "open";
|
|
406
|
-
}>;
|
|
407
|
-
title: z.ZodOptional<z.ZodString>;
|
|
408
|
-
url: z.ZodOptional<z.ZodString>;
|
|
409
|
-
}, z.core.$strict>>;
|
|
410
|
-
generatedAt: z.ZodString;
|
|
411
|
-
summary: z.ZodObject<{
|
|
412
|
-
closed: z.ZodNumber;
|
|
413
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
414
|
-
created: z.ZodNumber;
|
|
415
|
-
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
416
|
-
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
417
|
-
merged: z.ZodNumber;
|
|
418
|
-
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
419
|
-
open: z.ZodNumber;
|
|
420
|
-
}, z.core.$strict>;
|
|
421
|
-
windowEnd: z.ZodString;
|
|
422
|
-
windowStart: z.ZodString;
|
|
423
|
-
}, z.core.$strict>;
|
|
424
|
-
type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
425
|
-
type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
426
|
-
type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
427
|
-
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
428
|
-
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
429
|
-
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
169
|
+
/** Copy saved annotation facts without storage timestamps for Message delivery. */
|
|
170
|
+
declare function annotationCard(annotation: ConversationAnnotation): OwnedObjectAnnotation;
|
|
430
171
|
/** Where a failed turn stopped. */
|
|
431
172
|
declare const conversationTurnFailureCodeSchema: z.ZodEnum<{
|
|
432
173
|
agent_run_failed: "agent_run_failed";
|
|
@@ -522,6 +263,7 @@ declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
522
263
|
declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
523
264
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
524
265
|
codeRepositoryId: z.ZodOptional<z.ZodString>;
|
|
266
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
525
267
|
q: z.ZodOptional<z.ZodString>;
|
|
526
268
|
status: z.ZodDefault<z.ZodEnum<{
|
|
527
269
|
active: "active";
|
|
@@ -531,30 +273,12 @@ declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
|
531
273
|
declare const createConversationMessageBodySchema: z.ZodObject<{
|
|
532
274
|
idempotencyKey: z.ZodString;
|
|
533
275
|
message: z.ZodString;
|
|
534
|
-
|
|
535
|
-
filename: z.ZodString;
|
|
536
|
-
contentType: z.ZodEnum<{
|
|
537
|
-
"image/gif": "image/gif";
|
|
538
|
-
"image/jpeg": "image/jpeg";
|
|
539
|
-
"image/png": "image/png";
|
|
540
|
-
"image/webp": "image/webp";
|
|
541
|
-
}>;
|
|
542
|
-
data: z.ZodString;
|
|
543
|
-
}, z.core.$strict>>>;
|
|
276
|
+
uploadIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
544
277
|
}, z.core.$strict>;
|
|
545
278
|
declare const createConversationBodySchema: z.ZodObject<{
|
|
546
279
|
idempotencyKey: z.ZodString;
|
|
547
280
|
message: z.ZodString;
|
|
548
|
-
|
|
549
|
-
filename: z.ZodString;
|
|
550
|
-
contentType: z.ZodEnum<{
|
|
551
|
-
"image/gif": "image/gif";
|
|
552
|
-
"image/jpeg": "image/jpeg";
|
|
553
|
-
"image/png": "image/png";
|
|
554
|
-
"image/webp": "image/webp";
|
|
555
|
-
}>;
|
|
556
|
-
data: z.ZodString;
|
|
557
|
-
}, z.core.$strict>>>;
|
|
281
|
+
uploadIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
282
|
title: z.ZodOptional<z.ZodString>;
|
|
559
283
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
560
284
|
private: "private";
|
|
@@ -738,8 +462,11 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
738
462
|
automation: "automation";
|
|
739
463
|
calendar_event: "calendar_event";
|
|
740
464
|
code_change: "code_change";
|
|
465
|
+
conversation: "conversation";
|
|
741
466
|
deployment: "deployment";
|
|
742
467
|
item: "item";
|
|
468
|
+
message: "message";
|
|
469
|
+
person: "person";
|
|
743
470
|
task: "task";
|
|
744
471
|
}>>;
|
|
745
472
|
key: z.ZodString;
|
|
@@ -761,8 +488,11 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
761
488
|
automation: "automation";
|
|
762
489
|
calendar_event: "calendar_event";
|
|
763
490
|
code_change: "code_change";
|
|
491
|
+
conversation: "conversation";
|
|
764
492
|
deployment: "deployment";
|
|
765
493
|
item: "item";
|
|
494
|
+
message: "message";
|
|
495
|
+
person: "person";
|
|
766
496
|
task: "task";
|
|
767
497
|
}>;
|
|
768
498
|
title: z.ZodString;
|
|
@@ -793,6 +523,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
793
523
|
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
794
524
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
795
525
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
796
527
|
}, z.core.$strict>, z.ZodObject<{
|
|
797
528
|
type: z.ZodLiteral<"task">;
|
|
798
529
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -811,6 +542,21 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
811
542
|
type: z.ZodLiteral<"calendar_event">;
|
|
812
543
|
when: z.ZodOptional<z.ZodString>;
|
|
813
544
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
545
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
546
|
+
type: z.ZodLiteral<"conversation">;
|
|
547
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
548
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
type: z.ZodLiteral<"message">;
|
|
551
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
552
|
+
author: z.ZodOptional<z.ZodString>;
|
|
553
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
555
|
+
type: z.ZodLiteral<"person">;
|
|
556
|
+
email: z.ZodOptional<z.ZodString>;
|
|
557
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
558
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
559
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
814
560
|
}, z.core.$strict>], "type">>;
|
|
815
561
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
816
562
|
plugin: z.ZodString;
|
|
@@ -830,8 +576,11 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
830
576
|
automation: "automation";
|
|
831
577
|
calendar_event: "calendar_event";
|
|
832
578
|
code_change: "code_change";
|
|
579
|
+
conversation: "conversation";
|
|
833
580
|
deployment: "deployment";
|
|
834
581
|
item: "item";
|
|
582
|
+
message: "message";
|
|
583
|
+
person: "person";
|
|
835
584
|
task: "task";
|
|
836
585
|
}>>;
|
|
837
586
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -852,8 +601,11 @@ declare const conversationReportMessageEventSchema: z.ZodObject<{
|
|
|
852
601
|
automation: "automation";
|
|
853
602
|
calendar_event: "calendar_event";
|
|
854
603
|
code_change: "code_change";
|
|
604
|
+
conversation: "conversation";
|
|
855
605
|
deployment: "deployment";
|
|
856
606
|
item: "item";
|
|
607
|
+
message: "message";
|
|
608
|
+
person: "person";
|
|
857
609
|
task: "task";
|
|
858
610
|
}>>;
|
|
859
611
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -886,8 +638,11 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
886
638
|
automation: "automation";
|
|
887
639
|
calendar_event: "calendar_event";
|
|
888
640
|
code_change: "code_change";
|
|
641
|
+
conversation: "conversation";
|
|
889
642
|
deployment: "deployment";
|
|
890
643
|
item: "item";
|
|
644
|
+
message: "message";
|
|
645
|
+
person: "person";
|
|
891
646
|
task: "task";
|
|
892
647
|
}>>;
|
|
893
648
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -900,8 +655,11 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
900
655
|
automation: "automation";
|
|
901
656
|
calendar_event: "calendar_event";
|
|
902
657
|
code_change: "code_change";
|
|
658
|
+
conversation: "conversation";
|
|
903
659
|
deployment: "deployment";
|
|
904
660
|
item: "item";
|
|
661
|
+
message: "message";
|
|
662
|
+
person: "person";
|
|
905
663
|
task: "task";
|
|
906
664
|
}>>;
|
|
907
665
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1141,8 +899,11 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1141
899
|
automation: "automation";
|
|
1142
900
|
calendar_event: "calendar_event";
|
|
1143
901
|
code_change: "code_change";
|
|
902
|
+
conversation: "conversation";
|
|
1144
903
|
deployment: "deployment";
|
|
1145
904
|
item: "item";
|
|
905
|
+
message: "message";
|
|
906
|
+
person: "person";
|
|
1146
907
|
task: "task";
|
|
1147
908
|
}>>;
|
|
1148
909
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1155,8 +916,11 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1155
916
|
automation: "automation";
|
|
1156
917
|
calendar_event: "calendar_event";
|
|
1157
918
|
code_change: "code_change";
|
|
919
|
+
conversation: "conversation";
|
|
1158
920
|
deployment: "deployment";
|
|
1159
921
|
item: "item";
|
|
922
|
+
message: "message";
|
|
923
|
+
person: "person";
|
|
1160
924
|
task: "task";
|
|
1161
925
|
}>>;
|
|
1162
926
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1479,8 +1243,11 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1479
1243
|
automation: "automation";
|
|
1480
1244
|
calendar_event: "calendar_event";
|
|
1481
1245
|
code_change: "code_change";
|
|
1246
|
+
conversation: "conversation";
|
|
1482
1247
|
deployment: "deployment";
|
|
1483
1248
|
item: "item";
|
|
1249
|
+
message: "message";
|
|
1250
|
+
person: "person";
|
|
1484
1251
|
task: "task";
|
|
1485
1252
|
}>>;
|
|
1486
1253
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1493,8 +1260,11 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1493
1260
|
automation: "automation";
|
|
1494
1261
|
calendar_event: "calendar_event";
|
|
1495
1262
|
code_change: "code_change";
|
|
1263
|
+
conversation: "conversation";
|
|
1496
1264
|
deployment: "deployment";
|
|
1497
1265
|
item: "item";
|
|
1266
|
+
message: "message";
|
|
1267
|
+
person: "person";
|
|
1498
1268
|
task: "task";
|
|
1499
1269
|
}>>;
|
|
1500
1270
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1880,8 +1650,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1880
1650
|
automation: "automation";
|
|
1881
1651
|
calendar_event: "calendar_event";
|
|
1882
1652
|
code_change: "code_change";
|
|
1653
|
+
conversation: "conversation";
|
|
1883
1654
|
deployment: "deployment";
|
|
1884
1655
|
item: "item";
|
|
1656
|
+
message: "message";
|
|
1657
|
+
person: "person";
|
|
1885
1658
|
task: "task";
|
|
1886
1659
|
}>>;
|
|
1887
1660
|
key: z.ZodString;
|
|
@@ -1903,8 +1676,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1903
1676
|
automation: "automation";
|
|
1904
1677
|
calendar_event: "calendar_event";
|
|
1905
1678
|
code_change: "code_change";
|
|
1679
|
+
conversation: "conversation";
|
|
1906
1680
|
deployment: "deployment";
|
|
1907
1681
|
item: "item";
|
|
1682
|
+
message: "message";
|
|
1683
|
+
person: "person";
|
|
1908
1684
|
task: "task";
|
|
1909
1685
|
}>;
|
|
1910
1686
|
title: z.ZodString;
|
|
@@ -1935,6 +1711,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1935
1711
|
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
1936
1712
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
1937
1713
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
1714
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1938
1715
|
}, z.core.$strict>, z.ZodObject<{
|
|
1939
1716
|
type: z.ZodLiteral<"task">;
|
|
1940
1717
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1953,6 +1730,21 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1953
1730
|
type: z.ZodLiteral<"calendar_event">;
|
|
1954
1731
|
when: z.ZodOptional<z.ZodString>;
|
|
1955
1732
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1734
|
+
type: z.ZodLiteral<"conversation">;
|
|
1735
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1736
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1737
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1738
|
+
type: z.ZodLiteral<"message">;
|
|
1739
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1743
|
+
type: z.ZodLiteral<"person">;
|
|
1744
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1956
1748
|
}, z.core.$strict>], "type">>;
|
|
1957
1749
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
1958
1750
|
plugin: z.ZodString;
|
|
@@ -1972,8 +1764,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1972
1764
|
automation: "automation";
|
|
1973
1765
|
calendar_event: "calendar_event";
|
|
1974
1766
|
code_change: "code_change";
|
|
1767
|
+
conversation: "conversation";
|
|
1975
1768
|
deployment: "deployment";
|
|
1976
1769
|
item: "item";
|
|
1770
|
+
message: "message";
|
|
1771
|
+
person: "person";
|
|
1977
1772
|
task: "task";
|
|
1978
1773
|
}>>;
|
|
1979
1774
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -2037,8 +1832,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2037
1832
|
automation: "automation";
|
|
2038
1833
|
calendar_event: "calendar_event";
|
|
2039
1834
|
code_change: "code_change";
|
|
1835
|
+
conversation: "conversation";
|
|
2040
1836
|
deployment: "deployment";
|
|
2041
1837
|
item: "item";
|
|
1838
|
+
message: "message";
|
|
1839
|
+
person: "person";
|
|
2042
1840
|
task: "task";
|
|
2043
1841
|
}>>;
|
|
2044
1842
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2051,8 +1849,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2051
1849
|
automation: "automation";
|
|
2052
1850
|
calendar_event: "calendar_event";
|
|
2053
1851
|
code_change: "code_change";
|
|
1852
|
+
conversation: "conversation";
|
|
2054
1853
|
deployment: "deployment";
|
|
2055
1854
|
item: "item";
|
|
1855
|
+
message: "message";
|
|
1856
|
+
person: "person";
|
|
2056
1857
|
task: "task";
|
|
2057
1858
|
}>>;
|
|
2058
1859
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -2443,8 +2244,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2443
2244
|
automation: "automation";
|
|
2444
2245
|
calendar_event: "calendar_event";
|
|
2445
2246
|
code_change: "code_change";
|
|
2247
|
+
conversation: "conversation";
|
|
2446
2248
|
deployment: "deployment";
|
|
2447
2249
|
item: "item";
|
|
2250
|
+
message: "message";
|
|
2251
|
+
person: "person";
|
|
2448
2252
|
task: "task";
|
|
2449
2253
|
}>>;
|
|
2450
2254
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2457,8 +2261,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2457
2261
|
automation: "automation";
|
|
2458
2262
|
calendar_event: "calendar_event";
|
|
2459
2263
|
code_change: "code_change";
|
|
2264
|
+
conversation: "conversation";
|
|
2460
2265
|
deployment: "deployment";
|
|
2461
2266
|
item: "item";
|
|
2267
|
+
message: "message";
|
|
2268
|
+
person: "person";
|
|
2462
2269
|
task: "task";
|
|
2463
2270
|
}>>;
|
|
2464
2271
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -2698,59 +2505,474 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2698
2505
|
}, z.core.$strict>>;
|
|
2699
2506
|
}, z.core.$strict>>;
|
|
2700
2507
|
}, z.core.$strict>>;
|
|
2701
|
-
appended: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2702
|
-
appendCursor: z.ZodOptional<z.ZodString>;
|
|
2703
|
-
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2704
|
-
status: z.ZodLiteral<"available">;
|
|
2705
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2706
|
-
status: z.ZodLiteral<"redacted">;
|
|
2707
|
-
reason: z.ZodLiteral<"non_public_conversation">;
|
|
2708
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2709
|
-
status: z.ZodLiteral<"expired">;
|
|
2710
|
-
expiredAt: z.ZodString;
|
|
2711
|
-
}, z.core.$strict>], "status">;
|
|
2712
|
-
previousCursor: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
appended: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2509
|
+
appendCursor: z.ZodOptional<z.ZodString>;
|
|
2510
|
+
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2511
|
+
status: z.ZodLiteral<"available">;
|
|
2512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2513
|
+
status: z.ZodLiteral<"redacted">;
|
|
2514
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
2515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2516
|
+
status: z.ZodLiteral<"expired">;
|
|
2517
|
+
expiredAt: z.ZodString;
|
|
2518
|
+
}, z.core.$strict>], "status">;
|
|
2519
|
+
previousCursor: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
generatedAt: z.ZodString;
|
|
2521
|
+
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
sourceTask: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2524
|
+
kind: z.ZodEnum<{
|
|
2525
|
+
event: "event";
|
|
2526
|
+
scheduled: "scheduled";
|
|
2527
|
+
}>;
|
|
2528
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
triggerMessageId: z.ZodOptional<z.ZodString>;
|
|
2531
|
+
triggerLabel: z.ZodOptional<z.ZodString>;
|
|
2532
|
+
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
2533
|
+
creator: "creator";
|
|
2534
|
+
system: "system";
|
|
2535
|
+
}>>;
|
|
2536
|
+
credentialUser: z.ZodOptional<z.ZodString>;
|
|
2537
|
+
}, z.core.$strict>>;
|
|
2538
|
+
}, z.core.$strict>;
|
|
2539
|
+
type ConversationReportStatus = z.infer<typeof conversationReportStatusSchema>;
|
|
2540
|
+
type ConversationTurnFailureCode = z.infer<typeof conversationTurnFailureCodeSchema>;
|
|
2541
|
+
type ConversationTurnFailureReason = z.infer<typeof conversationTurnFailureReasonSchema>;
|
|
2542
|
+
type ConversationSurface = z.infer<typeof conversationSurfaceSchema>;
|
|
2543
|
+
type ConversationCost = z.infer<typeof conversationCostSchema>;
|
|
2544
|
+
type ConversationUsage = z.infer<typeof conversationUsageSchema>;
|
|
2545
|
+
type ConversationAuxiliaryCosts = z.infer<typeof conversationAuxiliaryCostsSchema>;
|
|
2546
|
+
type ActorIdentity = z.infer<typeof actorIdentitySchema>;
|
|
2547
|
+
type ConversationActivityPreview = z.infer<typeof conversationActivityPreviewSchema>;
|
|
2548
|
+
type ConversationSummaryReport = z.infer<typeof conversationSummaryReportSchema>;
|
|
2549
|
+
type ConversationModelUsage = z.infer<typeof conversationModelUsageSchema>;
|
|
2550
|
+
type ConversationReportMessageEvent = z.infer<typeof conversationReportMessageEventSchema>;
|
|
2551
|
+
type ConversationReportEventData = z.infer<typeof conversationReportEventDataSchema>;
|
|
2552
|
+
type ConversationReportEvent = z.infer<typeof conversationReportEventSchema>;
|
|
2553
|
+
type ConversationEventHistory = z.infer<typeof conversationEventHistorySchema>;
|
|
2554
|
+
type ConversationSourceTask = z.infer<typeof conversationSourceTaskSchema>;
|
|
2555
|
+
type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
|
|
2556
|
+
type ConversationEventPage = z.infer<typeof conversationEventPageSchema>;
|
|
2557
|
+
type ConversationParams = z.infer<typeof conversationParamsSchema>;
|
|
2558
|
+
type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
|
|
2559
|
+
type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
|
|
2560
|
+
type AcceptedConversationMessage = z.infer<typeof acceptedConversationMessageSchema>;
|
|
2561
|
+
/**
|
|
2562
|
+
* Build the card of one Conversation that the viewer may read. Give `brief`
|
|
2563
|
+
* only when the viewer may see the Brief.
|
|
2564
|
+
*/
|
|
2565
|
+
declare function conversationObjectCard(args: {
|
|
2566
|
+
brief?: string;
|
|
2567
|
+
participants: readonly ActorIdentity[];
|
|
2568
|
+
summary: Pick<ConversationSummaryReport, "archivedAt" | "conversationId" | "displayTitle" | "lastSeenAt" | "status">;
|
|
2569
|
+
url: string;
|
|
2570
|
+
}): ObjectAnnotation;
|
|
2571
|
+
/** Build the card of one known person from what the People pages show. */
|
|
2572
|
+
declare function personObjectCard(args: {
|
|
2573
|
+
/** A verified linked GitHub login, from account linking only. */
|
|
2574
|
+
githubHandle?: string;
|
|
2575
|
+
person: ActorIdentity & {
|
|
2576
|
+
email: string;
|
|
2577
|
+
};
|
|
2578
|
+
url: string;
|
|
2579
|
+
}): ObjectAnnotation;
|
|
2580
|
+
/**
|
|
2581
|
+
* Build the card of one chat message. Give `text` only when the viewer may
|
|
2582
|
+
* read the message: the card shows a short snippet of it, never all of it.
|
|
2583
|
+
*/
|
|
2584
|
+
declare function messageObjectCard(args: {
|
|
2585
|
+
author?: string;
|
|
2586
|
+
/** Where the message is, such as `#general` or `Direct message`. */
|
|
2587
|
+
channel: string;
|
|
2588
|
+
key: string;
|
|
2589
|
+
sentAt?: string;
|
|
2590
|
+
text?: string;
|
|
2591
|
+
url: string;
|
|
2592
|
+
}): ObjectAnnotation;
|
|
2593
|
+
/** The most links that one object request may resolve. */
|
|
2594
|
+
declare const MAX_OBJECT_LINKS = 20;
|
|
2595
|
+
/** One or more `url` query values. */
|
|
2596
|
+
declare const objectLinksQuerySchema: z.ZodObject<{
|
|
2597
|
+
url: z.ZodPreprocess<z.ZodArray<z.ZodString>, unknown>;
|
|
2598
|
+
}, z.core.$strict>;
|
|
2599
|
+
/** The object cards of the links that resolved for the viewer. */
|
|
2600
|
+
declare const objectLinksReportSchema: z.ZodObject<{
|
|
2601
|
+
objects: z.ZodArray<z.ZodObject<{
|
|
2602
|
+
object: z.ZodObject<{
|
|
2603
|
+
kind: z.ZodLiteral<"object">;
|
|
2604
|
+
key: z.ZodString;
|
|
2605
|
+
label: z.ZodString;
|
|
2606
|
+
objectType: z.ZodEnum<{
|
|
2607
|
+
automation: "automation";
|
|
2608
|
+
calendar_event: "calendar_event";
|
|
2609
|
+
code_change: "code_change";
|
|
2610
|
+
conversation: "conversation";
|
|
2611
|
+
deployment: "deployment";
|
|
2612
|
+
item: "item";
|
|
2613
|
+
message: "message";
|
|
2614
|
+
person: "person";
|
|
2615
|
+
task: "task";
|
|
2616
|
+
}>;
|
|
2617
|
+
title: z.ZodString;
|
|
2618
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
2619
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2621
|
+
trigger: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
warning: z.ZodOptional<z.ZodString>;
|
|
2623
|
+
displayType: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2625
|
+
facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2626
|
+
type: z.ZodLiteral<"code_change">;
|
|
2627
|
+
author: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
sourceBranch: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
targetBranch: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2631
|
+
review: z.ZodOptional<z.ZodEnum<{
|
|
2632
|
+
approved: "approved";
|
|
2633
|
+
changes_requested: "changes_requested";
|
|
2634
|
+
required: "required";
|
|
2635
|
+
}>>;
|
|
2636
|
+
checks: z.ZodOptional<z.ZodObject<{
|
|
2637
|
+
passed: z.ZodNumber;
|
|
2638
|
+
failed: z.ZodNumber;
|
|
2639
|
+
pending: z.ZodNumber;
|
|
2640
|
+
}, z.core.$strict>>;
|
|
2641
|
+
mergeable: z.ZodOptional<z.ZodBoolean>;
|
|
2642
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
2643
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
2644
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
2645
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
2646
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2647
|
+
type: z.ZodLiteral<"task">;
|
|
2648
|
+
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2649
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
2650
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
cycle: z.ZodOptional<z.ZodString>;
|
|
2652
|
+
dueDate: z.ZodOptional<z.ZodISODate>;
|
|
2653
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2654
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2655
|
+
type: z.ZodLiteral<"deployment">;
|
|
2656
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2657
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2658
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
2659
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2661
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
2662
|
+
when: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2664
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2665
|
+
type: z.ZodLiteral<"conversation">;
|
|
2666
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2667
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2669
|
+
type: z.ZodLiteral<"message">;
|
|
2670
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
author: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2674
|
+
type: z.ZodLiteral<"person">;
|
|
2675
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
2677
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
}, z.core.$strict>], "type">>;
|
|
2680
|
+
plugin: z.ZodString;
|
|
2681
|
+
}, z.core.$strict>;
|
|
2682
|
+
url: z.ZodString;
|
|
2683
|
+
}, z.core.$strict>>;
|
|
2684
|
+
}, z.core.$strict>;
|
|
2685
|
+
type ObjectLinksReport = z.output<typeof objectLinksReportSchema>;
|
|
2686
|
+
declare const dailyConversationActivitySchema: z.ZodObject<{
|
|
2687
|
+
active: z.ZodNumber;
|
|
2688
|
+
conversations: z.ZodNumber;
|
|
2689
|
+
date: z.ZodString;
|
|
2690
|
+
durationMs: z.ZodNumber;
|
|
2691
|
+
failed: z.ZodNumber;
|
|
2692
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2693
|
+
}, z.core.$strict>;
|
|
2694
|
+
type DailyConversationActivity = z.infer<typeof dailyConversationActivitySchema>;
|
|
2695
|
+
/**
|
|
2696
|
+
* The part of a Conversation total that its child agents spent, at any depth.
|
|
2697
|
+
* Present only when the Conversation has child agents. The Conversation's own
|
|
2698
|
+
* part is the total minus this part.
|
|
2699
|
+
*/
|
|
2700
|
+
declare const conversationChildAgentTotalsSchema: z.ZodObject<{
|
|
2701
|
+
auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2702
|
+
count: z.ZodNumber;
|
|
2703
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
2704
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
2705
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2706
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2707
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2708
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2709
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2710
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2711
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
2712
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
2713
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
2714
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
2715
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
2716
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
2717
|
+
}, z.core.$strict>>;
|
|
2718
|
+
}, z.core.$strict>>;
|
|
2719
|
+
}, z.core.$strict>;
|
|
2720
|
+
type ConversationChildAgentTotals = z.infer<typeof conversationChildAgentTotalsSchema>;
|
|
2721
|
+
declare const codeChangeSummarySchema: z.ZodObject<{
|
|
2722
|
+
closed: z.ZodNumber;
|
|
2723
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2724
|
+
created: z.ZodNumber;
|
|
2725
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2726
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2727
|
+
merged: z.ZodNumber;
|
|
2728
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2729
|
+
open: z.ZodNumber;
|
|
2730
|
+
}, z.core.$strict>;
|
|
2731
|
+
declare const codeActivityDaySchema: z.ZodObject<{
|
|
2732
|
+
closed: z.ZodNumber;
|
|
2733
|
+
created: z.ZodNumber;
|
|
2734
|
+
date: z.ZodString;
|
|
2735
|
+
merged: z.ZodNumber;
|
|
2736
|
+
}, z.core.$strict>;
|
|
2737
|
+
declare const codeRepositorySummarySchema: z.ZodObject<{
|
|
2738
|
+
closed: z.ZodNumber;
|
|
2739
|
+
created: z.ZodNumber;
|
|
2740
|
+
id: z.ZodString;
|
|
2741
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2742
|
+
merged: z.ZodNumber;
|
|
2743
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2744
|
+
name: z.ZodString;
|
|
2745
|
+
open: z.ZodNumber;
|
|
2746
|
+
provider: z.ZodString;
|
|
2747
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
}, z.core.$strict>;
|
|
2749
|
+
declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
2750
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
2751
|
+
draft: z.ZodBoolean;
|
|
2752
|
+
id: z.ZodString;
|
|
2753
|
+
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
number: z.ZodNumber;
|
|
2756
|
+
openedAt: z.ZodString;
|
|
2757
|
+
provider: z.ZodString;
|
|
2758
|
+
repository: z.ZodString;
|
|
2759
|
+
state: z.ZodEnum<{
|
|
2760
|
+
closed: "closed";
|
|
2761
|
+
merged: "merged";
|
|
2762
|
+
open: "open";
|
|
2763
|
+
}>;
|
|
2764
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
}, z.core.$strict>;
|
|
2767
|
+
declare const codeOverviewReportSchema: z.ZodObject<{
|
|
2768
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
2769
|
+
closed: z.ZodNumber;
|
|
2770
|
+
created: z.ZodNumber;
|
|
2771
|
+
date: z.ZodString;
|
|
2772
|
+
merged: z.ZodNumber;
|
|
2773
|
+
}, z.core.$strict>>;
|
|
2774
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2775
|
+
closed: z.ZodNumber;
|
|
2776
|
+
created: z.ZodNumber;
|
|
2777
|
+
date: z.ZodString;
|
|
2778
|
+
merged: z.ZodNumber;
|
|
2779
|
+
}, z.core.$strict>>>;
|
|
2780
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2781
|
+
closed: z.ZodNumber;
|
|
2782
|
+
created: z.ZodNumber;
|
|
2783
|
+
date: z.ZodString;
|
|
2784
|
+
merged: z.ZodNumber;
|
|
2785
|
+
}, z.core.$strict>>>;
|
|
2786
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2787
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
draft: z.ZodBoolean;
|
|
2789
|
+
id: z.ZodString;
|
|
2790
|
+
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
number: z.ZodNumber;
|
|
2793
|
+
openedAt: z.ZodString;
|
|
2794
|
+
provider: z.ZodString;
|
|
2795
|
+
repository: z.ZodString;
|
|
2796
|
+
state: z.ZodEnum<{
|
|
2797
|
+
closed: "closed";
|
|
2798
|
+
merged: "merged";
|
|
2799
|
+
open: "open";
|
|
2800
|
+
}>;
|
|
2801
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2803
|
+
}, z.core.$strict>>;
|
|
2713
2804
|
generatedAt: z.ZodString;
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2805
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
2806
|
+
closed: z.ZodNumber;
|
|
2807
|
+
created: z.ZodNumber;
|
|
2808
|
+
id: z.ZodString;
|
|
2809
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2810
|
+
merged: z.ZodNumber;
|
|
2811
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2812
|
+
name: z.ZodString;
|
|
2813
|
+
open: z.ZodNumber;
|
|
2814
|
+
provider: z.ZodString;
|
|
2815
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2816
|
+
}, z.core.$strict>>;
|
|
2817
|
+
summary: z.ZodObject<{
|
|
2818
|
+
closed: z.ZodNumber;
|
|
2819
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2820
|
+
created: z.ZodNumber;
|
|
2821
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2822
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2823
|
+
merged: z.ZodNumber;
|
|
2824
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2825
|
+
open: z.ZodNumber;
|
|
2826
|
+
}, z.core.$strict>;
|
|
2827
|
+
windowEnd: z.ZodString;
|
|
2828
|
+
windowStart: z.ZodString;
|
|
2829
|
+
}, z.core.$strict>;
|
|
2830
|
+
declare const codeRepositoryParamsSchema: z.ZodObject<{
|
|
2831
|
+
repositoryId: z.ZodString;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
/** Code activity, recent changes, and Workspaces for one repository. */
|
|
2834
|
+
declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
2835
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
2836
|
+
closed: z.ZodNumber;
|
|
2837
|
+
created: z.ZodNumber;
|
|
2838
|
+
date: z.ZodString;
|
|
2839
|
+
merged: z.ZodNumber;
|
|
2840
|
+
}, z.core.$strict>>;
|
|
2841
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2842
|
+
closed: z.ZodNumber;
|
|
2843
|
+
created: z.ZodNumber;
|
|
2844
|
+
date: z.ZodString;
|
|
2845
|
+
merged: z.ZodNumber;
|
|
2846
|
+
}, z.core.$strict>>>;
|
|
2847
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2848
|
+
closed: z.ZodNumber;
|
|
2849
|
+
created: z.ZodNumber;
|
|
2850
|
+
date: z.ZodString;
|
|
2851
|
+
merged: z.ZodNumber;
|
|
2852
|
+
}, z.core.$strict>>>;
|
|
2853
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2854
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
draft: z.ZodBoolean;
|
|
2856
|
+
id: z.ZodString;
|
|
2857
|
+
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
number: z.ZodNumber;
|
|
2860
|
+
openedAt: z.ZodString;
|
|
2861
|
+
provider: z.ZodString;
|
|
2862
|
+
repository: z.ZodString;
|
|
2863
|
+
state: z.ZodEnum<{
|
|
2864
|
+
closed: "closed";
|
|
2865
|
+
merged: "merged";
|
|
2866
|
+
open: "open";
|
|
2720
2867
|
}>;
|
|
2721
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2722
2868
|
title: z.ZodOptional<z.ZodString>;
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2869
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
}, z.core.$strict>>;
|
|
2871
|
+
generatedAt: z.ZodString;
|
|
2872
|
+
repository: z.ZodObject<{
|
|
2873
|
+
id: z.ZodString;
|
|
2874
|
+
name: z.ZodString;
|
|
2875
|
+
provider: z.ZodString;
|
|
2876
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
summary: z.ZodObject<{
|
|
2879
|
+
closed: z.ZodNumber;
|
|
2880
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2881
|
+
created: z.ZodNumber;
|
|
2882
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2883
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2884
|
+
merged: z.ZodNumber;
|
|
2885
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2886
|
+
open: z.ZodNumber;
|
|
2887
|
+
}, z.core.$strict>;
|
|
2888
|
+
windowEnd: z.ZodString;
|
|
2889
|
+
windowStart: z.ZodString;
|
|
2890
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
2891
|
+
id: z.ZodString;
|
|
2892
|
+
name: z.ZodString;
|
|
2730
2893
|
}, z.core.$strict>>;
|
|
2731
2894
|
}, z.core.$strict>;
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2895
|
+
/** Person-scoped code activity and recent code changes for one People profile. */
|
|
2896
|
+
declare const codePersonReportSchema: z.ZodObject<{
|
|
2897
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
2898
|
+
closed: z.ZodNumber;
|
|
2899
|
+
created: z.ZodNumber;
|
|
2900
|
+
date: z.ZodString;
|
|
2901
|
+
merged: z.ZodNumber;
|
|
2902
|
+
}, z.core.$strict>>;
|
|
2903
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2904
|
+
closed: z.ZodNumber;
|
|
2905
|
+
created: z.ZodNumber;
|
|
2906
|
+
date: z.ZodString;
|
|
2907
|
+
merged: z.ZodNumber;
|
|
2908
|
+
}, z.core.$strict>>>;
|
|
2909
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2910
|
+
closed: z.ZodNumber;
|
|
2911
|
+
created: z.ZodNumber;
|
|
2912
|
+
date: z.ZodString;
|
|
2913
|
+
merged: z.ZodNumber;
|
|
2914
|
+
}, z.core.$strict>>>;
|
|
2915
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
2916
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
2917
|
+
draft: z.ZodBoolean;
|
|
2918
|
+
id: z.ZodString;
|
|
2919
|
+
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
2920
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
number: z.ZodNumber;
|
|
2922
|
+
openedAt: z.ZodString;
|
|
2923
|
+
provider: z.ZodString;
|
|
2924
|
+
repository: z.ZodString;
|
|
2925
|
+
state: z.ZodEnum<{
|
|
2926
|
+
closed: "closed";
|
|
2927
|
+
merged: "merged";
|
|
2928
|
+
open: "open";
|
|
2929
|
+
}>;
|
|
2930
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2931
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
}, z.core.$strict>>;
|
|
2933
|
+
generatedAt: z.ZodString;
|
|
2934
|
+
summary: z.ZodObject<{
|
|
2935
|
+
closed: z.ZodNumber;
|
|
2936
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2937
|
+
created: z.ZodNumber;
|
|
2938
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2939
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2940
|
+
merged: z.ZodNumber;
|
|
2941
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
2942
|
+
open: z.ZodNumber;
|
|
2943
|
+
}, z.core.$strict>;
|
|
2944
|
+
windowEnd: z.ZodString;
|
|
2945
|
+
windowStart: z.ZodString;
|
|
2946
|
+
}, z.core.$strict>;
|
|
2947
|
+
type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
2948
|
+
type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
2949
|
+
type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
2950
|
+
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
2951
|
+
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
2952
|
+
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
2953
|
+
/**
|
|
2954
|
+
* Ask to upload one file for a Message. `conversationId` names an existing
|
|
2955
|
+
* Conversation; without it, the file is for the Conversation that the first
|
|
2956
|
+
* Message with this idempotency key creates.
|
|
2957
|
+
*/
|
|
2958
|
+
declare const createAttachmentUploadBodySchema: z.ZodObject<{
|
|
2959
|
+
filename: z.ZodString;
|
|
2960
|
+
contentType: z.ZodString;
|
|
2961
|
+
bytes: z.ZodNumber;
|
|
2962
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
idempotencyKey: z.ZodString;
|
|
2964
|
+
}, z.core.$strict>;
|
|
2965
|
+
/** Upload id and the request that writes the file bytes. */
|
|
2966
|
+
declare const attachmentUploadSchema: z.ZodObject<{
|
|
2967
|
+
uploadId: z.ZodString;
|
|
2968
|
+
target: z.ZodObject<{
|
|
2969
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2970
|
+
method: z.ZodLiteral<"PUT">;
|
|
2971
|
+
url: z.ZodString;
|
|
2972
|
+
}, z.core.$strict>;
|
|
2973
|
+
}, z.core.$strict>;
|
|
2974
|
+
type CreateAttachmentUploadBody = z.infer<typeof createAttachmentUploadBodySchema>;
|
|
2975
|
+
type AttachmentUpload = z.infer<typeof attachmentUploadSchema>;
|
|
2754
2976
|
/** Mailbox delivery mode for one accepted inbound message. */
|
|
2755
2977
|
declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
|
|
2756
2978
|
defer: "defer";
|
|
@@ -2987,8 +3209,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
2987
3209
|
automation: "automation";
|
|
2988
3210
|
calendar_event: "calendar_event";
|
|
2989
3211
|
code_change: "code_change";
|
|
3212
|
+
conversation: "conversation";
|
|
2990
3213
|
deployment: "deployment";
|
|
2991
3214
|
item: "item";
|
|
3215
|
+
message: "message";
|
|
3216
|
+
person: "person";
|
|
2992
3217
|
task: "task";
|
|
2993
3218
|
}>>;
|
|
2994
3219
|
key: z.ZodString;
|
|
@@ -3010,8 +3235,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3010
3235
|
automation: "automation";
|
|
3011
3236
|
calendar_event: "calendar_event";
|
|
3012
3237
|
code_change: "code_change";
|
|
3238
|
+
conversation: "conversation";
|
|
3013
3239
|
deployment: "deployment";
|
|
3014
3240
|
item: "item";
|
|
3241
|
+
message: "message";
|
|
3242
|
+
person: "person";
|
|
3015
3243
|
task: "task";
|
|
3016
3244
|
}>;
|
|
3017
3245
|
title: z.ZodString;
|
|
@@ -3042,6 +3270,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3042
3270
|
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
3043
3271
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
3044
3272
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
3273
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
3045
3274
|
}, z.core.$strict>, z.ZodObject<{
|
|
3046
3275
|
type: z.ZodLiteral<"task">;
|
|
3047
3276
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -3060,6 +3289,21 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3060
3289
|
type: z.ZodLiteral<"calendar_event">;
|
|
3061
3290
|
when: z.ZodOptional<z.ZodString>;
|
|
3062
3291
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3293
|
+
type: z.ZodLiteral<"conversation">;
|
|
3294
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3295
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3297
|
+
type: z.ZodLiteral<"message">;
|
|
3298
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
3299
|
+
author: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3302
|
+
type: z.ZodLiteral<"person">;
|
|
3303
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3063
3307
|
}, z.core.$strict>], "type">>;
|
|
3064
3308
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
3065
3309
|
plugin: z.ZodString;
|
|
@@ -3079,8 +3323,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3079
3323
|
automation: "automation";
|
|
3080
3324
|
calendar_event: "calendar_event";
|
|
3081
3325
|
code_change: "code_change";
|
|
3326
|
+
conversation: "conversation";
|
|
3082
3327
|
deployment: "deployment";
|
|
3083
3328
|
item: "item";
|
|
3329
|
+
message: "message";
|
|
3330
|
+
person: "person";
|
|
3084
3331
|
task: "task";
|
|
3085
3332
|
}>>;
|
|
3086
3333
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -3144,8 +3391,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3144
3391
|
automation: "automation";
|
|
3145
3392
|
calendar_event: "calendar_event";
|
|
3146
3393
|
code_change: "code_change";
|
|
3394
|
+
conversation: "conversation";
|
|
3147
3395
|
deployment: "deployment";
|
|
3148
3396
|
item: "item";
|
|
3397
|
+
message: "message";
|
|
3398
|
+
person: "person";
|
|
3149
3399
|
task: "task";
|
|
3150
3400
|
}>>;
|
|
3151
3401
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3158,8 +3408,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3158
3408
|
automation: "automation";
|
|
3159
3409
|
calendar_event: "calendar_event";
|
|
3160
3410
|
code_change: "code_change";
|
|
3411
|
+
conversation: "conversation";
|
|
3161
3412
|
deployment: "deployment";
|
|
3162
3413
|
item: "item";
|
|
3414
|
+
message: "message";
|
|
3415
|
+
person: "person";
|
|
3163
3416
|
task: "task";
|
|
3164
3417
|
}>>;
|
|
3165
3418
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -3550,8 +3803,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3550
3803
|
automation: "automation";
|
|
3551
3804
|
calendar_event: "calendar_event";
|
|
3552
3805
|
code_change: "code_change";
|
|
3806
|
+
conversation: "conversation";
|
|
3553
3807
|
deployment: "deployment";
|
|
3554
3808
|
item: "item";
|
|
3809
|
+
message: "message";
|
|
3810
|
+
person: "person";
|
|
3555
3811
|
task: "task";
|
|
3556
3812
|
}>>;
|
|
3557
3813
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3564,8 +3820,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3564
3820
|
automation: "automation";
|
|
3565
3821
|
calendar_event: "calendar_event";
|
|
3566
3822
|
code_change: "code_change";
|
|
3823
|
+
conversation: "conversation";
|
|
3567
3824
|
deployment: "deployment";
|
|
3568
3825
|
item: "item";
|
|
3826
|
+
message: "message";
|
|
3827
|
+
person: "person";
|
|
3569
3828
|
task: "task";
|
|
3570
3829
|
}>>;
|
|
3571
3830
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -4006,6 +4265,7 @@ declare const conversationFeedSchema: z.ZodObject<{
|
|
|
4006
4265
|
conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
|
|
4007
4266
|
source: z.ZodLiteral<"conversation_index">;
|
|
4008
4267
|
generatedAt: z.ZodString;
|
|
4268
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
4009
4269
|
}, z.core.$strict>;
|
|
4010
4270
|
type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
4011
4271
|
/**
|
|
@@ -4872,8 +5132,11 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4872
5132
|
automation: "automation";
|
|
4873
5133
|
calendar_event: "calendar_event";
|
|
4874
5134
|
code_change: "code_change";
|
|
5135
|
+
conversation: "conversation";
|
|
4875
5136
|
deployment: "deployment";
|
|
4876
5137
|
item: "item";
|
|
5138
|
+
message: "message";
|
|
5139
|
+
person: "person";
|
|
4877
5140
|
task: "task";
|
|
4878
5141
|
}>>;
|
|
4879
5142
|
key: z.ZodString;
|
|
@@ -4895,8 +5158,11 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4895
5158
|
automation: "automation";
|
|
4896
5159
|
calendar_event: "calendar_event";
|
|
4897
5160
|
code_change: "code_change";
|
|
5161
|
+
conversation: "conversation";
|
|
4898
5162
|
deployment: "deployment";
|
|
4899
5163
|
item: "item";
|
|
5164
|
+
message: "message";
|
|
5165
|
+
person: "person";
|
|
4900
5166
|
task: "task";
|
|
4901
5167
|
}>;
|
|
4902
5168
|
title: z.ZodString;
|
|
@@ -4927,6 +5193,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4927
5193
|
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
4928
5194
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
4929
5195
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
5196
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
4930
5197
|
}, z.core.$strict>, z.ZodObject<{
|
|
4931
5198
|
type: z.ZodLiteral<"task">;
|
|
4932
5199
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4945,6 +5212,21 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4945
5212
|
type: z.ZodLiteral<"calendar_event">;
|
|
4946
5213
|
when: z.ZodOptional<z.ZodString>;
|
|
4947
5214
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5216
|
+
type: z.ZodLiteral<"conversation">;
|
|
5217
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5218
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5220
|
+
type: z.ZodLiteral<"message">;
|
|
5221
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
5222
|
+
author: z.ZodOptional<z.ZodString>;
|
|
5223
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5225
|
+
type: z.ZodLiteral<"person">;
|
|
5226
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5227
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
5228
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
5229
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4948
5230
|
}, z.core.$strict>], "type">>;
|
|
4949
5231
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
4950
5232
|
plugin: z.ZodString;
|
|
@@ -4964,8 +5246,11 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4964
5246
|
automation: "automation";
|
|
4965
5247
|
calendar_event: "calendar_event";
|
|
4966
5248
|
code_change: "code_change";
|
|
5249
|
+
conversation: "conversation";
|
|
4967
5250
|
deployment: "deployment";
|
|
4968
5251
|
item: "item";
|
|
5252
|
+
message: "message";
|
|
5253
|
+
person: "person";
|
|
4969
5254
|
task: "task";
|
|
4970
5255
|
}>>;
|
|
4971
5256
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -5307,8 +5592,11 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5307
5592
|
automation: "automation";
|
|
5308
5593
|
calendar_event: "calendar_event";
|
|
5309
5594
|
code_change: "code_change";
|
|
5595
|
+
conversation: "conversation";
|
|
5310
5596
|
deployment: "deployment";
|
|
5311
5597
|
item: "item";
|
|
5598
|
+
message: "message";
|
|
5599
|
+
person: "person";
|
|
5312
5600
|
task: "task";
|
|
5313
5601
|
}>>;
|
|
5314
5602
|
key: z.ZodString;
|
|
@@ -5330,8 +5618,11 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5330
5618
|
automation: "automation";
|
|
5331
5619
|
calendar_event: "calendar_event";
|
|
5332
5620
|
code_change: "code_change";
|
|
5621
|
+
conversation: "conversation";
|
|
5333
5622
|
deployment: "deployment";
|
|
5334
5623
|
item: "item";
|
|
5624
|
+
message: "message";
|
|
5625
|
+
person: "person";
|
|
5335
5626
|
task: "task";
|
|
5336
5627
|
}>;
|
|
5337
5628
|
title: z.ZodString;
|
|
@@ -5362,6 +5653,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5362
5653
|
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
5363
5654
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
5364
5655
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
5656
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
5365
5657
|
}, z.core.$strict>, z.ZodObject<{
|
|
5366
5658
|
type: z.ZodLiteral<"task">;
|
|
5367
5659
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -5380,6 +5672,21 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5380
5672
|
type: z.ZodLiteral<"calendar_event">;
|
|
5381
5673
|
when: z.ZodOptional<z.ZodString>;
|
|
5382
5674
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5675
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5676
|
+
type: z.ZodLiteral<"conversation">;
|
|
5677
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5678
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5679
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5680
|
+
type: z.ZodLiteral<"message">;
|
|
5681
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
5682
|
+
author: z.ZodOptional<z.ZodString>;
|
|
5683
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5684
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5685
|
+
type: z.ZodLiteral<"person">;
|
|
5686
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5687
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
5688
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
5689
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5383
5690
|
}, z.core.$strict>], "type">>;
|
|
5384
5691
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
5385
5692
|
plugin: z.ZodString;
|
|
@@ -5399,8 +5706,11 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5399
5706
|
automation: "automation";
|
|
5400
5707
|
calendar_event: "calendar_event";
|
|
5401
5708
|
code_change: "code_change";
|
|
5709
|
+
conversation: "conversation";
|
|
5402
5710
|
deployment: "deployment";
|
|
5403
5711
|
item: "item";
|
|
5712
|
+
message: "message";
|
|
5713
|
+
person: "person";
|
|
5404
5714
|
task: "task";
|
|
5405
5715
|
}>>;
|
|
5406
5716
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -5553,6 +5863,7 @@ declare const personalTokenListSchema: z.ZodObject<{
|
|
|
5553
5863
|
}, z.core.$strict>;
|
|
5554
5864
|
declare const createPersonalTokenBodySchema: z.ZodObject<{
|
|
5555
5865
|
name: z.ZodString;
|
|
5866
|
+
previewOrigin: z.ZodOptional<z.ZodString>;
|
|
5556
5867
|
}, z.core.$strict>;
|
|
5557
5868
|
declare const createdPersonalTokenSchema: z.ZodObject<{
|
|
5558
5869
|
id: z.ZodString;
|
|
@@ -7774,4 +8085,4 @@ declare const versionsSchema: z.ZodObject<{
|
|
|
7774
8085
|
spend: z.ZodString;
|
|
7775
8086
|
}, z.core.$strict>;
|
|
7776
8087
|
type Versions = z.output<typeof versionsSchema>;
|
|
7777
|
-
export { AutomationVersionList as $, codeChangeSummarySchema as $i, ConversationDeliveryResponse as $n, steerConversationPendingMessagesBodySchema as $r, isWithinNotificationSchedule as $t, runtimeInfoReportSchema as A, conversationDetailReportSchema as Ai, personParamsSchema as An, ConversationAutoArchive as Ar, workspaceListSchema as At, replyTimeSegmentsReportSchema as B, createConversationMessageBodySchema as Bi, CONVERSATION_TITLE_MAX_LENGTH as Bn, ConversationPendingMessage as Br, personalTokenMetadataSchema as Bt, healthReportSchema as C, isAgentInvocationResultEventType as Ca, ConversationUsage as Ci, ActorTotalsReport as Cn, ConversationStatsItem as Cr, scheduledAutomationSummarySchema as Ct, pluginPackageContentReportSchema as D, MessageAttachment as Da, conversationActivityPreviewSchema as Di, PersonalSpendReport as Dn, conversationStatsReportSchema as Dr, baselineSnapshotSchema as Dt, pluginPackageContentItemReportSchema as E, MAX_INPUT_IMAGE_BYTES as Ea, acceptedConversationMessageSchema as Ei, PersonParams as En, GuardianStats as Er, WorkspaceReport as Et, StatsReport as F, conversationParamsSchema as Fi, conversationWatchesReportSchema as Fn, ConversationFeed as Fr, userCustomizationSchema as Ft, AutomationList as G, CodeActivityDay as Gi, CONVERSATION_OUTLINE_TEXT_LENGTH as Gn, cancelConversationPendingMessagesBodySchema as Gr, serviceAccountParamsSchema as Gt, AutomationExecution as H, forkConversationResponseSchema as Hi, RenameConversationResponse as Hn, ConversationPendingMessagesReport as Hr, revokePersonalTokenResponseSchema as Ht, statSchema as I, conversationReportEventDataSchema as Ii, ConversationChildAgent as In, ConversationFeedItem as Ir, PersonalTokenMetadata as It, AutomationRunList as J, CodePersonReport as Ji, ConversationSubscriptionBody as Jn, conversationPendingAuthorizationSchema as Jr, NotificationSettings as Jt, AutomationListQuery as K, CodeChangeSummaryReport as Ki, ConversationOutline as Kn, cancelConversationPendingMessagesResponseSchema as Kr, serviceAccountSchema as Kt, statsReportSchema as L, conversationReportEventSchema as Li, ConversationChildAgentsReport as Ln, conversationFeedSchema as Lr, createPersonalTokenBodySchema as Lt, skillReportSchema as M, conversationEventPageSchema as Mi, ConversationWatch as Mn, archiveConversationResponseSchema as Mr, workspaceRepoSchema as Mt, skillReportsSchema as N, conversationEventsQuerySchema as Ni, ConversationWatchesReport as Nn, archiveDoneConversationsResponseSchema as Nr, workspaceSchema as Nt, pluginSchema as O, INLINE_VIDEO_TYPES as Oa, conversationAuxiliaryCostsSchema as Oi, actorDirectoryReportSchema as On, ArchiveConversationBody as Or, deleteWorkspaceResponseSchema as Ot, StatReport as P, conversationFeedQuerySchema as Pi, conversationWatchSchema as Pn, conversationAutoArchiveSchema as Pr, USER_CUSTOMIZATION_MAX_CHARS as Pt, AutomationUpdate as Q, codeChangeSummaryReportSchema as Qi, ConversationDeliveryBody as Qn, conversationUnchangedDetailWithMailboxSchema as Qr, NotificationSchedule as Qt, ReplyTimeHistogram as R, conversationSummaryReportSchema as Ri, conversationChildAgentSchema as Rn, CancelConversationPendingMessagesBody as Rr, createdPersonalTokenSchema as Rt, SkillReports as S, AGENT_REPLY_EVENT_TYPE as Sa, ConversationTurnFailureReason as Si, ActorSummaryReport as Sn, ConversationMetricDay as Sr, eventAutomationSummarySchema as St, pluginOperationalReportSchema as T, MAX_INPUT_IMAGES as Ta, CreateConversationMessageBody as Ti, PeopleActivityDayReport as Tn, GuardianMetricDay as Tr, WorkspaceListReport as Tt, AutomationExecutionList as U, conversationTurnFailureCodeSchema as Ui, renameConversationBodySchema as Un, SteerConversationPendingMessagesBody as Ur, disconnectServiceAccountResponseSchema as Ut, AutomationEdit as V, forkConversationBodySchema as Vi, RenameConversationBody as Vn, ConversationPendingMessageDelivery as Vr, personalTokenParamsSchema as Vt, AutomationExecutionStatusDay as W, conversationTurnFailureReasonSchema as Wi, renameConversationResponseSchema as Wn, SteerConversationPendingMessagesResponse as Wr, serviceAccountListSchema as Wt, AutomationScheduleIntent as X, CodeRepositorySummary as Xi, conversationSubscriptionBodySchema as Xn, conversationPendingMessageSchema as Xr, testNotificationResponseSchema as Xt, AutomationRunWindows as Y, CodeRepositoryReport as Yi, ConversationSubscriptionResponse as Yn, conversationPendingMessageDeliverySchema as Yr, notificationSettingsSchema as Yt, AutomationSummary as Z, codeActivityDaySchema as Zi, conversationSubscriptionResponseSchema as Zn, conversationPendingMessagesReportSchema as Zr, DEFAULT_NOTIFICATION_SCHEDULE as Zt, PluginPackageContentReport as _, UserInputRequest as _a, ConversationReportStatus as _i, locationParamsSchema as _n, ContinueConversationInSlackResponse as _r, automationUpdateSchema as _t, ReviewItemPayload as a, ConversationChildAgentTotals as aa, ConversationActivityPreview as ai, startConnectionResponseSchema as an, ReorderPinnedConversationsResponse as ar, automationExecutionSchema as at, SkillDetailReport as b, normalizeUserInputAnswer as ba, ConversationSurface as bi, ActorDirectoryWindows as bn, StopConversationTurnResponse as br, automationVersionParamsSchema as bt, reviewItemListSchema as c, dailyConversationActivitySchema as ca, ConversationCost as ci, LocationActivityDayReport as cn, reorderPinnedConversationsBodySchema as cr, automationListQuerySchema as ct, ReviewItemChangeRecord as d, resolveMessageCards as da, ConversationEventPage as di, LocationDirectoryReport as dn, ConversationCatchUpBody as dr, automationRunListSchema as dt, codeOverviewReportSchema as ea, steerConversationPendingMessagesResponseSchema as ei, notificationScheduleSchema as en, conversationDeliveryBodySchema as er, ListedAutomationVersion as et, HealthReport as f, AutomationTask as fa, ConversationModelUsage as fi, LocationParams as fn, conversationCatchUpBodySchema as fr, automationRunSchema as ft, PluginPackageContentItemReport as g, UserInputField as ga, ConversationReportMessageEvent as gi, locationDirectoryReportSchema as gn, ContinueConversationInSlackBody as gr, automationSummarySchema as gt, PluginOperationalReportFeed as h, UserInputAnswer as ha, ConversationReportEventData as hi, locationDetailReportSchema as hn, conversationReadPositionSchema as hr, automationSchedulePreviewSchema as ht, ReviewItemActionBody as i, codeRepositorySummarySchema as ia, CONVERSATION_VERSION_HEADER as ii, disconnectConnectionResponseSchema as in, ReorderPinnedConversationsBody as ir, automationExecutionListSchema as it, skillDetailReportSchema as j, conversationEventHistorySchema as ji, personalSpendReportSchema as jn, archiveConversationBodySchema as jr, workspaceParamsSchema as jt, pluginsSchema as k, INPUT_IMAGE_TYPES as ka, conversationDetailQuerySchema as ki, actorProfileReportSchema as kn, ArchiveConversationResponse as kr, workspaceBodySchema as kt, reviewItemSchema as l, MessageCard as la, ConversationDetailReport as li, LocationActorSummaryReport as ln, reorderPinnedConversationsResponseSchema as lr, automationListSchema as lt, PluginOperationalReport as m, USER_INPUT_NOTE as ma, ConversationReportEvent as mi, locationActivityDayReportSchema as mn, ConversationReadPosition as mr, automationScheduleIntentSchema as mt, Versions as n, codeRepositoryParamsSchema as na, ActorIdentity as ni, connectionParamsSchema as nn, PinConversationBody as nr, automationEditSchema as nt, reviewItemActionSchema as o, conversationChildAgentTotalsSchema as oa, ConversationAgentTreeNode as oi, ApiError as on, pinConversationBodySchema as or, automationExecutionStatusDaySchema as ot, Plugin as p, AutomationCard as pa, ConversationParams as pi, LocationSummaryReport as pn, conversationCatchUpSchema as pr, automationRunWindowsSchema as pt, AutomationRun as q, CodeOverviewReport as qi, conversationOutlineSchema as qn, conversationDetailWithMailboxReportSchema as qr, startServiceAccountSignInResponseSchema as qt, versionsSchema as r, codeRepositoryReportSchema as ra, CONVERSATION_DETAIL_VERSION_HEADER as ri, connectionSchema as rn, PinConversationResponse as rr, automationEventCatalogSchema as rt, reviewItemCountSchema as s, DailyConversationActivity as sa, ConversationAuxiliaryCosts as si, apiErrorSchema as sn, pinConversationResponseSchema as sr, automationExecutionStatusSchema as st, OwnedObjectAnnotation$1 as t, codePersonReportSchema as ta, AcceptedConversationMessage as ti, connectionListSchema as tn, conversationDeliveryResponseSchema as tr, automationEditErrorSchema as tt, reviewItemWaitingConversationsSchema as u, messageCardText as ua, ConversationEventHistory as ui, LocationDetailReport as un, ConversationCatchUp as ur, automationParamsSchema as ut, Plugins as v, buttonUserInputField as va, ConversationSourceTask as vi, ActorActivityDayReport as vn, continueConversationInSlackBodySchema as vr, automationVersionActivateSchema as vt, pluginOperationalReportFeedSchema as w, InputImage as wa, CreateConversationBody as wi, ActorWindowMetrics as wn, ConversationStatsReport as wr, BaselineSnapshotReport as wt, SkillReport as x, webMessageId as xa, ConversationTurnFailureCode as xi, ActorProfileReport as xn, stopConversationTurnResponseSchema as xr, automationVersionSchema as xt, RuntimeInfoReport as y, isEmptyUserInputAnswer as ya, ConversationSummaryReport as yi, ActorDirectoryReport as yn, continueConversationInSlackResponseSchema as yr, automationVersionListSchema as yt, ReplyTimeSegmentsReport as z, createConversationBodySchema as zi, conversationChildAgentsReportSchema as zn, CancelConversationPendingMessagesResponse as zr, personalTokenListSchema as zt };
|
|
8088
|
+
export { AutomationVersionList as $, CreateConversationBody as $i, ConversationDeliveryResponse as $n, steerConversationPendingMessagesBodySchema as $r, isWithinNotificationSchedule as $t, runtimeInfoReportSchema as A, buttonUserInputField as Aa, AcceptedConversationMessage as Ai, personParamsSchema as An, ConversationAutoArchive as Ar, workspaceListSchema as At, replyTimeSegmentsReportSchema as B, INLINE_VIDEO_TYPES as Ba, ConversationEventPage as Bi, CONVERSATION_TITLE_MAX_LENGTH as Bn, ConversationPendingMessage as Br, personalTokenMetadataSchema as Bt, healthReportSchema as C, resolveMessageCards as Ca, MAX_OBJECT_LINKS as Ci, ActorTotalsReport as Cn, ConversationStatsItem as Cr, scheduledAutomationSummarySchema as Ct, pluginPackageContentReportSchema as D, UserInputAnswer as Da, conversationObjectCard as Di, PersonalSpendReport as Dn, conversationStatsReportSchema as Dr, baselineSnapshotSchema as Dt, pluginPackageContentItemReportSchema as E, USER_INPUT_NOTE as Ea, objectLinksReportSchema as Ei, PersonParams as En, GuardianStats as Er, WorkspaceReport as Et, StatsReport as F, isAgentInvocationResultEventType as Fa, ConversationAgentTreeNode as Fi, conversationWatchesReportSchema as Fn, ConversationFeed as Fr, userCustomizationSchema as Ft, AutomationList as G, ConversationReportMessageEvent as Gi, CONVERSATION_OUTLINE_TEXT_LENGTH as Gn, cancelConversationPendingMessagesBodySchema as Gr, serviceAccountParamsSchema as Gt, AutomationExecution as H, ConversationParams as Hi, RenameConversationResponse as Hn, ConversationPendingMessagesReport as Hr, revokePersonalTokenResponseSchema as Ht, statSchema as I, InputFile as Ia, ConversationAuxiliaryCosts as Ii, ConversationChildAgent as In, ConversationFeedItem as Ir, PersonalTokenMetadata as It, AutomationRunList as J, ConversationSummaryReport as Ji, ConversationSubscriptionBody as Jn, conversationPendingAuthorizationSchema as Jr, NotificationSettings as Jt, AutomationListQuery as K, ConversationReportStatus as Ki, ConversationOutline as Kn, cancelConversationPendingMessagesResponseSchema as Kr, serviceAccountSchema as Kt, statsReportSchema as L, MAX_INPUT_ATTACHMENTS as La, ConversationCost as Li, ConversationChildAgentsReport as Ln, conversationFeedSchema as Lr, createPersonalTokenBodySchema as Lt, skillReportSchema as M, normalizeUserInputAnswer as Ma, CONVERSATION_DETAIL_VERSION_HEADER as Mi, ConversationWatch as Mn, archiveConversationResponseSchema as Mr, workspaceRepoSchema as Mt, skillReportsSchema as N, webMessageId as Na, CONVERSATION_VERSION_HEADER as Ni, ConversationWatchesReport as Nn, archiveDoneConversationsResponseSchema as Nr, workspaceSchema as Nt, pluginSchema as O, UserInputField as Oa, messageObjectCard as Oi, actorDirectoryReportSchema as On, ArchiveConversationBody as Or, deleteWorkspaceResponseSchema as Ot, StatReport as P, AGENT_REPLY_EVENT_TYPE as Pa, ConversationActivityPreview as Pi, conversationWatchSchema as Pn, conversationAutoArchiveSchema as Pr, USER_CUSTOMIZATION_MAX_CHARS as Pt, AutomationUpdate as Q, ConversationUsage as Qi, ConversationDeliveryBody as Qn, conversationUnchangedDetailWithMailboxSchema as Qr, NotificationSchedule as Qt, ReplyTimeHistogram as R, MAX_INPUT_ATTACHMENT_BYTES as Ra, ConversationDetailReport as Ri, conversationChildAgentSchema as Rn, CancelConversationPendingMessagesBody as Rr, createdPersonalTokenSchema as Rt, SkillReports as S, messageCardText as Sa, dailyConversationActivitySchema as Si, ActorSummaryReport as Sn, ConversationMetricDay as Sr, eventAutomationSummarySchema as St, pluginOperationalReportSchema as T, AutomationCard as Ta, objectLinksQuerySchema as Ti, PeopleActivityDayReport as Tn, GuardianMetricDay as Tr, WorkspaceListReport as Tt, AutomationExecutionList as U, ConversationReportEvent as Ui, renameConversationBodySchema as Un, SteerConversationPendingMessagesBody as Ur, disconnectServiceAccountResponseSchema as Ut, AutomationEdit as V, INPUT_IMAGE_TYPES as Va, ConversationModelUsage as Vi, RenameConversationBody as Vn, ConversationPendingMessageDelivery as Vr, personalTokenParamsSchema as Vt, AutomationExecutionStatusDay as W, ConversationReportEventData as Wi, renameConversationResponseSchema as Wn, SteerConversationPendingMessagesResponse as Wr, serviceAccountListSchema as Wt, AutomationScheduleIntent as X, ConversationTurnFailureCode as Xi, conversationSubscriptionBodySchema as Xn, conversationPendingMessageSchema as Xr, testNotificationResponseSchema as Xt, AutomationRunWindows as Y, ConversationSurface as Yi, ConversationSubscriptionResponse as Yn, conversationPendingMessageDeliverySchema as Yr, notificationSettingsSchema as Yt, AutomationSummary as Z, ConversationTurnFailureReason as Zi, conversationSubscriptionResponseSchema as Zn, conversationPendingMessagesReportSchema as Zr, DEFAULT_NOTIFICATION_SCHEDULE as Zt, PluginPackageContentReport as _, forkConversationResponseSchema as _a, codeRepositoryReportSchema as _i, locationParamsSchema as _n, ContinueConversationInSlackResponse as _r, automationUpdateSchema as _t, ReviewItemPayload as a, conversationDetailReportSchema as aa, CodeActivityDay as ai, startConnectionResponseSchema as an, ReorderPinnedConversationsResponse as ar, automationExecutionSchema as at, SkillDetailReport as b, MessageCard as ba, conversationChildAgentTotalsSchema as bi, ActorDirectoryWindows as bn, StopConversationTurnResponse as br, automationVersionParamsSchema as bt, reviewItemListSchema as c, conversationEventsQuerySchema as ca, CodePersonReport as ci, LocationActivityDayReport as cn, reorderPinnedConversationsBodySchema as cr, automationListQuerySchema as ct, ReviewItemChangeRecord as d, conversationReportEventDataSchema as da, codeActivityDaySchema as di, LocationDirectoryReport as dn, ConversationCatchUpBody as dr, automationRunListSchema as dt, CreateConversationMessageBody as ea, steerConversationPendingMessagesResponseSchema as ei, notificationScheduleSchema as en, conversationDeliveryBodySchema as er, ListedAutomationVersion as et, HealthReport as f, conversationReportEventSchema as fa, codeChangeSummaryReportSchema as fi, LocationParams as fn, conversationCatchUpBodySchema as fr, automationRunSchema as ft, PluginPackageContentItemReport as g, forkConversationBodySchema as ga, codeRepositoryParamsSchema as gi, locationDirectoryReportSchema as gn, ContinueConversationInSlackBody as gr, automationSummarySchema as gt, PluginOperationalReportFeed as h, createConversationMessageBodySchema as ha, codePersonReportSchema as hi, locationDetailReportSchema as hn, conversationReadPositionSchema as hr, automationSchedulePreviewSchema as ht, ReviewItemActionBody as i, conversationDetailQuerySchema as ia, createAttachmentUploadBodySchema as ii, disconnectConnectionResponseSchema as in, ReorderPinnedConversationsBody as ir, automationExecutionListSchema as it, skillDetailReportSchema as j, isEmptyUserInputAnswer as ja, ActorIdentity as ji, personalSpendReportSchema as jn, archiveConversationBodySchema as jr, workspaceParamsSchema as jt, pluginsSchema as k, UserInputRequest as ka, personObjectCard as ki, actorProfileReportSchema as kn, ArchiveConversationResponse as kr, workspaceBodySchema as kt, reviewItemSchema as l, conversationFeedQuerySchema as la, CodeRepositoryReport as li, LocationActorSummaryReport as ln, reorderPinnedConversationsResponseSchema as lr, automationListSchema as lt, PluginOperationalReport as m, createConversationBodySchema as ma, codeOverviewReportSchema as mi, locationActivityDayReportSchema as mn, ConversationReadPosition as mr, automationScheduleIntentSchema as mt, Versions as n, conversationActivityPreviewSchema as na, CreateAttachmentUploadBody as ni, connectionParamsSchema as nn, PinConversationBody as nr, automationEditSchema as nt, reviewItemActionSchema as o, conversationEventHistorySchema as oa, CodeChangeSummaryReport as oi, ApiError as on, pinConversationBodySchema as or, automationExecutionStatusDaySchema as ot, Plugin as p, conversationSummaryReportSchema as pa, codeChangeSummarySchema as pi, LocationSummaryReport as pn, conversationCatchUpSchema as pr, automationRunWindowsSchema as pt, AutomationRun as q, ConversationSourceTask as qi, conversationOutlineSchema as qn, conversationDetailWithMailboxReportSchema as qr, startServiceAccountSignInResponseSchema as qt, versionsSchema as r, conversationAuxiliaryCostsSchema as ra, attachmentUploadSchema as ri, connectionSchema as rn, PinConversationResponse as rr, automationEventCatalogSchema as rt, reviewItemCountSchema as s, conversationEventPageSchema as sa, CodeOverviewReport as si, apiErrorSchema as sn, pinConversationResponseSchema as sr, automationExecutionStatusSchema as st, OwnedObjectAnnotation$1 as t, acceptedConversationMessageSchema as ta, AttachmentUpload as ti, connectionListSchema as tn, conversationDeliveryResponseSchema as tr, automationEditErrorSchema as tt, reviewItemWaitingConversationsSchema as u, conversationParamsSchema as ua, CodeRepositorySummary as ui, LocationDetailReport as un, ConversationCatchUp as ur, automationParamsSchema as ut, Plugins as v, conversationTurnFailureCodeSchema as va, codeRepositorySummarySchema as vi, ActorActivityDayReport as vn, continueConversationInSlackBodySchema as vr, automationVersionActivateSchema as vt, pluginOperationalReportFeedSchema as w, AutomationTask as wa, ObjectLinksReport as wi, ActorWindowMetrics as wn, ConversationStatsReport as wr, BaselineSnapshotReport as wt, SkillReport as x, annotationCard as xa, DailyConversationActivity as xi, ActorProfileReport as xn, stopConversationTurnResponseSchema as xr, automationVersionSchema as xt, RuntimeInfoReport as y, conversationTurnFailureReasonSchema as ya, ConversationChildAgentTotals as yi, ActorDirectoryReport as yn, continueConversationInSlackResponseSchema as yr, automationVersionListSchema as yt, ReplyTimeSegmentsReport as z, MessageAttachment as za, ConversationEventHistory as zi, conversationChildAgentsReportSchema as zn, CancelConversationPendingMessagesResponse as zr, personalTokenListSchema as zt };
|