lemma-sdk 0.2.46 → 0.3.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 +16 -0
- package/dist/browser/lemma-client.js +13661 -4410
- package/dist/browser.d.ts +14 -6
- package/dist/browser.js +35 -6
- package/dist/client.d.ts +4 -0
- package/dist/client.js +15 -3
- package/dist/config.d.ts +4 -0
- package/dist/config.js +7 -1
- package/dist/generated.d.ts +14 -1
- package/dist/generated.js +62 -11
- package/dist/http.d.ts +47 -1
- package/dist/http.js +145 -26
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/namespaces/agents.d.ts +20 -1
- package/dist/namespaces/agents.js +29 -1
- package/dist/namespaces/conversations.d.ts +3 -0
- package/dist/namespaces/conversations.js +2 -0
- package/dist/namespaces/desks.d.ts +9 -0
- package/dist/namespaces/desks.js +6 -0
- package/dist/namespaces/files.d.ts +18 -0
- package/dist/namespaces/files.js +21 -0
- package/dist/namespaces/functions.d.ts +3 -0
- package/dist/namespaces/functions.js +5 -0
- package/dist/namespaces/widgets.d.ts +17 -0
- package/dist/namespaces/widgets.js +16 -0
- package/dist/openapi_client/core/OpenAPI.js +1 -1
- package/dist/openapi_client/index.d.ts +4 -0
- package/dist/openapi_client/index.js +1 -0
- package/dist/openapi_client/models/AgentRunStatus.d.ts +10 -0
- package/dist/openapi_client/models/AgentRunStatus.js +15 -0
- package/dist/openapi_client/models/AgentToolset.d.ts +2 -2
- package/dist/openapi_client/models/AgentToolset.js +1 -1
- package/dist/openapi_client/models/ConversationResponse.d.ts +4 -0
- package/dist/openapi_client/models/ConversationType.d.ts +2 -1
- package/dist/openapi_client/models/ConversationType.js +1 -0
- package/dist/openapi_client/models/DatastoreQueryRequest.d.ts +1 -1
- package/dist/openapi_client/models/FileSearchResultSchema.d.ts +2 -0
- package/dist/openapi_client/models/FileSignedUrlRequest.d.ts +4 -0
- package/dist/openapi_client/models/FileSignedUrlRequest.js +1 -0
- package/dist/openapi_client/models/FileSignedUrlResponse.d.ts +6 -0
- package/dist/openapi_client/models/FileSignedUrlResponse.js +1 -0
- package/dist/openapi_client/models/FileUrlResponse.d.ts +6 -0
- package/dist/openapi_client/models/FileUrlResponse.js +1 -0
- package/dist/openapi_client/services/AgentConversationsService.d.ts +3 -2
- package/dist/openapi_client/services/AgentConversationsService.js +4 -2
- package/dist/openapi_client/services/FilesService.d.ts +20 -0
- package/dist/openapi_client/services/FilesService.js +47 -0
- package/dist/openapi_client/services/QueryService.d.ts +1 -1
- package/dist/openapi_client/services/QueryService.js +1 -1
- package/dist/run-utils.d.ts +24 -0
- package/dist/run-utils.js +54 -0
- package/dist/version.d.ts +5 -0
- package/dist/version.js +7 -0
- package/package.json +10 -5
- package/dist/hey_client/client/client.gen.d.ts +0 -2
- package/dist/hey_client/client/client.gen.js +0 -216
- package/dist/hey_client/client/index.d.ts +0 -10
- package/dist/hey_client/client/index.js +0 -6
- package/dist/hey_client/client/types.gen.d.ts +0 -120
- package/dist/hey_client/client/types.gen.js +0 -2
- package/dist/hey_client/client/utils.gen.d.ts +0 -37
- package/dist/hey_client/client/utils.gen.js +0 -228
- package/dist/hey_client/client.gen.d.ts +0 -12
- package/dist/hey_client/client.gen.js +0 -3
- package/dist/hey_client/core/auth.gen.d.ts +0 -25
- package/dist/hey_client/core/auth.gen.js +0 -14
- package/dist/hey_client/core/bodySerializer.gen.d.ts +0 -25
- package/dist/hey_client/core/bodySerializer.gen.js +0 -57
- package/dist/hey_client/core/params.gen.d.ts +0 -43
- package/dist/hey_client/core/params.gen.js +0 -100
- package/dist/hey_client/core/pathSerializer.gen.d.ts +0 -33
- package/dist/hey_client/core/pathSerializer.gen.js +0 -106
- package/dist/hey_client/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/hey_client/core/queryKeySerializer.gen.js +0 -92
- package/dist/hey_client/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/hey_client/core/serverSentEvents.gen.js +0 -132
- package/dist/hey_client/core/types.gen.d.ts +0 -83
- package/dist/hey_client/core/types.gen.js +0 -2
- package/dist/hey_client/core/utils.gen.d.ts +0 -19
- package/dist/hey_client/core/utils.gen.js +0 -87
- package/dist/hey_client/index.d.ts +0 -2
- package/dist/hey_client/index.js +0 -2
- package/dist/hey_client/sdk.gen.d.ts +0 -1005
- package/dist/hey_client/sdk.gen.js +0 -1438
- package/dist/hey_client/types.gen.d.ts +0 -12992
- package/dist/hey_client/types.gen.js +0 -2
|
@@ -1,1438 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import { formDataBodySerializer } from './client';
|
|
3
|
-
import { client } from './client.gen';
|
|
4
|
-
/**
|
|
5
|
-
* List Available Agent Harnesses
|
|
6
|
-
*/
|
|
7
|
-
export const agentRuntimeHarnessesList = (options) => (options?.client ?? client).get({ url: '/agent-runtime/harnesses', ...options });
|
|
8
|
-
/**
|
|
9
|
-
* Verify access token
|
|
10
|
-
*
|
|
11
|
-
* Validate the current bearer token and return the resolved user context.
|
|
12
|
-
*/
|
|
13
|
-
export const authVerifyToken = (options) => (options?.client ?? client).get({ url: '/auth/verify-token', ...options });
|
|
14
|
-
/**
|
|
15
|
-
* Health Check
|
|
16
|
-
*/
|
|
17
|
-
export const healthCheckHealthGet = (options) => (options?.client ?? client).get({ url: '/health', ...options });
|
|
18
|
-
/**
|
|
19
|
-
* Upload Icon
|
|
20
|
-
*
|
|
21
|
-
* Upload an image asset and receive a public icon URL.
|
|
22
|
-
*/
|
|
23
|
-
export const iconUpload = (options) => (options.client ?? client).post({
|
|
24
|
-
...formDataBodySerializer,
|
|
25
|
-
url: '/icons/upload',
|
|
26
|
-
...options,
|
|
27
|
-
headers: {
|
|
28
|
-
'Content-Type': null,
|
|
29
|
-
...options.headers
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
/**
|
|
33
|
-
* List Applications
|
|
34
|
-
*
|
|
35
|
-
* Get all active applications available for integration
|
|
36
|
-
*/
|
|
37
|
-
export const applicationList = (options) => (options?.client ?? client).get({ url: '/integrations/applications', ...options });
|
|
38
|
-
/**
|
|
39
|
-
* List Triggers
|
|
40
|
-
*
|
|
41
|
-
* Get all triggers. Optionally filter by application_id and search in description
|
|
42
|
-
*/
|
|
43
|
-
export const applicationTriggerList = (options) => (options?.client ?? client).get({ url: '/integrations/applications/triggers', ...options });
|
|
44
|
-
/**
|
|
45
|
-
* Get Trigger
|
|
46
|
-
*
|
|
47
|
-
* Get a specific trigger by ID
|
|
48
|
-
*/
|
|
49
|
-
export const applicationTriggerGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/triggers/{trigger_id}', ...options });
|
|
50
|
-
/**
|
|
51
|
-
* Get Application
|
|
52
|
-
*
|
|
53
|
-
* Get a specific application by ID along with its operation catalog
|
|
54
|
-
*/
|
|
55
|
-
export const applicationGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/{application_id}', ...options });
|
|
56
|
-
/**
|
|
57
|
-
* Get Application Skill
|
|
58
|
-
*
|
|
59
|
-
* Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
|
|
60
|
-
*/
|
|
61
|
-
export const applicationSkillGet = (options) => (options.client ?? client).get({ url: '/integrations/applications/{application_id}/skill', ...options });
|
|
62
|
-
/**
|
|
63
|
-
* OAuth Callback
|
|
64
|
-
*
|
|
65
|
-
* Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
|
|
66
|
-
*/
|
|
67
|
-
export const integrationOauthCallback = (options) => (options?.client ?? client).get({ url: '/integrations/connect-requests/oauth/callback', ...options });
|
|
68
|
-
/**
|
|
69
|
-
* List My Organizations
|
|
70
|
-
*
|
|
71
|
-
* Get all organizations the current user belongs to
|
|
72
|
-
*/
|
|
73
|
-
export const orgList = (options) => (options?.client ?? client).get({ url: '/organizations', ...options });
|
|
74
|
-
/**
|
|
75
|
-
* Create Organization
|
|
76
|
-
*
|
|
77
|
-
* Create a new organization
|
|
78
|
-
*/
|
|
79
|
-
export const orgCreate = (options) => (options.client ?? client).post({
|
|
80
|
-
url: '/organizations',
|
|
81
|
-
...options,
|
|
82
|
-
headers: {
|
|
83
|
-
'Content-Type': 'application/json',
|
|
84
|
-
...options.headers
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
/**
|
|
88
|
-
* List My Invitations
|
|
89
|
-
*
|
|
90
|
-
* Get all pending invitations for the current user
|
|
91
|
-
*/
|
|
92
|
-
export const orgInvitationListMine = (options) => (options?.client ?? client).get({ url: '/organizations/invitations', ...options });
|
|
93
|
-
/**
|
|
94
|
-
* Revoke Invitation
|
|
95
|
-
*
|
|
96
|
-
* Revoke an organization invitation
|
|
97
|
-
*/
|
|
98
|
-
export const orgInvitationRevoke = (options) => (options.client ?? client).delete({ url: '/organizations/invitations/{invitation_id}', ...options });
|
|
99
|
-
/**
|
|
100
|
-
* Get Organization Invitation
|
|
101
|
-
*
|
|
102
|
-
* Get an invitation by id
|
|
103
|
-
*/
|
|
104
|
-
export const orgInvitationGet = (options) => (options.client ?? client).get({ url: '/organizations/invitations/{invitation_id}', ...options });
|
|
105
|
-
/**
|
|
106
|
-
* Accept Invitation
|
|
107
|
-
*
|
|
108
|
-
* Accept an organization invitation
|
|
109
|
-
*/
|
|
110
|
-
export const orgInvitationAccept = (options) => (options.client ?? client).post({ url: '/organizations/invitations/{invitation_id}/accept', ...options });
|
|
111
|
-
/**
|
|
112
|
-
* Check Organization Slug Availability
|
|
113
|
-
*
|
|
114
|
-
* Check whether an organization slug is available
|
|
115
|
-
*/
|
|
116
|
-
export const orgSlugAvailability = (options) => (options.client ?? client).get({ url: '/organizations/slug-availability', ...options });
|
|
117
|
-
/**
|
|
118
|
-
* Get Suggested Organizations
|
|
119
|
-
*
|
|
120
|
-
* Get auto-join organizations matching the current user's email domain
|
|
121
|
-
*/
|
|
122
|
-
export const orgSuggested = (options) => (options?.client ?? client).get({ url: '/organizations/suggested', ...options });
|
|
123
|
-
/**
|
|
124
|
-
* Get Organization
|
|
125
|
-
*
|
|
126
|
-
* Get organization details
|
|
127
|
-
*/
|
|
128
|
-
export const orgGet = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}', ...options });
|
|
129
|
-
/**
|
|
130
|
-
* List Available Agent Runtime Profiles
|
|
131
|
-
*/
|
|
132
|
-
export const agentRuntimeProfilesList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/agent-runtime/profiles', ...options });
|
|
133
|
-
/**
|
|
134
|
-
* Create Agent Runtime Profile
|
|
135
|
-
*/
|
|
136
|
-
export const agentRuntimeProfilesCreate = (options) => (options.client ?? client).post({
|
|
137
|
-
url: '/organizations/{org_id}/agent-runtime/profiles',
|
|
138
|
-
...options,
|
|
139
|
-
headers: {
|
|
140
|
-
'Content-Type': 'application/json',
|
|
141
|
-
...options.headers
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
/**
|
|
145
|
-
* List Organization Invitations
|
|
146
|
-
*
|
|
147
|
-
* Get all pending invitations for an organization
|
|
148
|
-
*/
|
|
149
|
-
export const orgInvitationList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/invitations', ...options });
|
|
150
|
-
/**
|
|
151
|
-
* Invite Member
|
|
152
|
-
*
|
|
153
|
-
* Invite a user to join the organization
|
|
154
|
-
*/
|
|
155
|
-
export const orgInvitationInvite = (options) => (options.client ?? client).post({
|
|
156
|
-
url: '/organizations/{org_id}/invitations',
|
|
157
|
-
...options,
|
|
158
|
-
headers: {
|
|
159
|
-
'Content-Type': 'application/json',
|
|
160
|
-
...options.headers
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* Join Auto-Join Organization
|
|
165
|
-
*
|
|
166
|
-
* Join an organization when the current user's email domain is allowed to auto-join
|
|
167
|
-
*/
|
|
168
|
-
export const orgJoinAutoJoin = (options) => (options.client ?? client).post({ url: '/organizations/{org_id}/join', ...options });
|
|
169
|
-
/**
|
|
170
|
-
* List Organization Members
|
|
171
|
-
*
|
|
172
|
-
* Get all members of an organization
|
|
173
|
-
*/
|
|
174
|
-
export const orgMemberList = (options) => (options.client ?? client).get({ url: '/organizations/{org_id}/members', ...options });
|
|
175
|
-
/**
|
|
176
|
-
* Remove Member
|
|
177
|
-
*
|
|
178
|
-
* Remove a member from the organization
|
|
179
|
-
*/
|
|
180
|
-
export const orgMemberRemove = (options) => (options.client ?? client).delete({ url: '/organizations/{org_id}/members/{member_id}', ...options });
|
|
181
|
-
/**
|
|
182
|
-
* Update Member Role
|
|
183
|
-
*
|
|
184
|
-
* Update a member's role in the organization
|
|
185
|
-
*/
|
|
186
|
-
export const orgMemberUpdateRole = (options) => (options.client ?? client).patch({
|
|
187
|
-
url: '/organizations/{org_id}/members/{member_id}/role',
|
|
188
|
-
...options,
|
|
189
|
-
headers: {
|
|
190
|
-
'Content-Type': 'application/json',
|
|
191
|
-
...options.headers
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
/**
|
|
195
|
-
* List Accounts
|
|
196
|
-
*
|
|
197
|
-
* Get all connected accounts for the current user. Optionally filter by application_id or application_name
|
|
198
|
-
*/
|
|
199
|
-
export const integrationAccountList = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts', ...options });
|
|
200
|
-
/**
|
|
201
|
-
* Create Account
|
|
202
|
-
*
|
|
203
|
-
* Directly connect a credential-managed native account for an org auth config.
|
|
204
|
-
*/
|
|
205
|
-
export const integrationAccountCreate = (options) => (options.client ?? client).post({
|
|
206
|
-
url: '/organizations/{organization_id}/integrations/accounts',
|
|
207
|
-
...options,
|
|
208
|
-
headers: {
|
|
209
|
-
'Content-Type': 'application/json',
|
|
210
|
-
...options.headers
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
/**
|
|
214
|
-
* Delete Account
|
|
215
|
-
*
|
|
216
|
-
* Delete a connected account and revoke the connection
|
|
217
|
-
*/
|
|
218
|
-
export const integrationAccountDelete = (options) => (options.client ?? client).delete({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}', ...options });
|
|
219
|
-
/**
|
|
220
|
-
* Get Account
|
|
221
|
-
*
|
|
222
|
-
* Get a specific account by ID
|
|
223
|
-
*/
|
|
224
|
-
export const integrationAccountGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}', ...options });
|
|
225
|
-
/**
|
|
226
|
-
* Get Credentials
|
|
227
|
-
*
|
|
228
|
-
* Get the credentials for a specific account
|
|
229
|
-
*/
|
|
230
|
-
export const integrationAccountCredentialsGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/accounts/{account_id}/credentials', ...options });
|
|
231
|
-
/**
|
|
232
|
-
* List Auth Configs
|
|
233
|
-
*/
|
|
234
|
-
export const integrationAuthConfigList = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/auth-configs', ...options });
|
|
235
|
-
/**
|
|
236
|
-
* Create Auth Config
|
|
237
|
-
*/
|
|
238
|
-
export const integrationAuthConfigCreate = (options) => (options.client ?? client).post({
|
|
239
|
-
url: '/organizations/{organization_id}/integrations/auth-configs',
|
|
240
|
-
...options,
|
|
241
|
-
headers: {
|
|
242
|
-
'Content-Type': 'application/json',
|
|
243
|
-
...options.headers
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
/**
|
|
247
|
-
* Delete Auth Config
|
|
248
|
-
*/
|
|
249
|
-
export const integrationAuthConfigDelete = (options) => (options.client ?? client).delete({ url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}', ...options });
|
|
250
|
-
/**
|
|
251
|
-
* Get Auth Config
|
|
252
|
-
*/
|
|
253
|
-
export const integrationAuthConfigGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}', ...options });
|
|
254
|
-
/**
|
|
255
|
-
* Initiate Connect Request
|
|
256
|
-
*
|
|
257
|
-
* Initiate an OAuth connection request for an application
|
|
258
|
-
*/
|
|
259
|
-
export const integrationConnectRequestCreate = (options) => (options.client ?? client).post({
|
|
260
|
-
url: '/organizations/{organization_id}/integrations/connect-requests',
|
|
261
|
-
...options,
|
|
262
|
-
headers: {
|
|
263
|
-
'Content-Type': 'application/json',
|
|
264
|
-
...options.headers
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
/**
|
|
268
|
-
* Get Integration Status
|
|
269
|
-
*/
|
|
270
|
-
export const integrationStatusGet = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/status', ...options });
|
|
271
|
-
/**
|
|
272
|
-
* Discover Application Operations
|
|
273
|
-
*/
|
|
274
|
-
export const applicationOperationDiscover = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations', ...options });
|
|
275
|
-
/**
|
|
276
|
-
* Get Application Operation Details In Batch
|
|
277
|
-
*/
|
|
278
|
-
export const applicationOperationDetailsBatch = (options) => (options.client ?? client).post({
|
|
279
|
-
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/details',
|
|
280
|
-
...options,
|
|
281
|
-
headers: {
|
|
282
|
-
'Content-Type': 'application/json',
|
|
283
|
-
...options.headers
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
/**
|
|
287
|
-
* Get Application Operation Details
|
|
288
|
-
*/
|
|
289
|
-
export const applicationOperationDetail = (options) => (options.client ?? client).get({ url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}', ...options });
|
|
290
|
-
/**
|
|
291
|
-
* Execute Application Operation
|
|
292
|
-
*/
|
|
293
|
-
export const applicationOperationExecute = (options) => (options.client ?? client).post({
|
|
294
|
-
url: '/organizations/{organization_id}/integrations/{auth_config_name}/operations/{operation_name}/execute',
|
|
295
|
-
...options,
|
|
296
|
-
headers: {
|
|
297
|
-
'Content-Type': 'application/json',
|
|
298
|
-
...options.headers
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
/**
|
|
302
|
-
* Create Pod
|
|
303
|
-
*
|
|
304
|
-
* Create a new pod
|
|
305
|
-
*/
|
|
306
|
-
export const podCreate = (options) => (options.client ?? client).post({
|
|
307
|
-
url: '/pods',
|
|
308
|
-
...options,
|
|
309
|
-
headers: {
|
|
310
|
-
'Content-Type': 'application/json',
|
|
311
|
-
...options.headers
|
|
312
|
-
}
|
|
313
|
-
});
|
|
314
|
-
/**
|
|
315
|
-
* List PodS by Organization
|
|
316
|
-
*
|
|
317
|
-
* List all pods in an organization
|
|
318
|
-
*/
|
|
319
|
-
export const podList = (options) => (options.client ?? client).get({ url: '/pods/organization/{organization_id}', ...options });
|
|
320
|
-
/**
|
|
321
|
-
* Delete Pod
|
|
322
|
-
*
|
|
323
|
-
* Delete a pod
|
|
324
|
-
*/
|
|
325
|
-
export const podDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}', ...options });
|
|
326
|
-
/**
|
|
327
|
-
* Get Pod
|
|
328
|
-
*
|
|
329
|
-
* Get pod details
|
|
330
|
-
*/
|
|
331
|
-
export const podGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}', ...options });
|
|
332
|
-
/**
|
|
333
|
-
* Update Pod
|
|
334
|
-
*
|
|
335
|
-
* Update pod details
|
|
336
|
-
*/
|
|
337
|
-
export const podUpdate = (options) => (options.client ?? client).put({
|
|
338
|
-
url: '/pods/{pod_id}',
|
|
339
|
-
...options,
|
|
340
|
-
headers: {
|
|
341
|
-
'Content-Type': 'application/json',
|
|
342
|
-
...options.headers
|
|
343
|
-
}
|
|
344
|
-
});
|
|
345
|
-
/**
|
|
346
|
-
* List Agents
|
|
347
|
-
*
|
|
348
|
-
* List pod-owned agent definitions visible to the current user.
|
|
349
|
-
*/
|
|
350
|
-
export const agentList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents', ...options });
|
|
351
|
-
/**
|
|
352
|
-
* Create Agent
|
|
353
|
-
*
|
|
354
|
-
* Create a pod-owned agent definition with runtime, toolsets, and schemas.
|
|
355
|
-
*/
|
|
356
|
-
export const agentCreate = (options) => (options.client ?? client).post({
|
|
357
|
-
url: '/pods/{pod_id}/agents',
|
|
358
|
-
...options,
|
|
359
|
-
headers: {
|
|
360
|
-
'Content-Type': 'application/json',
|
|
361
|
-
...options.headers
|
|
362
|
-
}
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* Delete Agent
|
|
366
|
-
*
|
|
367
|
-
* Delete a pod-owned agent definition by name.
|
|
368
|
-
*/
|
|
369
|
-
export const agentDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/agents/{agent_name}', ...options });
|
|
370
|
-
/**
|
|
371
|
-
* Get Agent
|
|
372
|
-
*
|
|
373
|
-
* Get one pod-owned agent definition by its stable name.
|
|
374
|
-
*/
|
|
375
|
-
export const agentGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents/{agent_name}', ...options });
|
|
376
|
-
/**
|
|
377
|
-
* Update Agent
|
|
378
|
-
*
|
|
379
|
-
* Update an agent definition, including prompt instruction, runtime, toolsets, and schemas.
|
|
380
|
-
*/
|
|
381
|
-
export const agentUpdate = (options) => (options.client ?? client).patch({
|
|
382
|
-
url: '/pods/{pod_id}/agents/{agent_name}',
|
|
383
|
-
...options,
|
|
384
|
-
headers: {
|
|
385
|
-
'Content-Type': 'application/json',
|
|
386
|
-
...options.headers
|
|
387
|
-
}
|
|
388
|
-
});
|
|
389
|
-
/**
|
|
390
|
-
* Get Agent Resource Permissions
|
|
391
|
-
*
|
|
392
|
-
* Get explicit resource grants assigned to an agent.
|
|
393
|
-
*/
|
|
394
|
-
export const agentPermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/agents/{agent_name}/permissions', ...options });
|
|
395
|
-
/**
|
|
396
|
-
* Replace Agent Resource Permissions
|
|
397
|
-
*
|
|
398
|
-
* Replace explicit resource grants assigned to an agent.
|
|
399
|
-
*/
|
|
400
|
-
export const agentPermissionsReplace = (options) => (options.client ?? client).put({
|
|
401
|
-
url: '/pods/{pod_id}/agents/{agent_name}/permissions',
|
|
402
|
-
...options,
|
|
403
|
-
headers: {
|
|
404
|
-
'Content-Type': 'application/json',
|
|
405
|
-
...options.headers
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
/**
|
|
409
|
-
* Get Pod Config
|
|
410
|
-
*
|
|
411
|
-
* Get pod configuration requirements (apps, flows) and user status
|
|
412
|
-
*/
|
|
413
|
-
export const podConfigGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/config', ...options });
|
|
414
|
-
/**
|
|
415
|
-
* List Pod Agent Conversations
|
|
416
|
-
*
|
|
417
|
-
* List root conversations for the current user in a pod. Use agent_name to list conversations for a specific pod agent; omit it to list default pod assistant conversations. Child conversations are omitted from this root list.
|
|
418
|
-
*/
|
|
419
|
-
export const agentConversationList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations', ...options });
|
|
420
|
-
/**
|
|
421
|
-
* Create Pod Agent Conversation
|
|
422
|
-
*
|
|
423
|
-
* Create a new pod-scoped conversation. When agent_name is omitted, the conversation uses the default pod assistant. Workflow and sub-agent executions also use conversations as their external execution handle.
|
|
424
|
-
*/
|
|
425
|
-
export const agentConversationCreate = (options) => (options.client ?? client).post({
|
|
426
|
-
url: '/pods/{pod_id}/conversations',
|
|
427
|
-
...options,
|
|
428
|
-
headers: {
|
|
429
|
-
'Content-Type': 'application/json',
|
|
430
|
-
...options.headers
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
/**
|
|
434
|
-
* Get Pod Conversation
|
|
435
|
-
*
|
|
436
|
-
* Get a single pod-scoped assistant or agent conversation by id.
|
|
437
|
-
*/
|
|
438
|
-
export const agentConversationGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}', ...options });
|
|
439
|
-
/**
|
|
440
|
-
* Update Pod Conversation
|
|
441
|
-
*
|
|
442
|
-
* Update mutable conversation settings for a pod-scoped conversation. The conversation runtime is used by future runs; message sends do not carry per-request runtime overrides.
|
|
443
|
-
*/
|
|
444
|
-
export const agentConversationUpdate = (options) => (options.client ?? client).patch({
|
|
445
|
-
url: '/pods/{pod_id}/conversations/{conversation_id}',
|
|
446
|
-
...options,
|
|
447
|
-
headers: {
|
|
448
|
-
'Content-Type': 'application/json',
|
|
449
|
-
...options.headers
|
|
450
|
-
}
|
|
451
|
-
});
|
|
452
|
-
/**
|
|
453
|
-
* List Agent Run Approvals
|
|
454
|
-
*
|
|
455
|
-
* List pending user_approval tool calls in a conversation.
|
|
456
|
-
*/
|
|
457
|
-
export const agentConversationApprovalList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/approvals', ...options });
|
|
458
|
-
/**
|
|
459
|
-
* Resolve User Approval
|
|
460
|
-
*
|
|
461
|
-
* Append a user_approval tool result and resume the live local turn.
|
|
462
|
-
*/
|
|
463
|
-
export const agentConversationApprovalResolve = (options) => (options.client ?? client).post({
|
|
464
|
-
url: '/pods/{pod_id}/conversations/{conversation_id}/approvals/{approval_id}/decision',
|
|
465
|
-
...options,
|
|
466
|
-
headers: {
|
|
467
|
-
'Content-Type': 'application/json',
|
|
468
|
-
...options.headers
|
|
469
|
-
}
|
|
470
|
-
});
|
|
471
|
-
/**
|
|
472
|
-
* List Pod Conversation Messages
|
|
473
|
-
*
|
|
474
|
-
* List the latest persisted messages in chronological order. Pass next_page_token as page_token to fetch the next older page above the current page.
|
|
475
|
-
*/
|
|
476
|
-
export const agentConversationMessageList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/messages', ...options });
|
|
477
|
-
/**
|
|
478
|
-
* Send Pod Conversation Message
|
|
479
|
-
*
|
|
480
|
-
* Append a user message to a pod-scoped conversation and stream runtime events over Server-Sent Events until the active run completes. User messages can also be appended while a run is already active; the next harness step sees the new message in persisted history.
|
|
481
|
-
*/
|
|
482
|
-
export const agentConversationMessageSend = (options) => (options.client ?? client).post({
|
|
483
|
-
url: '/pods/{pod_id}/conversations/{conversation_id}/messages',
|
|
484
|
-
...options,
|
|
485
|
-
headers: {
|
|
486
|
-
'Content-Type': 'application/json',
|
|
487
|
-
...options.headers
|
|
488
|
-
}
|
|
489
|
-
});
|
|
490
|
-
/**
|
|
491
|
-
* Stop Pod Conversation
|
|
492
|
-
*
|
|
493
|
-
* Request cancellation of the active internal run for a conversation.
|
|
494
|
-
*/
|
|
495
|
-
export const agentConversationStop = (options) => (options.client ?? client).post({ url: '/pods/{pod_id}/conversations/{conversation_id}/stop', ...options });
|
|
496
|
-
/**
|
|
497
|
-
* Stream Pod Conversation
|
|
498
|
-
*
|
|
499
|
-
* Subscribe to Server-Sent Events for an existing pod-scoped conversation. The stream closes immediately when the conversation has no active run. Optionally filter to a specific internal run id for reconnects.
|
|
500
|
-
*/
|
|
501
|
-
export const agentConversationStream = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/conversations/{conversation_id}/stream', ...options });
|
|
502
|
-
/**
|
|
503
|
-
* List Files
|
|
504
|
-
*/
|
|
505
|
-
export const fileList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files', ...options });
|
|
506
|
-
/**
|
|
507
|
-
* Upload File
|
|
508
|
-
*/
|
|
509
|
-
export const fileUpload = (options) => (options.client ?? client).post({
|
|
510
|
-
...formDataBodySerializer,
|
|
511
|
-
url: '/pods/{pod_id}/datastore/files',
|
|
512
|
-
...options,
|
|
513
|
-
headers: {
|
|
514
|
-
'Content-Type': null,
|
|
515
|
-
...options.headers
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
/**
|
|
519
|
-
* Delete File Or Folder
|
|
520
|
-
*/
|
|
521
|
-
export const fileDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/files/by-path', ...options });
|
|
522
|
-
/**
|
|
523
|
-
* Get File
|
|
524
|
-
*/
|
|
525
|
-
export const fileGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/by-path', ...options });
|
|
526
|
-
/**
|
|
527
|
-
* Update File
|
|
528
|
-
*/
|
|
529
|
-
export const fileUpdate = (options) => (options.client ?? client).patch({
|
|
530
|
-
...formDataBodySerializer,
|
|
531
|
-
url: '/pods/{pod_id}/datastore/files/by-path',
|
|
532
|
-
...options,
|
|
533
|
-
headers: {
|
|
534
|
-
'Content-Type': null,
|
|
535
|
-
...options.headers
|
|
536
|
-
}
|
|
537
|
-
});
|
|
538
|
-
/**
|
|
539
|
-
* Download Converted File Archive
|
|
540
|
-
*/
|
|
541
|
-
export const fileConvertedArchive = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/archive', ...options });
|
|
542
|
-
/**
|
|
543
|
-
* Get Converted File Metadata
|
|
544
|
-
*/
|
|
545
|
-
export const fileConvertedGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/by-path', ...options });
|
|
546
|
-
/**
|
|
547
|
-
* Download Converted File Artifact
|
|
548
|
-
*/
|
|
549
|
-
export const fileConvertedDownload = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/download', ...options });
|
|
550
|
-
/**
|
|
551
|
-
* Render Converted File As HTML
|
|
552
|
-
*/
|
|
553
|
-
export const fileConvertedRender = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/converted/render', ...options });
|
|
554
|
-
/**
|
|
555
|
-
* Download File
|
|
556
|
-
*/
|
|
557
|
-
export const fileDownload = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/download', ...options });
|
|
558
|
-
/**
|
|
559
|
-
* Create Folder
|
|
560
|
-
*/
|
|
561
|
-
export const fileFolderCreate = (options) => (options.client ?? client).post({
|
|
562
|
-
url: '/pods/{pod_id}/datastore/files/folders',
|
|
563
|
-
...options,
|
|
564
|
-
headers: {
|
|
565
|
-
'Content-Type': 'application/json',
|
|
566
|
-
...options.headers
|
|
567
|
-
}
|
|
568
|
-
});
|
|
569
|
-
/**
|
|
570
|
-
* Search Files
|
|
571
|
-
*/
|
|
572
|
-
export const fileSearch = (options) => (options.client ?? client).post({
|
|
573
|
-
url: '/pods/{pod_id}/datastore/files/search',
|
|
574
|
-
...options,
|
|
575
|
-
headers: {
|
|
576
|
-
'Content-Type': 'application/json',
|
|
577
|
-
...options.headers
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
/**
|
|
581
|
-
* Get Directory Tree
|
|
582
|
-
*/
|
|
583
|
-
export const fileTree = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/files/tree', ...options });
|
|
584
|
-
/**
|
|
585
|
-
* Execute Query
|
|
586
|
-
*
|
|
587
|
-
* Execute a read-only SQL query inside the datastore schema. Joins, aggregates, subqueries, and cross-table reads are allowed as long as the statement is read only.
|
|
588
|
-
*/
|
|
589
|
-
export const queryExecute = (options) => (options.client ?? client).post({
|
|
590
|
-
url: '/pods/{pod_id}/datastore/query',
|
|
591
|
-
...options,
|
|
592
|
-
headers: {
|
|
593
|
-
'Content-Type': 'application/json',
|
|
594
|
-
...options.headers
|
|
595
|
-
}
|
|
596
|
-
});
|
|
597
|
-
/**
|
|
598
|
-
* List Tables
|
|
599
|
-
*
|
|
600
|
-
* List tables in a datastore.
|
|
601
|
-
*/
|
|
602
|
-
export const tableList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables', ...options });
|
|
603
|
-
/**
|
|
604
|
-
* Create Table
|
|
605
|
-
*
|
|
606
|
-
* Create a table in a datastore. Define primary key, column schema, and optional RLS behavior.
|
|
607
|
-
*/
|
|
608
|
-
export const tableCreate = (options) => (options.client ?? client).post({
|
|
609
|
-
url: '/pods/{pod_id}/datastore/tables',
|
|
610
|
-
...options,
|
|
611
|
-
headers: {
|
|
612
|
-
'Content-Type': 'application/json',
|
|
613
|
-
...options.headers
|
|
614
|
-
}
|
|
615
|
-
});
|
|
616
|
-
/**
|
|
617
|
-
* Delete Table
|
|
618
|
-
*
|
|
619
|
-
* Delete a table and all records in it.
|
|
620
|
-
*/
|
|
621
|
-
export const tableDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}', ...options });
|
|
622
|
-
/**
|
|
623
|
-
* Get Table
|
|
624
|
-
*
|
|
625
|
-
* Get table schema metadata by table name.
|
|
626
|
-
*/
|
|
627
|
-
export const tableGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}', ...options });
|
|
628
|
-
/**
|
|
629
|
-
* Update Table
|
|
630
|
-
*
|
|
631
|
-
* Update table metadata/configuration payload.
|
|
632
|
-
*/
|
|
633
|
-
export const tableUpdate = (options) => (options.client ?? client).patch({
|
|
634
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}',
|
|
635
|
-
...options,
|
|
636
|
-
headers: {
|
|
637
|
-
'Content-Type': 'application/json',
|
|
638
|
-
...options.headers
|
|
639
|
-
}
|
|
640
|
-
});
|
|
641
|
-
/**
|
|
642
|
-
* Add Column
|
|
643
|
-
*
|
|
644
|
-
* Add a new column to a table. Column names must be unique and compatible with existing table schema rules.
|
|
645
|
-
*/
|
|
646
|
-
export const tableColumnAdd = (options) => (options.client ?? client).post({
|
|
647
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/columns',
|
|
648
|
-
...options,
|
|
649
|
-
headers: {
|
|
650
|
-
'Content-Type': 'application/json',
|
|
651
|
-
...options.headers
|
|
652
|
-
}
|
|
653
|
-
});
|
|
654
|
-
/**
|
|
655
|
-
* Remove Column
|
|
656
|
-
*
|
|
657
|
-
* Remove a non-primary, non-system column from a table. System columns and the primary key cannot be removed.
|
|
658
|
-
*/
|
|
659
|
-
export const tableColumnRemove = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}/columns/{column_name}', ...options });
|
|
660
|
-
/**
|
|
661
|
-
* List Records
|
|
662
|
-
*
|
|
663
|
-
* List table records with token pagination only. Use the datastore query endpoint for joins, aggregates, or custom read-only SQL.
|
|
664
|
-
*/
|
|
665
|
-
export const recordList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records', ...options });
|
|
666
|
-
/**
|
|
667
|
-
* Create Record
|
|
668
|
-
*
|
|
669
|
-
* Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
670
|
-
*/
|
|
671
|
-
export const recordCreate = (options) => (options.client ?? client).post({
|
|
672
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/records',
|
|
673
|
-
...options,
|
|
674
|
-
headers: {
|
|
675
|
-
'Content-Type': 'application/json',
|
|
676
|
-
...options.headers
|
|
677
|
-
}
|
|
678
|
-
});
|
|
679
|
-
/**
|
|
680
|
-
* Bulk Create
|
|
681
|
-
*
|
|
682
|
-
* Insert multiple records in one request.
|
|
683
|
-
*/
|
|
684
|
-
export const recordBulkCreate = (options) => (options.client ?? client).post({
|
|
685
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/create',
|
|
686
|
-
...options,
|
|
687
|
-
headers: {
|
|
688
|
-
'Content-Type': 'application/json',
|
|
689
|
-
...options.headers
|
|
690
|
-
}
|
|
691
|
-
});
|
|
692
|
-
/**
|
|
693
|
-
* Bulk Delete
|
|
694
|
-
*
|
|
695
|
-
* Delete multiple records by primary key values.
|
|
696
|
-
*/
|
|
697
|
-
export const recordBulkDelete = (options) => (options.client ?? client).post({
|
|
698
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/delete',
|
|
699
|
-
...options,
|
|
700
|
-
headers: {
|
|
701
|
-
'Content-Type': 'application/json',
|
|
702
|
-
...options.headers
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
/**
|
|
706
|
-
* Bulk Update
|
|
707
|
-
*
|
|
708
|
-
* Update multiple records in one request (each item needs primary key).
|
|
709
|
-
*/
|
|
710
|
-
export const recordBulkUpdate = (options) => (options.client ?? client).post({
|
|
711
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/records/bulk/update',
|
|
712
|
-
...options,
|
|
713
|
-
headers: {
|
|
714
|
-
'Content-Type': 'application/json',
|
|
715
|
-
...options.headers
|
|
716
|
-
}
|
|
717
|
-
});
|
|
718
|
-
/**
|
|
719
|
-
* Delete Record
|
|
720
|
-
*
|
|
721
|
-
* Delete a record by primary key.
|
|
722
|
-
*/
|
|
723
|
-
export const recordDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}', ...options });
|
|
724
|
-
/**
|
|
725
|
-
* Get Record
|
|
726
|
-
*
|
|
727
|
-
* Fetch one record by primary key value. The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
|
|
728
|
-
*/
|
|
729
|
-
export const recordGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}', ...options });
|
|
730
|
-
/**
|
|
731
|
-
* Update Record
|
|
732
|
-
*
|
|
733
|
-
* Patch a record by primary key.
|
|
734
|
-
*/
|
|
735
|
-
export const recordUpdate = (options) => (options.client ?? client).patch({
|
|
736
|
-
url: '/pods/{pod_id}/datastore/tables/{table_name}/records/{record_id}',
|
|
737
|
-
...options,
|
|
738
|
-
headers: {
|
|
739
|
-
'Content-Type': 'application/json',
|
|
740
|
-
...options.headers
|
|
741
|
-
}
|
|
742
|
-
});
|
|
743
|
-
/**
|
|
744
|
-
* List Desks
|
|
745
|
-
*/
|
|
746
|
-
export const deskList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks', ...options });
|
|
747
|
-
/**
|
|
748
|
-
* Create Desk
|
|
749
|
-
*/
|
|
750
|
-
export const deskCreate = (options) => (options.client ?? client).post({
|
|
751
|
-
url: '/pods/{pod_id}/desks',
|
|
752
|
-
...options,
|
|
753
|
-
headers: {
|
|
754
|
-
'Content-Type': 'application/json',
|
|
755
|
-
...options.headers
|
|
756
|
-
}
|
|
757
|
-
});
|
|
758
|
-
/**
|
|
759
|
-
* Delete Desk
|
|
760
|
-
*/
|
|
761
|
-
export const deskDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/desks/{desk_name}', ...options });
|
|
762
|
-
/**
|
|
763
|
-
* Get Desk
|
|
764
|
-
*/
|
|
765
|
-
export const deskGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}', ...options });
|
|
766
|
-
/**
|
|
767
|
-
* Update Desk
|
|
768
|
-
*/
|
|
769
|
-
export const deskUpdate = (options) => (options.client ?? client).patch({
|
|
770
|
-
url: '/pods/{pod_id}/desks/{desk_name}',
|
|
771
|
-
...options,
|
|
772
|
-
headers: {
|
|
773
|
-
'Content-Type': 'application/json',
|
|
774
|
-
...options.headers
|
|
775
|
-
}
|
|
776
|
-
});
|
|
777
|
-
/**
|
|
778
|
-
* Get Desk Root Asset
|
|
779
|
-
*/
|
|
780
|
-
export const deskAssetRootGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/assets', ...options });
|
|
781
|
-
/**
|
|
782
|
-
* Get Desk Asset
|
|
783
|
-
*/
|
|
784
|
-
export const deskAssetGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/assets/{asset_path}', ...options });
|
|
785
|
-
/**
|
|
786
|
-
* Upload Desk Bundle
|
|
787
|
-
*/
|
|
788
|
-
export const deskBundleUpload = (options) => (options.client ?? client).post({
|
|
789
|
-
...formDataBodySerializer,
|
|
790
|
-
url: '/pods/{pod_id}/desks/{desk_name}/bundle',
|
|
791
|
-
...options,
|
|
792
|
-
headers: {
|
|
793
|
-
'Content-Type': null,
|
|
794
|
-
...options.headers
|
|
795
|
-
}
|
|
796
|
-
});
|
|
797
|
-
/**
|
|
798
|
-
* Download Desk Dist Archive
|
|
799
|
-
*/
|
|
800
|
-
export const deskDistArchiveGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/dist/archive', ...options });
|
|
801
|
-
/**
|
|
802
|
-
* Download Desk Source Archive
|
|
803
|
-
*/
|
|
804
|
-
export const deskSourceArchiveGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/desks/{desk_name}/source/archive', ...options });
|
|
805
|
-
/**
|
|
806
|
-
* List Functions
|
|
807
|
-
*
|
|
808
|
-
* List all functions in a pod
|
|
809
|
-
*/
|
|
810
|
-
export const functionList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions', ...options });
|
|
811
|
-
/**
|
|
812
|
-
* Create Function
|
|
813
|
-
*
|
|
814
|
-
* Create a new function in a pod. Do not send input_schema, output_schema, or config_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
815
|
-
*/
|
|
816
|
-
export const functionCreate = (options) => (options.client ?? client).post({
|
|
817
|
-
url: '/pods/{pod_id}/functions',
|
|
818
|
-
...options,
|
|
819
|
-
headers: {
|
|
820
|
-
'Content-Type': 'application/json',
|
|
821
|
-
...options.headers
|
|
822
|
-
}
|
|
823
|
-
});
|
|
824
|
-
/**
|
|
825
|
-
* Delete Function
|
|
826
|
-
*
|
|
827
|
-
* Delete a function
|
|
828
|
-
*/
|
|
829
|
-
export const functionDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/functions/{function_name}', ...options });
|
|
830
|
-
/**
|
|
831
|
-
* Get Function
|
|
832
|
-
*
|
|
833
|
-
* Get a function by name
|
|
834
|
-
*/
|
|
835
|
-
export const functionGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}', ...options });
|
|
836
|
-
/**
|
|
837
|
-
* Update Function
|
|
838
|
-
*
|
|
839
|
-
* Update a function. When code is supplied, the platform re-derives the function input_schema and output_schema and returns the refreshed function.
|
|
840
|
-
*/
|
|
841
|
-
export const functionUpdate = (options) => (options.client ?? client).patch({
|
|
842
|
-
url: '/pods/{pod_id}/functions/{function_name}',
|
|
843
|
-
...options,
|
|
844
|
-
headers: {
|
|
845
|
-
'Content-Type': 'application/json',
|
|
846
|
-
...options.headers
|
|
847
|
-
}
|
|
848
|
-
});
|
|
849
|
-
/**
|
|
850
|
-
* Get Function Resource Permissions
|
|
851
|
-
*
|
|
852
|
-
* Get explicit resource grants assigned to a function.
|
|
853
|
-
*/
|
|
854
|
-
export const functionPermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/permissions', ...options });
|
|
855
|
-
/**
|
|
856
|
-
* Replace Function Resource Permissions
|
|
857
|
-
*
|
|
858
|
-
* Replace explicit resource grants assigned to a function.
|
|
859
|
-
*/
|
|
860
|
-
export const functionPermissionsReplace = (options) => (options.client ?? client).put({
|
|
861
|
-
url: '/pods/{pod_id}/functions/{function_name}/permissions',
|
|
862
|
-
...options,
|
|
863
|
-
headers: {
|
|
864
|
-
'Content-Type': 'application/json',
|
|
865
|
-
...options.headers
|
|
866
|
-
}
|
|
867
|
-
});
|
|
868
|
-
/**
|
|
869
|
-
* List Runs
|
|
870
|
-
*
|
|
871
|
-
* List runs for a function
|
|
872
|
-
*/
|
|
873
|
-
export const functionRunList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/runs', ...options });
|
|
874
|
-
/**
|
|
875
|
-
* Execute Function
|
|
876
|
-
*
|
|
877
|
-
* Execute a function
|
|
878
|
-
*/
|
|
879
|
-
export const functionRun = (options) => (options.client ?? client).post({
|
|
880
|
-
url: '/pods/{pod_id}/functions/{function_name}/runs',
|
|
881
|
-
...options,
|
|
882
|
-
headers: {
|
|
883
|
-
'Content-Type': 'application/json',
|
|
884
|
-
...options.headers
|
|
885
|
-
}
|
|
886
|
-
});
|
|
887
|
-
/**
|
|
888
|
-
* Get Run
|
|
889
|
-
*
|
|
890
|
-
* Get a specific function run
|
|
891
|
-
*/
|
|
892
|
-
export const functionRunGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/functions/{function_name}/runs/{run_id}', ...options });
|
|
893
|
-
/**
|
|
894
|
-
* List Pod Join Requests
|
|
895
|
-
*
|
|
896
|
-
* List join requests for a pod
|
|
897
|
-
*/
|
|
898
|
-
export const podJoinRequestList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/join-requests', ...options });
|
|
899
|
-
/**
|
|
900
|
-
* Create Pod Join Request
|
|
901
|
-
*
|
|
902
|
-
* Create a join request for the current user to access this pod
|
|
903
|
-
*/
|
|
904
|
-
export const podJoinRequestCreate = (options) => (options.client ?? client).post({ url: '/pods/{pod_id}/join-requests', ...options });
|
|
905
|
-
/**
|
|
906
|
-
* Get My Pod Join Request
|
|
907
|
-
*
|
|
908
|
-
* Get the current user's pending join request for this pod
|
|
909
|
-
*/
|
|
910
|
-
export const podJoinRequestMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/join-requests/me', ...options });
|
|
911
|
-
/**
|
|
912
|
-
* Approve Pod Join Request
|
|
913
|
-
*
|
|
914
|
-
* Approve a pending pod join request and add user to org/pod
|
|
915
|
-
*/
|
|
916
|
-
export const podJoinRequestApprove = (options) => (options.client ?? client).post({
|
|
917
|
-
url: '/pods/{pod_id}/join-requests/{join_request_id}/approve',
|
|
918
|
-
...options,
|
|
919
|
-
headers: {
|
|
920
|
-
'Content-Type': 'application/json',
|
|
921
|
-
...options.headers
|
|
922
|
-
}
|
|
923
|
-
});
|
|
924
|
-
/**
|
|
925
|
-
* List Pod Members
|
|
926
|
-
*
|
|
927
|
-
* List all members of a pod
|
|
928
|
-
*/
|
|
929
|
-
export const podMemberList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members', ...options });
|
|
930
|
-
/**
|
|
931
|
-
* Add Pod Member
|
|
932
|
-
*
|
|
933
|
-
* Add a member to a pod
|
|
934
|
-
*/
|
|
935
|
-
export const podMemberAdd = (options) => (options.client ?? client).post({
|
|
936
|
-
url: '/pods/{pod_id}/members',
|
|
937
|
-
...options,
|
|
938
|
-
headers: {
|
|
939
|
-
'Content-Type': 'application/json',
|
|
940
|
-
...options.headers
|
|
941
|
-
}
|
|
942
|
-
});
|
|
943
|
-
/**
|
|
944
|
-
* Lookup Pod Member By Email
|
|
945
|
-
*
|
|
946
|
-
* Resolve a pod member by email
|
|
947
|
-
*/
|
|
948
|
-
export const podMemberLookupByEmail = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/lookup/by-email', ...options });
|
|
949
|
-
/**
|
|
950
|
-
* Lookup Pod Member By User ID
|
|
951
|
-
*
|
|
952
|
-
* Resolve a pod member by user id
|
|
953
|
-
*/
|
|
954
|
-
export const podMemberLookupByUserId = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/lookup/by-user-id/{user_id}', ...options });
|
|
955
|
-
/**
|
|
956
|
-
* Remove Pod Member
|
|
957
|
-
*
|
|
958
|
-
* Remove a member from a pod
|
|
959
|
-
*/
|
|
960
|
-
export const podMemberRemove = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/members/{pod_member_id}', ...options });
|
|
961
|
-
/**
|
|
962
|
-
* Get Pod Member
|
|
963
|
-
*
|
|
964
|
-
* Get a pod member by pod member id
|
|
965
|
-
*/
|
|
966
|
-
export const podMemberGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/members/{pod_member_id}', ...options });
|
|
967
|
-
/**
|
|
968
|
-
* Update Member Roles
|
|
969
|
-
*
|
|
970
|
-
* Update a pod member's roles
|
|
971
|
-
*/
|
|
972
|
-
export const podMemberUpdateRoles = (options) => (options.client ?? client).patch({
|
|
973
|
-
url: '/pods/{pod_id}/members/{pod_member_id}/roles',
|
|
974
|
-
...options,
|
|
975
|
-
headers: {
|
|
976
|
-
'Content-Type': 'application/json',
|
|
977
|
-
...options.headers
|
|
978
|
-
}
|
|
979
|
-
});
|
|
980
|
-
/**
|
|
981
|
-
* Get Pod Permission Catalog
|
|
982
|
-
*/
|
|
983
|
-
export const podPermissionsCatalog = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/permissions/catalog', ...options });
|
|
984
|
-
/**
|
|
985
|
-
* Get My Pod Permissions
|
|
986
|
-
*/
|
|
987
|
-
export const podPermissionsMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/permissions/me', ...options });
|
|
988
|
-
/**
|
|
989
|
-
* Get Resource Access
|
|
990
|
-
*/
|
|
991
|
-
export const podResourceAccessGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access', ...options });
|
|
992
|
-
/**
|
|
993
|
-
* Delete Resource Access Grant
|
|
994
|
-
*/
|
|
995
|
-
export const podResourceAccessGrantDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}', ...options });
|
|
996
|
-
/**
|
|
997
|
-
* Replace Resource Access Grant
|
|
998
|
-
*/
|
|
999
|
-
export const podResourceAccessGrantReplace = (options) => (options.client ?? client).put({
|
|
1000
|
-
url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}',
|
|
1001
|
-
...options,
|
|
1002
|
-
headers: {
|
|
1003
|
-
'Content-Type': 'application/json',
|
|
1004
|
-
...options.headers
|
|
1005
|
-
}
|
|
1006
|
-
});
|
|
1007
|
-
/**
|
|
1008
|
-
* List Pod Roles
|
|
1009
|
-
*/
|
|
1010
|
-
export const podRolesList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/roles', ...options });
|
|
1011
|
-
/**
|
|
1012
|
-
* Create Pod Role
|
|
1013
|
-
*/
|
|
1014
|
-
export const podRolesCreate = (options) => (options.client ?? client).post({
|
|
1015
|
-
url: '/pods/{pod_id}/roles',
|
|
1016
|
-
...options,
|
|
1017
|
-
headers: {
|
|
1018
|
-
'Content-Type': 'application/json',
|
|
1019
|
-
...options.headers
|
|
1020
|
-
}
|
|
1021
|
-
});
|
|
1022
|
-
/**
|
|
1023
|
-
* Delete Pod Role
|
|
1024
|
-
*/
|
|
1025
|
-
export const podRolesDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/roles/{role_name}', ...options });
|
|
1026
|
-
/**
|
|
1027
|
-
* Update Pod Role
|
|
1028
|
-
*/
|
|
1029
|
-
export const podRolesUpdate = (options) => (options.client ?? client).patch({
|
|
1030
|
-
url: '/pods/{pod_id}/roles/{role_name}',
|
|
1031
|
-
...options,
|
|
1032
|
-
headers: {
|
|
1033
|
-
'Content-Type': 'application/json',
|
|
1034
|
-
...options.headers
|
|
1035
|
-
}
|
|
1036
|
-
});
|
|
1037
|
-
/**
|
|
1038
|
-
* Get Pod Role Permissions
|
|
1039
|
-
*/
|
|
1040
|
-
export const podRolePermissionsGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/roles/{role_name}/permissions', ...options });
|
|
1041
|
-
/**
|
|
1042
|
-
* Replace Pod Role Permissions
|
|
1043
|
-
*/
|
|
1044
|
-
export const podRolePermissionsReplace = (options) => (options.client ?? client).put({
|
|
1045
|
-
url: '/pods/{pod_id}/roles/{role_name}/permissions',
|
|
1046
|
-
...options,
|
|
1047
|
-
headers: {
|
|
1048
|
-
'Content-Type': 'application/json',
|
|
1049
|
-
...options.headers
|
|
1050
|
-
}
|
|
1051
|
-
});
|
|
1052
|
-
/**
|
|
1053
|
-
* List Schedules
|
|
1054
|
-
*
|
|
1055
|
-
* List pod schedules.
|
|
1056
|
-
*/
|
|
1057
|
-
export const scheduleList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/schedules', ...options });
|
|
1058
|
-
/**
|
|
1059
|
-
* Create Schedule
|
|
1060
|
-
*
|
|
1061
|
-
* Create a new pod schedule.
|
|
1062
|
-
*/
|
|
1063
|
-
export const scheduleCreate = (options) => (options.client ?? client).post({
|
|
1064
|
-
url: '/pods/{pod_id}/schedules',
|
|
1065
|
-
...options,
|
|
1066
|
-
headers: {
|
|
1067
|
-
'Content-Type': 'application/json',
|
|
1068
|
-
...options.headers
|
|
1069
|
-
}
|
|
1070
|
-
});
|
|
1071
|
-
/**
|
|
1072
|
-
* Delete Schedule
|
|
1073
|
-
*
|
|
1074
|
-
* Delete a schedule.
|
|
1075
|
-
*/
|
|
1076
|
-
export const scheduleDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/schedules/{schedule_id}', ...options });
|
|
1077
|
-
/**
|
|
1078
|
-
* Get Schedule
|
|
1079
|
-
*
|
|
1080
|
-
* Get a schedule by ID.
|
|
1081
|
-
*/
|
|
1082
|
-
export const scheduleGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/schedules/{schedule_id}', ...options });
|
|
1083
|
-
/**
|
|
1084
|
-
* Update Schedule
|
|
1085
|
-
*
|
|
1086
|
-
* Update a schedule.
|
|
1087
|
-
*/
|
|
1088
|
-
export const scheduleUpdate = (options) => (options.client ?? client).patch({
|
|
1089
|
-
url: '/pods/{pod_id}/schedules/{schedule_id}',
|
|
1090
|
-
...options,
|
|
1091
|
-
headers: {
|
|
1092
|
-
'Content-Type': 'application/json',
|
|
1093
|
-
...options.headers
|
|
1094
|
-
}
|
|
1095
|
-
});
|
|
1096
|
-
/**
|
|
1097
|
-
* List Surfaces
|
|
1098
|
-
*/
|
|
1099
|
-
export const agentSurfaceList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces', ...options });
|
|
1100
|
-
/**
|
|
1101
|
-
* Create Surface
|
|
1102
|
-
*/
|
|
1103
|
-
export const agentSurfaceCreate = (options) => (options.client ?? client).post({
|
|
1104
|
-
url: '/pods/{pod_id}/surfaces',
|
|
1105
|
-
...options,
|
|
1106
|
-
headers: {
|
|
1107
|
-
'Content-Type': 'application/json',
|
|
1108
|
-
...options.headers
|
|
1109
|
-
}
|
|
1110
|
-
});
|
|
1111
|
-
/**
|
|
1112
|
-
* Get Surface Platform Checklist
|
|
1113
|
-
*/
|
|
1114
|
-
export const agentSurfacePlatformChecklist = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/platforms/{platform}/checklist', ...options });
|
|
1115
|
-
/**
|
|
1116
|
-
* Upsert Surface By Platform
|
|
1117
|
-
*/
|
|
1118
|
-
export const agentSurfaceUpsertByPlatform = (options) => (options.client ?? client).put({
|
|
1119
|
-
url: '/pods/{pod_id}/surfaces/{platform}',
|
|
1120
|
-
...options,
|
|
1121
|
-
headers: {
|
|
1122
|
-
'Content-Type': 'application/json',
|
|
1123
|
-
...options.headers
|
|
1124
|
-
}
|
|
1125
|
-
});
|
|
1126
|
-
/**
|
|
1127
|
-
* Delete Surface
|
|
1128
|
-
*/
|
|
1129
|
-
export const agentSurfaceDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/surfaces/{surface_ref}', ...options });
|
|
1130
|
-
/**
|
|
1131
|
-
* Get Surface
|
|
1132
|
-
*/
|
|
1133
|
-
export const agentSurfaceGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}', ...options });
|
|
1134
|
-
/**
|
|
1135
|
-
* Update Surface
|
|
1136
|
-
*/
|
|
1137
|
-
export const agentSurfaceUpdate = (options) => (options.client ?? client).patch({
|
|
1138
|
-
url: '/pods/{pod_id}/surfaces/{surface_ref}',
|
|
1139
|
-
...options,
|
|
1140
|
-
headers: {
|
|
1141
|
-
'Content-Type': 'application/json',
|
|
1142
|
-
...options.headers
|
|
1143
|
-
}
|
|
1144
|
-
});
|
|
1145
|
-
/**
|
|
1146
|
-
* Get Admin Consent Info
|
|
1147
|
-
*/
|
|
1148
|
-
export const agentSurfaceAdminConsentInfo = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}/admin-consent', ...options });
|
|
1149
|
-
/**
|
|
1150
|
-
* Update Surface Channels
|
|
1151
|
-
*/
|
|
1152
|
-
export const agentSurfaceUpdateChannels = (options) => (options.client ?? client).put({
|
|
1153
|
-
url: '/pods/{pod_id}/surfaces/{surface_ref}/channels',
|
|
1154
|
-
...options,
|
|
1155
|
-
headers: {
|
|
1156
|
-
'Content-Type': 'application/json',
|
|
1157
|
-
...options.headers
|
|
1158
|
-
}
|
|
1159
|
-
});
|
|
1160
|
-
/**
|
|
1161
|
-
* Get Surface Setup Status
|
|
1162
|
-
*/
|
|
1163
|
-
export const agentSurfaceSetupStatus = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/surfaces/{surface_ref}/setup', ...options });
|
|
1164
|
-
/**
|
|
1165
|
-
* Toggle Surface
|
|
1166
|
-
*/
|
|
1167
|
-
export const agentSurfaceToggle = (options) => (options.client ?? client).patch({
|
|
1168
|
-
url: '/pods/{pod_id}/surfaces/{surface_ref}/toggle',
|
|
1169
|
-
...options,
|
|
1170
|
-
headers: {
|
|
1171
|
-
'Content-Type': 'application/json',
|
|
1172
|
-
...options.headers
|
|
1173
|
-
}
|
|
1174
|
-
});
|
|
1175
|
-
/**
|
|
1176
|
-
* List Workflow Runs Waiting For Current User
|
|
1177
|
-
*
|
|
1178
|
-
* List active human form waits assigned to the current pod member.
|
|
1179
|
-
*/
|
|
1180
|
-
export const workflowRunWaitingAssignedToMe = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/waiting/assigned-to-me', ...options });
|
|
1181
|
-
/**
|
|
1182
|
-
* Get Workflow Run
|
|
1183
|
-
*
|
|
1184
|
-
* Get current state, context, and step history of a workflow run.
|
|
1185
|
-
*/
|
|
1186
|
-
export const workflowRunGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{run_id}', ...options });
|
|
1187
|
-
/**
|
|
1188
|
-
* Resume Workflow Run
|
|
1189
|
-
*
|
|
1190
|
-
* Resume a run in WAITING or EXECUTING state. The payload is written back into the current waiting node output and execution continues.
|
|
1191
|
-
*/
|
|
1192
|
-
export const workflowRunResume = (options) => (options.client ?? client).post({
|
|
1193
|
-
url: '/pods/{pod_id}/workflow-runs/{run_id}/resume',
|
|
1194
|
-
...options,
|
|
1195
|
-
headers: {
|
|
1196
|
-
'Content-Type': 'application/json',
|
|
1197
|
-
...options.headers
|
|
1198
|
-
}
|
|
1199
|
-
});
|
|
1200
|
-
/**
|
|
1201
|
-
* Visualize Workflow Run
|
|
1202
|
-
*
|
|
1203
|
-
* Render an HTML view of a run overlaid on its workflow graph.
|
|
1204
|
-
*/
|
|
1205
|
-
export const workflowRunVisualize = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{run_id}/visualize', ...options });
|
|
1206
|
-
/**
|
|
1207
|
-
* List Workflow Runs
|
|
1208
|
-
*
|
|
1209
|
-
* List recent runs for a given workflow.
|
|
1210
|
-
*/
|
|
1211
|
-
export const workflowRunList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflow-runs/{workflow_name}/runs', ...options });
|
|
1212
|
-
/**
|
|
1213
|
-
* List Workflows
|
|
1214
|
-
*
|
|
1215
|
-
* List all workflows in a pod.
|
|
1216
|
-
*/
|
|
1217
|
-
export const workflowList = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows', ...options });
|
|
1218
|
-
/**
|
|
1219
|
-
* Create Workflow
|
|
1220
|
-
*
|
|
1221
|
-
* Create a workflow definition. Use this before uploading graph nodes/edges with `workflow.graph.update`.
|
|
1222
|
-
*/
|
|
1223
|
-
export const workflowCreate = (options) => (options.client ?? client).post({
|
|
1224
|
-
url: '/pods/{pod_id}/workflows',
|
|
1225
|
-
...options,
|
|
1226
|
-
headers: {
|
|
1227
|
-
'Content-Type': 'application/json',
|
|
1228
|
-
...options.headers
|
|
1229
|
-
}
|
|
1230
|
-
});
|
|
1231
|
-
/**
|
|
1232
|
-
* Delete Workflow
|
|
1233
|
-
*
|
|
1234
|
-
* Delete a workflow definition.
|
|
1235
|
-
*/
|
|
1236
|
-
export const workflowDelete = (options) => (options.client ?? client).delete({ url: '/pods/{pod_id}/workflows/{workflow_name}', ...options });
|
|
1237
|
-
/**
|
|
1238
|
-
* Get Workflow
|
|
1239
|
-
*
|
|
1240
|
-
* Get a single workflow definition including graph and start configuration.
|
|
1241
|
-
*/
|
|
1242
|
-
export const workflowGet = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows/{workflow_name}', ...options });
|
|
1243
|
-
/**
|
|
1244
|
-
* Update Workflow Metadata
|
|
1245
|
-
*
|
|
1246
|
-
* Update workflow-level metadata such as description and schedule mode. Workflow names are immutable after creation. Use `workflow.graph.update` for nodes and edges.
|
|
1247
|
-
*/
|
|
1248
|
-
export const workflowUpdate = (options) => (options.client ?? client).patch({
|
|
1249
|
-
url: '/pods/{pod_id}/workflows/{workflow_name}',
|
|
1250
|
-
...options,
|
|
1251
|
-
headers: {
|
|
1252
|
-
'Content-Type': 'application/json',
|
|
1253
|
-
...options.headers
|
|
1254
|
-
}
|
|
1255
|
-
});
|
|
1256
|
-
/**
|
|
1257
|
-
* Update Workflow Graph
|
|
1258
|
-
*
|
|
1259
|
-
* Replace the workflow graph. Agent/function node `input_mapping` entries must use explicit typed bindings. Use `{type: "expression", value: "start.payload.issue.key"}` for context lookups and `{type: "literal", value: "abc"}` for fixed JSON values.
|
|
1260
|
-
*/
|
|
1261
|
-
export const workflowGraphUpdate = (options) => (options.client ?? client).put({
|
|
1262
|
-
url: '/pods/{pod_id}/workflows/{workflow_name}/graph',
|
|
1263
|
-
...options,
|
|
1264
|
-
headers: {
|
|
1265
|
-
'Content-Type': 'application/json',
|
|
1266
|
-
...options.headers
|
|
1267
|
-
}
|
|
1268
|
-
});
|
|
1269
|
-
/**
|
|
1270
|
-
* Start Workflow
|
|
1271
|
-
*
|
|
1272
|
-
* Start a new workflow run. For event/scheduled/datastore starts, the request body is treated as initial trigger payload and merged into execution context.
|
|
1273
|
-
*/
|
|
1274
|
-
export const workflowStart = (options) => (options.client ?? client).post({
|
|
1275
|
-
url: '/pods/{pod_id}/workflows/{workflow_name}/start',
|
|
1276
|
-
...options,
|
|
1277
|
-
headers: {
|
|
1278
|
-
'Content-Type': 'application/json',
|
|
1279
|
-
...options.headers
|
|
1280
|
-
}
|
|
1281
|
-
});
|
|
1282
|
-
/**
|
|
1283
|
-
* Visualize Workflow
|
|
1284
|
-
*
|
|
1285
|
-
* Render an HTML visualization for debugging workflow graph structure.
|
|
1286
|
-
*/
|
|
1287
|
-
export const workflowVisualize = (options) => (options.client ?? client).get({ url: '/pods/{pod_id}/workflows/{workflow_name}/visualize', ...options });
|
|
1288
|
-
/**
|
|
1289
|
-
* Get Public Icon
|
|
1290
|
-
*
|
|
1291
|
-
* Fetch a previously uploaded public icon asset.
|
|
1292
|
-
*/
|
|
1293
|
-
export const iconPublicGet = (options) => (options.client ?? client).get({ url: '/public/icons/{icon_path}', ...options });
|
|
1294
|
-
/**
|
|
1295
|
-
* Teams Admin Consent Callback
|
|
1296
|
-
*/
|
|
1297
|
-
export const agentSurfaceTeamsAdminConsentCallback = (options) => (options?.client ?? client).get({ url: '/surfaces/teams/admin-consent/callback', ...options });
|
|
1298
|
-
/**
|
|
1299
|
-
* Verify surface webhook using the platform callback URL
|
|
1300
|
-
*
|
|
1301
|
-
* Webhook verification endpoint for platforms that require it.
|
|
1302
|
-
*/
|
|
1303
|
-
export const surfaceWebhookVerify = (options) => (options.client ?? client).get({ url: '/surfaces/webhooks/{platform}', ...options });
|
|
1304
|
-
/**
|
|
1305
|
-
* Handle platform-level surface webhook
|
|
1306
|
-
*
|
|
1307
|
-
* Handle platform-level webhook callbacks.
|
|
1308
|
-
*/
|
|
1309
|
-
export const surfaceWebhookHandlePlatform = (options) => (options.client ?? client).post({ url: '/surfaces/webhooks/{platform}', ...options });
|
|
1310
|
-
/**
|
|
1311
|
-
* Verify surface webhook using a surface-level callback URL
|
|
1312
|
-
*
|
|
1313
|
-
* Webhook verification endpoint for platforms that require it.
|
|
1314
|
-
*/
|
|
1315
|
-
export const surfaceWebhookVerifySurface = (options) => (options.client ?? client).get({ url: '/surfaces/{surface_id}/webhook', ...options });
|
|
1316
|
-
/**
|
|
1317
|
-
* Handle surface-level webhook
|
|
1318
|
-
*
|
|
1319
|
-
* Handle webhooks addressed to one concrete surface.
|
|
1320
|
-
*/
|
|
1321
|
-
export const surfaceWebhookHandleSurface = (options) => (options.client ?? client).post({ url: '/surfaces/{surface_id}/webhook', ...options });
|
|
1322
|
-
/**
|
|
1323
|
-
* Agent Integration Helper Agent
|
|
1324
|
-
*
|
|
1325
|
-
* Plan how to use one or more integration applications for a goal and return recommended operations.
|
|
1326
|
-
*/
|
|
1327
|
-
export const agentToolIntegrationHelperAgent = (options) => (options.client ?? client).post({
|
|
1328
|
-
url: '/tools/integration-helper-agent',
|
|
1329
|
-
...options,
|
|
1330
|
-
headers: {
|
|
1331
|
-
'Content-Type': 'application/json',
|
|
1332
|
-
...options.headers
|
|
1333
|
-
}
|
|
1334
|
-
});
|
|
1335
|
-
/**
|
|
1336
|
-
* Agent Report Feedback
|
|
1337
|
-
*
|
|
1338
|
-
* Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
|
|
1339
|
-
*/
|
|
1340
|
-
export const agentToolReportFeedback = (options) => (options.client ?? client).post({
|
|
1341
|
-
url: '/tools/report-feedback',
|
|
1342
|
-
...options,
|
|
1343
|
-
headers: {
|
|
1344
|
-
'Content-Type': 'application/json',
|
|
1345
|
-
...options.headers
|
|
1346
|
-
}
|
|
1347
|
-
});
|
|
1348
|
-
/**
|
|
1349
|
-
* Agent Web Search
|
|
1350
|
-
*
|
|
1351
|
-
* Run a raw web search and return structured results.
|
|
1352
|
-
*/
|
|
1353
|
-
export const agentToolWebSearch = (options) => (options.client ?? client).post({
|
|
1354
|
-
url: '/tools/web-search',
|
|
1355
|
-
...options,
|
|
1356
|
-
headers: {
|
|
1357
|
-
'Content-Type': 'application/json',
|
|
1358
|
-
...options.headers
|
|
1359
|
-
}
|
|
1360
|
-
});
|
|
1361
|
-
/**
|
|
1362
|
-
* List Usage Events
|
|
1363
|
-
*/
|
|
1364
|
-
export const usageOrganizationEventsList = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/events', ...options });
|
|
1365
|
-
/**
|
|
1366
|
-
* Get Usage Limits
|
|
1367
|
-
*/
|
|
1368
|
-
export const usageOrganizationLimitsGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/limits', ...options });
|
|
1369
|
-
/**
|
|
1370
|
-
* Get My Usage
|
|
1371
|
-
*/
|
|
1372
|
-
export const usageOrganizationMeSummaryGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/me', ...options });
|
|
1373
|
-
/**
|
|
1374
|
-
* Get Usage Stats
|
|
1375
|
-
*/
|
|
1376
|
-
export const usageOrganizationStatsGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/stats', ...options });
|
|
1377
|
-
/**
|
|
1378
|
-
* Get Organization Usage Summary
|
|
1379
|
-
*/
|
|
1380
|
-
export const usageOrganizationSummaryGet = (options) => (options.client ?? client).get({ url: '/usage/organizations/{organization_id}/summary', ...options });
|
|
1381
|
-
/**
|
|
1382
|
-
* Get Current User
|
|
1383
|
-
*
|
|
1384
|
-
* Get the current authenticated user's information
|
|
1385
|
-
*/
|
|
1386
|
-
export const userCurrentGet = (options) => (options?.client ?? client).get({ url: '/users/me', ...options });
|
|
1387
|
-
/**
|
|
1388
|
-
* Get User Profile
|
|
1389
|
-
*
|
|
1390
|
-
* Get the current user's profile
|
|
1391
|
-
*/
|
|
1392
|
-
export const userProfileGet = (options) => (options?.client ?? client).get({ url: '/users/me/profile', ...options });
|
|
1393
|
-
/**
|
|
1394
|
-
* Create or Update Profile
|
|
1395
|
-
*
|
|
1396
|
-
* Create or update the current user's profile
|
|
1397
|
-
*/
|
|
1398
|
-
export const userProfileUpsert = (options) => (options.client ?? client).post({
|
|
1399
|
-
url: '/users/me/profile',
|
|
1400
|
-
...options,
|
|
1401
|
-
headers: {
|
|
1402
|
-
'Content-Type': 'application/json',
|
|
1403
|
-
...options.headers
|
|
1404
|
-
}
|
|
1405
|
-
});
|
|
1406
|
-
/**
|
|
1407
|
-
* Handle Specific Schedule Webhook
|
|
1408
|
-
*
|
|
1409
|
-
* Receive webhook for a specific schedule ID
|
|
1410
|
-
*/
|
|
1411
|
-
export const webhookScheduleHandle = (options) => (options.client ?? client).post({ url: '/webhooks/schedules/{schedule_id}', ...options });
|
|
1412
|
-
/**
|
|
1413
|
-
* Handle Webhook
|
|
1414
|
-
*
|
|
1415
|
-
* Receive webhooks from various sources (slack, composio, jira, email, etc.)
|
|
1416
|
-
*/
|
|
1417
|
-
export const webhookHandle = (options) => (options.client ?? client).post({ url: '/webhooks/{source}', ...options });
|
|
1418
|
-
/**
|
|
1419
|
-
* Verify Webhook
|
|
1420
|
-
*
|
|
1421
|
-
* Webhook verification endpoint for platforms that require it
|
|
1422
|
-
*/
|
|
1423
|
-
export const webhookVerify = (options) => (options.client ?? client).get({ url: '/webhooks/{source}/verify', ...options });
|
|
1424
|
-
/**
|
|
1425
|
-
* Create workspace browser access URL
|
|
1426
|
-
*/
|
|
1427
|
-
export const workspaceBrowserAccess = (options) => (options.client ?? client).post({
|
|
1428
|
-
url: '/workspace/apps/browser/access',
|
|
1429
|
-
...options,
|
|
1430
|
-
headers: {
|
|
1431
|
-
'Content-Type': 'application/json',
|
|
1432
|
-
...options.headers
|
|
1433
|
-
}
|
|
1434
|
-
});
|
|
1435
|
-
/**
|
|
1436
|
-
* Get current workspace state
|
|
1437
|
-
*/
|
|
1438
|
-
export const workspaceMe = (options) => (options?.client ?? client).get({ url: '/workspace/me', ...options });
|