@deepraxis/sdk 0.1.0-dev.a3beed2 → 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 +138 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +315 -15
- package/dist/generated/sdk.gen.js +980 -14
- package/dist/generated/types.gen.d.ts +23408 -18797
- package/dist/operations.generated.d.ts +1404 -45
- package/dist/operations.generated.js +1755 -47
- package/dist/resources.generated.d.ts +601 -84
- package/dist/resources.generated.js +89 -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
|
*
|
|
@@ -2501,7 +2519,7 @@ export const agentsRetrieve = (options) => (options.client ?? client).get({
|
|
|
2501
2519
|
/**
|
|
2502
2520
|
* Update agent
|
|
2503
2521
|
*
|
|
2504
|
-
* 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.
|
|
2505
2523
|
*/
|
|
2506
2524
|
export const agentsUpdate = (options) => (options.client ?? client).post({
|
|
2507
2525
|
security: [{
|
|
@@ -2577,7 +2595,7 @@ export const sessionsList = (options) => (options?.client ?? client).get({
|
|
|
2577
2595
|
/**
|
|
2578
2596
|
* Create session
|
|
2579
2597
|
*
|
|
2580
|
-
* Create a session: one conversation with an agent. Pass agent as an agent id (
|
|
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.
|
|
2581
2599
|
*/
|
|
2582
2600
|
export const sessionsCreate = (options) => (options.client ?? client).post({
|
|
2583
2601
|
security: [{
|
|
@@ -3124,6 +3142,178 @@ export const deploymentsRun = (options) => (options.client ?? client).post({
|
|
|
3124
3142
|
url: '/agent/v1/deployments/{deployment_id}/run',
|
|
3125
3143
|
...options
|
|
3126
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
|
+
});
|
|
3127
3317
|
/**
|
|
3128
3318
|
* Get account subdomain
|
|
3129
3319
|
*
|
|
@@ -3556,9 +3746,9 @@ export const automationActionsCreate = (options) => (options.client ?? client).p
|
|
|
3556
3746
|
}
|
|
3557
3747
|
});
|
|
3558
3748
|
/**
|
|
3559
|
-
* Get an
|
|
3749
|
+
* Get an Action with its current input and output JSON Schemas
|
|
3560
3750
|
*
|
|
3561
|
-
* 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.
|
|
3562
3752
|
*/
|
|
3563
3753
|
export const automationActionsGet = (options) => (options.client ?? client).get({
|
|
3564
3754
|
security: [{
|
|
@@ -3756,7 +3946,7 @@ export const automationScriptsList = (options) => (options?.client ?? client).ge
|
|
|
3756
3946
|
/**
|
|
3757
3947
|
* Create a script
|
|
3758
3948
|
*
|
|
3759
|
-
* 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.
|
|
3760
3950
|
*/
|
|
3761
3951
|
export const automationScriptsCreate = (options) => (options.client ?? client).post({
|
|
3762
3952
|
security: [{
|
|
@@ -3796,7 +3986,7 @@ export const automationScriptsGet = (options) => (options.client ?? client).get(
|
|
|
3796
3986
|
/**
|
|
3797
3987
|
* Update a script draft
|
|
3798
3988
|
*
|
|
3799
|
-
* 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.
|
|
3800
3990
|
*/
|
|
3801
3991
|
export const automationScriptsPatch = (options) => (options.client ?? client).patch({
|
|
3802
3992
|
security: [{
|
|
@@ -4019,7 +4209,7 @@ export const automationWorkflowsList = (options) => (options?.client ?? client).
|
|
|
4019
4209
|
/**
|
|
4020
4210
|
* Create a workflow
|
|
4021
4211
|
*
|
|
4022
|
-
* 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.
|
|
4023
4213
|
*/
|
|
4024
4214
|
export const automationWorkflowsCreate = (options) => (options.client ?? client).post({
|
|
4025
4215
|
security: [{
|
|
@@ -4349,9 +4539,9 @@ export const automationRunsList = (options) => (options?.client ?? client).get({
|
|
|
4349
4539
|
...options
|
|
4350
4540
|
});
|
|
4351
4541
|
/**
|
|
4352
|
-
*
|
|
4542
|
+
* Run a published target or execute draft source
|
|
4353
4543
|
*
|
|
4354
|
-
* 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.
|
|
4355
4545
|
*/
|
|
4356
4546
|
export const automationRunsCreate = (options) => (options.client ?? client).post({
|
|
4357
4547
|
security: [{
|
|
@@ -5953,7 +6143,7 @@ export const getSandboxV1Sandboxes = (options) => (options?.client ?? client).ge
|
|
|
5953
6143
|
/**
|
|
5954
6144
|
* Create sandbox (v2)
|
|
5955
6145
|
*
|
|
5956
|
-
*
|
|
6146
|
+
* Create a sandbox from the template. All system communication with the sandbox is secured.
|
|
5957
6147
|
*/
|
|
5958
6148
|
export const postSandboxV1Sandboxes = (options) => (options.client ?? client).post({
|
|
5959
6149
|
security: [
|
|
@@ -5994,7 +6184,7 @@ export const postSandboxV1Sandboxes = (options) => (options.client ?? client).po
|
|
|
5994
6184
|
/**
|
|
5995
6185
|
* Sandbox metrics
|
|
5996
6186
|
*
|
|
5997
|
-
* 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.
|
|
5998
6188
|
*/
|
|
5999
6189
|
export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.client ?? client).get({
|
|
6000
6190
|
security: [
|
|
@@ -6031,7 +6221,7 @@ export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.cli
|
|
|
6031
6221
|
/**
|
|
6032
6222
|
* Pause sandbox
|
|
6033
6223
|
*
|
|
6034
|
-
*
|
|
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.
|
|
6035
6225
|
*/
|
|
6036
6226
|
export const postSandboxV1SandboxesBySandboxIdPause = (options) => (options.client ?? client).post({
|
|
6037
6227
|
security: [
|
|
@@ -6113,7 +6303,7 @@ export const postSandboxV1SandboxesBySandboxIdTimeout = (options) => (options.cl
|
|
|
6113
6303
|
/**
|
|
6114
6304
|
* Connect sandbox (v2)
|
|
6115
6305
|
*
|
|
6116
|
-
*
|
|
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.
|
|
6117
6307
|
*/
|
|
6118
6308
|
export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.client ?? client).post({
|
|
6119
6309
|
security: [
|
|
@@ -6154,7 +6344,7 @@ export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.cl
|
|
|
6154
6344
|
/**
|
|
6155
6345
|
* List templates (v2)
|
|
6156
6346
|
*
|
|
6157
|
-
*
|
|
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.
|
|
6158
6348
|
*/
|
|
6159
6349
|
export const getSandboxV1Templates = (options) => (options?.client ?? client).get({
|
|
6160
6350
|
security: [
|
|
@@ -7020,3 +7210,779 @@ export const vaultConnectContinue = (options) => (options.client ?? client).post
|
|
|
7020
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.
|
|
7021
7211
|
*/
|
|
7022
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
|
+
});
|