@deepraxis/sdk 0.1.0-dev.a5cf3ce → 0.1.0-dev.b7ae389
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/METHODS.md +152 -1
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +343 -19
- package/dist/generated/sdk.gen.js +1053 -18
- package/dist/generated/types.gen.d.ts +26651 -21213
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +1541 -28
- package/dist/operations.generated.js +1957 -61
- package/dist/resources.generated.d.ts +651 -0
- package/dist/resources.generated.js +97 -0
- package/package.json +1 -1
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { formDataBodySerializer } from './client/index.js';
|
|
3
3
|
import { client } from './client.gen.js';
|
|
4
|
+
/**
|
|
5
|
+
* Apply Agent Version
|
|
6
|
+
*
|
|
7
|
+
* Apply a version from agents.versions.list by its version number. This idempotent operation changes active_version without creating a version; existing sessions and tokens keep their version. The response is the latest saved agent with its current active_version. Missing versions return 404 Agent version not found; archived agents return 409 Agent is archived. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.
|
|
8
|
+
*/
|
|
9
|
+
export const applyAgentVersion = (options) => (options.client ?? client).post({
|
|
10
|
+
security: [{
|
|
11
|
+
key: 'BearerAuth',
|
|
12
|
+
scheme: 'bearer',
|
|
13
|
+
type: 'http'
|
|
14
|
+
}, {
|
|
15
|
+
key: 'ApiKeyAuth',
|
|
16
|
+
name: 'X-API-Key',
|
|
17
|
+
type: 'apiKey'
|
|
18
|
+
}],
|
|
19
|
+
url: '/agent/v1/agents/{agent_id}/versions/{version}/apply',
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
4
22
|
/**
|
|
5
23
|
* Unarchive Agent
|
|
6
24
|
*
|
|
@@ -497,7 +515,7 @@ export const computersFilesContent = (options) => (options.client ?? client).get
|
|
|
497
515
|
*
|
|
498
516
|
* Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
|
|
499
517
|
*
|
|
500
|
-
* Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy.
|
|
518
|
+
* Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.
|
|
501
519
|
*/
|
|
502
520
|
export const connectComputer = (options) => (options.client ?? client).post({
|
|
503
521
|
security: [{
|
|
@@ -1083,7 +1101,7 @@ export const fileListFiles = (options) => (options?.client ?? client).get({
|
|
|
1083
1101
|
/**
|
|
1084
1102
|
* Upload file
|
|
1085
1103
|
*
|
|
1086
|
-
* Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most
|
|
1104
|
+
* Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data, assistants and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File(["Return within 23 days."], "policy.txt", { type: "text/plain" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–2592000), or praxis[expires_in_seconds] (3600–7776000), never both. Without expiry, the file persists until deleted.
|
|
1087
1105
|
*/
|
|
1088
1106
|
export const fileCreateFile = (options) => (options.client ?? client).post({
|
|
1089
1107
|
...formDataBodySerializer,
|
|
@@ -1124,7 +1142,7 @@ export const fileDeleteFile = (options) => (options.client ?? client).delete({
|
|
|
1124
1142
|
/**
|
|
1125
1143
|
* Retrieve file
|
|
1126
1144
|
*
|
|
1127
|
-
* Retrieve metadata for a live file owned by your tenant. Use its
|
|
1145
|
+
* Retrieve metadata for a live file owned by your tenant. Use its file- ID from upload or list. Missing, deleted, expired and other-tenant files return 404; use the content endpoint to download the bytes.
|
|
1128
1146
|
*/
|
|
1129
1147
|
export const fileRetrieveFile = (options) => (options.client ?? client).get({
|
|
1130
1148
|
security: [{
|
|
@@ -1142,7 +1160,7 @@ export const fileRetrieveFile = (options) => (options.client ?? client).get({
|
|
|
1142
1160
|
/**
|
|
1143
1161
|
* Retrieve file content
|
|
1144
1162
|
*
|
|
1145
|
-
* Download the original bytes of a live file owned by your tenant. Supply its
|
|
1163
|
+
* Download the original bytes of a live file owned by your tenant. Supply its file- ID from upload or list. A single byte Range can return a partial response; a range outside the file returns 416. Missing, deleted, expired and other-tenant files return 404.
|
|
1146
1164
|
*/
|
|
1147
1165
|
export const fileRetrieveFileContent = (options) => (options.client ?? client).get({
|
|
1148
1166
|
security: [{
|
|
@@ -1157,6 +1175,75 @@ export const fileRetrieveFileContent = (options) => (options.client ?? client).g
|
|
|
1157
1175
|
url: '/file/v1/files/{file_id}/content',
|
|
1158
1176
|
...options
|
|
1159
1177
|
});
|
|
1178
|
+
/**
|
|
1179
|
+
* Create an upload
|
|
1180
|
+
*
|
|
1181
|
+
* Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 2 GiB (2147483648 bytes) and only user_data, assistants and vision purposes. Add parts of at most 64000000 bytes and complete within one hour. Optional part_size enables fixed-size, retryable parts. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.
|
|
1182
|
+
*/
|
|
1183
|
+
export const fileCreateUpload = (options) => (options.client ?? client).post({
|
|
1184
|
+
security: [{
|
|
1185
|
+
key: 'BearerAuth',
|
|
1186
|
+
scheme: 'bearer',
|
|
1187
|
+
type: 'http'
|
|
1188
|
+
}],
|
|
1189
|
+
url: '/file/v1/uploads',
|
|
1190
|
+
...options,
|
|
1191
|
+
headers: {
|
|
1192
|
+
'Content-Type': 'application/json',
|
|
1193
|
+
...options.headers
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
/**
|
|
1197
|
+
* Add an upload part
|
|
1198
|
+
*
|
|
1199
|
+
* Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.
|
|
1200
|
+
*/
|
|
1201
|
+
export const fileAddUploadPart = (options) => (options.client ?? client).post({
|
|
1202
|
+
...formDataBodySerializer,
|
|
1203
|
+
security: [{
|
|
1204
|
+
key: 'BearerAuth',
|
|
1205
|
+
scheme: 'bearer',
|
|
1206
|
+
type: 'http'
|
|
1207
|
+
}],
|
|
1208
|
+
url: '/file/v1/uploads/{upload_id}/parts',
|
|
1209
|
+
...options,
|
|
1210
|
+
headers: {
|
|
1211
|
+
'Content-Type': null,
|
|
1212
|
+
...options.headers
|
|
1213
|
+
}
|
|
1214
|
+
});
|
|
1215
|
+
/**
|
|
1216
|
+
* Complete an upload
|
|
1217
|
+
*
|
|
1218
|
+
* Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.
|
|
1219
|
+
*/
|
|
1220
|
+
export const fileCompleteUpload = (options) => (options.client ?? client).post({
|
|
1221
|
+
security: [{
|
|
1222
|
+
key: 'BearerAuth',
|
|
1223
|
+
scheme: 'bearer',
|
|
1224
|
+
type: 'http'
|
|
1225
|
+
}],
|
|
1226
|
+
url: '/file/v1/uploads/{upload_id}/complete',
|
|
1227
|
+
...options,
|
|
1228
|
+
headers: {
|
|
1229
|
+
'Content-Type': 'application/json',
|
|
1230
|
+
...options.headers
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
/**
|
|
1234
|
+
* Cancel an upload
|
|
1235
|
+
*
|
|
1236
|
+
* Cancel an unfinished upload using upload_id from create and release its reserved storage. Further parts and completion are rejected. Cancelling an already cancelled upload returns the same terminal result; a completed upload cannot be cancelled. Delete its resulting file instead.
|
|
1237
|
+
*/
|
|
1238
|
+
export const fileCancelUpload = (options) => (options.client ?? client).post({
|
|
1239
|
+
security: [{
|
|
1240
|
+
key: 'BearerAuth',
|
|
1241
|
+
scheme: 'bearer',
|
|
1242
|
+
type: 'http'
|
|
1243
|
+
}],
|
|
1244
|
+
url: '/file/v1/uploads/{upload_id}/cancel',
|
|
1245
|
+
...options
|
|
1246
|
+
});
|
|
1160
1247
|
/**
|
|
1161
1248
|
* Health Check
|
|
1162
1249
|
*
|
|
@@ -2432,7 +2519,7 @@ export const agentsRetrieve = (options) => (options.client ?? client).get({
|
|
|
2432
2519
|
/**
|
|
2433
2520
|
* Update agent
|
|
2434
2521
|
*
|
|
2435
|
-
* Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version
|
|
2522
|
+
* Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version. apply defaults to true and moves active_version to the new version, or to the latest when configuration is unchanged; apply false saves without applying. version_note optionally records up to 280 characters on a newly created version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.
|
|
2436
2523
|
*/
|
|
2437
2524
|
export const agentsUpdate = (options) => (options.client ?? client).post({
|
|
2438
2525
|
security: [{
|
|
@@ -2508,7 +2595,7 @@ export const sessionsList = (options) => (options?.client ?? client).get({
|
|
|
2508
2595
|
/**
|
|
2509
2596
|
* Create session
|
|
2510
2597
|
*
|
|
2511
|
-
* Create a session: one conversation with an agent
|
|
2598
|
+
* Create a session: one conversation with an agent. Pass agent as an agent id (active_version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.
|
|
2512
2599
|
*/
|
|
2513
2600
|
export const sessionsCreate = (options) => (options.client ?? client).post({
|
|
2514
2601
|
security: [{
|
|
@@ -3055,6 +3142,178 @@ export const deploymentsRun = (options) => (options.client ?? client).post({
|
|
|
3055
3142
|
url: '/agent/v1/deployments/{deployment_id}/run',
|
|
3056
3143
|
...options
|
|
3057
3144
|
});
|
|
3145
|
+
/**
|
|
3146
|
+
* List skills
|
|
3147
|
+
*
|
|
3148
|
+
* List the skills uploaded to your organization, newest first, in pages of at most 100 (default 20). Use it to find a skill id before reading, versioning or deleting it. Only source=custom has content; source=anthropic returns an empty list. Pass next_page from the response as page to read the next page; a null next_page means the end.
|
|
3149
|
+
*/
|
|
3150
|
+
export const skillsList = (options) => (options?.client ?? client).get({
|
|
3151
|
+
security: [{
|
|
3152
|
+
key: 'BearerAuth',
|
|
3153
|
+
scheme: 'bearer',
|
|
3154
|
+
type: 'http'
|
|
3155
|
+
}, {
|
|
3156
|
+
key: 'ApiKeyAuth',
|
|
3157
|
+
name: 'X-API-Key',
|
|
3158
|
+
type: 'apiKey'
|
|
3159
|
+
}],
|
|
3160
|
+
url: '/agent/v1/skills',
|
|
3161
|
+
...options
|
|
3162
|
+
});
|
|
3163
|
+
/**
|
|
3164
|
+
* Create skill
|
|
3165
|
+
*
|
|
3166
|
+
* Upload a skill: a directory that contains SKILL.md, which the agent reads when it needs the skill. Send multipart/form-data with one files part per file, each file name being its path under one top-level directory (pdf/SKILL.md, pdf/scripts/run.py), and an optional display_name. SKILL.md frontmatter needs a description; name defaults to the directory name. Limits: 8 MB in total, at most 200 files, no .. segments, absolute paths or empty names; a violation returns 400 naming the path or field. The upload creates the skill and its first version, and versions are immutable. Attach the skill to an agent with `skills` on the agent.
|
|
3167
|
+
*/
|
|
3168
|
+
export const skillsCreate = (options) => (options.client ?? client).post({
|
|
3169
|
+
...formDataBodySerializer,
|
|
3170
|
+
security: [{
|
|
3171
|
+
key: 'BearerAuth',
|
|
3172
|
+
scheme: 'bearer',
|
|
3173
|
+
type: 'http'
|
|
3174
|
+
}, {
|
|
3175
|
+
key: 'ApiKeyAuth',
|
|
3176
|
+
name: 'X-API-Key',
|
|
3177
|
+
type: 'apiKey'
|
|
3178
|
+
}],
|
|
3179
|
+
url: '/agent/v1/skills',
|
|
3180
|
+
...options,
|
|
3181
|
+
headers: {
|
|
3182
|
+
'Content-Type': null,
|
|
3183
|
+
...options.headers
|
|
3184
|
+
}
|
|
3185
|
+
});
|
|
3186
|
+
/**
|
|
3187
|
+
* Delete skill
|
|
3188
|
+
*
|
|
3189
|
+
* Delete a skill that has no live versions. A skill that still has versions returns 409 Delete all versions first; remove each with skills.versions.delete, then call this. Returns {id, type: skill_deleted}. skill_id comes from skills.create or skills.list.
|
|
3190
|
+
*/
|
|
3191
|
+
export const skillsDelete = (options) => (options.client ?? client).delete({
|
|
3192
|
+
security: [{
|
|
3193
|
+
key: 'BearerAuth',
|
|
3194
|
+
scheme: 'bearer',
|
|
3195
|
+
type: 'http'
|
|
3196
|
+
}, {
|
|
3197
|
+
key: 'ApiKeyAuth',
|
|
3198
|
+
name: 'X-API-Key',
|
|
3199
|
+
type: 'apiKey'
|
|
3200
|
+
}],
|
|
3201
|
+
url: '/agent/v1/skills/{skill_id}',
|
|
3202
|
+
...options
|
|
3203
|
+
});
|
|
3204
|
+
/**
|
|
3205
|
+
* Get skill
|
|
3206
|
+
*
|
|
3207
|
+
* Read one skill by id: its display_name, source and latest_version_id. skill_id comes from skills.create or skills.list. A skill of another organization, or a deleted one, returns 404 Skill not found.
|
|
3208
|
+
*/
|
|
3209
|
+
export const skillsRetrieve = (options) => (options.client ?? client).get({
|
|
3210
|
+
security: [{
|
|
3211
|
+
key: 'BearerAuth',
|
|
3212
|
+
scheme: 'bearer',
|
|
3213
|
+
type: 'http'
|
|
3214
|
+
}, {
|
|
3215
|
+
key: 'ApiKeyAuth',
|
|
3216
|
+
name: 'X-API-Key',
|
|
3217
|
+
type: 'apiKey'
|
|
3218
|
+
}],
|
|
3219
|
+
url: '/agent/v1/skills/{skill_id}',
|
|
3220
|
+
...options
|
|
3221
|
+
});
|
|
3222
|
+
/**
|
|
3223
|
+
* List skill versions
|
|
3224
|
+
*
|
|
3225
|
+
* List the live versions of one skill, newest first, in pages of at most 100 (default 20). Each item carries the name and description read from the SKILL.md of that version. Pass next_page from the response as page to read the next page; a null next_page means the end.
|
|
3226
|
+
*/
|
|
3227
|
+
export const skillsVersionsList = (options) => (options.client ?? client).get({
|
|
3228
|
+
security: [{
|
|
3229
|
+
key: 'BearerAuth',
|
|
3230
|
+
scheme: 'bearer',
|
|
3231
|
+
type: 'http'
|
|
3232
|
+
}, {
|
|
3233
|
+
key: 'ApiKeyAuth',
|
|
3234
|
+
name: 'X-API-Key',
|
|
3235
|
+
type: 'apiKey'
|
|
3236
|
+
}],
|
|
3237
|
+
url: '/agent/v1/skills/{skill_id}/versions',
|
|
3238
|
+
...options
|
|
3239
|
+
});
|
|
3240
|
+
/**
|
|
3241
|
+
* Create skill version
|
|
3242
|
+
*
|
|
3243
|
+
* Upload a new version of a skill with the same multipart/form-data shape and limits as skills.create (8 MB, 200 files, one top-level directory containing SKILL.md). The SKILL.md name must equal the name of the skill; a different name returns 400. The new version becomes latest_version_id of the skill, and earlier versions stay unchanged because versions are immutable. Attach it to an agent with `skills` on the agent.
|
|
3244
|
+
*/
|
|
3245
|
+
export const skillsVersionsCreate = (options) => (options.client ?? client).post({
|
|
3246
|
+
...formDataBodySerializer,
|
|
3247
|
+
security: [{
|
|
3248
|
+
key: 'BearerAuth',
|
|
3249
|
+
scheme: 'bearer',
|
|
3250
|
+
type: 'http'
|
|
3251
|
+
}, {
|
|
3252
|
+
key: 'ApiKeyAuth',
|
|
3253
|
+
name: 'X-API-Key',
|
|
3254
|
+
type: 'apiKey'
|
|
3255
|
+
}],
|
|
3256
|
+
url: '/agent/v1/skills/{skill_id}/versions',
|
|
3257
|
+
...options,
|
|
3258
|
+
headers: {
|
|
3259
|
+
'Content-Type': null,
|
|
3260
|
+
...options.headers
|
|
3261
|
+
}
|
|
3262
|
+
});
|
|
3263
|
+
/**
|
|
3264
|
+
* Delete skill version
|
|
3265
|
+
*
|
|
3266
|
+
* Soft-delete one version of a skill so it can no longer be read or downloaded; latest_version_id of the skill falls back to the newest remaining version. Returns {id, type: skill_version_deleted}. A skill can be deleted only after all of its versions are deleted.
|
|
3267
|
+
*/
|
|
3268
|
+
export const skillsVersionsDelete = (options) => (options.client ?? client).delete({
|
|
3269
|
+
security: [{
|
|
3270
|
+
key: 'BearerAuth',
|
|
3271
|
+
scheme: 'bearer',
|
|
3272
|
+
type: 'http'
|
|
3273
|
+
}, {
|
|
3274
|
+
key: 'ApiKeyAuth',
|
|
3275
|
+
name: 'X-API-Key',
|
|
3276
|
+
type: 'apiKey'
|
|
3277
|
+
}],
|
|
3278
|
+
url: '/agent/v1/skills/{skill_id}/versions/{version}',
|
|
3279
|
+
...options
|
|
3280
|
+
});
|
|
3281
|
+
/**
|
|
3282
|
+
* Get skill version
|
|
3283
|
+
*
|
|
3284
|
+
* Read one version of a skill: its name, description and created_at as read from SKILL.md. version is the id returned by skills.versions.create or skills.versions.list. A deleted or unknown version returns 404 Skill version not found.
|
|
3285
|
+
*/
|
|
3286
|
+
export const skillsVersionsRetrieve = (options) => (options.client ?? client).get({
|
|
3287
|
+
security: [{
|
|
3288
|
+
key: 'BearerAuth',
|
|
3289
|
+
scheme: 'bearer',
|
|
3290
|
+
type: 'http'
|
|
3291
|
+
}, {
|
|
3292
|
+
key: 'ApiKeyAuth',
|
|
3293
|
+
name: 'X-API-Key',
|
|
3294
|
+
type: 'apiKey'
|
|
3295
|
+
}],
|
|
3296
|
+
url: '/agent/v1/skills/{skill_id}/versions/{version}',
|
|
3297
|
+
...options
|
|
3298
|
+
});
|
|
3299
|
+
/**
|
|
3300
|
+
* Download skill version
|
|
3301
|
+
*
|
|
3302
|
+
* Download the content of one version as a zip archive (application/zip): the uploaded directory with its top-level folder and every file. version is the id returned by skills.versions.create or skills.versions.list; a deleted version returns 404.
|
|
3303
|
+
*/
|
|
3304
|
+
export const skillsVersionsDownload = (options) => (options.client ?? client).get({
|
|
3305
|
+
security: [{
|
|
3306
|
+
key: 'BearerAuth',
|
|
3307
|
+
scheme: 'bearer',
|
|
3308
|
+
type: 'http'
|
|
3309
|
+
}, {
|
|
3310
|
+
key: 'ApiKeyAuth',
|
|
3311
|
+
name: 'X-API-Key',
|
|
3312
|
+
type: 'apiKey'
|
|
3313
|
+
}],
|
|
3314
|
+
url: '/agent/v1/skills/{skill_id}/versions/{version}/content',
|
|
3315
|
+
...options
|
|
3316
|
+
});
|
|
3058
3317
|
/**
|
|
3059
3318
|
* Get account subdomain
|
|
3060
3319
|
*
|
|
@@ -3487,9 +3746,9 @@ export const automationActionsCreate = (options) => (options.client ?? client).p
|
|
|
3487
3746
|
}
|
|
3488
3747
|
});
|
|
3489
3748
|
/**
|
|
3490
|
-
* Get an
|
|
3749
|
+
* Get an Action with its current input and output JSON Schemas
|
|
3491
3750
|
*
|
|
3492
|
-
* Read the
|
|
3751
|
+
* Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call("ocr", input). The response ETag is the current revision ID for conditional updates.
|
|
3493
3752
|
*/
|
|
3494
3753
|
export const automationActionsGet = (options) => (options.client ?? client).get({
|
|
3495
3754
|
security: [{
|
|
@@ -3687,7 +3946,7 @@ export const automationScriptsList = (options) => (options?.client ?? client).ge
|
|
|
3687
3946
|
/**
|
|
3688
3947
|
* Create a script
|
|
3689
3948
|
*
|
|
3690
|
-
* Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is
|
|
3949
|
+
* Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: "Hello, " + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call("ocr", input) calls a built-in Action, and invoke("namespace/name", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, use the returned draft.revision as expected_draft_revision.
|
|
3691
3950
|
*/
|
|
3692
3951
|
export const automationScriptsCreate = (options) => (options.client ?? client).post({
|
|
3693
3952
|
security: [{
|
|
@@ -3727,7 +3986,7 @@ export const automationScriptsGet = (options) => (options.client ?? client).get(
|
|
|
3727
3986
|
/**
|
|
3728
3987
|
* Update a script draft
|
|
3729
3988
|
*
|
|
3730
|
-
* Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision.
|
|
3989
|
+
* Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call("ocr", input) calls a built-in Action, and invoke("namespace/name", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist.
|
|
3731
3990
|
*/
|
|
3732
3991
|
export const automationScriptsPatch = (options) => (options.client ?? client).patch({
|
|
3733
3992
|
security: [{
|
|
@@ -3950,7 +4209,7 @@ export const automationWorkflowsList = (options) => (options?.client ?? client).
|
|
|
3950
4209
|
/**
|
|
3951
4210
|
* Create a workflow
|
|
3952
4211
|
*
|
|
3953
|
-
* Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is
|
|
4212
|
+
* Save a YAML workflow as an editable draft without publishing or starting a run. Choose your own namespace without registering it first; praxis is reserved for built-in Actions. To test the draft, send its source and language=yaml to praxis.automation.runs.create. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.
|
|
3954
4213
|
*/
|
|
3955
4214
|
export const automationWorkflowsCreate = (options) => (options.client ?? client).post({
|
|
3956
4215
|
security: [{
|
|
@@ -4280,9 +4539,9 @@ export const automationRunsList = (options) => (options?.client ?? client).get({
|
|
|
4280
4539
|
...options
|
|
4281
4540
|
});
|
|
4282
4541
|
/**
|
|
4283
|
-
*
|
|
4542
|
+
* Run a published target or execute draft source
|
|
4284
4543
|
*
|
|
4285
|
-
* Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters
|
|
4544
|
+
* Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call("ocr", { document: { type: "file", file_id } }); return result; }`; send it as source with language="ts", input={"file_id":"<uploaded file ID>"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: "glm-ocr", document: { type: "file", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke("namespace/name", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 30 s (run-sandbox after 10 min); scripts have a 5 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 7 days. Each run can start at most 100 child runs, with at most 20 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.
|
|
4286
4545
|
*/
|
|
4287
4546
|
export const automationRunsCreate = (options) => (options.client ?? client).post({
|
|
4288
4547
|
security: [{
|
|
@@ -5884,7 +6143,7 @@ export const getSandboxV1Sandboxes = (options) => (options?.client ?? client).ge
|
|
|
5884
6143
|
/**
|
|
5885
6144
|
* Create sandbox (v2)
|
|
5886
6145
|
*
|
|
5887
|
-
*
|
|
6146
|
+
* Create a sandbox from the template. All system communication with the sandbox is secured.
|
|
5888
6147
|
*/
|
|
5889
6148
|
export const postSandboxV1Sandboxes = (options) => (options.client ?? client).post({
|
|
5890
6149
|
security: [
|
|
@@ -5925,7 +6184,7 @@ export const postSandboxV1Sandboxes = (options) => (options.client ?? client).po
|
|
|
5925
6184
|
/**
|
|
5926
6185
|
* Sandbox metrics
|
|
5927
6186
|
*
|
|
5928
|
-
* Read CPU, memory and disk usage over
|
|
6187
|
+
* Read CPU, memory and disk usage samples of a sandbox over a time window. Use it to size a sandbox or find out why it is slow. start and end are Unix timestamps in seconds; without them the recent samples are returned. An unknown id answers 404.
|
|
5929
6188
|
*/
|
|
5930
6189
|
export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.client ?? client).get({
|
|
5931
6190
|
security: [
|
|
@@ -5962,7 +6221,7 @@ export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.cli
|
|
|
5962
6221
|
/**
|
|
5963
6222
|
* Pause sandbox
|
|
5964
6223
|
*
|
|
5965
|
-
*
|
|
6224
|
+
* Pause a running sandbox, keeping its files and memory so that connectSandbox can resume it later. Use it to stop paying for compute without losing state; to discard the sandbox use killSandbox. Success answers 204. A sandbox that is not running answers 409.
|
|
5966
6225
|
*/
|
|
5967
6226
|
export const postSandboxV1SandboxesBySandboxIdPause = (options) => (options.client ?? client).post({
|
|
5968
6227
|
security: [
|
|
@@ -6044,7 +6303,7 @@ export const postSandboxV1SandboxesBySandboxIdTimeout = (options) => (options.cl
|
|
|
6044
6303
|
/**
|
|
6045
6304
|
* Connect sandbox (v2)
|
|
6046
6305
|
*
|
|
6047
|
-
*
|
|
6306
|
+
* Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
|
|
6048
6307
|
*/
|
|
6049
6308
|
export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.client ?? client).post({
|
|
6050
6309
|
security: [
|
|
@@ -6085,7 +6344,7 @@ export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.cl
|
|
|
6085
6344
|
/**
|
|
6086
6345
|
* List templates (v2)
|
|
6087
6346
|
*
|
|
6088
|
-
*
|
|
6347
|
+
* List the templates you can create sandboxes from. Use it to pick the template id or alias for createSandbox. `base` is the default template that createSandbox uses when templateID is omitted. limit is 1 to 100 (default 100); send the cursor from the response back as nextToken to continue.
|
|
6089
6348
|
*/
|
|
6090
6349
|
export const getSandboxV1Templates = (options) => (options?.client ?? client).get({
|
|
6091
6350
|
security: [
|
|
@@ -6951,3 +7210,779 @@ export const vaultConnectContinue = (options) => (options.client ?? client).post
|
|
|
6951
7210
|
* Consume a pending authorization's one-time connect token and mark it failed with access_denied. Redirect to the configured return URL, or display a result page when none was supplied.
|
|
6952
7211
|
*/
|
|
6953
7212
|
export const vaultConnectDeny = (options) => (options.client ?? client).post({ url: '/vault/v1/connect/{token}/deny', ...options });
|
|
7213
|
+
/**
|
|
7214
|
+
* List tickets
|
|
7215
|
+
*
|
|
7216
|
+
* List tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7217
|
+
*/
|
|
7218
|
+
export const ticketGetTickets = (options) => (options?.client ?? client).get({
|
|
7219
|
+
security: [{
|
|
7220
|
+
key: 'BearerAuth',
|
|
7221
|
+
scheme: 'bearer',
|
|
7222
|
+
type: 'http'
|
|
7223
|
+
}, {
|
|
7224
|
+
key: 'ApiKeyAuth',
|
|
7225
|
+
name: 'X-API-Key',
|
|
7226
|
+
type: 'apiKey'
|
|
7227
|
+
}],
|
|
7228
|
+
url: '/ticket/v1/tickets',
|
|
7229
|
+
...options
|
|
7230
|
+
});
|
|
7231
|
+
/**
|
|
7232
|
+
* Create or add tickets
|
|
7233
|
+
*
|
|
7234
|
+
* Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7235
|
+
*/
|
|
7236
|
+
export const ticketPostTickets = (options) => (options.client ?? client).post({
|
|
7237
|
+
security: [{
|
|
7238
|
+
key: 'BearerAuth',
|
|
7239
|
+
scheme: 'bearer',
|
|
7240
|
+
type: 'http'
|
|
7241
|
+
}, {
|
|
7242
|
+
key: 'ApiKeyAuth',
|
|
7243
|
+
name: 'X-API-Key',
|
|
7244
|
+
type: 'apiKey'
|
|
7245
|
+
}],
|
|
7246
|
+
url: '/ticket/v1/tickets',
|
|
7247
|
+
...options,
|
|
7248
|
+
headers: {
|
|
7249
|
+
'Content-Type': 'application/json',
|
|
7250
|
+
...options.headers
|
|
7251
|
+
}
|
|
7252
|
+
});
|
|
7253
|
+
/**
|
|
7254
|
+
* Read tickets
|
|
7255
|
+
*
|
|
7256
|
+
* Read tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7257
|
+
*/
|
|
7258
|
+
export const ticketGetTicketsNumber = (options) => (options.client ?? client).get({
|
|
7259
|
+
security: [{
|
|
7260
|
+
key: 'BearerAuth',
|
|
7261
|
+
scheme: 'bearer',
|
|
7262
|
+
type: 'http'
|
|
7263
|
+
}, {
|
|
7264
|
+
key: 'ApiKeyAuth',
|
|
7265
|
+
name: 'X-API-Key',
|
|
7266
|
+
type: 'apiKey'
|
|
7267
|
+
}],
|
|
7268
|
+
url: '/ticket/v1/tickets/{number}',
|
|
7269
|
+
...options
|
|
7270
|
+
});
|
|
7271
|
+
/**
|
|
7272
|
+
* Update tickets
|
|
7273
|
+
*
|
|
7274
|
+
* Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7275
|
+
*/
|
|
7276
|
+
export const ticketPatchTicketsNumber = (options) => (options.client ?? client).patch({
|
|
7277
|
+
security: [{
|
|
7278
|
+
key: 'BearerAuth',
|
|
7279
|
+
scheme: 'bearer',
|
|
7280
|
+
type: 'http'
|
|
7281
|
+
}, {
|
|
7282
|
+
key: 'ApiKeyAuth',
|
|
7283
|
+
name: 'X-API-Key',
|
|
7284
|
+
type: 'apiKey'
|
|
7285
|
+
}],
|
|
7286
|
+
url: '/ticket/v1/tickets/{number}',
|
|
7287
|
+
...options,
|
|
7288
|
+
headers: {
|
|
7289
|
+
'Content-Type': 'application/json',
|
|
7290
|
+
...options.headers
|
|
7291
|
+
}
|
|
7292
|
+
});
|
|
7293
|
+
/**
|
|
7294
|
+
* Remove lock
|
|
7295
|
+
*
|
|
7296
|
+
* Remove lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7297
|
+
*/
|
|
7298
|
+
export const ticketDeleteTicketsNumberLock = (options) => (options.client ?? client).delete({
|
|
7299
|
+
security: [{
|
|
7300
|
+
key: 'BearerAuth',
|
|
7301
|
+
scheme: 'bearer',
|
|
7302
|
+
type: 'http'
|
|
7303
|
+
}, {
|
|
7304
|
+
key: 'ApiKeyAuth',
|
|
7305
|
+
name: 'X-API-Key',
|
|
7306
|
+
type: 'apiKey'
|
|
7307
|
+
}],
|
|
7308
|
+
url: '/ticket/v1/tickets/{number}/lock',
|
|
7309
|
+
...options
|
|
7310
|
+
});
|
|
7311
|
+
/**
|
|
7312
|
+
* Update lock
|
|
7313
|
+
*
|
|
7314
|
+
* Update lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7315
|
+
*/
|
|
7316
|
+
export const ticketPutTicketsNumberLock = (options) => (options.client ?? client).put({
|
|
7317
|
+
security: [{
|
|
7318
|
+
key: 'BearerAuth',
|
|
7319
|
+
scheme: 'bearer',
|
|
7320
|
+
type: 'http'
|
|
7321
|
+
}, {
|
|
7322
|
+
key: 'ApiKeyAuth',
|
|
7323
|
+
name: 'X-API-Key',
|
|
7324
|
+
type: 'apiKey'
|
|
7325
|
+
}],
|
|
7326
|
+
url: '/ticket/v1/tickets/{number}/lock',
|
|
7327
|
+
...options,
|
|
7328
|
+
headers: {
|
|
7329
|
+
'Content-Type': 'application/json',
|
|
7330
|
+
...options.headers
|
|
7331
|
+
}
|
|
7332
|
+
});
|
|
7333
|
+
/**
|
|
7334
|
+
* List comments
|
|
7335
|
+
*
|
|
7336
|
+
* List comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7337
|
+
*/
|
|
7338
|
+
export const ticketGetTicketsNumberComments = (options) => (options.client ?? client).get({
|
|
7339
|
+
security: [{
|
|
7340
|
+
key: 'BearerAuth',
|
|
7341
|
+
scheme: 'bearer',
|
|
7342
|
+
type: 'http'
|
|
7343
|
+
}, {
|
|
7344
|
+
key: 'ApiKeyAuth',
|
|
7345
|
+
name: 'X-API-Key',
|
|
7346
|
+
type: 'apiKey'
|
|
7347
|
+
}],
|
|
7348
|
+
url: '/ticket/v1/tickets/{number}/comments',
|
|
7349
|
+
...options
|
|
7350
|
+
});
|
|
7351
|
+
/**
|
|
7352
|
+
* Create or add comments
|
|
7353
|
+
*
|
|
7354
|
+
* Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7355
|
+
*/
|
|
7356
|
+
export const ticketPostTicketsNumberComments = (options) => (options.client ?? client).post({
|
|
7357
|
+
security: [{
|
|
7358
|
+
key: 'BearerAuth',
|
|
7359
|
+
scheme: 'bearer',
|
|
7360
|
+
type: 'http'
|
|
7361
|
+
}, {
|
|
7362
|
+
key: 'ApiKeyAuth',
|
|
7363
|
+
name: 'X-API-Key',
|
|
7364
|
+
type: 'apiKey'
|
|
7365
|
+
}],
|
|
7366
|
+
url: '/ticket/v1/tickets/{number}/comments',
|
|
7367
|
+
...options,
|
|
7368
|
+
headers: {
|
|
7369
|
+
'Content-Type': 'application/json',
|
|
7370
|
+
...options.headers
|
|
7371
|
+
}
|
|
7372
|
+
});
|
|
7373
|
+
/**
|
|
7374
|
+
* Remove comments
|
|
7375
|
+
*
|
|
7376
|
+
* Remove comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7377
|
+
*/
|
|
7378
|
+
export const ticketDeleteCommentsId = (options) => (options.client ?? client).delete({
|
|
7379
|
+
security: [{
|
|
7380
|
+
key: 'BearerAuth',
|
|
7381
|
+
scheme: 'bearer',
|
|
7382
|
+
type: 'http'
|
|
7383
|
+
}, {
|
|
7384
|
+
key: 'ApiKeyAuth',
|
|
7385
|
+
name: 'X-API-Key',
|
|
7386
|
+
type: 'apiKey'
|
|
7387
|
+
}],
|
|
7388
|
+
url: '/ticket/v1/comments/{id}',
|
|
7389
|
+
...options
|
|
7390
|
+
});
|
|
7391
|
+
/**
|
|
7392
|
+
* Read comments
|
|
7393
|
+
*
|
|
7394
|
+
* Read comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7395
|
+
*/
|
|
7396
|
+
export const ticketGetCommentsId = (options) => (options.client ?? client).get({
|
|
7397
|
+
security: [{
|
|
7398
|
+
key: 'BearerAuth',
|
|
7399
|
+
scheme: 'bearer',
|
|
7400
|
+
type: 'http'
|
|
7401
|
+
}, {
|
|
7402
|
+
key: 'ApiKeyAuth',
|
|
7403
|
+
name: 'X-API-Key',
|
|
7404
|
+
type: 'apiKey'
|
|
7405
|
+
}],
|
|
7406
|
+
url: '/ticket/v1/comments/{id}',
|
|
7407
|
+
...options
|
|
7408
|
+
});
|
|
7409
|
+
/**
|
|
7410
|
+
* Update comments
|
|
7411
|
+
*
|
|
7412
|
+
* Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7413
|
+
*/
|
|
7414
|
+
export const ticketPatchCommentsId = (options) => (options.client ?? client).patch({
|
|
7415
|
+
security: [{
|
|
7416
|
+
key: 'BearerAuth',
|
|
7417
|
+
scheme: 'bearer',
|
|
7418
|
+
type: 'http'
|
|
7419
|
+
}, {
|
|
7420
|
+
key: 'ApiKeyAuth',
|
|
7421
|
+
name: 'X-API-Key',
|
|
7422
|
+
type: 'apiKey'
|
|
7423
|
+
}],
|
|
7424
|
+
url: '/ticket/v1/comments/{id}',
|
|
7425
|
+
...options,
|
|
7426
|
+
headers: {
|
|
7427
|
+
'Content-Type': 'application/json',
|
|
7428
|
+
...options.headers
|
|
7429
|
+
}
|
|
7430
|
+
});
|
|
7431
|
+
/**
|
|
7432
|
+
* List labels
|
|
7433
|
+
*
|
|
7434
|
+
* List labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7435
|
+
*/
|
|
7436
|
+
export const ticketGetLabels = (options) => (options?.client ?? client).get({
|
|
7437
|
+
security: [{
|
|
7438
|
+
key: 'BearerAuth',
|
|
7439
|
+
scheme: 'bearer',
|
|
7440
|
+
type: 'http'
|
|
7441
|
+
}, {
|
|
7442
|
+
key: 'ApiKeyAuth',
|
|
7443
|
+
name: 'X-API-Key',
|
|
7444
|
+
type: 'apiKey'
|
|
7445
|
+
}],
|
|
7446
|
+
url: '/ticket/v1/labels',
|
|
7447
|
+
...options
|
|
7448
|
+
});
|
|
7449
|
+
/**
|
|
7450
|
+
* Create or add labels
|
|
7451
|
+
*
|
|
7452
|
+
* Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7453
|
+
*/
|
|
7454
|
+
export const ticketPostLabels = (options) => (options.client ?? client).post({
|
|
7455
|
+
security: [{
|
|
7456
|
+
key: 'BearerAuth',
|
|
7457
|
+
scheme: 'bearer',
|
|
7458
|
+
type: 'http'
|
|
7459
|
+
}, {
|
|
7460
|
+
key: 'ApiKeyAuth',
|
|
7461
|
+
name: 'X-API-Key',
|
|
7462
|
+
type: 'apiKey'
|
|
7463
|
+
}],
|
|
7464
|
+
url: '/ticket/v1/labels',
|
|
7465
|
+
...options,
|
|
7466
|
+
headers: {
|
|
7467
|
+
'Content-Type': 'application/json',
|
|
7468
|
+
...options.headers
|
|
7469
|
+
}
|
|
7470
|
+
});
|
|
7471
|
+
/**
|
|
7472
|
+
* Remove labels
|
|
7473
|
+
*
|
|
7474
|
+
* Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7475
|
+
*/
|
|
7476
|
+
export const ticketDeleteLabelsName = (options) => (options.client ?? client).delete({
|
|
7477
|
+
security: [{
|
|
7478
|
+
key: 'BearerAuth',
|
|
7479
|
+
scheme: 'bearer',
|
|
7480
|
+
type: 'http'
|
|
7481
|
+
}, {
|
|
7482
|
+
key: 'ApiKeyAuth',
|
|
7483
|
+
name: 'X-API-Key',
|
|
7484
|
+
type: 'apiKey'
|
|
7485
|
+
}],
|
|
7486
|
+
url: '/ticket/v1/labels/{name}',
|
|
7487
|
+
...options
|
|
7488
|
+
});
|
|
7489
|
+
/**
|
|
7490
|
+
* Update labels
|
|
7491
|
+
*
|
|
7492
|
+
* Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7493
|
+
*/
|
|
7494
|
+
export const ticketPatchLabelsName = (options) => (options.client ?? client).patch({
|
|
7495
|
+
security: [{
|
|
7496
|
+
key: 'BearerAuth',
|
|
7497
|
+
scheme: 'bearer',
|
|
7498
|
+
type: 'http'
|
|
7499
|
+
}, {
|
|
7500
|
+
key: 'ApiKeyAuth',
|
|
7501
|
+
name: 'X-API-Key',
|
|
7502
|
+
type: 'apiKey'
|
|
7503
|
+
}],
|
|
7504
|
+
url: '/ticket/v1/labels/{name}',
|
|
7505
|
+
...options,
|
|
7506
|
+
headers: {
|
|
7507
|
+
'Content-Type': 'application/json',
|
|
7508
|
+
...options.headers
|
|
7509
|
+
}
|
|
7510
|
+
});
|
|
7511
|
+
/**
|
|
7512
|
+
* Read types
|
|
7513
|
+
*
|
|
7514
|
+
* Read types within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7515
|
+
*/
|
|
7516
|
+
export const ticketGetTypes = (options) => (options?.client ?? client).get({
|
|
7517
|
+
security: [{
|
|
7518
|
+
key: 'BearerAuth',
|
|
7519
|
+
scheme: 'bearer',
|
|
7520
|
+
type: 'http'
|
|
7521
|
+
}, {
|
|
7522
|
+
key: 'ApiKeyAuth',
|
|
7523
|
+
name: 'X-API-Key',
|
|
7524
|
+
type: 'apiKey'
|
|
7525
|
+
}],
|
|
7526
|
+
url: '/ticket/v1/types',
|
|
7527
|
+
...options
|
|
7528
|
+
});
|
|
7529
|
+
/**
|
|
7530
|
+
* List milestones
|
|
7531
|
+
*
|
|
7532
|
+
* List milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7533
|
+
*/
|
|
7534
|
+
export const ticketGetMilestones = (options) => (options?.client ?? client).get({
|
|
7535
|
+
security: [{
|
|
7536
|
+
key: 'BearerAuth',
|
|
7537
|
+
scheme: 'bearer',
|
|
7538
|
+
type: 'http'
|
|
7539
|
+
}, {
|
|
7540
|
+
key: 'ApiKeyAuth',
|
|
7541
|
+
name: 'X-API-Key',
|
|
7542
|
+
type: 'apiKey'
|
|
7543
|
+
}],
|
|
7544
|
+
url: '/ticket/v1/milestones',
|
|
7545
|
+
...options
|
|
7546
|
+
});
|
|
7547
|
+
/**
|
|
7548
|
+
* Create or add milestones
|
|
7549
|
+
*
|
|
7550
|
+
* Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7551
|
+
*/
|
|
7552
|
+
export const ticketPostMilestones = (options) => (options.client ?? client).post({
|
|
7553
|
+
security: [{
|
|
7554
|
+
key: 'BearerAuth',
|
|
7555
|
+
scheme: 'bearer',
|
|
7556
|
+
type: 'http'
|
|
7557
|
+
}, {
|
|
7558
|
+
key: 'ApiKeyAuth',
|
|
7559
|
+
name: 'X-API-Key',
|
|
7560
|
+
type: 'apiKey'
|
|
7561
|
+
}],
|
|
7562
|
+
url: '/ticket/v1/milestones',
|
|
7563
|
+
...options,
|
|
7564
|
+
headers: {
|
|
7565
|
+
'Content-Type': 'application/json',
|
|
7566
|
+
...options.headers
|
|
7567
|
+
}
|
|
7568
|
+
});
|
|
7569
|
+
/**
|
|
7570
|
+
* Remove milestones
|
|
7571
|
+
*
|
|
7572
|
+
* Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7573
|
+
*/
|
|
7574
|
+
export const ticketDeleteMilestonesNumber = (options) => (options.client ?? client).delete({
|
|
7575
|
+
security: [{
|
|
7576
|
+
key: 'BearerAuth',
|
|
7577
|
+
scheme: 'bearer',
|
|
7578
|
+
type: 'http'
|
|
7579
|
+
}, {
|
|
7580
|
+
key: 'ApiKeyAuth',
|
|
7581
|
+
name: 'X-API-Key',
|
|
7582
|
+
type: 'apiKey'
|
|
7583
|
+
}],
|
|
7584
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7585
|
+
...options
|
|
7586
|
+
});
|
|
7587
|
+
/**
|
|
7588
|
+
* Read milestones
|
|
7589
|
+
*
|
|
7590
|
+
* Read milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7591
|
+
*/
|
|
7592
|
+
export const ticketGetMilestonesNumber = (options) => (options.client ?? client).get({
|
|
7593
|
+
security: [{
|
|
7594
|
+
key: 'BearerAuth',
|
|
7595
|
+
scheme: 'bearer',
|
|
7596
|
+
type: 'http'
|
|
7597
|
+
}, {
|
|
7598
|
+
key: 'ApiKeyAuth',
|
|
7599
|
+
name: 'X-API-Key',
|
|
7600
|
+
type: 'apiKey'
|
|
7601
|
+
}],
|
|
7602
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7603
|
+
...options
|
|
7604
|
+
});
|
|
7605
|
+
/**
|
|
7606
|
+
* Update milestones
|
|
7607
|
+
*
|
|
7608
|
+
* Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7609
|
+
*/
|
|
7610
|
+
export const ticketPatchMilestonesNumber = (options) => (options.client ?? client).patch({
|
|
7611
|
+
security: [{
|
|
7612
|
+
key: 'BearerAuth',
|
|
7613
|
+
scheme: 'bearer',
|
|
7614
|
+
type: 'http'
|
|
7615
|
+
}, {
|
|
7616
|
+
key: 'ApiKeyAuth',
|
|
7617
|
+
name: 'X-API-Key',
|
|
7618
|
+
type: 'apiKey'
|
|
7619
|
+
}],
|
|
7620
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7621
|
+
...options,
|
|
7622
|
+
headers: {
|
|
7623
|
+
'Content-Type': 'application/json',
|
|
7624
|
+
...options.headers
|
|
7625
|
+
}
|
|
7626
|
+
});
|
|
7627
|
+
/**
|
|
7628
|
+
* List sub tickets
|
|
7629
|
+
*
|
|
7630
|
+
* List sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7631
|
+
*/
|
|
7632
|
+
export const ticketGetTicketsNumberSubTickets = (options) => (options.client ?? client).get({
|
|
7633
|
+
security: [{
|
|
7634
|
+
key: 'BearerAuth',
|
|
7635
|
+
scheme: 'bearer',
|
|
7636
|
+
type: 'http'
|
|
7637
|
+
}, {
|
|
7638
|
+
key: 'ApiKeyAuth',
|
|
7639
|
+
name: 'X-API-Key',
|
|
7640
|
+
type: 'apiKey'
|
|
7641
|
+
}],
|
|
7642
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets',
|
|
7643
|
+
...options
|
|
7644
|
+
});
|
|
7645
|
+
/**
|
|
7646
|
+
* Create or add sub tickets
|
|
7647
|
+
*
|
|
7648
|
+
* Create or add sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7649
|
+
*/
|
|
7650
|
+
export const ticketPostTicketsNumberSubTickets = (options) => (options.client ?? client).post({
|
|
7651
|
+
security: [{
|
|
7652
|
+
key: 'BearerAuth',
|
|
7653
|
+
scheme: 'bearer',
|
|
7654
|
+
type: 'http'
|
|
7655
|
+
}, {
|
|
7656
|
+
key: 'ApiKeyAuth',
|
|
7657
|
+
name: 'X-API-Key',
|
|
7658
|
+
type: 'apiKey'
|
|
7659
|
+
}],
|
|
7660
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets',
|
|
7661
|
+
...options,
|
|
7662
|
+
headers: {
|
|
7663
|
+
'Content-Type': 'application/json',
|
|
7664
|
+
...options.headers
|
|
7665
|
+
}
|
|
7666
|
+
});
|
|
7667
|
+
/**
|
|
7668
|
+
* Remove sub tickets
|
|
7669
|
+
*
|
|
7670
|
+
* Remove sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7671
|
+
*/
|
|
7672
|
+
export const ticketDeleteTicketsNumberSubTicketsChild = (options) => (options.client ?? client).delete({
|
|
7673
|
+
security: [{
|
|
7674
|
+
key: 'BearerAuth',
|
|
7675
|
+
scheme: 'bearer',
|
|
7676
|
+
type: 'http'
|
|
7677
|
+
}, {
|
|
7678
|
+
key: 'ApiKeyAuth',
|
|
7679
|
+
name: 'X-API-Key',
|
|
7680
|
+
type: 'apiKey'
|
|
7681
|
+
}],
|
|
7682
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets/{child}',
|
|
7683
|
+
...options
|
|
7684
|
+
});
|
|
7685
|
+
/**
|
|
7686
|
+
* List blocked by
|
|
7687
|
+
*
|
|
7688
|
+
* List blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7689
|
+
*/
|
|
7690
|
+
export const ticketGetTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).get({
|
|
7691
|
+
security: [{
|
|
7692
|
+
key: 'BearerAuth',
|
|
7693
|
+
scheme: 'bearer',
|
|
7694
|
+
type: 'http'
|
|
7695
|
+
}, {
|
|
7696
|
+
key: 'ApiKeyAuth',
|
|
7697
|
+
name: 'X-API-Key',
|
|
7698
|
+
type: 'apiKey'
|
|
7699
|
+
}],
|
|
7700
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by',
|
|
7701
|
+
...options
|
|
7702
|
+
});
|
|
7703
|
+
/**
|
|
7704
|
+
* Create or add blocked by
|
|
7705
|
+
*
|
|
7706
|
+
* Create or add blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7707
|
+
*/
|
|
7708
|
+
export const ticketPostTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).post({
|
|
7709
|
+
security: [{
|
|
7710
|
+
key: 'BearerAuth',
|
|
7711
|
+
scheme: 'bearer',
|
|
7712
|
+
type: 'http'
|
|
7713
|
+
}, {
|
|
7714
|
+
key: 'ApiKeyAuth',
|
|
7715
|
+
name: 'X-API-Key',
|
|
7716
|
+
type: 'apiKey'
|
|
7717
|
+
}],
|
|
7718
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by',
|
|
7719
|
+
...options,
|
|
7720
|
+
headers: {
|
|
7721
|
+
'Content-Type': 'application/json',
|
|
7722
|
+
...options.headers
|
|
7723
|
+
}
|
|
7724
|
+
});
|
|
7725
|
+
/**
|
|
7726
|
+
* Remove blocked by
|
|
7727
|
+
*
|
|
7728
|
+
* Remove blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7729
|
+
*/
|
|
7730
|
+
export const ticketDeleteTicketsNumberDependenciesBlockedByN = (options) => (options.client ?? client).delete({
|
|
7731
|
+
security: [{
|
|
7732
|
+
key: 'BearerAuth',
|
|
7733
|
+
scheme: 'bearer',
|
|
7734
|
+
type: 'http'
|
|
7735
|
+
}, {
|
|
7736
|
+
key: 'ApiKeyAuth',
|
|
7737
|
+
name: 'X-API-Key',
|
|
7738
|
+
type: 'apiKey'
|
|
7739
|
+
}],
|
|
7740
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by/{n}',
|
|
7741
|
+
...options
|
|
7742
|
+
});
|
|
7743
|
+
/**
|
|
7744
|
+
* List relations
|
|
7745
|
+
*
|
|
7746
|
+
* List relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7747
|
+
*/
|
|
7748
|
+
export const ticketGetTicketsNumberRelations = (options) => (options.client ?? client).get({
|
|
7749
|
+
security: [{
|
|
7750
|
+
key: 'BearerAuth',
|
|
7751
|
+
scheme: 'bearer',
|
|
7752
|
+
type: 'http'
|
|
7753
|
+
}, {
|
|
7754
|
+
key: 'ApiKeyAuth',
|
|
7755
|
+
name: 'X-API-Key',
|
|
7756
|
+
type: 'apiKey'
|
|
7757
|
+
}],
|
|
7758
|
+
url: '/ticket/v1/tickets/{number}/relations',
|
|
7759
|
+
...options
|
|
7760
|
+
});
|
|
7761
|
+
/**
|
|
7762
|
+
* Create or add relations
|
|
7763
|
+
*
|
|
7764
|
+
* Create or add relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7765
|
+
*/
|
|
7766
|
+
export const ticketPostTicketsNumberRelations = (options) => (options.client ?? client).post({
|
|
7767
|
+
security: [{
|
|
7768
|
+
key: 'BearerAuth',
|
|
7769
|
+
scheme: 'bearer',
|
|
7770
|
+
type: 'http'
|
|
7771
|
+
}, {
|
|
7772
|
+
key: 'ApiKeyAuth',
|
|
7773
|
+
name: 'X-API-Key',
|
|
7774
|
+
type: 'apiKey'
|
|
7775
|
+
}],
|
|
7776
|
+
url: '/ticket/v1/tickets/{number}/relations',
|
|
7777
|
+
...options,
|
|
7778
|
+
headers: {
|
|
7779
|
+
'Content-Type': 'application/json',
|
|
7780
|
+
...options.headers
|
|
7781
|
+
}
|
|
7782
|
+
});
|
|
7783
|
+
/**
|
|
7784
|
+
* Remove relations
|
|
7785
|
+
*
|
|
7786
|
+
* Remove relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7787
|
+
*/
|
|
7788
|
+
export const ticketDeleteTicketsNumberRelationsN = (options) => (options.client ?? client).delete({
|
|
7789
|
+
security: [{
|
|
7790
|
+
key: 'BearerAuth',
|
|
7791
|
+
scheme: 'bearer',
|
|
7792
|
+
type: 'http'
|
|
7793
|
+
}, {
|
|
7794
|
+
key: 'ApiKeyAuth',
|
|
7795
|
+
name: 'X-API-Key',
|
|
7796
|
+
type: 'apiKey'
|
|
7797
|
+
}],
|
|
7798
|
+
url: '/ticket/v1/tickets/{number}/relations/{n}',
|
|
7799
|
+
...options
|
|
7800
|
+
});
|
|
7801
|
+
/**
|
|
7802
|
+
* List blocking
|
|
7803
|
+
*
|
|
7804
|
+
* List blocking within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7805
|
+
*/
|
|
7806
|
+
export const ticketGetTicketsNumberDependenciesBlocking = (options) => (options.client ?? client).get({
|
|
7807
|
+
security: [{
|
|
7808
|
+
key: 'BearerAuth',
|
|
7809
|
+
scheme: 'bearer',
|
|
7810
|
+
type: 'http'
|
|
7811
|
+
}, {
|
|
7812
|
+
key: 'ApiKeyAuth',
|
|
7813
|
+
name: 'X-API-Key',
|
|
7814
|
+
type: 'apiKey'
|
|
7815
|
+
}],
|
|
7816
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocking',
|
|
7817
|
+
...options
|
|
7818
|
+
});
|
|
7819
|
+
/**
|
|
7820
|
+
* List events
|
|
7821
|
+
*
|
|
7822
|
+
* List events within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7823
|
+
*/
|
|
7824
|
+
export const ticketGetTicketsNumberEvents = (options) => (options.client ?? client).get({
|
|
7825
|
+
security: [{
|
|
7826
|
+
key: 'BearerAuth',
|
|
7827
|
+
scheme: 'bearer',
|
|
7828
|
+
type: 'http'
|
|
7829
|
+
}, {
|
|
7830
|
+
key: 'ApiKeyAuth',
|
|
7831
|
+
name: 'X-API-Key',
|
|
7832
|
+
type: 'apiKey'
|
|
7833
|
+
}],
|
|
7834
|
+
url: '/ticket/v1/tickets/{number}/events',
|
|
7835
|
+
...options
|
|
7836
|
+
});
|
|
7837
|
+
/**
|
|
7838
|
+
* List reactions
|
|
7839
|
+
*
|
|
7840
|
+
* List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7841
|
+
*/
|
|
7842
|
+
export const ticketGetTicketsNumberReactions = (options) => (options.client ?? client).get({
|
|
7843
|
+
security: [{
|
|
7844
|
+
key: 'BearerAuth',
|
|
7845
|
+
scheme: 'bearer',
|
|
7846
|
+
type: 'http'
|
|
7847
|
+
}, {
|
|
7848
|
+
key: 'ApiKeyAuth',
|
|
7849
|
+
name: 'X-API-Key',
|
|
7850
|
+
type: 'apiKey'
|
|
7851
|
+
}],
|
|
7852
|
+
url: '/ticket/v1/tickets/{number}/reactions',
|
|
7853
|
+
...options
|
|
7854
|
+
});
|
|
7855
|
+
/**
|
|
7856
|
+
* Create or add reactions
|
|
7857
|
+
*
|
|
7858
|
+
* Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7859
|
+
*/
|
|
7860
|
+
export const ticketPostTicketsNumberReactions = (options) => (options.client ?? client).post({
|
|
7861
|
+
security: [{
|
|
7862
|
+
key: 'BearerAuth',
|
|
7863
|
+
scheme: 'bearer',
|
|
7864
|
+
type: 'http'
|
|
7865
|
+
}, {
|
|
7866
|
+
key: 'ApiKeyAuth',
|
|
7867
|
+
name: 'X-API-Key',
|
|
7868
|
+
type: 'apiKey'
|
|
7869
|
+
}],
|
|
7870
|
+
url: '/ticket/v1/tickets/{number}/reactions',
|
|
7871
|
+
...options,
|
|
7872
|
+
headers: {
|
|
7873
|
+
'Content-Type': 'application/json',
|
|
7874
|
+
...options.headers
|
|
7875
|
+
}
|
|
7876
|
+
});
|
|
7877
|
+
/**
|
|
7878
|
+
* Remove reactions
|
|
7879
|
+
*
|
|
7880
|
+
* Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7881
|
+
*/
|
|
7882
|
+
export const ticketDeleteTicketsNumberReactionsContent = (options) => (options.client ?? client).delete({
|
|
7883
|
+
security: [{
|
|
7884
|
+
key: 'BearerAuth',
|
|
7885
|
+
scheme: 'bearer',
|
|
7886
|
+
type: 'http'
|
|
7887
|
+
}, {
|
|
7888
|
+
key: 'ApiKeyAuth',
|
|
7889
|
+
name: 'X-API-Key',
|
|
7890
|
+
type: 'apiKey'
|
|
7891
|
+
}],
|
|
7892
|
+
url: '/ticket/v1/tickets/{number}/reactions/{content}',
|
|
7893
|
+
...options
|
|
7894
|
+
});
|
|
7895
|
+
/**
|
|
7896
|
+
* List reactions
|
|
7897
|
+
*
|
|
7898
|
+
* List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7899
|
+
*/
|
|
7900
|
+
export const ticketGetCommentsIdReactions = (options) => (options.client ?? client).get({
|
|
7901
|
+
security: [{
|
|
7902
|
+
key: 'BearerAuth',
|
|
7903
|
+
scheme: 'bearer',
|
|
7904
|
+
type: 'http'
|
|
7905
|
+
}, {
|
|
7906
|
+
key: 'ApiKeyAuth',
|
|
7907
|
+
name: 'X-API-Key',
|
|
7908
|
+
type: 'apiKey'
|
|
7909
|
+
}],
|
|
7910
|
+
url: '/ticket/v1/comments/{id}/reactions',
|
|
7911
|
+
...options
|
|
7912
|
+
});
|
|
7913
|
+
/**
|
|
7914
|
+
* Create or add reactions
|
|
7915
|
+
*
|
|
7916
|
+
* Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7917
|
+
*/
|
|
7918
|
+
export const ticketPostCommentsIdReactions = (options) => (options.client ?? client).post({
|
|
7919
|
+
security: [{
|
|
7920
|
+
key: 'BearerAuth',
|
|
7921
|
+
scheme: 'bearer',
|
|
7922
|
+
type: 'http'
|
|
7923
|
+
}, {
|
|
7924
|
+
key: 'ApiKeyAuth',
|
|
7925
|
+
name: 'X-API-Key',
|
|
7926
|
+
type: 'apiKey'
|
|
7927
|
+
}],
|
|
7928
|
+
url: '/ticket/v1/comments/{id}/reactions',
|
|
7929
|
+
...options,
|
|
7930
|
+
headers: {
|
|
7931
|
+
'Content-Type': 'application/json',
|
|
7932
|
+
...options.headers
|
|
7933
|
+
}
|
|
7934
|
+
});
|
|
7935
|
+
/**
|
|
7936
|
+
* Remove reactions
|
|
7937
|
+
*
|
|
7938
|
+
* Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7939
|
+
*/
|
|
7940
|
+
export const ticketDeleteCommentsIdReactionsContent = (options) => (options.client ?? client).delete({
|
|
7941
|
+
security: [{
|
|
7942
|
+
key: 'BearerAuth',
|
|
7943
|
+
scheme: 'bearer',
|
|
7944
|
+
type: 'http'
|
|
7945
|
+
}, {
|
|
7946
|
+
key: 'ApiKeyAuth',
|
|
7947
|
+
name: 'X-API-Key',
|
|
7948
|
+
type: 'apiKey'
|
|
7949
|
+
}],
|
|
7950
|
+
url: '/ticket/v1/comments/{id}/reactions/{content}',
|
|
7951
|
+
...options
|
|
7952
|
+
});
|
|
7953
|
+
/**
|
|
7954
|
+
* List activity
|
|
7955
|
+
*
|
|
7956
|
+
* List activity within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7957
|
+
*/
|
|
7958
|
+
export const ticketGetActivity = (options) => (options?.client ?? client).get({
|
|
7959
|
+
security: [{
|
|
7960
|
+
key: 'BearerAuth',
|
|
7961
|
+
scheme: 'bearer',
|
|
7962
|
+
type: 'http'
|
|
7963
|
+
}, {
|
|
7964
|
+
key: 'ApiKeyAuth',
|
|
7965
|
+
name: 'X-API-Key',
|
|
7966
|
+
type: 'apiKey'
|
|
7967
|
+
}],
|
|
7968
|
+
url: '/ticket/v1/activity',
|
|
7969
|
+
...options
|
|
7970
|
+
});
|
|
7971
|
+
/**
|
|
7972
|
+
* List repositories
|
|
7973
|
+
*
|
|
7974
|
+
* List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7975
|
+
*/
|
|
7976
|
+
export const ticketGetRepositories = (options) => (options?.client ?? client).get({
|
|
7977
|
+
security: [{
|
|
7978
|
+
key: 'BearerAuth',
|
|
7979
|
+
scheme: 'bearer',
|
|
7980
|
+
type: 'http'
|
|
7981
|
+
}, {
|
|
7982
|
+
key: 'ApiKeyAuth',
|
|
7983
|
+
name: 'X-API-Key',
|
|
7984
|
+
type: 'apiKey'
|
|
7985
|
+
}],
|
|
7986
|
+
url: '/ticket/v1/repositories',
|
|
7987
|
+
...options
|
|
7988
|
+
});
|