@macro-inc/sdk 0.5.0 → 0.6.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/README.md +156 -23
- package/dist/{chunk-3SW6QVDV.js → chunk-4MI52GWV.js} +60 -1
- package/dist/{chunk-GT5EUYOR.js → chunk-HO75UE4Z.js} +133 -0
- package/dist/{chunk-P4DTO6VD.js → chunk-MCSQNZ4E.js} +6 -0
- package/dist/{chunk-HIW6KU2I.js → chunk-SJ6S2GAT.js} +712 -14
- package/dist/{chunk-J2VK3NOR.js → chunk-SK5CMXRV.js} +44 -14
- package/dist/{chunk-UVJLWLSJ.js → chunk-TMTYN2UK.js} +190 -2
- package/dist/{chunk-PPR7IWZ7.js → chunk-ZYBAKW25.js} +2 -1
- package/dist/generated/agent-fold/index.d.ts +194 -8
- package/dist/generated/agent-harness/index.d.ts +1 -1
- package/dist/generated/agent-harness/index.js +1 -1
- package/dist/generated/agent-harness/sdk.gen.d.ts +33 -2
- package/dist/generated/agent-harness/types.gen.d.ts +341 -8
- package/dist/generated/agent-reviews/index.d.ts +11 -9
- package/dist/generated/auth/index.d.ts +1 -1
- package/dist/generated/auth/index.js +1 -1
- package/dist/generated/auth/sdk.gen.d.ts +69 -1
- package/dist/generated/auth/types.gen.d.ts +734 -3
- package/dist/generated/calendar/types.gen.d.ts +10 -3
- package/dist/generated/cognition/index.d.ts +1 -1
- package/dist/generated/cognition/index.js +1 -1
- package/dist/generated/cognition/sdk.gen.d.ts +23 -6
- package/dist/generated/cognition/types.gen.d.ts +202 -114
- package/dist/generated/contacts/index.d.ts +1 -1
- package/dist/generated/contacts/index.js +1 -1
- package/dist/generated/contacts/sdk.gen.d.ts +5 -1
- package/dist/generated/contacts/types.gen.d.ts +56 -0
- package/dist/generated/email/types.gen.d.ts +8 -2
- package/dist/generated/notification/index.d.ts +1 -1
- package/dist/generated/notification/index.js +1 -1
- package/dist/generated/notification/sdk.gen.d.ts +2 -1
- package/dist/generated/notification/types.gen.d.ts +138 -0
- package/dist/generated/scheduled-action/index.d.ts +1 -1
- package/dist/generated/scheduled-action/index.js +1 -1
- package/dist/generated/scheduled-action/sdk.gen.d.ts +92 -2
- package/dist/generated/scheduled-action/types.gen.d.ts +1455 -21
- package/dist/generated/search/index.d.ts +1 -1
- package/dist/generated/search/types.gen.d.ts +50 -11
- package/dist/generated/storage/index.d.ts +1 -1
- package/dist/generated/storage/index.js +1 -1
- package/dist/generated/storage/sdk.gen.d.ts +309 -15
- package/dist/generated/storage/types.gen.d.ts +12437 -8899
- package/dist/src/entities/agent-sessions/activity.d.ts +3 -2
- package/dist/src/entities/agent-sessions/agent-session.d.ts +17 -5
- package/dist/src/entities/agent-sessions/namespace.d.ts +5 -4
- package/dist/src/entities/agent-sessions/review.d.ts +1 -1
- package/dist/src/entities/ai/namespace.d.ts +2 -2
- package/dist/src/entities/api-keys/namespace.d.ts +5 -2
- package/dist/src/entities/bots/bot.d.ts +6 -3
- package/dist/src/entities/calendar/booking-namespace.d.ts +1 -1
- package/dist/src/entities/calendar/calendar.d.ts +3 -2
- package/dist/src/entities/calendar/event.d.ts +9 -0
- package/dist/src/entities/calendar/namespace.d.ts +3 -2
- package/dist/src/entities/calls/call-record.d.ts +19 -5
- package/dist/src/entities/canvases/canvas.d.ts +5 -0
- package/dist/src/entities/channels/channel.d.ts +27 -7
- package/dist/src/entities/channels/message.d.ts +65 -2
- package/dist/src/entities/channels/message.test.d.ts +1 -0
- package/dist/src/entities/channels/namespace.d.ts +9 -4
- package/dist/src/entities/channels/post.d.ts +13 -7
- package/dist/src/entities/channels/share.d.ts +9 -0
- package/dist/src/entities/channels/share.test.d.ts +1 -0
- package/dist/src/entities/channels/thread.d.ts +5 -1
- package/dist/src/entities/chats/chat.d.ts +1 -1
- package/dist/src/entities/chats/namespace.d.ts +1 -1
- package/dist/src/entities/connected-apps/connected-app.d.ts +2 -1
- package/dist/src/entities/connected-apps/namespace.d.ts +2 -0
- package/dist/src/entities/crm/company.d.ts +1 -1
- package/dist/src/entities/crm/contact.d.ts +44 -3
- package/dist/src/entities/crm/namespace.d.ts +30 -13
- package/dist/src/entities/crm/pipeline-entry.d.ts +10 -3
- package/dist/src/entities/crm/pipeline.d.ts +39 -20
- package/dist/src/entities/crm/pipelines.d.ts +33 -5
- package/dist/src/entities/crm-email-privacy/email-privacy.d.ts +238 -0
- package/dist/src/entities/crm-email-privacy/email-rule-preview.d.ts +55 -0
- package/dist/src/entities/crm-email-privacy/email-rule-revision.d.ts +27 -0
- package/dist/src/entities/crm-email-privacy/email-rules.d.ts +32 -0
- package/dist/src/entities/databases/database.d.ts +34 -6
- package/dist/src/entities/databases/namespace.d.ts +26 -6
- package/dist/src/entities/databases/saved-query.d.ts +7 -1
- package/dist/src/entities/databases/table.d.ts +9 -0
- package/dist/src/entities/databases/view.d.ts +10 -0
- package/dist/src/entities/documents/create.test.d.ts +1 -0
- package/dist/src/entities/documents/document.d.ts +41 -6
- package/dist/src/entities/documents/namespace.d.ts +17 -3
- package/dist/src/entities/email/draft.d.ts +2 -2
- package/dist/src/entities/email/message.d.ts +18 -7
- package/dist/src/entities/email/namespace.d.ts +11 -7
- package/dist/src/entities/email/thread.d.ts +26 -3
- package/dist/src/entities/entity.d.ts +10 -1
- package/dist/src/entities/external-chat/chat.d.ts +19 -2
- package/dist/src/entities/foreign/namespace.d.ts +1 -1
- package/dist/src/entities/forms/form.d.ts +20 -1
- package/dist/src/entities/harnesses/namespace.d.ts +1 -1
- package/dist/src/entities/harnesses/pairing.d.ts +2 -1
- package/dist/src/entities/imports/entry.d.ts +65 -0
- package/dist/src/entities/imports/namespace.d.ts +103 -0
- package/dist/src/entities/imports/namespace.test.d.ts +1 -0
- package/dist/src/entities/initiatives/initiative.d.ts +14 -4
- package/dist/src/entities/initiatives/namespace.d.ts +4 -2
- package/dist/src/entities/me/namespace.d.ts +1 -1
- package/dist/src/entities/meetings/meeting.d.ts +2 -1
- package/dist/src/entities/notifications/namespace.d.ts +2 -1
- package/dist/src/entities/notifications/notification.d.ts +2 -1
- package/dist/src/entities/passwords/item.d.ts +118 -0
- package/dist/src/entities/passwords/namespace.d.ts +45 -0
- package/dist/src/entities/projects/namespace.d.ts +1 -1
- package/dist/src/entities/projects/project.d.ts +11 -1
- package/dist/src/entities/referrals/namespace.d.ts +1 -1
- package/dist/src/entities/routines/namespace.d.ts +81 -18
- package/dist/src/entities/routines/routine.d.ts +65 -4
- package/dist/src/entities/routines/suggestion.d.ts +38 -0
- package/dist/src/entities/saved-views/namespace.d.ts +2 -1
- package/dist/src/entities/search/exclusions.d.ts +6 -0
- package/dist/src/entities/search/namespace.d.ts +4 -2
- package/dist/src/entities/search/options.d.ts +3 -2
- package/dist/src/entities/suggestions/namespace.d.ts +118 -0
- package/dist/src/entities/suggestions/suggestion.d.ts +172 -0
- package/dist/src/entities/suggestions/suggestion.test.d.ts +1 -0
- package/dist/src/entities/tasks/namespace.d.ts +6 -5
- package/dist/src/entities/tasks/task.d.ts +14 -2
- package/dist/src/entities/teams/team.d.ts +16 -3
- package/dist/src/entities/ui/app-link.d.ts +24 -0
- package/dist/src/entities/ui/namespace.d.ts +75 -0
- package/dist/src/entities/users/namespace.d.ts +7 -3
- package/dist/src/entities/web/namespace.d.ts +2 -2
- package/dist/src/entities/workspace/namespace.d.ts +5 -3
- package/dist/src/entities/workspace/query.test.d.ts +1 -0
- package/dist/src/events/hydrate/document.d.ts +5 -0
- package/dist/src/macro.d.ts +26 -1
- package/dist/src/macro.js +4086 -1234
- package/dist/src/utils/activity.d.ts +2 -0
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/lazy.d.ts +13 -0
- package/dist/src/utils/options.d.ts +7 -0
- package/dist/src/utils/pagination.d.ts +16 -0
- package/dist/src/utils/verbs.d.ts +3 -0
- package/package.json +1 -1
|
@@ -104,6 +104,18 @@ export type AgentRequestId =
|
|
|
104
104
|
number |
|
|
105
105
|
/** A string id. */
|
|
106
106
|
string;
|
|
107
|
+
export type AgentSessionRef = {
|
|
108
|
+
id: string;
|
|
109
|
+
};
|
|
110
|
+
/** One item of macro.agentSessions.updates(); its other fields are ignored. */
|
|
111
|
+
export type AgentUpdateItem = {
|
|
112
|
+
session: AgentSessionRef;
|
|
113
|
+
sessionName: string;
|
|
114
|
+
harness: string;
|
|
115
|
+
kind: AgentUpdateKind;
|
|
116
|
+
since: string;
|
|
117
|
+
};
|
|
118
|
+
export type AgentUpdateKind = "permission" | "elicitation" | "tool_approval" | "stalled";
|
|
107
119
|
/** How a container aligns its children across its axis. */
|
|
108
120
|
export type Align = "start" | "center" | "end" | "stretch";
|
|
109
121
|
/**
|
|
@@ -245,12 +257,12 @@ export type CardItem = {
|
|
|
245
257
|
/**
|
|
246
258
|
* The item's id exactly as a tool returned it: a document id (documents
|
|
247
259
|
* and spreadsheets), an email thread id, a calendar eventId, or a
|
|
248
|
-
* project, channel, routine, form or initiative id.
|
|
260
|
+
* database, project, channel, routine, form or initiative id.
|
|
249
261
|
*/
|
|
250
262
|
id: string;
|
|
251
263
|
};
|
|
252
264
|
/** The kinds of workspace item a card shows. */
|
|
253
|
-
export type CardItemType = "document" | "email_thread" | "calendar_event" | "project" | "channel" | "routine" | "form" | "initiative";
|
|
265
|
+
export type CardItemType = "document" | "database" | "email_thread" | "calendar_event" | "project" | "channel" | "routine" | "form" | "initiative";
|
|
254
266
|
/** A session control operation shown in the conversation timeline. */
|
|
255
267
|
export type Control =
|
|
256
268
|
/** The runtime was asked to switch models. */
|
|
@@ -1281,7 +1293,10 @@ export type ListSource_Deserialize =
|
|
|
1281
1293
|
}) & {
|
|
1282
1294
|
entities?: never;
|
|
1283
1295
|
} |
|
|
1284
|
-
/**
|
|
1296
|
+
/**
|
|
1297
|
+
* A fixed set of items. Each one shows, even one the list's query
|
|
1298
|
+
* cannot return; a kind no card loads shows as an unavailable row.
|
|
1299
|
+
*/
|
|
1285
1300
|
({
|
|
1286
1301
|
kind: "items";
|
|
1287
1302
|
entities: EntityRef[];
|
|
@@ -1297,7 +1312,10 @@ export type ListSource_Serialize =
|
|
|
1297
1312
|
}) & {
|
|
1298
1313
|
entities?: never;
|
|
1299
1314
|
} |
|
|
1300
|
-
/**
|
|
1315
|
+
/**
|
|
1316
|
+
* A fixed set of items. Each one shows, even one the list's query
|
|
1317
|
+
* cannot return; a kind no card loads shows as an unavailable row.
|
|
1318
|
+
*/
|
|
1301
1319
|
({
|
|
1302
1320
|
kind: "items";
|
|
1303
1321
|
entities: EntityRef[];
|
|
@@ -3948,14 +3966,17 @@ export type Widget_Deserialize =
|
|
|
3948
3966
|
markdown: string;
|
|
3949
3967
|
}) & {
|
|
3950
3968
|
align?: never;
|
|
3969
|
+
botId?: never;
|
|
3951
3970
|
channelId?: never;
|
|
3952
3971
|
children?: never;
|
|
3953
3972
|
direction?: never;
|
|
3954
3973
|
events?: never;
|
|
3974
|
+
expiresAt?: never;
|
|
3955
3975
|
gap?: never;
|
|
3956
3976
|
groupBy?: never;
|
|
3957
3977
|
items?: never;
|
|
3958
3978
|
justify?: never;
|
|
3979
|
+
label?: never;
|
|
3959
3980
|
limit?: never;
|
|
3960
3981
|
messageId?: never;
|
|
3961
3982
|
source?: never;
|
|
@@ -3970,13 +3991,16 @@ export type Widget_Deserialize =
|
|
|
3970
3991
|
events: TimelineEvent_Deserialize[];
|
|
3971
3992
|
}) & {
|
|
3972
3993
|
align?: never;
|
|
3994
|
+
botId?: never;
|
|
3973
3995
|
channelId?: never;
|
|
3974
3996
|
children?: never;
|
|
3975
3997
|
direction?: never;
|
|
3998
|
+
expiresAt?: never;
|
|
3976
3999
|
gap?: never;
|
|
3977
4000
|
groupBy?: never;
|
|
3978
4001
|
items?: never;
|
|
3979
4002
|
justify?: never;
|
|
4003
|
+
label?: never;
|
|
3980
4004
|
limit?: never;
|
|
3981
4005
|
markdown?: never;
|
|
3982
4006
|
messageId?: never;
|
|
@@ -3998,13 +4022,16 @@ export type Widget_Deserialize =
|
|
|
3998
4022
|
limit?: number;
|
|
3999
4023
|
}) & {
|
|
4000
4024
|
align?: never;
|
|
4025
|
+
botId?: never;
|
|
4001
4026
|
channelId?: never;
|
|
4002
4027
|
children?: never;
|
|
4003
4028
|
direction?: never;
|
|
4004
4029
|
events?: never;
|
|
4030
|
+
expiresAt?: never;
|
|
4005
4031
|
gap?: never;
|
|
4006
4032
|
items?: never;
|
|
4007
4033
|
justify?: never;
|
|
4034
|
+
label?: never;
|
|
4008
4035
|
markdown?: never;
|
|
4009
4036
|
messageId?: never;
|
|
4010
4037
|
tags?: never;
|
|
@@ -4019,13 +4046,16 @@ export type Widget_Deserialize =
|
|
|
4019
4046
|
messageId: string;
|
|
4020
4047
|
}) & {
|
|
4021
4048
|
align?: never;
|
|
4049
|
+
botId?: never;
|
|
4022
4050
|
children?: never;
|
|
4023
4051
|
direction?: never;
|
|
4024
4052
|
events?: never;
|
|
4053
|
+
expiresAt?: never;
|
|
4025
4054
|
gap?: never;
|
|
4026
4055
|
groupBy?: never;
|
|
4027
4056
|
items?: never;
|
|
4028
4057
|
justify?: never;
|
|
4058
|
+
label?: never;
|
|
4029
4059
|
limit?: never;
|
|
4030
4060
|
markdown?: never;
|
|
4031
4061
|
source?: never;
|
|
@@ -4044,13 +4074,16 @@ export type Widget_Deserialize =
|
|
|
4044
4074
|
events: AgendaEvent_Deserialize[];
|
|
4045
4075
|
}) & {
|
|
4046
4076
|
align?: never;
|
|
4077
|
+
botId?: never;
|
|
4047
4078
|
channelId?: never;
|
|
4048
4079
|
children?: never;
|
|
4049
4080
|
direction?: never;
|
|
4081
|
+
expiresAt?: never;
|
|
4050
4082
|
gap?: never;
|
|
4051
4083
|
groupBy?: never;
|
|
4052
4084
|
items?: never;
|
|
4053
4085
|
justify?: never;
|
|
4086
|
+
label?: never;
|
|
4054
4087
|
limit?: never;
|
|
4055
4088
|
markdown?: never;
|
|
4056
4089
|
messageId?: never;
|
|
@@ -4060,8 +4093,8 @@ export type Widget_Deserialize =
|
|
|
4060
4093
|
} |
|
|
4061
4094
|
/**
|
|
4062
4095
|
* Rich cards for the one to four specific items the answer is about: a
|
|
4063
|
-
* document or spreadsheet, an email thread, a calendar event,
|
|
4064
|
-
* a channel, a routine, a form or an initiative. Each card opens its
|
|
4096
|
+
* document or spreadsheet, a database, an email thread, a calendar event,
|
|
4097
|
+
* a project, a channel, a routine, a form or an initiative. Each card opens its
|
|
4065
4098
|
* item, and a routine's card can pause it or run it now. Use a list
|
|
4066
4099
|
* widget for longer sets.
|
|
4067
4100
|
*/
|
|
@@ -4071,13 +4104,16 @@ export type Widget_Deserialize =
|
|
|
4071
4104
|
items: CardItem[];
|
|
4072
4105
|
}) & {
|
|
4073
4106
|
align?: never;
|
|
4107
|
+
botId?: never;
|
|
4074
4108
|
channelId?: never;
|
|
4075
4109
|
children?: never;
|
|
4076
4110
|
direction?: never;
|
|
4077
4111
|
events?: never;
|
|
4112
|
+
expiresAt?: never;
|
|
4078
4113
|
gap?: never;
|
|
4079
4114
|
groupBy?: never;
|
|
4080
4115
|
justify?: never;
|
|
4116
|
+
label?: never;
|
|
4081
4117
|
limit?: never;
|
|
4082
4118
|
markdown?: never;
|
|
4083
4119
|
messageId?: never;
|
|
@@ -4097,20 +4133,83 @@ export type Widget_Deserialize =
|
|
|
4097
4133
|
tags: TagNode_Deserialize[];
|
|
4098
4134
|
}) & {
|
|
4099
4135
|
align?: never;
|
|
4136
|
+
botId?: never;
|
|
4100
4137
|
channelId?: never;
|
|
4101
4138
|
children?: never;
|
|
4102
4139
|
direction?: never;
|
|
4103
4140
|
events?: never;
|
|
4141
|
+
expiresAt?: never;
|
|
4104
4142
|
gap?: never;
|
|
4105
4143
|
groupBy?: never;
|
|
4106
4144
|
items?: never;
|
|
4107
4145
|
justify?: never;
|
|
4146
|
+
label?: never;
|
|
4108
4147
|
limit?: never;
|
|
4109
4148
|
markdown?: never;
|
|
4110
4149
|
messageId?: never;
|
|
4111
4150
|
source?: never;
|
|
4112
4151
|
wrap?: never;
|
|
4113
4152
|
} |
|
|
4153
|
+
/**
|
|
4154
|
+
* Live cards on which the user answers coding agents' waiting
|
|
4155
|
+
* permission requests and questions, and sees stalled sessions. Pass the
|
|
4156
|
+
* items macro.agentSessions.updates() returned, unchanged, whenever it
|
|
4157
|
+
* returns any: these cards are the only place the user can answer them.
|
|
4158
|
+
*/
|
|
4159
|
+
({
|
|
4160
|
+
type: "agentUpdates";
|
|
4161
|
+
items: AgentUpdateItem[];
|
|
4162
|
+
}) & {
|
|
4163
|
+
align?: never;
|
|
4164
|
+
botId?: never;
|
|
4165
|
+
channelId?: never;
|
|
4166
|
+
children?: never;
|
|
4167
|
+
direction?: never;
|
|
4168
|
+
events?: never;
|
|
4169
|
+
expiresAt?: never;
|
|
4170
|
+
gap?: never;
|
|
4171
|
+
groupBy?: never;
|
|
4172
|
+
justify?: never;
|
|
4173
|
+
label?: never;
|
|
4174
|
+
limit?: never;
|
|
4175
|
+
markdown?: never;
|
|
4176
|
+
messageId?: never;
|
|
4177
|
+
source?: never;
|
|
4178
|
+
tags?: never;
|
|
4179
|
+
title?: never;
|
|
4180
|
+
wrap?: never;
|
|
4181
|
+
} |
|
|
4182
|
+
/**
|
|
4183
|
+
* A card on which the user mints a new token for a bot they manage and
|
|
4184
|
+
* sees its secret, which never reaches you. Present it whenever the user
|
|
4185
|
+
* asks for a bot token or credential.
|
|
4186
|
+
*/
|
|
4187
|
+
({
|
|
4188
|
+
type: "botCredential";
|
|
4189
|
+
/** The bot's id. */
|
|
4190
|
+
botId: string;
|
|
4191
|
+
/** Where the token will be used, such as "github-webhook". */
|
|
4192
|
+
label?: string;
|
|
4193
|
+
/** RFC 3339 expiry; omit for a token that does not expire. */
|
|
4194
|
+
expiresAt?: string;
|
|
4195
|
+
}) & {
|
|
4196
|
+
align?: never;
|
|
4197
|
+
channelId?: never;
|
|
4198
|
+
children?: never;
|
|
4199
|
+
direction?: never;
|
|
4200
|
+
events?: never;
|
|
4201
|
+
gap?: never;
|
|
4202
|
+
groupBy?: never;
|
|
4203
|
+
items?: never;
|
|
4204
|
+
justify?: never;
|
|
4205
|
+
limit?: never;
|
|
4206
|
+
markdown?: never;
|
|
4207
|
+
messageId?: never;
|
|
4208
|
+
source?: never;
|
|
4209
|
+
tags?: never;
|
|
4210
|
+
title?: never;
|
|
4211
|
+
wrap?: never;
|
|
4212
|
+
} |
|
|
4114
4213
|
/** A nestable flex container of widgets. */
|
|
4115
4214
|
({
|
|
4116
4215
|
type: "container";
|
|
@@ -4123,10 +4222,13 @@ export type Widget_Deserialize =
|
|
|
4123
4222
|
title?: string;
|
|
4124
4223
|
children: Widget_Deserialize[];
|
|
4125
4224
|
}) & {
|
|
4225
|
+
botId?: never;
|
|
4126
4226
|
channelId?: never;
|
|
4127
4227
|
events?: never;
|
|
4228
|
+
expiresAt?: never;
|
|
4128
4229
|
groupBy?: never;
|
|
4129
4230
|
items?: never;
|
|
4231
|
+
label?: never;
|
|
4130
4232
|
limit?: never;
|
|
4131
4233
|
markdown?: never;
|
|
4132
4234
|
messageId?: never;
|
|
@@ -4147,14 +4249,17 @@ export type Widget_Serialize =
|
|
|
4147
4249
|
markdown: string;
|
|
4148
4250
|
}) & {
|
|
4149
4251
|
align?: never;
|
|
4252
|
+
botId?: never;
|
|
4150
4253
|
channelId?: never;
|
|
4151
4254
|
children?: never;
|
|
4152
4255
|
direction?: never;
|
|
4153
4256
|
events?: never;
|
|
4257
|
+
expiresAt?: never;
|
|
4154
4258
|
gap?: never;
|
|
4155
4259
|
groupBy?: never;
|
|
4156
4260
|
items?: never;
|
|
4157
4261
|
justify?: never;
|
|
4262
|
+
label?: never;
|
|
4158
4263
|
limit?: never;
|
|
4159
4264
|
messageId?: never;
|
|
4160
4265
|
source?: never;
|
|
@@ -4169,13 +4274,16 @@ export type Widget_Serialize =
|
|
|
4169
4274
|
events: TimelineEvent_Serialize[];
|
|
4170
4275
|
}) & {
|
|
4171
4276
|
align?: never;
|
|
4277
|
+
botId?: never;
|
|
4172
4278
|
channelId?: never;
|
|
4173
4279
|
children?: never;
|
|
4174
4280
|
direction?: never;
|
|
4281
|
+
expiresAt?: never;
|
|
4175
4282
|
gap?: never;
|
|
4176
4283
|
groupBy?: never;
|
|
4177
4284
|
items?: never;
|
|
4178
4285
|
justify?: never;
|
|
4286
|
+
label?: never;
|
|
4179
4287
|
limit?: never;
|
|
4180
4288
|
markdown?: never;
|
|
4181
4289
|
messageId?: never;
|
|
@@ -4197,13 +4305,16 @@ export type Widget_Serialize =
|
|
|
4197
4305
|
limit?: number;
|
|
4198
4306
|
}) & {
|
|
4199
4307
|
align?: never;
|
|
4308
|
+
botId?: never;
|
|
4200
4309
|
channelId?: never;
|
|
4201
4310
|
children?: never;
|
|
4202
4311
|
direction?: never;
|
|
4203
4312
|
events?: never;
|
|
4313
|
+
expiresAt?: never;
|
|
4204
4314
|
gap?: never;
|
|
4205
4315
|
items?: never;
|
|
4206
4316
|
justify?: never;
|
|
4317
|
+
label?: never;
|
|
4207
4318
|
markdown?: never;
|
|
4208
4319
|
messageId?: never;
|
|
4209
4320
|
tags?: never;
|
|
@@ -4218,13 +4329,16 @@ export type Widget_Serialize =
|
|
|
4218
4329
|
messageId: string;
|
|
4219
4330
|
}) & {
|
|
4220
4331
|
align?: never;
|
|
4332
|
+
botId?: never;
|
|
4221
4333
|
children?: never;
|
|
4222
4334
|
direction?: never;
|
|
4223
4335
|
events?: never;
|
|
4336
|
+
expiresAt?: never;
|
|
4224
4337
|
gap?: never;
|
|
4225
4338
|
groupBy?: never;
|
|
4226
4339
|
items?: never;
|
|
4227
4340
|
justify?: never;
|
|
4341
|
+
label?: never;
|
|
4228
4342
|
limit?: never;
|
|
4229
4343
|
markdown?: never;
|
|
4230
4344
|
source?: never;
|
|
@@ -4243,13 +4357,16 @@ export type Widget_Serialize =
|
|
|
4243
4357
|
events: AgendaEvent_Serialize[];
|
|
4244
4358
|
}) & {
|
|
4245
4359
|
align?: never;
|
|
4360
|
+
botId?: never;
|
|
4246
4361
|
channelId?: never;
|
|
4247
4362
|
children?: never;
|
|
4248
4363
|
direction?: never;
|
|
4364
|
+
expiresAt?: never;
|
|
4249
4365
|
gap?: never;
|
|
4250
4366
|
groupBy?: never;
|
|
4251
4367
|
items?: never;
|
|
4252
4368
|
justify?: never;
|
|
4369
|
+
label?: never;
|
|
4253
4370
|
limit?: never;
|
|
4254
4371
|
markdown?: never;
|
|
4255
4372
|
messageId?: never;
|
|
@@ -4259,8 +4376,8 @@ export type Widget_Serialize =
|
|
|
4259
4376
|
} |
|
|
4260
4377
|
/**
|
|
4261
4378
|
* Rich cards for the one to four specific items the answer is about: a
|
|
4262
|
-
* document or spreadsheet, an email thread, a calendar event,
|
|
4263
|
-
* a channel, a routine, a form or an initiative. Each card opens its
|
|
4379
|
+
* document or spreadsheet, a database, an email thread, a calendar event,
|
|
4380
|
+
* a project, a channel, a routine, a form or an initiative. Each card opens its
|
|
4264
4381
|
* item, and a routine's card can pause it or run it now. Use a list
|
|
4265
4382
|
* widget for longer sets.
|
|
4266
4383
|
*/
|
|
@@ -4270,13 +4387,16 @@ export type Widget_Serialize =
|
|
|
4270
4387
|
items: CardItem[];
|
|
4271
4388
|
}) & {
|
|
4272
4389
|
align?: never;
|
|
4390
|
+
botId?: never;
|
|
4273
4391
|
channelId?: never;
|
|
4274
4392
|
children?: never;
|
|
4275
4393
|
direction?: never;
|
|
4276
4394
|
events?: never;
|
|
4395
|
+
expiresAt?: never;
|
|
4277
4396
|
gap?: never;
|
|
4278
4397
|
groupBy?: never;
|
|
4279
4398
|
justify?: never;
|
|
4399
|
+
label?: never;
|
|
4280
4400
|
limit?: never;
|
|
4281
4401
|
markdown?: never;
|
|
4282
4402
|
messageId?: never;
|
|
@@ -4294,6 +4414,67 @@ export type Widget_Serialize =
|
|
|
4294
4414
|
type: "tags";
|
|
4295
4415
|
title?: string;
|
|
4296
4416
|
tags: TagNode_Serialize[];
|
|
4417
|
+
}) & {
|
|
4418
|
+
align?: never;
|
|
4419
|
+
botId?: never;
|
|
4420
|
+
channelId?: never;
|
|
4421
|
+
children?: never;
|
|
4422
|
+
direction?: never;
|
|
4423
|
+
events?: never;
|
|
4424
|
+
expiresAt?: never;
|
|
4425
|
+
gap?: never;
|
|
4426
|
+
groupBy?: never;
|
|
4427
|
+
items?: never;
|
|
4428
|
+
justify?: never;
|
|
4429
|
+
label?: never;
|
|
4430
|
+
limit?: never;
|
|
4431
|
+
markdown?: never;
|
|
4432
|
+
messageId?: never;
|
|
4433
|
+
source?: never;
|
|
4434
|
+
wrap?: never;
|
|
4435
|
+
} |
|
|
4436
|
+
/**
|
|
4437
|
+
* Live cards on which the user answers coding agents' waiting
|
|
4438
|
+
* permission requests and questions, and sees stalled sessions. Pass the
|
|
4439
|
+
* items macro.agentSessions.updates() returned, unchanged, whenever it
|
|
4440
|
+
* returns any: these cards are the only place the user can answer them.
|
|
4441
|
+
*/
|
|
4442
|
+
({
|
|
4443
|
+
type: "agentUpdates";
|
|
4444
|
+
items: AgentUpdateItem[];
|
|
4445
|
+
}) & {
|
|
4446
|
+
align?: never;
|
|
4447
|
+
botId?: never;
|
|
4448
|
+
channelId?: never;
|
|
4449
|
+
children?: never;
|
|
4450
|
+
direction?: never;
|
|
4451
|
+
events?: never;
|
|
4452
|
+
expiresAt?: never;
|
|
4453
|
+
gap?: never;
|
|
4454
|
+
groupBy?: never;
|
|
4455
|
+
justify?: never;
|
|
4456
|
+
label?: never;
|
|
4457
|
+
limit?: never;
|
|
4458
|
+
markdown?: never;
|
|
4459
|
+
messageId?: never;
|
|
4460
|
+
source?: never;
|
|
4461
|
+
tags?: never;
|
|
4462
|
+
title?: never;
|
|
4463
|
+
wrap?: never;
|
|
4464
|
+
} |
|
|
4465
|
+
/**
|
|
4466
|
+
* A card on which the user mints a new token for a bot they manage and
|
|
4467
|
+
* sees its secret, which never reaches you. Present it whenever the user
|
|
4468
|
+
* asks for a bot token or credential.
|
|
4469
|
+
*/
|
|
4470
|
+
({
|
|
4471
|
+
type: "botCredential";
|
|
4472
|
+
/** The bot's id. */
|
|
4473
|
+
botId: string;
|
|
4474
|
+
/** Where the token will be used, such as "github-webhook". */
|
|
4475
|
+
label?: string;
|
|
4476
|
+
/** RFC 3339 expiry; omit for a token that does not expire. */
|
|
4477
|
+
expiresAt?: string;
|
|
4297
4478
|
}) & {
|
|
4298
4479
|
align?: never;
|
|
4299
4480
|
channelId?: never;
|
|
@@ -4308,6 +4489,8 @@ export type Widget_Serialize =
|
|
|
4308
4489
|
markdown?: never;
|
|
4309
4490
|
messageId?: never;
|
|
4310
4491
|
source?: never;
|
|
4492
|
+
tags?: never;
|
|
4493
|
+
title?: never;
|
|
4311
4494
|
wrap?: never;
|
|
4312
4495
|
} |
|
|
4313
4496
|
/** A nestable flex container of widgets. */
|
|
@@ -4322,10 +4505,13 @@ export type Widget_Serialize =
|
|
|
4322
4505
|
title?: string;
|
|
4323
4506
|
children: Widget_Serialize[];
|
|
4324
4507
|
}) & {
|
|
4508
|
+
botId?: never;
|
|
4325
4509
|
channelId?: never;
|
|
4326
4510
|
events?: never;
|
|
4511
|
+
expiresAt?: never;
|
|
4327
4512
|
groupBy?: never;
|
|
4328
4513
|
items?: never;
|
|
4514
|
+
label?: never;
|
|
4329
4515
|
limit?: never;
|
|
4330
4516
|
markdown?: never;
|
|
4331
4517
|
messageId?: never;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { type Options, Sdk } from './sdk.gen';
|
|
2
|
-
export type { AccessLevel, ActivityWireRow, AddConnectedMcpServerData, AddConnectedMcpServerErrors, AddConnectedMcpServerResponse, AddConnectedMcpServerResponses, AgentAction, AgentActionId, AgentActivityCursor, AgentActivityPage, AgentActor, AgentConfigKindDto, AgentConfigOptionDto, AgentConfigSelectOptionDto, AgentConversationDto, AgentConversationsDto, AgentConversationSessionDto, AgentConversationTurnDto, AgentMode, AgentModeChoiceRequest, AgentModeChoiceResponse, AgentModelDto, AgentModelsStatusDto, AgentPermissionAction, AgentPromptAction, AgentRepositoriesResponse, AgentRepositoryBranchesResponse, AgentRepositoryDto, AgentRespondElicitationAction, AgentSessionChangesPatchResponse, AgentSessionChangesResponse, AgentSessionFoldedLogResponse, AgentSessionLogEntryDto, AgentSessionLogResponse, AgentSessionPreviewData, AgentSessionPreviewDto, AgentSessionQueueResponse, AgentSessionResponse, AgentSessionsForPullRequestData, AgentSessionsForPullRequestError, AgentSessionsForPullRequestErrors, AgentSessionsForPullRequestResponse, AgentSessionsForPullRequestResponses, AgentSessionsForPullRequestsData, AgentSessionsForPullRequestsError, AgentSessionsForPullRequestsErrors, AgentSessionsForPullRequestsResponse, AgentSessionsForPullRequestsResponses, AgentSetConfigOptionAction, AgentSetModelAction, AgentUpdate, AgentUpdateKind, AgentUpdates, AiAdmissionErrorBody, AiSuggestions, AnswerAgentSessionToolApprovalData, AnswerAgentSessionToolApprovalError, AnswerAgentSessionToolApprovalErrors, AnswerAgentSessionToolApprovalResponse, AnswerAgentSessionToolApprovalResponses, AnswerToolApprovalRequest, AnswerToolApprovalResponse, AppConnectedRequest, ArchiveCause, AutoArchiveOverridesBody, AutoArchivePreferencesBody, BotId, CalendarSuggestions, CallConnectedAppToolData, CallConnectedAppToolErrors, CallConnectedAppToolResponse, CallConnectedAppToolResponses, CallConnectedTool, Caller, CallSearchSuggestions, CapabilityHarnessDto, CaptureAttemptDto, CaptureOutcomeDto, ChangedFileDto, ChangesetDto, ChangesetSourceDto, ChannelSearchSuggestions, ChannelSharePermission, ChooseAgentModeData, ChooseAgentModeErrors, ChooseAgentModeResponse, ChooseAgentModeResponses, ClassifyData, ClassifyErrors, ClassifyInputRequest, ClassifyInputResponse, ClassifyResponse, ClassifyResponses, ClientOptions, CodingAgent, CodingAgentsResponse, CodingPreferencesBody, ConnectedApp, ConnectedAppKind, ConnectedTool, ConnectedToolMatch, ConnectedToolResult, ConnectedToolSearch, ConnectMcpServer, ConnectMcpServerResponse, ConnectorTool, ControlAgentSessionData, ControlAgentSessionError, ControlAgentSessionErrors, ControlAgentSessionResponse, ControlAgentSessionResponses, ControlRequest, ControlResponse, ControlStatusDto, ConversationTurnState, CreateAgentSessionData, CreateAgentSessionError, CreateAgentSessionErrors, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateAgentSessionResponse2, CreateAgentSessionResponses, CreateReview, CreateSessionReviewData, CreateSessionReviewErrors, CreateSessionReviewResponse, CreateSessionReviewResponses, CreateSessionThread, DecideSessionReviewData, DecideSessionReviewErrors, DecideSessionReviewResponse, DecideSessionReviewResponses, DecisionVia, DeleteAgentSessionData, DeleteAgentSessionError, DeleteAgentSessionErrors, DeleteAgentSessionResponses, DiscoverAgentCapabilitiesHandlerData, DiscoverAgentCapabilitiesHandlerErrors, DiscoverAgentCapabilitiesHandlerResponse, DiscoverAgentCapabilitiesHandlerResponses, DiscoverAgentCapabilitiesRequest, DiscoverAgentCapabilitiesResponse, DiscoverConnectedAppsData, DiscoverConnectedAppsErrors, DiscoverConnectedAppsResponse, DiscoverConnectedAppsResponses, DiscoverConnectorsResponse, DiscoveredApp, DiscoveryRequest, DiscoveryResult, DocumentId, EditQueuedActionData, EditQueuedActionError, EditQueuedActionErrors, EditQueuedActionRequest, EditQueuedActionResponse, EditQueuedActionResponses, ElicitationAnswer, ElicitationContentValue, ElicitationRequestId, EmailSearchSuggestions, EmailSuggestions, EntityType, ExecutionActivity, ExecutionId, ExecutionRecord, ExecutionStatus, ExternalSessionResponse, ExtractData, ExtractErrors, ExtractInputRequest, ExtractInputResponse, ExtractResponse, ExtractResponses, FileChangeKindDto, GetAgentAutoArchivePreferencesData, GetAgentAutoArchivePreferencesError, GetAgentAutoArchivePreferencesErrors, GetAgentAutoArchivePreferencesResponse, GetAgentAutoArchivePreferencesResponses, GetAgentCodingPreferencesData, GetAgentCodingPreferencesError, GetAgentCodingPreferencesErrors, GetAgentCodingPreferencesResponse, GetAgentCodingPreferencesResponses, GetAgentSandboxSizeData, GetAgentSandboxSizeError, GetAgentSandboxSizeErrors, GetAgentSandboxSizeResponse, GetAgentSandboxSizeResponses, GetAgentSessionActivityData, GetAgentSessionActivityErrors, GetAgentSessionActivityResponse, GetAgentSessionActivityResponses, GetAgentSessionAutoArchiveData, GetAgentSessionAutoArchiveError, GetAgentSessionAutoArchiveErrors, GetAgentSessionAutoArchiveResponse, GetAgentSessionAutoArchiveResponses, GetAgentSessionChangesData, GetAgentSessionChangesError, GetAgentSessionChangesErrors, GetAgentSessionChangesPatchData, GetAgentSessionChangesPatchError, GetAgentSessionChangesPatchErrors, GetAgentSessionChangesPatchResponse, GetAgentSessionChangesPatchResponses, GetAgentSessionChangesResponse, GetAgentSessionChangesResponses, GetAgentSessionData, GetAgentSessionError, GetAgentSessionErrors, GetAgentSessionFoldedLogData, GetAgentSessionFoldedLogError, GetAgentSessionFoldedLogErrors, GetAgentSessionFoldedLogResponse, GetAgentSessionFoldedLogResponses, GetAgentSessionLogData, GetAgentSessionLogError, GetAgentSessionLogErrors, GetAgentSessionLogResponse, GetAgentSessionLogResponses, GetAgentSessionPermissionsData, GetAgentSessionPermissionsError, GetAgentSessionPermissionsErrors, GetAgentSessionPermissionsResponse, GetAgentSessionPermissionsResponses, GetAgentSessionQueueData, GetAgentSessionQueueError, GetAgentSessionQueueErrors, GetAgentSessionQueueResponse, GetAgentSessionQueueResponses, GetAgentSessionResponse, GetAgentSessionResponses, GetCodeExecutionData, GetCodeExecutionErrors, GetCodeExecutionResponse, GetCodeExecutionResponses, GetSessionReviewData, GetSessionReviewErrors, GetSessionReviewResponse, GetSessionReviewResponses, GitRefDto, InputIntent, InputPropertyDefinition, InputPropertySuggestion, InputSuggestions, IntentScore, Lineage, LinkAgentSessionPullRequestData, LinkAgentSessionPullRequestError, LinkAgentSessionPullRequestErrors, LinkAgentSessionPullRequestResponse, LinkAgentSessionPullRequestResponses, LinkAgentSessionTaskData, LinkAgentSessionTaskError, LinkAgentSessionTaskErrors, LinkAgentSessionTaskResponse, LinkAgentSessionTaskResponses, LinkedTaskResponse, LinkShare, LinkTaskRequest, ListAgentConversationsData, ListAgentConversationsErrors, ListAgentConversationsResponse, ListAgentConversationsResponses, ListAgentRepositoriesData, ListAgentRepositoriesErrors, ListAgentRepositoriesResponse, ListAgentRepositoriesResponses, ListAgentRepositoryBranchesData, ListAgentRepositoryBranchesErrors, ListAgentRepositoryBranchesResponse, ListAgentRepositoryBranchesResponses, ListAgentSessionPullRequestsData, ListAgentSessionPullRequestsError, ListAgentSessionPullRequestsErrors, ListAgentSessionPullRequestsResponse, ListAgentSessionPullRequestsResponses, ListAgentSessionUpdatesData, ListAgentSessionUpdatesError, ListAgentSessionUpdatesErrors, ListAgentSessionUpdatesResponse, ListAgentSessionUpdatesResponses, ListAgentWorkRegistrationsData, ListAgentWorkRegistrationsError, ListAgentWorkRegistrationsErrors, ListAgentWorkRegistrationsResponse, ListAgentWorkRegistrationsResponses, ListCodingAgentsData, ListCodingAgentsErrors, ListCodingAgentsResponse, ListCodingAgentsResponses, ListConnectedAppToolsData, ListConnectedAppToolsErrors, ListConnectedAppToolsResponse, ListConnectedAppToolsResponses, ListExecutionConnectedAppsData, ListExecutionConnectedAppsErrors, ListExecutionConnectedAppsResponse, ListExecutionConnectedAppsResponses, ListExecutionReviewsData, ListExecutionReviewsErrors, ListExecutionReviewsResponse, ListExecutionReviewsResponses, LoadAgentModelsHandlerData, LoadAgentModelsHandlerErrors, LoadAgentModelsHandlerResponse, LoadAgentModelsHandlerResponses, LoadAgentModelsRequest, LoadAgentModelsResponse, LogDirectionDto, LogFrameDto, MacroUserIdStr, MessageParent, MessageSuggestions, ModelHarnessDto, MonthlyWeekday, NoteSuggestions, PermissionAnswer, PresentSessionViewData, PresentSessionViewErrors, PresentSessionViewResponse, PresentSessionViewResponses, PresentView, PreviewAgentSessionsData, PreviewAgentSessionsError, PreviewAgentSessionsErrors, PreviewAgentSessionsRequest, PreviewAgentSessionsResponse, PreviewAgentSessionsResponse2, PreviewAgentSessionsResponses, PromptAttachment, PullRequestLinkedSession, PullRequestLinkSource, PullRequestSessions, PullRequestSessionsResponse, PullRequestsSessionsResponse, PullRequestUrl, PullRequestUrls, PutAgentAutoArchivePreferencesData, PutAgentAutoArchivePreferencesError, PutAgentAutoArchivePreferencesErrors, PutAgentAutoArchivePreferencesResponse, PutAgentAutoArchivePreferencesResponses, PutAgentCodingPreferencesData, PutAgentCodingPreferencesError, PutAgentCodingPreferencesErrors, PutAgentCodingPreferencesResponse, PutAgentCodingPreferencesResponses, PutAgentSandboxSizeData, PutAgentSandboxSizeError, PutAgentSandboxSizeErrors, PutAgentSandboxSizeResponse, PutAgentSandboxSizeResponses, PutAgentSessionAutoArchiveData, PutAgentSessionAutoArchiveError, PutAgentSessionAutoArchiveErrors, PutAgentSessionAutoArchiveResponse, PutAgentSessionAutoArchiveResponses, PutAgentSessionSandboxSizeData, PutAgentSessionSandboxSizeError, PutAgentSessionSandboxSizeErrors, PutAgentSessionSandboxSizeResponse, PutAgentSessionSandboxSizeResponses, QuerySearchSuggestions, QueuedActionDto, RecordedCallStatus, RecordedToolCall, RecurrenceEnd, RecurrenceFrequency, RecurrenceSuggestion, RefreshAgentSessionChangesData, RefreshAgentSessionChangesError, RefreshAgentSessionChangesErrors, RefreshAgentSessionChangesResponse, RefreshAgentSessionChangesResponses, RegisterAgentSessionWorkData, RegisterAgentSessionWorkError, RegisterAgentSessionWorkErrors, RegisterAgentSessionWorkResponse, RegisterAgentSessionWorkResponses, RemoveQueuedActionData, RemoveQueuedActionError, RemoveQueuedActionErrors, RemoveQueuedActionResponse, RemoveQueuedActionResponses, RenameAgentSessionData, RenameAgentSessionError, RenameAgentSessionErrors, RenameAgentSessionRequest, RenameAgentSessionResponse, RenameAgentSessionResponses, ReportAgentSessionAppConnectedData, ReportAgentSessionAppConnectedError, ReportAgentSessionAppConnectedErrors, ReportAgentSessionAppConnectedResponses, RetryAgentConversationTurnData, RetryAgentConversationTurnErrors, RetryAgentConversationTurnRequest, RetryAgentConversationTurnResponse, RetryAgentConversationTurnResponses, ReviewDecision, ReviewDecisionContext, ReviewId, ReviewRecord, Root, RoutineCause, SandboxSize, SandboxSizeBody, SearchConnectedAppToolsData, SearchConnectedAppToolsErrors, SearchConnectedAppToolsResponse, SearchConnectedAppToolsResponses, SearchSuggestions, SearchType, SessionAutoArchiveResponse, SessionBot, SessionPullRequestLink, SessionPullRequestsResponse, SessionStatusDto, SetAgentSessionArchivedData, SetAgentSessionArchivedError, SetAgentSessionArchivedErrors, SetAgentSessionArchivedRequest, SetAgentSessionArchivedResponse, SetAgentSessionArchivedResponses, SharePermissionV2, StartFreshAgentConversationData, StartFreshAgentConversationErrors, StartFreshAgentConversationRequest, StartFreshAgentConversationResponse, StartFreshAgentConversationResponses, SteerQueuedActionData, SteerQueuedActionError, SteerQueuedActionErrors, SteerQueuedActionResponse, SteerQueuedActionResponses, TaskSearchSuggestions, TaskSuggestions, ToolActor, ToolApprovalAnswerDto, ToolApprovalStatusDto, TriggerOrigin, UnlinkAgentSessionPullRequestData, UnlinkAgentSessionPullRequestError, UnlinkAgentSessionPullRequestErrors, UnlinkAgentSessionPullRequestResponse, UnlinkAgentSessionPullRequestResponses, UnregisterAgentSessionWorkData, UnregisterAgentSessionWorkError, UnregisterAgentSessionWorkErrors, UnregisterAgentSessionWorkResponse, UnregisterAgentSessionWorkResponses, UpdateAgentSessionPermissionsData, UpdateAgentSessionPermissionsError, UpdateAgentSessionPermissionsErrors, UpdateAgentSessionPermissionsResponse, UpdateAgentSessionPermissionsResponses, UpdateChannelSharePermission, UpdateOperation, UpdateSharePermissionRequestV2, WarmAgentSessionHandlerData, WarmAgentSessionHandlerResponse, WarmAgentSessionHandlerResponses, WarmAgentSessionRequest, WarmAgentSessionResponse, WeekdayCode, WithAgentSessionId, WorkRegistrationResponse } from './types.gen';
|
|
2
|
+
export type { AccessLevel, ActivityWireRow, AddConnectedMcpServerData, AddConnectedMcpServerErrors, AddConnectedMcpServerResponse, AddConnectedMcpServerResponses, AgentAction, AgentActionId, AgentActivityCursor, AgentActivityPage, AgentActor, AgentConfigKindDto, AgentConfigOptionDto, AgentConfigSelectOptionDto, AgentConversationDto, AgentConversationsDto, AgentConversationSessionDto, AgentConversationTurnDto, AgentMode, AgentModeChoiceRequest, AgentModeChoiceResponse, AgentModelDto, AgentModelsStatusDto, AgentPermissionAction, AgentPromptAction, AgentRepositoriesResponse, AgentRepositoryBranchesResponse, AgentRepositoryDto, AgentRespondElicitationAction, AgentSessionChangesPatchResponse, AgentSessionChangesResponse, AgentSessionFoldedLogResponse, AgentSessionLogEntryDto, AgentSessionLogResponse, AgentSessionPreviewData, AgentSessionPreviewDto, AgentSessionQueueResponse, AgentSessionResponse, AgentSessionsForPullRequestData, AgentSessionsForPullRequestError, AgentSessionsForPullRequestErrors, AgentSessionsForPullRequestResponse, AgentSessionsForPullRequestResponses, AgentSessionsForPullRequestsData, AgentSessionsForPullRequestsError, AgentSessionsForPullRequestsErrors, AgentSessionsForPullRequestsResponse, AgentSessionsForPullRequestsResponses, AgentSetConfigOptionAction, AgentSetModelAction, AgentUpdate, AgentUpdateKind, AgentUpdates, AiAdmissionErrorBody, AiSuggestions, AnswerAgentSessionToolApprovalData, AnswerAgentSessionToolApprovalError, AnswerAgentSessionToolApprovalErrors, AnswerAgentSessionToolApprovalResponse, AnswerAgentSessionToolApprovalResponses, AnswerToolApprovalRequest, AnswerToolApprovalResponse, AppConnectedRequest, ArchiveCause, AutoArchiveOverridesBody, AutoArchivePreferencesBody, BotId, CalendarSuggestions, CallConnectedAppToolData, CallConnectedAppToolErrors, CallConnectedAppToolResponse, CallConnectedAppToolResponses, CallConnectedTool, Caller, CallSearchSuggestions, CapabilityHarnessDto, CaptureAttemptDto, CaptureOutcomeDto, ChangedFileDto, ChangesetDto, ChangesetSourceDto, ChannelSearchSuggestions, ChannelSharePermission, ChooseAgentModeData, ChooseAgentModeErrors, ChooseAgentModeResponse, ChooseAgentModeResponses, ClassifyData, ClassifyErrors, ClassifyInputRequest, ClassifyInputResponse, ClassifyResponse, ClassifyResponses, ClaudeAccountStatus, ClaudeMode, ClaudeModeResponse, ClaudeSignedIn, ClaudeSignInComplete, ClaudeSignInStarted, ClaudeSignOutData, ClaudeSignOutErrors, ClaudeSignOutResponse, ClaudeSignOutResponses, ClientOptions, CodingAgent, CodingAgentsResponse, CodingPreferencesBody, CompleteClaudeSignInData, CompleteClaudeSignInErrors, CompleteClaudeSignInResponse, CompleteClaudeSignInResponses, ConnectedApp, ConnectedAppKind, ConnectedTool, ConnectedToolMatch, ConnectedToolResult, ConnectedToolSearch, ConnectMcpServer, ConnectMcpServerResponse, ConnectorTool, ControlAgentSessionData, ControlAgentSessionError, ControlAgentSessionErrors, ControlAgentSessionResponse, ControlAgentSessionResponses, ControlRequest, ControlResponse, ControlStatusDto, ConversationTurnState, CreateAgentSessionData, CreateAgentSessionError, CreateAgentSessionErrors, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateAgentSessionResponse2, CreateAgentSessionResponses, CreateReview, CreateSessionReviewData, CreateSessionReviewErrors, CreateSessionReviewResponse, CreateSessionReviewResponses, CreateSessionThread, CredentialRejectedResponse, DecideSessionReviewData, DecideSessionReviewErrors, DecideSessionReviewResponse, DecideSessionReviewResponses, DecisionVia, DeleteAgentSessionData, DeleteAgentSessionError, DeleteAgentSessionErrors, DeleteAgentSessionResponses, DiscoverAgentCapabilitiesHandlerData, DiscoverAgentCapabilitiesHandlerError, DiscoverAgentCapabilitiesHandlerErrors, DiscoverAgentCapabilitiesHandlerResponse, DiscoverAgentCapabilitiesHandlerResponses, DiscoverAgentCapabilitiesRequest, DiscoverAgentCapabilitiesResponse, DiscoverConnectedAppsData, DiscoverConnectedAppsErrors, DiscoverConnectedAppsResponse, DiscoverConnectedAppsResponses, DiscoverConnectorsResponse, DiscoveredApp, DiscoveryRequest, DiscoveryResult, DocumentId, EditQueuedActionData, EditQueuedActionError, EditQueuedActionErrors, EditQueuedActionRequest, EditQueuedActionResponse, EditQueuedActionResponses, ElicitationAnswer, ElicitationContentValue, ElicitationRequestId, EmailSearchSuggestions, EmailSuggestions, EntityType, ErrorResponse, ExecutionActivity, ExecutionId, ExecutionRecord, ExecutionStatus, ExternalSessionResponse, ExtractData, ExtractErrors, ExtractInputRequest, ExtractInputResponse, ExtractResponse, ExtractResponses, FileChangeKindDto, GetAgentAutoArchivePreferencesData, GetAgentAutoArchivePreferencesError, GetAgentAutoArchivePreferencesErrors, GetAgentAutoArchivePreferencesResponse, GetAgentAutoArchivePreferencesResponses, GetAgentCodingPreferencesData, GetAgentCodingPreferencesError, GetAgentCodingPreferencesErrors, GetAgentCodingPreferencesResponse, GetAgentCodingPreferencesResponses, GetAgentSandboxSizeData, GetAgentSandboxSizeError, GetAgentSandboxSizeErrors, GetAgentSandboxSizeResponse, GetAgentSandboxSizeResponses, GetAgentSessionActivityData, GetAgentSessionActivityErrors, GetAgentSessionActivityResponse, GetAgentSessionActivityResponses, GetAgentSessionAutoArchiveData, GetAgentSessionAutoArchiveError, GetAgentSessionAutoArchiveErrors, GetAgentSessionAutoArchiveResponse, GetAgentSessionAutoArchiveResponses, GetAgentSessionChangesData, GetAgentSessionChangesError, GetAgentSessionChangesErrors, GetAgentSessionChangesPatchData, GetAgentSessionChangesPatchError, GetAgentSessionChangesPatchErrors, GetAgentSessionChangesPatchResponse, GetAgentSessionChangesPatchResponses, GetAgentSessionChangesResponse, GetAgentSessionChangesResponses, GetAgentSessionData, GetAgentSessionError, GetAgentSessionErrors, GetAgentSessionFoldedLogData, GetAgentSessionFoldedLogError, GetAgentSessionFoldedLogErrors, GetAgentSessionFoldedLogResponse, GetAgentSessionFoldedLogResponses, GetAgentSessionLogData, GetAgentSessionLogError, GetAgentSessionLogErrors, GetAgentSessionLogResponse, GetAgentSessionLogResponses, GetAgentSessionPermissionsData, GetAgentSessionPermissionsError, GetAgentSessionPermissionsErrors, GetAgentSessionPermissionsResponse, GetAgentSessionPermissionsResponses, GetAgentSessionQueueData, GetAgentSessionQueueError, GetAgentSessionQueueErrors, GetAgentSessionQueueResponse, GetAgentSessionQueueResponses, GetAgentSessionResponse, GetAgentSessionResponses, GetAgentVoiceSampleData, GetAgentVoiceSampleError, GetAgentVoiceSampleErrors, GetAgentVoiceSampleResponse, GetAgentVoiceSampleResponses, GetAgentVoicesData, GetAgentVoicesError, GetAgentVoicesErrors, GetAgentVoicesResponse, GetAgentVoicesResponses, GetClaudeModeData, GetClaudeModeErrors, GetClaudeModeResponse, GetClaudeModeResponses, GetCodeExecutionData, GetCodeExecutionErrors, GetCodeExecutionResponse, GetCodeExecutionResponses, GetSessionReviewData, GetSessionReviewErrors, GetSessionReviewResponse, GetSessionReviewResponses, GitRefDto, InputIntent, InputPropertyDefinition, InputPropertySuggestion, InputSuggestions, IntentScore, Lineage, LinkAgentSessionPullRequestData, LinkAgentSessionPullRequestError, LinkAgentSessionPullRequestErrors, LinkAgentSessionPullRequestResponse, LinkAgentSessionPullRequestResponses, LinkAgentSessionTaskData, LinkAgentSessionTaskError, LinkAgentSessionTaskErrors, LinkAgentSessionTaskResponse, LinkAgentSessionTaskResponses, LinkedTaskResponse, LinkShare, LinkTaskRequest, ListAgentConversationsData, ListAgentConversationsErrors, ListAgentConversationsResponse, ListAgentConversationsResponses, ListAgentRepositoriesData, ListAgentRepositoriesErrors, ListAgentRepositoriesResponse, ListAgentRepositoriesResponses, ListAgentRepositoryBranchesData, ListAgentRepositoryBranchesErrors, ListAgentRepositoryBranchesResponse, ListAgentRepositoryBranchesResponses, ListAgentSessionPullRequestsData, ListAgentSessionPullRequestsError, ListAgentSessionPullRequestsErrors, ListAgentSessionPullRequestsResponse, ListAgentSessionPullRequestsResponses, ListAgentSessionUpdatesData, ListAgentSessionUpdatesError, ListAgentSessionUpdatesErrors, ListAgentSessionUpdatesResponse, ListAgentSessionUpdatesResponses, ListAgentWorkRegistrationsData, ListAgentWorkRegistrationsError, ListAgentWorkRegistrationsErrors, ListAgentWorkRegistrationsResponse, ListAgentWorkRegistrationsResponses, ListCodingAgentsData, ListCodingAgentsErrors, ListCodingAgentsResponse, ListCodingAgentsResponses, ListConnectedAppToolsData, ListConnectedAppToolsErrors, ListConnectedAppToolsResponse, ListConnectedAppToolsResponses, ListExecutionConnectedAppsData, ListExecutionConnectedAppsErrors, ListExecutionConnectedAppsResponse, ListExecutionConnectedAppsResponses, ListExecutionReviewsData, ListExecutionReviewsErrors, ListExecutionReviewsResponse, ListExecutionReviewsResponses, LoadAgentModelsHandlerData, LoadAgentModelsHandlerError, LoadAgentModelsHandlerErrors, LoadAgentModelsHandlerResponse, LoadAgentModelsHandlerResponses, LoadAgentModelsRequest, LoadAgentModelsResponse, LogDirectionDto, LogFrameDto, MacroUserIdStr, MessageParent, MessageSuggestions, ModelHarnessDto, MonthlyWeekday, NoteSuggestions, OpenInApp, OpenInAppData, OpenInAppErrors, OpenInAppResponse, OpenInAppResponses, PermissionAnswer, PresentSessionViewData, PresentSessionViewErrors, PresentSessionViewResponse, PresentSessionViewResponses, PresentView, PreviewAgentSessionsData, PreviewAgentSessionsError, PreviewAgentSessionsErrors, PreviewAgentSessionsRequest, PreviewAgentSessionsResponse, PreviewAgentSessionsResponse2, PreviewAgentSessionsResponses, PromptAttachment, PullRequestLinkedSession, PullRequestLinkSource, PullRequestSessions, PullRequestSessionsResponse, PullRequestsSessionsResponse, PullRequestUrl, PullRequestUrls, PutAgentAutoArchivePreferencesData, PutAgentAutoArchivePreferencesError, PutAgentAutoArchivePreferencesErrors, PutAgentAutoArchivePreferencesResponse, PutAgentAutoArchivePreferencesResponses, PutAgentCodingPreferencesData, PutAgentCodingPreferencesError, PutAgentCodingPreferencesErrors, PutAgentCodingPreferencesResponse, PutAgentCodingPreferencesResponses, PutAgentSandboxSizeData, PutAgentSandboxSizeError, PutAgentSandboxSizeErrors, PutAgentSandboxSizeResponse, PutAgentSandboxSizeResponses, PutAgentSessionAutoArchiveData, PutAgentSessionAutoArchiveError, PutAgentSessionAutoArchiveErrors, PutAgentSessionAutoArchiveResponse, PutAgentSessionAutoArchiveResponses, PutAgentSessionSandboxSizeData, PutAgentSessionSandboxSizeError, PutAgentSessionSandboxSizeErrors, PutAgentSessionSandboxSizeResponse, PutAgentSessionSandboxSizeResponses, QuerySearchSuggestions, QueuedActionDto, RecordedCallStatus, RecordedToolCall, RecurrenceEnd, RecurrenceFrequency, RecurrenceSuggestion, RefreshAgentSessionChangesData, RefreshAgentSessionChangesError, RefreshAgentSessionChangesErrors, RefreshAgentSessionChangesResponse, RefreshAgentSessionChangesResponses, RegisterAgentSessionWorkData, RegisterAgentSessionWorkError, RegisterAgentSessionWorkErrors, RegisterAgentSessionWorkResponse, RegisterAgentSessionWorkResponses, RemoveQueuedActionData, RemoveQueuedActionError, RemoveQueuedActionErrors, RemoveQueuedActionResponse, RemoveQueuedActionResponses, RenameAgentSessionData, RenameAgentSessionError, RenameAgentSessionErrors, RenameAgentSessionRequest, RenameAgentSessionResponse, RenameAgentSessionResponses, ReportAgentSessionAppConnectedData, ReportAgentSessionAppConnectedError, ReportAgentSessionAppConnectedErrors, ReportAgentSessionAppConnectedResponses, RetryAgentConversationTurnData, RetryAgentConversationTurnErrors, RetryAgentConversationTurnRequest, RetryAgentConversationTurnResponse, RetryAgentConversationTurnResponses, ReviewDecision, ReviewDecisionContext, ReviewId, ReviewRecord, Root, RoutineCause, SandboxSize, SandboxSizeBody, SearchConnectedAppToolsData, SearchConnectedAppToolsErrors, SearchConnectedAppToolsResponse, SearchConnectedAppToolsResponses, SearchSuggestions, SearchType, SessionAutoArchiveResponse, SessionBot, SessionPullRequestLink, SessionPullRequestsResponse, SessionStatusDto, SetAgentSessionArchivedData, SetAgentSessionArchivedError, SetAgentSessionArchivedErrors, SetAgentSessionArchivedRequest, SetAgentSessionArchivedResponse, SetAgentSessionArchivedResponses, SharePermissionV2, StartClaudeSignInData, StartClaudeSignInErrors, StartClaudeSignInResponse, StartClaudeSignInResponses, StartFreshAgentConversationData, StartFreshAgentConversationErrors, StartFreshAgentConversationRequest, StartFreshAgentConversationResponse, StartFreshAgentConversationResponses, SteerQueuedActionData, SteerQueuedActionError, SteerQueuedActionErrors, SteerQueuedActionResponse, SteerQueuedActionResponses, TaskSearchSuggestions, TaskSuggestions, ToolActor, ToolApprovalAnswerDto, ToolApprovalStatusDto, TriggerOrigin, UiCommandOutcome, UiDeclineReason, UiPlacement, UnlinkAgentSessionPullRequestData, UnlinkAgentSessionPullRequestError, UnlinkAgentSessionPullRequestErrors, UnlinkAgentSessionPullRequestResponse, UnlinkAgentSessionPullRequestResponses, UnregisterAgentSessionWorkData, UnregisterAgentSessionWorkError, UnregisterAgentSessionWorkErrors, UnregisterAgentSessionWorkResponse, UnregisterAgentSessionWorkResponses, UpdateAgentSessionPermissionsData, UpdateAgentSessionPermissionsError, UpdateAgentSessionPermissionsErrors, UpdateAgentSessionPermissionsResponse, UpdateAgentSessionPermissionsResponses, UpdateChannelSharePermission, UpdateOperation, UpdateSharePermissionRequestV2, Voice, WarmAgentSessionHandlerData, WarmAgentSessionHandlerResponse, WarmAgentSessionHandlerResponses, WarmAgentSessionRequest, WarmAgentSessionResponse, WeekdayCode, WithAgentSessionId, WorkRegistrationResponse } from './types.gen';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import type { AddConnectedMcpServerData, AddConnectedMcpServerErrors, AddConnectedMcpServerResponses, AgentSessionsForPullRequestData, AgentSessionsForPullRequestErrors, AgentSessionsForPullRequestResponses, AgentSessionsForPullRequestsData, AgentSessionsForPullRequestsErrors, AgentSessionsForPullRequestsResponses, AnswerAgentSessionToolApprovalData, AnswerAgentSessionToolApprovalErrors, AnswerAgentSessionToolApprovalResponses, CallConnectedAppToolData, CallConnectedAppToolErrors, CallConnectedAppToolResponses, ChooseAgentModeData, ChooseAgentModeErrors, ChooseAgentModeResponses, ClassifyData, ClassifyErrors, ClassifyResponses, ControlAgentSessionData, ControlAgentSessionErrors, ControlAgentSessionResponses, CreateAgentSessionData, CreateAgentSessionErrors, CreateAgentSessionResponses, CreateSessionReviewData, CreateSessionReviewErrors, CreateSessionReviewResponses, DecideSessionReviewData, DecideSessionReviewErrors, DecideSessionReviewResponses, DeleteAgentSessionData, DeleteAgentSessionErrors, DeleteAgentSessionResponses, DiscoverAgentCapabilitiesHandlerData, DiscoverAgentCapabilitiesHandlerErrors, DiscoverAgentCapabilitiesHandlerResponses, DiscoverConnectedAppsData, DiscoverConnectedAppsErrors, DiscoverConnectedAppsResponses, EditQueuedActionData, EditQueuedActionErrors, EditQueuedActionResponses, ExtractData, ExtractErrors, ExtractResponses, GetAgentAutoArchivePreferencesData, GetAgentAutoArchivePreferencesErrors, GetAgentAutoArchivePreferencesResponses, GetAgentCodingPreferencesData, GetAgentCodingPreferencesErrors, GetAgentCodingPreferencesResponses, GetAgentSandboxSizeData, GetAgentSandboxSizeErrors, GetAgentSandboxSizeResponses, GetAgentSessionActivityData, GetAgentSessionActivityErrors, GetAgentSessionActivityResponses, GetAgentSessionAutoArchiveData, GetAgentSessionAutoArchiveErrors, GetAgentSessionAutoArchiveResponses, GetAgentSessionChangesData, GetAgentSessionChangesErrors, GetAgentSessionChangesPatchData, GetAgentSessionChangesPatchErrors, GetAgentSessionChangesPatchResponses, GetAgentSessionChangesResponses, GetAgentSessionData, GetAgentSessionErrors, GetAgentSessionFoldedLogData, GetAgentSessionFoldedLogErrors, GetAgentSessionFoldedLogResponses, GetAgentSessionLogData, GetAgentSessionLogErrors, GetAgentSessionLogResponses, GetAgentSessionPermissionsData, GetAgentSessionPermissionsErrors, GetAgentSessionPermissionsResponses, GetAgentSessionQueueData, GetAgentSessionQueueErrors, GetAgentSessionQueueResponses, GetAgentSessionResponses, GetCodeExecutionData, GetCodeExecutionErrors, GetCodeExecutionResponses, GetSessionReviewData, GetSessionReviewErrors, GetSessionReviewResponses, LinkAgentSessionPullRequestData, LinkAgentSessionPullRequestErrors, LinkAgentSessionPullRequestResponses, LinkAgentSessionTaskData, LinkAgentSessionTaskErrors, LinkAgentSessionTaskResponses, ListAgentConversationsData, ListAgentConversationsErrors, ListAgentConversationsResponses, ListAgentRepositoriesData, ListAgentRepositoriesErrors, ListAgentRepositoriesResponses, ListAgentRepositoryBranchesData, ListAgentRepositoryBranchesErrors, ListAgentRepositoryBranchesResponses, ListAgentSessionPullRequestsData, ListAgentSessionPullRequestsErrors, ListAgentSessionPullRequestsResponses, ListAgentSessionUpdatesData, ListAgentSessionUpdatesErrors, ListAgentSessionUpdatesResponses, ListAgentWorkRegistrationsData, ListAgentWorkRegistrationsErrors, ListAgentWorkRegistrationsResponses, ListCodingAgentsData, ListCodingAgentsErrors, ListCodingAgentsResponses, ListConnectedAppToolsData, ListConnectedAppToolsErrors, ListConnectedAppToolsResponses, ListExecutionConnectedAppsData, ListExecutionConnectedAppsErrors, ListExecutionConnectedAppsResponses, ListExecutionReviewsData, ListExecutionReviewsErrors, ListExecutionReviewsResponses, LoadAgentModelsHandlerData, LoadAgentModelsHandlerErrors, LoadAgentModelsHandlerResponses, PresentSessionViewData, PresentSessionViewErrors, PresentSessionViewResponses, PreviewAgentSessionsData, PreviewAgentSessionsErrors, PreviewAgentSessionsResponses, PutAgentAutoArchivePreferencesData, PutAgentAutoArchivePreferencesErrors, PutAgentAutoArchivePreferencesResponses, PutAgentCodingPreferencesData, PutAgentCodingPreferencesErrors, PutAgentCodingPreferencesResponses, PutAgentSandboxSizeData, PutAgentSandboxSizeErrors, PutAgentSandboxSizeResponses, PutAgentSessionAutoArchiveData, PutAgentSessionAutoArchiveErrors, PutAgentSessionAutoArchiveResponses, PutAgentSessionSandboxSizeData, PutAgentSessionSandboxSizeErrors, PutAgentSessionSandboxSizeResponses, RefreshAgentSessionChangesData, RefreshAgentSessionChangesErrors, RefreshAgentSessionChangesResponses, RegisterAgentSessionWorkData, RegisterAgentSessionWorkErrors, RegisterAgentSessionWorkResponses, RemoveQueuedActionData, RemoveQueuedActionErrors, RemoveQueuedActionResponses, RenameAgentSessionData, RenameAgentSessionErrors, RenameAgentSessionResponses, ReportAgentSessionAppConnectedData, ReportAgentSessionAppConnectedErrors, ReportAgentSessionAppConnectedResponses, RetryAgentConversationTurnData, RetryAgentConversationTurnErrors, RetryAgentConversationTurnResponses, SearchConnectedAppToolsData, SearchConnectedAppToolsErrors, SearchConnectedAppToolsResponses, SetAgentSessionArchivedData, SetAgentSessionArchivedErrors, SetAgentSessionArchivedResponses, StartFreshAgentConversationData, StartFreshAgentConversationErrors, StartFreshAgentConversationResponses, SteerQueuedActionData, SteerQueuedActionErrors, SteerQueuedActionResponses, UnlinkAgentSessionPullRequestData, UnlinkAgentSessionPullRequestErrors, UnlinkAgentSessionPullRequestResponses, UnregisterAgentSessionWorkData, UnregisterAgentSessionWorkErrors, UnregisterAgentSessionWorkResponses, UpdateAgentSessionPermissionsData, UpdateAgentSessionPermissionsErrors, UpdateAgentSessionPermissionsResponses, WarmAgentSessionHandlerData, WarmAgentSessionHandlerResponses } from './types.gen';
|
|
2
|
+
import type { AddConnectedMcpServerData, AddConnectedMcpServerErrors, AddConnectedMcpServerResponses, AgentSessionsForPullRequestData, AgentSessionsForPullRequestErrors, AgentSessionsForPullRequestResponses, AgentSessionsForPullRequestsData, AgentSessionsForPullRequestsErrors, AgentSessionsForPullRequestsResponses, AnswerAgentSessionToolApprovalData, AnswerAgentSessionToolApprovalErrors, AnswerAgentSessionToolApprovalResponses, CallConnectedAppToolData, CallConnectedAppToolErrors, CallConnectedAppToolResponses, ChooseAgentModeData, ChooseAgentModeErrors, ChooseAgentModeResponses, ClassifyData, ClassifyErrors, ClassifyResponses, ClaudeSignOutData, ClaudeSignOutErrors, ClaudeSignOutResponses, CompleteClaudeSignInData, CompleteClaudeSignInErrors, CompleteClaudeSignInResponses, ControlAgentSessionData, ControlAgentSessionErrors, ControlAgentSessionResponses, CreateAgentSessionData, CreateAgentSessionErrors, CreateAgentSessionResponses, CreateSessionReviewData, CreateSessionReviewErrors, CreateSessionReviewResponses, DecideSessionReviewData, DecideSessionReviewErrors, DecideSessionReviewResponses, DeleteAgentSessionData, DeleteAgentSessionErrors, DeleteAgentSessionResponses, DiscoverAgentCapabilitiesHandlerData, DiscoverAgentCapabilitiesHandlerErrors, DiscoverAgentCapabilitiesHandlerResponses, DiscoverConnectedAppsData, DiscoverConnectedAppsErrors, DiscoverConnectedAppsResponses, EditQueuedActionData, EditQueuedActionErrors, EditQueuedActionResponses, ExtractData, ExtractErrors, ExtractResponses, GetAgentAutoArchivePreferencesData, GetAgentAutoArchivePreferencesErrors, GetAgentAutoArchivePreferencesResponses, GetAgentCodingPreferencesData, GetAgentCodingPreferencesErrors, GetAgentCodingPreferencesResponses, GetAgentSandboxSizeData, GetAgentSandboxSizeErrors, GetAgentSandboxSizeResponses, GetAgentSessionActivityData, GetAgentSessionActivityErrors, GetAgentSessionActivityResponses, GetAgentSessionAutoArchiveData, GetAgentSessionAutoArchiveErrors, GetAgentSessionAutoArchiveResponses, GetAgentSessionChangesData, GetAgentSessionChangesErrors, GetAgentSessionChangesPatchData, GetAgentSessionChangesPatchErrors, GetAgentSessionChangesPatchResponses, GetAgentSessionChangesResponses, GetAgentSessionData, GetAgentSessionErrors, GetAgentSessionFoldedLogData, GetAgentSessionFoldedLogErrors, GetAgentSessionFoldedLogResponses, GetAgentSessionLogData, GetAgentSessionLogErrors, GetAgentSessionLogResponses, GetAgentSessionPermissionsData, GetAgentSessionPermissionsErrors, GetAgentSessionPermissionsResponses, GetAgentSessionQueueData, GetAgentSessionQueueErrors, GetAgentSessionQueueResponses, GetAgentSessionResponses, GetAgentVoiceSampleData, GetAgentVoiceSampleErrors, GetAgentVoiceSampleResponses, GetAgentVoicesData, GetAgentVoicesErrors, GetAgentVoicesResponses, GetClaudeModeData, GetClaudeModeErrors, GetClaudeModeResponses, GetCodeExecutionData, GetCodeExecutionErrors, GetCodeExecutionResponses, GetSessionReviewData, GetSessionReviewErrors, GetSessionReviewResponses, LinkAgentSessionPullRequestData, LinkAgentSessionPullRequestErrors, LinkAgentSessionPullRequestResponses, LinkAgentSessionTaskData, LinkAgentSessionTaskErrors, LinkAgentSessionTaskResponses, ListAgentConversationsData, ListAgentConversationsErrors, ListAgentConversationsResponses, ListAgentRepositoriesData, ListAgentRepositoriesErrors, ListAgentRepositoriesResponses, ListAgentRepositoryBranchesData, ListAgentRepositoryBranchesErrors, ListAgentRepositoryBranchesResponses, ListAgentSessionPullRequestsData, ListAgentSessionPullRequestsErrors, ListAgentSessionPullRequestsResponses, ListAgentSessionUpdatesData, ListAgentSessionUpdatesErrors, ListAgentSessionUpdatesResponses, ListAgentWorkRegistrationsData, ListAgentWorkRegistrationsErrors, ListAgentWorkRegistrationsResponses, ListCodingAgentsData, ListCodingAgentsErrors, ListCodingAgentsResponses, ListConnectedAppToolsData, ListConnectedAppToolsErrors, ListConnectedAppToolsResponses, ListExecutionConnectedAppsData, ListExecutionConnectedAppsErrors, ListExecutionConnectedAppsResponses, ListExecutionReviewsData, ListExecutionReviewsErrors, ListExecutionReviewsResponses, LoadAgentModelsHandlerData, LoadAgentModelsHandlerErrors, LoadAgentModelsHandlerResponses, OpenInAppData, OpenInAppErrors, OpenInAppResponses, PresentSessionViewData, PresentSessionViewErrors, PresentSessionViewResponses, PreviewAgentSessionsData, PreviewAgentSessionsErrors, PreviewAgentSessionsResponses, PutAgentAutoArchivePreferencesData, PutAgentAutoArchivePreferencesErrors, PutAgentAutoArchivePreferencesResponses, PutAgentCodingPreferencesData, PutAgentCodingPreferencesErrors, PutAgentCodingPreferencesResponses, PutAgentSandboxSizeData, PutAgentSandboxSizeErrors, PutAgentSandboxSizeResponses, PutAgentSessionAutoArchiveData, PutAgentSessionAutoArchiveErrors, PutAgentSessionAutoArchiveResponses, PutAgentSessionSandboxSizeData, PutAgentSessionSandboxSizeErrors, PutAgentSessionSandboxSizeResponses, RefreshAgentSessionChangesData, RefreshAgentSessionChangesErrors, RefreshAgentSessionChangesResponses, RegisterAgentSessionWorkData, RegisterAgentSessionWorkErrors, RegisterAgentSessionWorkResponses, RemoveQueuedActionData, RemoveQueuedActionErrors, RemoveQueuedActionResponses, RenameAgentSessionData, RenameAgentSessionErrors, RenameAgentSessionResponses, ReportAgentSessionAppConnectedData, ReportAgentSessionAppConnectedErrors, ReportAgentSessionAppConnectedResponses, RetryAgentConversationTurnData, RetryAgentConversationTurnErrors, RetryAgentConversationTurnResponses, SearchConnectedAppToolsData, SearchConnectedAppToolsErrors, SearchConnectedAppToolsResponses, SetAgentSessionArchivedData, SetAgentSessionArchivedErrors, SetAgentSessionArchivedResponses, StartClaudeSignInData, StartClaudeSignInErrors, StartClaudeSignInResponses, StartFreshAgentConversationData, StartFreshAgentConversationErrors, StartFreshAgentConversationResponses, SteerQueuedActionData, SteerQueuedActionErrors, SteerQueuedActionResponses, UnlinkAgentSessionPullRequestData, UnlinkAgentSessionPullRequestErrors, UnlinkAgentSessionPullRequestResponses, UnregisterAgentSessionWorkData, UnregisterAgentSessionWorkErrors, UnregisterAgentSessionWorkResponses, UpdateAgentSessionPermissionsData, UpdateAgentSessionPermissionsErrors, UpdateAgentSessionPermissionsResponses, WarmAgentSessionHandlerData, WarmAgentSessionHandlerResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -304,9 +304,15 @@ export declare class Sdk extends HeyApiClient {
|
|
|
304
304
|
/**
|
|
305
305
|
* Answer a tool call the agent made in a turn somebody other than the
|
|
306
306
|
* session's owner prompted. Approve and deny are the owner's; cancel is
|
|
307
|
-
* anyone's with edit access.
|
|
307
|
+
* anyone's with edit access. Agent runs may deny or cancel, but never approve.
|
|
308
308
|
*/
|
|
309
309
|
answerAgentSessionToolApproval<ThrowOnError extends boolean = false>(options: Options<AnswerAgentSessionToolApprovalData, ThrowOnError>): RequestResult<AnswerAgentSessionToolApprovalResponses, AnswerAgentSessionToolApprovalErrors, ThrowOnError>;
|
|
310
|
+
/**
|
|
311
|
+
* Open an item in a new pane of the app tab the person who prompted the
|
|
312
|
+
* running turn typed in. Only a running execution of the session's current
|
|
313
|
+
* turn may send, as the account it acts as.
|
|
314
|
+
*/
|
|
315
|
+
openInApp<ThrowOnError extends boolean = false>(options: Options<OpenInAppData, ThrowOnError>): RequestResult<OpenInAppResponses, OpenInAppErrors, ThrowOnError>;
|
|
310
316
|
/**
|
|
311
317
|
* Present a view in the session: a review with nothing saved.
|
|
312
318
|
*/
|
|
@@ -332,6 +338,22 @@ export declare class Sdk extends HeyApiClient {
|
|
|
332
338
|
* runtime the caller has connected (Cursor once its key is saved).
|
|
333
339
|
*/
|
|
334
340
|
listCodingAgents<ThrowOnError extends boolean = false>(options?: Options<ListCodingAgentsData, ThrowOnError>): RequestResult<ListCodingAgentsResponses, ListCodingAgentsErrors, ThrowOnError>;
|
|
341
|
+
/**
|
|
342
|
+
* How Claude Code on the computer is paid for.
|
|
343
|
+
*/
|
|
344
|
+
getClaudeMode<ThrowOnError extends boolean = false>(options: Options<GetClaudeModeData, ThrowOnError>): RequestResult<GetClaudeModeResponses, GetClaudeModeErrors, ThrowOnError>;
|
|
345
|
+
/**
|
|
346
|
+
* Start a Claude sign-in on the computer and return its URL.
|
|
347
|
+
*/
|
|
348
|
+
startClaudeSignIn<ThrowOnError extends boolean = false>(options: Options<StartClaudeSignInData, ThrowOnError>): RequestResult<StartClaudeSignInResponses, StartClaudeSignInErrors, ThrowOnError>;
|
|
349
|
+
/**
|
|
350
|
+
* Finish the Claude sign-in with what the user pasted.
|
|
351
|
+
*/
|
|
352
|
+
completeClaudeSignIn<ThrowOnError extends boolean = false>(options: Options<CompleteClaudeSignInData, ThrowOnError>): RequestResult<CompleteClaudeSignInResponses, CompleteClaudeSignInErrors, ThrowOnError>;
|
|
353
|
+
/**
|
|
354
|
+
* Forget the computer's Claude credential and return it to Macro credits.
|
|
355
|
+
*/
|
|
356
|
+
claudeSignOut<ThrowOnError extends boolean = false>(options: Options<ClaudeSignOutData, ThrowOnError>): RequestResult<ClaudeSignOutResponses, ClaudeSignOutErrors, ThrowOnError>;
|
|
335
357
|
/**
|
|
336
358
|
* Classify a draft for the authenticated user.
|
|
337
359
|
*/
|
|
@@ -340,5 +362,14 @@ export declare class Sdk extends HeyApiClient {
|
|
|
340
362
|
* Extract editable fields for the authenticated user.
|
|
341
363
|
*/
|
|
342
364
|
extract<ThrowOnError extends boolean = false>(options: Options<ExtractData, ThrowOnError>): RequestResult<ExtractResponses, ExtractErrors, ThrowOnError>;
|
|
365
|
+
/**
|
|
366
|
+
* The voices an agent teammate can speak with on calls. Team admins only.
|
|
367
|
+
*/
|
|
368
|
+
getAgentVoices<ThrowOnError extends boolean = false>(options?: Options<GetAgentVoicesData, ThrowOnError>): RequestResult<GetAgentVoicesResponses, GetAgentVoicesErrors, ThrowOnError>;
|
|
369
|
+
/**
|
|
370
|
+
* A catalog voice saying a fixed line, as WAV. Team admins only; the first
|
|
371
|
+
* play of each voice is billed to the admin's team.
|
|
372
|
+
*/
|
|
373
|
+
getAgentVoiceSample<ThrowOnError extends boolean = false>(options: Options<GetAgentVoiceSampleData, ThrowOnError>): RequestResult<GetAgentVoiceSampleResponses, GetAgentVoiceSampleErrors, ThrowOnError>;
|
|
343
374
|
}
|
|
344
375
|
export {};
|