@sentry/junior 0.256.0 → 0.258.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-BTtLaeWy.js → actor-tlxzqaRe.js} +3 -6
- package/dist/{admin-BhucwVfy.js → admin-My1SLGVO.js} +2 -3
- package/dist/{agent-hooks-DlSK8PQQ.js → agent-hooks-BJ_5mlRH.js} +71 -111
- package/dist/{agent-invocations-BY60iNw-.js → agent-invocations-Qfz7dWgU.js} +8 -13
- package/dist/{agent-runner-C6_cd61V.js → agent-runner-DGsFQw72.js} +278 -467
- package/dist/api/schema.d.ts +454 -448
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +2 -12
- package/dist/api.js +189 -165
- package/dist/{app-B0gT1Slp.d.ts → app-PX2H1PxU.d.ts} +20 -37
- package/dist/app.d.ts +3 -3
- package/dist/app.js +565 -305
- package/dist/{assistant-reply-yn5G-YEG.js → assistant-reply-H1M-91oF.js} +3 -5
- package/dist/{automation-CHdlHVZP.js → automation-DWBFBenG.js} +6 -11
- package/dist/{briefs-U6Bi3IYw.js → briefs-vYoK85rJ.js} +8 -11
- package/dist/{cadence-D00SCzT1.js → cadence-R7Em4RjE.js} +1 -2
- package/dist/{catalog-runtime-DF5OWqCc.js → catalog-runtime-BN4DVxco.js} +3 -4
- package/dist/cli/chat.d.ts +2 -4
- package/dist/cli/chat.js +22 -24
- package/dist/cli/check.d.ts +1 -3
- package/dist/cli/check.js +4 -5
- package/dist/cli/env.d.ts +1 -3
- package/dist/cli/env.js +1 -2
- package/dist/cli/init.d.ts +1 -3
- package/dist/cli/init.js +3 -3
- package/dist/cli/main.d.ts +1 -3
- package/dist/cli/main.js +4 -5
- package/dist/cli/plugins.d.ts +2 -4
- package/dist/cli/plugins.js +7 -8
- package/dist/cli/run.d.ts +1 -2
- package/dist/cli/run.js +1 -2
- package/dist/cli/snapshot-create.d.ts +1 -3
- package/dist/cli/snapshot-create.js +4 -5
- package/dist/cli/upgrade.d.ts +3 -6
- package/dist/cli/upgrade.js +11 -17
- package/dist/{client-BVrAp-pq.js → client-DbyHuMFU.js} +9 -16
- package/dist/{config-DdBiDanf.js → config-_WO_AjCB.js} +18 -15
- package/dist/{connections-CG04HdpC.js → connections-ag_1JOhB.js} +21 -21
- package/dist/{conversation-T18Xlkx9.js → conversation-DjN3mlog.js} +11 -17
- package/dist/{conversation-privacy-CpSYOWnP.js → conversation-privacy-DHP_xnVj.js} +2 -3
- package/dist/{conversation-work-C6y3T5Hx.js → conversation-work-BaT_T6EB.js} +1 -2
- package/dist/{credential-sync-DKWNdcgm.js → credential-sync-B-CPX_ag.js} +89 -52
- package/dist/{db-Ca9Nt5ci.d.ts → db-BnRqQ7G5.d.ts} +1 -1
- package/dist/{executor-BroK9oKy.js → executor-RvG6kVe1.js} +58 -70
- package/dist/{experimental-Qn9rKLgx.js → experimental-BNK1l1jv.js} +2 -3
- package/dist/{history-9pO1Zd4Y.js → history-AY8rs-FR.js} +5 -9
- package/dist/{history-DvqWZlYX.d.ts → history-BgI33Kie.d.ts} +12 -20
- package/dist/{images-D0VZ5nv0.js → images-C2J_bj2g.js} +5 -6
- package/dist/instrumentation.d.ts +1 -3
- package/dist/instrumentation.js +6 -8
- package/dist/{job-queue-BbGg3gvu.js → job-queue-DVe37it2.js} +6 -12
- package/dist/{logging-tPQeUe2i.js → logging-DsHONhVm.js} +54 -24
- package/dist/{message-DdPGRYQP.js → message-DyitL8no.js} +5 -6
- package/dist/{model-profile-BwU8mqwD.js → model-profile-Bg8EoCKD.js} +2 -4
- package/dist/nitro.d.ts +3 -5
- package/dist/nitro.js +12 -17
- package/dist/{oauth-authorization-BA4Dt6a7.js → oauth-authorization-djQn5Nhy.js} +2 -4
- package/dist/{oauth-callback-server-B-2errCX.js → oauth-callback-server-CDby-pCn.js} +3 -4
- package/dist/{oauth-relay-CdCnu80W.js → oauth-relay-CTygMkNx.js} +2 -3
- package/dist/{package-discovery-BVvSnQBB.js → package-discovery-DJBompdd.js} +17 -21
- package/dist/{pending-auth-DT3MRVW8.js → pending-auth-D8J1uJUS.js} +37 -28
- package/dist/{plugin-module-CVvEUSMH.js → plugin-module-Cf5gVPWP.js} +1 -2
- package/dist/{plugins-CjfUP5gJ.d.ts → plugins-B11Mfkmv.d.ts} +0 -4
- package/dist/{plugins-egKWjgue.js → plugins-DOm9Y6qI.js} +2 -3
- package/dist/{private-trace-result-BLvBjy_e.js → private-trace-result-CE7_lEdq.js} +1 -2
- package/dist/{profile-Bb1zCVGP.js → profile-DpYjfKke.js} +16 -28
- package/dist/{prompt-C04mP1hu.js → prompt-xgpyMtg7.js} +5 -9
- package/dist/{queue-B5SnqRln.d.ts → queue-C37RbDVc.d.ts} +0 -2
- package/dist/{registry-CsNavQ_Z.js → registry-Du566MtJ.js} +57 -30
- package/dist/{resolve-B6ZZ9duG.js → resolve-ClCIgh8E.js} +7 -12
- package/dist/{result-j9nS0se-.js → result-BBbKA61B.js} +13 -17
- package/dist/{rolldown-runtime-B4FMCO8f.js → rolldown-runtime-nwUcYXjP.js} +1 -2
- package/dist/{runner-Y331DoZ5.js → runner-CCuqFSqx.js} +12 -13
- package/dist/{sandbox-egress-signals-BUfjEdHY.js → sandbox-egress-signals-DY1mbKF4.js} +2 -3
- package/dist/{schema-BBgv0MNf.js → schema-DrMh3NtR.js} +17 -27
- package/dist/{sentry-CgWZM_kV.js → sentry-BBUlHih9.js} +2 -3
- package/dist/{session-stop-q-6GNHx6.js → session-stop-CIoFiwwe.js} +57 -41
- package/dist/{skills-CyvTsR9M.js → skills-DyQBLIrK.js} +9 -9
- package/dist/{spawn-Do5mX3d_.js → spawn-Dqfeo7XP.js} +4 -5
- package/dist/{store-DoewL5mG.d.ts → store-CG0VJyye.d.ts} +0 -14
- package/dist/{store-D2It0ozF.js → store-DJLwq4x8.js} +13 -15
- package/dist/{task-queue-ZMk9bLRT.js → task-queue-BzW4MaWU.js} +5 -7
- package/dist/{task-runner-cIGU5VwJ.js → task-runner-D3qJh4fK.js} +22 -26
- package/dist/{tasks-CODtRzvX.js → tasks-CEXKTASS.js} +78 -79
- package/dist/{thread-state-BPkwVmvK.js → thread-state-W3f6kAtz.js} +13 -19
- package/dist/{turn-failure-response-ChmMeKar.js → turn-failure-response-CWx7aNIh.js} +16 -22
- package/dist/{turn-lifecycle-BUP7ZOVa.js → turn-lifecycle-C9JFst7-.js} +2 -3
- package/dist/{turn-session-routing-BcWM3PLm.js → turn-session-routing-CUxtfpr7.js} +2 -3
- package/dist/{validation-DCd69-cP.js → validation-BHRxa5G4.js} +3 -4
- package/dist/vercel.d.ts +1 -3
- package/dist/vercel.js +1 -2
- package/dist/{version-DBc4Qt_P.js → version-C0U6rHg0.js} +3 -5
- package/dist/{version-CnXZ614E.d.ts → version-Cc2OFd9G.d.ts} +0 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -2
- package/dist/{viewer-C-9nFKYr.js → viewer-CGvvRqKp.js} +61 -44
- package/dist/{web-input-Cv42P3ni.js → web-input-Keb5GRWj.js} +139 -198
- package/dist/{web-message-id-xPI_EFSC.js → web-message-id-CJSUiksE.js} +3 -6
- package/dist/{work-6UmVQq1V.js → work-DRcsJ3hV.js} +14 -16
- package/dist/{worker-DAoBZuZn.js → worker-Cjo-QqPq.js} +7 -8
- package/migrations/0059_automation_run_version.sql +2 -0
- package/migrations/0060_identity_signed_in_at.sql +1 -0
- package/migrations/meta/0059_snapshot.json +3619 -0
- package/migrations/meta/0060_snapshot.json +3465 -0
- package/migrations/meta/_journal.json +15 -1
- package/package.json +8 -6
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-
|
|
1
|
+
import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-BgI33Kie.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
|
|
4
|
-
//#region src/chat/attachments/media.d.ts
|
|
5
4
|
export declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/chat/conversations/web-message-id.d.ts
|
|
8
5
|
/**
|
|
9
6
|
* Build the retry-stable Message id shared by web ingress and browser sends.
|
|
10
7
|
* Keep the existing hash and prefix so retries still address stored Messages.
|
|
@@ -13,8 +10,6 @@ export declare function webMessageId(args: {
|
|
|
13
10
|
conversationId: string;
|
|
14
11
|
idempotencyKey: string;
|
|
15
12
|
}): Promise<string>;
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/api/activity.d.ts
|
|
18
13
|
export declare const dailyConversationActivitySchema: z.ZodObject<{
|
|
19
14
|
active: z.ZodNumber;
|
|
20
15
|
conversations: z.ZodNumber;
|
|
@@ -24,8 +19,6 @@ export declare const dailyConversationActivitySchema: z.ZodObject<{
|
|
|
24
19
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
25
20
|
}, z.core.$strict>;
|
|
26
21
|
type DailyConversationActivity = z.infer<typeof dailyConversationActivitySchema>;
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/api/schema/child-agent-totals.d.ts
|
|
29
22
|
/**
|
|
30
23
|
* The part of a Conversation total that its child agents spent, at any depth.
|
|
31
24
|
* Present only when the Conversation has child agents. The Conversation's own
|
|
@@ -52,8 +45,6 @@ export declare const conversationChildAgentTotalsSchema: z.ZodObject<{
|
|
|
52
45
|
}, z.core.$strict>>;
|
|
53
46
|
}, z.core.$strict>;
|
|
54
47
|
type ConversationChildAgentTotals = z.infer<typeof conversationChildAgentTotalsSchema>;
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/api/schema/code.d.ts
|
|
57
48
|
export declare const codeChangeSummarySchema: z.ZodObject<{
|
|
58
49
|
closed: z.ZodNumber;
|
|
59
50
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
@@ -222,7 +213,7 @@ export declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
|
222
213
|
name: z.ZodString;
|
|
223
214
|
}, z.core.$strict>>;
|
|
224
215
|
}, z.core.$strict>;
|
|
225
|
-
/** Person-scoped code activity for one People profile. */
|
|
216
|
+
/** Person-scoped code activity and recent code changes for one People profile. */
|
|
226
217
|
export declare const codePersonReportSchema: z.ZodObject<{
|
|
227
218
|
activityDays: z.ZodArray<z.ZodObject<{
|
|
228
219
|
closed: z.ZodNumber;
|
|
@@ -242,6 +233,22 @@ export declare const codePersonReportSchema: z.ZodObject<{
|
|
|
242
233
|
date: z.ZodString;
|
|
243
234
|
merged: z.ZodNumber;
|
|
244
235
|
}, z.core.$strict>>>;
|
|
236
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
237
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
240
|
+
number: z.ZodNumber;
|
|
241
|
+
openedAt: z.ZodString;
|
|
242
|
+
provider: z.ZodString;
|
|
243
|
+
repository: z.ZodString;
|
|
244
|
+
state: z.ZodEnum<{
|
|
245
|
+
closed: "closed";
|
|
246
|
+
merged: "merged";
|
|
247
|
+
open: "open";
|
|
248
|
+
}>;
|
|
249
|
+
title: z.ZodOptional<z.ZodString>;
|
|
250
|
+
url: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strict>>;
|
|
245
252
|
generatedAt: z.ZodString;
|
|
246
253
|
summary: z.ZodObject<{
|
|
247
254
|
closed: z.ZodNumber;
|
|
@@ -262,12 +269,10 @@ type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
|
262
269
|
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
263
270
|
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
264
271
|
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region src/api/schema/conversation.d.ts
|
|
267
272
|
declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
268
|
-
failed: "failed";
|
|
269
|
-
completed: "completed";
|
|
270
273
|
active: "active";
|
|
274
|
+
completed: "completed";
|
|
275
|
+
failed: "failed";
|
|
271
276
|
}>;
|
|
272
277
|
declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
273
278
|
api: "api";
|
|
@@ -329,9 +334,9 @@ export declare const createConversationMessageBodySchema: z.ZodObject<{
|
|
|
329
334
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
330
335
|
filename: z.ZodString;
|
|
331
336
|
contentType: z.ZodEnum<{
|
|
332
|
-
"image/png": "image/png";
|
|
333
|
-
"image/jpeg": "image/jpeg";
|
|
334
337
|
"image/gif": "image/gif";
|
|
338
|
+
"image/jpeg": "image/jpeg";
|
|
339
|
+
"image/png": "image/png";
|
|
335
340
|
"image/webp": "image/webp";
|
|
336
341
|
}>;
|
|
337
342
|
data: z.ZodString;
|
|
@@ -343,16 +348,16 @@ export declare const createConversationBodySchema: z.ZodObject<{
|
|
|
343
348
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
349
|
filename: z.ZodString;
|
|
345
350
|
contentType: z.ZodEnum<{
|
|
346
|
-
"image/png": "image/png";
|
|
347
|
-
"image/jpeg": "image/jpeg";
|
|
348
351
|
"image/gif": "image/gif";
|
|
352
|
+
"image/jpeg": "image/jpeg";
|
|
353
|
+
"image/png": "image/png";
|
|
349
354
|
"image/webp": "image/webp";
|
|
350
355
|
}>;
|
|
351
356
|
data: z.ZodString;
|
|
352
357
|
}, z.core.$strict>>>;
|
|
353
358
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
354
|
-
public: "public";
|
|
355
359
|
private: "private";
|
|
360
|
+
public: "public";
|
|
356
361
|
}>>;
|
|
357
362
|
}, z.core.$strict>;
|
|
358
363
|
export declare const acceptedConversationMessageSchema: z.ZodObject<{
|
|
@@ -481,16 +486,16 @@ declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
|
481
486
|
triggerMessageId: z.ZodOptional<z.ZodString>;
|
|
482
487
|
triggerLabel: z.ZodOptional<z.ZodString>;
|
|
483
488
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
484
|
-
system: "system";
|
|
485
489
|
creator: "creator";
|
|
490
|
+
system: "system";
|
|
486
491
|
}>>;
|
|
487
492
|
credentialUser: z.ZodOptional<z.ZodString>;
|
|
488
493
|
}, z.core.$strict>;
|
|
489
494
|
export declare const conversationActivityPreviewSchema: z.ZodObject<{
|
|
490
495
|
createdAt: z.ZodString;
|
|
491
496
|
role: z.ZodEnum<{
|
|
492
|
-
user: "user";
|
|
493
497
|
assistant: "assistant";
|
|
498
|
+
user: "user";
|
|
494
499
|
}>;
|
|
495
500
|
text: z.ZodString;
|
|
496
501
|
}, z.core.$strict>;
|
|
@@ -499,8 +504,8 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
499
504
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
500
505
|
createdAt: z.ZodString;
|
|
501
506
|
role: z.ZodEnum<{
|
|
502
|
-
user: "user";
|
|
503
507
|
assistant: "assistant";
|
|
508
|
+
user: "user";
|
|
504
509
|
}>;
|
|
505
510
|
text: z.ZodString;
|
|
506
511
|
}, z.core.$strict>>;
|
|
@@ -552,13 +557,13 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
552
557
|
conversationId: z.ZodString;
|
|
553
558
|
isParticipant: z.ZodBoolean;
|
|
554
559
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
555
|
-
public: "public";
|
|
556
560
|
private: "private";
|
|
561
|
+
public: "public";
|
|
557
562
|
}>>;
|
|
558
563
|
status: z.ZodEnum<{
|
|
559
|
-
failed: "failed";
|
|
560
|
-
completed: "completed";
|
|
561
564
|
active: "active";
|
|
565
|
+
completed: "completed";
|
|
566
|
+
failed: "failed";
|
|
562
567
|
}>;
|
|
563
568
|
startedAt: z.ZodString;
|
|
564
569
|
lastSeenAt: z.ZodString;
|
|
@@ -592,35 +597,35 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
592
597
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
593
598
|
kind: z.ZodLiteral<"resource_link">;
|
|
594
599
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
automation: "automation";
|
|
601
|
+
calendar_event: "calendar_event";
|
|
595
602
|
code_change: "code_change";
|
|
596
|
-
task: "task";
|
|
597
603
|
deployment: "deployment";
|
|
598
|
-
calendar_event: "calendar_event";
|
|
599
|
-
automation: "automation";
|
|
600
604
|
item: "item";
|
|
605
|
+
task: "task";
|
|
601
606
|
}>>;
|
|
602
607
|
key: z.ZodString;
|
|
603
608
|
label: z.ZodString;
|
|
604
609
|
url: z.ZodString;
|
|
605
610
|
description: z.ZodOptional<z.ZodString>;
|
|
606
611
|
status: z.ZodOptional<z.ZodEnum<{
|
|
607
|
-
warning: "warning";
|
|
608
|
-
draft: "draft";
|
|
609
612
|
closed: "closed";
|
|
613
|
+
draft: "draft";
|
|
610
614
|
merged: "merged";
|
|
611
615
|
open: "open";
|
|
616
|
+
warning: "warning";
|
|
612
617
|
}>>;
|
|
613
618
|
}, z.core.$strict>, z.ZodObject<{
|
|
614
619
|
kind: z.ZodLiteral<"object">;
|
|
615
620
|
key: z.ZodString;
|
|
616
621
|
label: z.ZodString;
|
|
617
622
|
objectType: z.ZodEnum<{
|
|
623
|
+
automation: "automation";
|
|
624
|
+
calendar_event: "calendar_event";
|
|
618
625
|
code_change: "code_change";
|
|
619
|
-
task: "task";
|
|
620
626
|
deployment: "deployment";
|
|
621
|
-
calendar_event: "calendar_event";
|
|
622
|
-
automation: "automation";
|
|
623
627
|
item: "item";
|
|
628
|
+
task: "task";
|
|
624
629
|
}>;
|
|
625
630
|
title: z.ZodString;
|
|
626
631
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -637,9 +642,9 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
637
642
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
638
643
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
644
|
review: z.ZodOptional<z.ZodEnum<{
|
|
640
|
-
required: "required";
|
|
641
645
|
approved: "approved";
|
|
642
646
|
changes_requested: "changes_requested";
|
|
647
|
+
required: "required";
|
|
643
648
|
}>>;
|
|
644
649
|
checks: z.ZodOptional<z.ZodObject<{
|
|
645
650
|
passed: z.ZodNumber;
|
|
@@ -676,20 +681,20 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
676
681
|
}, z.core.$strip>>>>;
|
|
677
682
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
678
683
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
679
|
-
"git-pull-request": "git-pull-request";
|
|
680
|
-
"git-merge": "git-merge";
|
|
681
|
-
"circle-dot": "circle-dot";
|
|
682
684
|
"circle-dashed": "circle-dashed";
|
|
685
|
+
"circle-dot": "circle-dot";
|
|
683
686
|
"circle-x": "circle-x";
|
|
687
|
+
"git-merge": "git-merge";
|
|
688
|
+
"git-pull-request": "git-pull-request";
|
|
684
689
|
"triangle-alert": "triangle-alert";
|
|
685
690
|
}>>;
|
|
686
691
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
692
|
+
automation: "automation";
|
|
693
|
+
calendar_event: "calendar_event";
|
|
687
694
|
code_change: "code_change";
|
|
688
|
-
task: "task";
|
|
689
695
|
deployment: "deployment";
|
|
690
|
-
calendar_event: "calendar_event";
|
|
691
|
-
automation: "automation";
|
|
692
696
|
item: "item";
|
|
697
|
+
task: "task";
|
|
693
698
|
}>>;
|
|
694
699
|
status: z.ZodOptional<z.ZodString>;
|
|
695
700
|
key: z.ZodString;
|
|
@@ -705,9 +710,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
705
710
|
type: z.ZodLiteral<"message">;
|
|
706
711
|
messageId: z.ZodString;
|
|
707
712
|
role: z.ZodEnum<{
|
|
713
|
+
assistant: "assistant";
|
|
708
714
|
system: "system";
|
|
709
715
|
user: "user";
|
|
710
|
-
assistant: "assistant";
|
|
711
716
|
}>;
|
|
712
717
|
source: z.ZodOptional<z.ZodEnum<{
|
|
713
718
|
slack: "slack";
|
|
@@ -719,14 +724,20 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
719
724
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
720
725
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
721
726
|
}, z.core.$strict>>;
|
|
727
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
728
|
+
email: z.ZodOptional<z.ZodString>;
|
|
729
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
730
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
731
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strict>>>;
|
|
722
733
|
eventType: z.ZodOptional<z.ZodString>;
|
|
723
734
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
735
|
+
automation: "automation";
|
|
736
|
+
calendar_event: "calendar_event";
|
|
724
737
|
code_change: "code_change";
|
|
725
|
-
task: "task";
|
|
726
738
|
deployment: "deployment";
|
|
727
|
-
calendar_event: "calendar_event";
|
|
728
|
-
automation: "automation";
|
|
729
739
|
item: "item";
|
|
740
|
+
task: "task";
|
|
730
741
|
}>>;
|
|
731
742
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
732
743
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -759,9 +770,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
759
770
|
toolCallId: z.ZodString;
|
|
760
771
|
name: z.ZodString;
|
|
761
772
|
status: z.ZodEnum<{
|
|
773
|
+
completed: "completed";
|
|
762
774
|
error: "error";
|
|
763
775
|
running: "running";
|
|
764
|
-
completed: "completed";
|
|
765
776
|
}>;
|
|
766
777
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
767
778
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -801,21 +812,21 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
801
812
|
persistence_failed: "persistence_failed";
|
|
802
813
|
}>;
|
|
803
814
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
804
|
-
unknown: "unknown";
|
|
805
|
-
capacity: "capacity";
|
|
806
815
|
auth: "auth";
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
network: "network";
|
|
811
|
-
server: "server";
|
|
816
|
+
capacity: "capacity";
|
|
817
|
+
content_policy: "content_policy";
|
|
818
|
+
empty_output: "empty_output";
|
|
812
819
|
invalid_request: "invalid_request";
|
|
813
820
|
invalid_response: "invalid_response";
|
|
821
|
+
network: "network";
|
|
822
|
+
permission: "permission";
|
|
814
823
|
quota: "quota";
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
tool_errors: "tool_errors";
|
|
824
|
+
rate_limit: "rate_limit";
|
|
825
|
+
server: "server";
|
|
818
826
|
suppressed_output: "suppressed_output";
|
|
827
|
+
timeout: "timeout";
|
|
828
|
+
tool_errors: "tool_errors";
|
|
829
|
+
unknown: "unknown";
|
|
819
830
|
}>>;
|
|
820
831
|
eventId: z.ZodOptional<z.ZodString>;
|
|
821
832
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -840,16 +851,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
840
851
|
title: z.ZodString;
|
|
841
852
|
}, z.core.$strict>>>;
|
|
842
853
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
843
|
-
|
|
854
|
+
activity: "activity";
|
|
855
|
+
brain: "brain";
|
|
844
856
|
calendar: "calendar";
|
|
845
|
-
|
|
857
|
+
check: "check";
|
|
858
|
+
database: "database";
|
|
846
859
|
info: "info";
|
|
847
860
|
key: "key";
|
|
848
861
|
link: "link";
|
|
849
|
-
activity: "activity";
|
|
850
|
-
brain: "brain";
|
|
851
|
-
database: "database";
|
|
852
862
|
sparkles: "sparkles";
|
|
863
|
+
warning: "warning";
|
|
853
864
|
}>>;
|
|
854
865
|
preview: z.ZodOptional<z.ZodString>;
|
|
855
866
|
title: z.ZodString;
|
|
@@ -886,16 +897,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
886
897
|
deny: "deny";
|
|
887
898
|
}>;
|
|
888
899
|
riskLevel: z.ZodEnum<{
|
|
900
|
+
critical: "critical";
|
|
901
|
+
high: "high";
|
|
889
902
|
low: "low";
|
|
890
903
|
medium: "medium";
|
|
891
|
-
high: "high";
|
|
892
|
-
critical: "critical";
|
|
893
904
|
}>;
|
|
894
905
|
userAuthorization: z.ZodEnum<{
|
|
895
|
-
|
|
906
|
+
high: "high";
|
|
896
907
|
low: "low";
|
|
897
908
|
medium: "medium";
|
|
898
|
-
|
|
909
|
+
unknown: "unknown";
|
|
899
910
|
}>;
|
|
900
911
|
}, z.core.$strict>, z.ZodObject<{
|
|
901
912
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -930,11 +941,11 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
930
941
|
title: z.ZodOptional<z.ZodString>;
|
|
931
942
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
932
943
|
status: z.ZodEnum<{
|
|
933
|
-
|
|
934
|
-
running: "running";
|
|
944
|
+
aborted: "aborted";
|
|
935
945
|
blocked: "blocked";
|
|
936
946
|
completed: "completed";
|
|
937
|
-
|
|
947
|
+
error: "error";
|
|
948
|
+
running: "running";
|
|
938
949
|
}>;
|
|
939
950
|
}, z.core.$strict>], "type">;
|
|
940
951
|
/** One ordered, privacy-safe canonical event projected for API consumers. */
|
|
@@ -945,9 +956,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
945
956
|
type: z.ZodLiteral<"message">;
|
|
946
957
|
messageId: z.ZodString;
|
|
947
958
|
role: z.ZodEnum<{
|
|
959
|
+
assistant: "assistant";
|
|
948
960
|
system: "system";
|
|
949
961
|
user: "user";
|
|
950
|
-
assistant: "assistant";
|
|
951
962
|
}>;
|
|
952
963
|
source: z.ZodOptional<z.ZodEnum<{
|
|
953
964
|
slack: "slack";
|
|
@@ -959,14 +970,20 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
959
970
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
960
971
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
961
972
|
}, z.core.$strict>>;
|
|
973
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
974
|
+
email: z.ZodOptional<z.ZodString>;
|
|
975
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
976
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
977
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
978
|
+
}, z.core.$strict>>>;
|
|
962
979
|
eventType: z.ZodOptional<z.ZodString>;
|
|
963
980
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
981
|
+
automation: "automation";
|
|
982
|
+
calendar_event: "calendar_event";
|
|
964
983
|
code_change: "code_change";
|
|
965
|
-
task: "task";
|
|
966
984
|
deployment: "deployment";
|
|
967
|
-
calendar_event: "calendar_event";
|
|
968
|
-
automation: "automation";
|
|
969
985
|
item: "item";
|
|
986
|
+
task: "task";
|
|
970
987
|
}>>;
|
|
971
988
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
972
989
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -999,9 +1016,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
999
1016
|
toolCallId: z.ZodString;
|
|
1000
1017
|
name: z.ZodString;
|
|
1001
1018
|
status: z.ZodEnum<{
|
|
1019
|
+
completed: "completed";
|
|
1002
1020
|
error: "error";
|
|
1003
1021
|
running: "running";
|
|
1004
|
-
completed: "completed";
|
|
1005
1022
|
}>;
|
|
1006
1023
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1007
1024
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1041,21 +1058,21 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1041
1058
|
persistence_failed: "persistence_failed";
|
|
1042
1059
|
}>;
|
|
1043
1060
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1044
|
-
unknown: "unknown";
|
|
1045
|
-
capacity: "capacity";
|
|
1046
1061
|
auth: "auth";
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
network: "network";
|
|
1051
|
-
server: "server";
|
|
1062
|
+
capacity: "capacity";
|
|
1063
|
+
content_policy: "content_policy";
|
|
1064
|
+
empty_output: "empty_output";
|
|
1052
1065
|
invalid_request: "invalid_request";
|
|
1053
1066
|
invalid_response: "invalid_response";
|
|
1067
|
+
network: "network";
|
|
1068
|
+
permission: "permission";
|
|
1054
1069
|
quota: "quota";
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
tool_errors: "tool_errors";
|
|
1070
|
+
rate_limit: "rate_limit";
|
|
1071
|
+
server: "server";
|
|
1058
1072
|
suppressed_output: "suppressed_output";
|
|
1073
|
+
timeout: "timeout";
|
|
1074
|
+
tool_errors: "tool_errors";
|
|
1075
|
+
unknown: "unknown";
|
|
1059
1076
|
}>>;
|
|
1060
1077
|
eventId: z.ZodOptional<z.ZodString>;
|
|
1061
1078
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1080,16 +1097,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1080
1097
|
title: z.ZodString;
|
|
1081
1098
|
}, z.core.$strict>>>;
|
|
1082
1099
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1083
|
-
|
|
1100
|
+
activity: "activity";
|
|
1101
|
+
brain: "brain";
|
|
1084
1102
|
calendar: "calendar";
|
|
1085
|
-
|
|
1103
|
+
check: "check";
|
|
1104
|
+
database: "database";
|
|
1086
1105
|
info: "info";
|
|
1087
1106
|
key: "key";
|
|
1088
1107
|
link: "link";
|
|
1089
|
-
activity: "activity";
|
|
1090
|
-
brain: "brain";
|
|
1091
|
-
database: "database";
|
|
1092
1108
|
sparkles: "sparkles";
|
|
1109
|
+
warning: "warning";
|
|
1093
1110
|
}>>;
|
|
1094
1111
|
preview: z.ZodOptional<z.ZodString>;
|
|
1095
1112
|
title: z.ZodString;
|
|
@@ -1126,16 +1143,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1126
1143
|
deny: "deny";
|
|
1127
1144
|
}>;
|
|
1128
1145
|
riskLevel: z.ZodEnum<{
|
|
1146
|
+
critical: "critical";
|
|
1147
|
+
high: "high";
|
|
1129
1148
|
low: "low";
|
|
1130
1149
|
medium: "medium";
|
|
1131
|
-
high: "high";
|
|
1132
|
-
critical: "critical";
|
|
1133
1150
|
}>;
|
|
1134
1151
|
userAuthorization: z.ZodEnum<{
|
|
1135
|
-
|
|
1152
|
+
high: "high";
|
|
1136
1153
|
low: "low";
|
|
1137
1154
|
medium: "medium";
|
|
1138
|
-
|
|
1155
|
+
unknown: "unknown";
|
|
1139
1156
|
}>;
|
|
1140
1157
|
}, z.core.$strict>, z.ZodObject<{
|
|
1141
1158
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -1170,11 +1187,11 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1170
1187
|
title: z.ZodOptional<z.ZodString>;
|
|
1171
1188
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1172
1189
|
status: z.ZodEnum<{
|
|
1173
|
-
|
|
1174
|
-
running: "running";
|
|
1190
|
+
aborted: "aborted";
|
|
1175
1191
|
blocked: "blocked";
|
|
1176
1192
|
completed: "completed";
|
|
1177
|
-
|
|
1193
|
+
error: "error";
|
|
1194
|
+
running: "running";
|
|
1178
1195
|
}>;
|
|
1179
1196
|
}, z.core.$strict>], "type">;
|
|
1180
1197
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -1249,8 +1266,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1249
1266
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
1250
1267
|
createdAt: z.ZodString;
|
|
1251
1268
|
role: z.ZodEnum<{
|
|
1252
|
-
user: "user";
|
|
1253
1269
|
assistant: "assistant";
|
|
1270
|
+
user: "user";
|
|
1254
1271
|
}>;
|
|
1255
1272
|
text: z.ZodString;
|
|
1256
1273
|
}, z.core.$strict>>;
|
|
@@ -1302,13 +1319,13 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1302
1319
|
conversationId: z.ZodString;
|
|
1303
1320
|
isParticipant: z.ZodBoolean;
|
|
1304
1321
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1305
|
-
public: "public";
|
|
1306
1322
|
private: "private";
|
|
1323
|
+
public: "public";
|
|
1307
1324
|
}>>;
|
|
1308
1325
|
status: z.ZodEnum<{
|
|
1309
|
-
failed: "failed";
|
|
1310
|
-
completed: "completed";
|
|
1311
1326
|
active: "active";
|
|
1327
|
+
completed: "completed";
|
|
1328
|
+
failed: "failed";
|
|
1312
1329
|
}>;
|
|
1313
1330
|
startedAt: z.ZodString;
|
|
1314
1331
|
lastSeenAt: z.ZodString;
|
|
@@ -1342,35 +1359,35 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1342
1359
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1343
1360
|
kind: z.ZodLiteral<"resource_link">;
|
|
1344
1361
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
1362
|
+
automation: "automation";
|
|
1363
|
+
calendar_event: "calendar_event";
|
|
1345
1364
|
code_change: "code_change";
|
|
1346
|
-
task: "task";
|
|
1347
1365
|
deployment: "deployment";
|
|
1348
|
-
calendar_event: "calendar_event";
|
|
1349
|
-
automation: "automation";
|
|
1350
1366
|
item: "item";
|
|
1367
|
+
task: "task";
|
|
1351
1368
|
}>>;
|
|
1352
1369
|
key: z.ZodString;
|
|
1353
1370
|
label: z.ZodString;
|
|
1354
1371
|
url: z.ZodString;
|
|
1355
1372
|
description: z.ZodOptional<z.ZodString>;
|
|
1356
1373
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1357
|
-
warning: "warning";
|
|
1358
|
-
draft: "draft";
|
|
1359
1374
|
closed: "closed";
|
|
1375
|
+
draft: "draft";
|
|
1360
1376
|
merged: "merged";
|
|
1361
1377
|
open: "open";
|
|
1378
|
+
warning: "warning";
|
|
1362
1379
|
}>>;
|
|
1363
1380
|
}, z.core.$strict>, z.ZodObject<{
|
|
1364
1381
|
kind: z.ZodLiteral<"object">;
|
|
1365
1382
|
key: z.ZodString;
|
|
1366
1383
|
label: z.ZodString;
|
|
1367
1384
|
objectType: z.ZodEnum<{
|
|
1385
|
+
automation: "automation";
|
|
1386
|
+
calendar_event: "calendar_event";
|
|
1368
1387
|
code_change: "code_change";
|
|
1369
|
-
task: "task";
|
|
1370
1388
|
deployment: "deployment";
|
|
1371
|
-
calendar_event: "calendar_event";
|
|
1372
|
-
automation: "automation";
|
|
1373
1389
|
item: "item";
|
|
1390
|
+
task: "task";
|
|
1374
1391
|
}>;
|
|
1375
1392
|
title: z.ZodString;
|
|
1376
1393
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -1387,9 +1404,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1387
1404
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
1388
1405
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1389
1406
|
review: z.ZodOptional<z.ZodEnum<{
|
|
1390
|
-
required: "required";
|
|
1391
1407
|
approved: "approved";
|
|
1392
1408
|
changes_requested: "changes_requested";
|
|
1409
|
+
required: "required";
|
|
1393
1410
|
}>>;
|
|
1394
1411
|
checks: z.ZodOptional<z.ZodObject<{
|
|
1395
1412
|
passed: z.ZodNumber;
|
|
@@ -1426,20 +1443,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1426
1443
|
}, z.core.$strip>>>>;
|
|
1427
1444
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1428
1445
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1429
|
-
"git-pull-request": "git-pull-request";
|
|
1430
|
-
"git-merge": "git-merge";
|
|
1431
|
-
"circle-dot": "circle-dot";
|
|
1432
1446
|
"circle-dashed": "circle-dashed";
|
|
1447
|
+
"circle-dot": "circle-dot";
|
|
1433
1448
|
"circle-x": "circle-x";
|
|
1449
|
+
"git-merge": "git-merge";
|
|
1450
|
+
"git-pull-request": "git-pull-request";
|
|
1434
1451
|
"triangle-alert": "triangle-alert";
|
|
1435
1452
|
}>>;
|
|
1436
1453
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
1454
|
+
automation: "automation";
|
|
1455
|
+
calendar_event: "calendar_event";
|
|
1437
1456
|
code_change: "code_change";
|
|
1438
|
-
task: "task";
|
|
1439
1457
|
deployment: "deployment";
|
|
1440
|
-
calendar_event: "calendar_event";
|
|
1441
|
-
automation: "automation";
|
|
1442
1458
|
item: "item";
|
|
1459
|
+
task: "task";
|
|
1443
1460
|
}>>;
|
|
1444
1461
|
status: z.ZodOptional<z.ZodString>;
|
|
1445
1462
|
key: z.ZodString;
|
|
@@ -1496,12 +1513,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1496
1513
|
intent: z.ZodString;
|
|
1497
1514
|
outcome: z.ZodObject<{
|
|
1498
1515
|
status: z.ZodEnum<{
|
|
1499
|
-
|
|
1500
|
-
in_progress: "in_progress";
|
|
1516
|
+
abandoned: "abandoned";
|
|
1501
1517
|
answered: "answered";
|
|
1518
|
+
blocked: "blocked";
|
|
1502
1519
|
done: "done";
|
|
1520
|
+
in_progress: "in_progress";
|
|
1503
1521
|
partial: "partial";
|
|
1504
|
-
abandoned: "abandoned";
|
|
1505
1522
|
}>;
|
|
1506
1523
|
text: z.ZodString;
|
|
1507
1524
|
}, z.core.$strict>;
|
|
@@ -1509,9 +1526,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1509
1526
|
text: z.ZodString;
|
|
1510
1527
|
by: z.ZodOptional<z.ZodString>;
|
|
1511
1528
|
kind: z.ZodEnum<{
|
|
1512
|
-
stated: "stated";
|
|
1513
|
-
confirmed: "confirmed";
|
|
1514
1529
|
assumed: "assumed";
|
|
1530
|
+
confirmed: "confirmed";
|
|
1531
|
+
stated: "stated";
|
|
1515
1532
|
}>;
|
|
1516
1533
|
}, z.core.$strict>>;
|
|
1517
1534
|
openDecisions: z.ZodArray<z.ZodObject<{
|
|
@@ -1521,9 +1538,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1521
1538
|
facts: z.ZodArray<z.ZodString>;
|
|
1522
1539
|
links: z.ZodArray<z.ZodObject<{
|
|
1523
1540
|
kind: z.ZodEnum<{
|
|
1524
|
-
url: "url";
|
|
1525
1541
|
code_change: "code_change";
|
|
1526
1542
|
resource: "resource";
|
|
1543
|
+
url: "url";
|
|
1527
1544
|
}>;
|
|
1528
1545
|
label: z.ZodString;
|
|
1529
1546
|
url: z.ZodString;
|
|
@@ -1559,9 +1576,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1559
1576
|
type: z.ZodLiteral<"message">;
|
|
1560
1577
|
messageId: z.ZodString;
|
|
1561
1578
|
role: z.ZodEnum<{
|
|
1579
|
+
assistant: "assistant";
|
|
1562
1580
|
system: "system";
|
|
1563
1581
|
user: "user";
|
|
1564
|
-
assistant: "assistant";
|
|
1565
1582
|
}>;
|
|
1566
1583
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1567
1584
|
slack: "slack";
|
|
@@ -1573,14 +1590,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1573
1590
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1574
1591
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1575
1592
|
}, z.core.$strict>>;
|
|
1593
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1594
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
}, z.core.$strict>>>;
|
|
1576
1599
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1577
1600
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1601
|
+
automation: "automation";
|
|
1602
|
+
calendar_event: "calendar_event";
|
|
1578
1603
|
code_change: "code_change";
|
|
1579
|
-
task: "task";
|
|
1580
1604
|
deployment: "deployment";
|
|
1581
|
-
calendar_event: "calendar_event";
|
|
1582
|
-
automation: "automation";
|
|
1583
1605
|
item: "item";
|
|
1606
|
+
task: "task";
|
|
1584
1607
|
}>>;
|
|
1585
1608
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1586
1609
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1613,9 +1636,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1613
1636
|
toolCallId: z.ZodString;
|
|
1614
1637
|
name: z.ZodString;
|
|
1615
1638
|
status: z.ZodEnum<{
|
|
1639
|
+
completed: "completed";
|
|
1616
1640
|
error: "error";
|
|
1617
1641
|
running: "running";
|
|
1618
|
-
completed: "completed";
|
|
1619
1642
|
}>;
|
|
1620
1643
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1621
1644
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1655,21 +1678,21 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1655
1678
|
persistence_failed: "persistence_failed";
|
|
1656
1679
|
}>;
|
|
1657
1680
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1658
|
-
unknown: "unknown";
|
|
1659
|
-
capacity: "capacity";
|
|
1660
1681
|
auth: "auth";
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
network: "network";
|
|
1665
|
-
server: "server";
|
|
1682
|
+
capacity: "capacity";
|
|
1683
|
+
content_policy: "content_policy";
|
|
1684
|
+
empty_output: "empty_output";
|
|
1666
1685
|
invalid_request: "invalid_request";
|
|
1667
1686
|
invalid_response: "invalid_response";
|
|
1687
|
+
network: "network";
|
|
1688
|
+
permission: "permission";
|
|
1668
1689
|
quota: "quota";
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
tool_errors: "tool_errors";
|
|
1690
|
+
rate_limit: "rate_limit";
|
|
1691
|
+
server: "server";
|
|
1672
1692
|
suppressed_output: "suppressed_output";
|
|
1693
|
+
timeout: "timeout";
|
|
1694
|
+
tool_errors: "tool_errors";
|
|
1695
|
+
unknown: "unknown";
|
|
1673
1696
|
}>>;
|
|
1674
1697
|
eventId: z.ZodOptional<z.ZodString>;
|
|
1675
1698
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1694,16 +1717,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1694
1717
|
title: z.ZodString;
|
|
1695
1718
|
}, z.core.$strict>>>;
|
|
1696
1719
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1697
|
-
|
|
1720
|
+
activity: "activity";
|
|
1721
|
+
brain: "brain";
|
|
1698
1722
|
calendar: "calendar";
|
|
1699
|
-
|
|
1723
|
+
check: "check";
|
|
1724
|
+
database: "database";
|
|
1700
1725
|
info: "info";
|
|
1701
1726
|
key: "key";
|
|
1702
1727
|
link: "link";
|
|
1703
|
-
activity: "activity";
|
|
1704
|
-
brain: "brain";
|
|
1705
|
-
database: "database";
|
|
1706
1728
|
sparkles: "sparkles";
|
|
1729
|
+
warning: "warning";
|
|
1707
1730
|
}>>;
|
|
1708
1731
|
preview: z.ZodOptional<z.ZodString>;
|
|
1709
1732
|
title: z.ZodString;
|
|
@@ -1740,16 +1763,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1740
1763
|
deny: "deny";
|
|
1741
1764
|
}>;
|
|
1742
1765
|
riskLevel: z.ZodEnum<{
|
|
1766
|
+
critical: "critical";
|
|
1767
|
+
high: "high";
|
|
1743
1768
|
low: "low";
|
|
1744
1769
|
medium: "medium";
|
|
1745
|
-
high: "high";
|
|
1746
|
-
critical: "critical";
|
|
1747
1770
|
}>;
|
|
1748
1771
|
userAuthorization: z.ZodEnum<{
|
|
1749
|
-
|
|
1772
|
+
high: "high";
|
|
1750
1773
|
low: "low";
|
|
1751
1774
|
medium: "medium";
|
|
1752
|
-
|
|
1775
|
+
unknown: "unknown";
|
|
1753
1776
|
}>;
|
|
1754
1777
|
}, z.core.$strict>, z.ZodObject<{
|
|
1755
1778
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -1784,11 +1807,11 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1784
1807
|
title: z.ZodOptional<z.ZodString>;
|
|
1785
1808
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1786
1809
|
status: z.ZodEnum<{
|
|
1787
|
-
|
|
1788
|
-
running: "running";
|
|
1810
|
+
aborted: "aborted";
|
|
1789
1811
|
blocked: "blocked";
|
|
1790
1812
|
completed: "completed";
|
|
1791
|
-
|
|
1813
|
+
error: "error";
|
|
1814
|
+
running: "running";
|
|
1792
1815
|
}>;
|
|
1793
1816
|
}, z.core.$strict>], "type">;
|
|
1794
1817
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -1840,8 +1863,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1840
1863
|
triggerMessageId: z.ZodOptional<z.ZodString>;
|
|
1841
1864
|
triggerLabel: z.ZodOptional<z.ZodString>;
|
|
1842
1865
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
1843
|
-
system: "system";
|
|
1844
1866
|
creator: "creator";
|
|
1867
|
+
system: "system";
|
|
1845
1868
|
}>>;
|
|
1846
1869
|
credentialUser: z.ZodOptional<z.ZodString>;
|
|
1847
1870
|
}, z.core.$strict>>;
|
|
@@ -1854,9 +1877,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1854
1877
|
type: z.ZodLiteral<"message">;
|
|
1855
1878
|
messageId: z.ZodString;
|
|
1856
1879
|
role: z.ZodEnum<{
|
|
1880
|
+
assistant: "assistant";
|
|
1857
1881
|
system: "system";
|
|
1858
1882
|
user: "user";
|
|
1859
|
-
assistant: "assistant";
|
|
1860
1883
|
}>;
|
|
1861
1884
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1862
1885
|
slack: "slack";
|
|
@@ -1868,14 +1891,20 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1868
1891
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1869
1892
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1870
1893
|
}, z.core.$strict>>;
|
|
1894
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1895
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1898
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1899
|
+
}, z.core.$strict>>>;
|
|
1871
1900
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1872
1901
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1902
|
+
automation: "automation";
|
|
1903
|
+
calendar_event: "calendar_event";
|
|
1873
1904
|
code_change: "code_change";
|
|
1874
|
-
task: "task";
|
|
1875
1905
|
deployment: "deployment";
|
|
1876
|
-
calendar_event: "calendar_event";
|
|
1877
|
-
automation: "automation";
|
|
1878
1906
|
item: "item";
|
|
1907
|
+
task: "task";
|
|
1879
1908
|
}>>;
|
|
1880
1909
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1881
1910
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1908,9 +1937,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1908
1937
|
toolCallId: z.ZodString;
|
|
1909
1938
|
name: z.ZodString;
|
|
1910
1939
|
status: z.ZodEnum<{
|
|
1940
|
+
completed: "completed";
|
|
1911
1941
|
error: "error";
|
|
1912
1942
|
running: "running";
|
|
1913
|
-
completed: "completed";
|
|
1914
1943
|
}>;
|
|
1915
1944
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1916
1945
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1950,21 +1979,21 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1950
1979
|
persistence_failed: "persistence_failed";
|
|
1951
1980
|
}>;
|
|
1952
1981
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1953
|
-
unknown: "unknown";
|
|
1954
|
-
capacity: "capacity";
|
|
1955
1982
|
auth: "auth";
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
network: "network";
|
|
1960
|
-
server: "server";
|
|
1983
|
+
capacity: "capacity";
|
|
1984
|
+
content_policy: "content_policy";
|
|
1985
|
+
empty_output: "empty_output";
|
|
1961
1986
|
invalid_request: "invalid_request";
|
|
1962
1987
|
invalid_response: "invalid_response";
|
|
1988
|
+
network: "network";
|
|
1989
|
+
permission: "permission";
|
|
1963
1990
|
quota: "quota";
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
tool_errors: "tool_errors";
|
|
1991
|
+
rate_limit: "rate_limit";
|
|
1992
|
+
server: "server";
|
|
1967
1993
|
suppressed_output: "suppressed_output";
|
|
1994
|
+
timeout: "timeout";
|
|
1995
|
+
tool_errors: "tool_errors";
|
|
1996
|
+
unknown: "unknown";
|
|
1968
1997
|
}>>;
|
|
1969
1998
|
eventId: z.ZodOptional<z.ZodString>;
|
|
1970
1999
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1989,16 +2018,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1989
2018
|
title: z.ZodString;
|
|
1990
2019
|
}, z.core.$strict>>>;
|
|
1991
2020
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1992
|
-
|
|
2021
|
+
activity: "activity";
|
|
2022
|
+
brain: "brain";
|
|
1993
2023
|
calendar: "calendar";
|
|
1994
|
-
|
|
2024
|
+
check: "check";
|
|
2025
|
+
database: "database";
|
|
1995
2026
|
info: "info";
|
|
1996
2027
|
key: "key";
|
|
1997
2028
|
link: "link";
|
|
1998
|
-
activity: "activity";
|
|
1999
|
-
brain: "brain";
|
|
2000
|
-
database: "database";
|
|
2001
2029
|
sparkles: "sparkles";
|
|
2030
|
+
warning: "warning";
|
|
2002
2031
|
}>>;
|
|
2003
2032
|
preview: z.ZodOptional<z.ZodString>;
|
|
2004
2033
|
title: z.ZodString;
|
|
@@ -2035,16 +2064,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2035
2064
|
deny: "deny";
|
|
2036
2065
|
}>;
|
|
2037
2066
|
riskLevel: z.ZodEnum<{
|
|
2067
|
+
critical: "critical";
|
|
2068
|
+
high: "high";
|
|
2038
2069
|
low: "low";
|
|
2039
2070
|
medium: "medium";
|
|
2040
|
-
high: "high";
|
|
2041
|
-
critical: "critical";
|
|
2042
2071
|
}>;
|
|
2043
2072
|
userAuthorization: z.ZodEnum<{
|
|
2044
|
-
|
|
2073
|
+
high: "high";
|
|
2045
2074
|
low: "low";
|
|
2046
2075
|
medium: "medium";
|
|
2047
|
-
|
|
2076
|
+
unknown: "unknown";
|
|
2048
2077
|
}>;
|
|
2049
2078
|
}, z.core.$strict>, z.ZodObject<{
|
|
2050
2079
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -2079,11 +2108,11 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2079
2108
|
title: z.ZodOptional<z.ZodString>;
|
|
2080
2109
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
2081
2110
|
status: z.ZodEnum<{
|
|
2082
|
-
|
|
2083
|
-
running: "running";
|
|
2111
|
+
aborted: "aborted";
|
|
2084
2112
|
blocked: "blocked";
|
|
2085
2113
|
completed: "completed";
|
|
2086
|
-
|
|
2114
|
+
error: "error";
|
|
2115
|
+
running: "running";
|
|
2087
2116
|
}>;
|
|
2088
2117
|
}, z.core.$strict>], "type">;
|
|
2089
2118
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -2130,8 +2159,8 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2130
2159
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2131
2160
|
createdAt: z.ZodString;
|
|
2132
2161
|
role: z.ZodEnum<{
|
|
2133
|
-
user: "user";
|
|
2134
2162
|
assistant: "assistant";
|
|
2163
|
+
user: "user";
|
|
2135
2164
|
}>;
|
|
2136
2165
|
text: z.ZodString;
|
|
2137
2166
|
}, z.core.$strict>>;
|
|
@@ -2183,13 +2212,13 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2183
2212
|
conversationId: z.ZodString;
|
|
2184
2213
|
isParticipant: z.ZodBoolean;
|
|
2185
2214
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2186
|
-
public: "public";
|
|
2187
2215
|
private: "private";
|
|
2216
|
+
public: "public";
|
|
2188
2217
|
}>>;
|
|
2189
2218
|
status: z.ZodEnum<{
|
|
2190
|
-
failed: "failed";
|
|
2191
|
-
completed: "completed";
|
|
2192
2219
|
active: "active";
|
|
2220
|
+
completed: "completed";
|
|
2221
|
+
failed: "failed";
|
|
2193
2222
|
}>;
|
|
2194
2223
|
startedAt: z.ZodString;
|
|
2195
2224
|
lastSeenAt: z.ZodString;
|
|
@@ -2223,35 +2252,35 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2223
2252
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2224
2253
|
kind: z.ZodLiteral<"resource_link">;
|
|
2225
2254
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2255
|
+
automation: "automation";
|
|
2256
|
+
calendar_event: "calendar_event";
|
|
2226
2257
|
code_change: "code_change";
|
|
2227
|
-
task: "task";
|
|
2228
2258
|
deployment: "deployment";
|
|
2229
|
-
calendar_event: "calendar_event";
|
|
2230
|
-
automation: "automation";
|
|
2231
2259
|
item: "item";
|
|
2260
|
+
task: "task";
|
|
2232
2261
|
}>>;
|
|
2233
2262
|
key: z.ZodString;
|
|
2234
2263
|
label: z.ZodString;
|
|
2235
2264
|
url: z.ZodString;
|
|
2236
2265
|
description: z.ZodOptional<z.ZodString>;
|
|
2237
2266
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2238
|
-
warning: "warning";
|
|
2239
|
-
draft: "draft";
|
|
2240
2267
|
closed: "closed";
|
|
2268
|
+
draft: "draft";
|
|
2241
2269
|
merged: "merged";
|
|
2242
2270
|
open: "open";
|
|
2271
|
+
warning: "warning";
|
|
2243
2272
|
}>>;
|
|
2244
2273
|
}, z.core.$strict>, z.ZodObject<{
|
|
2245
2274
|
kind: z.ZodLiteral<"object">;
|
|
2246
2275
|
key: z.ZodString;
|
|
2247
2276
|
label: z.ZodString;
|
|
2248
2277
|
objectType: z.ZodEnum<{
|
|
2278
|
+
automation: "automation";
|
|
2279
|
+
calendar_event: "calendar_event";
|
|
2249
2280
|
code_change: "code_change";
|
|
2250
|
-
task: "task";
|
|
2251
2281
|
deployment: "deployment";
|
|
2252
|
-
calendar_event: "calendar_event";
|
|
2253
|
-
automation: "automation";
|
|
2254
2282
|
item: "item";
|
|
2283
|
+
task: "task";
|
|
2255
2284
|
}>;
|
|
2256
2285
|
title: z.ZodString;
|
|
2257
2286
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -2268,9 +2297,9 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2268
2297
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
2269
2298
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2270
2299
|
review: z.ZodOptional<z.ZodEnum<{
|
|
2271
|
-
required: "required";
|
|
2272
2300
|
approved: "approved";
|
|
2273
2301
|
changes_requested: "changes_requested";
|
|
2302
|
+
required: "required";
|
|
2274
2303
|
}>>;
|
|
2275
2304
|
checks: z.ZodOptional<z.ZodObject<{
|
|
2276
2305
|
passed: z.ZodNumber;
|
|
@@ -2307,20 +2336,20 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2307
2336
|
}, z.core.$strip>>>>;
|
|
2308
2337
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2309
2338
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2310
|
-
"git-pull-request": "git-pull-request";
|
|
2311
|
-
"git-merge": "git-merge";
|
|
2312
|
-
"circle-dot": "circle-dot";
|
|
2313
2339
|
"circle-dashed": "circle-dashed";
|
|
2340
|
+
"circle-dot": "circle-dot";
|
|
2314
2341
|
"circle-x": "circle-x";
|
|
2342
|
+
"git-merge": "git-merge";
|
|
2343
|
+
"git-pull-request": "git-pull-request";
|
|
2315
2344
|
"triangle-alert": "triangle-alert";
|
|
2316
2345
|
}>>;
|
|
2317
2346
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2347
|
+
automation: "automation";
|
|
2348
|
+
calendar_event: "calendar_event";
|
|
2318
2349
|
code_change: "code_change";
|
|
2319
|
-
task: "task";
|
|
2320
2350
|
deployment: "deployment";
|
|
2321
|
-
calendar_event: "calendar_event";
|
|
2322
|
-
automation: "automation";
|
|
2323
2351
|
item: "item";
|
|
2352
|
+
task: "task";
|
|
2324
2353
|
}>>;
|
|
2325
2354
|
status: z.ZodOptional<z.ZodString>;
|
|
2326
2355
|
key: z.ZodString;
|
|
@@ -2520,8 +2549,6 @@ type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchem
|
|
|
2520
2549
|
type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
|
|
2521
2550
|
type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPendingMessagesBodySchema>;
|
|
2522
2551
|
type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
|
2523
|
-
//#endregion
|
|
2524
|
-
//#region src/api/schema/conversation-stop.d.ts
|
|
2525
2552
|
/**
|
|
2526
2553
|
* Result of stopping the active Turn.
|
|
2527
2554
|
*
|
|
@@ -2542,8 +2569,6 @@ export declare const stopConversationTurnResponseSchema: z.ZodObject<{
|
|
|
2542
2569
|
}, z.core.$strict>>;
|
|
2543
2570
|
}, z.core.$strict>;
|
|
2544
2571
|
type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseSchema>;
|
|
2545
|
-
//#endregion
|
|
2546
|
-
//#region src/api/schema/child-agent.d.ts
|
|
2547
2572
|
/**
|
|
2548
2573
|
* One direct child agent of a Conversation, from agent invocation records.
|
|
2549
2574
|
*
|
|
@@ -2602,12 +2627,12 @@ export declare const conversationChildAgentSchema: z.ZodObject<{
|
|
|
2602
2627
|
name: z.ZodOptional<z.ZodString>;
|
|
2603
2628
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2604
2629
|
status: z.ZodEnum<{
|
|
2605
|
-
|
|
2630
|
+
blocked: "blocked";
|
|
2631
|
+
completed: "completed";
|
|
2606
2632
|
failed: "failed";
|
|
2633
|
+
paused: "paused";
|
|
2607
2634
|
pending: "pending";
|
|
2608
2635
|
running: "running";
|
|
2609
|
-
blocked: "blocked";
|
|
2610
|
-
completed: "completed";
|
|
2611
2636
|
stopped: "stopped";
|
|
2612
2637
|
}>;
|
|
2613
2638
|
task: z.ZodOptional<z.ZodString>;
|
|
@@ -2667,12 +2692,12 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
2667
2692
|
name: z.ZodOptional<z.ZodString>;
|
|
2668
2693
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2669
2694
|
status: z.ZodEnum<{
|
|
2670
|
-
|
|
2695
|
+
blocked: "blocked";
|
|
2696
|
+
completed: "completed";
|
|
2671
2697
|
failed: "failed";
|
|
2698
|
+
paused: "paused";
|
|
2672
2699
|
pending: "pending";
|
|
2673
2700
|
running: "running";
|
|
2674
|
-
blocked: "blocked";
|
|
2675
|
-
completed: "completed";
|
|
2676
2701
|
stopped: "stopped";
|
|
2677
2702
|
}>;
|
|
2678
2703
|
task: z.ZodOptional<z.ZodString>;
|
|
@@ -2683,8 +2708,6 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
2683
2708
|
}, z.core.$strict>;
|
|
2684
2709
|
type ConversationChildAgent = z.infer<typeof conversationChildAgentSchema>;
|
|
2685
2710
|
type ConversationChildAgentsReport = z.infer<typeof conversationChildAgentsReportSchema>;
|
|
2686
|
-
//#endregion
|
|
2687
|
-
//#region src/api/schema/person.d.ts
|
|
2688
2711
|
export declare const personParamsSchema: z.ZodObject<{
|
|
2689
2712
|
email: z.ZodString;
|
|
2690
2713
|
}, z.core.$strict>;
|
|
@@ -2879,11 +2902,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2879
2902
|
}, z.core.$strict>>>;
|
|
2880
2903
|
generatedAt: z.ZodString;
|
|
2881
2904
|
locations: z.ZodArray<z.ZodObject<{
|
|
2882
|
-
failed: z.ZodNumber;
|
|
2883
|
-
durationMs: z.ZodNumber;
|
|
2884
|
-
label: z.ZodString;
|
|
2885
2905
|
active: z.ZodNumber;
|
|
2886
2906
|
conversations: z.ZodNumber;
|
|
2907
|
+
durationMs: z.ZodNumber;
|
|
2908
|
+
failed: z.ZodNumber;
|
|
2909
|
+
label: z.ZodString;
|
|
2887
2910
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2888
2911
|
}, z.core.$strict>>;
|
|
2889
2912
|
recentConversations: z.ZodArray<z.ZodObject<{
|
|
@@ -2891,8 +2914,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2891
2914
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2892
2915
|
createdAt: z.ZodString;
|
|
2893
2916
|
role: z.ZodEnum<{
|
|
2894
|
-
user: "user";
|
|
2895
2917
|
assistant: "assistant";
|
|
2918
|
+
user: "user";
|
|
2896
2919
|
}>;
|
|
2897
2920
|
text: z.ZodString;
|
|
2898
2921
|
}, z.core.$strict>>;
|
|
@@ -2944,13 +2967,13 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2944
2967
|
conversationId: z.ZodString;
|
|
2945
2968
|
isParticipant: z.ZodBoolean;
|
|
2946
2969
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2947
|
-
public: "public";
|
|
2948
2970
|
private: "private";
|
|
2971
|
+
public: "public";
|
|
2949
2972
|
}>>;
|
|
2950
2973
|
status: z.ZodEnum<{
|
|
2951
|
-
failed: "failed";
|
|
2952
|
-
completed: "completed";
|
|
2953
2974
|
active: "active";
|
|
2975
|
+
completed: "completed";
|
|
2976
|
+
failed: "failed";
|
|
2954
2977
|
}>;
|
|
2955
2978
|
startedAt: z.ZodString;
|
|
2956
2979
|
lastSeenAt: z.ZodString;
|
|
@@ -2984,35 +3007,35 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2984
3007
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2985
3008
|
kind: z.ZodLiteral<"resource_link">;
|
|
2986
3009
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3010
|
+
automation: "automation";
|
|
3011
|
+
calendar_event: "calendar_event";
|
|
2987
3012
|
code_change: "code_change";
|
|
2988
|
-
task: "task";
|
|
2989
3013
|
deployment: "deployment";
|
|
2990
|
-
calendar_event: "calendar_event";
|
|
2991
|
-
automation: "automation";
|
|
2992
3014
|
item: "item";
|
|
3015
|
+
task: "task";
|
|
2993
3016
|
}>>;
|
|
2994
3017
|
key: z.ZodString;
|
|
2995
3018
|
label: z.ZodString;
|
|
2996
3019
|
url: z.ZodString;
|
|
2997
3020
|
description: z.ZodOptional<z.ZodString>;
|
|
2998
3021
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2999
|
-
warning: "warning";
|
|
3000
|
-
draft: "draft";
|
|
3001
3022
|
closed: "closed";
|
|
3023
|
+
draft: "draft";
|
|
3002
3024
|
merged: "merged";
|
|
3003
3025
|
open: "open";
|
|
3026
|
+
warning: "warning";
|
|
3004
3027
|
}>>;
|
|
3005
3028
|
}, z.core.$strict>, z.ZodObject<{
|
|
3006
3029
|
kind: z.ZodLiteral<"object">;
|
|
3007
3030
|
key: z.ZodString;
|
|
3008
3031
|
label: z.ZodString;
|
|
3009
3032
|
objectType: z.ZodEnum<{
|
|
3033
|
+
automation: "automation";
|
|
3034
|
+
calendar_event: "calendar_event";
|
|
3010
3035
|
code_change: "code_change";
|
|
3011
|
-
task: "task";
|
|
3012
3036
|
deployment: "deployment";
|
|
3013
|
-
calendar_event: "calendar_event";
|
|
3014
|
-
automation: "automation";
|
|
3015
3037
|
item: "item";
|
|
3038
|
+
task: "task";
|
|
3016
3039
|
}>;
|
|
3017
3040
|
title: z.ZodString;
|
|
3018
3041
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -3029,9 +3052,9 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3029
3052
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
3030
3053
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3031
3054
|
review: z.ZodOptional<z.ZodEnum<{
|
|
3032
|
-
required: "required";
|
|
3033
3055
|
approved: "approved";
|
|
3034
3056
|
changes_requested: "changes_requested";
|
|
3057
|
+
required: "required";
|
|
3035
3058
|
}>>;
|
|
3036
3059
|
checks: z.ZodOptional<z.ZodObject<{
|
|
3037
3060
|
passed: z.ZodNumber;
|
|
@@ -3068,20 +3091,20 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3068
3091
|
}, z.core.$strip>>>>;
|
|
3069
3092
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3070
3093
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
3071
|
-
"git-pull-request": "git-pull-request";
|
|
3072
|
-
"git-merge": "git-merge";
|
|
3073
|
-
"circle-dot": "circle-dot";
|
|
3074
3094
|
"circle-dashed": "circle-dashed";
|
|
3095
|
+
"circle-dot": "circle-dot";
|
|
3075
3096
|
"circle-x": "circle-x";
|
|
3097
|
+
"git-merge": "git-merge";
|
|
3098
|
+
"git-pull-request": "git-pull-request";
|
|
3076
3099
|
"triangle-alert": "triangle-alert";
|
|
3077
3100
|
}>>;
|
|
3078
3101
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3102
|
+
automation: "automation";
|
|
3103
|
+
calendar_event: "calendar_event";
|
|
3079
3104
|
code_change: "code_change";
|
|
3080
|
-
task: "task";
|
|
3081
3105
|
deployment: "deployment";
|
|
3082
|
-
calendar_event: "calendar_event";
|
|
3083
|
-
automation: "automation";
|
|
3084
3106
|
item: "item";
|
|
3107
|
+
task: "task";
|
|
3085
3108
|
}>>;
|
|
3086
3109
|
status: z.ZodOptional<z.ZodString>;
|
|
3087
3110
|
key: z.ZodString;
|
|
@@ -3100,11 +3123,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3100
3123
|
}, z.core.$strict>;
|
|
3101
3124
|
source: z.ZodLiteral<"conversation_index">;
|
|
3102
3125
|
surfaces: z.ZodArray<z.ZodObject<{
|
|
3103
|
-
failed: z.ZodNumber;
|
|
3104
|
-
durationMs: z.ZodNumber;
|
|
3105
|
-
label: z.ZodString;
|
|
3106
3126
|
active: z.ZodNumber;
|
|
3107
3127
|
conversations: z.ZodNumber;
|
|
3128
|
+
durationMs: z.ZodNumber;
|
|
3129
|
+
failed: z.ZodNumber;
|
|
3130
|
+
label: z.ZodString;
|
|
3108
3131
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
3109
3132
|
}, z.core.$strict>>;
|
|
3110
3133
|
totals: z.ZodObject<{
|
|
@@ -3136,8 +3159,6 @@ type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
|
|
|
3136
3159
|
type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
|
|
3137
3160
|
type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
|
|
3138
3161
|
type PersonParams = z.infer<typeof personParamsSchema>;
|
|
3139
|
-
//#endregion
|
|
3140
|
-
//#region src/api/schema/location.d.ts
|
|
3141
3162
|
export declare const locationParamsSchema: z.ZodObject<{
|
|
3142
3163
|
locationId: z.ZodString;
|
|
3143
3164
|
}, z.core.$strict>;
|
|
@@ -3304,8 +3325,8 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3304
3325
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
3305
3326
|
createdAt: z.ZodString;
|
|
3306
3327
|
role: z.ZodEnum<{
|
|
3307
|
-
user: "user";
|
|
3308
3328
|
assistant: "assistant";
|
|
3329
|
+
user: "user";
|
|
3309
3330
|
}>;
|
|
3310
3331
|
text: z.ZodString;
|
|
3311
3332
|
}, z.core.$strict>>;
|
|
@@ -3357,13 +3378,13 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3357
3378
|
conversationId: z.ZodString;
|
|
3358
3379
|
isParticipant: z.ZodBoolean;
|
|
3359
3380
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3360
|
-
public: "public";
|
|
3361
3381
|
private: "private";
|
|
3382
|
+
public: "public";
|
|
3362
3383
|
}>>;
|
|
3363
3384
|
status: z.ZodEnum<{
|
|
3364
|
-
failed: "failed";
|
|
3365
|
-
completed: "completed";
|
|
3366
3385
|
active: "active";
|
|
3386
|
+
completed: "completed";
|
|
3387
|
+
failed: "failed";
|
|
3367
3388
|
}>;
|
|
3368
3389
|
startedAt: z.ZodString;
|
|
3369
3390
|
lastSeenAt: z.ZodString;
|
|
@@ -3397,35 +3418,35 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3397
3418
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3398
3419
|
kind: z.ZodLiteral<"resource_link">;
|
|
3399
3420
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3421
|
+
automation: "automation";
|
|
3422
|
+
calendar_event: "calendar_event";
|
|
3400
3423
|
code_change: "code_change";
|
|
3401
|
-
task: "task";
|
|
3402
3424
|
deployment: "deployment";
|
|
3403
|
-
calendar_event: "calendar_event";
|
|
3404
|
-
automation: "automation";
|
|
3405
3425
|
item: "item";
|
|
3426
|
+
task: "task";
|
|
3406
3427
|
}>>;
|
|
3407
3428
|
key: z.ZodString;
|
|
3408
3429
|
label: z.ZodString;
|
|
3409
3430
|
url: z.ZodString;
|
|
3410
3431
|
description: z.ZodOptional<z.ZodString>;
|
|
3411
3432
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3412
|
-
warning: "warning";
|
|
3413
|
-
draft: "draft";
|
|
3414
3433
|
closed: "closed";
|
|
3434
|
+
draft: "draft";
|
|
3415
3435
|
merged: "merged";
|
|
3416
3436
|
open: "open";
|
|
3437
|
+
warning: "warning";
|
|
3417
3438
|
}>>;
|
|
3418
3439
|
}, z.core.$strict>, z.ZodObject<{
|
|
3419
3440
|
kind: z.ZodLiteral<"object">;
|
|
3420
3441
|
key: z.ZodString;
|
|
3421
3442
|
label: z.ZodString;
|
|
3422
3443
|
objectType: z.ZodEnum<{
|
|
3444
|
+
automation: "automation";
|
|
3445
|
+
calendar_event: "calendar_event";
|
|
3423
3446
|
code_change: "code_change";
|
|
3424
|
-
task: "task";
|
|
3425
3447
|
deployment: "deployment";
|
|
3426
|
-
calendar_event: "calendar_event";
|
|
3427
|
-
automation: "automation";
|
|
3428
3448
|
item: "item";
|
|
3449
|
+
task: "task";
|
|
3429
3450
|
}>;
|
|
3430
3451
|
title: z.ZodString;
|
|
3431
3452
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -3442,9 +3463,9 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3442
3463
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
3443
3464
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3444
3465
|
review: z.ZodOptional<z.ZodEnum<{
|
|
3445
|
-
required: "required";
|
|
3446
3466
|
approved: "approved";
|
|
3447
3467
|
changes_requested: "changes_requested";
|
|
3468
|
+
required: "required";
|
|
3448
3469
|
}>>;
|
|
3449
3470
|
checks: z.ZodOptional<z.ZodObject<{
|
|
3450
3471
|
passed: z.ZodNumber;
|
|
@@ -3481,20 +3502,20 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3481
3502
|
}, z.core.$strip>>>>;
|
|
3482
3503
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3483
3504
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
3484
|
-
"git-pull-request": "git-pull-request";
|
|
3485
|
-
"git-merge": "git-merge";
|
|
3486
|
-
"circle-dot": "circle-dot";
|
|
3487
3505
|
"circle-dashed": "circle-dashed";
|
|
3506
|
+
"circle-dot": "circle-dot";
|
|
3488
3507
|
"circle-x": "circle-x";
|
|
3508
|
+
"git-merge": "git-merge";
|
|
3509
|
+
"git-pull-request": "git-pull-request";
|
|
3489
3510
|
"triangle-alert": "triangle-alert";
|
|
3490
3511
|
}>>;
|
|
3491
3512
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3513
|
+
automation: "automation";
|
|
3514
|
+
calendar_event: "calendar_event";
|
|
3492
3515
|
code_change: "code_change";
|
|
3493
|
-
task: "task";
|
|
3494
3516
|
deployment: "deployment";
|
|
3495
|
-
calendar_event: "calendar_event";
|
|
3496
|
-
automation: "automation";
|
|
3497
3517
|
item: "item";
|
|
3518
|
+
task: "task";
|
|
3498
3519
|
}>>;
|
|
3499
3520
|
status: z.ZodOptional<z.ZodString>;
|
|
3500
3521
|
key: z.ZodString;
|
|
@@ -3515,15 +3536,11 @@ type LocationActivityDayReport = z.infer<typeof locationActivityDayReportSchema>
|
|
|
3515
3536
|
type LocationDirectoryReport = z.infer<typeof locationDirectoryReportSchema>;
|
|
3516
3537
|
type LocationDetailReport = z.infer<typeof locationDetailReportSchema>;
|
|
3517
3538
|
type LocationParams = z.infer<typeof locationParamsSchema>;
|
|
3518
|
-
//#endregion
|
|
3519
|
-
//#region src/api/schema/common.d.ts
|
|
3520
3539
|
/** Stable error body returned by Junior-owned REST endpoints. */
|
|
3521
3540
|
export declare const apiErrorSchema: z.ZodObject<{
|
|
3522
3541
|
error: z.ZodString;
|
|
3523
3542
|
}, z.core.$strict>;
|
|
3524
3543
|
type ApiError = z.infer<typeof apiErrorSchema>;
|
|
3525
|
-
//#endregion
|
|
3526
|
-
//#region src/api/schema/connection.d.ts
|
|
3527
3544
|
export declare const connectionSchema: z.ZodObject<{
|
|
3528
3545
|
provider: z.ZodString;
|
|
3529
3546
|
displayName: z.ZodString;
|
|
@@ -3555,8 +3572,6 @@ export declare const startConnectionResponseSchema: z.ZodObject<{
|
|
|
3555
3572
|
export declare const disconnectConnectionResponseSchema: z.ZodObject<{
|
|
3556
3573
|
disconnected: z.ZodLiteral<true>;
|
|
3557
3574
|
}, z.core.$strict>;
|
|
3558
|
-
//#endregion
|
|
3559
|
-
//#region src/api/schema/personal-token.d.ts
|
|
3560
3575
|
export declare const personalTokenMetadataSchema: z.ZodObject<{
|
|
3561
3576
|
id: z.ZodString;
|
|
3562
3577
|
name: z.ZodString;
|
|
@@ -3594,8 +3609,6 @@ export declare const revokePersonalTokenResponseSchema: z.ZodObject<{
|
|
|
3594
3609
|
revoked: z.ZodLiteral<true>;
|
|
3595
3610
|
}, z.core.$strict>;
|
|
3596
3611
|
type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
|
|
3597
|
-
//#endregion
|
|
3598
|
-
//#region src/api/schema/workspace.d.ts
|
|
3599
3612
|
export declare const workspaceRepoSchema: z.ZodObject<{
|
|
3600
3613
|
provider: z.ZodString;
|
|
3601
3614
|
repo: z.ZodString;
|
|
@@ -3664,8 +3677,6 @@ export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
|
|
|
3664
3677
|
}, z.core.$strict>;
|
|
3665
3678
|
type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
|
|
3666
3679
|
type WorkspaceReport = z.infer<typeof workspaceSchema>;
|
|
3667
|
-
//#endregion
|
|
3668
|
-
//#region src/api/schema/automation.d.ts
|
|
3669
3680
|
/** Automation run counts for the dashboard range control (24h/7d/30d/90d). */
|
|
3670
3681
|
export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
3671
3682
|
1: z.ZodNumber;
|
|
@@ -3675,8 +3686,8 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
|
3675
3686
|
}, z.core.$strict>;
|
|
3676
3687
|
export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
3677
3688
|
credentialMode: z.ZodEnum<{
|
|
3678
|
-
system: "system";
|
|
3679
3689
|
creator: "creator";
|
|
3690
|
+
system: "system";
|
|
3680
3691
|
}>;
|
|
3681
3692
|
createdAt: z.ZodString;
|
|
3682
3693
|
createdBy: z.ZodString;
|
|
@@ -3687,8 +3698,8 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3687
3698
|
label: z.ZodString;
|
|
3688
3699
|
teamId: z.ZodString;
|
|
3689
3700
|
visibility: z.ZodEnum<{
|
|
3690
|
-
public: "public";
|
|
3691
3701
|
private: "private";
|
|
3702
|
+
public: "public";
|
|
3692
3703
|
}>;
|
|
3693
3704
|
}, z.core.$strict>;
|
|
3694
3705
|
id: z.ZodString;
|
|
@@ -3696,9 +3707,9 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3696
3707
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3697
3708
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3698
3709
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3699
|
-
failed: "failed";
|
|
3700
3710
|
blocked: "blocked";
|
|
3701
3711
|
completed: "completed";
|
|
3712
|
+
failed: "failed";
|
|
3702
3713
|
}>>;
|
|
3703
3714
|
ownedByViewer: z.ZodBoolean;
|
|
3704
3715
|
runs: z.ZodObject<{
|
|
@@ -3724,16 +3735,16 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3724
3735
|
timezone: z.ZodString;
|
|
3725
3736
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3726
3737
|
status: z.ZodEnum<{
|
|
3727
|
-
|
|
3738
|
+
active: "active";
|
|
3728
3739
|
blocked: "blocked";
|
|
3729
3740
|
completed: "completed";
|
|
3730
|
-
|
|
3741
|
+
paused: "paused";
|
|
3731
3742
|
}>;
|
|
3732
3743
|
}, z.core.$strict>;
|
|
3733
3744
|
export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
3734
3745
|
credentialMode: z.ZodEnum<{
|
|
3735
|
-
system: "system";
|
|
3736
3746
|
creator: "creator";
|
|
3747
|
+
system: "system";
|
|
3737
3748
|
}>;
|
|
3738
3749
|
createdAt: z.ZodString;
|
|
3739
3750
|
createdBy: z.ZodString;
|
|
@@ -3744,8 +3755,8 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3744
3755
|
label: z.ZodString;
|
|
3745
3756
|
teamId: z.ZodString;
|
|
3746
3757
|
visibility: z.ZodEnum<{
|
|
3747
|
-
public: "public";
|
|
3748
3758
|
private: "private";
|
|
3759
|
+
public: "public";
|
|
3749
3760
|
}>;
|
|
3750
3761
|
}, z.core.$strict>;
|
|
3751
3762
|
id: z.ZodString;
|
|
@@ -3753,9 +3764,9 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3753
3764
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3754
3765
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3755
3766
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3756
|
-
failed: "failed";
|
|
3757
3767
|
blocked: "blocked";
|
|
3758
3768
|
completed: "completed";
|
|
3769
|
+
failed: "failed";
|
|
3759
3770
|
}>>;
|
|
3760
3771
|
ownedByViewer: z.ZodBoolean;
|
|
3761
3772
|
runs: z.ZodObject<{
|
|
@@ -3783,15 +3794,15 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3783
3794
|
triggerAvailable: z.ZodBoolean;
|
|
3784
3795
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3785
3796
|
status: z.ZodEnum<{
|
|
3786
|
-
paused: "paused";
|
|
3787
|
-
blocked: "blocked";
|
|
3788
3797
|
active: "active";
|
|
3798
|
+
blocked: "blocked";
|
|
3799
|
+
paused: "paused";
|
|
3789
3800
|
}>;
|
|
3790
3801
|
}, z.core.$strict>;
|
|
3791
3802
|
export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3792
3803
|
credentialMode: z.ZodEnum<{
|
|
3793
|
-
system: "system";
|
|
3794
3804
|
creator: "creator";
|
|
3805
|
+
system: "system";
|
|
3795
3806
|
}>;
|
|
3796
3807
|
createdAt: z.ZodString;
|
|
3797
3808
|
createdBy: z.ZodString;
|
|
@@ -3802,8 +3813,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3802
3813
|
label: z.ZodString;
|
|
3803
3814
|
teamId: z.ZodString;
|
|
3804
3815
|
visibility: z.ZodEnum<{
|
|
3805
|
-
public: "public";
|
|
3806
3816
|
private: "private";
|
|
3817
|
+
public: "public";
|
|
3807
3818
|
}>;
|
|
3808
3819
|
}, z.core.$strict>;
|
|
3809
3820
|
id: z.ZodString;
|
|
@@ -3811,9 +3822,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3811
3822
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3812
3823
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3813
3824
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3814
|
-
failed: "failed";
|
|
3815
3825
|
blocked: "blocked";
|
|
3816
3826
|
completed: "completed";
|
|
3827
|
+
failed: "failed";
|
|
3817
3828
|
}>>;
|
|
3818
3829
|
ownedByViewer: z.ZodBoolean;
|
|
3819
3830
|
runs: z.ZodObject<{
|
|
@@ -3839,15 +3850,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3839
3850
|
timezone: z.ZodString;
|
|
3840
3851
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3841
3852
|
status: z.ZodEnum<{
|
|
3842
|
-
|
|
3853
|
+
active: "active";
|
|
3843
3854
|
blocked: "blocked";
|
|
3844
3855
|
completed: "completed";
|
|
3845
|
-
|
|
3856
|
+
paused: "paused";
|
|
3846
3857
|
}>;
|
|
3847
3858
|
}, z.core.$strict>, z.ZodObject<{
|
|
3848
3859
|
credentialMode: z.ZodEnum<{
|
|
3849
|
-
system: "system";
|
|
3850
3860
|
creator: "creator";
|
|
3861
|
+
system: "system";
|
|
3851
3862
|
}>;
|
|
3852
3863
|
createdAt: z.ZodString;
|
|
3853
3864
|
createdBy: z.ZodString;
|
|
@@ -3858,8 +3869,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3858
3869
|
label: z.ZodString;
|
|
3859
3870
|
teamId: z.ZodString;
|
|
3860
3871
|
visibility: z.ZodEnum<{
|
|
3861
|
-
public: "public";
|
|
3862
3872
|
private: "private";
|
|
3873
|
+
public: "public";
|
|
3863
3874
|
}>;
|
|
3864
3875
|
}, z.core.$strict>;
|
|
3865
3876
|
id: z.ZodString;
|
|
@@ -3867,9 +3878,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3867
3878
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3868
3879
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3869
3880
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3870
|
-
failed: "failed";
|
|
3871
3881
|
blocked: "blocked";
|
|
3872
3882
|
completed: "completed";
|
|
3883
|
+
failed: "failed";
|
|
3873
3884
|
}>>;
|
|
3874
3885
|
ownedByViewer: z.ZodBoolean;
|
|
3875
3886
|
runs: z.ZodObject<{
|
|
@@ -3897,9 +3908,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3897
3908
|
triggerAvailable: z.ZodBoolean;
|
|
3898
3909
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3899
3910
|
status: z.ZodEnum<{
|
|
3900
|
-
paused: "paused";
|
|
3901
|
-
blocked: "blocked";
|
|
3902
3911
|
active: "active";
|
|
3912
|
+
blocked: "blocked";
|
|
3913
|
+
paused: "paused";
|
|
3903
3914
|
}>;
|
|
3904
3915
|
}, z.core.$strict>], "kind">;
|
|
3905
3916
|
/** One UTC day/hour of completed automation executions stacked by automation type. */
|
|
@@ -3912,30 +3923,30 @@ declare const automationExecutionDaySchema: z.ZodObject<{
|
|
|
3912
3923
|
export declare const automationListQuerySchema: z.ZodObject<{
|
|
3913
3924
|
q: z.ZodOptional<z.ZodString>;
|
|
3914
3925
|
scope: z.ZodDefault<z.ZodEnum<{
|
|
3915
|
-
public: "public";
|
|
3916
3926
|
all: "all";
|
|
3917
|
-
mine: "mine";
|
|
3918
3927
|
attention: "attention";
|
|
3928
|
+
mine: "mine";
|
|
3929
|
+
public: "public";
|
|
3919
3930
|
}>>;
|
|
3920
3931
|
type: z.ZodDefault<z.ZodEnum<{
|
|
3932
|
+
all: "all";
|
|
3921
3933
|
event: "event";
|
|
3922
3934
|
scheduled: "scheduled";
|
|
3923
|
-
all: "all";
|
|
3924
3935
|
}>>;
|
|
3925
3936
|
state: z.ZodDefault<z.ZodEnum<{
|
|
3926
|
-
|
|
3937
|
+
active: "active";
|
|
3938
|
+
all: "all";
|
|
3927
3939
|
blocked: "blocked";
|
|
3928
3940
|
completed: "completed";
|
|
3929
|
-
|
|
3941
|
+
paused: "paused";
|
|
3930
3942
|
unavailable: "unavailable";
|
|
3931
|
-
all: "all";
|
|
3932
3943
|
}>>;
|
|
3933
3944
|
creator: z.ZodOptional<z.ZodString>;
|
|
3934
3945
|
destination: z.ZodOptional<z.ZodString>;
|
|
3935
3946
|
sort: z.ZodDefault<z.ZodEnum<{
|
|
3936
|
-
title: "title";
|
|
3937
3947
|
newest: "newest";
|
|
3938
3948
|
oldest: "oldest";
|
|
3949
|
+
title: "title";
|
|
3939
3950
|
}>>;
|
|
3940
3951
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3941
3952
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3961,8 +3972,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3961
3972
|
}, z.core.$strict>>>;
|
|
3962
3973
|
automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3963
3974
|
credentialMode: z.ZodEnum<{
|
|
3964
|
-
system: "system";
|
|
3965
3975
|
creator: "creator";
|
|
3976
|
+
system: "system";
|
|
3966
3977
|
}>;
|
|
3967
3978
|
createdAt: z.ZodString;
|
|
3968
3979
|
createdBy: z.ZodString;
|
|
@@ -3973,8 +3984,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3973
3984
|
label: z.ZodString;
|
|
3974
3985
|
teamId: z.ZodString;
|
|
3975
3986
|
visibility: z.ZodEnum<{
|
|
3976
|
-
public: "public";
|
|
3977
3987
|
private: "private";
|
|
3988
|
+
public: "public";
|
|
3978
3989
|
}>;
|
|
3979
3990
|
}, z.core.$strict>;
|
|
3980
3991
|
id: z.ZodString;
|
|
@@ -3982,9 +3993,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3982
3993
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3983
3994
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3984
3995
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3985
|
-
failed: "failed";
|
|
3986
3996
|
blocked: "blocked";
|
|
3987
3997
|
completed: "completed";
|
|
3998
|
+
failed: "failed";
|
|
3988
3999
|
}>>;
|
|
3989
4000
|
ownedByViewer: z.ZodBoolean;
|
|
3990
4001
|
runs: z.ZodObject<{
|
|
@@ -4010,15 +4021,15 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4010
4021
|
timezone: z.ZodString;
|
|
4011
4022
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4012
4023
|
status: z.ZodEnum<{
|
|
4013
|
-
|
|
4024
|
+
active: "active";
|
|
4014
4025
|
blocked: "blocked";
|
|
4015
4026
|
completed: "completed";
|
|
4016
|
-
|
|
4027
|
+
paused: "paused";
|
|
4017
4028
|
}>;
|
|
4018
4029
|
}, z.core.$strict>, z.ZodObject<{
|
|
4019
4030
|
credentialMode: z.ZodEnum<{
|
|
4020
|
-
system: "system";
|
|
4021
4031
|
creator: "creator";
|
|
4032
|
+
system: "system";
|
|
4022
4033
|
}>;
|
|
4023
4034
|
createdAt: z.ZodString;
|
|
4024
4035
|
createdBy: z.ZodString;
|
|
@@ -4029,8 +4040,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4029
4040
|
label: z.ZodString;
|
|
4030
4041
|
teamId: z.ZodString;
|
|
4031
4042
|
visibility: z.ZodEnum<{
|
|
4032
|
-
public: "public";
|
|
4033
4043
|
private: "private";
|
|
4044
|
+
public: "public";
|
|
4034
4045
|
}>;
|
|
4035
4046
|
}, z.core.$strict>;
|
|
4036
4047
|
id: z.ZodString;
|
|
@@ -4038,9 +4049,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4038
4049
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4039
4050
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4040
4051
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4041
|
-
failed: "failed";
|
|
4042
4052
|
blocked: "blocked";
|
|
4043
4053
|
completed: "completed";
|
|
4054
|
+
failed: "failed";
|
|
4044
4055
|
}>>;
|
|
4045
4056
|
ownedByViewer: z.ZodBoolean;
|
|
4046
4057
|
runs: z.ZodObject<{
|
|
@@ -4068,9 +4079,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4068
4079
|
triggerAvailable: z.ZodBoolean;
|
|
4069
4080
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4070
4081
|
status: z.ZodEnum<{
|
|
4071
|
-
paused: "paused";
|
|
4072
|
-
blocked: "blocked";
|
|
4073
4082
|
active: "active";
|
|
4083
|
+
blocked: "blocked";
|
|
4084
|
+
paused: "paused";
|
|
4074
4085
|
}>;
|
|
4075
4086
|
}, z.core.$strict>], "kind">>;
|
|
4076
4087
|
total: z.ZodNumber;
|
|
@@ -4095,9 +4106,9 @@ export declare const automationParamsSchema: z.ZodObject<{
|
|
|
4095
4106
|
id: z.ZodString;
|
|
4096
4107
|
}, z.core.$strict>;
|
|
4097
4108
|
export declare const automationExecutionStatusSchema: z.ZodEnum<{
|
|
4098
|
-
failed: "failed";
|
|
4099
4109
|
blocked: "blocked";
|
|
4100
4110
|
completed: "completed";
|
|
4111
|
+
failed: "failed";
|
|
4101
4112
|
}>;
|
|
4102
4113
|
export declare const automationExecutionSchema: z.ZodObject<{
|
|
4103
4114
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
@@ -4106,9 +4117,9 @@ export declare const automationExecutionSchema: z.ZodObject<{
|
|
|
4106
4117
|
executedAt: z.ZodString;
|
|
4107
4118
|
executionId: z.ZodString;
|
|
4108
4119
|
status: z.ZodEnum<{
|
|
4109
|
-
failed: "failed";
|
|
4110
4120
|
blocked: "blocked";
|
|
4111
4121
|
completed: "completed";
|
|
4122
|
+
failed: "failed";
|
|
4112
4123
|
}>;
|
|
4113
4124
|
title: z.ZodOptional<z.ZodString>;
|
|
4114
4125
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4146,17 +4157,17 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4146
4157
|
executedAt: z.ZodString;
|
|
4147
4158
|
executionId: z.ZodString;
|
|
4148
4159
|
status: z.ZodEnum<{
|
|
4149
|
-
failed: "failed";
|
|
4150
4160
|
blocked: "blocked";
|
|
4151
4161
|
completed: "completed";
|
|
4162
|
+
failed: "failed";
|
|
4152
4163
|
}>;
|
|
4153
4164
|
title: z.ZodOptional<z.ZodString>;
|
|
4154
4165
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
4155
4166
|
}, z.core.$strict>>;
|
|
4156
4167
|
automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4157
4168
|
credentialMode: z.ZodEnum<{
|
|
4158
|
-
system: "system";
|
|
4159
4169
|
creator: "creator";
|
|
4170
|
+
system: "system";
|
|
4160
4171
|
}>;
|
|
4161
4172
|
createdAt: z.ZodString;
|
|
4162
4173
|
createdBy: z.ZodString;
|
|
@@ -4167,8 +4178,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4167
4178
|
label: z.ZodString;
|
|
4168
4179
|
teamId: z.ZodString;
|
|
4169
4180
|
visibility: z.ZodEnum<{
|
|
4170
|
-
public: "public";
|
|
4171
4181
|
private: "private";
|
|
4182
|
+
public: "public";
|
|
4172
4183
|
}>;
|
|
4173
4184
|
}, z.core.$strict>;
|
|
4174
4185
|
id: z.ZodString;
|
|
@@ -4176,9 +4187,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4176
4187
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4177
4188
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4178
4189
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4179
|
-
failed: "failed";
|
|
4180
4190
|
blocked: "blocked";
|
|
4181
4191
|
completed: "completed";
|
|
4192
|
+
failed: "failed";
|
|
4182
4193
|
}>>;
|
|
4183
4194
|
ownedByViewer: z.ZodBoolean;
|
|
4184
4195
|
runs: z.ZodObject<{
|
|
@@ -4204,15 +4215,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4204
4215
|
timezone: z.ZodString;
|
|
4205
4216
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4206
4217
|
status: z.ZodEnum<{
|
|
4207
|
-
|
|
4218
|
+
active: "active";
|
|
4208
4219
|
blocked: "blocked";
|
|
4209
4220
|
completed: "completed";
|
|
4210
|
-
|
|
4221
|
+
paused: "paused";
|
|
4211
4222
|
}>;
|
|
4212
4223
|
}, z.core.$strict>, z.ZodObject<{
|
|
4213
4224
|
credentialMode: z.ZodEnum<{
|
|
4214
|
-
system: "system";
|
|
4215
4225
|
creator: "creator";
|
|
4226
|
+
system: "system";
|
|
4216
4227
|
}>;
|
|
4217
4228
|
createdAt: z.ZodString;
|
|
4218
4229
|
createdBy: z.ZodString;
|
|
@@ -4223,8 +4234,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4223
4234
|
label: z.ZodString;
|
|
4224
4235
|
teamId: z.ZodString;
|
|
4225
4236
|
visibility: z.ZodEnum<{
|
|
4226
|
-
public: "public";
|
|
4227
4237
|
private: "private";
|
|
4238
|
+
public: "public";
|
|
4228
4239
|
}>;
|
|
4229
4240
|
}, z.core.$strict>;
|
|
4230
4241
|
id: z.ZodString;
|
|
@@ -4232,9 +4243,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4232
4243
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4233
4244
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4234
4245
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4235
|
-
failed: "failed";
|
|
4236
4246
|
blocked: "blocked";
|
|
4237
4247
|
completed: "completed";
|
|
4248
|
+
failed: "failed";
|
|
4238
4249
|
}>>;
|
|
4239
4250
|
ownedByViewer: z.ZodBoolean;
|
|
4240
4251
|
runs: z.ZodObject<{
|
|
@@ -4262,9 +4273,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4262
4273
|
triggerAvailable: z.ZodBoolean;
|
|
4263
4274
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4264
4275
|
status: z.ZodEnum<{
|
|
4265
|
-
paused: "paused";
|
|
4266
|
-
blocked: "blocked";
|
|
4267
4276
|
active: "active";
|
|
4277
|
+
blocked: "blocked";
|
|
4278
|
+
paused: "paused";
|
|
4268
4279
|
}>;
|
|
4269
4280
|
}, z.core.$strict>], "kind">;
|
|
4270
4281
|
truncated: z.ZodBoolean;
|
|
@@ -4276,9 +4287,9 @@ export declare const automationRunSchema: z.ZodObject<{
|
|
|
4276
4287
|
executedAt: z.ZodString;
|
|
4277
4288
|
executionId: z.ZodString;
|
|
4278
4289
|
status: z.ZodEnum<{
|
|
4279
|
-
failed: "failed";
|
|
4280
4290
|
blocked: "blocked";
|
|
4281
4291
|
completed: "completed";
|
|
4292
|
+
failed: "failed";
|
|
4282
4293
|
}>;
|
|
4283
4294
|
title: z.ZodOptional<z.ZodString>;
|
|
4284
4295
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4297,9 +4308,9 @@ export declare const automationRunListSchema: z.ZodObject<{
|
|
|
4297
4308
|
executedAt: z.ZodString;
|
|
4298
4309
|
executionId: z.ZodString;
|
|
4299
4310
|
status: z.ZodEnum<{
|
|
4300
|
-
failed: "failed";
|
|
4301
4311
|
blocked: "blocked";
|
|
4302
4312
|
completed: "completed";
|
|
4313
|
+
failed: "failed";
|
|
4303
4314
|
}>;
|
|
4304
4315
|
title: z.ZodOptional<z.ZodString>;
|
|
4305
4316
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4314,17 +4325,24 @@ export declare const automationRunListSchema: z.ZodObject<{
|
|
|
4314
4325
|
}, z.core.$strict>;
|
|
4315
4326
|
/** One saved Automation definition. Newer versions have larger numbers. */
|
|
4316
4327
|
export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4328
|
+
version: z.ZodNumber;
|
|
4329
|
+
createdAt: z.ZodString;
|
|
4330
|
+
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4331
|
+
slackUserId: z.ZodString;
|
|
4332
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
4333
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
4334
|
+
}, z.core.$strict>>;
|
|
4317
4335
|
kind: z.ZodLiteral<"scheduled">;
|
|
4318
4336
|
definition: z.ZodObject<{
|
|
4337
|
+
credentialMode: z.ZodEnum<{
|
|
4338
|
+
creator: "creator";
|
|
4339
|
+
system: "system";
|
|
4340
|
+
}>;
|
|
4319
4341
|
destination: z.ZodObject<{
|
|
4342
|
+
platform: z.ZodLiteral<"slack">;
|
|
4320
4343
|
teamId: z.ZodString;
|
|
4321
4344
|
channelId: z.ZodString;
|
|
4322
|
-
platform: z.ZodLiteral<"slack">;
|
|
4323
4345
|
}, z.core.$strict>;
|
|
4324
|
-
credentialMode: z.ZodEnum<{
|
|
4325
|
-
system: "system";
|
|
4326
|
-
creator: "creator";
|
|
4327
|
-
}>;
|
|
4328
4346
|
schedule: z.ZodObject<{
|
|
4329
4347
|
description: z.ZodString;
|
|
4330
4348
|
kind: z.ZodEnum<{
|
|
@@ -4335,8 +4353,8 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4335
4353
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4336
4354
|
frequency: z.ZodEnum<{
|
|
4337
4355
|
daily: "daily";
|
|
4338
|
-
weekly: "weekly";
|
|
4339
4356
|
monthly: "monthly";
|
|
4357
|
+
weekly: "weekly";
|
|
4340
4358
|
yearly: "yearly";
|
|
4341
4359
|
}>;
|
|
4342
4360
|
interval: z.ZodNumber;
|
|
@@ -4353,14 +4371,15 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4353
4371
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4354
4372
|
action: z.ZodLiteral<"send_message">;
|
|
4355
4373
|
destination: z.ZodObject<{
|
|
4374
|
+
platform: z.ZodLiteral<"slack">;
|
|
4356
4375
|
teamId: z.ZodString;
|
|
4357
4376
|
channelId: z.ZodString;
|
|
4358
|
-
platform: z.ZodLiteral<"slack">;
|
|
4359
4377
|
}, z.core.$strict>;
|
|
4360
4378
|
}, z.core.$strict>>;
|
|
4361
4379
|
title: z.ZodNullable<z.ZodString>;
|
|
4362
4380
|
instruction: z.ZodString;
|
|
4363
4381
|
}, z.core.$strict>;
|
|
4382
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4364
4383
|
version: z.ZodNumber;
|
|
4365
4384
|
createdAt: z.ZodString;
|
|
4366
4385
|
editedBy: z.ZodNullable<z.ZodObject<{
|
|
@@ -4368,14 +4387,25 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4368
4387
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4369
4388
|
userName: z.ZodOptional<z.ZodString>;
|
|
4370
4389
|
}, z.core.$strict>>;
|
|
4371
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4372
4390
|
kind: z.ZodLiteral<"event">;
|
|
4373
4391
|
definition: z.ZodObject<{
|
|
4392
|
+
credentialMode: z.ZodEnum<{
|
|
4393
|
+
creator: "creator";
|
|
4394
|
+
system: "system";
|
|
4395
|
+
}>;
|
|
4374
4396
|
destination: z.ZodObject<{
|
|
4397
|
+
platform: z.ZodLiteral<"slack">;
|
|
4375
4398
|
teamId: z.ZodString;
|
|
4376
4399
|
channelId: z.ZodString;
|
|
4377
|
-
platform: z.ZodLiteral<"slack">;
|
|
4378
4400
|
}, z.core.$strict>;
|
|
4401
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
4402
|
+
action: z.ZodLiteral<"send_message">;
|
|
4403
|
+
destination: z.ZodObject<{
|
|
4404
|
+
platform: z.ZodLiteral<"slack">;
|
|
4405
|
+
teamId: z.ZodString;
|
|
4406
|
+
channelId: z.ZodString;
|
|
4407
|
+
}, z.core.$strict>;
|
|
4408
|
+
}, z.core.$strict>>;
|
|
4379
4409
|
trigger: z.ZodObject<{
|
|
4380
4410
|
events: z.ZodArray<z.ZodString>;
|
|
4381
4411
|
label: z.ZodString;
|
|
@@ -4384,43 +4414,31 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4384
4414
|
identifier: z.ZodString;
|
|
4385
4415
|
resourceType: z.ZodString;
|
|
4386
4416
|
}, z.core.$strict>;
|
|
4387
|
-
credentialMode: z.ZodEnum<{
|
|
4388
|
-
system: "system";
|
|
4389
|
-
creator: "creator";
|
|
4390
|
-
}>;
|
|
4391
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4392
|
-
action: z.ZodLiteral<"send_message">;
|
|
4393
|
-
destination: z.ZodObject<{
|
|
4394
|
-
teamId: z.ZodString;
|
|
4395
|
-
channelId: z.ZodString;
|
|
4396
|
-
platform: z.ZodLiteral<"slack">;
|
|
4397
|
-
}, z.core.$strict>;
|
|
4398
|
-
}, z.core.$strict>>;
|
|
4399
4417
|
title: z.ZodNullable<z.ZodString>;
|
|
4400
4418
|
instruction: z.ZodString;
|
|
4401
4419
|
}, z.core.$strict>;
|
|
4402
|
-
version: z.ZodNumber;
|
|
4403
|
-
createdAt: z.ZodString;
|
|
4404
|
-
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4405
|
-
slackUserId: z.ZodString;
|
|
4406
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
4407
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
4408
|
-
}, z.core.$strict>>;
|
|
4409
4420
|
}, z.core.$strict>], "kind">;
|
|
4410
4421
|
/** Newest versions first. */
|
|
4411
4422
|
export declare const automationVersionListSchema: z.ZodObject<{
|
|
4412
4423
|
versions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4424
|
+
version: z.ZodNumber;
|
|
4425
|
+
createdAt: z.ZodString;
|
|
4426
|
+
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4427
|
+
slackUserId: z.ZodString;
|
|
4428
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
4429
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
4430
|
+
}, z.core.$strict>>;
|
|
4413
4431
|
kind: z.ZodLiteral<"scheduled">;
|
|
4414
4432
|
definition: z.ZodObject<{
|
|
4433
|
+
credentialMode: z.ZodEnum<{
|
|
4434
|
+
creator: "creator";
|
|
4435
|
+
system: "system";
|
|
4436
|
+
}>;
|
|
4415
4437
|
destination: z.ZodObject<{
|
|
4438
|
+
platform: z.ZodLiteral<"slack">;
|
|
4416
4439
|
teamId: z.ZodString;
|
|
4417
4440
|
channelId: z.ZodString;
|
|
4418
|
-
platform: z.ZodLiteral<"slack">;
|
|
4419
4441
|
}, z.core.$strict>;
|
|
4420
|
-
credentialMode: z.ZodEnum<{
|
|
4421
|
-
system: "system";
|
|
4422
|
-
creator: "creator";
|
|
4423
|
-
}>;
|
|
4424
4442
|
schedule: z.ZodObject<{
|
|
4425
4443
|
description: z.ZodString;
|
|
4426
4444
|
kind: z.ZodEnum<{
|
|
@@ -4431,8 +4449,8 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4431
4449
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4432
4450
|
frequency: z.ZodEnum<{
|
|
4433
4451
|
daily: "daily";
|
|
4434
|
-
weekly: "weekly";
|
|
4435
4452
|
monthly: "monthly";
|
|
4453
|
+
weekly: "weekly";
|
|
4436
4454
|
yearly: "yearly";
|
|
4437
4455
|
}>;
|
|
4438
4456
|
interval: z.ZodNumber;
|
|
@@ -4449,14 +4467,15 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4449
4467
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4450
4468
|
action: z.ZodLiteral<"send_message">;
|
|
4451
4469
|
destination: z.ZodObject<{
|
|
4470
|
+
platform: z.ZodLiteral<"slack">;
|
|
4452
4471
|
teamId: z.ZodString;
|
|
4453
4472
|
channelId: z.ZodString;
|
|
4454
|
-
platform: z.ZodLiteral<"slack">;
|
|
4455
4473
|
}, z.core.$strict>;
|
|
4456
4474
|
}, z.core.$strict>>;
|
|
4457
4475
|
title: z.ZodNullable<z.ZodString>;
|
|
4458
4476
|
instruction: z.ZodString;
|
|
4459
4477
|
}, z.core.$strict>;
|
|
4478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4460
4479
|
version: z.ZodNumber;
|
|
4461
4480
|
createdAt: z.ZodString;
|
|
4462
4481
|
editedBy: z.ZodNullable<z.ZodObject<{
|
|
@@ -4464,14 +4483,25 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4464
4483
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4465
4484
|
userName: z.ZodOptional<z.ZodString>;
|
|
4466
4485
|
}, z.core.$strict>>;
|
|
4467
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4468
4486
|
kind: z.ZodLiteral<"event">;
|
|
4469
4487
|
definition: z.ZodObject<{
|
|
4488
|
+
credentialMode: z.ZodEnum<{
|
|
4489
|
+
creator: "creator";
|
|
4490
|
+
system: "system";
|
|
4491
|
+
}>;
|
|
4470
4492
|
destination: z.ZodObject<{
|
|
4493
|
+
platform: z.ZodLiteral<"slack">;
|
|
4471
4494
|
teamId: z.ZodString;
|
|
4472
4495
|
channelId: z.ZodString;
|
|
4473
|
-
platform: z.ZodLiteral<"slack">;
|
|
4474
4496
|
}, z.core.$strict>;
|
|
4497
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
4498
|
+
action: z.ZodLiteral<"send_message">;
|
|
4499
|
+
destination: z.ZodObject<{
|
|
4500
|
+
platform: z.ZodLiteral<"slack">;
|
|
4501
|
+
teamId: z.ZodString;
|
|
4502
|
+
channelId: z.ZodString;
|
|
4503
|
+
}, z.core.$strict>;
|
|
4504
|
+
}, z.core.$strict>>;
|
|
4475
4505
|
trigger: z.ZodObject<{
|
|
4476
4506
|
events: z.ZodArray<z.ZodString>;
|
|
4477
4507
|
label: z.ZodString;
|
|
@@ -4480,28 +4510,9 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4480
4510
|
identifier: z.ZodString;
|
|
4481
4511
|
resourceType: z.ZodString;
|
|
4482
4512
|
}, z.core.$strict>;
|
|
4483
|
-
credentialMode: z.ZodEnum<{
|
|
4484
|
-
system: "system";
|
|
4485
|
-
creator: "creator";
|
|
4486
|
-
}>;
|
|
4487
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4488
|
-
action: z.ZodLiteral<"send_message">;
|
|
4489
|
-
destination: z.ZodObject<{
|
|
4490
|
-
teamId: z.ZodString;
|
|
4491
|
-
channelId: z.ZodString;
|
|
4492
|
-
platform: z.ZodLiteral<"slack">;
|
|
4493
|
-
}, z.core.$strict>;
|
|
4494
|
-
}, z.core.$strict>>;
|
|
4495
4513
|
title: z.ZodNullable<z.ZodString>;
|
|
4496
4514
|
instruction: z.ZodString;
|
|
4497
4515
|
}, z.core.$strict>;
|
|
4498
|
-
version: z.ZodNumber;
|
|
4499
|
-
createdAt: z.ZodString;
|
|
4500
|
-
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4501
|
-
slackUserId: z.ZodString;
|
|
4502
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
4503
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
4504
|
-
}, z.core.$strict>>;
|
|
4505
4516
|
}, z.core.$strict>], "kind">>;
|
|
4506
4517
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
4507
4518
|
truncated: z.ZodBoolean;
|
|
@@ -4528,34 +4539,16 @@ export declare const automationVersionActivateSchema: z.ZodObject<{
|
|
|
4528
4539
|
}, z.core.$strict>;
|
|
4529
4540
|
/** Edit values for owners and public readers. Read schemas also retain legacy values. */
|
|
4530
4541
|
export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4531
|
-
destination: z.ZodObject<{
|
|
4532
|
-
teamId: z.ZodString;
|
|
4533
|
-
channelId: z.ZodString;
|
|
4534
|
-
platform: z.ZodLiteral<"slack">;
|
|
4535
|
-
}, z.core.$strict>;
|
|
4536
4542
|
createdBy: z.ZodObject<{
|
|
4537
4543
|
slackUserId: z.ZodString;
|
|
4538
4544
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4539
4545
|
userName: z.ZodOptional<z.ZodString>;
|
|
4540
4546
|
}, z.core.$strict>;
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
system: "system";
|
|
4547
|
-
creator: "creator";
|
|
4548
|
-
}>;
|
|
4549
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4550
|
-
action: z.ZodLiteral<"send_message">;
|
|
4551
|
-
destination: z.ZodObject<{
|
|
4552
|
-
platform: z.ZodLiteral<"slack">;
|
|
4553
|
-
teamId: z.ZodString;
|
|
4554
|
-
channelId: z.ZodString;
|
|
4555
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
4556
|
-
}, z.core.$strict>;
|
|
4557
|
-
}, z.core.$strict>>;
|
|
4558
|
-
ownedByViewer: z.ZodBoolean;
|
|
4547
|
+
destination: z.ZodObject<{
|
|
4548
|
+
platform: z.ZodLiteral<"slack">;
|
|
4549
|
+
teamId: z.ZodString;
|
|
4550
|
+
channelId: z.ZodString;
|
|
4551
|
+
}, z.core.$strict>;
|
|
4559
4552
|
schedule: z.ZodObject<{
|
|
4560
4553
|
description: z.ZodString;
|
|
4561
4554
|
kind: z.ZodEnum<{
|
|
@@ -4566,8 +4559,8 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4566
4559
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4567
4560
|
frequency: z.ZodEnum<{
|
|
4568
4561
|
daily: "daily";
|
|
4569
|
-
weekly: "weekly";
|
|
4570
4562
|
monthly: "monthly";
|
|
4563
|
+
weekly: "weekly";
|
|
4571
4564
|
yearly: "yearly";
|
|
4572
4565
|
}>;
|
|
4573
4566
|
interval: z.ZodNumber;
|
|
@@ -4581,32 +4574,50 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4581
4574
|
}, z.core.$strict>>;
|
|
4582
4575
|
timezone: z.ZodString;
|
|
4583
4576
|
}, z.core.$strict>;
|
|
4577
|
+
id: z.ZodString;
|
|
4578
|
+
revision: z.ZodString;
|
|
4579
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4580
|
+
instruction: z.ZodString;
|
|
4581
|
+
credentialMode: z.ZodEnum<{
|
|
4582
|
+
creator: "creator";
|
|
4583
|
+
system: "system";
|
|
4584
|
+
}>;
|
|
4585
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
4586
|
+
action: z.ZodLiteral<"send_message">;
|
|
4587
|
+
destination: z.ZodObject<{
|
|
4588
|
+
platform: z.ZodLiteral<"slack">;
|
|
4589
|
+
teamId: z.ZodString;
|
|
4590
|
+
channelId: z.ZodString;
|
|
4591
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
4592
|
+
}, z.core.$strict>;
|
|
4593
|
+
}, z.core.$strict>>;
|
|
4594
|
+
ownedByViewer: z.ZodBoolean;
|
|
4584
4595
|
kind: z.ZodLiteral<"scheduled">;
|
|
4585
4596
|
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
4586
4597
|
status: z.ZodEnum<{
|
|
4587
|
-
|
|
4598
|
+
active: "active";
|
|
4588
4599
|
blocked: "blocked";
|
|
4589
4600
|
completed: "completed";
|
|
4590
|
-
|
|
4601
|
+
paused: "paused";
|
|
4591
4602
|
}>;
|
|
4592
4603
|
}, z.core.$strict>, z.ZodObject<{
|
|
4593
|
-
destination: z.ZodObject<{
|
|
4594
|
-
teamId: z.ZodString;
|
|
4595
|
-
channelId: z.ZodString;
|
|
4596
|
-
platform: z.ZodLiteral<"slack">;
|
|
4597
|
-
}, z.core.$strict>;
|
|
4598
4604
|
createdBy: z.ZodObject<{
|
|
4599
4605
|
slackUserId: z.ZodString;
|
|
4600
4606
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4601
4607
|
userName: z.ZodOptional<z.ZodString>;
|
|
4602
4608
|
}, z.core.$strict>;
|
|
4609
|
+
destination: z.ZodObject<{
|
|
4610
|
+
platform: z.ZodLiteral<"slack">;
|
|
4611
|
+
teamId: z.ZodString;
|
|
4612
|
+
channelId: z.ZodString;
|
|
4613
|
+
}, z.core.$strict>;
|
|
4603
4614
|
id: z.ZodString;
|
|
4604
4615
|
revision: z.ZodString;
|
|
4605
4616
|
title: z.ZodNullable<z.ZodString>;
|
|
4606
4617
|
instruction: z.ZodString;
|
|
4607
4618
|
credentialMode: z.ZodEnum<{
|
|
4608
|
-
system: "system";
|
|
4609
4619
|
creator: "creator";
|
|
4620
|
+
system: "system";
|
|
4610
4621
|
}>;
|
|
4611
4622
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4612
4623
|
action: z.ZodLiteral<"send_message">;
|
|
@@ -4629,9 +4640,9 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4629
4640
|
}, z.core.$strict>;
|
|
4630
4641
|
triggerAvailable: z.ZodBoolean;
|
|
4631
4642
|
status: z.ZodEnum<{
|
|
4632
|
-
paused: "paused";
|
|
4633
|
-
blocked: "blocked";
|
|
4634
4643
|
active: "active";
|
|
4644
|
+
blocked: "blocked";
|
|
4645
|
+
paused: "paused";
|
|
4635
4646
|
}>;
|
|
4636
4647
|
}, z.core.$strict>], "kind">;
|
|
4637
4648
|
/** Partial edits require the revision returned by the edit read. */
|
|
@@ -4639,9 +4650,24 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4639
4650
|
title: z.ZodOptional<z.ZodString>;
|
|
4640
4651
|
instruction: z.ZodOptional<z.ZodString>;
|
|
4641
4652
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4642
|
-
system: "system";
|
|
4643
4653
|
creator: "creator";
|
|
4654
|
+
system: "system";
|
|
4644
4655
|
}>>;
|
|
4656
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4657
|
+
action: z.ZodLiteral<"send_message">;
|
|
4658
|
+
destination: z.ZodEnum<{
|
|
4659
|
+
current_conversation: "current_conversation";
|
|
4660
|
+
task_creator: "task_creator";
|
|
4661
|
+
}>;
|
|
4662
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4663
|
+
action: z.ZodLiteral<"send_message">;
|
|
4664
|
+
destination: z.ZodObject<{
|
|
4665
|
+
platform: z.ZodLiteral<"slack">;
|
|
4666
|
+
teamId: z.ZodString;
|
|
4667
|
+
channelId: z.ZodString;
|
|
4668
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
4669
|
+
}, z.core.$strict>;
|
|
4670
|
+
}, z.core.$strict>]>>>;
|
|
4645
4671
|
schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4646
4672
|
kind: z.ZodLiteral<"one_off">;
|
|
4647
4673
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4649,10 +4675,10 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4649
4675
|
type: z.ZodLiteral<"after">;
|
|
4650
4676
|
value: z.ZodNumber;
|
|
4651
4677
|
unit: z.ZodEnum<{
|
|
4678
|
+
day: "day";
|
|
4652
4679
|
hour: "hour";
|
|
4653
4680
|
minute: "minute";
|
|
4654
4681
|
second: "second";
|
|
4655
|
-
day: "day";
|
|
4656
4682
|
week: "week";
|
|
4657
4683
|
}>;
|
|
4658
4684
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4664,49 +4690,34 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4664
4690
|
kind: z.ZodLiteral<"recurring">;
|
|
4665
4691
|
frequency: z.ZodEnum<{
|
|
4666
4692
|
daily: "daily";
|
|
4667
|
-
weekly: "weekly";
|
|
4668
4693
|
monthly: "monthly";
|
|
4694
|
+
weekly: "weekly";
|
|
4669
4695
|
yearly: "yearly";
|
|
4670
4696
|
}>;
|
|
4671
4697
|
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4672
4698
|
time: z.ZodString;
|
|
4673
4699
|
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4674
|
-
|
|
4700
|
+
friday: "friday";
|
|
4675
4701
|
monday: "monday";
|
|
4702
|
+
saturday: "saturday";
|
|
4703
|
+
sunday: "sunday";
|
|
4704
|
+
thursday: "thursday";
|
|
4676
4705
|
tuesday: "tuesday";
|
|
4677
4706
|
wednesday: "wednesday";
|
|
4678
|
-
thursday: "thursday";
|
|
4679
|
-
friday: "friday";
|
|
4680
|
-
saturday: "saturday";
|
|
4681
4707
|
}>>>>;
|
|
4682
4708
|
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4683
4709
|
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4684
4710
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4685
4711
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4686
4712
|
}, z.core.$strict>]>>;
|
|
4687
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4688
|
-
action: z.ZodLiteral<"send_message">;
|
|
4689
|
-
destination: z.ZodEnum<{
|
|
4690
|
-
current_conversation: "current_conversation";
|
|
4691
|
-
task_creator: "task_creator";
|
|
4692
|
-
}>;
|
|
4693
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4694
|
-
action: z.ZodLiteral<"send_message">;
|
|
4695
|
-
destination: z.ZodObject<{
|
|
4696
|
-
platform: z.ZodLiteral<"slack">;
|
|
4697
|
-
teamId: z.ZodString;
|
|
4698
|
-
channelId: z.ZodString;
|
|
4699
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
4700
|
-
}, z.core.$strict>;
|
|
4701
|
-
}, z.core.$strict>]>>>;
|
|
4702
4713
|
kind: z.ZodLiteral<"scheduled">;
|
|
4703
4714
|
revision: z.ZodString;
|
|
4704
4715
|
}, z.core.$strict>, z.ZodObject<{
|
|
4705
4716
|
title: z.ZodOptional<z.ZodString>;
|
|
4706
4717
|
instruction: z.ZodOptional<z.ZodString>;
|
|
4707
4718
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4708
|
-
system: "system";
|
|
4709
4719
|
creator: "creator";
|
|
4720
|
+
system: "system";
|
|
4710
4721
|
}>>;
|
|
4711
4722
|
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4712
4723
|
action: z.ZodLiteral<"send_message">;
|
|
@@ -4737,8 +4748,8 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4737
4748
|
export declare const automationEditErrorSchema: z.ZodObject<{
|
|
4738
4749
|
error: z.ZodString;
|
|
4739
4750
|
code: z.ZodEnum<{
|
|
4740
|
-
invalid_edit: "invalid_edit";
|
|
4741
4751
|
conflict: "conflict";
|
|
4752
|
+
invalid_edit: "invalid_edit";
|
|
4742
4753
|
not_found: "not_found";
|
|
4743
4754
|
}>;
|
|
4744
4755
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
@@ -4756,9 +4767,9 @@ export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
|
4756
4767
|
suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4757
4768
|
matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4758
4769
|
kind: z.ZodEnum<{
|
|
4759
|
-
string: "string";
|
|
4760
|
-
number: "number";
|
|
4761
4770
|
boolean: "boolean";
|
|
4771
|
+
number: "number";
|
|
4772
|
+
string: "string";
|
|
4762
4773
|
}>;
|
|
4763
4774
|
description: z.ZodString;
|
|
4764
4775
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4773,10 +4784,10 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
4773
4784
|
type: z.ZodLiteral<"after">;
|
|
4774
4785
|
value: z.ZodNumber;
|
|
4775
4786
|
unit: z.ZodEnum<{
|
|
4787
|
+
day: "day";
|
|
4776
4788
|
hour: "hour";
|
|
4777
4789
|
minute: "minute";
|
|
4778
4790
|
second: "second";
|
|
4779
|
-
day: "day";
|
|
4780
4791
|
week: "week";
|
|
4781
4792
|
}>;
|
|
4782
4793
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4788,20 +4799,20 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
4788
4799
|
kind: z.ZodLiteral<"recurring">;
|
|
4789
4800
|
frequency: z.ZodEnum<{
|
|
4790
4801
|
daily: "daily";
|
|
4791
|
-
weekly: "weekly";
|
|
4792
4802
|
monthly: "monthly";
|
|
4803
|
+
weekly: "weekly";
|
|
4793
4804
|
yearly: "yearly";
|
|
4794
4805
|
}>;
|
|
4795
4806
|
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4796
4807
|
time: z.ZodString;
|
|
4797
4808
|
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4798
|
-
|
|
4809
|
+
friday: "friday";
|
|
4799
4810
|
monday: "monday";
|
|
4811
|
+
saturday: "saturday";
|
|
4812
|
+
sunday: "sunday";
|
|
4813
|
+
thursday: "thursday";
|
|
4800
4814
|
tuesday: "tuesday";
|
|
4801
4815
|
wednesday: "wednesday";
|
|
4802
|
-
thursday: "thursday";
|
|
4803
|
-
friday: "friday";
|
|
4804
|
-
saturday: "saturday";
|
|
4805
4816
|
}>>>>;
|
|
4806
4817
|
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4807
4818
|
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4819,8 +4830,8 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
|
4819
4830
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4820
4831
|
frequency: z.ZodEnum<{
|
|
4821
4832
|
daily: "daily";
|
|
4822
|
-
weekly: "weekly";
|
|
4823
4833
|
monthly: "monthly";
|
|
4834
|
+
weekly: "weekly";
|
|
4824
4835
|
yearly: "yearly";
|
|
4825
4836
|
}>;
|
|
4826
4837
|
interval: z.ZodNumber;
|
|
@@ -4837,8 +4848,6 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
|
4837
4848
|
nextRunAtMs: z.ZodNumber;
|
|
4838
4849
|
}, z.core.$strict>;
|
|
4839
4850
|
type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
|
|
4840
|
-
//#endregion
|
|
4841
|
-
//#region src/api/schema/stats.d.ts
|
|
4842
4851
|
export declare const statSchema: z.ZodObject<{
|
|
4843
4852
|
count: z.ZodNumber;
|
|
4844
4853
|
date: z.ZodString;
|
|
@@ -4860,8 +4869,6 @@ export declare const statsReportSchema: z.ZodObject<{
|
|
|
4860
4869
|
}, z.core.$strict>;
|
|
4861
4870
|
type StatReport = z.infer<typeof statSchema>;
|
|
4862
4871
|
type StatsReport = z.infer<typeof statsReportSchema>;
|
|
4863
|
-
//#endregion
|
|
4864
|
-
//#region src/reporting-schema.d.ts
|
|
4865
4872
|
export declare const healthReportSchema: z.ZodObject<{
|
|
4866
4873
|
status: z.ZodLiteral<"ok">;
|
|
4867
4874
|
service: z.ZodString;
|
|
@@ -4932,10 +4939,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
4932
4939
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4933
4940
|
label: z.ZodString;
|
|
4934
4941
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4935
|
-
warning: "warning";
|
|
4936
4942
|
danger: "danger";
|
|
4937
4943
|
good: "good";
|
|
4938
4944
|
neutral: "neutral";
|
|
4945
|
+
warning: "warning";
|
|
4939
4946
|
}>>;
|
|
4940
4947
|
value: z.ZodString;
|
|
4941
4948
|
}, z.core.$strict>>>;
|
|
@@ -4948,10 +4955,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
4948
4955
|
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4949
4956
|
id: z.ZodString;
|
|
4950
4957
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4951
|
-
warning: "warning";
|
|
4952
4958
|
danger: "danger";
|
|
4953
4959
|
good: "good";
|
|
4954
4960
|
neutral: "neutral";
|
|
4961
|
+
warning: "warning";
|
|
4955
4962
|
}>>;
|
|
4956
4963
|
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4957
4964
|
}, z.core.$strict>>>;
|
|
@@ -4973,10 +4980,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
4973
4980
|
key: z.ZodString;
|
|
4974
4981
|
label: z.ZodString;
|
|
4975
4982
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4976
|
-
warning: "warning";
|
|
4977
4983
|
danger: "danger";
|
|
4978
4984
|
good: "good";
|
|
4979
4985
|
neutral: "neutral";
|
|
4986
|
+
warning: "warning";
|
|
4980
4987
|
}>>;
|
|
4981
4988
|
}, z.core.$strict>>;
|
|
4982
4989
|
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
@@ -4991,10 +4998,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
4991
4998
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4992
4999
|
label: z.ZodString;
|
|
4993
5000
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4994
|
-
warning: "warning";
|
|
4995
5001
|
danger: "danger";
|
|
4996
5002
|
good: "good";
|
|
4997
5003
|
neutral: "neutral";
|
|
5004
|
+
warning: "warning";
|
|
4998
5005
|
}>>;
|
|
4999
5006
|
value: z.ZodString;
|
|
5000
5007
|
}, z.core.$strict>>>;
|
|
@@ -5007,10 +5014,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
5007
5014
|
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5008
5015
|
id: z.ZodString;
|
|
5009
5016
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5010
|
-
warning: "warning";
|
|
5011
5017
|
danger: "danger";
|
|
5012
5018
|
good: "good";
|
|
5013
5019
|
neutral: "neutral";
|
|
5020
|
+
warning: "warning";
|
|
5014
5021
|
}>>;
|
|
5015
5022
|
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5016
5023
|
}, z.core.$strict>>>;
|
|
@@ -5032,10 +5039,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
5032
5039
|
key: z.ZodString;
|
|
5033
5040
|
label: z.ZodString;
|
|
5034
5041
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5035
|
-
warning: "warning";
|
|
5036
5042
|
danger: "danger";
|
|
5037
5043
|
good: "good";
|
|
5038
5044
|
neutral: "neutral";
|
|
5045
|
+
warning: "warning";
|
|
5039
5046
|
}>>;
|
|
5040
5047
|
}, z.core.$strict>>;
|
|
5041
5048
|
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
@@ -5055,5 +5062,4 @@ type PluginPackageContentItemReport = z.infer<typeof pluginPackageContentItemRep
|
|
|
5055
5062
|
type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchema>;
|
|
5056
5063
|
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
5057
5064
|
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
5058
|
-
//#endregion
|
|
5059
5065
|
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersion, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type StopConversationTurnResponse, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
|