@sentry/junior 0.310.0 → 0.312.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/{adapter-context-BhKpjpGD.js → adapter-context-BRjEWRy1.js} +2 -2
- package/dist/adapter-iIq7ihf7.js +259 -0
- package/dist/{admin-tgZEZAk2.js → admin-DhInw5K9.js} +1 -2
- package/dist/{agent-runner-D9cvNlQl.js → agent-runner-C9iDurwX.js} +6507 -7721
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -6
- package/dist/api.d.ts +21 -3
- package/dist/api.js +1625 -535
- package/dist/{app-B_7Wn0en.d.ts → app-DRFrC8Mw.d.ts} +14 -10
- package/dist/app.d.ts +2 -2
- package/dist/app.js +454 -994
- package/dist/{background-compaction-queue-BGHqkhkY.js → background-compaction-queue-DrKi7w3d.js} +10 -85
- package/dist/callback-mFlTUWWx.js +75 -0
- package/dist/{catalog-runtime-BxwzbLKY.js → catalog-runtime-D7xapBAX.js} +1 -1
- package/dist/channel-access-CJGfNTdn.js +221 -0
- package/dist/child-message-DcsritGf.js +179 -0
- package/dist/cli/chat.js +18 -19
- package/dist/cli/check.js +23 -29
- package/dist/cli/init.js +1 -7
- package/dist/cli/main.js +3 -7
- package/dist/cli/plugins.js +8 -7
- package/dist/cli/run.d.ts +1 -2
- package/dist/cli/run.js +1 -2
- package/dist/cli/snapshot-create.js +5 -5
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{config-Dkt2Le2b.js → config-kXB2Y5tl.js} +294 -28
- package/dist/{continue-in-slack-BWVwePKD.js → continue-in-slack-O6pV5004.js} +7 -7
- package/dist/{conversation-feed-Ci6YD1N-.js → conversation-feed-uNOv_x68.js} +87 -24
- package/dist/{conversation-privacy-C39g8BY4.js → conversation-privacy-L4ja1_W6.js} +1 -1
- package/dist/{conversation-turn-CBlZIH02.js → conversation-turn-CeLbHqdw.js} +56 -49
- package/dist/{credential-sync-vGnrB0BY.js → credential-sync-I8VBGk05.js} +16 -16
- package/dist/{projection-jZSlEAXG.js → credentialed-Cb6E2phL.js} +16268 -16821
- package/dist/{db-B4Hjxr-u.d.ts → db-BbC5stfa.d.ts} +13 -6
- package/dist/{db-CFZggNoy.js → db-LAyyX8tk.js} +1698 -1046
- package/dist/{executor-BPkZDx5-.js → executor-SCub-fAq.js} +552 -181
- package/dist/{html-2r2KmLwi.js → html-BCZ3Xtb_.js} +6 -6
- package/dist/{session-stop-BfY4rhJs.js → ingest-BDf3D50j.js} +2134 -2553
- package/dist/{install-C-oE6C_u.js → install-DCFJFkC0.js} +2 -2
- package/dist/instrumentation.js +4 -4
- package/dist/{lineage-CsvrEFQe.js → lineage-B_m-4TJw.js} +2 -2
- package/dist/{stop-DYzjRf2U.js → list-CN2QA2R9.js} +1656 -685
- package/dist/{logging-D5gkyvnK.js → logging-dQ9ZRGQ8.js} +47 -9
- package/dist/media-CYm1QD8T.js +2356 -0
- package/dist/{message-DwvJ-I3w.js → message-DSXGj1hM.js} +19 -29
- package/dist/{model-input-MAq2881y.js → model-input--TrP9hYV.js} +3 -3
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +4 -3
- package/dist/{oauth-callback-server-DIF6Li06.js → oauth-callback-server-DHCZC6B4.js} +2 -2
- package/dist/{oauth-relay-DPE-wrwO.js → oauth-relay-pPMGnDZt.js} +1 -1
- package/dist/{registry-BBkWFCl8.js → registry-CZOzddwu.js} +5 -8
- package/dist/{resolve-B38MkHXE.js → resolve-cKOQ14Dh.js} +3 -3
- package/dist/{result-BaqSZcJb.js → result-DcvEOe1r.js} +119 -93
- package/dist/result-event-type-BdIJuZxg.js +48 -0
- package/dist/rule-DAxQY-1h.js +20 -0
- package/dist/{runner-11h8PrHh.js → runner-DBfUW44l.js} +14 -16
- package/dist/{sandbox-egress-signals-CTcACAtJ.js → sandbox-egress-signals-BVF_xAm1.js} +1 -1
- package/dist/{schema-DriSvB40.d.ts → schema-BEHKxr4I.d.ts} +861 -298
- package/dist/{schema-obw5jvR4.js → schema-Bk9Nm2E8.js} +344 -153
- package/dist/{service-account-Bx93N1n1.js → service-account-CVYsFjty.js} +3 -3
- package/dist/{service-account-Zc5bUcIJ.js → service-account-Ts4ulcrV.js} +68 -68
- package/dist/{skills-C8Npu5zO.js → skills-VTnhAJWm.js} +2 -2
- package/dist/{slack-conversation-unfurl-DlRVA02H.js → slack-conversation-unfurl-fuLnF1jE.js} +9 -11
- package/dist/{spawn-CXr58R0x.js → spawn-vxAarlX5.js} +6 -6
- package/dist/start-conversation-CEn2KH1A.js +941 -0
- package/dist/{state-CGrGVeQC.js → state-C1P3_Ywk.js} +4 -4
- package/dist/statuses-_cRJHXK7.js +150 -0
- package/dist/store-DFZaN-Ix.js +492 -0
- package/dist/task-queue-Cx4Lmjyk.js +90 -0
- package/dist/task-runner-CbTwFA6k.js +1432 -0
- package/dist/{thread-context-Dyj1KWaY.js → thread-context-BkAZDTX2.js} +13 -11
- package/dist/thread-state-DhPndWi1.js +5625 -0
- package/dist/{validation-DxVNIxA0.js → validation-nIzMtAVJ.js} +1 -1
- package/dist/{task-queue-CaZffYaH.js → vercel-queue-hW90XzbG.js} +93 -172
- package/dist/{version-Cr7Z71yG.js → version-Brbtz4Qf.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{warmup-C6LOZ2d2.js → warmup-BDA5myRK.js} +5832 -4567
- package/dist/web-message-id-C6P83ans.js +10 -0
- package/dist/{worker-CUBtu1Li.js → worker-D63RcaVD.js} +20 -8
- package/migrations/0126_artifact_drop_public.sql +8 -0
- package/migrations/0127_artifact_path.sql +4 -0
- package/migrations/0128_artifact_path_index.sql +1 -0
- package/migrations/0129_review_item_answered_index.sql +1 -0
- package/migrations/0130_review_item_status_index.sql +1 -0
- package/migrations/0131_brief_outcome_status.sql +1 -0
- package/migrations/0132_brief_outcome_status_backfill.sql +7 -0
- package/migrations/0133_brief_created_at_index.sql +1 -0
- package/migrations/0134_slack_person_search_index.sql +1 -0
- package/migrations/0135_code_change_size.sql +3 -0
- package/migrations/0136_merge_conflict_notice_dismiss.sql +16 -0
- package/migrations/0137_inbox_snoozes.sql +27 -0
- package/migrations/0138_code_change_search_index.sql +2 -0
- package/migrations/0139_review_item_owner.sql +22 -0
- package/migrations/0140_review_item_owner_index.sql +1 -0
- package/migrations/0141_memory_core_adoption.sql +89 -0
- package/migrations/0142_memory_core_indexes.sql +17 -0
- package/migrations/0143_todos.sql +14 -0
- package/migrations/0144_inbox_items.sql +32 -0
- package/migrations/0145_todo_changed_by_agent.sql +1 -0
- package/migrations/0146_inbox_item_subject_title_parts.sql +1 -0
- package/migrations/0147_inbox_snooze_wake_reason.sql +1 -0
- package/migrations/0148_authorization_request_index.sql +1 -0
- package/migrations/0149_conversation_metadata.sql +10 -0
- package/migrations/0150_conversation_metadata_fill.sql +39 -0
- package/migrations/0151_conversation_search_index.sql +1 -0
- package/migrations/0152_inbox_item_legacy_automation_keys.sql +21 -0
- package/migrations/0153_artifact_expiry.sql +1 -0
- package/migrations/0154_artifact_permanent_sha_index.sql +1 -0
- package/migrations/0155_artifact_drop_public_sha_index.sql +3 -0
- package/migrations/0156_conversation_kind_lead.sql +6 -0
- package/migrations/0157_conversation_lead_actor_index.sql +1 -0
- package/migrations/meta/0126_snapshot.json +5488 -0
- package/migrations/meta/0127_snapshot.json +5519 -0
- package/migrations/meta/0128_snapshot.json +5519 -0
- package/migrations/meta/0129_snapshot.json +5547 -0
- package/migrations/meta/0130_snapshot.json +5563 -0
- package/migrations/meta/0131_snapshot.json +5569 -0
- package/migrations/meta/0132_snapshot.json +5569 -0
- package/migrations/meta/0133_snapshot.json +5590 -0
- package/migrations/meta/0134_snapshot.json +5606 -0
- package/migrations/meta/0135_snapshot.json +5624 -0
- package/migrations/meta/0136_snapshot.json +5624 -0
- package/migrations/meta/0137_snapshot.json +5864 -0
- package/migrations/meta/0138_snapshot.json +5894 -0
- package/migrations/meta/0139_snapshot.json +5898 -0
- package/migrations/meta/0140_snapshot.json +5919 -0
- package/migrations/meta/0141_snapshot.json +6429 -0
- package/migrations/meta/0142_snapshot.json +6457 -0
- package/migrations/meta/0143_snapshot.json +6434 -0
- package/migrations/meta/0144_snapshot.json +6434 -0
- package/migrations/meta/0145_snapshot.json +6440 -0
- package/migrations/meta/0146_snapshot.json +6446 -0
- package/migrations/meta/0147_snapshot.json +6452 -0
- package/migrations/meta/0148_snapshot.json +6474 -0
- package/migrations/meta/0149_snapshot.json +6490 -0
- package/migrations/meta/0150_snapshot.json +6490 -0
- package/migrations/meta/0151_snapshot.json +6505 -0
- package/migrations/meta/0152_snapshot.json +6505 -0
- package/migrations/meta/0153_snapshot.json +6511 -0
- package/migrations/meta/0154_snapshot.json +6533 -0
- package/migrations/meta/0155_snapshot.json +6511 -0
- package/migrations/meta/0156_snapshot.json +6511 -0
- package/migrations/meta/0157_snapshot.json +6527 -0
- package/migrations/meta/_journal.json +224 -0
- package/package.json +7 -8
- package/skills/design-automation-skill/SKILL.md +108 -0
- package/dist/briefs-DKxkoruh.js +0 -395
- package/dist/conversation-M9KZ5JxF.js +0 -1024
- package/dist/prompt-CaMyeCpA.js +0 -910
- package/dist/schedule-DWxZ3kja.js +0 -1146
- package/dist/store-D4FQ1Nml.js +0 -335
- package/dist/task-runner-Dm7BHbGp.js +0 -287
- package/dist/turn-session-routing-CD0BRCex.js +0 -263
- package/dist/turn-user-message-9IxeEv5v.js +0 -364
- package/dist/users-CaUAYMb3.js +0 -181
- package/dist/viewer-AHldghAD.js +0 -212
- package/dist/web-message-id-BT8Mg8LL.js +0 -418
|
@@ -41,32 +41,7 @@ declare function webMessageId(args: {
|
|
|
41
41
|
conversationId: string;
|
|
42
42
|
idempotencyKey: string;
|
|
43
43
|
}): Promise<string>;
|
|
44
|
-
|
|
45
|
-
id: z.ZodString;
|
|
46
|
-
label: z.ZodString;
|
|
47
|
-
description: z.ZodOptional<z.ZodString>;
|
|
48
|
-
kind: z.ZodLiteral<"choice">;
|
|
49
|
-
options: z.ZodArray<z.ZodObject<{
|
|
50
|
-
label: z.ZodString;
|
|
51
|
-
description: z.ZodOptional<z.ZodString>;
|
|
52
|
-
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
}, z.core.$strip>>;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
id: z.ZodString;
|
|
56
|
-
label: z.ZodString;
|
|
57
|
-
description: z.ZodOptional<z.ZodString>;
|
|
58
|
-
kind: z.ZodLiteral<"multi_choice">;
|
|
59
|
-
options: z.ZodArray<z.ZodObject<{
|
|
60
|
-
label: z.ZodString;
|
|
61
|
-
description: z.ZodOptional<z.ZodString>;
|
|
62
|
-
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
-
}, z.core.$strip>>;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
id: z.ZodString;
|
|
66
|
-
label: z.ZodString;
|
|
67
|
-
description: z.ZodOptional<z.ZodString>;
|
|
68
|
-
kind: z.ZodLiteral<"text">;
|
|
69
|
-
}, z.core.$strip>], "kind">;
|
|
44
|
+
/** A request that an agent writes. Each choice field has two options or more. */
|
|
70
45
|
declare const userInputRequestSchema: z.ZodObject<{
|
|
71
46
|
question: z.ZodString;
|
|
72
47
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -106,7 +81,7 @@ declare const USER_INPUT_NOTE: {
|
|
|
106
81
|
readonly description: "Optional. This note is sent together with your answers above.";
|
|
107
82
|
};
|
|
108
83
|
/** One field of a user input request. */
|
|
109
|
-
type UserInputField =
|
|
84
|
+
type UserInputField = UserInputRequest["fields"][number];
|
|
110
85
|
/** A question with one or more fields for a person to answer. */
|
|
111
86
|
type UserInputRequest = z.output<typeof userInputRequestSchema>;
|
|
112
87
|
/**
|
|
@@ -131,6 +106,11 @@ declare function buttonUserInputField(request: UserInputRequest): Extract<UserIn
|
|
|
131
106
|
* option labels, one value for a `choice` field, and trimmed text.
|
|
132
107
|
*/
|
|
133
108
|
declare function normalizeUserInputAnswer(request: UserInputRequest, answer: UserInputAnswer): UserInputAnswer;
|
|
109
|
+
/**
|
|
110
|
+
* Return the option labels that an answer picked, in field order. Text
|
|
111
|
+
* fields and the note pick no option.
|
|
112
|
+
*/
|
|
113
|
+
declare function answeredChoices(request: UserInputRequest, answer: UserInputAnswer): string[];
|
|
134
114
|
/** Return true when an answer has no value and no free text. */
|
|
135
115
|
declare function isEmptyUserInputAnswer(answer: UserInputAnswer): boolean;
|
|
136
116
|
/** Saved automation facts shown with a Message, not a live status view. */
|
|
@@ -197,11 +177,14 @@ declare const conversationTurnFailureReasonSchema: z.ZodEnum<{
|
|
|
197
177
|
tool_errors: "tool_errors";
|
|
198
178
|
unknown: "unknown";
|
|
199
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* The status of one Conversation's own work. See `TERMINOLOGY.md` and
|
|
182
|
+
* `conversationStatusSql`, the only place that derives it.
|
|
183
|
+
*/
|
|
200
184
|
declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
stopped: "stopped";
|
|
185
|
+
done: "done";
|
|
186
|
+
needs_input: "needs_input";
|
|
187
|
+
working: "working";
|
|
205
188
|
}>;
|
|
206
189
|
declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
207
190
|
api: "api";
|
|
@@ -338,6 +321,7 @@ declare const conversationActivityPreviewSchema: z.ZodObject<{
|
|
|
338
321
|
}, z.core.$strict>;
|
|
339
322
|
declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
340
323
|
displayTitle: z.ZodString;
|
|
324
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
341
325
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
342
326
|
createdAt: z.ZodString;
|
|
343
327
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -401,6 +385,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
401
385
|
conversationId: z.ZodString;
|
|
402
386
|
kind: z.ZodEnum<{
|
|
403
387
|
automation: "automation";
|
|
388
|
+
lead: "lead";
|
|
404
389
|
root: "root";
|
|
405
390
|
task: "task";
|
|
406
391
|
thread: "thread";
|
|
@@ -412,11 +397,17 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
412
397
|
public: "public";
|
|
413
398
|
}>>;
|
|
414
399
|
status: z.ZodEnum<{
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
stopped: "stopped";
|
|
400
|
+
done: "done";
|
|
401
|
+
needs_input: "needs_input";
|
|
402
|
+
working: "working";
|
|
419
403
|
}>;
|
|
404
|
+
treeState: z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
done: "done";
|
|
406
|
+
needs_you: "needs_you";
|
|
407
|
+
working: "working";
|
|
408
|
+
}>>;
|
|
409
|
+
watching: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
+
turnActive: z.ZodBoolean;
|
|
420
411
|
startedAt: z.ZodString;
|
|
421
412
|
lastSeenAt: z.ZodString;
|
|
422
413
|
lastProgressAt: z.ZodString;
|
|
@@ -747,12 +738,18 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
747
738
|
title: z.ZodOptional<z.ZodString>;
|
|
748
739
|
url: z.ZodOptional<z.ZodString>;
|
|
749
740
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
741
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
744
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
745
|
+
}, z.core.$strict>>;
|
|
750
746
|
}, z.core.$strict>>>;
|
|
751
747
|
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
752
748
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
753
749
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
754
750
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
755
751
|
awaitingAuthorization: z.ZodOptional<z.ZodBoolean>;
|
|
752
|
+
latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
|
|
756
753
|
}, z.core.$strict>;
|
|
757
754
|
/** One Event listed on a message that holds several Events. */
|
|
758
755
|
declare const conversationReportMessageEventSchema: z.ZodObject<{
|
|
@@ -804,6 +801,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
804
801
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
805
802
|
eventType: z.ZodOptional<z.ZodString>;
|
|
806
803
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
804
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
807
805
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
808
806
|
alert: "alert";
|
|
809
807
|
automation: "automation";
|
|
@@ -898,6 +896,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
898
896
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
899
897
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
900
898
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
899
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
901
900
|
}, z.core.$strict>>;
|
|
902
901
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
903
902
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1085,6 +1084,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1085
1084
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1086
1085
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1087
1086
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
1088
1088
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1089
1089
|
alert: "alert";
|
|
1090
1090
|
automation: "automation";
|
|
@@ -1179,6 +1179,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1179
1179
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
1180
1180
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
1181
1181
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
1182
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
1182
1183
|
}, z.core.$strict>>;
|
|
1183
1184
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
1184
1185
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1398,21 +1399,12 @@ declare const conversationModelUsageSchema: z.ZodObject<{
|
|
|
1398
1399
|
}, z.core.$strict>>;
|
|
1399
1400
|
}, z.core.$strict>;
|
|
1400
1401
|
}, z.core.$strict>;
|
|
1401
|
-
declare const forkConversationBodySchema: z.ZodObject<{
|
|
1402
|
-
messageId: z.ZodString;
|
|
1403
|
-
idempotencyKey: z.ZodString;
|
|
1404
|
-
quickQuestion: z.ZodOptional<z.ZodObject<{
|
|
1405
|
-
quote: z.ZodString;
|
|
1406
|
-
}, z.core.$strict>>;
|
|
1407
|
-
}, z.core.$strict>;
|
|
1408
|
-
declare const forkConversationResponseSchema: z.ZodObject<{
|
|
1409
|
-
conversationId: z.ZodString;
|
|
1410
|
-
}, z.core.$strict>;
|
|
1411
1402
|
/** One Conversation in the agent tree of a child Conversation. */
|
|
1412
1403
|
declare const conversationAgentTreeNodeSchema: z.ZodObject<{
|
|
1413
1404
|
conversationId: z.ZodString;
|
|
1414
1405
|
kind: z.ZodEnum<{
|
|
1415
1406
|
automation: "automation";
|
|
1407
|
+
lead: "lead";
|
|
1416
1408
|
root: "root";
|
|
1417
1409
|
task: "task";
|
|
1418
1410
|
thread: "thread";
|
|
@@ -1449,6 +1441,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1449
1441
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1450
1442
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1451
1443
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
1452
1445
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1453
1446
|
alert: "alert";
|
|
1454
1447
|
automation: "automation";
|
|
@@ -1543,6 +1536,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1543
1536
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
1544
1537
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
1545
1538
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
1539
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
1546
1540
|
}, z.core.$strict>>;
|
|
1547
1541
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
1548
1542
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1749,8 +1743,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1749
1743
|
}, z.core.$strict>;
|
|
1750
1744
|
/**
|
|
1751
1745
|
* Carries the detail version token in both directions. A custom header, not
|
|
1752
|
-
* `ETag
|
|
1753
|
-
* validators itself, after the function had already built the full report.
|
|
1746
|
+
* `ETag`, for the reason on `CONTENT_VERSION_HEADER`.
|
|
1754
1747
|
*/
|
|
1755
1748
|
declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
|
|
1756
1749
|
/**
|
|
@@ -1761,6 +1754,7 @@ declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
|
|
|
1761
1754
|
declare const CONVERSATION_VERSION_HEADER = "x-junior-conversation-version";
|
|
1762
1755
|
declare const conversationDetailReportSchema: z.ZodObject<{
|
|
1763
1756
|
displayTitle: z.ZodString;
|
|
1757
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1764
1758
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
1765
1759
|
createdAt: z.ZodString;
|
|
1766
1760
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1824,6 +1818,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1824
1818
|
conversationId: z.ZodString;
|
|
1825
1819
|
kind: z.ZodEnum<{
|
|
1826
1820
|
automation: "automation";
|
|
1821
|
+
lead: "lead";
|
|
1827
1822
|
root: "root";
|
|
1828
1823
|
task: "task";
|
|
1829
1824
|
thread: "thread";
|
|
@@ -1835,11 +1830,17 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1835
1830
|
public: "public";
|
|
1836
1831
|
}>>;
|
|
1837
1832
|
status: z.ZodEnum<{
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
stopped: "stopped";
|
|
1833
|
+
done: "done";
|
|
1834
|
+
needs_input: "needs_input";
|
|
1835
|
+
working: "working";
|
|
1842
1836
|
}>;
|
|
1837
|
+
treeState: z.ZodOptional<z.ZodEnum<{
|
|
1838
|
+
done: "done";
|
|
1839
|
+
needs_you: "needs_you";
|
|
1840
|
+
working: "working";
|
|
1841
|
+
}>>;
|
|
1842
|
+
watching: z.ZodOptional<z.ZodBoolean>;
|
|
1843
|
+
turnActive: z.ZodBoolean;
|
|
1843
1844
|
startedAt: z.ZodString;
|
|
1844
1845
|
lastSeenAt: z.ZodString;
|
|
1845
1846
|
lastProgressAt: z.ZodString;
|
|
@@ -2170,16 +2171,23 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2170
2171
|
title: z.ZodOptional<z.ZodString>;
|
|
2171
2172
|
url: z.ZodOptional<z.ZodString>;
|
|
2172
2173
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
2175
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
2176
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
2177
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
+
}, z.core.$strict>>;
|
|
2173
2179
|
}, z.core.$strict>>>;
|
|
2174
2180
|
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2175
2181
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
2176
2182
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
2177
2183
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2178
2184
|
awaitingAuthorization: z.ZodOptional<z.ZodBoolean>;
|
|
2185
|
+
latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
|
|
2179
2186
|
agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2180
2187
|
conversationId: z.ZodString;
|
|
2181
2188
|
kind: z.ZodEnum<{
|
|
2182
2189
|
automation: "automation";
|
|
2190
|
+
lead: "lead";
|
|
2183
2191
|
root: "root";
|
|
2184
2192
|
task: "task";
|
|
2185
2193
|
thread: "thread";
|
|
@@ -2224,6 +2232,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2224
2232
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
2225
2233
|
eventType: z.ZodOptional<z.ZodString>;
|
|
2226
2234
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
2235
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
2227
2236
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
2228
2237
|
alert: "alert";
|
|
2229
2238
|
automation: "automation";
|
|
@@ -2318,6 +2327,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2318
2327
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
2319
2328
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
2320
2329
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
2330
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
2321
2331
|
}, z.core.$strict>>;
|
|
2322
2332
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
2323
2333
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2525,86 +2535,13 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2525
2535
|
forkedFromConversationId: z.ZodOptional<z.ZodString>;
|
|
2526
2536
|
forkedFromTitle: z.ZodOptional<z.ZodString>;
|
|
2527
2537
|
forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
participants: z.ZodArray<z.ZodObject<{
|
|
2536
|
-
name: z.ZodString;
|
|
2537
|
-
messages: z.ZodNumber;
|
|
2538
|
-
}, z.core.$strict>>;
|
|
2539
|
-
userMessages: z.ZodNumber;
|
|
2540
|
-
assistantMessages: z.ZodNumber;
|
|
2541
|
-
toolResults: z.ZodNumber;
|
|
2542
|
-
events: z.ZodNumber;
|
|
2543
|
-
turns: z.ZodOptional<z.ZodNumber>;
|
|
2544
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
2545
|
-
provider: z.ZodString;
|
|
2546
|
-
channelName: z.ZodOptional<z.ZodString>;
|
|
2547
|
-
}, z.core.$strict>>;
|
|
2548
|
-
codeChanges: z.ZodArray<z.ZodObject<{
|
|
2549
|
-
repository: z.ZodString;
|
|
2550
|
-
number: z.ZodNumber;
|
|
2551
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2552
|
-
url: z.ZodString;
|
|
2553
|
-
state: z.ZodEnum<{
|
|
2554
|
-
closed: "closed";
|
|
2555
|
-
merged: "merged";
|
|
2556
|
-
open: "open";
|
|
2557
|
-
}>;
|
|
2558
|
-
openedAt: z.ZodOptional<z.ZodString>;
|
|
2559
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
2560
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
2561
|
-
}, z.core.$strict>>;
|
|
2562
|
-
}, z.core.$strict>;
|
|
2563
|
-
summary: z.ZodString;
|
|
2564
|
-
intent: z.ZodString;
|
|
2565
|
-
outcome: z.ZodObject<{
|
|
2566
|
-
status: z.ZodEnum<{
|
|
2567
|
-
abandoned: "abandoned";
|
|
2568
|
-
answered: "answered";
|
|
2569
|
-
blocked: "blocked";
|
|
2570
|
-
done: "done";
|
|
2571
|
-
in_progress: "in_progress";
|
|
2572
|
-
partial: "partial";
|
|
2573
|
-
}>;
|
|
2574
|
-
text: z.ZodString;
|
|
2575
|
-
}, z.core.$strict>;
|
|
2576
|
-
decisions: z.ZodArray<z.ZodObject<{
|
|
2577
|
-
text: z.ZodString;
|
|
2578
|
-
by: z.ZodOptional<z.ZodString>;
|
|
2579
|
-
kind: z.ZodEnum<{
|
|
2580
|
-
assumed: "assumed";
|
|
2581
|
-
confirmed: "confirmed";
|
|
2582
|
-
stated: "stated";
|
|
2583
|
-
}>;
|
|
2584
|
-
}, z.core.$strict>>;
|
|
2585
|
-
facts: z.ZodArray<z.ZodString>;
|
|
2586
|
-
links: z.ZodArray<z.ZodObject<{
|
|
2587
|
-
kind: z.ZodEnum<{
|
|
2588
|
-
code_change: "code_change";
|
|
2589
|
-
resource: "resource";
|
|
2590
|
-
url: "url";
|
|
2591
|
-
}>;
|
|
2592
|
-
label: z.ZodString;
|
|
2593
|
-
url: z.ZodString;
|
|
2594
|
-
status: z.ZodOptional<z.ZodString>;
|
|
2595
|
-
}, z.core.$strict>>;
|
|
2596
|
-
keywords: z.ZodArray<z.ZodString>;
|
|
2597
|
-
}, z.core.$strict>;
|
|
2598
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2599
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2600
|
-
email: z.ZodOptional<z.ZodString>;
|
|
2601
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
2602
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2603
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2604
|
-
}, z.core.$strict>>>;
|
|
2605
|
-
updatedAt: z.ZodString;
|
|
2606
|
-
version: z.ZodNumber;
|
|
2607
|
-
}, z.core.$strict>>;
|
|
2538
|
+
summaryMentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2539
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
}, z.core.$strict>>>;
|
|
2608
2545
|
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2609
2546
|
modelId: z.ZodString;
|
|
2610
2547
|
usage: z.ZodObject<{
|
|
@@ -2656,6 +2593,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2656
2593
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
2657
2594
|
eventType: z.ZodOptional<z.ZodString>;
|
|
2658
2595
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
2659
2597
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
2660
2598
|
alert: "alert";
|
|
2661
2599
|
automation: "automation";
|
|
@@ -2750,6 +2688,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2750
2688
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
2751
2689
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
2752
2690
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
2691
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
2753
2692
|
}, z.core.$strict>>;
|
|
2754
2693
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
2755
2694
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2995,11 +2934,11 @@ type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
|
|
|
2995
2934
|
type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
|
|
2996
2935
|
type AcceptedConversationMessage = z.infer<typeof acceptedConversationMessageSchema>;
|
|
2997
2936
|
/**
|
|
2998
|
-
* Build the card of one Conversation that the viewer may read. Give
|
|
2999
|
-
* only when the viewer may see
|
|
2937
|
+
* Build the card of one Conversation that the viewer may read. Give
|
|
2938
|
+
* `description` only when the viewer may see private content.
|
|
3000
2939
|
*/
|
|
3001
2940
|
declare function conversationObjectCard(args: {
|
|
3002
|
-
|
|
2941
|
+
description?: string | undefined;
|
|
3003
2942
|
participants: readonly ActorIdentity[];
|
|
3004
2943
|
summary: Pick<ConversationSummaryReport, "archivedAt" | "conversationId" | "displayTitle" | "lastSeenAt" | "status">;
|
|
3005
2944
|
url: string;
|
|
@@ -3361,6 +3300,11 @@ declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
|
3361
3300
|
openedAt: z.ZodString;
|
|
3362
3301
|
provider: z.ZodString;
|
|
3363
3302
|
repository: z.ZodString;
|
|
3303
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
3304
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
3305
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
3306
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
3307
|
+
}, z.core.$strict>>;
|
|
3364
3308
|
state: z.ZodEnum<{
|
|
3365
3309
|
closed: "closed";
|
|
3366
3310
|
merged: "merged";
|
|
@@ -3398,6 +3342,11 @@ declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
3398
3342
|
openedAt: z.ZodString;
|
|
3399
3343
|
provider: z.ZodString;
|
|
3400
3344
|
repository: z.ZodString;
|
|
3345
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
3346
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
3347
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
3348
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
3349
|
+
}, z.core.$strict>>;
|
|
3401
3350
|
state: z.ZodEnum<{
|
|
3402
3351
|
closed: "closed";
|
|
3403
3352
|
merged: "merged";
|
|
@@ -3433,6 +3382,37 @@ declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
3433
3382
|
windowEnd: z.ZodString;
|
|
3434
3383
|
windowStart: z.ZodString;
|
|
3435
3384
|
}, z.core.$strict>;
|
|
3385
|
+
/** A search of tracked code changes, for the composer `#` menu. */
|
|
3386
|
+
declare const codeChangeSearchQuerySchema: z.ZodObject<{
|
|
3387
|
+
q: z.ZodString;
|
|
3388
|
+
}, z.core.$strict>;
|
|
3389
|
+
/** A tracked code change that a Message can link to. */
|
|
3390
|
+
declare const mentionableCodeChangeSchema: z.ZodObject<{
|
|
3391
|
+
draft: z.ZodBoolean;
|
|
3392
|
+
number: z.ZodNumber;
|
|
3393
|
+
repository: z.ZodString;
|
|
3394
|
+
state: z.ZodEnum<{
|
|
3395
|
+
closed: "closed";
|
|
3396
|
+
merged: "merged";
|
|
3397
|
+
open: "open";
|
|
3398
|
+
}>;
|
|
3399
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3400
|
+
url: z.ZodString;
|
|
3401
|
+
}, z.core.$strict>;
|
|
3402
|
+
declare const codeChangeSearchReportSchema: z.ZodObject<{
|
|
3403
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3404
|
+
draft: z.ZodBoolean;
|
|
3405
|
+
number: z.ZodNumber;
|
|
3406
|
+
repository: z.ZodString;
|
|
3407
|
+
state: z.ZodEnum<{
|
|
3408
|
+
closed: "closed";
|
|
3409
|
+
merged: "merged";
|
|
3410
|
+
open: "open";
|
|
3411
|
+
}>;
|
|
3412
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3413
|
+
url: z.ZodString;
|
|
3414
|
+
}, z.core.$strict>>;
|
|
3415
|
+
}, z.core.$strict>;
|
|
3436
3416
|
declare const codeRepositoryParamsSchema: z.ZodObject<{
|
|
3437
3417
|
repositoryId: z.ZodString;
|
|
3438
3418
|
}, z.core.$strict>;
|
|
@@ -3479,6 +3459,11 @@ declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
|
3479
3459
|
openedAt: z.ZodString;
|
|
3480
3460
|
provider: z.ZodString;
|
|
3481
3461
|
repository: z.ZodString;
|
|
3462
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
3463
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
3464
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
3465
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
3466
|
+
}, z.core.$strict>>;
|
|
3482
3467
|
state: z.ZodEnum<{
|
|
3483
3468
|
closed: "closed";
|
|
3484
3469
|
merged: "merged";
|
|
@@ -3542,6 +3527,11 @@ declare const codePersonReportSchema: z.ZodObject<{
|
|
|
3542
3527
|
openedAt: z.ZodString;
|
|
3543
3528
|
provider: z.ZodString;
|
|
3544
3529
|
repository: z.ZodString;
|
|
3530
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
3531
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
3532
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
3533
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
3534
|
+
}, z.core.$strict>>;
|
|
3545
3535
|
state: z.ZodEnum<{
|
|
3546
3536
|
closed: "closed";
|
|
3547
3537
|
merged: "merged";
|
|
@@ -3567,11 +3557,31 @@ declare const codePersonReportSchema: z.ZodObject<{
|
|
|
3567
3557
|
windowStart: z.ZodString;
|
|
3568
3558
|
}, z.core.$strict>;
|
|
3569
3559
|
type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
3560
|
+
type CodeChangeSearchReport = z.infer<typeof codeChangeSearchReportSchema>;
|
|
3570
3561
|
type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
3571
3562
|
type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
3572
3563
|
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
3573
3564
|
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
3574
3565
|
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
3566
|
+
type MentionableCodeChange = z.infer<typeof mentionableCodeChangeSchema>;
|
|
3567
|
+
/** Body of a request to fork a Conversation at one assistant reply. */
|
|
3568
|
+
declare const forkConversationBodySchema: z.ZodObject<{
|
|
3569
|
+
messageId: z.ZodString;
|
|
3570
|
+
idempotencyKey: z.ZodString;
|
|
3571
|
+
quickQuestion: z.ZodOptional<z.ZodObject<{
|
|
3572
|
+
quote: z.ZodString;
|
|
3573
|
+
}, z.core.$strict>>;
|
|
3574
|
+
}, z.core.$strict>;
|
|
3575
|
+
/** The Conversation that a fork made. */
|
|
3576
|
+
declare const forkConversationResponseSchema: z.ZodObject<{
|
|
3577
|
+
conversationId: z.ZodString;
|
|
3578
|
+
}, z.core.$strict>;
|
|
3579
|
+
/**
|
|
3580
|
+
* Cut preview text to the schema limit. The cut ends with "…" at a word
|
|
3581
|
+
* break, and never leaves half a surrogate pair or an unclosed Slack token
|
|
3582
|
+
* such as `<@U1` or `<https://…`, so mentions and links still parse.
|
|
3583
|
+
*/
|
|
3584
|
+
declare function activityPreviewText(text: string): string;
|
|
3575
3585
|
/**
|
|
3576
3586
|
* Ask to upload one file for a Message. `conversationId` names an existing
|
|
3577
3587
|
* Conversation; without it, the file is for the Conversation that the first
|
|
@@ -3714,6 +3724,7 @@ declare const conversationPendingMessagesReportSchema: z.ZodObject<{
|
|
|
3714
3724
|
/** Detail report with the mailbox that was read before its history. */
|
|
3715
3725
|
declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
3716
3726
|
displayTitle: z.ZodString;
|
|
3727
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
3717
3728
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
3718
3729
|
createdAt: z.ZodString;
|
|
3719
3730
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3777,6 +3788,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3777
3788
|
conversationId: z.ZodString;
|
|
3778
3789
|
kind: z.ZodEnum<{
|
|
3779
3790
|
automation: "automation";
|
|
3791
|
+
lead: "lead";
|
|
3780
3792
|
root: "root";
|
|
3781
3793
|
task: "task";
|
|
3782
3794
|
thread: "thread";
|
|
@@ -3788,11 +3800,17 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3788
3800
|
public: "public";
|
|
3789
3801
|
}>>;
|
|
3790
3802
|
status: z.ZodEnum<{
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
stopped: "stopped";
|
|
3803
|
+
done: "done";
|
|
3804
|
+
needs_input: "needs_input";
|
|
3805
|
+
working: "working";
|
|
3795
3806
|
}>;
|
|
3807
|
+
treeState: z.ZodOptional<z.ZodEnum<{
|
|
3808
|
+
done: "done";
|
|
3809
|
+
needs_you: "needs_you";
|
|
3810
|
+
working: "working";
|
|
3811
|
+
}>>;
|
|
3812
|
+
watching: z.ZodOptional<z.ZodBoolean>;
|
|
3813
|
+
turnActive: z.ZodBoolean;
|
|
3796
3814
|
startedAt: z.ZodString;
|
|
3797
3815
|
lastSeenAt: z.ZodString;
|
|
3798
3816
|
lastProgressAt: z.ZodString;
|
|
@@ -4123,16 +4141,23 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4123
4141
|
title: z.ZodOptional<z.ZodString>;
|
|
4124
4142
|
url: z.ZodOptional<z.ZodString>;
|
|
4125
4143
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4144
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
4145
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
4146
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
4147
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
4148
|
+
}, z.core.$strict>>;
|
|
4126
4149
|
}, z.core.$strict>>>;
|
|
4127
4150
|
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
4128
4151
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
4129
4152
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
4130
4153
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
4131
4154
|
awaitingAuthorization: z.ZodOptional<z.ZodBoolean>;
|
|
4155
|
+
latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
|
|
4132
4156
|
agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4133
4157
|
conversationId: z.ZodString;
|
|
4134
4158
|
kind: z.ZodEnum<{
|
|
4135
4159
|
automation: "automation";
|
|
4160
|
+
lead: "lead";
|
|
4136
4161
|
root: "root";
|
|
4137
4162
|
task: "task";
|
|
4138
4163
|
thread: "thread";
|
|
@@ -4177,6 +4202,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4177
4202
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
4178
4203
|
eventType: z.ZodOptional<z.ZodString>;
|
|
4179
4204
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
4205
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
4180
4206
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
4181
4207
|
alert: "alert";
|
|
4182
4208
|
automation: "automation";
|
|
@@ -4271,6 +4297,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4271
4297
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
4272
4298
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
4273
4299
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
4300
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
4274
4301
|
}, z.core.$strict>>;
|
|
4275
4302
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
4276
4303
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4478,86 +4505,13 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4478
4505
|
forkedFromConversationId: z.ZodOptional<z.ZodString>;
|
|
4479
4506
|
forkedFromTitle: z.ZodOptional<z.ZodString>;
|
|
4480
4507
|
forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
participants: z.ZodArray<z.ZodObject<{
|
|
4489
|
-
name: z.ZodString;
|
|
4490
|
-
messages: z.ZodNumber;
|
|
4491
|
-
}, z.core.$strict>>;
|
|
4492
|
-
userMessages: z.ZodNumber;
|
|
4493
|
-
assistantMessages: z.ZodNumber;
|
|
4494
|
-
toolResults: z.ZodNumber;
|
|
4495
|
-
events: z.ZodNumber;
|
|
4496
|
-
turns: z.ZodOptional<z.ZodNumber>;
|
|
4497
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
4498
|
-
provider: z.ZodString;
|
|
4499
|
-
channelName: z.ZodOptional<z.ZodString>;
|
|
4500
|
-
}, z.core.$strict>>;
|
|
4501
|
-
codeChanges: z.ZodArray<z.ZodObject<{
|
|
4502
|
-
repository: z.ZodString;
|
|
4503
|
-
number: z.ZodNumber;
|
|
4504
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4505
|
-
url: z.ZodString;
|
|
4506
|
-
state: z.ZodEnum<{
|
|
4507
|
-
closed: "closed";
|
|
4508
|
-
merged: "merged";
|
|
4509
|
-
open: "open";
|
|
4510
|
-
}>;
|
|
4511
|
-
openedAt: z.ZodOptional<z.ZodString>;
|
|
4512
|
-
mergedAt: z.ZodOptional<z.ZodString>;
|
|
4513
|
-
closedAt: z.ZodOptional<z.ZodString>;
|
|
4514
|
-
}, z.core.$strict>>;
|
|
4515
|
-
}, z.core.$strict>;
|
|
4516
|
-
summary: z.ZodString;
|
|
4517
|
-
intent: z.ZodString;
|
|
4518
|
-
outcome: z.ZodObject<{
|
|
4519
|
-
status: z.ZodEnum<{
|
|
4520
|
-
abandoned: "abandoned";
|
|
4521
|
-
answered: "answered";
|
|
4522
|
-
blocked: "blocked";
|
|
4523
|
-
done: "done";
|
|
4524
|
-
in_progress: "in_progress";
|
|
4525
|
-
partial: "partial";
|
|
4526
|
-
}>;
|
|
4527
|
-
text: z.ZodString;
|
|
4528
|
-
}, z.core.$strict>;
|
|
4529
|
-
decisions: z.ZodArray<z.ZodObject<{
|
|
4530
|
-
text: z.ZodString;
|
|
4531
|
-
by: z.ZodOptional<z.ZodString>;
|
|
4532
|
-
kind: z.ZodEnum<{
|
|
4533
|
-
assumed: "assumed";
|
|
4534
|
-
confirmed: "confirmed";
|
|
4535
|
-
stated: "stated";
|
|
4536
|
-
}>;
|
|
4537
|
-
}, z.core.$strict>>;
|
|
4538
|
-
facts: z.ZodArray<z.ZodString>;
|
|
4539
|
-
links: z.ZodArray<z.ZodObject<{
|
|
4540
|
-
kind: z.ZodEnum<{
|
|
4541
|
-
code_change: "code_change";
|
|
4542
|
-
resource: "resource";
|
|
4543
|
-
url: "url";
|
|
4544
|
-
}>;
|
|
4545
|
-
label: z.ZodString;
|
|
4546
|
-
url: z.ZodString;
|
|
4547
|
-
status: z.ZodOptional<z.ZodString>;
|
|
4548
|
-
}, z.core.$strict>>;
|
|
4549
|
-
keywords: z.ZodArray<z.ZodString>;
|
|
4550
|
-
}, z.core.$strict>;
|
|
4551
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4552
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4553
|
-
email: z.ZodOptional<z.ZodString>;
|
|
4554
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
4555
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
4556
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
4557
|
-
}, z.core.$strict>>>;
|
|
4558
|
-
updatedAt: z.ZodString;
|
|
4559
|
-
version: z.ZodNumber;
|
|
4560
|
-
}, z.core.$strict>>;
|
|
4508
|
+
summaryMentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4509
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4510
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4511
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
4512
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
4513
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
4514
|
+
}, z.core.$strict>>>;
|
|
4561
4515
|
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4562
4516
|
modelId: z.ZodString;
|
|
4563
4517
|
usage: z.ZodObject<{
|
|
@@ -4609,6 +4563,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4609
4563
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
4610
4564
|
eventType: z.ZodOptional<z.ZodString>;
|
|
4611
4565
|
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
4566
|
+
eventIdentifier: z.ZodOptional<z.ZodString>;
|
|
4612
4567
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
4613
4568
|
alert: "alert";
|
|
4614
4569
|
automation: "automation";
|
|
@@ -4703,6 +4658,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
4703
4658
|
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
4704
4659
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
4705
4660
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
4661
|
+
startedConversationId: z.ZodOptional<z.ZodString>;
|
|
4706
4662
|
}, z.core.$strict>>;
|
|
4707
4663
|
assistant: z.ZodOptional<z.ZodObject<{
|
|
4708
4664
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5071,23 +5027,6 @@ type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPe
|
|
|
5071
5027
|
type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
|
5072
5028
|
type SteerConversationPendingMessagesBody = z.infer<typeof steerConversationPendingMessagesBodySchema>;
|
|
5073
5029
|
type SteerConversationPendingMessagesResponse = z.infer<typeof steerConversationPendingMessagesResponseSchema>;
|
|
5074
|
-
/**
|
|
5075
|
-
* The part of a Conversation's latest Brief that a feed row shows: what the
|
|
5076
|
-
* work is about and how it stands.
|
|
5077
|
-
*/
|
|
5078
|
-
declare const conversationFeedBriefSchema: z.ZodObject<{
|
|
5079
|
-
intent: z.ZodString;
|
|
5080
|
-
status: z.ZodEnum<{
|
|
5081
|
-
abandoned: "abandoned";
|
|
5082
|
-
answered: "answered";
|
|
5083
|
-
blocked: "blocked";
|
|
5084
|
-
done: "done";
|
|
5085
|
-
in_progress: "in_progress";
|
|
5086
|
-
partial: "partial";
|
|
5087
|
-
}>;
|
|
5088
|
-
summary: z.ZodString;
|
|
5089
|
-
}, z.core.$strict>;
|
|
5090
|
-
type ConversationFeedBrief = z.infer<typeof conversationFeedBriefSchema>;
|
|
5091
5030
|
/** Query of `GET /api/conversations`. */
|
|
5092
5031
|
declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
5093
5032
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -5113,12 +5052,21 @@ declare const conversationFeedMediaSchema: z.ZodObject<{
|
|
|
5113
5052
|
id: z.ZodString;
|
|
5114
5053
|
}, z.core.$strict>;
|
|
5115
5054
|
type ConversationFeedMedia = z.infer<typeof conversationFeedMediaSchema>;
|
|
5055
|
+
/**
|
|
5056
|
+
* The viewer's newest answer to an Inbox item that the Conversation added:
|
|
5057
|
+
* when it closed and the options they picked. A text answer has no choices.
|
|
5058
|
+
*/
|
|
5059
|
+
declare const conversationFeedViewerAnswerSchema: z.ZodObject<{
|
|
5060
|
+
choices: z.ZodArray<z.ZodString>;
|
|
5061
|
+
closedAt: z.ZodString;
|
|
5062
|
+
}, z.core.$strict>;
|
|
5063
|
+
type ConversationFeedViewerAnswer = z.infer<typeof conversationFeedViewerAnswerSchema>;
|
|
5116
5064
|
/** A feed row, with its visible Threads nested under their parents. */
|
|
5117
5065
|
type ConversationFeedItem = ConversationSummaryReport & {
|
|
5118
|
-
brief?: ConversationFeedBrief | undefined;
|
|
5119
5066
|
links?: string[] | undefined;
|
|
5120
5067
|
media?: ConversationFeedMedia[] | undefined;
|
|
5121
5068
|
threads?: ConversationFeedItem[] | undefined;
|
|
5069
|
+
viewerAnswer?: ConversationFeedViewerAnswer | undefined;
|
|
5122
5070
|
};
|
|
5123
5071
|
declare const conversationFeedSchema: z.ZodObject<{
|
|
5124
5072
|
conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
|
|
@@ -5135,7 +5083,7 @@ type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
|
5135
5083
|
*/
|
|
5136
5084
|
declare const archiveConversationBodySchema: z.ZodObject<{
|
|
5137
5085
|
applyToChildren: z.ZodOptional<z.ZodBoolean>;
|
|
5138
|
-
archived: z.ZodBoolean
|
|
5086
|
+
archived: z.ZodDefault<z.ZodBoolean>;
|
|
5139
5087
|
lastSeenAt: z.ZodString;
|
|
5140
5088
|
}, z.core.$strict>;
|
|
5141
5089
|
declare const archiveConversationResponseSchema: z.ZodObject<{
|
|
@@ -5171,8 +5119,6 @@ declare const conversationMetricDaySchema: z.ZodObject<{
|
|
|
5171
5119
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
5172
5120
|
mergedCodeChangeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5173
5121
|
mergedCodeChanges: z.ZodOptional<z.ZodNumber>;
|
|
5174
|
-
outcomeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5175
|
-
outcomes: z.ZodOptional<z.ZodNumber>;
|
|
5176
5122
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
5177
5123
|
}, z.core.$strict>;
|
|
5178
5124
|
declare const guardianMetricDaySchema: z.ZodObject<{
|
|
@@ -5257,8 +5203,6 @@ declare const conversationStatsReportSchema: z.ZodObject<{
|
|
|
5257
5203
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
5258
5204
|
mergedCodeChangeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5259
5205
|
mergedCodeChanges: z.ZodOptional<z.ZodNumber>;
|
|
5260
|
-
outcomeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5261
|
-
outcomes: z.ZodOptional<z.ZodNumber>;
|
|
5262
5206
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
5263
5207
|
}, z.core.$strict>>;
|
|
5264
5208
|
metricHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5271,8 +5215,6 @@ declare const conversationStatsReportSchema: z.ZodObject<{
|
|
|
5271
5215
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
5272
5216
|
mergedCodeChangeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5273
5217
|
mergedCodeChanges: z.ZodOptional<z.ZodNumber>;
|
|
5274
|
-
outcomeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5275
|
-
outcomes: z.ZodOptional<z.ZodNumber>;
|
|
5276
5218
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
5277
5219
|
}, z.core.$strict>>>;
|
|
5278
5220
|
metricSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5285,8 +5227,6 @@ declare const conversationStatsReportSchema: z.ZodObject<{
|
|
|
5285
5227
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
5286
5228
|
mergedCodeChangeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5287
5229
|
mergedCodeChanges: z.ZodOptional<z.ZodNumber>;
|
|
5288
|
-
outcomeCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
5289
|
-
outcomes: z.ZodOptional<z.ZodNumber>;
|
|
5290
5230
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
5291
5231
|
}, z.core.$strict>>>;
|
|
5292
5232
|
source: z.ZodLiteral<"conversation_index">;
|
|
@@ -5359,7 +5299,7 @@ type ConversationCatchUpBody = z.infer<typeof conversationCatchUpBodySchema>;
|
|
|
5359
5299
|
type ConversationCatchUp = z.infer<typeof conversationCatchUpSchema>;
|
|
5360
5300
|
/** Pin or unpin one Conversation for the signed-in viewer. */
|
|
5361
5301
|
declare const pinConversationBodySchema: z.ZodObject<{
|
|
5362
|
-
pinned: z.ZodBoolean
|
|
5302
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5363
5303
|
}, z.core.$strict>;
|
|
5364
5304
|
/** The viewer's pin time after the change, or null when unpinned. */
|
|
5365
5305
|
declare const pinConversationResponseSchema: z.ZodObject<{
|
|
@@ -5403,6 +5343,15 @@ declare const conversationSubscriptionResponseSchema: z.ZodObject<{
|
|
|
5403
5343
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
5404
5344
|
subscribed: z.ZodBoolean;
|
|
5405
5345
|
}, z.core.$strict>;
|
|
5346
|
+
/** Invite one mentioned person, by Slack user id, to a public Conversation. */
|
|
5347
|
+
declare const conversationInviteBodySchema: z.ZodObject<{
|
|
5348
|
+
slackUserId: z.ZodString;
|
|
5349
|
+
}, z.core.$strict>;
|
|
5350
|
+
/** `added` is false when the person was already a Participant. */
|
|
5351
|
+
declare const conversationInviteResponseSchema: z.ZodObject<{
|
|
5352
|
+
added: z.ZodBoolean;
|
|
5353
|
+
}, z.core.$strict>;
|
|
5354
|
+
type ConversationInviteResponse = z.infer<typeof conversationInviteResponseSchema>;
|
|
5406
5355
|
type ConversationSubscriptionBody = z.infer<typeof conversationSubscriptionBodySchema>;
|
|
5407
5356
|
type ConversationSubscriptionResponse = z.infer<typeof conversationSubscriptionResponseSchema>;
|
|
5408
5357
|
/**
|
|
@@ -5642,23 +5591,27 @@ declare const conversationWatchesReportSchema: z.ZodObject<{
|
|
|
5642
5591
|
url: z.ZodOptional<z.ZodString>;
|
|
5643
5592
|
}, z.core.$strict>>;
|
|
5644
5593
|
}, z.core.$strict>;
|
|
5594
|
+
/** Route params that name one Watch of one Conversation. */
|
|
5595
|
+
declare const watchParamsSchema: z.ZodObject<{
|
|
5596
|
+
conversationId: z.ZodString;
|
|
5597
|
+
watchId: z.ZodString;
|
|
5598
|
+
}, z.core.$strict>;
|
|
5645
5599
|
type ConversationWatch = z.infer<typeof conversationWatchSchema>;
|
|
5646
5600
|
type ConversationWatchesReport = z.infer<typeof conversationWatchesReportSchema>;
|
|
5647
5601
|
/**
|
|
5648
|
-
* One
|
|
5602
|
+
* One To-do of a Conversation. Viewers who cannot see private content
|
|
5649
5603
|
* get the status, assignee kind, and times, but not the title, notes, or
|
|
5650
5604
|
* names.
|
|
5651
5605
|
*/
|
|
5652
|
-
declare const
|
|
5606
|
+
declare const conversationTodoSchema: z.ZodObject<{
|
|
5653
5607
|
id: z.ZodNumber;
|
|
5654
5608
|
title: z.ZodOptional<z.ZodString>;
|
|
5655
5609
|
notes: z.ZodOptional<z.ZodString>;
|
|
5656
5610
|
status: z.ZodEnum<{
|
|
5657
|
-
blocked: "blocked";
|
|
5658
|
-
cancelled: "cancelled";
|
|
5659
5611
|
done: "done";
|
|
5612
|
+
dropped: "dropped";
|
|
5660
5613
|
in_progress: "in_progress";
|
|
5661
|
-
|
|
5614
|
+
open: "open";
|
|
5662
5615
|
}>;
|
|
5663
5616
|
assignee: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5664
5617
|
kind: z.ZodLiteral<"self">;
|
|
@@ -5674,19 +5627,18 @@ declare const conversationPlanItemSchema: z.ZodObject<{
|
|
|
5674
5627
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5675
5628
|
updatedAt: z.ZodString;
|
|
5676
5629
|
}, z.core.$strict>;
|
|
5677
|
-
/** The open
|
|
5678
|
-
declare const
|
|
5630
|
+
/** The open To-dos of one Conversation, then the latest closed ones. */
|
|
5631
|
+
declare const conversationTodosReportSchema: z.ZodObject<{
|
|
5679
5632
|
conversationId: z.ZodString;
|
|
5680
|
-
|
|
5633
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
5681
5634
|
id: z.ZodNumber;
|
|
5682
5635
|
title: z.ZodOptional<z.ZodString>;
|
|
5683
5636
|
notes: z.ZodOptional<z.ZodString>;
|
|
5684
5637
|
status: z.ZodEnum<{
|
|
5685
|
-
blocked: "blocked";
|
|
5686
|
-
cancelled: "cancelled";
|
|
5687
5638
|
done: "done";
|
|
5639
|
+
dropped: "dropped";
|
|
5688
5640
|
in_progress: "in_progress";
|
|
5689
|
-
|
|
5641
|
+
open: "open";
|
|
5690
5642
|
}>;
|
|
5691
5643
|
assignee: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5692
5644
|
kind: z.ZodLiteral<"self">;
|
|
@@ -5703,20 +5655,51 @@ declare const conversationPlanReportSchema: z.ZodObject<{
|
|
|
5703
5655
|
updatedAt: z.ZodString;
|
|
5704
5656
|
}, z.core.$strict>>;
|
|
5705
5657
|
}, z.core.$strict>;
|
|
5706
|
-
/** Status that a person can set on a
|
|
5707
|
-
declare const
|
|
5658
|
+
/** Status that a person can set on a To-do. */
|
|
5659
|
+
declare const todoStatusBodySchema: z.ZodObject<{
|
|
5708
5660
|
status: z.ZodEnum<{
|
|
5709
|
-
cancelled: "cancelled";
|
|
5710
5661
|
done: "done";
|
|
5711
|
-
|
|
5662
|
+
dropped: "dropped";
|
|
5663
|
+
in_progress: "in_progress";
|
|
5664
|
+
open: "open";
|
|
5712
5665
|
}>;
|
|
5713
5666
|
}, z.core.$strict>;
|
|
5714
|
-
type
|
|
5715
|
-
type
|
|
5716
|
-
type
|
|
5667
|
+
type ConversationTodo = z.infer<typeof conversationTodoSchema>;
|
|
5668
|
+
type ConversationTodosReport = z.infer<typeof conversationTodosReportSchema>;
|
|
5669
|
+
type TodoStatusBody = z.infer<typeof todoStatusBodySchema>;
|
|
5717
5670
|
declare const personParamsSchema: z.ZodObject<{
|
|
5718
5671
|
email: z.ZodString;
|
|
5719
5672
|
}, z.core.$strict>;
|
|
5673
|
+
/**
|
|
5674
|
+
* A people search. With `conversationId`, it finds only people in the Slack
|
|
5675
|
+
* workspace of that Conversation, so a mention reaches them there.
|
|
5676
|
+
*/
|
|
5677
|
+
declare const peopleSearchQuerySchema: z.ZodObject<{
|
|
5678
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
5679
|
+
q: z.ZodString;
|
|
5680
|
+
}, z.core.$strict>;
|
|
5681
|
+
/**
|
|
5682
|
+
* A person that a Message can mention: they have a Slack user id. `hasUser`
|
|
5683
|
+
* is true when they are a User, so they have a feed to Invite them to.
|
|
5684
|
+
*/
|
|
5685
|
+
declare const mentionablePersonSchema: z.ZodObject<{
|
|
5686
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5687
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5688
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
5689
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
5690
|
+
hasUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5691
|
+
slackUserId: z.ZodString;
|
|
5692
|
+
}, z.core.$strict>;
|
|
5693
|
+
declare const peopleSearchReportSchema: z.ZodObject<{
|
|
5694
|
+
people: z.ZodArray<z.ZodObject<{
|
|
5695
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5696
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5697
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
5698
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
5699
|
+
hasUser: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5700
|
+
slackUserId: z.ZodString;
|
|
5701
|
+
}, z.core.$strict>>;
|
|
5702
|
+
}, z.core.$strict>;
|
|
5720
5703
|
declare const actorActivityDayReportSchema: z.ZodObject<{
|
|
5721
5704
|
active: z.ZodNumber;
|
|
5722
5705
|
conversations: z.ZodNumber;
|
|
@@ -5911,6 +5894,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
5911
5894
|
}, z.core.$strict>>;
|
|
5912
5895
|
recentConversations: z.ZodArray<z.ZodObject<{
|
|
5913
5896
|
displayTitle: z.ZodString;
|
|
5897
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
5914
5898
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
5915
5899
|
createdAt: z.ZodString;
|
|
5916
5900
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5974,6 +5958,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
5974
5958
|
conversationId: z.ZodString;
|
|
5975
5959
|
kind: z.ZodEnum<{
|
|
5976
5960
|
automation: "automation";
|
|
5961
|
+
lead: "lead";
|
|
5977
5962
|
root: "root";
|
|
5978
5963
|
task: "task";
|
|
5979
5964
|
thread: "thread";
|
|
@@ -5985,11 +5970,17 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
5985
5970
|
public: "public";
|
|
5986
5971
|
}>>;
|
|
5987
5972
|
status: z.ZodEnum<{
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
stopped: "stopped";
|
|
5973
|
+
done: "done";
|
|
5974
|
+
needs_input: "needs_input";
|
|
5975
|
+
working: "working";
|
|
5992
5976
|
}>;
|
|
5977
|
+
treeState: z.ZodOptional<z.ZodEnum<{
|
|
5978
|
+
done: "done";
|
|
5979
|
+
needs_you: "needs_you";
|
|
5980
|
+
working: "working";
|
|
5981
|
+
}>>;
|
|
5982
|
+
watching: z.ZodOptional<z.ZodBoolean>;
|
|
5983
|
+
turnActive: z.ZodBoolean;
|
|
5993
5984
|
startedAt: z.ZodString;
|
|
5994
5985
|
lastSeenAt: z.ZodString;
|
|
5995
5986
|
lastProgressAt: z.ZodString;
|
|
@@ -6320,12 +6311,18 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
6320
6311
|
title: z.ZodOptional<z.ZodString>;
|
|
6321
6312
|
url: z.ZodOptional<z.ZodString>;
|
|
6322
6313
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
6314
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
6315
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
6316
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
6317
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
6318
|
+
}, z.core.$strict>>;
|
|
6323
6319
|
}, z.core.$strict>>>;
|
|
6324
6320
|
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
6325
6321
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
6326
6322
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
6327
6323
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
6328
6324
|
awaitingAuthorization: z.ZodOptional<z.ZodBoolean>;
|
|
6325
|
+
latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
|
|
6329
6326
|
}, z.core.$strict>>;
|
|
6330
6327
|
actor: z.ZodObject<{
|
|
6331
6328
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -6372,10 +6369,275 @@ type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
|
|
|
6372
6369
|
type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
|
|
6373
6370
|
type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
|
|
6374
6371
|
type PersonParams = z.infer<typeof personParamsSchema>;
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
declare const
|
|
6372
|
+
type MentionablePerson = z.infer<typeof mentionablePersonSchema>;
|
|
6373
|
+
type PeopleSearchReport = z.infer<typeof peopleSearchReportSchema>;
|
|
6374
|
+
/** The most recent merged code changes and Conversations a person card lists. */
|
|
6375
|
+
declare const PERSON_CARD_RECENT_LIMIT = 3;
|
|
6376
|
+
/**
|
|
6377
|
+
* The person card that opens on a reference to a person: their object card,
|
|
6378
|
+
* when Junior knows them, the code changes they merged most recently, and
|
|
6379
|
+
* their recent Junior activity. The activity names only Conversations that
|
|
6380
|
+
* the viewer may read.
|
|
6381
|
+
*/
|
|
6382
|
+
declare const personCardReportSchema: z.ZodObject<{
|
|
6383
|
+
activity: z.ZodObject<{
|
|
6384
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
6385
|
+
recentConversations: z.ZodArray<z.ZodObject<{
|
|
6386
|
+
conversationId: z.ZodString;
|
|
6387
|
+
lastTurnAt: z.ZodString;
|
|
6388
|
+
title: z.ZodString;
|
|
6389
|
+
}, z.core.$strict>>;
|
|
6390
|
+
}, z.core.$strict>;
|
|
6391
|
+
card: z.ZodOptional<z.ZodObject<{
|
|
6392
|
+
kind: z.ZodLiteral<"object">;
|
|
6393
|
+
key: z.ZodString;
|
|
6394
|
+
label: z.ZodString;
|
|
6395
|
+
objectType: z.ZodEnum<{
|
|
6396
|
+
alert: "alert";
|
|
6397
|
+
automation: "automation";
|
|
6398
|
+
calendar_event: "calendar_event";
|
|
6399
|
+
chart: "chart";
|
|
6400
|
+
code_change: "code_change";
|
|
6401
|
+
conversation: "conversation";
|
|
6402
|
+
dashboard: "dashboard";
|
|
6403
|
+
deployment: "deployment";
|
|
6404
|
+
document: "document";
|
|
6405
|
+
event: "event";
|
|
6406
|
+
item: "item";
|
|
6407
|
+
message: "message";
|
|
6408
|
+
monitor: "monitor";
|
|
6409
|
+
person: "person";
|
|
6410
|
+
release: "release";
|
|
6411
|
+
task: "task";
|
|
6412
|
+
trace: "trace";
|
|
6413
|
+
web_page: "web_page";
|
|
6414
|
+
}>;
|
|
6415
|
+
title: z.ZodString;
|
|
6416
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
6417
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6418
|
+
status: z.ZodOptional<z.ZodString>;
|
|
6419
|
+
trigger: z.ZodOptional<z.ZodString>;
|
|
6420
|
+
warning: z.ZodOptional<z.ZodString>;
|
|
6421
|
+
displayType: z.ZodOptional<z.ZodString>;
|
|
6422
|
+
sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6423
|
+
facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6424
|
+
type: z.ZodLiteral<"code_change">;
|
|
6425
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6426
|
+
author: z.ZodOptional<z.ZodString>;
|
|
6427
|
+
sourceBranch: z.ZodOptional<z.ZodString>;
|
|
6428
|
+
targetBranch: z.ZodOptional<z.ZodString>;
|
|
6429
|
+
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6430
|
+
review: z.ZodOptional<z.ZodEnum<{
|
|
6431
|
+
approved: "approved";
|
|
6432
|
+
changes_requested: "changes_requested";
|
|
6433
|
+
required: "required";
|
|
6434
|
+
}>>;
|
|
6435
|
+
checks: z.ZodOptional<z.ZodObject<{
|
|
6436
|
+
passed: z.ZodNumber;
|
|
6437
|
+
failed: z.ZodNumber;
|
|
6438
|
+
pending: z.ZodNumber;
|
|
6439
|
+
}, z.core.$strict>>;
|
|
6440
|
+
mergeable: z.ZodOptional<z.ZodBoolean>;
|
|
6441
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
6442
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
6443
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
6444
|
+
previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
6445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6446
|
+
type: z.ZodLiteral<"task">;
|
|
6447
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6448
|
+
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6449
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
6450
|
+
project: z.ZodOptional<z.ZodString>;
|
|
6451
|
+
cycle: z.ZodOptional<z.ZodString>;
|
|
6452
|
+
dueDate: z.ZodOptional<z.ZodISODate>;
|
|
6453
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6454
|
+
trend: z.ZodOptional<z.ZodObject<{
|
|
6455
|
+
label: z.ZodString;
|
|
6456
|
+
points: z.ZodArray<z.ZodNumber>;
|
|
6457
|
+
}, z.core.$strict>>;
|
|
6458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6459
|
+
type: z.ZodLiteral<"deployment">;
|
|
6460
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6461
|
+
project: z.ZodOptional<z.ZodString>;
|
|
6462
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
6463
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
6464
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
6465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6466
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
6467
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6468
|
+
when: z.ZodOptional<z.ZodString>;
|
|
6469
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6471
|
+
type: z.ZodLiteral<"conversation">;
|
|
6472
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6473
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6474
|
+
lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6476
|
+
type: z.ZodLiteral<"document">;
|
|
6477
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6478
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
6479
|
+
modifiedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6480
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
6481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6482
|
+
type: z.ZodLiteral<"message">;
|
|
6483
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6484
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
6485
|
+
author: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
sentAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6487
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6488
|
+
type: z.ZodLiteral<"web_page">;
|
|
6489
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6490
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
6491
|
+
author: z.ZodOptional<z.ZodString>;
|
|
6492
|
+
media: z.ZodOptional<z.ZodEnum<{
|
|
6493
|
+
image: "image";
|
|
6494
|
+
video: "video";
|
|
6495
|
+
}>>;
|
|
6496
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
6497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6498
|
+
type: z.ZodLiteral<"chart">;
|
|
6499
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6500
|
+
display: z.ZodEnum<{
|
|
6501
|
+
area: "area";
|
|
6502
|
+
bar: "bar";
|
|
6503
|
+
line: "line";
|
|
6504
|
+
}>;
|
|
6505
|
+
yAxis: z.ZodString;
|
|
6506
|
+
range: z.ZodString;
|
|
6507
|
+
series: z.ZodArray<z.ZodObject<{
|
|
6508
|
+
label: z.ZodString;
|
|
6509
|
+
points: z.ZodArray<z.ZodNumber>;
|
|
6510
|
+
}, z.core.$strict>>;
|
|
6511
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6512
|
+
type: z.ZodLiteral<"event">;
|
|
6513
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6514
|
+
level: z.ZodOptional<z.ZodString>;
|
|
6515
|
+
project: z.ZodOptional<z.ZodString>;
|
|
6516
|
+
release: z.ZodOptional<z.ZodString>;
|
|
6517
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
6518
|
+
occurredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6520
|
+
type: z.ZodLiteral<"release">;
|
|
6521
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6522
|
+
version: z.ZodString;
|
|
6523
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6524
|
+
newIssues: z.ZodOptional<z.ZodNumber>;
|
|
6525
|
+
crashFreeSessions: z.ZodOptional<z.ZodNumber>;
|
|
6526
|
+
deployCount: z.ZodOptional<z.ZodNumber>;
|
|
6527
|
+
lastDeploy: z.ZodOptional<z.ZodObject<{
|
|
6528
|
+
environment: z.ZodString;
|
|
6529
|
+
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6530
|
+
}, z.core.$strict>>;
|
|
6531
|
+
releasedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6532
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6533
|
+
type: z.ZodLiteral<"monitor">;
|
|
6534
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6535
|
+
kind: z.ZodEnum<{
|
|
6536
|
+
cron: "cron";
|
|
6537
|
+
metric: "metric";
|
|
6538
|
+
uptime: "uptime";
|
|
6539
|
+
}>;
|
|
6540
|
+
state: z.ZodEnum<{
|
|
6541
|
+
failing: "failing";
|
|
6542
|
+
ok: "ok";
|
|
6543
|
+
paused: "paused";
|
|
6544
|
+
pending: "pending";
|
|
6545
|
+
}>;
|
|
6546
|
+
project: z.ZodOptional<z.ZodString>;
|
|
6547
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
6548
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6549
|
+
lastCheckedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6550
|
+
trend: z.ZodOptional<z.ZodObject<{
|
|
6551
|
+
label: z.ZodString;
|
|
6552
|
+
points: z.ZodArray<z.ZodNumber>;
|
|
6553
|
+
}, z.core.$strict>>;
|
|
6554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6555
|
+
type: z.ZodLiteral<"alert">;
|
|
6556
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6557
|
+
enabled: z.ZodBoolean;
|
|
6558
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6559
|
+
trigger: z.ZodOptional<z.ZodString>;
|
|
6560
|
+
notifies: z.ZodArray<z.ZodString>;
|
|
6561
|
+
lastTriggeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6563
|
+
type: z.ZodLiteral<"trace">;
|
|
6564
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6565
|
+
rootOp: z.ZodOptional<z.ZodString>;
|
|
6566
|
+
rootName: z.ZodOptional<z.ZodString>;
|
|
6567
|
+
durationMs: z.ZodNumber;
|
|
6568
|
+
spanCount: z.ZodNumber;
|
|
6569
|
+
errorCount: z.ZodNumber;
|
|
6570
|
+
performanceIssueCount: z.ZodNumber;
|
|
6571
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6572
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
6573
|
+
op: z.ZodOptional<z.ZodString>;
|
|
6574
|
+
name: z.ZodString;
|
|
6575
|
+
startMs: z.ZodNumber;
|
|
6576
|
+
durationMs: z.ZodNumber;
|
|
6577
|
+
issue: z.ZodOptional<z.ZodBoolean>;
|
|
6578
|
+
}, z.core.$strict>>;
|
|
6579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6580
|
+
type: z.ZodLiteral<"dashboard">;
|
|
6581
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6582
|
+
widgetCount: z.ZodNumber;
|
|
6583
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6584
|
+
environments: z.ZodArray<z.ZodString>;
|
|
6585
|
+
range: z.ZodString;
|
|
6586
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
6587
|
+
title: z.ZodString;
|
|
6588
|
+
display: z.ZodString;
|
|
6589
|
+
}, z.core.$strict>>;
|
|
6590
|
+
charts: z.ZodArray<z.ZodObject<{
|
|
6591
|
+
title: z.ZodString;
|
|
6592
|
+
display: z.ZodEnum<{
|
|
6593
|
+
area: "area";
|
|
6594
|
+
bar: "bar";
|
|
6595
|
+
line: "line";
|
|
6596
|
+
}>;
|
|
6597
|
+
series: z.ZodArray<z.ZodObject<{
|
|
6598
|
+
label: z.ZodString;
|
|
6599
|
+
points: z.ZodArray<z.ZodNumber>;
|
|
6600
|
+
}, z.core.$strict>>;
|
|
6601
|
+
}, z.core.$strict>>;
|
|
6602
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6603
|
+
type: z.ZodLiteral<"person">;
|
|
6604
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6605
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6606
|
+
slackHandle: z.ZodOptional<z.ZodString>;
|
|
6607
|
+
githubHandle: z.ZodOptional<z.ZodString>;
|
|
6608
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6609
|
+
}, z.core.$strict>], "type">>;
|
|
6610
|
+
plugin: z.ZodString;
|
|
6611
|
+
}, z.core.$strict>>;
|
|
6612
|
+
mergedChanges: z.ZodArray<z.ZodObject<{
|
|
6613
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
6614
|
+
draft: z.ZodBoolean;
|
|
6615
|
+
id: z.ZodString;
|
|
6616
|
+
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
6617
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
6618
|
+
number: z.ZodNumber;
|
|
6619
|
+
openedAt: z.ZodString;
|
|
6620
|
+
provider: z.ZodString;
|
|
6621
|
+
repository: z.ZodString;
|
|
6622
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
6623
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
6624
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
6625
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
6626
|
+
}, z.core.$strict>>;
|
|
6627
|
+
state: z.ZodEnum<{
|
|
6628
|
+
closed: "closed";
|
|
6629
|
+
merged: "merged";
|
|
6630
|
+
open: "open";
|
|
6631
|
+
}>;
|
|
6632
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6633
|
+
url: z.ZodOptional<z.ZodString>;
|
|
6634
|
+
}, z.core.$strict>>;
|
|
6635
|
+
}, z.core.$strict>;
|
|
6636
|
+
type PersonCardReport = z.output<typeof personCardReportSchema>;
|
|
6637
|
+
declare const locationParamsSchema: z.ZodObject<{
|
|
6638
|
+
locationId: z.ZodString;
|
|
6639
|
+
}, z.core.$strict>;
|
|
6640
|
+
declare const locationSummaryReportSchema: z.ZodObject<{
|
|
6379
6641
|
active: z.ZodNumber;
|
|
6380
6642
|
conversations: z.ZodNumber;
|
|
6381
6643
|
durationMs: z.ZodNumber;
|
|
@@ -6537,6 +6799,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
6537
6799
|
generatedAt: z.ZodString;
|
|
6538
6800
|
recentConversations: z.ZodArray<z.ZodObject<{
|
|
6539
6801
|
displayTitle: z.ZodString;
|
|
6802
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6540
6803
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
6541
6804
|
createdAt: z.ZodString;
|
|
6542
6805
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6600,6 +6863,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
6600
6863
|
conversationId: z.ZodString;
|
|
6601
6864
|
kind: z.ZodEnum<{
|
|
6602
6865
|
automation: "automation";
|
|
6866
|
+
lead: "lead";
|
|
6603
6867
|
root: "root";
|
|
6604
6868
|
task: "task";
|
|
6605
6869
|
thread: "thread";
|
|
@@ -6611,11 +6875,17 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
6611
6875
|
public: "public";
|
|
6612
6876
|
}>>;
|
|
6613
6877
|
status: z.ZodEnum<{
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
stopped: "stopped";
|
|
6878
|
+
done: "done";
|
|
6879
|
+
needs_input: "needs_input";
|
|
6880
|
+
working: "working";
|
|
6618
6881
|
}>;
|
|
6882
|
+
treeState: z.ZodOptional<z.ZodEnum<{
|
|
6883
|
+
done: "done";
|
|
6884
|
+
needs_you: "needs_you";
|
|
6885
|
+
working: "working";
|
|
6886
|
+
}>>;
|
|
6887
|
+
watching: z.ZodOptional<z.ZodBoolean>;
|
|
6888
|
+
turnActive: z.ZodBoolean;
|
|
6619
6889
|
startedAt: z.ZodString;
|
|
6620
6890
|
lastSeenAt: z.ZodString;
|
|
6621
6891
|
lastProgressAt: z.ZodString;
|
|
@@ -6946,12 +7216,18 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
6946
7216
|
title: z.ZodOptional<z.ZodString>;
|
|
6947
7217
|
url: z.ZodOptional<z.ZodString>;
|
|
6948
7218
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
7219
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
7220
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
7221
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
7222
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
7223
|
+
}, z.core.$strict>>;
|
|
6949
7224
|
}, z.core.$strict>>>;
|
|
6950
7225
|
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
6951
7226
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
6952
7227
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
6953
7228
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
6954
7229
|
awaitingAuthorization: z.ZodOptional<z.ZodBoolean>;
|
|
7230
|
+
latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
|
|
6955
7231
|
}, z.core.$strict>>;
|
|
6956
7232
|
source: z.ZodLiteral<"conversation_index">;
|
|
6957
7233
|
windowEnd: z.ZodString;
|
|
@@ -6968,6 +7244,20 @@ declare const apiErrorSchema: z.ZodObject<{
|
|
|
6968
7244
|
error: z.ZodString;
|
|
6969
7245
|
}, z.core.$strict>;
|
|
6970
7246
|
type ApiError = z.infer<typeof apiErrorSchema>;
|
|
7247
|
+
/**
|
|
7248
|
+
* Carries a content token in both directions. A custom header, not `ETag` /
|
|
7249
|
+
* `If-None-Match`: the Vercel CDN removes `If-None-Match` before it calls the
|
|
7250
|
+
* function, with every `Cache-Control` value, and no setting stops this. The
|
|
7251
|
+
* CDN then answers a match with a 304 only after the function built the full
|
|
7252
|
+
* response, so the read is not saved and the 304 does not show in app
|
|
7253
|
+
* telemetry. A probe deployment confirmed this for `private, no-cache`,
|
|
7254
|
+
* `no-cache`, `private, no-store`, `private, max-age=0, must-revalidate`, and
|
|
7255
|
+
* no header. See
|
|
7256
|
+
* https://vercel.com/docs/manage-cdn-usage#optimizing-fast-origin-transfer.
|
|
7257
|
+
* A read that sends the token of the copy it holds gets an empty 304 while
|
|
7258
|
+
* the content is unchanged.
|
|
7259
|
+
*/
|
|
7260
|
+
declare const CONTENT_VERSION_HEADER = "x-junior-content-version";
|
|
6971
7261
|
declare const connectionSchema: z.ZodObject<{
|
|
6972
7262
|
provider: z.ZodString;
|
|
6973
7263
|
displayName: z.ZodString;
|
|
@@ -7112,6 +7402,95 @@ declare const cacheWarmingSavingsRefillResponseSchema: z.ZodObject<{
|
|
|
7112
7402
|
}, z.core.$strict>;
|
|
7113
7403
|
}, z.core.$strict>;
|
|
7114
7404
|
type CacheWarmingSavingsRefill = z.output<typeof cacheWarmingSavingsRefillSchema>;
|
|
7405
|
+
declare const cacheHealthQuerySchema: z.ZodObject<{
|
|
7406
|
+
window: z.ZodDefault<z.ZodEnum<{
|
|
7407
|
+
"24h": "24h";
|
|
7408
|
+
"7d": "7d";
|
|
7409
|
+
}>>;
|
|
7410
|
+
}, z.core.$strict>;
|
|
7411
|
+
declare const cacheHealthReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7412
|
+
status: z.ZodLiteral<"ok">;
|
|
7413
|
+
window: z.ZodEnum<{
|
|
7414
|
+
"24h": "24h";
|
|
7415
|
+
"7d": "7d";
|
|
7416
|
+
}>;
|
|
7417
|
+
modelId: z.ZodString;
|
|
7418
|
+
fetchedAt: z.ZodString;
|
|
7419
|
+
stale: z.ZodBoolean;
|
|
7420
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
7421
|
+
calls: z.ZodNumber;
|
|
7422
|
+
inputTokens: z.ZodNumber;
|
|
7423
|
+
cacheWriteTokens: z.ZodNumber;
|
|
7424
|
+
start: z.ZodString;
|
|
7425
|
+
fullRewrites: z.ZodNumber;
|
|
7426
|
+
}, z.core.$strict>>;
|
|
7427
|
+
lastWeek: z.ZodObject<{
|
|
7428
|
+
calls: z.ZodNumber;
|
|
7429
|
+
inputTokens: z.ZodNumber;
|
|
7430
|
+
cacheWriteTokens: z.ZodNumber;
|
|
7431
|
+
}, z.core.$strict>;
|
|
7432
|
+
warmups: z.ZodObject<{
|
|
7433
|
+
sentByTurnEnding: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
7434
|
+
skipReasons: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
7435
|
+
costUsd: z.ZodNumber;
|
|
7436
|
+
}, z.core.$strict>;
|
|
7437
|
+
idlePeriods: z.ZodObject<{
|
|
7438
|
+
saved: z.ZodNumber;
|
|
7439
|
+
notWarmed: z.ZodNumber;
|
|
7440
|
+
stoppedEarly: z.ZodNumber;
|
|
7441
|
+
cacheLost: z.ZodNumber;
|
|
7442
|
+
savedUsd: z.ZodNumber;
|
|
7443
|
+
}, z.core.$strict>;
|
|
7444
|
+
breakers: z.ZodArray<z.ZodObject<{
|
|
7445
|
+
provider: z.ZodString;
|
|
7446
|
+
open: z.ZodBoolean;
|
|
7447
|
+
}, z.core.$strict>>;
|
|
7448
|
+
breakerEvents: z.ZodObject<{
|
|
7449
|
+
opened: z.ZodNumber;
|
|
7450
|
+
closed: z.ZodNumber;
|
|
7451
|
+
}, z.core.$strict>;
|
|
7452
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7453
|
+
status: z.ZodLiteral<"unconfigured">;
|
|
7454
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
7455
|
+
SENTRY_DSN: "SENTRY_DSN";
|
|
7456
|
+
SENTRY_ORG_SLUG: "SENTRY_ORG_SLUG";
|
|
7457
|
+
SENTRY_READ_TOKEN: "SENTRY_READ_TOKEN";
|
|
7458
|
+
}>>;
|
|
7459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7460
|
+
status: z.ZodLiteral<"denied">;
|
|
7461
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7462
|
+
status: z.ZodLiteral<"rate_limited">;
|
|
7463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7464
|
+
status: z.ZodLiteral<"busy">;
|
|
7465
|
+
}, z.core.$strict>], "status">;
|
|
7466
|
+
type CacheHealthReport = z.output<typeof cacheHealthReportSchema>;
|
|
7467
|
+
/**
|
|
7468
|
+
* The routing rule of the "Enabled providers" admin setting.
|
|
7469
|
+
*
|
|
7470
|
+
* This module imports nothing, so the dashboard client bundle can use it.
|
|
7471
|
+
*/
|
|
7472
|
+
/**
|
|
7473
|
+
* Return the AI Gateway `only` list for one model, or undefined to send none.
|
|
7474
|
+
*
|
|
7475
|
+
* `enabled` is null when every provider is enabled. `served` lists the
|
|
7476
|
+
* providers that serve the model. A model that no enabled provider serves
|
|
7477
|
+
* stays unfiltered, so unchecking its providers can never break it. A filter
|
|
7478
|
+
* that keeps every provider of the model changes nothing, so it is not sent.
|
|
7479
|
+
*/
|
|
7480
|
+
declare function gatewayOnlyProviders(enabled: readonly string[] | null, served: readonly string[]): string[] | undefined;
|
|
7481
|
+
/** The "Enabled providers" setting, with what the gateway lists for each model. */
|
|
7482
|
+
declare const gatewayProvidersSchema: z.ZodObject<{
|
|
7483
|
+
enabled: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7484
|
+
providers: z.ZodArray<z.ZodString>;
|
|
7485
|
+
models: z.ZodArray<z.ZodObject<{
|
|
7486
|
+
id: z.ZodString;
|
|
7487
|
+
providers: z.ZodArray<z.ZodString>;
|
|
7488
|
+
}, z.core.$strict>>;
|
|
7489
|
+
}, z.core.$strict>;
|
|
7490
|
+
declare const updateGatewayProvidersBodySchema: z.ZodObject<{
|
|
7491
|
+
enabled: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
7492
|
+
}, z.core.$strict>;
|
|
7493
|
+
type GatewayProviders = z.infer<typeof gatewayProvidersSchema>;
|
|
7115
7494
|
declare const serviceAccountSchema: z.ZodObject<{
|
|
7116
7495
|
provider: z.ZodString;
|
|
7117
7496
|
displayName: z.ZodString;
|
|
@@ -7179,6 +7558,11 @@ declare const revokePersonalTokenResponseSchema: z.ZodObject<{
|
|
|
7179
7558
|
revoked: z.ZodLiteral<true>;
|
|
7180
7559
|
}, z.core.$strict>;
|
|
7181
7560
|
type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
|
|
7561
|
+
/** The viewer's Lead. Messages to it use the Conversation message route. */
|
|
7562
|
+
declare const leadSchema: z.ZodObject<{
|
|
7563
|
+
conversationId: z.ZodString;
|
|
7564
|
+
watchedConversationIds: z.ZodArray<z.ZodString>;
|
|
7565
|
+
}, z.core.$strict>;
|
|
7182
7566
|
/** Longest customization text one user can save. */
|
|
7183
7567
|
declare const USER_CUSTOMIZATION_MAX_CHARS = 1000;
|
|
7184
7568
|
/** Request and response body for the viewer's customization. */
|
|
@@ -9252,12 +9636,16 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
|
|
|
9252
9636
|
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
9253
9637
|
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
9254
9638
|
/**
|
|
9255
|
-
* The person change to
|
|
9639
|
+
* The person change to an Inbox item that one message records. Each inbound
|
|
9256
9640
|
* message and saved Message that reports a take, answer, or dismiss carries
|
|
9257
9641
|
* its own record, so the dashboard shows what that message did, not what the
|
|
9258
9642
|
* item looks like now.
|
|
9643
|
+
*
|
|
9644
|
+
* Stored Messages and queued inputs keep this shape and their
|
|
9645
|
+
* `reviewItemChange` and `reviewItemChanges` keys from before Review items
|
|
9646
|
+
* became Inbox items, so these names stay.
|
|
9259
9647
|
*/
|
|
9260
|
-
declare const
|
|
9648
|
+
declare const inboxItemChangeRecordSchema: z.ZodObject<{
|
|
9261
9649
|
kind: z.ZodEnum<{
|
|
9262
9650
|
dismissed: "dismissed";
|
|
9263
9651
|
submitted: "submitted";
|
|
@@ -9265,10 +9653,9 @@ declare const reviewItemChangeRecordSchema: z.ZodObject<{
|
|
|
9265
9653
|
}>;
|
|
9266
9654
|
reviewItemId: z.ZodString;
|
|
9267
9655
|
}, z.core.$strict>;
|
|
9268
|
-
type
|
|
9269
|
-
/** One
|
|
9270
|
-
declare const
|
|
9271
|
-
addedByConversationId: z.ZodString;
|
|
9656
|
+
type InboxItemChangeRecord = z.output<typeof inboxItemChangeRecordSchema>;
|
|
9657
|
+
/** One Inbox item as the viewer sees it. */
|
|
9658
|
+
declare const inboxItemSchema: z.ZodObject<{
|
|
9272
9659
|
addedByLabel: z.ZodOptional<z.ZodString>;
|
|
9273
9660
|
addedByTurnId: z.ZodOptional<z.ZodString>;
|
|
9274
9661
|
answer: z.ZodOptional<z.ZodObject<{
|
|
@@ -9278,6 +9665,7 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
9278
9665
|
}, z.core.$strict>>;
|
|
9279
9666
|
assignedToEveryone: z.ZodBoolean;
|
|
9280
9667
|
assignees: z.ZodArray<z.ZodObject<{
|
|
9668
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9281
9669
|
displayName: z.ZodOptional<z.ZodString>;
|
|
9282
9670
|
email: z.ZodString;
|
|
9283
9671
|
userId: z.ZodString;
|
|
@@ -9289,17 +9677,33 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
9289
9677
|
closeReason: z.ZodOptional<z.ZodString>;
|
|
9290
9678
|
closedAt: z.ZodOptional<z.ZodString>;
|
|
9291
9679
|
closedBy: z.ZodOptional<z.ZodObject<{
|
|
9680
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9292
9681
|
displayName: z.ZodOptional<z.ZodString>;
|
|
9293
9682
|
email: z.ZodString;
|
|
9294
9683
|
userId: z.ZodString;
|
|
9295
9684
|
}, z.core.$strict>>;
|
|
9296
9685
|
conversationIds: z.ZodArray<z.ZodString>;
|
|
9297
9686
|
createdAt: z.ZodString;
|
|
9687
|
+
snoozedByViewer: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9298
9688
|
id: z.ZodString;
|
|
9299
9689
|
kind: z.ZodEnum<{
|
|
9300
9690
|
action: "action";
|
|
9301
9691
|
notice: "notice";
|
|
9302
9692
|
}>;
|
|
9693
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9694
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9695
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9696
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
9697
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
9698
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
9699
|
+
}, z.core.$strict>>>;
|
|
9700
|
+
owner: z.ZodObject<{
|
|
9701
|
+
id: z.ZodString;
|
|
9702
|
+
kind: z.ZodEnum<{
|
|
9703
|
+
automation: "automation";
|
|
9704
|
+
conversation: "conversation";
|
|
9705
|
+
}>;
|
|
9706
|
+
}, z.core.$strict>;
|
|
9303
9707
|
related: z.ZodOptional<z.ZodObject<{
|
|
9304
9708
|
conversationIds: z.ZodArray<z.ZodString>;
|
|
9305
9709
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -9342,7 +9746,7 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
9342
9746
|
url: z.ZodOptional<z.ZodString>;
|
|
9343
9747
|
}, z.core.$strict>>>;
|
|
9344
9748
|
}, z.core.$strip>>;
|
|
9345
|
-
rootConversationId: z.ZodString
|
|
9749
|
+
rootConversationId: z.ZodOptional<z.ZodString>;
|
|
9346
9750
|
status: z.ZodEnum<{
|
|
9347
9751
|
dismissed: "dismissed";
|
|
9348
9752
|
done: "done";
|
|
@@ -9370,7 +9774,19 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
9370
9774
|
trace: "trace";
|
|
9371
9775
|
web_page: "web_page";
|
|
9372
9776
|
}>>;
|
|
9777
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
9778
|
+
events: z.ZodArray<z.ZodString>;
|
|
9779
|
+
namespace: z.ZodString;
|
|
9780
|
+
phrases: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
9781
|
+
resourceType: z.ZodString;
|
|
9782
|
+
}, z.core.$strict>>;
|
|
9373
9783
|
title: z.ZodOptional<z.ZodString>;
|
|
9784
|
+
titleParts: z.ZodOptional<z.ZodObject<{
|
|
9785
|
+
breaking: z.ZodOptional<z.ZodBoolean>;
|
|
9786
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
9787
|
+
text: z.ZodString;
|
|
9788
|
+
type: z.ZodOptional<z.ZodString>;
|
|
9789
|
+
}, z.core.$strict>>;
|
|
9374
9790
|
url: z.ZodOptional<z.ZodString>;
|
|
9375
9791
|
}, z.core.$strict>>;
|
|
9376
9792
|
title: z.ZodString;
|
|
@@ -9379,16 +9795,23 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
9379
9795
|
private: "private";
|
|
9380
9796
|
public: "public";
|
|
9381
9797
|
}>;
|
|
9798
|
+
wake: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9799
|
+
kind: z.ZodLiteral<"time">;
|
|
9800
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9801
|
+
eventType: z.ZodString;
|
|
9802
|
+
kind: z.ZodLiteral<"event">;
|
|
9803
|
+
phrase: z.ZodOptional<z.ZodString>;
|
|
9804
|
+
resource: z.ZodString;
|
|
9805
|
+
}, z.core.$strict>], "kind">>;
|
|
9382
9806
|
}, z.core.$strict>;
|
|
9383
|
-
type
|
|
9807
|
+
type InboxItemPayload = z.output<typeof inboxItemSchema>;
|
|
9384
9808
|
/**
|
|
9385
|
-
* One page of the
|
|
9809
|
+
* One page of the Inbox list. Open items come first, oldest first.
|
|
9386
9810
|
* The first page of a search, or of a list that includes archived items,
|
|
9387
9811
|
* also has the newest archived matches.
|
|
9388
9812
|
*/
|
|
9389
|
-
declare const
|
|
9813
|
+
declare const inboxItemListSchema: z.ZodObject<{
|
|
9390
9814
|
items: z.ZodArray<z.ZodObject<{
|
|
9391
|
-
addedByConversationId: z.ZodString;
|
|
9392
9815
|
addedByLabel: z.ZodOptional<z.ZodString>;
|
|
9393
9816
|
addedByTurnId: z.ZodOptional<z.ZodString>;
|
|
9394
9817
|
answer: z.ZodOptional<z.ZodObject<{
|
|
@@ -9398,6 +9821,7 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
9398
9821
|
}, z.core.$strict>>;
|
|
9399
9822
|
assignedToEveryone: z.ZodBoolean;
|
|
9400
9823
|
assignees: z.ZodArray<z.ZodObject<{
|
|
9824
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9401
9825
|
displayName: z.ZodOptional<z.ZodString>;
|
|
9402
9826
|
email: z.ZodString;
|
|
9403
9827
|
userId: z.ZodString;
|
|
@@ -9409,17 +9833,33 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
9409
9833
|
closeReason: z.ZodOptional<z.ZodString>;
|
|
9410
9834
|
closedAt: z.ZodOptional<z.ZodString>;
|
|
9411
9835
|
closedBy: z.ZodOptional<z.ZodObject<{
|
|
9836
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9412
9837
|
displayName: z.ZodOptional<z.ZodString>;
|
|
9413
9838
|
email: z.ZodString;
|
|
9414
9839
|
userId: z.ZodString;
|
|
9415
9840
|
}, z.core.$strict>>;
|
|
9416
9841
|
conversationIds: z.ZodArray<z.ZodString>;
|
|
9417
9842
|
createdAt: z.ZodString;
|
|
9843
|
+
snoozedByViewer: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9418
9844
|
id: z.ZodString;
|
|
9419
9845
|
kind: z.ZodEnum<{
|
|
9420
9846
|
action: "action";
|
|
9421
9847
|
notice: "notice";
|
|
9422
9848
|
}>;
|
|
9849
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9850
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
9851
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9852
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
9853
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
9854
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
9855
|
+
}, z.core.$strict>>>;
|
|
9856
|
+
owner: z.ZodObject<{
|
|
9857
|
+
id: z.ZodString;
|
|
9858
|
+
kind: z.ZodEnum<{
|
|
9859
|
+
automation: "automation";
|
|
9860
|
+
conversation: "conversation";
|
|
9861
|
+
}>;
|
|
9862
|
+
}, z.core.$strict>;
|
|
9423
9863
|
related: z.ZodOptional<z.ZodObject<{
|
|
9424
9864
|
conversationIds: z.ZodArray<z.ZodString>;
|
|
9425
9865
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -9462,7 +9902,7 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
9462
9902
|
url: z.ZodOptional<z.ZodString>;
|
|
9463
9903
|
}, z.core.$strict>>>;
|
|
9464
9904
|
}, z.core.$strip>>;
|
|
9465
|
-
rootConversationId: z.ZodString
|
|
9905
|
+
rootConversationId: z.ZodOptional<z.ZodString>;
|
|
9466
9906
|
status: z.ZodEnum<{
|
|
9467
9907
|
dismissed: "dismissed";
|
|
9468
9908
|
done: "done";
|
|
@@ -9490,7 +9930,19 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
9490
9930
|
trace: "trace";
|
|
9491
9931
|
web_page: "web_page";
|
|
9492
9932
|
}>>;
|
|
9933
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
9934
|
+
events: z.ZodArray<z.ZodString>;
|
|
9935
|
+
namespace: z.ZodString;
|
|
9936
|
+
phrases: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
9937
|
+
resourceType: z.ZodString;
|
|
9938
|
+
}, z.core.$strict>>;
|
|
9493
9939
|
title: z.ZodOptional<z.ZodString>;
|
|
9940
|
+
titleParts: z.ZodOptional<z.ZodObject<{
|
|
9941
|
+
breaking: z.ZodOptional<z.ZodBoolean>;
|
|
9942
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
9943
|
+
text: z.ZodString;
|
|
9944
|
+
type: z.ZodOptional<z.ZodString>;
|
|
9945
|
+
}, z.core.$strict>>;
|
|
9494
9946
|
url: z.ZodOptional<z.ZodString>;
|
|
9495
9947
|
}, z.core.$strict>>;
|
|
9496
9948
|
title: z.ZodString;
|
|
@@ -9499,15 +9951,24 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
9499
9951
|
private: "private";
|
|
9500
9952
|
public: "public";
|
|
9501
9953
|
}>;
|
|
9954
|
+
wake: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9955
|
+
kind: z.ZodLiteral<"time">;
|
|
9956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9957
|
+
eventType: z.ZodString;
|
|
9958
|
+
kind: z.ZodLiteral<"event">;
|
|
9959
|
+
phrase: z.ZodOptional<z.ZodString>;
|
|
9960
|
+
resource: z.ZodString;
|
|
9961
|
+
}, z.core.$strict>], "kind">>;
|
|
9502
9962
|
}, z.core.$strict>>;
|
|
9503
9963
|
moreArchived: z.ZodOptional<z.ZodBoolean>;
|
|
9504
9964
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9505
9965
|
}, z.core.$strict>;
|
|
9506
9966
|
/**
|
|
9507
|
-
* The counts behind the Inbox badge, which shows
|
|
9508
|
-
*
|
|
9967
|
+
* The counts behind the Inbox badge, which shows `needsViewer`, and behind
|
|
9968
|
+
* the Inbox entries. An Automation alert is an Inbox item, so
|
|
9969
|
+
* `needsViewer` counts it.
|
|
9509
9970
|
*/
|
|
9510
|
-
declare const
|
|
9971
|
+
declare const inboxItemCountSchema: z.ZodObject<{
|
|
9511
9972
|
automations: z.ZodOptional<z.ZodNumber>;
|
|
9512
9973
|
codeChanges: z.ZodNumber;
|
|
9513
9974
|
decisions: z.ZodNumber;
|
|
@@ -9519,7 +9980,7 @@ declare const reviewItemCountSchema: z.ZodObject<{
|
|
|
9519
9980
|
* is the newest such item; `count` is how many there are; `waitingSince` is
|
|
9520
9981
|
* when the oldest was added.
|
|
9521
9982
|
*/
|
|
9522
|
-
declare const
|
|
9983
|
+
declare const inboxItemWaitingConversationsSchema: z.ZodObject<{
|
|
9523
9984
|
conversations: z.ZodArray<z.ZodObject<{
|
|
9524
9985
|
conversationId: z.ZodString;
|
|
9525
9986
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -9529,8 +9990,8 @@ declare const reviewItemWaitingConversationsSchema: z.ZodObject<{
|
|
|
9529
9990
|
waitingSince: z.ZodString;
|
|
9530
9991
|
}, z.core.$strict>>;
|
|
9531
9992
|
}, z.core.$strict>;
|
|
9532
|
-
/** One person action on
|
|
9533
|
-
declare const
|
|
9993
|
+
/** One person action on an Inbox item. */
|
|
9994
|
+
declare const inboxItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9534
9995
|
action: z.ZodLiteral<"take">;
|
|
9535
9996
|
}, z.core.$strict>, z.ZodObject<{
|
|
9536
9997
|
action: z.ZodLiteral<"dismiss">;
|
|
@@ -9541,17 +10002,119 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9541
10002
|
values: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
9542
10003
|
}, z.core.$strict>;
|
|
9543
10004
|
}, z.core.$strict>], "action">;
|
|
9544
|
-
type
|
|
10005
|
+
type InboxItemActionBody = z.output<typeof inboxItemActionSchema>;
|
|
10006
|
+
/**
|
|
10007
|
+
* The Inbox row of a snooze: one Conversation, one item in it, or one item
|
|
10008
|
+
* on its own.
|
|
10009
|
+
*/
|
|
10010
|
+
declare const inboxSnoozeSubjectSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10011
|
+
conversationId: z.ZodString;
|
|
10012
|
+
inboxItemId: z.ZodOptional<z.ZodString>;
|
|
10013
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10014
|
+
inboxItemId: z.ZodString;
|
|
10015
|
+
}, z.core.$strict>]>;
|
|
10016
|
+
/**
|
|
10017
|
+
* An Event that ends a snooze: `wake` shows the item again, and `resolve`
|
|
10018
|
+
* dismisses it. The Event is on the page at `resourceUrl`, such as another
|
|
10019
|
+
* pull request, or on each item's subject when it is unset.
|
|
10020
|
+
*/
|
|
10021
|
+
declare const inboxSnoozeTriggerSchema: z.ZodObject<{
|
|
10022
|
+
eventType: z.ZodString;
|
|
10023
|
+
outcome: z.ZodEnum<{
|
|
10024
|
+
resolve: "resolve";
|
|
10025
|
+
wake: "wake";
|
|
10026
|
+
}>;
|
|
10027
|
+
resourceUrl: z.ZodOptional<z.ZodString>;
|
|
10028
|
+
}, z.core.$strict>;
|
|
10029
|
+
/**
|
|
10030
|
+
* An Event resource that a snooze can wait on, such as a pull request, and
|
|
10031
|
+
* the Event types of its resource type.
|
|
10032
|
+
*/
|
|
10033
|
+
declare const inboxSnoozeResourceSchema: z.ZodObject<{
|
|
10034
|
+
events: z.ZodArray<z.ZodString>;
|
|
10035
|
+
namespace: z.ZodString;
|
|
10036
|
+
phrases: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10037
|
+
resourceType: z.ZodString;
|
|
10038
|
+
}, z.core.$strict>;
|
|
10039
|
+
/**
|
|
10040
|
+
* Most triggers in one snooze. It bounds the trigger rows that one request
|
|
10041
|
+
* writes for each item, and fits every Event of one page: a GitHub pull
|
|
10042
|
+
* request has 13.
|
|
10043
|
+
*/
|
|
10044
|
+
declare const INBOX_SNOOZE_MAX_TRIGGERS = 30;
|
|
10045
|
+
/**
|
|
10046
|
+
* `POST /api/inbox/snoozes` body: hide the row's open items from the viewer
|
|
10047
|
+
* until `wakeAt` or one of `triggers` fires, whichever is first, or with
|
|
10048
|
+
* `untilClosed`, until each item closes. A later item in the row shows by
|
|
10049
|
+
* itself.
|
|
10050
|
+
*/
|
|
10051
|
+
declare const inboxSnoozeCreateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10052
|
+
conversationId: z.ZodString;
|
|
10053
|
+
inboxItemId: z.ZodOptional<z.ZodString>;
|
|
10054
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10055
|
+
eventType: z.ZodString;
|
|
10056
|
+
outcome: z.ZodEnum<{
|
|
10057
|
+
resolve: "resolve";
|
|
10058
|
+
wake: "wake";
|
|
10059
|
+
}>;
|
|
10060
|
+
resourceUrl: z.ZodOptional<z.ZodString>;
|
|
10061
|
+
}, z.core.$strict>>>;
|
|
10062
|
+
untilClosed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
10063
|
+
wakeAt: z.ZodOptional<z.ZodString>;
|
|
10064
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10065
|
+
inboxItemId: z.ZodString;
|
|
10066
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10067
|
+
eventType: z.ZodString;
|
|
10068
|
+
outcome: z.ZodEnum<{
|
|
10069
|
+
resolve: "resolve";
|
|
10070
|
+
wake: "wake";
|
|
10071
|
+
}>;
|
|
10072
|
+
resourceUrl: z.ZodOptional<z.ZodString>;
|
|
10073
|
+
}, z.core.$strict>>>;
|
|
10074
|
+
untilClosed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
10075
|
+
wakeAt: z.ZodOptional<z.ZodString>;
|
|
10076
|
+
}, z.core.$strict>]>;
|
|
10077
|
+
/** The items that a snooze hid from the viewer, one snooze each. */
|
|
10078
|
+
declare const inboxSnoozeSchema: z.ZodObject<{
|
|
10079
|
+
inboxItemIds: z.ZodArray<z.ZodString>;
|
|
10080
|
+
}, z.core.$strict>;
|
|
10081
|
+
/**
|
|
10082
|
+
* Why the viewer's snooze of an item woke: its time came, or an Event on
|
|
10083
|
+
* `resource`, such as `getsentry/junior#12`. `phrase` says how the Event
|
|
10084
|
+
* reads after the resource's name, where its source says.
|
|
10085
|
+
*/
|
|
10086
|
+
declare const inboxSnoozeWakeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10087
|
+
kind: z.ZodLiteral<"time">;
|
|
10088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10089
|
+
eventType: z.ZodString;
|
|
10090
|
+
kind: z.ZodLiteral<"event">;
|
|
10091
|
+
phrase: z.ZodOptional<z.ZodString>;
|
|
10092
|
+
resource: z.ZodString;
|
|
10093
|
+
}, z.core.$strict>], "kind">;
|
|
10094
|
+
/**
|
|
10095
|
+
* `DELETE /api/inbox/snoozes/wakes` body: the viewer opened these items, so
|
|
10096
|
+
* they no longer show why their snoozes woke.
|
|
10097
|
+
*/
|
|
10098
|
+
declare const inboxSnoozeWakesClearSchema: z.ZodObject<{
|
|
10099
|
+
inboxItemIds: z.ZodArray<z.ZodString>;
|
|
10100
|
+
}, z.core.$strict>;
|
|
10101
|
+
type InboxSnoozeCreateBody = z.input<typeof inboxSnoozeCreateSchema>;
|
|
10102
|
+
type InboxSnoozeSubjectBody = z.input<typeof inboxSnoozeSubjectSchema>;
|
|
10103
|
+
type InboxSnoozeTrigger = z.output<typeof inboxSnoozeTriggerSchema>;
|
|
10104
|
+
type InboxSnoozeResource = z.output<typeof inboxSnoozeResourceSchema>;
|
|
10105
|
+
type InboxSnoozeWake = z.output<typeof inboxSnoozeWakeSchema>;
|
|
10106
|
+
/** The most Conversations that one versions read gives tokens for. */
|
|
10107
|
+
declare const VERSIONS_CONVERSATION_LIMIT = 50;
|
|
9545
10108
|
/**
|
|
9546
10109
|
* Opaque change tokens for the dashboard reads that refresh by themselves.
|
|
9547
10110
|
* A token changes when the read it covers can change. Compare a token only
|
|
9548
10111
|
* with an earlier token of the same field.
|
|
9549
10112
|
*/
|
|
9550
10113
|
declare const versionsSchema: z.ZodObject<{
|
|
9551
|
-
|
|
10114
|
+
conversationDetails: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
9552
10115
|
conversations: z.ZodString;
|
|
9553
|
-
|
|
10116
|
+
inboxItems: z.ZodString;
|
|
9554
10117
|
spend: z.ZodString;
|
|
9555
10118
|
}, z.core.$strict>;
|
|
9556
10119
|
type Versions = z.output<typeof versionsSchema>;
|
|
9557
|
-
export { ListedAutomationVersion as $, AGENT_REPLY_EVENT_TYPE as $a, CONVERSATION_VERSION_HEADER as $i, CONVERSATION_TITLE_MAX_LENGTH as $n, CancelConversationPendingMessagesResponse as $r, cacheWarmingSavingsReportSchema as $t, runtimeInfoReportSchema as A, conversationReportEventDataSchema as Aa, codePersonReportSchema as Ai, ActorTotalsReport as An, ContinueConversationInSlackResponse as Ar, workspaceBodySchema as At, AutomationExecutionList as B, annotationCard as Ba, MAX_OBJECT_LINKS as Bi, ConversationPlanReport as Bn, conversationStatsReportSchema as Br, personalTokenListSchema as Bt, healthReportSchema as C, conversationAuxiliaryCostsSchema as Ca, CodeRepositoryReport as Ci, locationDirectoryReportSchema as Cn, ConversationCatchUp as Cr, eventAutomationSummarySchema as Ct, pluginPackageContentReportSchema as D, conversationEventPageSchema as Da, codeChangeSummaryReportSchema as Di, ActorDirectoryWindows as Dn, ConversationReadPosition as Dr, WorkspaceReport as Dt, pluginPackageContentItemReportSchema as E, conversationEventHistorySchema as Ea, codeActivityDaySchema as Ei, ActorDirectoryReport as En, conversationCatchUpSchema as Er, WorkspaceListReport as Et, StatsReport as F, forkConversationBodySchema as Fa, ConversationChildAgentTotals as Fi, actorDirectoryReportSchema as Fn, ConversationMetricDay as Fr, USER_CUSTOMIZATION_MAX_CHARS as Ft, AutomationListQuery as G, USER_INPUT_NOTE as Ga, objectLinksReportSchema as Gi, ConversationWatch as Gn, archiveConversationResponseSchema as Gr, serviceAccountListSchema as Gt, AutomationList as H, resolveMessageCards as Ha, attachObjectLinkBodySchema as Hi, conversationPlanItemSchema as Hn, ArchiveConversationResponse as Hr, personalTokenParamsSchema as Ht, statSchema as I, forkConversationResponseSchema as Ia, conversationChildAgentTotalsSchema as Ii, actorProfileReportSchema as In, ConversationStatsItem as Ir, userCustomizationSchema as It, AutomationRunWindows as J, UserInputRequest as Ja, personObjectCard as Ji, conversationWatchesReportSchema as Jn, ConversationFeed as Jr, startServiceAccountSignInResponseSchema as Jt, AutomationRun as K, UserInputAnswer as Ka, conversationObjectCard as Ki, ConversationWatchesReport as Kn, archiveDoneConversationsResponseSchema as Kr, serviceAccountParamsSchema as Kt, statsReportSchema as L, conversationTurnFailureCodeSchema as La, DailyConversationActivity as Li, personParamsSchema as Ln, ConversationStatsReport as Lr, PersonalTokenMetadata as Lt, skillReportSchema as M, conversationSummaryReportSchema as Ma, codeRepositoryQuerySchema as Mi, PeopleActivityDayReport as Mn, continueConversationInSlackResponseSchema as Mr, workspaceParamsSchema as Mt, skillReportsSchema as N, createConversationBodySchema as Na, codeRepositoryReportSchema as Ni, PersonParams as Nn, StopConversationTurnResponse as Nr, workspaceRepoSchema as Nt, pluginSchema as O, conversationEventsQuerySchema as Oa, codeChangeSummarySchema as Oi, ActorProfileReport as On, conversationReadPositionSchema as Or, baselineSnapshotSchema as Ot, StatReport as P, createConversationMessageBodySchema as Pa, codeRepositorySummarySchema as Pi, PersonalSpendReport as Pn, stopConversationTurnResponseSchema as Pr, workspaceSchema as Pt, AutomationVersionList as Q, webMessageId as Qa, CONVERSATION_DETAIL_VERSION_HEADER as Qi, conversationChildAgentsReportSchema as Qn, CancelConversationPendingMessagesBody as Qr, cacheWarmingSavingsRefillResponseSchema as Qt, AutomationEdit as R, conversationTurnFailureReasonSchema as Ra, dailyConversationActivitySchema as Ri, personalSpendReportSchema as Rn, GuardianMetricDay as Rr, createPersonalTokenBodySchema as Rt, SkillReports as S, conversationActivityPreviewSchema as Sa, CodePersonReport as Si, locationDetailReportSchema as Sn, reorderPinnedConversationsResponseSchema as Sr, automationVersionSchema as St, pluginOperationalReportSchema as T, conversationDetailReportSchema as Ta, IDLE_CHANGE_DAYS as Ti, ActorActivityDayReport as Tn, conversationCatchUpBodySchema as Tr, BaselineSnapshotReport as Tt, AutomationListItem as U, AutomationTask as Ua, attachObjectLinkResponseSchema as Ui, conversationPlanReportSchema as Un, ConversationAutoArchive as Ur, revokePersonalTokenResponseSchema as Ut, AutomationExecutionStatusDay as V, messageCardText as Va, ObjectLinksReport as Vi, PlanItemStatusBody as Vn, ArchiveConversationBody as Vr, personalTokenMetadataSchema as Vt, AutomationListPage as W, AutomationCard as Wa, objectLinksQuerySchema as Wi, planItemStatusBodySchema as Wn, archiveConversationBodySchema as Wr, disconnectServiceAccountResponseSchema as Wt, AutomationSummary as X, isEmptyUserInputAnswer as Xa, AcceptedConversationMessage as Xi, ConversationChildAgentsReport as Xn, conversationFeedQuerySchema as Xr, CacheWarmingSavingsReport as Xt, AutomationScheduleIntent as Y, buttonUserInputField as Ya, webPageObjectCard as Yi, ConversationChildAgent as Yn, ConversationFeedItem as Yr, CacheWarmingSavingsRefill as Yt, AutomationUpdate as Z, normalizeUserInputAnswer as Za, ActorIdentity as Zi, conversationChildAgentSchema as Zn, conversationFeedSchema as Zr, cacheWarmingBreakerListSchema as Zt, PluginPackageContentReport as _, ConversationTurnFailureReason as _a, attachmentUploadSchema as _i, LocationDetailReport as _n, ReorderPinnedConversationsBody as _r, automationSummarySchema as _t, ReviewItemPayload as a, ConversationEventHistory as aa, cancelConversationPendingMessagesBodySchema as ai, NotificationSchedule as an, INLINE_VIDEO_TYPES as ao, ConversationOutline as ar, automationExecutionStatusDaySchema as at, SkillDetailReport as b, CreateConversationMessageBody as ba, CodeChangeSummaryReport as bi, LocationSummaryReport as bn, pinConversationResponseSchema as br, automationVersionListSchema as bt, reviewItemListSchema as c, ConversationParams as ca, conversationPendingAuthorizationSchema as ci, connectionListSchema as cn, ConversationSubscriptionResponse as cr, automationListPageSchema as ct, ReviewItemChangeRecord as d, ConversationReportMessageEvent as da, conversationPendingMessagesReportSchema as di, disconnectConnectionResponseSchema as dn, ConversationDeliveryBody as dr, automationParamsSchema as dt, ConversationActivityPreview as ea, ConversationPendingMessage as ei, closeCacheWarmingBreakerResponseSchema as en, isAgentInvocationResultEventType as eo, RenameConversationBody as er, automationEditErrorSchema as et, HealthReport as f, ConversationReportStatus as fa, conversationUnchangedDetailWithMailboxSchema as fi, startConnectionResponseSchema as fn, ConversationDeliveryResponse as fr, automationRunListSchema as ft, PluginPackageContentItemReport as g, ConversationTurnFailureCode as ga, CreateAttachmentUploadBody as gi, LocationActorSummaryReport as gn, PinConversationResponse as gr, automationSchedulePreviewSchema as gt, PluginOperationalReportFeed as h, ConversationSurface as ha, AttachmentUpload as hi, LocationActivityDayReport as hn, PinConversationBody as hr, automationScheduleIntentSchema as ht, ReviewItemActionBody as i, ConversationDetailReport as ia, SteerConversationPendingMessagesResponse as ii, DEFAULT_NOTIFICATION_SCHEDULE as in, MessageAttachment as io, CONVERSATION_OUTLINE_TEXT_LENGTH as ir, automationExecutionSchema as it, skillDetailReportSchema as j, conversationReportEventSchema as ja, codeRepositoryParamsSchema as ji, ActorWindowMetrics as jn, continueConversationInSlackBodySchema as jr, workspaceListSchema as jt, pluginsSchema as k, conversationParamsSchema as ka, codeOverviewReportSchema as ki, ActorSummaryReport as kn, ContinueConversationInSlackBody as kr, deleteWorkspaceResponseSchema as kt, reviewItemSchema as l, ConversationReportEvent as la, conversationPendingMessageDeliverySchema as li, connectionParamsSchema as ln, conversationSubscriptionBodySchema as lr, automationListQuerySchema as lt, PluginOperationalReport as m, ConversationSummaryReport as ma, steerConversationPendingMessagesResponseSchema as mi, apiErrorSchema as mn, conversationDeliveryResponseSchema as mr, automationRunWindowsSchema as mt, Versions as n, ConversationAuxiliaryCosts as na, ConversationPendingMessagesReport as ni, notificationSettingsSchema as nn, MAX_ATTACHMENT_BYTES as no, renameConversationBodySchema as nr, automationEventCatalogSchema as nt, reviewItemActionSchema as o, ConversationEventPage as oa, cancelConversationPendingMessagesResponseSchema as oi, isWithinNotificationSchedule as on, INPUT_IMAGE_TYPES as oo, conversationOutlineSchema as or, automationExecutionStatusSchema as ot, Plugin as p, ConversationSourceTask as pa, steerConversationPendingMessagesBodySchema as pi, ApiError as pn, conversationDeliveryBodySchema as pr, automationRunSchema as pt, AutomationRunList as q, UserInputField as qa, messageObjectCard as qi, conversationWatchSchema as qn, conversationAutoArchiveSchema as qr, serviceAccountSchema as qt, versionsSchema as r, ConversationCost as ra, SteerConversationPendingMessagesBody as ri, testNotificationResponseSchema as rn, MAX_INPUT_ATTACHMENTS as ro, renameConversationResponseSchema as rr, automationExecutionListSchema as rt, reviewItemCountSchema as s, ConversationModelUsage as sa, conversationDetailWithMailboxReportSchema as si, notificationScheduleSchema as sn, ConversationSubscriptionBody as sr, automationListItemSchema as st, OwnedObjectAnnotation as t, ConversationAgentTreeNode as ta, ConversationPendingMessageDelivery as ti, NotificationSettings as tn, InputFile as to, RenameConversationResponse as tr, automationEditSchema as tt, reviewItemWaitingConversationsSchema as u, ConversationReportEventData as ua, conversationPendingMessageSchema as ui, connectionSchema as un, conversationSubscriptionResponseSchema as ur, automationListSchema as ut, Plugins as v, ConversationUsage as va, createAttachmentUploadBodySchema as vi, LocationDirectoryReport as vn, ReorderPinnedConversationsResponse as vr, automationUpdateSchema as vt, pluginOperationalReportFeedSchema as w, conversationDetailQuerySchema as wa, CodeRepositorySummary as wi, locationParamsSchema as wn, ConversationCatchUpBody as wr, scheduledAutomationSummarySchema as wt, SkillReport as x, acceptedConversationMessageSchema as xa, CodeOverviewReport as xi, locationActivityDayReportSchema as xn, reorderPinnedConversationsBodySchema as xr, automationVersionParamsSchema as xt, RuntimeInfoReport as y, CreateConversationBody as ya, CodeActivityDay as yi, LocationParams as yn, pinConversationBodySchema as yr, automationVersionActivateSchema as yt, AutomationExecution as z, MessageCard as za, AttachObjectLinkResponse as zi, ConversationPlanItem as zn, GuardianStats as zr, createdPersonalTokenSchema as zt };
|
|
10120
|
+
export { AutomationExecutionStatusDay as $, ConversationReportMessageEvent as $a, activityPreviewText as $i, MentionablePerson as $n, pinConversationResponseSchema as $r, personalTokenListSchema as $t, Plugins as A, attachObjectLinkBodySchema as Aa, conversationFeedQuerySchema as Ai, connectionSchema as An, AutomationCard as Ao, RenameConversationBody as Ar, automationUpdateSchema as At, pluginSchema as B, CONVERSATION_DETAIL_VERSION_HEADER as Ba, cancelConversationPendingMessagesResponseSchema as Bi, LocationParams as Bn, AGENT_REPLY_EVENT_TYPE as Bo, conversationInviteBodySchema as Br, baselineSnapshotSchema as Bt, InboxItemChangeRecord as C, ConversationChildAgentTotals as Ca, archiveConversationBodySchema as Ci, testNotificationResponseSchema as Cn, conversationTurnFailureCodeSchema as Co, conversationWatchesReportSchema as Cr, automationParamsSchema as Ct, PluginOperationalReportFeed as D, AttachObjectLinkResponse as Da, ConversationFeed as Di, notificationScheduleSchema as Dn, messageCardText as Do, conversationChildAgentSchema as Dr, automationScheduleIntentSchema as Dt, PluginOperationalReport as E, dailyConversationActivitySchema as Ea, conversationAutoArchiveSchema as Ei, isWithinNotificationSchedule as En, annotationCard as Eo, ConversationChildAgentsReport as Er, automationRunWindowsSchema as Et, healthReportSchema as F, messageObjectCard as Fa, ConversationPendingMessageDelivery as Fi, apiErrorSchema as Fn, answeredChoices as Fo, ConversationOutline as Fr, eventAutomationSummarySchema as Ft, skillReportsSchema as G, ConversationCost as Ga, conversationPendingMessagesReportSchema as Gi, locationParamsSchema as Gn, MessageAttachment as Go, ConversationDeliveryResponse as Gr, workspaceRepoSchema as Gt, runtimeInfoReportSchema as H, ConversationActivityPreview as Ha, conversationPendingAuthorizationSchema as Hi, locationActivityDayReportSchema as Hn, InputFile as Ho, conversationSubscriptionBodySchema as Hr, workspaceBodySchema as Ht, pluginOperationalReportFeedSchema as I, personObjectCard as Ia, ConversationPendingMessagesReport as Ii, LocationActivityDayReport as In, buttonUserInputField as Io, conversationOutlineSchema as Ir, scheduledAutomationSummarySchema as It, statSchema as J, ConversationEventPage as Ja, steerConversationPendingMessagesResponseSchema as Ji, ActorDirectoryWindows as Jn, PinConversationBody as Jr, userCustomizationSchema as Jt, StatReport as K, ConversationDetailReport as Ka, conversationUnchangedDetailWithMailboxSchema as Ki, ActorActivityDayReport as Kn, INLINE_VIDEO_TYPES as Ko, conversationDeliveryBodySchema as Kr, workspaceSchema as Kt, pluginOperationalReportSchema as L, webPageObjectCard as La, SteerConversationPendingMessagesBody as Li, LocationActorSummaryReport as Ln, isEmptyUserInputAnswer as Lo, ConversationInviteResponse as Lr, BaselineSnapshotReport as Lt, SkillDetailReport as M, objectLinksQuerySchema as Ma, CancelConversationPendingMessagesBody as Mi, startConnectionResponseSchema as Mn, UserInputAnswer as Mo, renameConversationBodySchema as Mr, automationVersionListSchema as Mt, SkillReport as N, objectLinksReportSchema as Na, CancelConversationPendingMessagesResponse as Ni, ApiError as Nn, UserInputField as No, renameConversationResponseSchema as Nr, automationVersionParamsSchema as Nt, PluginPackageContentItemReport as O, MAX_OBJECT_LINKS as Oa, ConversationFeedItem as Oi, connectionListSchema as On, resolveMessageCards as Oo, conversationChildAgentsReportSchema as Or, automationSchedulePreviewSchema as Ot, SkillReports as P, conversationObjectCard as Pa, ConversationPendingMessage as Pi, CONTENT_VERSION_HEADER as Pn, UserInputRequest as Po, CONVERSATION_OUTLINE_TEXT_LENGTH as Pr, automationVersionSchema as Pt, AutomationExecutionList as Q, ConversationReportEventData as Qa, createAttachmentUploadBodySchema as Qi, ActorWindowMetrics as Qn, pinConversationBodySchema as Qr, createdPersonalTokenSchema as Qt, pluginPackageContentItemReportSchema as R, AcceptedConversationMessage as Ra, SteerConversationPendingMessagesResponse as Ri, LocationDetailReport as Rn, normalizeUserInputAnswer as Ro, ConversationSubscriptionBody as Rr, WorkspaceListReport as Rt, inboxItemWaitingConversationsSchema as S, mentionableCodeChangeSchema as Sa, ConversationAutoArchive as Si, notificationSettingsSchema as Sn, createConversationMessageBodySchema as So, conversationWatchSchema as Sr, automationListSchema as St, Plugin as T, DailyConversationActivity as Ta, archiveDoneConversationsResponseSchema as Ti, NotificationSchedule as Tn, MessageCard as To, ConversationChildAgent as Tr, automationRunSchema as Tt, skillDetailReportSchema as U, ConversationAgentTreeNode as Ua, conversationPendingMessageDeliverySchema as Ui, locationDetailReportSchema as Un, MAX_ATTACHMENT_BYTES as Uo, conversationSubscriptionResponseSchema as Ur, workspaceListSchema as Ut, pluginsSchema as V, CONVERSATION_VERSION_HEADER as Va, conversationDetailWithMailboxReportSchema as Vi, LocationSummaryReport as Vn, isAgentInvocationResultEventType as Vo, conversationInviteResponseSchema as Vr, deleteWorkspaceResponseSchema as Vt, skillReportSchema as W, ConversationAuxiliaryCosts as Wa, conversationPendingMessageSchema as Wi, locationDirectoryReportSchema as Wn, MAX_INPUT_ATTACHMENTS as Wo, ConversationDeliveryBody as Wr, workspaceParamsSchema as Wt, AutomationEdit as X, ConversationParams as Xa, CreateAttachmentUploadBody as Xi, ActorSummaryReport as Xn, ReorderPinnedConversationsBody as Xr, PersonalTokenMetadata as Xt, statsReportSchema as Y, ConversationModelUsage as Ya, AttachmentUpload as Yi, ActorProfileReport as Yn, PinConversationResponse as Yr, leadSchema as Yt, AutomationExecution as Z, ConversationReportEvent as Za, attachmentUploadSchema as Zi, ActorTotalsReport as Zn, ReorderPinnedConversationsResponse as Zr, createPersonalTokenBodySchema as Zt, InboxItemPayload as _, codePersonReportSchema as _a, GuardianMetricDay as _i, cacheWarmingBreakerListSchema as _n, conversationParamsSchema as _o, conversationTodoSchema as _r, automationExecutionStatusDaySchema as _t, INBOX_SNOOZE_MAX_TRIGGERS as a, CodeOverviewReport as aa, conversationCatchUpSchema as ai, serviceAccountParamsSchema as an, ConversationTurnFailureReason as ao, PersonalSpendReport as ar, AutomationRunList as at, inboxItemListSchema as b, codeRepositoryReportSchema as ba, ArchiveConversationBody as bi, closeCacheWarmingBreakerResponseSchema as bn, conversationSummaryReportSchema as bo, ConversationWatch as br, automationListPageSchema as bt, InboxSnoozeSubjectBody as c, CodeRepositorySummary as ca, ContinueConversationInSlackBody as ci, GatewayProviders as cn, CreateConversationMessageBody as co, mentionablePersonSchema as cr, AutomationSummary as ct, inboxSnoozeCreateSchema as d, codeActivityDaySchema as da, continueConversationInSlackResponseSchema as di, gatewayOnlyProviders as dn, conversationAuxiliaryCostsSchema as do, personCardReportSchema as dr, ListedAutomationVersion as dt, forkConversationBodySchema as ea, reorderPinnedConversationsBodySchema as ei, personalTokenMetadataSchema as en, ConversationReportStatus as eo, PERSON_CARD_RECENT_LIMIT as er, AutomationList as et, inboxSnoozeResourceSchema as f, codeChangeSearchQuerySchema as fa, StopConversationTurnResponse as fi, CacheHealthReport as fn, conversationDetailQuerySchema as fo, personParamsSchema as fr, automationEditErrorSchema as ft, InboxItemActionBody as g, codeOverviewReportSchema as ga, ConversationStatsReport as gi, cacheHealthReportSchema as gn, conversationEventsQuerySchema as go, TodoStatusBody as gr, automationExecutionSchema as gt, inboxSnoozeWakesClearSchema as h, codeChangeSummarySchema as ha, ConversationStatsItem as hi, cacheHealthQuerySchema as hn, conversationEventPageSchema as ho, ConversationTodosReport as hr, automationExecutionListSchema as ht, versionsSchema as i, CodeChangeSummaryReport as ia, conversationCatchUpBodySchema as ii, serviceAccountListSchema as in, ConversationTurnFailureCode as io, PersonParams as ir, AutomationRun as it, RuntimeInfoReport as j, attachObjectLinkResponseSchema as ja, conversationFeedSchema as ji, disconnectConnectionResponseSchema as jn, USER_INPUT_NOTE as jo, RenameConversationResponse as jr, automationVersionActivateSchema as jt, PluginPackageContentReport as k, ObjectLinksReport as ka, ConversationFeedViewerAnswer as ki, connectionParamsSchema as kn, AutomationTask as ko, CONVERSATION_TITLE_MAX_LENGTH as kr, automationSummarySchema as kt, InboxSnoozeTrigger as l, IDLE_CHANGE_DAYS as la, ContinueConversationInSlackResponse as li, gatewayProvidersSchema as ln, acceptedConversationMessageSchema as lo, peopleSearchQuerySchema as lr, AutomationUpdate as lt, inboxSnoozeSubjectSchema as m, codeChangeSummaryReportSchema as ma, ConversationMetricDay as mi, CacheWarmingSavingsReport as mn, conversationEventHistorySchema as mo, ConversationTodo as mr, automationEventCatalogSchema as mt, VERSIONS_CONVERSATION_LIMIT as n, CodeActivityDay as na, ConversationCatchUp as ni, revokePersonalTokenResponseSchema as nn, ConversationSummaryReport as no, PeopleSearchReport as nr, AutomationListPage as nt, InboxSnoozeCreateBody as o, CodePersonReport as oa, ConversationReadPosition as oi, serviceAccountSchema as on, ConversationUsage as oo, actorDirectoryReportSchema as or, AutomationRunWindows as ot, inboxSnoozeSchema as p, codeChangeSearchReportSchema as pa, stopConversationTurnResponseSchema as pi, CacheWarmingSavingsRefill as pn, conversationDetailReportSchema as po, personalSpendReportSchema as pr, automationEditSchema as pt, StatsReport as q, ConversationEventHistory as qa, steerConversationPendingMessagesBodySchema as qi, ActorDirectoryReport as qn, INPUT_IMAGE_TYPES as qo, conversationDeliveryResponseSchema as qr, USER_CUSTOMIZATION_MAX_CHARS as qt, Versions as r, CodeChangeSearchReport as ra, ConversationCatchUpBody as ri, disconnectServiceAccountResponseSchema as rn, ConversationSurface as ro, PersonCardReport as rr, AutomationListQuery as rt, InboxSnoozeResource as s, CodeRepositoryReport as sa, conversationReadPositionSchema as si, startServiceAccountSignInResponseSchema as sn, CreateConversationBody as so, actorProfileReportSchema as sr, AutomationScheduleIntent as st, OwnedObjectAnnotation as t, forkConversationResponseSchema as ta, reorderPinnedConversationsResponseSchema as ti, personalTokenParamsSchema as tn, ConversationSourceTask as to, PeopleActivityDayReport as tr, AutomationListItem as tt, InboxSnoozeWake as u, MentionableCodeChange as ua, continueConversationInSlackBodySchema as ui, updateGatewayProvidersBodySchema as un, conversationActivityPreviewSchema as uo, peopleSearchReportSchema as ur, AutomationVersionList as ut, inboxItemActionSchema as v, codeRepositoryParamsSchema as va, GuardianStats as vi, cacheWarmingSavingsRefillResponseSchema as vn, conversationReportEventDataSchema as vo, conversationTodosReportSchema as vr, automationExecutionStatusSchema as vt, HealthReport as w, conversationChildAgentTotalsSchema as wa, archiveConversationResponseSchema as wi, DEFAULT_NOTIFICATION_SCHEDULE as wn, conversationTurnFailureReasonSchema as wo, watchParamsSchema as wr, automationRunListSchema as wt, inboxItemSchema as x, codeRepositorySummarySchema as xa, ArchiveConversationResponse as xi, NotificationSettings as xn, createConversationBodySchema as xo, ConversationWatchesReport as xr, automationListQuerySchema as xt, inboxItemCountSchema as y, codeRepositoryQuerySchema as ya, conversationStatsReportSchema as yi, cacheWarmingSavingsReportSchema as yn, conversationReportEventSchema as yo, todoStatusBodySchema as yr, automationListItemSchema as yt, pluginPackageContentReportSchema as z, ActorIdentity as za, cancelConversationPendingMessagesBodySchema as zi, LocationDirectoryReport as zn, webMessageId as zo, ConversationSubscriptionResponse as zr, WorkspaceReport as zt };
|