@sentry/junior 0.257.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-DgIkm6Vy.js → admin-My1SLGVO.js} +2 -3
- package/dist/{agent-hooks-BjtTzvru.js → agent-hooks-BJ_5mlRH.js} +69 -109
- package/dist/{agent-invocations-Bdu3ROfo.js → agent-invocations-Qfz7dWgU.js} +6 -12
- package/dist/{agent-runner-D7OboVb3.js → agent-runner-DGsFQw72.js} +261 -458
- package/dist/api/schema.d.ts +414 -448
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +2 -12
- package/dist/api.js +94 -158
- package/dist/{app-BsU5QNBd.d.ts → app-PX2H1PxU.d.ts} +21 -44
- package/dist/app.d.ts +3 -3
- package/dist/app.js +204 -321
- package/dist/{assistant-reply-CbTPebzL.js → assistant-reply-H1M-91oF.js} +3 -5
- package/dist/{automation-CHdlHVZP.js → automation-DWBFBenG.js} +6 -11
- package/dist/{briefs-oLOldnDM.js → briefs-vYoK85rJ.js} +8 -11
- package/dist/{cadence-D00SCzT1.js → cadence-R7Em4RjE.js} +1 -2
- package/dist/{catalog-runtime-CZzhGQ7F.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-D8HnkOQX.js → client-DbyHuMFU.js} +9 -16
- package/dist/{config-CJRnWK9H.js → config-_WO_AjCB.js} +18 -15
- package/dist/{connections-ClYrKzpX.js → connections-ag_1JOhB.js} +14 -19
- package/dist/{conversation-CKNLYBJt.js → conversation-DjN3mlog.js} +8 -15
- package/dist/{conversation-privacy-C8b1nphZ.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-BXfohNmJ.js → credential-sync-B-CPX_ag.js} +23 -28
- package/dist/{db-Ca9Nt5ci.d.ts → db-BnRqQ7G5.d.ts} +1 -1
- package/dist/{executor-Do0THDRR.js → executor-RvG6kVe1.js} +30 -52
- package/dist/{experimental-CQIvMUO7.js → experimental-BNK1l1jv.js} +2 -4
- 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-BN_BiBXF.js → images-C2J_bj2g.js} +5 -6
- package/dist/instrumentation.d.ts +1 -3
- package/dist/instrumentation.js +6 -8
- package/dist/{job-queue-B6SV9uVa.js → job-queue-DVe37it2.js} +6 -12
- package/dist/{logging-CWxiIuCF.js → logging-DsHONhVm.js} +7 -12
- package/dist/{message-TUOdbSBW.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-Dj5UJODo.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-s_QFribU.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-h-72wM78.js → profile-DpYjfKke.js} +16 -28
- package/dist/{prompt-DyoEj9c2.js → prompt-xgpyMtg7.js} +5 -9
- package/dist/{queue-B5SnqRln.d.ts → queue-C37RbDVc.d.ts} +0 -2
- package/dist/{registry-sLTr-sV9.js → registry-Du566MtJ.js} +16 -29
- package/dist/{resolve-ncQPZROQ.js → resolve-ClCIgh8E.js} +7 -12
- package/dist/{result-C883vngT.js → result-BBbKA61B.js} +13 -17
- package/dist/{rolldown-runtime-B4FMCO8f.js → rolldown-runtime-nwUcYXjP.js} +1 -2
- package/dist/{runner-CzYImdOF.js → runner-CCuqFSqx.js} +12 -13
- package/dist/{sandbox-egress-signals-CZbMINHI.js → sandbox-egress-signals-DY1mbKF4.js} +2 -3
- package/dist/{schema-Dy69D4Ge.js → schema-DrMh3NtR.js} +15 -26
- package/dist/{sentry-CgWZM_kV.js → sentry-BBUlHih9.js} +2 -3
- package/dist/{session-stop-CQjKd4a2.js → session-stop-CIoFiwwe.js} +23 -33
- package/dist/{skills-C22SLruK.js → skills-DyQBLIrK.js} +9 -9
- package/dist/{spawn-DY9CLXDL.js → spawn-Dqfeo7XP.js} +4 -5
- package/dist/{store-DoewL5mG.d.ts → store-CG0VJyye.d.ts} +0 -14
- package/dist/{store-DXFIQy-G.js → store-DJLwq4x8.js} +13 -15
- package/dist/{task-queue-B17vV0La.js → task-queue-BzW4MaWU.js} +5 -7
- package/dist/{task-runner-DUjvzYXj.js → task-runner-D3qJh4fK.js} +22 -26
- package/dist/{tasks-D_WIJtvO.js → tasks-CEXKTASS.js} +62 -78
- package/dist/{thread-state-Ch4yuCqG.js → thread-state-W3f6kAtz.js} +13 -19
- package/dist/{turn-failure-response-C5nBKC4S.js → turn-failure-response-CWx7aNIh.js} +16 -22
- package/dist/{turn-lifecycle-CO-ylUmV.js → turn-lifecycle-C9JFst7-.js} +2 -3
- package/dist/{turn-session-routing-B3LWooK5.js → turn-session-routing-CUxtfpr7.js} +2 -3
- package/dist/{validation-CXYxaNYx.js → validation-BHRxa5G4.js} +3 -4
- package/dist/vercel.d.ts +1 -3
- package/dist/vercel.js +1 -2
- package/dist/{version-BcdZy2zg.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-DSZXygMU.js → viewer-CGvvRqKp.js} +26 -57
- package/dist/{web-input-B9Bv0_lR.js → web-input-Keb5GRWj.js} +98 -155
- package/dist/{web-message-id-xPI_EFSC.js → web-message-id-CJSUiksE.js} +3 -6
- package/dist/{work-nAfDSUFP.js → work-DRcsJ3hV.js} +14 -16
- package/dist/{worker-vGXZ6XFT.js → worker-Cjo-QqPq.js} +7 -8
- package/package.json +7 -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>;
|
|
@@ -278,12 +269,10 @@ type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
|
278
269
|
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
279
270
|
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
280
271
|
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
281
|
-
//#endregion
|
|
282
|
-
//#region src/api/schema/conversation.d.ts
|
|
283
272
|
declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
284
|
-
failed: "failed";
|
|
285
|
-
completed: "completed";
|
|
286
273
|
active: "active";
|
|
274
|
+
completed: "completed";
|
|
275
|
+
failed: "failed";
|
|
287
276
|
}>;
|
|
288
277
|
declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
289
278
|
api: "api";
|
|
@@ -345,9 +334,9 @@ export declare const createConversationMessageBodySchema: z.ZodObject<{
|
|
|
345
334
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
335
|
filename: z.ZodString;
|
|
347
336
|
contentType: z.ZodEnum<{
|
|
348
|
-
"image/png": "image/png";
|
|
349
|
-
"image/jpeg": "image/jpeg";
|
|
350
337
|
"image/gif": "image/gif";
|
|
338
|
+
"image/jpeg": "image/jpeg";
|
|
339
|
+
"image/png": "image/png";
|
|
351
340
|
"image/webp": "image/webp";
|
|
352
341
|
}>;
|
|
353
342
|
data: z.ZodString;
|
|
@@ -359,16 +348,16 @@ export declare const createConversationBodySchema: z.ZodObject<{
|
|
|
359
348
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
360
349
|
filename: z.ZodString;
|
|
361
350
|
contentType: z.ZodEnum<{
|
|
362
|
-
"image/png": "image/png";
|
|
363
|
-
"image/jpeg": "image/jpeg";
|
|
364
351
|
"image/gif": "image/gif";
|
|
352
|
+
"image/jpeg": "image/jpeg";
|
|
353
|
+
"image/png": "image/png";
|
|
365
354
|
"image/webp": "image/webp";
|
|
366
355
|
}>;
|
|
367
356
|
data: z.ZodString;
|
|
368
357
|
}, z.core.$strict>>>;
|
|
369
358
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
370
|
-
public: "public";
|
|
371
359
|
private: "private";
|
|
360
|
+
public: "public";
|
|
372
361
|
}>>;
|
|
373
362
|
}, z.core.$strict>;
|
|
374
363
|
export declare const acceptedConversationMessageSchema: z.ZodObject<{
|
|
@@ -497,16 +486,16 @@ declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
|
497
486
|
triggerMessageId: z.ZodOptional<z.ZodString>;
|
|
498
487
|
triggerLabel: z.ZodOptional<z.ZodString>;
|
|
499
488
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
500
|
-
system: "system";
|
|
501
489
|
creator: "creator";
|
|
490
|
+
system: "system";
|
|
502
491
|
}>>;
|
|
503
492
|
credentialUser: z.ZodOptional<z.ZodString>;
|
|
504
493
|
}, z.core.$strict>;
|
|
505
494
|
export declare const conversationActivityPreviewSchema: z.ZodObject<{
|
|
506
495
|
createdAt: z.ZodString;
|
|
507
496
|
role: z.ZodEnum<{
|
|
508
|
-
user: "user";
|
|
509
497
|
assistant: "assistant";
|
|
498
|
+
user: "user";
|
|
510
499
|
}>;
|
|
511
500
|
text: z.ZodString;
|
|
512
501
|
}, z.core.$strict>;
|
|
@@ -515,8 +504,8 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
515
504
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
516
505
|
createdAt: z.ZodString;
|
|
517
506
|
role: z.ZodEnum<{
|
|
518
|
-
user: "user";
|
|
519
507
|
assistant: "assistant";
|
|
508
|
+
user: "user";
|
|
520
509
|
}>;
|
|
521
510
|
text: z.ZodString;
|
|
522
511
|
}, z.core.$strict>>;
|
|
@@ -568,13 +557,13 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
568
557
|
conversationId: z.ZodString;
|
|
569
558
|
isParticipant: z.ZodBoolean;
|
|
570
559
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
571
|
-
public: "public";
|
|
572
560
|
private: "private";
|
|
561
|
+
public: "public";
|
|
573
562
|
}>>;
|
|
574
563
|
status: z.ZodEnum<{
|
|
575
|
-
failed: "failed";
|
|
576
|
-
completed: "completed";
|
|
577
564
|
active: "active";
|
|
565
|
+
completed: "completed";
|
|
566
|
+
failed: "failed";
|
|
578
567
|
}>;
|
|
579
568
|
startedAt: z.ZodString;
|
|
580
569
|
lastSeenAt: z.ZodString;
|
|
@@ -608,35 +597,35 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
608
597
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
609
598
|
kind: z.ZodLiteral<"resource_link">;
|
|
610
599
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
automation: "automation";
|
|
601
|
+
calendar_event: "calendar_event";
|
|
611
602
|
code_change: "code_change";
|
|
612
|
-
task: "task";
|
|
613
603
|
deployment: "deployment";
|
|
614
|
-
calendar_event: "calendar_event";
|
|
615
|
-
automation: "automation";
|
|
616
604
|
item: "item";
|
|
605
|
+
task: "task";
|
|
617
606
|
}>>;
|
|
618
607
|
key: z.ZodString;
|
|
619
608
|
label: z.ZodString;
|
|
620
609
|
url: z.ZodString;
|
|
621
610
|
description: z.ZodOptional<z.ZodString>;
|
|
622
611
|
status: z.ZodOptional<z.ZodEnum<{
|
|
623
|
-
warning: "warning";
|
|
624
|
-
draft: "draft";
|
|
625
612
|
closed: "closed";
|
|
613
|
+
draft: "draft";
|
|
626
614
|
merged: "merged";
|
|
627
615
|
open: "open";
|
|
616
|
+
warning: "warning";
|
|
628
617
|
}>>;
|
|
629
618
|
}, z.core.$strict>, z.ZodObject<{
|
|
630
619
|
kind: z.ZodLiteral<"object">;
|
|
631
620
|
key: z.ZodString;
|
|
632
621
|
label: z.ZodString;
|
|
633
622
|
objectType: z.ZodEnum<{
|
|
623
|
+
automation: "automation";
|
|
624
|
+
calendar_event: "calendar_event";
|
|
634
625
|
code_change: "code_change";
|
|
635
|
-
task: "task";
|
|
636
626
|
deployment: "deployment";
|
|
637
|
-
calendar_event: "calendar_event";
|
|
638
|
-
automation: "automation";
|
|
639
627
|
item: "item";
|
|
628
|
+
task: "task";
|
|
640
629
|
}>;
|
|
641
630
|
title: z.ZodString;
|
|
642
631
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -653,9 +642,9 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
653
642
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
654
643
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
655
644
|
review: z.ZodOptional<z.ZodEnum<{
|
|
656
|
-
required: "required";
|
|
657
645
|
approved: "approved";
|
|
658
646
|
changes_requested: "changes_requested";
|
|
647
|
+
required: "required";
|
|
659
648
|
}>>;
|
|
660
649
|
checks: z.ZodOptional<z.ZodObject<{
|
|
661
650
|
passed: z.ZodNumber;
|
|
@@ -692,20 +681,20 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
692
681
|
}, z.core.$strip>>>>;
|
|
693
682
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
694
683
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
695
|
-
"git-pull-request": "git-pull-request";
|
|
696
|
-
"git-merge": "git-merge";
|
|
697
|
-
"circle-dot": "circle-dot";
|
|
698
684
|
"circle-dashed": "circle-dashed";
|
|
685
|
+
"circle-dot": "circle-dot";
|
|
699
686
|
"circle-x": "circle-x";
|
|
687
|
+
"git-merge": "git-merge";
|
|
688
|
+
"git-pull-request": "git-pull-request";
|
|
700
689
|
"triangle-alert": "triangle-alert";
|
|
701
690
|
}>>;
|
|
702
691
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
692
|
+
automation: "automation";
|
|
693
|
+
calendar_event: "calendar_event";
|
|
703
694
|
code_change: "code_change";
|
|
704
|
-
task: "task";
|
|
705
695
|
deployment: "deployment";
|
|
706
|
-
calendar_event: "calendar_event";
|
|
707
|
-
automation: "automation";
|
|
708
696
|
item: "item";
|
|
697
|
+
task: "task";
|
|
709
698
|
}>>;
|
|
710
699
|
status: z.ZodOptional<z.ZodString>;
|
|
711
700
|
key: z.ZodString;
|
|
@@ -721,9 +710,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
721
710
|
type: z.ZodLiteral<"message">;
|
|
722
711
|
messageId: z.ZodString;
|
|
723
712
|
role: z.ZodEnum<{
|
|
713
|
+
assistant: "assistant";
|
|
724
714
|
system: "system";
|
|
725
715
|
user: "user";
|
|
726
|
-
assistant: "assistant";
|
|
727
716
|
}>;
|
|
728
717
|
source: z.ZodOptional<z.ZodEnum<{
|
|
729
718
|
slack: "slack";
|
|
@@ -743,12 +732,12 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
743
732
|
}, z.core.$strict>>>;
|
|
744
733
|
eventType: z.ZodOptional<z.ZodString>;
|
|
745
734
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
735
|
+
automation: "automation";
|
|
736
|
+
calendar_event: "calendar_event";
|
|
746
737
|
code_change: "code_change";
|
|
747
|
-
task: "task";
|
|
748
738
|
deployment: "deployment";
|
|
749
|
-
calendar_event: "calendar_event";
|
|
750
|
-
automation: "automation";
|
|
751
739
|
item: "item";
|
|
740
|
+
task: "task";
|
|
752
741
|
}>>;
|
|
753
742
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
754
743
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -781,9 +770,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
781
770
|
toolCallId: z.ZodString;
|
|
782
771
|
name: z.ZodString;
|
|
783
772
|
status: z.ZodEnum<{
|
|
773
|
+
completed: "completed";
|
|
784
774
|
error: "error";
|
|
785
775
|
running: "running";
|
|
786
|
-
completed: "completed";
|
|
787
776
|
}>;
|
|
788
777
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
789
778
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -823,21 +812,21 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
823
812
|
persistence_failed: "persistence_failed";
|
|
824
813
|
}>;
|
|
825
814
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
826
|
-
unknown: "unknown";
|
|
827
|
-
capacity: "capacity";
|
|
828
815
|
auth: "auth";
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
network: "network";
|
|
833
|
-
server: "server";
|
|
816
|
+
capacity: "capacity";
|
|
817
|
+
content_policy: "content_policy";
|
|
818
|
+
empty_output: "empty_output";
|
|
834
819
|
invalid_request: "invalid_request";
|
|
835
820
|
invalid_response: "invalid_response";
|
|
821
|
+
network: "network";
|
|
822
|
+
permission: "permission";
|
|
836
823
|
quota: "quota";
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
tool_errors: "tool_errors";
|
|
824
|
+
rate_limit: "rate_limit";
|
|
825
|
+
server: "server";
|
|
840
826
|
suppressed_output: "suppressed_output";
|
|
827
|
+
timeout: "timeout";
|
|
828
|
+
tool_errors: "tool_errors";
|
|
829
|
+
unknown: "unknown";
|
|
841
830
|
}>>;
|
|
842
831
|
eventId: z.ZodOptional<z.ZodString>;
|
|
843
832
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -862,16 +851,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
862
851
|
title: z.ZodString;
|
|
863
852
|
}, z.core.$strict>>>;
|
|
864
853
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
865
|
-
|
|
854
|
+
activity: "activity";
|
|
855
|
+
brain: "brain";
|
|
866
856
|
calendar: "calendar";
|
|
867
|
-
|
|
857
|
+
check: "check";
|
|
858
|
+
database: "database";
|
|
868
859
|
info: "info";
|
|
869
860
|
key: "key";
|
|
870
861
|
link: "link";
|
|
871
|
-
activity: "activity";
|
|
872
|
-
brain: "brain";
|
|
873
|
-
database: "database";
|
|
874
862
|
sparkles: "sparkles";
|
|
863
|
+
warning: "warning";
|
|
875
864
|
}>>;
|
|
876
865
|
preview: z.ZodOptional<z.ZodString>;
|
|
877
866
|
title: z.ZodString;
|
|
@@ -908,16 +897,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
908
897
|
deny: "deny";
|
|
909
898
|
}>;
|
|
910
899
|
riskLevel: z.ZodEnum<{
|
|
900
|
+
critical: "critical";
|
|
901
|
+
high: "high";
|
|
911
902
|
low: "low";
|
|
912
903
|
medium: "medium";
|
|
913
|
-
high: "high";
|
|
914
|
-
critical: "critical";
|
|
915
904
|
}>;
|
|
916
905
|
userAuthorization: z.ZodEnum<{
|
|
917
|
-
|
|
906
|
+
high: "high";
|
|
918
907
|
low: "low";
|
|
919
908
|
medium: "medium";
|
|
920
|
-
|
|
909
|
+
unknown: "unknown";
|
|
921
910
|
}>;
|
|
922
911
|
}, z.core.$strict>, z.ZodObject<{
|
|
923
912
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -952,11 +941,11 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
952
941
|
title: z.ZodOptional<z.ZodString>;
|
|
953
942
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
954
943
|
status: z.ZodEnum<{
|
|
955
|
-
|
|
956
|
-
running: "running";
|
|
944
|
+
aborted: "aborted";
|
|
957
945
|
blocked: "blocked";
|
|
958
946
|
completed: "completed";
|
|
959
|
-
|
|
947
|
+
error: "error";
|
|
948
|
+
running: "running";
|
|
960
949
|
}>;
|
|
961
950
|
}, z.core.$strict>], "type">;
|
|
962
951
|
/** One ordered, privacy-safe canonical event projected for API consumers. */
|
|
@@ -967,9 +956,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
967
956
|
type: z.ZodLiteral<"message">;
|
|
968
957
|
messageId: z.ZodString;
|
|
969
958
|
role: z.ZodEnum<{
|
|
959
|
+
assistant: "assistant";
|
|
970
960
|
system: "system";
|
|
971
961
|
user: "user";
|
|
972
|
-
assistant: "assistant";
|
|
973
962
|
}>;
|
|
974
963
|
source: z.ZodOptional<z.ZodEnum<{
|
|
975
964
|
slack: "slack";
|
|
@@ -989,12 +978,12 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
989
978
|
}, z.core.$strict>>>;
|
|
990
979
|
eventType: z.ZodOptional<z.ZodString>;
|
|
991
980
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
981
|
+
automation: "automation";
|
|
982
|
+
calendar_event: "calendar_event";
|
|
992
983
|
code_change: "code_change";
|
|
993
|
-
task: "task";
|
|
994
984
|
deployment: "deployment";
|
|
995
|
-
calendar_event: "calendar_event";
|
|
996
|
-
automation: "automation";
|
|
997
985
|
item: "item";
|
|
986
|
+
task: "task";
|
|
998
987
|
}>>;
|
|
999
988
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1000
989
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1027,9 +1016,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1027
1016
|
toolCallId: z.ZodString;
|
|
1028
1017
|
name: z.ZodString;
|
|
1029
1018
|
status: z.ZodEnum<{
|
|
1019
|
+
completed: "completed";
|
|
1030
1020
|
error: "error";
|
|
1031
1021
|
running: "running";
|
|
1032
|
-
completed: "completed";
|
|
1033
1022
|
}>;
|
|
1034
1023
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1035
1024
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1069,21 +1058,21 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1069
1058
|
persistence_failed: "persistence_failed";
|
|
1070
1059
|
}>;
|
|
1071
1060
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1072
|
-
unknown: "unknown";
|
|
1073
|
-
capacity: "capacity";
|
|
1074
1061
|
auth: "auth";
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
network: "network";
|
|
1079
|
-
server: "server";
|
|
1062
|
+
capacity: "capacity";
|
|
1063
|
+
content_policy: "content_policy";
|
|
1064
|
+
empty_output: "empty_output";
|
|
1080
1065
|
invalid_request: "invalid_request";
|
|
1081
1066
|
invalid_response: "invalid_response";
|
|
1067
|
+
network: "network";
|
|
1068
|
+
permission: "permission";
|
|
1082
1069
|
quota: "quota";
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
tool_errors: "tool_errors";
|
|
1070
|
+
rate_limit: "rate_limit";
|
|
1071
|
+
server: "server";
|
|
1086
1072
|
suppressed_output: "suppressed_output";
|
|
1073
|
+
timeout: "timeout";
|
|
1074
|
+
tool_errors: "tool_errors";
|
|
1075
|
+
unknown: "unknown";
|
|
1087
1076
|
}>>;
|
|
1088
1077
|
eventId: z.ZodOptional<z.ZodString>;
|
|
1089
1078
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1108,16 +1097,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1108
1097
|
title: z.ZodString;
|
|
1109
1098
|
}, z.core.$strict>>>;
|
|
1110
1099
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1111
|
-
|
|
1100
|
+
activity: "activity";
|
|
1101
|
+
brain: "brain";
|
|
1112
1102
|
calendar: "calendar";
|
|
1113
|
-
|
|
1103
|
+
check: "check";
|
|
1104
|
+
database: "database";
|
|
1114
1105
|
info: "info";
|
|
1115
1106
|
key: "key";
|
|
1116
1107
|
link: "link";
|
|
1117
|
-
activity: "activity";
|
|
1118
|
-
brain: "brain";
|
|
1119
|
-
database: "database";
|
|
1120
1108
|
sparkles: "sparkles";
|
|
1109
|
+
warning: "warning";
|
|
1121
1110
|
}>>;
|
|
1122
1111
|
preview: z.ZodOptional<z.ZodString>;
|
|
1123
1112
|
title: z.ZodString;
|
|
@@ -1154,16 +1143,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1154
1143
|
deny: "deny";
|
|
1155
1144
|
}>;
|
|
1156
1145
|
riskLevel: z.ZodEnum<{
|
|
1146
|
+
critical: "critical";
|
|
1147
|
+
high: "high";
|
|
1157
1148
|
low: "low";
|
|
1158
1149
|
medium: "medium";
|
|
1159
|
-
high: "high";
|
|
1160
|
-
critical: "critical";
|
|
1161
1150
|
}>;
|
|
1162
1151
|
userAuthorization: z.ZodEnum<{
|
|
1163
|
-
|
|
1152
|
+
high: "high";
|
|
1164
1153
|
low: "low";
|
|
1165
1154
|
medium: "medium";
|
|
1166
|
-
|
|
1155
|
+
unknown: "unknown";
|
|
1167
1156
|
}>;
|
|
1168
1157
|
}, z.core.$strict>, z.ZodObject<{
|
|
1169
1158
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -1198,11 +1187,11 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1198
1187
|
title: z.ZodOptional<z.ZodString>;
|
|
1199
1188
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1200
1189
|
status: z.ZodEnum<{
|
|
1201
|
-
|
|
1202
|
-
running: "running";
|
|
1190
|
+
aborted: "aborted";
|
|
1203
1191
|
blocked: "blocked";
|
|
1204
1192
|
completed: "completed";
|
|
1205
|
-
|
|
1193
|
+
error: "error";
|
|
1194
|
+
running: "running";
|
|
1206
1195
|
}>;
|
|
1207
1196
|
}, z.core.$strict>], "type">;
|
|
1208
1197
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -1277,8 +1266,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1277
1266
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
1278
1267
|
createdAt: z.ZodString;
|
|
1279
1268
|
role: z.ZodEnum<{
|
|
1280
|
-
user: "user";
|
|
1281
1269
|
assistant: "assistant";
|
|
1270
|
+
user: "user";
|
|
1282
1271
|
}>;
|
|
1283
1272
|
text: z.ZodString;
|
|
1284
1273
|
}, z.core.$strict>>;
|
|
@@ -1330,13 +1319,13 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1330
1319
|
conversationId: z.ZodString;
|
|
1331
1320
|
isParticipant: z.ZodBoolean;
|
|
1332
1321
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1333
|
-
public: "public";
|
|
1334
1322
|
private: "private";
|
|
1323
|
+
public: "public";
|
|
1335
1324
|
}>>;
|
|
1336
1325
|
status: z.ZodEnum<{
|
|
1337
|
-
failed: "failed";
|
|
1338
|
-
completed: "completed";
|
|
1339
1326
|
active: "active";
|
|
1327
|
+
completed: "completed";
|
|
1328
|
+
failed: "failed";
|
|
1340
1329
|
}>;
|
|
1341
1330
|
startedAt: z.ZodString;
|
|
1342
1331
|
lastSeenAt: z.ZodString;
|
|
@@ -1370,35 +1359,35 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1370
1359
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1371
1360
|
kind: z.ZodLiteral<"resource_link">;
|
|
1372
1361
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
1362
|
+
automation: "automation";
|
|
1363
|
+
calendar_event: "calendar_event";
|
|
1373
1364
|
code_change: "code_change";
|
|
1374
|
-
task: "task";
|
|
1375
1365
|
deployment: "deployment";
|
|
1376
|
-
calendar_event: "calendar_event";
|
|
1377
|
-
automation: "automation";
|
|
1378
1366
|
item: "item";
|
|
1367
|
+
task: "task";
|
|
1379
1368
|
}>>;
|
|
1380
1369
|
key: z.ZodString;
|
|
1381
1370
|
label: z.ZodString;
|
|
1382
1371
|
url: z.ZodString;
|
|
1383
1372
|
description: z.ZodOptional<z.ZodString>;
|
|
1384
1373
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1385
|
-
warning: "warning";
|
|
1386
|
-
draft: "draft";
|
|
1387
1374
|
closed: "closed";
|
|
1375
|
+
draft: "draft";
|
|
1388
1376
|
merged: "merged";
|
|
1389
1377
|
open: "open";
|
|
1378
|
+
warning: "warning";
|
|
1390
1379
|
}>>;
|
|
1391
1380
|
}, z.core.$strict>, z.ZodObject<{
|
|
1392
1381
|
kind: z.ZodLiteral<"object">;
|
|
1393
1382
|
key: z.ZodString;
|
|
1394
1383
|
label: z.ZodString;
|
|
1395
1384
|
objectType: z.ZodEnum<{
|
|
1385
|
+
automation: "automation";
|
|
1386
|
+
calendar_event: "calendar_event";
|
|
1396
1387
|
code_change: "code_change";
|
|
1397
|
-
task: "task";
|
|
1398
1388
|
deployment: "deployment";
|
|
1399
|
-
calendar_event: "calendar_event";
|
|
1400
|
-
automation: "automation";
|
|
1401
1389
|
item: "item";
|
|
1390
|
+
task: "task";
|
|
1402
1391
|
}>;
|
|
1403
1392
|
title: z.ZodString;
|
|
1404
1393
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -1415,9 +1404,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1415
1404
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
1416
1405
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1417
1406
|
review: z.ZodOptional<z.ZodEnum<{
|
|
1418
|
-
required: "required";
|
|
1419
1407
|
approved: "approved";
|
|
1420
1408
|
changes_requested: "changes_requested";
|
|
1409
|
+
required: "required";
|
|
1421
1410
|
}>>;
|
|
1422
1411
|
checks: z.ZodOptional<z.ZodObject<{
|
|
1423
1412
|
passed: z.ZodNumber;
|
|
@@ -1454,20 +1443,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1454
1443
|
}, z.core.$strip>>>>;
|
|
1455
1444
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1456
1445
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1457
|
-
"git-pull-request": "git-pull-request";
|
|
1458
|
-
"git-merge": "git-merge";
|
|
1459
|
-
"circle-dot": "circle-dot";
|
|
1460
1446
|
"circle-dashed": "circle-dashed";
|
|
1447
|
+
"circle-dot": "circle-dot";
|
|
1461
1448
|
"circle-x": "circle-x";
|
|
1449
|
+
"git-merge": "git-merge";
|
|
1450
|
+
"git-pull-request": "git-pull-request";
|
|
1462
1451
|
"triangle-alert": "triangle-alert";
|
|
1463
1452
|
}>>;
|
|
1464
1453
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
1454
|
+
automation: "automation";
|
|
1455
|
+
calendar_event: "calendar_event";
|
|
1465
1456
|
code_change: "code_change";
|
|
1466
|
-
task: "task";
|
|
1467
1457
|
deployment: "deployment";
|
|
1468
|
-
calendar_event: "calendar_event";
|
|
1469
|
-
automation: "automation";
|
|
1470
1458
|
item: "item";
|
|
1459
|
+
task: "task";
|
|
1471
1460
|
}>>;
|
|
1472
1461
|
status: z.ZodOptional<z.ZodString>;
|
|
1473
1462
|
key: z.ZodString;
|
|
@@ -1524,12 +1513,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1524
1513
|
intent: z.ZodString;
|
|
1525
1514
|
outcome: z.ZodObject<{
|
|
1526
1515
|
status: z.ZodEnum<{
|
|
1527
|
-
|
|
1528
|
-
in_progress: "in_progress";
|
|
1516
|
+
abandoned: "abandoned";
|
|
1529
1517
|
answered: "answered";
|
|
1518
|
+
blocked: "blocked";
|
|
1530
1519
|
done: "done";
|
|
1520
|
+
in_progress: "in_progress";
|
|
1531
1521
|
partial: "partial";
|
|
1532
|
-
abandoned: "abandoned";
|
|
1533
1522
|
}>;
|
|
1534
1523
|
text: z.ZodString;
|
|
1535
1524
|
}, z.core.$strict>;
|
|
@@ -1537,9 +1526,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1537
1526
|
text: z.ZodString;
|
|
1538
1527
|
by: z.ZodOptional<z.ZodString>;
|
|
1539
1528
|
kind: z.ZodEnum<{
|
|
1540
|
-
stated: "stated";
|
|
1541
|
-
confirmed: "confirmed";
|
|
1542
1529
|
assumed: "assumed";
|
|
1530
|
+
confirmed: "confirmed";
|
|
1531
|
+
stated: "stated";
|
|
1543
1532
|
}>;
|
|
1544
1533
|
}, z.core.$strict>>;
|
|
1545
1534
|
openDecisions: z.ZodArray<z.ZodObject<{
|
|
@@ -1549,9 +1538,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1549
1538
|
facts: z.ZodArray<z.ZodString>;
|
|
1550
1539
|
links: z.ZodArray<z.ZodObject<{
|
|
1551
1540
|
kind: z.ZodEnum<{
|
|
1552
|
-
url: "url";
|
|
1553
1541
|
code_change: "code_change";
|
|
1554
1542
|
resource: "resource";
|
|
1543
|
+
url: "url";
|
|
1555
1544
|
}>;
|
|
1556
1545
|
label: z.ZodString;
|
|
1557
1546
|
url: z.ZodString;
|
|
@@ -1587,9 +1576,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1587
1576
|
type: z.ZodLiteral<"message">;
|
|
1588
1577
|
messageId: z.ZodString;
|
|
1589
1578
|
role: z.ZodEnum<{
|
|
1579
|
+
assistant: "assistant";
|
|
1590
1580
|
system: "system";
|
|
1591
1581
|
user: "user";
|
|
1592
|
-
assistant: "assistant";
|
|
1593
1582
|
}>;
|
|
1594
1583
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1595
1584
|
slack: "slack";
|
|
@@ -1609,12 +1598,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1609
1598
|
}, z.core.$strict>>>;
|
|
1610
1599
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1611
1600
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1601
|
+
automation: "automation";
|
|
1602
|
+
calendar_event: "calendar_event";
|
|
1612
1603
|
code_change: "code_change";
|
|
1613
|
-
task: "task";
|
|
1614
1604
|
deployment: "deployment";
|
|
1615
|
-
calendar_event: "calendar_event";
|
|
1616
|
-
automation: "automation";
|
|
1617
1605
|
item: "item";
|
|
1606
|
+
task: "task";
|
|
1618
1607
|
}>>;
|
|
1619
1608
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1620
1609
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1647,9 +1636,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1647
1636
|
toolCallId: z.ZodString;
|
|
1648
1637
|
name: z.ZodString;
|
|
1649
1638
|
status: z.ZodEnum<{
|
|
1639
|
+
completed: "completed";
|
|
1650
1640
|
error: "error";
|
|
1651
1641
|
running: "running";
|
|
1652
|
-
completed: "completed";
|
|
1653
1642
|
}>;
|
|
1654
1643
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1655
1644
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1689,21 +1678,21 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1689
1678
|
persistence_failed: "persistence_failed";
|
|
1690
1679
|
}>;
|
|
1691
1680
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1692
|
-
unknown: "unknown";
|
|
1693
|
-
capacity: "capacity";
|
|
1694
1681
|
auth: "auth";
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
network: "network";
|
|
1699
|
-
server: "server";
|
|
1682
|
+
capacity: "capacity";
|
|
1683
|
+
content_policy: "content_policy";
|
|
1684
|
+
empty_output: "empty_output";
|
|
1700
1685
|
invalid_request: "invalid_request";
|
|
1701
1686
|
invalid_response: "invalid_response";
|
|
1687
|
+
network: "network";
|
|
1688
|
+
permission: "permission";
|
|
1702
1689
|
quota: "quota";
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
tool_errors: "tool_errors";
|
|
1690
|
+
rate_limit: "rate_limit";
|
|
1691
|
+
server: "server";
|
|
1706
1692
|
suppressed_output: "suppressed_output";
|
|
1693
|
+
timeout: "timeout";
|
|
1694
|
+
tool_errors: "tool_errors";
|
|
1695
|
+
unknown: "unknown";
|
|
1707
1696
|
}>>;
|
|
1708
1697
|
eventId: z.ZodOptional<z.ZodString>;
|
|
1709
1698
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1728,16 +1717,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1728
1717
|
title: z.ZodString;
|
|
1729
1718
|
}, z.core.$strict>>>;
|
|
1730
1719
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1731
|
-
|
|
1720
|
+
activity: "activity";
|
|
1721
|
+
brain: "brain";
|
|
1732
1722
|
calendar: "calendar";
|
|
1733
|
-
|
|
1723
|
+
check: "check";
|
|
1724
|
+
database: "database";
|
|
1734
1725
|
info: "info";
|
|
1735
1726
|
key: "key";
|
|
1736
1727
|
link: "link";
|
|
1737
|
-
activity: "activity";
|
|
1738
|
-
brain: "brain";
|
|
1739
|
-
database: "database";
|
|
1740
1728
|
sparkles: "sparkles";
|
|
1729
|
+
warning: "warning";
|
|
1741
1730
|
}>>;
|
|
1742
1731
|
preview: z.ZodOptional<z.ZodString>;
|
|
1743
1732
|
title: z.ZodString;
|
|
@@ -1774,16 +1763,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1774
1763
|
deny: "deny";
|
|
1775
1764
|
}>;
|
|
1776
1765
|
riskLevel: z.ZodEnum<{
|
|
1766
|
+
critical: "critical";
|
|
1767
|
+
high: "high";
|
|
1777
1768
|
low: "low";
|
|
1778
1769
|
medium: "medium";
|
|
1779
|
-
high: "high";
|
|
1780
|
-
critical: "critical";
|
|
1781
1770
|
}>;
|
|
1782
1771
|
userAuthorization: z.ZodEnum<{
|
|
1783
|
-
|
|
1772
|
+
high: "high";
|
|
1784
1773
|
low: "low";
|
|
1785
1774
|
medium: "medium";
|
|
1786
|
-
|
|
1775
|
+
unknown: "unknown";
|
|
1787
1776
|
}>;
|
|
1788
1777
|
}, z.core.$strict>, z.ZodObject<{
|
|
1789
1778
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -1818,11 +1807,11 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1818
1807
|
title: z.ZodOptional<z.ZodString>;
|
|
1819
1808
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1820
1809
|
status: z.ZodEnum<{
|
|
1821
|
-
|
|
1822
|
-
running: "running";
|
|
1810
|
+
aborted: "aborted";
|
|
1823
1811
|
blocked: "blocked";
|
|
1824
1812
|
completed: "completed";
|
|
1825
|
-
|
|
1813
|
+
error: "error";
|
|
1814
|
+
running: "running";
|
|
1826
1815
|
}>;
|
|
1827
1816
|
}, z.core.$strict>], "type">;
|
|
1828
1817
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -1874,8 +1863,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1874
1863
|
triggerMessageId: z.ZodOptional<z.ZodString>;
|
|
1875
1864
|
triggerLabel: z.ZodOptional<z.ZodString>;
|
|
1876
1865
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
1877
|
-
system: "system";
|
|
1878
1866
|
creator: "creator";
|
|
1867
|
+
system: "system";
|
|
1879
1868
|
}>>;
|
|
1880
1869
|
credentialUser: z.ZodOptional<z.ZodString>;
|
|
1881
1870
|
}, z.core.$strict>>;
|
|
@@ -1888,9 +1877,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1888
1877
|
type: z.ZodLiteral<"message">;
|
|
1889
1878
|
messageId: z.ZodString;
|
|
1890
1879
|
role: z.ZodEnum<{
|
|
1880
|
+
assistant: "assistant";
|
|
1891
1881
|
system: "system";
|
|
1892
1882
|
user: "user";
|
|
1893
|
-
assistant: "assistant";
|
|
1894
1883
|
}>;
|
|
1895
1884
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1896
1885
|
slack: "slack";
|
|
@@ -1910,12 +1899,12 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1910
1899
|
}, z.core.$strict>>>;
|
|
1911
1900
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1912
1901
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1902
|
+
automation: "automation";
|
|
1903
|
+
calendar_event: "calendar_event";
|
|
1913
1904
|
code_change: "code_change";
|
|
1914
|
-
task: "task";
|
|
1915
1905
|
deployment: "deployment";
|
|
1916
|
-
calendar_event: "calendar_event";
|
|
1917
|
-
automation: "automation";
|
|
1918
1906
|
item: "item";
|
|
1907
|
+
task: "task";
|
|
1919
1908
|
}>>;
|
|
1920
1909
|
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1921
1910
|
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
@@ -1948,9 +1937,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1948
1937
|
toolCallId: z.ZodString;
|
|
1949
1938
|
name: z.ZodString;
|
|
1950
1939
|
status: z.ZodEnum<{
|
|
1940
|
+
completed: "completed";
|
|
1951
1941
|
error: "error";
|
|
1952
1942
|
running: "running";
|
|
1953
|
-
completed: "completed";
|
|
1954
1943
|
}>;
|
|
1955
1944
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1956
1945
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1990,21 +1979,21 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1990
1979
|
persistence_failed: "persistence_failed";
|
|
1991
1980
|
}>;
|
|
1992
1981
|
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1993
|
-
unknown: "unknown";
|
|
1994
|
-
capacity: "capacity";
|
|
1995
1982
|
auth: "auth";
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
network: "network";
|
|
2000
|
-
server: "server";
|
|
1983
|
+
capacity: "capacity";
|
|
1984
|
+
content_policy: "content_policy";
|
|
1985
|
+
empty_output: "empty_output";
|
|
2001
1986
|
invalid_request: "invalid_request";
|
|
2002
1987
|
invalid_response: "invalid_response";
|
|
1988
|
+
network: "network";
|
|
1989
|
+
permission: "permission";
|
|
2003
1990
|
quota: "quota";
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
tool_errors: "tool_errors";
|
|
1991
|
+
rate_limit: "rate_limit";
|
|
1992
|
+
server: "server";
|
|
2007
1993
|
suppressed_output: "suppressed_output";
|
|
1994
|
+
timeout: "timeout";
|
|
1995
|
+
tool_errors: "tool_errors";
|
|
1996
|
+
unknown: "unknown";
|
|
2008
1997
|
}>>;
|
|
2009
1998
|
eventId: z.ZodOptional<z.ZodString>;
|
|
2010
1999
|
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2029,16 +2018,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2029
2018
|
title: z.ZodString;
|
|
2030
2019
|
}, z.core.$strict>>>;
|
|
2031
2020
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2032
|
-
|
|
2021
|
+
activity: "activity";
|
|
2022
|
+
brain: "brain";
|
|
2033
2023
|
calendar: "calendar";
|
|
2034
|
-
|
|
2024
|
+
check: "check";
|
|
2025
|
+
database: "database";
|
|
2035
2026
|
info: "info";
|
|
2036
2027
|
key: "key";
|
|
2037
2028
|
link: "link";
|
|
2038
|
-
activity: "activity";
|
|
2039
|
-
brain: "brain";
|
|
2040
|
-
database: "database";
|
|
2041
2029
|
sparkles: "sparkles";
|
|
2030
|
+
warning: "warning";
|
|
2042
2031
|
}>>;
|
|
2043
2032
|
preview: z.ZodOptional<z.ZodString>;
|
|
2044
2033
|
title: z.ZodString;
|
|
@@ -2075,16 +2064,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2075
2064
|
deny: "deny";
|
|
2076
2065
|
}>;
|
|
2077
2066
|
riskLevel: z.ZodEnum<{
|
|
2067
|
+
critical: "critical";
|
|
2068
|
+
high: "high";
|
|
2078
2069
|
low: "low";
|
|
2079
2070
|
medium: "medium";
|
|
2080
|
-
high: "high";
|
|
2081
|
-
critical: "critical";
|
|
2082
2071
|
}>;
|
|
2083
2072
|
userAuthorization: z.ZodEnum<{
|
|
2084
|
-
|
|
2073
|
+
high: "high";
|
|
2085
2074
|
low: "low";
|
|
2086
2075
|
medium: "medium";
|
|
2087
|
-
|
|
2076
|
+
unknown: "unknown";
|
|
2088
2077
|
}>;
|
|
2089
2078
|
}, z.core.$strict>, z.ZodObject<{
|
|
2090
2079
|
type: z.ZodLiteral<"compaction">;
|
|
@@ -2119,11 +2108,11 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2119
2108
|
title: z.ZodOptional<z.ZodString>;
|
|
2120
2109
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
2121
2110
|
status: z.ZodEnum<{
|
|
2122
|
-
|
|
2123
|
-
running: "running";
|
|
2111
|
+
aborted: "aborted";
|
|
2124
2112
|
blocked: "blocked";
|
|
2125
2113
|
completed: "completed";
|
|
2126
|
-
|
|
2114
|
+
error: "error";
|
|
2115
|
+
running: "running";
|
|
2127
2116
|
}>;
|
|
2128
2117
|
}, z.core.$strict>], "type">;
|
|
2129
2118
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -2170,8 +2159,8 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2170
2159
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2171
2160
|
createdAt: z.ZodString;
|
|
2172
2161
|
role: z.ZodEnum<{
|
|
2173
|
-
user: "user";
|
|
2174
2162
|
assistant: "assistant";
|
|
2163
|
+
user: "user";
|
|
2175
2164
|
}>;
|
|
2176
2165
|
text: z.ZodString;
|
|
2177
2166
|
}, z.core.$strict>>;
|
|
@@ -2223,13 +2212,13 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2223
2212
|
conversationId: z.ZodString;
|
|
2224
2213
|
isParticipant: z.ZodBoolean;
|
|
2225
2214
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2226
|
-
public: "public";
|
|
2227
2215
|
private: "private";
|
|
2216
|
+
public: "public";
|
|
2228
2217
|
}>>;
|
|
2229
2218
|
status: z.ZodEnum<{
|
|
2230
|
-
failed: "failed";
|
|
2231
|
-
completed: "completed";
|
|
2232
2219
|
active: "active";
|
|
2220
|
+
completed: "completed";
|
|
2221
|
+
failed: "failed";
|
|
2233
2222
|
}>;
|
|
2234
2223
|
startedAt: z.ZodString;
|
|
2235
2224
|
lastSeenAt: z.ZodString;
|
|
@@ -2263,35 +2252,35 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2263
2252
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2264
2253
|
kind: z.ZodLiteral<"resource_link">;
|
|
2265
2254
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2255
|
+
automation: "automation";
|
|
2256
|
+
calendar_event: "calendar_event";
|
|
2266
2257
|
code_change: "code_change";
|
|
2267
|
-
task: "task";
|
|
2268
2258
|
deployment: "deployment";
|
|
2269
|
-
calendar_event: "calendar_event";
|
|
2270
|
-
automation: "automation";
|
|
2271
2259
|
item: "item";
|
|
2260
|
+
task: "task";
|
|
2272
2261
|
}>>;
|
|
2273
2262
|
key: z.ZodString;
|
|
2274
2263
|
label: z.ZodString;
|
|
2275
2264
|
url: z.ZodString;
|
|
2276
2265
|
description: z.ZodOptional<z.ZodString>;
|
|
2277
2266
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2278
|
-
warning: "warning";
|
|
2279
|
-
draft: "draft";
|
|
2280
2267
|
closed: "closed";
|
|
2268
|
+
draft: "draft";
|
|
2281
2269
|
merged: "merged";
|
|
2282
2270
|
open: "open";
|
|
2271
|
+
warning: "warning";
|
|
2283
2272
|
}>>;
|
|
2284
2273
|
}, z.core.$strict>, z.ZodObject<{
|
|
2285
2274
|
kind: z.ZodLiteral<"object">;
|
|
2286
2275
|
key: z.ZodString;
|
|
2287
2276
|
label: z.ZodString;
|
|
2288
2277
|
objectType: z.ZodEnum<{
|
|
2278
|
+
automation: "automation";
|
|
2279
|
+
calendar_event: "calendar_event";
|
|
2289
2280
|
code_change: "code_change";
|
|
2290
|
-
task: "task";
|
|
2291
2281
|
deployment: "deployment";
|
|
2292
|
-
calendar_event: "calendar_event";
|
|
2293
|
-
automation: "automation";
|
|
2294
2282
|
item: "item";
|
|
2283
|
+
task: "task";
|
|
2295
2284
|
}>;
|
|
2296
2285
|
title: z.ZodString;
|
|
2297
2286
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -2308,9 +2297,9 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2308
2297
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
2309
2298
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2310
2299
|
review: z.ZodOptional<z.ZodEnum<{
|
|
2311
|
-
required: "required";
|
|
2312
2300
|
approved: "approved";
|
|
2313
2301
|
changes_requested: "changes_requested";
|
|
2302
|
+
required: "required";
|
|
2314
2303
|
}>>;
|
|
2315
2304
|
checks: z.ZodOptional<z.ZodObject<{
|
|
2316
2305
|
passed: z.ZodNumber;
|
|
@@ -2347,20 +2336,20 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2347
2336
|
}, z.core.$strip>>>>;
|
|
2348
2337
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2349
2338
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2350
|
-
"git-pull-request": "git-pull-request";
|
|
2351
|
-
"git-merge": "git-merge";
|
|
2352
|
-
"circle-dot": "circle-dot";
|
|
2353
2339
|
"circle-dashed": "circle-dashed";
|
|
2340
|
+
"circle-dot": "circle-dot";
|
|
2354
2341
|
"circle-x": "circle-x";
|
|
2342
|
+
"git-merge": "git-merge";
|
|
2343
|
+
"git-pull-request": "git-pull-request";
|
|
2355
2344
|
"triangle-alert": "triangle-alert";
|
|
2356
2345
|
}>>;
|
|
2357
2346
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2347
|
+
automation: "automation";
|
|
2348
|
+
calendar_event: "calendar_event";
|
|
2358
2349
|
code_change: "code_change";
|
|
2359
|
-
task: "task";
|
|
2360
2350
|
deployment: "deployment";
|
|
2361
|
-
calendar_event: "calendar_event";
|
|
2362
|
-
automation: "automation";
|
|
2363
2351
|
item: "item";
|
|
2352
|
+
task: "task";
|
|
2364
2353
|
}>>;
|
|
2365
2354
|
status: z.ZodOptional<z.ZodString>;
|
|
2366
2355
|
key: z.ZodString;
|
|
@@ -2560,8 +2549,6 @@ type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchem
|
|
|
2560
2549
|
type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
|
|
2561
2550
|
type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPendingMessagesBodySchema>;
|
|
2562
2551
|
type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
|
2563
|
-
//#endregion
|
|
2564
|
-
//#region src/api/schema/conversation-stop.d.ts
|
|
2565
2552
|
/**
|
|
2566
2553
|
* Result of stopping the active Turn.
|
|
2567
2554
|
*
|
|
@@ -2582,8 +2569,6 @@ export declare const stopConversationTurnResponseSchema: z.ZodObject<{
|
|
|
2582
2569
|
}, z.core.$strict>>;
|
|
2583
2570
|
}, z.core.$strict>;
|
|
2584
2571
|
type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseSchema>;
|
|
2585
|
-
//#endregion
|
|
2586
|
-
//#region src/api/schema/child-agent.d.ts
|
|
2587
2572
|
/**
|
|
2588
2573
|
* One direct child agent of a Conversation, from agent invocation records.
|
|
2589
2574
|
*
|
|
@@ -2642,12 +2627,12 @@ export declare const conversationChildAgentSchema: z.ZodObject<{
|
|
|
2642
2627
|
name: z.ZodOptional<z.ZodString>;
|
|
2643
2628
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2644
2629
|
status: z.ZodEnum<{
|
|
2645
|
-
|
|
2630
|
+
blocked: "blocked";
|
|
2631
|
+
completed: "completed";
|
|
2646
2632
|
failed: "failed";
|
|
2633
|
+
paused: "paused";
|
|
2647
2634
|
pending: "pending";
|
|
2648
2635
|
running: "running";
|
|
2649
|
-
blocked: "blocked";
|
|
2650
|
-
completed: "completed";
|
|
2651
2636
|
stopped: "stopped";
|
|
2652
2637
|
}>;
|
|
2653
2638
|
task: z.ZodOptional<z.ZodString>;
|
|
@@ -2707,12 +2692,12 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
2707
2692
|
name: z.ZodOptional<z.ZodString>;
|
|
2708
2693
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2709
2694
|
status: z.ZodEnum<{
|
|
2710
|
-
|
|
2695
|
+
blocked: "blocked";
|
|
2696
|
+
completed: "completed";
|
|
2711
2697
|
failed: "failed";
|
|
2698
|
+
paused: "paused";
|
|
2712
2699
|
pending: "pending";
|
|
2713
2700
|
running: "running";
|
|
2714
|
-
blocked: "blocked";
|
|
2715
|
-
completed: "completed";
|
|
2716
2701
|
stopped: "stopped";
|
|
2717
2702
|
}>;
|
|
2718
2703
|
task: z.ZodOptional<z.ZodString>;
|
|
@@ -2723,8 +2708,6 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
2723
2708
|
}, z.core.$strict>;
|
|
2724
2709
|
type ConversationChildAgent = z.infer<typeof conversationChildAgentSchema>;
|
|
2725
2710
|
type ConversationChildAgentsReport = z.infer<typeof conversationChildAgentsReportSchema>;
|
|
2726
|
-
//#endregion
|
|
2727
|
-
//#region src/api/schema/person.d.ts
|
|
2728
2711
|
export declare const personParamsSchema: z.ZodObject<{
|
|
2729
2712
|
email: z.ZodString;
|
|
2730
2713
|
}, z.core.$strict>;
|
|
@@ -2919,11 +2902,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2919
2902
|
}, z.core.$strict>>>;
|
|
2920
2903
|
generatedAt: z.ZodString;
|
|
2921
2904
|
locations: z.ZodArray<z.ZodObject<{
|
|
2922
|
-
failed: z.ZodNumber;
|
|
2923
|
-
durationMs: z.ZodNumber;
|
|
2924
|
-
label: z.ZodString;
|
|
2925
2905
|
active: z.ZodNumber;
|
|
2926
2906
|
conversations: z.ZodNumber;
|
|
2907
|
+
durationMs: z.ZodNumber;
|
|
2908
|
+
failed: z.ZodNumber;
|
|
2909
|
+
label: z.ZodString;
|
|
2927
2910
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2928
2911
|
}, z.core.$strict>>;
|
|
2929
2912
|
recentConversations: z.ZodArray<z.ZodObject<{
|
|
@@ -2931,8 +2914,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2931
2914
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2932
2915
|
createdAt: z.ZodString;
|
|
2933
2916
|
role: z.ZodEnum<{
|
|
2934
|
-
user: "user";
|
|
2935
2917
|
assistant: "assistant";
|
|
2918
|
+
user: "user";
|
|
2936
2919
|
}>;
|
|
2937
2920
|
text: z.ZodString;
|
|
2938
2921
|
}, z.core.$strict>>;
|
|
@@ -2984,13 +2967,13 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2984
2967
|
conversationId: z.ZodString;
|
|
2985
2968
|
isParticipant: z.ZodBoolean;
|
|
2986
2969
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2987
|
-
public: "public";
|
|
2988
2970
|
private: "private";
|
|
2971
|
+
public: "public";
|
|
2989
2972
|
}>>;
|
|
2990
2973
|
status: z.ZodEnum<{
|
|
2991
|
-
failed: "failed";
|
|
2992
|
-
completed: "completed";
|
|
2993
2974
|
active: "active";
|
|
2975
|
+
completed: "completed";
|
|
2976
|
+
failed: "failed";
|
|
2994
2977
|
}>;
|
|
2995
2978
|
startedAt: z.ZodString;
|
|
2996
2979
|
lastSeenAt: z.ZodString;
|
|
@@ -3024,35 +3007,35 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3024
3007
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3025
3008
|
kind: z.ZodLiteral<"resource_link">;
|
|
3026
3009
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3010
|
+
automation: "automation";
|
|
3011
|
+
calendar_event: "calendar_event";
|
|
3027
3012
|
code_change: "code_change";
|
|
3028
|
-
task: "task";
|
|
3029
3013
|
deployment: "deployment";
|
|
3030
|
-
calendar_event: "calendar_event";
|
|
3031
|
-
automation: "automation";
|
|
3032
3014
|
item: "item";
|
|
3015
|
+
task: "task";
|
|
3033
3016
|
}>>;
|
|
3034
3017
|
key: z.ZodString;
|
|
3035
3018
|
label: z.ZodString;
|
|
3036
3019
|
url: z.ZodString;
|
|
3037
3020
|
description: z.ZodOptional<z.ZodString>;
|
|
3038
3021
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3039
|
-
warning: "warning";
|
|
3040
|
-
draft: "draft";
|
|
3041
3022
|
closed: "closed";
|
|
3023
|
+
draft: "draft";
|
|
3042
3024
|
merged: "merged";
|
|
3043
3025
|
open: "open";
|
|
3026
|
+
warning: "warning";
|
|
3044
3027
|
}>>;
|
|
3045
3028
|
}, z.core.$strict>, z.ZodObject<{
|
|
3046
3029
|
kind: z.ZodLiteral<"object">;
|
|
3047
3030
|
key: z.ZodString;
|
|
3048
3031
|
label: z.ZodString;
|
|
3049
3032
|
objectType: z.ZodEnum<{
|
|
3033
|
+
automation: "automation";
|
|
3034
|
+
calendar_event: "calendar_event";
|
|
3050
3035
|
code_change: "code_change";
|
|
3051
|
-
task: "task";
|
|
3052
3036
|
deployment: "deployment";
|
|
3053
|
-
calendar_event: "calendar_event";
|
|
3054
|
-
automation: "automation";
|
|
3055
3037
|
item: "item";
|
|
3038
|
+
task: "task";
|
|
3056
3039
|
}>;
|
|
3057
3040
|
title: z.ZodString;
|
|
3058
3041
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -3069,9 +3052,9 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3069
3052
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
3070
3053
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3071
3054
|
review: z.ZodOptional<z.ZodEnum<{
|
|
3072
|
-
required: "required";
|
|
3073
3055
|
approved: "approved";
|
|
3074
3056
|
changes_requested: "changes_requested";
|
|
3057
|
+
required: "required";
|
|
3075
3058
|
}>>;
|
|
3076
3059
|
checks: z.ZodOptional<z.ZodObject<{
|
|
3077
3060
|
passed: z.ZodNumber;
|
|
@@ -3108,20 +3091,20 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3108
3091
|
}, z.core.$strip>>>>;
|
|
3109
3092
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3110
3093
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
3111
|
-
"git-pull-request": "git-pull-request";
|
|
3112
|
-
"git-merge": "git-merge";
|
|
3113
|
-
"circle-dot": "circle-dot";
|
|
3114
3094
|
"circle-dashed": "circle-dashed";
|
|
3095
|
+
"circle-dot": "circle-dot";
|
|
3115
3096
|
"circle-x": "circle-x";
|
|
3097
|
+
"git-merge": "git-merge";
|
|
3098
|
+
"git-pull-request": "git-pull-request";
|
|
3116
3099
|
"triangle-alert": "triangle-alert";
|
|
3117
3100
|
}>>;
|
|
3118
3101
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3102
|
+
automation: "automation";
|
|
3103
|
+
calendar_event: "calendar_event";
|
|
3119
3104
|
code_change: "code_change";
|
|
3120
|
-
task: "task";
|
|
3121
3105
|
deployment: "deployment";
|
|
3122
|
-
calendar_event: "calendar_event";
|
|
3123
|
-
automation: "automation";
|
|
3124
3106
|
item: "item";
|
|
3107
|
+
task: "task";
|
|
3125
3108
|
}>>;
|
|
3126
3109
|
status: z.ZodOptional<z.ZodString>;
|
|
3127
3110
|
key: z.ZodString;
|
|
@@ -3140,11 +3123,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3140
3123
|
}, z.core.$strict>;
|
|
3141
3124
|
source: z.ZodLiteral<"conversation_index">;
|
|
3142
3125
|
surfaces: z.ZodArray<z.ZodObject<{
|
|
3143
|
-
failed: z.ZodNumber;
|
|
3144
|
-
durationMs: z.ZodNumber;
|
|
3145
|
-
label: z.ZodString;
|
|
3146
3126
|
active: z.ZodNumber;
|
|
3147
3127
|
conversations: z.ZodNumber;
|
|
3128
|
+
durationMs: z.ZodNumber;
|
|
3129
|
+
failed: z.ZodNumber;
|
|
3130
|
+
label: z.ZodString;
|
|
3148
3131
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
3149
3132
|
}, z.core.$strict>>;
|
|
3150
3133
|
totals: z.ZodObject<{
|
|
@@ -3176,8 +3159,6 @@ type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
|
|
|
3176
3159
|
type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
|
|
3177
3160
|
type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
|
|
3178
3161
|
type PersonParams = z.infer<typeof personParamsSchema>;
|
|
3179
|
-
//#endregion
|
|
3180
|
-
//#region src/api/schema/location.d.ts
|
|
3181
3162
|
export declare const locationParamsSchema: z.ZodObject<{
|
|
3182
3163
|
locationId: z.ZodString;
|
|
3183
3164
|
}, z.core.$strict>;
|
|
@@ -3344,8 +3325,8 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3344
3325
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
3345
3326
|
createdAt: z.ZodString;
|
|
3346
3327
|
role: z.ZodEnum<{
|
|
3347
|
-
user: "user";
|
|
3348
3328
|
assistant: "assistant";
|
|
3329
|
+
user: "user";
|
|
3349
3330
|
}>;
|
|
3350
3331
|
text: z.ZodString;
|
|
3351
3332
|
}, z.core.$strict>>;
|
|
@@ -3397,13 +3378,13 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3397
3378
|
conversationId: z.ZodString;
|
|
3398
3379
|
isParticipant: z.ZodBoolean;
|
|
3399
3380
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3400
|
-
public: "public";
|
|
3401
3381
|
private: "private";
|
|
3382
|
+
public: "public";
|
|
3402
3383
|
}>>;
|
|
3403
3384
|
status: z.ZodEnum<{
|
|
3404
|
-
failed: "failed";
|
|
3405
|
-
completed: "completed";
|
|
3406
3385
|
active: "active";
|
|
3386
|
+
completed: "completed";
|
|
3387
|
+
failed: "failed";
|
|
3407
3388
|
}>;
|
|
3408
3389
|
startedAt: z.ZodString;
|
|
3409
3390
|
lastSeenAt: z.ZodString;
|
|
@@ -3437,35 +3418,35 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3437
3418
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3438
3419
|
kind: z.ZodLiteral<"resource_link">;
|
|
3439
3420
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3421
|
+
automation: "automation";
|
|
3422
|
+
calendar_event: "calendar_event";
|
|
3440
3423
|
code_change: "code_change";
|
|
3441
|
-
task: "task";
|
|
3442
3424
|
deployment: "deployment";
|
|
3443
|
-
calendar_event: "calendar_event";
|
|
3444
|
-
automation: "automation";
|
|
3445
3425
|
item: "item";
|
|
3426
|
+
task: "task";
|
|
3446
3427
|
}>>;
|
|
3447
3428
|
key: z.ZodString;
|
|
3448
3429
|
label: z.ZodString;
|
|
3449
3430
|
url: z.ZodString;
|
|
3450
3431
|
description: z.ZodOptional<z.ZodString>;
|
|
3451
3432
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3452
|
-
warning: "warning";
|
|
3453
|
-
draft: "draft";
|
|
3454
3433
|
closed: "closed";
|
|
3434
|
+
draft: "draft";
|
|
3455
3435
|
merged: "merged";
|
|
3456
3436
|
open: "open";
|
|
3437
|
+
warning: "warning";
|
|
3457
3438
|
}>>;
|
|
3458
3439
|
}, z.core.$strict>, z.ZodObject<{
|
|
3459
3440
|
kind: z.ZodLiteral<"object">;
|
|
3460
3441
|
key: z.ZodString;
|
|
3461
3442
|
label: z.ZodString;
|
|
3462
3443
|
objectType: z.ZodEnum<{
|
|
3444
|
+
automation: "automation";
|
|
3445
|
+
calendar_event: "calendar_event";
|
|
3463
3446
|
code_change: "code_change";
|
|
3464
|
-
task: "task";
|
|
3465
3447
|
deployment: "deployment";
|
|
3466
|
-
calendar_event: "calendar_event";
|
|
3467
|
-
automation: "automation";
|
|
3468
3448
|
item: "item";
|
|
3449
|
+
task: "task";
|
|
3469
3450
|
}>;
|
|
3470
3451
|
title: z.ZodString;
|
|
3471
3452
|
url: z.ZodNullable<z.ZodURL>;
|
|
@@ -3482,9 +3463,9 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3482
3463
|
targetBranch: z.ZodOptional<z.ZodString>;
|
|
3483
3464
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3484
3465
|
review: z.ZodOptional<z.ZodEnum<{
|
|
3485
|
-
required: "required";
|
|
3486
3466
|
approved: "approved";
|
|
3487
3467
|
changes_requested: "changes_requested";
|
|
3468
|
+
required: "required";
|
|
3488
3469
|
}>>;
|
|
3489
3470
|
checks: z.ZodOptional<z.ZodObject<{
|
|
3490
3471
|
passed: z.ZodNumber;
|
|
@@ -3521,20 +3502,20 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3521
3502
|
}, z.core.$strip>>>>;
|
|
3522
3503
|
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3523
3504
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
3524
|
-
"git-pull-request": "git-pull-request";
|
|
3525
|
-
"git-merge": "git-merge";
|
|
3526
|
-
"circle-dot": "circle-dot";
|
|
3527
3505
|
"circle-dashed": "circle-dashed";
|
|
3506
|
+
"circle-dot": "circle-dot";
|
|
3528
3507
|
"circle-x": "circle-x";
|
|
3508
|
+
"git-merge": "git-merge";
|
|
3509
|
+
"git-pull-request": "git-pull-request";
|
|
3529
3510
|
"triangle-alert": "triangle-alert";
|
|
3530
3511
|
}>>;
|
|
3531
3512
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
3513
|
+
automation: "automation";
|
|
3514
|
+
calendar_event: "calendar_event";
|
|
3532
3515
|
code_change: "code_change";
|
|
3533
|
-
task: "task";
|
|
3534
3516
|
deployment: "deployment";
|
|
3535
|
-
calendar_event: "calendar_event";
|
|
3536
|
-
automation: "automation";
|
|
3537
3517
|
item: "item";
|
|
3518
|
+
task: "task";
|
|
3538
3519
|
}>>;
|
|
3539
3520
|
status: z.ZodOptional<z.ZodString>;
|
|
3540
3521
|
key: z.ZodString;
|
|
@@ -3555,15 +3536,11 @@ type LocationActivityDayReport = z.infer<typeof locationActivityDayReportSchema>
|
|
|
3555
3536
|
type LocationDirectoryReport = z.infer<typeof locationDirectoryReportSchema>;
|
|
3556
3537
|
type LocationDetailReport = z.infer<typeof locationDetailReportSchema>;
|
|
3557
3538
|
type LocationParams = z.infer<typeof locationParamsSchema>;
|
|
3558
|
-
//#endregion
|
|
3559
|
-
//#region src/api/schema/common.d.ts
|
|
3560
3539
|
/** Stable error body returned by Junior-owned REST endpoints. */
|
|
3561
3540
|
export declare const apiErrorSchema: z.ZodObject<{
|
|
3562
3541
|
error: z.ZodString;
|
|
3563
3542
|
}, z.core.$strict>;
|
|
3564
3543
|
type ApiError = z.infer<typeof apiErrorSchema>;
|
|
3565
|
-
//#endregion
|
|
3566
|
-
//#region src/api/schema/connection.d.ts
|
|
3567
3544
|
export declare const connectionSchema: z.ZodObject<{
|
|
3568
3545
|
provider: z.ZodString;
|
|
3569
3546
|
displayName: z.ZodString;
|
|
@@ -3595,8 +3572,6 @@ export declare const startConnectionResponseSchema: z.ZodObject<{
|
|
|
3595
3572
|
export declare const disconnectConnectionResponseSchema: z.ZodObject<{
|
|
3596
3573
|
disconnected: z.ZodLiteral<true>;
|
|
3597
3574
|
}, z.core.$strict>;
|
|
3598
|
-
//#endregion
|
|
3599
|
-
//#region src/api/schema/personal-token.d.ts
|
|
3600
3575
|
export declare const personalTokenMetadataSchema: z.ZodObject<{
|
|
3601
3576
|
id: z.ZodString;
|
|
3602
3577
|
name: z.ZodString;
|
|
@@ -3634,8 +3609,6 @@ export declare const revokePersonalTokenResponseSchema: z.ZodObject<{
|
|
|
3634
3609
|
revoked: z.ZodLiteral<true>;
|
|
3635
3610
|
}, z.core.$strict>;
|
|
3636
3611
|
type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
|
|
3637
|
-
//#endregion
|
|
3638
|
-
//#region src/api/schema/workspace.d.ts
|
|
3639
3612
|
export declare const workspaceRepoSchema: z.ZodObject<{
|
|
3640
3613
|
provider: z.ZodString;
|
|
3641
3614
|
repo: z.ZodString;
|
|
@@ -3704,8 +3677,6 @@ export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
|
|
|
3704
3677
|
}, z.core.$strict>;
|
|
3705
3678
|
type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
|
|
3706
3679
|
type WorkspaceReport = z.infer<typeof workspaceSchema>;
|
|
3707
|
-
//#endregion
|
|
3708
|
-
//#region src/api/schema/automation.d.ts
|
|
3709
3680
|
/** Automation run counts for the dashboard range control (24h/7d/30d/90d). */
|
|
3710
3681
|
export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
3711
3682
|
1: z.ZodNumber;
|
|
@@ -3715,8 +3686,8 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
|
3715
3686
|
}, z.core.$strict>;
|
|
3716
3687
|
export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
3717
3688
|
credentialMode: z.ZodEnum<{
|
|
3718
|
-
system: "system";
|
|
3719
3689
|
creator: "creator";
|
|
3690
|
+
system: "system";
|
|
3720
3691
|
}>;
|
|
3721
3692
|
createdAt: z.ZodString;
|
|
3722
3693
|
createdBy: z.ZodString;
|
|
@@ -3727,8 +3698,8 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3727
3698
|
label: z.ZodString;
|
|
3728
3699
|
teamId: z.ZodString;
|
|
3729
3700
|
visibility: z.ZodEnum<{
|
|
3730
|
-
public: "public";
|
|
3731
3701
|
private: "private";
|
|
3702
|
+
public: "public";
|
|
3732
3703
|
}>;
|
|
3733
3704
|
}, z.core.$strict>;
|
|
3734
3705
|
id: z.ZodString;
|
|
@@ -3736,9 +3707,9 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3736
3707
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3737
3708
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3738
3709
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3739
|
-
failed: "failed";
|
|
3740
3710
|
blocked: "blocked";
|
|
3741
3711
|
completed: "completed";
|
|
3712
|
+
failed: "failed";
|
|
3742
3713
|
}>>;
|
|
3743
3714
|
ownedByViewer: z.ZodBoolean;
|
|
3744
3715
|
runs: z.ZodObject<{
|
|
@@ -3764,16 +3735,16 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3764
3735
|
timezone: z.ZodString;
|
|
3765
3736
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3766
3737
|
status: z.ZodEnum<{
|
|
3767
|
-
|
|
3738
|
+
active: "active";
|
|
3768
3739
|
blocked: "blocked";
|
|
3769
3740
|
completed: "completed";
|
|
3770
|
-
|
|
3741
|
+
paused: "paused";
|
|
3771
3742
|
}>;
|
|
3772
3743
|
}, z.core.$strict>;
|
|
3773
3744
|
export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
3774
3745
|
credentialMode: z.ZodEnum<{
|
|
3775
|
-
system: "system";
|
|
3776
3746
|
creator: "creator";
|
|
3747
|
+
system: "system";
|
|
3777
3748
|
}>;
|
|
3778
3749
|
createdAt: z.ZodString;
|
|
3779
3750
|
createdBy: z.ZodString;
|
|
@@ -3784,8 +3755,8 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3784
3755
|
label: z.ZodString;
|
|
3785
3756
|
teamId: z.ZodString;
|
|
3786
3757
|
visibility: z.ZodEnum<{
|
|
3787
|
-
public: "public";
|
|
3788
3758
|
private: "private";
|
|
3759
|
+
public: "public";
|
|
3789
3760
|
}>;
|
|
3790
3761
|
}, z.core.$strict>;
|
|
3791
3762
|
id: z.ZodString;
|
|
@@ -3793,9 +3764,9 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3793
3764
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3794
3765
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3795
3766
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3796
|
-
failed: "failed";
|
|
3797
3767
|
blocked: "blocked";
|
|
3798
3768
|
completed: "completed";
|
|
3769
|
+
failed: "failed";
|
|
3799
3770
|
}>>;
|
|
3800
3771
|
ownedByViewer: z.ZodBoolean;
|
|
3801
3772
|
runs: z.ZodObject<{
|
|
@@ -3823,15 +3794,15 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3823
3794
|
triggerAvailable: z.ZodBoolean;
|
|
3824
3795
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3825
3796
|
status: z.ZodEnum<{
|
|
3826
|
-
paused: "paused";
|
|
3827
|
-
blocked: "blocked";
|
|
3828
3797
|
active: "active";
|
|
3798
|
+
blocked: "blocked";
|
|
3799
|
+
paused: "paused";
|
|
3829
3800
|
}>;
|
|
3830
3801
|
}, z.core.$strict>;
|
|
3831
3802
|
export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3832
3803
|
credentialMode: z.ZodEnum<{
|
|
3833
|
-
system: "system";
|
|
3834
3804
|
creator: "creator";
|
|
3805
|
+
system: "system";
|
|
3835
3806
|
}>;
|
|
3836
3807
|
createdAt: z.ZodString;
|
|
3837
3808
|
createdBy: z.ZodString;
|
|
@@ -3842,8 +3813,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3842
3813
|
label: z.ZodString;
|
|
3843
3814
|
teamId: z.ZodString;
|
|
3844
3815
|
visibility: z.ZodEnum<{
|
|
3845
|
-
public: "public";
|
|
3846
3816
|
private: "private";
|
|
3817
|
+
public: "public";
|
|
3847
3818
|
}>;
|
|
3848
3819
|
}, z.core.$strict>;
|
|
3849
3820
|
id: z.ZodString;
|
|
@@ -3851,9 +3822,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3851
3822
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3852
3823
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3853
3824
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3854
|
-
failed: "failed";
|
|
3855
3825
|
blocked: "blocked";
|
|
3856
3826
|
completed: "completed";
|
|
3827
|
+
failed: "failed";
|
|
3857
3828
|
}>>;
|
|
3858
3829
|
ownedByViewer: z.ZodBoolean;
|
|
3859
3830
|
runs: z.ZodObject<{
|
|
@@ -3879,15 +3850,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3879
3850
|
timezone: z.ZodString;
|
|
3880
3851
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3881
3852
|
status: z.ZodEnum<{
|
|
3882
|
-
|
|
3853
|
+
active: "active";
|
|
3883
3854
|
blocked: "blocked";
|
|
3884
3855
|
completed: "completed";
|
|
3885
|
-
|
|
3856
|
+
paused: "paused";
|
|
3886
3857
|
}>;
|
|
3887
3858
|
}, z.core.$strict>, z.ZodObject<{
|
|
3888
3859
|
credentialMode: z.ZodEnum<{
|
|
3889
|
-
system: "system";
|
|
3890
3860
|
creator: "creator";
|
|
3861
|
+
system: "system";
|
|
3891
3862
|
}>;
|
|
3892
3863
|
createdAt: z.ZodString;
|
|
3893
3864
|
createdBy: z.ZodString;
|
|
@@ -3898,8 +3869,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3898
3869
|
label: z.ZodString;
|
|
3899
3870
|
teamId: z.ZodString;
|
|
3900
3871
|
visibility: z.ZodEnum<{
|
|
3901
|
-
public: "public";
|
|
3902
3872
|
private: "private";
|
|
3873
|
+
public: "public";
|
|
3903
3874
|
}>;
|
|
3904
3875
|
}, z.core.$strict>;
|
|
3905
3876
|
id: z.ZodString;
|
|
@@ -3907,9 +3878,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3907
3878
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3908
3879
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3909
3880
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3910
|
-
failed: "failed";
|
|
3911
3881
|
blocked: "blocked";
|
|
3912
3882
|
completed: "completed";
|
|
3883
|
+
failed: "failed";
|
|
3913
3884
|
}>>;
|
|
3914
3885
|
ownedByViewer: z.ZodBoolean;
|
|
3915
3886
|
runs: z.ZodObject<{
|
|
@@ -3937,9 +3908,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3937
3908
|
triggerAvailable: z.ZodBoolean;
|
|
3938
3909
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
3939
3910
|
status: z.ZodEnum<{
|
|
3940
|
-
paused: "paused";
|
|
3941
|
-
blocked: "blocked";
|
|
3942
3911
|
active: "active";
|
|
3912
|
+
blocked: "blocked";
|
|
3913
|
+
paused: "paused";
|
|
3943
3914
|
}>;
|
|
3944
3915
|
}, z.core.$strict>], "kind">;
|
|
3945
3916
|
/** One UTC day/hour of completed automation executions stacked by automation type. */
|
|
@@ -3952,30 +3923,30 @@ declare const automationExecutionDaySchema: z.ZodObject<{
|
|
|
3952
3923
|
export declare const automationListQuerySchema: z.ZodObject<{
|
|
3953
3924
|
q: z.ZodOptional<z.ZodString>;
|
|
3954
3925
|
scope: z.ZodDefault<z.ZodEnum<{
|
|
3955
|
-
public: "public";
|
|
3956
3926
|
all: "all";
|
|
3957
|
-
mine: "mine";
|
|
3958
3927
|
attention: "attention";
|
|
3928
|
+
mine: "mine";
|
|
3929
|
+
public: "public";
|
|
3959
3930
|
}>>;
|
|
3960
3931
|
type: z.ZodDefault<z.ZodEnum<{
|
|
3932
|
+
all: "all";
|
|
3961
3933
|
event: "event";
|
|
3962
3934
|
scheduled: "scheduled";
|
|
3963
|
-
all: "all";
|
|
3964
3935
|
}>>;
|
|
3965
3936
|
state: z.ZodDefault<z.ZodEnum<{
|
|
3966
|
-
paused: "paused";
|
|
3967
|
-
blocked: "blocked";
|
|
3968
|
-
completed: "completed";
|
|
3969
3937
|
active: "active";
|
|
3970
|
-
unavailable: "unavailable";
|
|
3971
3938
|
all: "all";
|
|
3939
|
+
blocked: "blocked";
|
|
3940
|
+
completed: "completed";
|
|
3941
|
+
paused: "paused";
|
|
3942
|
+
unavailable: "unavailable";
|
|
3972
3943
|
}>>;
|
|
3973
3944
|
creator: z.ZodOptional<z.ZodString>;
|
|
3974
3945
|
destination: z.ZodOptional<z.ZodString>;
|
|
3975
3946
|
sort: z.ZodDefault<z.ZodEnum<{
|
|
3976
|
-
title: "title";
|
|
3977
3947
|
newest: "newest";
|
|
3978
3948
|
oldest: "oldest";
|
|
3949
|
+
title: "title";
|
|
3979
3950
|
}>>;
|
|
3980
3951
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3981
3952
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4001,8 +3972,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4001
3972
|
}, z.core.$strict>>>;
|
|
4002
3973
|
automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4003
3974
|
credentialMode: z.ZodEnum<{
|
|
4004
|
-
system: "system";
|
|
4005
3975
|
creator: "creator";
|
|
3976
|
+
system: "system";
|
|
4006
3977
|
}>;
|
|
4007
3978
|
createdAt: z.ZodString;
|
|
4008
3979
|
createdBy: z.ZodString;
|
|
@@ -4013,8 +3984,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4013
3984
|
label: z.ZodString;
|
|
4014
3985
|
teamId: z.ZodString;
|
|
4015
3986
|
visibility: z.ZodEnum<{
|
|
4016
|
-
public: "public";
|
|
4017
3987
|
private: "private";
|
|
3988
|
+
public: "public";
|
|
4018
3989
|
}>;
|
|
4019
3990
|
}, z.core.$strict>;
|
|
4020
3991
|
id: z.ZodString;
|
|
@@ -4022,9 +3993,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4022
3993
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4023
3994
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4024
3995
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4025
|
-
failed: "failed";
|
|
4026
3996
|
blocked: "blocked";
|
|
4027
3997
|
completed: "completed";
|
|
3998
|
+
failed: "failed";
|
|
4028
3999
|
}>>;
|
|
4029
4000
|
ownedByViewer: z.ZodBoolean;
|
|
4030
4001
|
runs: z.ZodObject<{
|
|
@@ -4050,15 +4021,15 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4050
4021
|
timezone: z.ZodString;
|
|
4051
4022
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4052
4023
|
status: z.ZodEnum<{
|
|
4053
|
-
|
|
4024
|
+
active: "active";
|
|
4054
4025
|
blocked: "blocked";
|
|
4055
4026
|
completed: "completed";
|
|
4056
|
-
|
|
4027
|
+
paused: "paused";
|
|
4057
4028
|
}>;
|
|
4058
4029
|
}, z.core.$strict>, z.ZodObject<{
|
|
4059
4030
|
credentialMode: z.ZodEnum<{
|
|
4060
|
-
system: "system";
|
|
4061
4031
|
creator: "creator";
|
|
4032
|
+
system: "system";
|
|
4062
4033
|
}>;
|
|
4063
4034
|
createdAt: z.ZodString;
|
|
4064
4035
|
createdBy: z.ZodString;
|
|
@@ -4069,8 +4040,8 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4069
4040
|
label: z.ZodString;
|
|
4070
4041
|
teamId: z.ZodString;
|
|
4071
4042
|
visibility: z.ZodEnum<{
|
|
4072
|
-
public: "public";
|
|
4073
4043
|
private: "private";
|
|
4044
|
+
public: "public";
|
|
4074
4045
|
}>;
|
|
4075
4046
|
}, z.core.$strict>;
|
|
4076
4047
|
id: z.ZodString;
|
|
@@ -4078,9 +4049,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4078
4049
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4079
4050
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4080
4051
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4081
|
-
failed: "failed";
|
|
4082
4052
|
blocked: "blocked";
|
|
4083
4053
|
completed: "completed";
|
|
4054
|
+
failed: "failed";
|
|
4084
4055
|
}>>;
|
|
4085
4056
|
ownedByViewer: z.ZodBoolean;
|
|
4086
4057
|
runs: z.ZodObject<{
|
|
@@ -4108,9 +4079,9 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
4108
4079
|
triggerAvailable: z.ZodBoolean;
|
|
4109
4080
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4110
4081
|
status: z.ZodEnum<{
|
|
4111
|
-
paused: "paused";
|
|
4112
|
-
blocked: "blocked";
|
|
4113
4082
|
active: "active";
|
|
4083
|
+
blocked: "blocked";
|
|
4084
|
+
paused: "paused";
|
|
4114
4085
|
}>;
|
|
4115
4086
|
}, z.core.$strict>], "kind">>;
|
|
4116
4087
|
total: z.ZodNumber;
|
|
@@ -4135,9 +4106,9 @@ export declare const automationParamsSchema: z.ZodObject<{
|
|
|
4135
4106
|
id: z.ZodString;
|
|
4136
4107
|
}, z.core.$strict>;
|
|
4137
4108
|
export declare const automationExecutionStatusSchema: z.ZodEnum<{
|
|
4138
|
-
failed: "failed";
|
|
4139
4109
|
blocked: "blocked";
|
|
4140
4110
|
completed: "completed";
|
|
4111
|
+
failed: "failed";
|
|
4141
4112
|
}>;
|
|
4142
4113
|
export declare const automationExecutionSchema: z.ZodObject<{
|
|
4143
4114
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
@@ -4146,9 +4117,9 @@ export declare const automationExecutionSchema: z.ZodObject<{
|
|
|
4146
4117
|
executedAt: z.ZodString;
|
|
4147
4118
|
executionId: z.ZodString;
|
|
4148
4119
|
status: z.ZodEnum<{
|
|
4149
|
-
failed: "failed";
|
|
4150
4120
|
blocked: "blocked";
|
|
4151
4121
|
completed: "completed";
|
|
4122
|
+
failed: "failed";
|
|
4152
4123
|
}>;
|
|
4153
4124
|
title: z.ZodOptional<z.ZodString>;
|
|
4154
4125
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4186,17 +4157,17 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4186
4157
|
executedAt: z.ZodString;
|
|
4187
4158
|
executionId: z.ZodString;
|
|
4188
4159
|
status: z.ZodEnum<{
|
|
4189
|
-
failed: "failed";
|
|
4190
4160
|
blocked: "blocked";
|
|
4191
4161
|
completed: "completed";
|
|
4162
|
+
failed: "failed";
|
|
4192
4163
|
}>;
|
|
4193
4164
|
title: z.ZodOptional<z.ZodString>;
|
|
4194
4165
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
4195
4166
|
}, z.core.$strict>>;
|
|
4196
4167
|
automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4197
4168
|
credentialMode: z.ZodEnum<{
|
|
4198
|
-
system: "system";
|
|
4199
4169
|
creator: "creator";
|
|
4170
|
+
system: "system";
|
|
4200
4171
|
}>;
|
|
4201
4172
|
createdAt: z.ZodString;
|
|
4202
4173
|
createdBy: z.ZodString;
|
|
@@ -4207,8 +4178,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4207
4178
|
label: z.ZodString;
|
|
4208
4179
|
teamId: z.ZodString;
|
|
4209
4180
|
visibility: z.ZodEnum<{
|
|
4210
|
-
public: "public";
|
|
4211
4181
|
private: "private";
|
|
4182
|
+
public: "public";
|
|
4212
4183
|
}>;
|
|
4213
4184
|
}, z.core.$strict>;
|
|
4214
4185
|
id: z.ZodString;
|
|
@@ -4216,9 +4187,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4216
4187
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4217
4188
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4218
4189
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4219
|
-
failed: "failed";
|
|
4220
4190
|
blocked: "blocked";
|
|
4221
4191
|
completed: "completed";
|
|
4192
|
+
failed: "failed";
|
|
4222
4193
|
}>>;
|
|
4223
4194
|
ownedByViewer: z.ZodBoolean;
|
|
4224
4195
|
runs: z.ZodObject<{
|
|
@@ -4244,15 +4215,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4244
4215
|
timezone: z.ZodString;
|
|
4245
4216
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4246
4217
|
status: z.ZodEnum<{
|
|
4247
|
-
|
|
4218
|
+
active: "active";
|
|
4248
4219
|
blocked: "blocked";
|
|
4249
4220
|
completed: "completed";
|
|
4250
|
-
|
|
4221
|
+
paused: "paused";
|
|
4251
4222
|
}>;
|
|
4252
4223
|
}, z.core.$strict>, z.ZodObject<{
|
|
4253
4224
|
credentialMode: z.ZodEnum<{
|
|
4254
|
-
system: "system";
|
|
4255
4225
|
creator: "creator";
|
|
4226
|
+
system: "system";
|
|
4256
4227
|
}>;
|
|
4257
4228
|
createdAt: z.ZodString;
|
|
4258
4229
|
createdBy: z.ZodString;
|
|
@@ -4263,8 +4234,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4263
4234
|
label: z.ZodString;
|
|
4264
4235
|
teamId: z.ZodString;
|
|
4265
4236
|
visibility: z.ZodEnum<{
|
|
4266
|
-
public: "public";
|
|
4267
4237
|
private: "private";
|
|
4238
|
+
public: "public";
|
|
4268
4239
|
}>;
|
|
4269
4240
|
}, z.core.$strict>;
|
|
4270
4241
|
id: z.ZodString;
|
|
@@ -4272,9 +4243,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4272
4243
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
4273
4244
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
4274
4245
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
4275
|
-
failed: "failed";
|
|
4276
4246
|
blocked: "blocked";
|
|
4277
4247
|
completed: "completed";
|
|
4248
|
+
failed: "failed";
|
|
4278
4249
|
}>>;
|
|
4279
4250
|
ownedByViewer: z.ZodBoolean;
|
|
4280
4251
|
runs: z.ZodObject<{
|
|
@@ -4302,9 +4273,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4302
4273
|
triggerAvailable: z.ZodBoolean;
|
|
4303
4274
|
statusReason: z.ZodOptional<z.ZodString>;
|
|
4304
4275
|
status: z.ZodEnum<{
|
|
4305
|
-
paused: "paused";
|
|
4306
|
-
blocked: "blocked";
|
|
4307
4276
|
active: "active";
|
|
4277
|
+
blocked: "blocked";
|
|
4278
|
+
paused: "paused";
|
|
4308
4279
|
}>;
|
|
4309
4280
|
}, z.core.$strict>], "kind">;
|
|
4310
4281
|
truncated: z.ZodBoolean;
|
|
@@ -4316,9 +4287,9 @@ export declare const automationRunSchema: z.ZodObject<{
|
|
|
4316
4287
|
executedAt: z.ZodString;
|
|
4317
4288
|
executionId: z.ZodString;
|
|
4318
4289
|
status: z.ZodEnum<{
|
|
4319
|
-
failed: "failed";
|
|
4320
4290
|
blocked: "blocked";
|
|
4321
4291
|
completed: "completed";
|
|
4292
|
+
failed: "failed";
|
|
4322
4293
|
}>;
|
|
4323
4294
|
title: z.ZodOptional<z.ZodString>;
|
|
4324
4295
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4337,9 +4308,9 @@ export declare const automationRunListSchema: z.ZodObject<{
|
|
|
4337
4308
|
executedAt: z.ZodString;
|
|
4338
4309
|
executionId: z.ZodString;
|
|
4339
4310
|
status: z.ZodEnum<{
|
|
4340
|
-
failed: "failed";
|
|
4341
4311
|
blocked: "blocked";
|
|
4342
4312
|
completed: "completed";
|
|
4313
|
+
failed: "failed";
|
|
4343
4314
|
}>;
|
|
4344
4315
|
title: z.ZodOptional<z.ZodString>;
|
|
4345
4316
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4354,17 +4325,24 @@ export declare const automationRunListSchema: z.ZodObject<{
|
|
|
4354
4325
|
}, z.core.$strict>;
|
|
4355
4326
|
/** One saved Automation definition. Newer versions have larger numbers. */
|
|
4356
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>>;
|
|
4357
4335
|
kind: z.ZodLiteral<"scheduled">;
|
|
4358
4336
|
definition: z.ZodObject<{
|
|
4337
|
+
credentialMode: z.ZodEnum<{
|
|
4338
|
+
creator: "creator";
|
|
4339
|
+
system: "system";
|
|
4340
|
+
}>;
|
|
4359
4341
|
destination: z.ZodObject<{
|
|
4342
|
+
platform: z.ZodLiteral<"slack">;
|
|
4360
4343
|
teamId: z.ZodString;
|
|
4361
4344
|
channelId: z.ZodString;
|
|
4362
|
-
platform: z.ZodLiteral<"slack">;
|
|
4363
4345
|
}, z.core.$strict>;
|
|
4364
|
-
credentialMode: z.ZodEnum<{
|
|
4365
|
-
system: "system";
|
|
4366
|
-
creator: "creator";
|
|
4367
|
-
}>;
|
|
4368
4346
|
schedule: z.ZodObject<{
|
|
4369
4347
|
description: z.ZodString;
|
|
4370
4348
|
kind: z.ZodEnum<{
|
|
@@ -4375,8 +4353,8 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4375
4353
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4376
4354
|
frequency: z.ZodEnum<{
|
|
4377
4355
|
daily: "daily";
|
|
4378
|
-
weekly: "weekly";
|
|
4379
4356
|
monthly: "monthly";
|
|
4357
|
+
weekly: "weekly";
|
|
4380
4358
|
yearly: "yearly";
|
|
4381
4359
|
}>;
|
|
4382
4360
|
interval: z.ZodNumber;
|
|
@@ -4393,14 +4371,15 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4393
4371
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4394
4372
|
action: z.ZodLiteral<"send_message">;
|
|
4395
4373
|
destination: z.ZodObject<{
|
|
4374
|
+
platform: z.ZodLiteral<"slack">;
|
|
4396
4375
|
teamId: z.ZodString;
|
|
4397
4376
|
channelId: z.ZodString;
|
|
4398
|
-
platform: z.ZodLiteral<"slack">;
|
|
4399
4377
|
}, z.core.$strict>;
|
|
4400
4378
|
}, z.core.$strict>>;
|
|
4401
4379
|
title: z.ZodNullable<z.ZodString>;
|
|
4402
4380
|
instruction: z.ZodString;
|
|
4403
4381
|
}, z.core.$strict>;
|
|
4382
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4404
4383
|
version: z.ZodNumber;
|
|
4405
4384
|
createdAt: z.ZodString;
|
|
4406
4385
|
editedBy: z.ZodNullable<z.ZodObject<{
|
|
@@ -4408,14 +4387,25 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4408
4387
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4409
4388
|
userName: z.ZodOptional<z.ZodString>;
|
|
4410
4389
|
}, z.core.$strict>>;
|
|
4411
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4412
4390
|
kind: z.ZodLiteral<"event">;
|
|
4413
4391
|
definition: z.ZodObject<{
|
|
4392
|
+
credentialMode: z.ZodEnum<{
|
|
4393
|
+
creator: "creator";
|
|
4394
|
+
system: "system";
|
|
4395
|
+
}>;
|
|
4414
4396
|
destination: z.ZodObject<{
|
|
4397
|
+
platform: z.ZodLiteral<"slack">;
|
|
4415
4398
|
teamId: z.ZodString;
|
|
4416
4399
|
channelId: z.ZodString;
|
|
4417
|
-
platform: z.ZodLiteral<"slack">;
|
|
4418
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>>;
|
|
4419
4409
|
trigger: z.ZodObject<{
|
|
4420
4410
|
events: z.ZodArray<z.ZodString>;
|
|
4421
4411
|
label: z.ZodString;
|
|
@@ -4424,43 +4414,31 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
4424
4414
|
identifier: z.ZodString;
|
|
4425
4415
|
resourceType: z.ZodString;
|
|
4426
4416
|
}, z.core.$strict>;
|
|
4427
|
-
credentialMode: z.ZodEnum<{
|
|
4428
|
-
system: "system";
|
|
4429
|
-
creator: "creator";
|
|
4430
|
-
}>;
|
|
4431
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4432
|
-
action: z.ZodLiteral<"send_message">;
|
|
4433
|
-
destination: z.ZodObject<{
|
|
4434
|
-
teamId: z.ZodString;
|
|
4435
|
-
channelId: z.ZodString;
|
|
4436
|
-
platform: z.ZodLiteral<"slack">;
|
|
4437
|
-
}, z.core.$strict>;
|
|
4438
|
-
}, z.core.$strict>>;
|
|
4439
4417
|
title: z.ZodNullable<z.ZodString>;
|
|
4440
4418
|
instruction: z.ZodString;
|
|
4441
4419
|
}, z.core.$strict>;
|
|
4442
|
-
version: z.ZodNumber;
|
|
4443
|
-
createdAt: z.ZodString;
|
|
4444
|
-
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4445
|
-
slackUserId: z.ZodString;
|
|
4446
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
4447
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
4448
|
-
}, z.core.$strict>>;
|
|
4449
4420
|
}, z.core.$strict>], "kind">;
|
|
4450
4421
|
/** Newest versions first. */
|
|
4451
4422
|
export declare const automationVersionListSchema: z.ZodObject<{
|
|
4452
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>>;
|
|
4453
4431
|
kind: z.ZodLiteral<"scheduled">;
|
|
4454
4432
|
definition: z.ZodObject<{
|
|
4433
|
+
credentialMode: z.ZodEnum<{
|
|
4434
|
+
creator: "creator";
|
|
4435
|
+
system: "system";
|
|
4436
|
+
}>;
|
|
4455
4437
|
destination: z.ZodObject<{
|
|
4438
|
+
platform: z.ZodLiteral<"slack">;
|
|
4456
4439
|
teamId: z.ZodString;
|
|
4457
4440
|
channelId: z.ZodString;
|
|
4458
|
-
platform: z.ZodLiteral<"slack">;
|
|
4459
4441
|
}, z.core.$strict>;
|
|
4460
|
-
credentialMode: z.ZodEnum<{
|
|
4461
|
-
system: "system";
|
|
4462
|
-
creator: "creator";
|
|
4463
|
-
}>;
|
|
4464
4442
|
schedule: z.ZodObject<{
|
|
4465
4443
|
description: z.ZodString;
|
|
4466
4444
|
kind: z.ZodEnum<{
|
|
@@ -4471,8 +4449,8 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4471
4449
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4472
4450
|
frequency: z.ZodEnum<{
|
|
4473
4451
|
daily: "daily";
|
|
4474
|
-
weekly: "weekly";
|
|
4475
4452
|
monthly: "monthly";
|
|
4453
|
+
weekly: "weekly";
|
|
4476
4454
|
yearly: "yearly";
|
|
4477
4455
|
}>;
|
|
4478
4456
|
interval: z.ZodNumber;
|
|
@@ -4489,14 +4467,15 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4489
4467
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4490
4468
|
action: z.ZodLiteral<"send_message">;
|
|
4491
4469
|
destination: z.ZodObject<{
|
|
4470
|
+
platform: z.ZodLiteral<"slack">;
|
|
4492
4471
|
teamId: z.ZodString;
|
|
4493
4472
|
channelId: z.ZodString;
|
|
4494
|
-
platform: z.ZodLiteral<"slack">;
|
|
4495
4473
|
}, z.core.$strict>;
|
|
4496
4474
|
}, z.core.$strict>>;
|
|
4497
4475
|
title: z.ZodNullable<z.ZodString>;
|
|
4498
4476
|
instruction: z.ZodString;
|
|
4499
4477
|
}, z.core.$strict>;
|
|
4478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4500
4479
|
version: z.ZodNumber;
|
|
4501
4480
|
createdAt: z.ZodString;
|
|
4502
4481
|
editedBy: z.ZodNullable<z.ZodObject<{
|
|
@@ -4504,14 +4483,25 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4504
4483
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4505
4484
|
userName: z.ZodOptional<z.ZodString>;
|
|
4506
4485
|
}, z.core.$strict>>;
|
|
4507
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4508
4486
|
kind: z.ZodLiteral<"event">;
|
|
4509
4487
|
definition: z.ZodObject<{
|
|
4488
|
+
credentialMode: z.ZodEnum<{
|
|
4489
|
+
creator: "creator";
|
|
4490
|
+
system: "system";
|
|
4491
|
+
}>;
|
|
4510
4492
|
destination: z.ZodObject<{
|
|
4493
|
+
platform: z.ZodLiteral<"slack">;
|
|
4511
4494
|
teamId: z.ZodString;
|
|
4512
4495
|
channelId: z.ZodString;
|
|
4513
|
-
platform: z.ZodLiteral<"slack">;
|
|
4514
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>>;
|
|
4515
4505
|
trigger: z.ZodObject<{
|
|
4516
4506
|
events: z.ZodArray<z.ZodString>;
|
|
4517
4507
|
label: z.ZodString;
|
|
@@ -4520,28 +4510,9 @@ export declare const automationVersionListSchema: z.ZodObject<{
|
|
|
4520
4510
|
identifier: z.ZodString;
|
|
4521
4511
|
resourceType: z.ZodString;
|
|
4522
4512
|
}, z.core.$strict>;
|
|
4523
|
-
credentialMode: z.ZodEnum<{
|
|
4524
|
-
system: "system";
|
|
4525
|
-
creator: "creator";
|
|
4526
|
-
}>;
|
|
4527
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4528
|
-
action: z.ZodLiteral<"send_message">;
|
|
4529
|
-
destination: z.ZodObject<{
|
|
4530
|
-
teamId: z.ZodString;
|
|
4531
|
-
channelId: z.ZodString;
|
|
4532
|
-
platform: z.ZodLiteral<"slack">;
|
|
4533
|
-
}, z.core.$strict>;
|
|
4534
|
-
}, z.core.$strict>>;
|
|
4535
4513
|
title: z.ZodNullable<z.ZodString>;
|
|
4536
4514
|
instruction: z.ZodString;
|
|
4537
4515
|
}, z.core.$strict>;
|
|
4538
|
-
version: z.ZodNumber;
|
|
4539
|
-
createdAt: z.ZodString;
|
|
4540
|
-
editedBy: z.ZodNullable<z.ZodObject<{
|
|
4541
|
-
slackUserId: z.ZodString;
|
|
4542
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
4543
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
4544
|
-
}, z.core.$strict>>;
|
|
4545
4516
|
}, z.core.$strict>], "kind">>;
|
|
4546
4517
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
4547
4518
|
truncated: z.ZodBoolean;
|
|
@@ -4568,34 +4539,16 @@ export declare const automationVersionActivateSchema: z.ZodObject<{
|
|
|
4568
4539
|
}, z.core.$strict>;
|
|
4569
4540
|
/** Edit values for owners and public readers. Read schemas also retain legacy values. */
|
|
4570
4541
|
export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4571
|
-
destination: z.ZodObject<{
|
|
4572
|
-
teamId: z.ZodString;
|
|
4573
|
-
channelId: z.ZodString;
|
|
4574
|
-
platform: z.ZodLiteral<"slack">;
|
|
4575
|
-
}, z.core.$strict>;
|
|
4576
4542
|
createdBy: z.ZodObject<{
|
|
4577
4543
|
slackUserId: z.ZodString;
|
|
4578
4544
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4579
4545
|
userName: z.ZodOptional<z.ZodString>;
|
|
4580
4546
|
}, z.core.$strict>;
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
system: "system";
|
|
4587
|
-
creator: "creator";
|
|
4588
|
-
}>;
|
|
4589
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
4590
|
-
action: z.ZodLiteral<"send_message">;
|
|
4591
|
-
destination: z.ZodObject<{
|
|
4592
|
-
platform: z.ZodLiteral<"slack">;
|
|
4593
|
-
teamId: z.ZodString;
|
|
4594
|
-
channelId: z.ZodString;
|
|
4595
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
4596
|
-
}, z.core.$strict>;
|
|
4597
|
-
}, z.core.$strict>>;
|
|
4598
|
-
ownedByViewer: z.ZodBoolean;
|
|
4547
|
+
destination: z.ZodObject<{
|
|
4548
|
+
platform: z.ZodLiteral<"slack">;
|
|
4549
|
+
teamId: z.ZodString;
|
|
4550
|
+
channelId: z.ZodString;
|
|
4551
|
+
}, z.core.$strict>;
|
|
4599
4552
|
schedule: z.ZodObject<{
|
|
4600
4553
|
description: z.ZodString;
|
|
4601
4554
|
kind: z.ZodEnum<{
|
|
@@ -4606,8 +4559,8 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4606
4559
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4607
4560
|
frequency: z.ZodEnum<{
|
|
4608
4561
|
daily: "daily";
|
|
4609
|
-
weekly: "weekly";
|
|
4610
4562
|
monthly: "monthly";
|
|
4563
|
+
weekly: "weekly";
|
|
4611
4564
|
yearly: "yearly";
|
|
4612
4565
|
}>;
|
|
4613
4566
|
interval: z.ZodNumber;
|
|
@@ -4621,32 +4574,50 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4621
4574
|
}, z.core.$strict>>;
|
|
4622
4575
|
timezone: z.ZodString;
|
|
4623
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;
|
|
4624
4595
|
kind: z.ZodLiteral<"scheduled">;
|
|
4625
4596
|
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
4626
4597
|
status: z.ZodEnum<{
|
|
4627
|
-
|
|
4598
|
+
active: "active";
|
|
4628
4599
|
blocked: "blocked";
|
|
4629
4600
|
completed: "completed";
|
|
4630
|
-
|
|
4601
|
+
paused: "paused";
|
|
4631
4602
|
}>;
|
|
4632
4603
|
}, z.core.$strict>, z.ZodObject<{
|
|
4633
|
-
destination: z.ZodObject<{
|
|
4634
|
-
teamId: z.ZodString;
|
|
4635
|
-
channelId: z.ZodString;
|
|
4636
|
-
platform: z.ZodLiteral<"slack">;
|
|
4637
|
-
}, z.core.$strict>;
|
|
4638
4604
|
createdBy: z.ZodObject<{
|
|
4639
4605
|
slackUserId: z.ZodString;
|
|
4640
4606
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4641
4607
|
userName: z.ZodOptional<z.ZodString>;
|
|
4642
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>;
|
|
4643
4614
|
id: z.ZodString;
|
|
4644
4615
|
revision: z.ZodString;
|
|
4645
4616
|
title: z.ZodNullable<z.ZodString>;
|
|
4646
4617
|
instruction: z.ZodString;
|
|
4647
4618
|
credentialMode: z.ZodEnum<{
|
|
4648
|
-
system: "system";
|
|
4649
4619
|
creator: "creator";
|
|
4620
|
+
system: "system";
|
|
4650
4621
|
}>;
|
|
4651
4622
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
4652
4623
|
action: z.ZodLiteral<"send_message">;
|
|
@@ -4669,9 +4640,9 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4669
4640
|
}, z.core.$strict>;
|
|
4670
4641
|
triggerAvailable: z.ZodBoolean;
|
|
4671
4642
|
status: z.ZodEnum<{
|
|
4672
|
-
paused: "paused";
|
|
4673
|
-
blocked: "blocked";
|
|
4674
4643
|
active: "active";
|
|
4644
|
+
blocked: "blocked";
|
|
4645
|
+
paused: "paused";
|
|
4675
4646
|
}>;
|
|
4676
4647
|
}, z.core.$strict>], "kind">;
|
|
4677
4648
|
/** Partial edits require the revision returned by the edit read. */
|
|
@@ -4679,9 +4650,24 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4679
4650
|
title: z.ZodOptional<z.ZodString>;
|
|
4680
4651
|
instruction: z.ZodOptional<z.ZodString>;
|
|
4681
4652
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4682
|
-
system: "system";
|
|
4683
4653
|
creator: "creator";
|
|
4654
|
+
system: "system";
|
|
4684
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>]>>>;
|
|
4685
4671
|
schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4686
4672
|
kind: z.ZodLiteral<"one_off">;
|
|
4687
4673
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4689,10 +4675,10 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4689
4675
|
type: z.ZodLiteral<"after">;
|
|
4690
4676
|
value: z.ZodNumber;
|
|
4691
4677
|
unit: z.ZodEnum<{
|
|
4678
|
+
day: "day";
|
|
4692
4679
|
hour: "hour";
|
|
4693
4680
|
minute: "minute";
|
|
4694
4681
|
second: "second";
|
|
4695
|
-
day: "day";
|
|
4696
4682
|
week: "week";
|
|
4697
4683
|
}>;
|
|
4698
4684
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4704,49 +4690,34 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4704
4690
|
kind: z.ZodLiteral<"recurring">;
|
|
4705
4691
|
frequency: z.ZodEnum<{
|
|
4706
4692
|
daily: "daily";
|
|
4707
|
-
weekly: "weekly";
|
|
4708
4693
|
monthly: "monthly";
|
|
4694
|
+
weekly: "weekly";
|
|
4709
4695
|
yearly: "yearly";
|
|
4710
4696
|
}>;
|
|
4711
4697
|
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4712
4698
|
time: z.ZodString;
|
|
4713
4699
|
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4714
|
-
|
|
4700
|
+
friday: "friday";
|
|
4715
4701
|
monday: "monday";
|
|
4702
|
+
saturday: "saturday";
|
|
4703
|
+
sunday: "sunday";
|
|
4704
|
+
thursday: "thursday";
|
|
4716
4705
|
tuesday: "tuesday";
|
|
4717
4706
|
wednesday: "wednesday";
|
|
4718
|
-
thursday: "thursday";
|
|
4719
|
-
friday: "friday";
|
|
4720
|
-
saturday: "saturday";
|
|
4721
4707
|
}>>>>;
|
|
4722
4708
|
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4723
4709
|
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4724
4710
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4725
4711
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4726
4712
|
}, z.core.$strict>]>>;
|
|
4727
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4728
|
-
action: z.ZodLiteral<"send_message">;
|
|
4729
|
-
destination: z.ZodEnum<{
|
|
4730
|
-
current_conversation: "current_conversation";
|
|
4731
|
-
task_creator: "task_creator";
|
|
4732
|
-
}>;
|
|
4733
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4734
|
-
action: z.ZodLiteral<"send_message">;
|
|
4735
|
-
destination: z.ZodObject<{
|
|
4736
|
-
platform: z.ZodLiteral<"slack">;
|
|
4737
|
-
teamId: z.ZodString;
|
|
4738
|
-
channelId: z.ZodString;
|
|
4739
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
4740
|
-
}, z.core.$strict>;
|
|
4741
|
-
}, z.core.$strict>]>>>;
|
|
4742
4713
|
kind: z.ZodLiteral<"scheduled">;
|
|
4743
4714
|
revision: z.ZodString;
|
|
4744
4715
|
}, z.core.$strict>, z.ZodObject<{
|
|
4745
4716
|
title: z.ZodOptional<z.ZodString>;
|
|
4746
4717
|
instruction: z.ZodOptional<z.ZodString>;
|
|
4747
4718
|
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4748
|
-
system: "system";
|
|
4749
4719
|
creator: "creator";
|
|
4720
|
+
system: "system";
|
|
4750
4721
|
}>>;
|
|
4751
4722
|
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4752
4723
|
action: z.ZodLiteral<"send_message">;
|
|
@@ -4777,8 +4748,8 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
4777
4748
|
export declare const automationEditErrorSchema: z.ZodObject<{
|
|
4778
4749
|
error: z.ZodString;
|
|
4779
4750
|
code: z.ZodEnum<{
|
|
4780
|
-
invalid_edit: "invalid_edit";
|
|
4781
4751
|
conflict: "conflict";
|
|
4752
|
+
invalid_edit: "invalid_edit";
|
|
4782
4753
|
not_found: "not_found";
|
|
4783
4754
|
}>;
|
|
4784
4755
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
@@ -4796,9 +4767,9 @@ export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
|
4796
4767
|
suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4797
4768
|
matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4798
4769
|
kind: z.ZodEnum<{
|
|
4799
|
-
string: "string";
|
|
4800
|
-
number: "number";
|
|
4801
4770
|
boolean: "boolean";
|
|
4771
|
+
number: "number";
|
|
4772
|
+
string: "string";
|
|
4802
4773
|
}>;
|
|
4803
4774
|
description: z.ZodString;
|
|
4804
4775
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4813,10 +4784,10 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
4813
4784
|
type: z.ZodLiteral<"after">;
|
|
4814
4785
|
value: z.ZodNumber;
|
|
4815
4786
|
unit: z.ZodEnum<{
|
|
4787
|
+
day: "day";
|
|
4816
4788
|
hour: "hour";
|
|
4817
4789
|
minute: "minute";
|
|
4818
4790
|
second: "second";
|
|
4819
|
-
day: "day";
|
|
4820
4791
|
week: "week";
|
|
4821
4792
|
}>;
|
|
4822
4793
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4828,20 +4799,20 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
4828
4799
|
kind: z.ZodLiteral<"recurring">;
|
|
4829
4800
|
frequency: z.ZodEnum<{
|
|
4830
4801
|
daily: "daily";
|
|
4831
|
-
weekly: "weekly";
|
|
4832
4802
|
monthly: "monthly";
|
|
4803
|
+
weekly: "weekly";
|
|
4833
4804
|
yearly: "yearly";
|
|
4834
4805
|
}>;
|
|
4835
4806
|
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4836
4807
|
time: z.ZodString;
|
|
4837
4808
|
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4838
|
-
|
|
4809
|
+
friday: "friday";
|
|
4839
4810
|
monday: "monday";
|
|
4811
|
+
saturday: "saturday";
|
|
4812
|
+
sunday: "sunday";
|
|
4813
|
+
thursday: "thursday";
|
|
4840
4814
|
tuesday: "tuesday";
|
|
4841
4815
|
wednesday: "wednesday";
|
|
4842
|
-
thursday: "thursday";
|
|
4843
|
-
friday: "friday";
|
|
4844
|
-
saturday: "saturday";
|
|
4845
4816
|
}>>>>;
|
|
4846
4817
|
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4847
4818
|
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4859,8 +4830,8 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
|
4859
4830
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4860
4831
|
frequency: z.ZodEnum<{
|
|
4861
4832
|
daily: "daily";
|
|
4862
|
-
weekly: "weekly";
|
|
4863
4833
|
monthly: "monthly";
|
|
4834
|
+
weekly: "weekly";
|
|
4864
4835
|
yearly: "yearly";
|
|
4865
4836
|
}>;
|
|
4866
4837
|
interval: z.ZodNumber;
|
|
@@ -4877,8 +4848,6 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
|
4877
4848
|
nextRunAtMs: z.ZodNumber;
|
|
4878
4849
|
}, z.core.$strict>;
|
|
4879
4850
|
type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
|
|
4880
|
-
//#endregion
|
|
4881
|
-
//#region src/api/schema/stats.d.ts
|
|
4882
4851
|
export declare const statSchema: z.ZodObject<{
|
|
4883
4852
|
count: z.ZodNumber;
|
|
4884
4853
|
date: z.ZodString;
|
|
@@ -4900,8 +4869,6 @@ export declare const statsReportSchema: z.ZodObject<{
|
|
|
4900
4869
|
}, z.core.$strict>;
|
|
4901
4870
|
type StatReport = z.infer<typeof statSchema>;
|
|
4902
4871
|
type StatsReport = z.infer<typeof statsReportSchema>;
|
|
4903
|
-
//#endregion
|
|
4904
|
-
//#region src/reporting-schema.d.ts
|
|
4905
4872
|
export declare const healthReportSchema: z.ZodObject<{
|
|
4906
4873
|
status: z.ZodLiteral<"ok">;
|
|
4907
4874
|
service: z.ZodString;
|
|
@@ -4972,10 +4939,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
4972
4939
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4973
4940
|
label: z.ZodString;
|
|
4974
4941
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4975
|
-
warning: "warning";
|
|
4976
4942
|
danger: "danger";
|
|
4977
4943
|
good: "good";
|
|
4978
4944
|
neutral: "neutral";
|
|
4945
|
+
warning: "warning";
|
|
4979
4946
|
}>>;
|
|
4980
4947
|
value: z.ZodString;
|
|
4981
4948
|
}, z.core.$strict>>>;
|
|
@@ -4988,10 +4955,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
4988
4955
|
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4989
4956
|
id: z.ZodString;
|
|
4990
4957
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
4991
|
-
warning: "warning";
|
|
4992
4958
|
danger: "danger";
|
|
4993
4959
|
good: "good";
|
|
4994
4960
|
neutral: "neutral";
|
|
4961
|
+
warning: "warning";
|
|
4995
4962
|
}>>;
|
|
4996
4963
|
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4997
4964
|
}, z.core.$strict>>>;
|
|
@@ -5013,10 +4980,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
|
5013
4980
|
key: z.ZodString;
|
|
5014
4981
|
label: z.ZodString;
|
|
5015
4982
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5016
|
-
warning: "warning";
|
|
5017
4983
|
danger: "danger";
|
|
5018
4984
|
good: "good";
|
|
5019
4985
|
neutral: "neutral";
|
|
4986
|
+
warning: "warning";
|
|
5020
4987
|
}>>;
|
|
5021
4988
|
}, z.core.$strict>>;
|
|
5022
4989
|
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
@@ -5031,10 +4998,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
5031
4998
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5032
4999
|
label: z.ZodString;
|
|
5033
5000
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5034
|
-
warning: "warning";
|
|
5035
5001
|
danger: "danger";
|
|
5036
5002
|
good: "good";
|
|
5037
5003
|
neutral: "neutral";
|
|
5004
|
+
warning: "warning";
|
|
5038
5005
|
}>>;
|
|
5039
5006
|
value: z.ZodString;
|
|
5040
5007
|
}, z.core.$strict>>>;
|
|
@@ -5047,10 +5014,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
5047
5014
|
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5048
5015
|
id: z.ZodString;
|
|
5049
5016
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5050
|
-
warning: "warning";
|
|
5051
5017
|
danger: "danger";
|
|
5052
5018
|
good: "good";
|
|
5053
5019
|
neutral: "neutral";
|
|
5020
|
+
warning: "warning";
|
|
5054
5021
|
}>>;
|
|
5055
5022
|
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5056
5023
|
}, z.core.$strict>>>;
|
|
@@ -5072,10 +5039,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
|
5072
5039
|
key: z.ZodString;
|
|
5073
5040
|
label: z.ZodString;
|
|
5074
5041
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
5075
|
-
warning: "warning";
|
|
5076
5042
|
danger: "danger";
|
|
5077
5043
|
good: "good";
|
|
5078
5044
|
neutral: "neutral";
|
|
5045
|
+
warning: "warning";
|
|
5079
5046
|
}>>;
|
|
5080
5047
|
}, z.core.$strict>>;
|
|
5081
5048
|
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
@@ -5095,5 +5062,4 @@ type PluginPackageContentItemReport = z.infer<typeof pluginPackageContentItemRep
|
|
|
5095
5062
|
type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchema>;
|
|
5096
5063
|
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
5097
5064
|
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
5098
|
-
//#endregion
|
|
5099
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 };
|