@deepraxis/sdk 0.1.1-dev.11a1f3c → 0.1.1-dev.124112f
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 +108 -1
- package/dist/automation.d.ts +54 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +205 -7
- package/dist/generated/sdk.gen.js +640 -6
- package/dist/generated/types.gen.d.ts +3222 -18
- package/dist/operations.generated.d.ts +957 -92
- package/dist/operations.generated.js +1122 -60
- package/dist/resources.generated.d.ts +139 -0
- package/dist/resources.generated.js +65 -0
- package/package.json +1 -1
|
@@ -1235,6 +1235,50 @@ export const fileCancelUpload = (options) => (options.client ?? client).post({
|
|
|
1235
1235
|
url: '/file/v1/uploads/{upload_id}/cancel',
|
|
1236
1236
|
...options
|
|
1237
1237
|
});
|
|
1238
|
+
/**
|
|
1239
|
+
* Create a one-time upload URL
|
|
1240
|
+
*
|
|
1241
|
+
* Upload a local file of up to 2 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes), PUT each chunk to its numbered parts[].url in any order, then POST complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 3600 for multipart, at most 604800; all multipart URLs share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {"filename":"photo.png","bytes":2048,"content_type":"image/png"}.
|
|
1242
|
+
*/
|
|
1243
|
+
export const fileCreateSignedUpload = (options) => (options.client ?? client).post({
|
|
1244
|
+
security: [{
|
|
1245
|
+
key: 'BearerAuth',
|
|
1246
|
+
scheme: 'bearer',
|
|
1247
|
+
type: 'http'
|
|
1248
|
+
}, {
|
|
1249
|
+
key: 'ApiKeyAuth',
|
|
1250
|
+
name: 'X-API-Key',
|
|
1251
|
+
type: 'apiKey'
|
|
1252
|
+
}],
|
|
1253
|
+
url: '/file/v1/uploads/signed',
|
|
1254
|
+
...options,
|
|
1255
|
+
headers: {
|
|
1256
|
+
'Content-Type': 'application/json',
|
|
1257
|
+
...options.headers
|
|
1258
|
+
}
|
|
1259
|
+
});
|
|
1260
|
+
/**
|
|
1261
|
+
* Revoke a file content link
|
|
1262
|
+
*
|
|
1263
|
+
* Stop a previously issued content link from reading a file. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within 30 seconds; the file and other links remain available. Only current IAM capability tokens can be revoked; legacy content links expire at the migration deadline. Example body: {"token":"<token from /c/>"}.
|
|
1264
|
+
*/
|
|
1265
|
+
export const fileRevokeContentLink = (options) => (options.client ?? client).post({
|
|
1266
|
+
security: [{
|
|
1267
|
+
key: 'BearerAuth',
|
|
1268
|
+
scheme: 'bearer',
|
|
1269
|
+
type: 'http'
|
|
1270
|
+
}, {
|
|
1271
|
+
key: 'ApiKeyAuth',
|
|
1272
|
+
name: 'X-API-Key',
|
|
1273
|
+
type: 'apiKey'
|
|
1274
|
+
}],
|
|
1275
|
+
url: '/file/v1/files/{file_id}/content_links:revoke',
|
|
1276
|
+
...options,
|
|
1277
|
+
headers: {
|
|
1278
|
+
'Content-Type': 'application/json',
|
|
1279
|
+
...options.headers
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1238
1282
|
/**
|
|
1239
1283
|
* Health Check
|
|
1240
1284
|
*
|
|
@@ -1389,6 +1433,28 @@ export const remixVideo = (options) => (options.client ?? client).post({
|
|
|
1389
1433
|
url: '/model/v1/videos/{video_id}/remix',
|
|
1390
1434
|
...options
|
|
1391
1435
|
});
|
|
1436
|
+
/**
|
|
1437
|
+
* Ask structured decision questions
|
|
1438
|
+
*
|
|
1439
|
+
* Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.
|
|
1440
|
+
*/
|
|
1441
|
+
export const createSystemone = (options) => (options.client ?? client).post({
|
|
1442
|
+
security: [{
|
|
1443
|
+
key: 'BearerAuth',
|
|
1444
|
+
scheme: 'bearer',
|
|
1445
|
+
type: 'http'
|
|
1446
|
+
}, {
|
|
1447
|
+
key: 'ApiKeyAuth',
|
|
1448
|
+
name: 'X-API-Key',
|
|
1449
|
+
type: 'apiKey'
|
|
1450
|
+
}],
|
|
1451
|
+
url: '/model/v1/systemone',
|
|
1452
|
+
...options,
|
|
1453
|
+
headers: {
|
|
1454
|
+
'Content-Type': 'application/json',
|
|
1455
|
+
...options.headers
|
|
1456
|
+
}
|
|
1457
|
+
});
|
|
1392
1458
|
/**
|
|
1393
1459
|
* Transcribe audio
|
|
1394
1460
|
*
|
|
@@ -2482,7 +2548,7 @@ export const agentsList = (options) => (options?.client ?? client).get({
|
|
|
2482
2548
|
/**
|
|
2483
2549
|
* Create agent
|
|
2484
2550
|
*
|
|
2485
|
-
* Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}. For kind assume, provide name
|
|
2551
|
+
* Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; omit computer_id to register a new computer named after the agent without starting an instance, or provide an existing computer_id; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.
|
|
2486
2552
|
*/
|
|
2487
2553
|
export const agentsCreate = (options) => (options.client ?? client).post({
|
|
2488
2554
|
security: [{
|
|
@@ -5150,6 +5216,122 @@ export const automationHumanTasksDelegate = (options) => (options.client ?? clie
|
|
|
5150
5216
|
...options.headers
|
|
5151
5217
|
}
|
|
5152
5218
|
});
|
|
5219
|
+
/**
|
|
5220
|
+
* List script vault bindings
|
|
5221
|
+
*
|
|
5222
|
+
* Inspect the whole vaults attached to a saved script, including archived definitions, without reading secret values. Obtain ns and name from automation.scripts.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.
|
|
5223
|
+
*/
|
|
5224
|
+
export const automationScriptsVaultsList = (options) => (options.client ?? client).get({
|
|
5225
|
+
security: [{
|
|
5226
|
+
key: 'BearerAuth',
|
|
5227
|
+
scheme: 'bearer',
|
|
5228
|
+
type: 'http'
|
|
5229
|
+
}, {
|
|
5230
|
+
key: 'ApiKeyAuth',
|
|
5231
|
+
name: 'X-API-Key',
|
|
5232
|
+
type: 'apiKey'
|
|
5233
|
+
}],
|
|
5234
|
+
url: '/automation/v1/scripts/{ns}/{name}/vaults',
|
|
5235
|
+
...options
|
|
5236
|
+
});
|
|
5237
|
+
/**
|
|
5238
|
+
* Delete a script vault binding
|
|
5239
|
+
*
|
|
5240
|
+
* Remove the vault assignment from this saved script without deleting the vault or its secrets. Obtain aliases from automation.scripts.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.
|
|
5241
|
+
*/
|
|
5242
|
+
export const automationScriptsVaultsDelete = (options) => (options.client ?? client).delete({
|
|
5243
|
+
security: [{
|
|
5244
|
+
key: 'BearerAuth',
|
|
5245
|
+
scheme: 'bearer',
|
|
5246
|
+
type: 'http'
|
|
5247
|
+
}, {
|
|
5248
|
+
key: 'ApiKeyAuth',
|
|
5249
|
+
name: 'X-API-Key',
|
|
5250
|
+
type: 'apiKey'
|
|
5251
|
+
}],
|
|
5252
|
+
url: '/automation/v1/scripts/{ns}/{name}/vaults/{alias}',
|
|
5253
|
+
...options
|
|
5254
|
+
});
|
|
5255
|
+
/**
|
|
5256
|
+
* Set a script vault binding
|
|
5257
|
+
*
|
|
5258
|
+
* Attach an entire active vault in your organization to a saved script, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {"vault":"Production"}.
|
|
5259
|
+
*/
|
|
5260
|
+
export const automationScriptsVaultsSet = (options) => (options.client ?? client).put({
|
|
5261
|
+
security: [{
|
|
5262
|
+
key: 'BearerAuth',
|
|
5263
|
+
scheme: 'bearer',
|
|
5264
|
+
type: 'http'
|
|
5265
|
+
}, {
|
|
5266
|
+
key: 'ApiKeyAuth',
|
|
5267
|
+
name: 'X-API-Key',
|
|
5268
|
+
type: 'apiKey'
|
|
5269
|
+
}],
|
|
5270
|
+
url: '/automation/v1/scripts/{ns}/{name}/vaults/{alias}',
|
|
5271
|
+
...options,
|
|
5272
|
+
headers: {
|
|
5273
|
+
'Content-Type': 'application/json',
|
|
5274
|
+
...options.headers
|
|
5275
|
+
}
|
|
5276
|
+
});
|
|
5277
|
+
/**
|
|
5278
|
+
* List workflow vault bindings
|
|
5279
|
+
*
|
|
5280
|
+
* Inspect the whole vaults attached to a saved workflow, including archived definitions, without reading secret values. Obtain ns and name from automation.workflows.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.
|
|
5281
|
+
*/
|
|
5282
|
+
export const automationWorkflowsVaultsList = (options) => (options.client ?? client).get({
|
|
5283
|
+
security: [{
|
|
5284
|
+
key: 'BearerAuth',
|
|
5285
|
+
scheme: 'bearer',
|
|
5286
|
+
type: 'http'
|
|
5287
|
+
}, {
|
|
5288
|
+
key: 'ApiKeyAuth',
|
|
5289
|
+
name: 'X-API-Key',
|
|
5290
|
+
type: 'apiKey'
|
|
5291
|
+
}],
|
|
5292
|
+
url: '/automation/v1/workflows/{ns}/{name}/vaults',
|
|
5293
|
+
...options
|
|
5294
|
+
});
|
|
5295
|
+
/**
|
|
5296
|
+
* Delete a workflow vault binding
|
|
5297
|
+
*
|
|
5298
|
+
* Remove the vault assignment from this saved workflow without deleting the vault or its secrets. Obtain aliases from automation.workflows.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.
|
|
5299
|
+
*/
|
|
5300
|
+
export const automationWorkflowsVaultsDelete = (options) => (options.client ?? client).delete({
|
|
5301
|
+
security: [{
|
|
5302
|
+
key: 'BearerAuth',
|
|
5303
|
+
scheme: 'bearer',
|
|
5304
|
+
type: 'http'
|
|
5305
|
+
}, {
|
|
5306
|
+
key: 'ApiKeyAuth',
|
|
5307
|
+
name: 'X-API-Key',
|
|
5308
|
+
type: 'apiKey'
|
|
5309
|
+
}],
|
|
5310
|
+
url: '/automation/v1/workflows/{ns}/{name}/vaults/{alias}',
|
|
5311
|
+
...options
|
|
5312
|
+
});
|
|
5313
|
+
/**
|
|
5314
|
+
* Set a workflow vault binding
|
|
5315
|
+
*
|
|
5316
|
+
* Attach an entire active vault in your organization to a saved workflow, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {"vault":"Production"}.
|
|
5317
|
+
*/
|
|
5318
|
+
export const automationWorkflowsVaultsSet = (options) => (options.client ?? client).put({
|
|
5319
|
+
security: [{
|
|
5320
|
+
key: 'BearerAuth',
|
|
5321
|
+
scheme: 'bearer',
|
|
5322
|
+
type: 'http'
|
|
5323
|
+
}, {
|
|
5324
|
+
key: 'ApiKeyAuth',
|
|
5325
|
+
name: 'X-API-Key',
|
|
5326
|
+
type: 'apiKey'
|
|
5327
|
+
}],
|
|
5328
|
+
url: '/automation/v1/workflows/{ns}/{name}/vaults/{alias}',
|
|
5329
|
+
...options,
|
|
5330
|
+
headers: {
|
|
5331
|
+
'Content-Type': 'application/json',
|
|
5332
|
+
...options.headers
|
|
5333
|
+
}
|
|
5334
|
+
});
|
|
5153
5335
|
/**
|
|
5154
5336
|
* List canvases
|
|
5155
5337
|
*
|
|
@@ -5267,6 +5449,440 @@ export const canvasExecute = (options) => (options.client ?? client).post({
|
|
|
5267
5449
|
...options.headers
|
|
5268
5450
|
}
|
|
5269
5451
|
});
|
|
5452
|
+
/**
|
|
5453
|
+
* List projects
|
|
5454
|
+
*
|
|
5455
|
+
* Discover projects owned by the API key organization and obtain project_id values. Results default to active projects ordered by updateTime descending; use filter state = "deleted" to find retained deleted projects for undelete. Continue with next_page_token as page_token until the token is absent.
|
|
5456
|
+
*/
|
|
5457
|
+
export const cutListProjects = (options) => (options?.client ?? client).get({
|
|
5458
|
+
security: [{
|
|
5459
|
+
key: 'BearerAuth',
|
|
5460
|
+
scheme: 'bearer',
|
|
5461
|
+
type: 'http'
|
|
5462
|
+
}, {
|
|
5463
|
+
key: 'ApiKeyAuth',
|
|
5464
|
+
name: 'X-API-Key',
|
|
5465
|
+
type: 'apiKey'
|
|
5466
|
+
}],
|
|
5467
|
+
url: '/cut/v1/projects',
|
|
5468
|
+
...options
|
|
5469
|
+
});
|
|
5470
|
+
/**
|
|
5471
|
+
* Create project
|
|
5472
|
+
*
|
|
5473
|
+
* Create a blank editing project in the API key organization before writing a script. First obtain accessible library ids from praxis.media; bindings must include exactly one read_write library with default_upload true. Each call creates a new project and returns HTTP 201; save its id for execute, state and timeline calls. All editing positions use seconds.
|
|
5474
|
+
*/
|
|
5475
|
+
export const cutCreateProject = (options) => (options.client ?? client).post({
|
|
5476
|
+
security: [{
|
|
5477
|
+
key: 'BearerAuth',
|
|
5478
|
+
scheme: 'bearer',
|
|
5479
|
+
type: 'http'
|
|
5480
|
+
}, {
|
|
5481
|
+
key: 'ApiKeyAuth',
|
|
5482
|
+
name: 'X-API-Key',
|
|
5483
|
+
type: 'apiKey'
|
|
5484
|
+
}],
|
|
5485
|
+
url: '/cut/v1/projects',
|
|
5486
|
+
...options,
|
|
5487
|
+
headers: {
|
|
5488
|
+
'Content-Type': 'application/json',
|
|
5489
|
+
...options.headers
|
|
5490
|
+
}
|
|
5491
|
+
});
|
|
5492
|
+
/**
|
|
5493
|
+
* Delete project
|
|
5494
|
+
*
|
|
5495
|
+
* Soft-delete a project selected from projects.list. The project is retained for seven days until purge_time and can be restored with undelete before that deadline. Deleted projects cannot be edited; list with filter state = "deleted" to locate retained projects.
|
|
5496
|
+
*/
|
|
5497
|
+
export const cutDeleteProject = (options) => (options.client ?? client).delete({
|
|
5498
|
+
security: [{
|
|
5499
|
+
key: 'BearerAuth',
|
|
5500
|
+
scheme: 'bearer',
|
|
5501
|
+
type: 'http'
|
|
5502
|
+
}, {
|
|
5503
|
+
key: 'ApiKeyAuth',
|
|
5504
|
+
name: 'X-API-Key',
|
|
5505
|
+
type: 'apiKey'
|
|
5506
|
+
}],
|
|
5507
|
+
url: '/cut/v1/projects/{project_id}',
|
|
5508
|
+
...options
|
|
5509
|
+
});
|
|
5510
|
+
/**
|
|
5511
|
+
* Retrieve project
|
|
5512
|
+
*
|
|
5513
|
+
* Inspect project metadata, settings and library bindings before editing. Copy id from projects.create or list; expand=timeline,exports,versions includes selected related resources. The expanded timeline uses seconds and the returned revision can guard a later execute call with expected_revision.
|
|
5514
|
+
*/
|
|
5515
|
+
export const cutRetrieveProject = (options) => (options.client ?? client).get({
|
|
5516
|
+
security: [{
|
|
5517
|
+
key: 'BearerAuth',
|
|
5518
|
+
scheme: 'bearer',
|
|
5519
|
+
type: 'http'
|
|
5520
|
+
}, {
|
|
5521
|
+
key: 'ApiKeyAuth',
|
|
5522
|
+
name: 'X-API-Key',
|
|
5523
|
+
type: 'apiKey'
|
|
5524
|
+
}],
|
|
5525
|
+
url: '/cut/v1/projects/{project_id}',
|
|
5526
|
+
...options
|
|
5527
|
+
});
|
|
5528
|
+
/**
|
|
5529
|
+
* Update project metadata
|
|
5530
|
+
*
|
|
5531
|
+
* Change the project display name or replace its labels by naming those fields in update_mask. Use execute for clip or track edits. Each successful update commits a new revision; labels are replaced as a whole when selected, so read and merge existing labels before overwriting them.
|
|
5532
|
+
*/
|
|
5533
|
+
export const cutUpdateProject = (options) => (options.client ?? client).patch({
|
|
5534
|
+
security: [{
|
|
5535
|
+
key: 'BearerAuth',
|
|
5536
|
+
scheme: 'bearer',
|
|
5537
|
+
type: 'http'
|
|
5538
|
+
}, {
|
|
5539
|
+
key: 'ApiKeyAuth',
|
|
5540
|
+
name: 'X-API-Key',
|
|
5541
|
+
type: 'apiKey'
|
|
5542
|
+
}],
|
|
5543
|
+
url: '/cut/v1/projects/{project_id}',
|
|
5544
|
+
...options,
|
|
5545
|
+
headers: {
|
|
5546
|
+
'Content-Type': 'application/json',
|
|
5547
|
+
...options.headers
|
|
5548
|
+
}
|
|
5549
|
+
});
|
|
5550
|
+
/**
|
|
5551
|
+
* Restore deleted project
|
|
5552
|
+
*
|
|
5553
|
+
* Return a retained deleted project to active state before its purge_time. Obtain project_id from projects.list filtered to deleted projects. This restores the project, not an older timeline revision; use versions.restore when reverting editing content.
|
|
5554
|
+
*/
|
|
5555
|
+
export const cutUndeleteProject = (options) => (options.client ?? client).post({
|
|
5556
|
+
security: [{
|
|
5557
|
+
key: 'BearerAuth',
|
|
5558
|
+
scheme: 'bearer',
|
|
5559
|
+
type: 'http'
|
|
5560
|
+
}, {
|
|
5561
|
+
key: 'ApiKeyAuth',
|
|
5562
|
+
name: 'X-API-Key',
|
|
5563
|
+
type: 'apiKey'
|
|
5564
|
+
}],
|
|
5565
|
+
url: '/cut/v1/projects/{project_id}:undelete',
|
|
5566
|
+
...options
|
|
5567
|
+
});
|
|
5568
|
+
/**
|
|
5569
|
+
* Execute editing script
|
|
5570
|
+
*
|
|
5571
|
+
* Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Use AddTrack, Insert, Update, Delete, Split, Trim, Move, RippleDeleteRange, UpdateTrack, DeleteTrack, SetSettings, AddCaptionsFromTranscript and SetMarker for writes; GetTimeline, GetItem, FindItems, GetMedia, GetTranscript and GetAnalysis read editing context; Print emits text and Preview requests frame previews. All script times are seconds; script object fields use camelCase, for example `media: {libraryId, assetId}`. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project:
|
|
5572
|
+
*
|
|
5573
|
+
* ```js
|
|
5574
|
+
* const t = AddTrack("video");
|
|
5575
|
+
* Insert(t, {type: "color", color: "#123456", start: 0, length: 3});
|
|
5576
|
+
* Print(t);
|
|
5577
|
+
* ```
|
|
5578
|
+
*/
|
|
5579
|
+
export const cutExecute = (options) => (options.client ?? client).post({
|
|
5580
|
+
security: [{
|
|
5581
|
+
key: 'BearerAuth',
|
|
5582
|
+
scheme: 'bearer',
|
|
5583
|
+
type: 'http'
|
|
5584
|
+
}, {
|
|
5585
|
+
key: 'ApiKeyAuth',
|
|
5586
|
+
name: 'X-API-Key',
|
|
5587
|
+
type: 'apiKey'
|
|
5588
|
+
}],
|
|
5589
|
+
url: '/cut/v1/projects/{project_id}:execute',
|
|
5590
|
+
...options,
|
|
5591
|
+
headers: {
|
|
5592
|
+
'Content-Type': 'application/json',
|
|
5593
|
+
...options.headers
|
|
5594
|
+
}
|
|
5595
|
+
});
|
|
5596
|
+
/**
|
|
5597
|
+
* Read editing state
|
|
5598
|
+
*
|
|
5599
|
+
* Read lightweight project context before composing an execute script. Returns current revision, rendering settings, track counts, library bindings and offline media count without individual clips. For complete clip documents or a selected time range, read timeline instead.
|
|
5600
|
+
*/
|
|
5601
|
+
export const cutRetrieveState = (options) => (options.client ?? client).get({
|
|
5602
|
+
security: [{
|
|
5603
|
+
key: 'BearerAuth',
|
|
5604
|
+
scheme: 'bearer',
|
|
5605
|
+
type: 'http'
|
|
5606
|
+
}, {
|
|
5607
|
+
key: 'ApiKeyAuth',
|
|
5608
|
+
name: 'X-API-Key',
|
|
5609
|
+
type: 'apiKey'
|
|
5610
|
+
}],
|
|
5611
|
+
url: '/cut/v1/projects/{project_id}/state',
|
|
5612
|
+
...options
|
|
5613
|
+
});
|
|
5614
|
+
/**
|
|
5615
|
+
* Read project timeline
|
|
5616
|
+
*
|
|
5617
|
+
* Inspect clips and markers in a selected project range before editing. view=full returns structured tracks with all timeline positions in seconds; view=compact returns compact text for script context. from and to are seconds and tracks limits the selection to comma-separated track ids from state. Concurrent changes while preparing a full timeline return 409; retrieve the latest state and try the read again.
|
|
5618
|
+
*/
|
|
5619
|
+
export const cutRetrieveTimeline = (options) => (options.client ?? client).get({
|
|
5620
|
+
security: [{
|
|
5621
|
+
key: 'BearerAuth',
|
|
5622
|
+
scheme: 'bearer',
|
|
5623
|
+
type: 'http'
|
|
5624
|
+
}, {
|
|
5625
|
+
key: 'ApiKeyAuth',
|
|
5626
|
+
name: 'X-API-Key',
|
|
5627
|
+
type: 'apiKey'
|
|
5628
|
+
}],
|
|
5629
|
+
url: '/cut/v1/projects/{project_id}/timeline',
|
|
5630
|
+
...options
|
|
5631
|
+
});
|
|
5632
|
+
/**
|
|
5633
|
+
* Render preview frames
|
|
5634
|
+
*
|
|
5635
|
+
* Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Fetch the returned image URLs before expires_at; render again when they expire.
|
|
5636
|
+
*/
|
|
5637
|
+
export const cutListFrames = (options) => (options.client ?? client).get({
|
|
5638
|
+
security: [{
|
|
5639
|
+
key: 'BearerAuth',
|
|
5640
|
+
scheme: 'bearer',
|
|
5641
|
+
type: 'http'
|
|
5642
|
+
}, {
|
|
5643
|
+
key: 'ApiKeyAuth',
|
|
5644
|
+
name: 'X-API-Key',
|
|
5645
|
+
type: 'apiKey'
|
|
5646
|
+
}],
|
|
5647
|
+
url: '/cut/v1/projects/{project_id}/frames',
|
|
5648
|
+
...options
|
|
5649
|
+
});
|
|
5650
|
+
/**
|
|
5651
|
+
* Analyze project media
|
|
5652
|
+
*
|
|
5653
|
+
* Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible.
|
|
5654
|
+
*/
|
|
5655
|
+
export const cutCreateAnalysis = (options) => (options.client ?? client).post({
|
|
5656
|
+
security: [{
|
|
5657
|
+
key: 'BearerAuth',
|
|
5658
|
+
scheme: 'bearer',
|
|
5659
|
+
type: 'http'
|
|
5660
|
+
}, {
|
|
5661
|
+
key: 'ApiKeyAuth',
|
|
5662
|
+
name: 'X-API-Key',
|
|
5663
|
+
type: 'apiKey'
|
|
5664
|
+
}],
|
|
5665
|
+
url: '/cut/v1/projects/{project_id}/analysis',
|
|
5666
|
+
...options,
|
|
5667
|
+
headers: {
|
|
5668
|
+
'Content-Type': 'application/json',
|
|
5669
|
+
...options.headers
|
|
5670
|
+
}
|
|
5671
|
+
});
|
|
5672
|
+
/**
|
|
5673
|
+
* List library bindings
|
|
5674
|
+
*
|
|
5675
|
+
* Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.
|
|
5676
|
+
*/
|
|
5677
|
+
export const cutListBindings = (options) => (options.client ?? client).get({
|
|
5678
|
+
security: [{
|
|
5679
|
+
key: 'BearerAuth',
|
|
5680
|
+
scheme: 'bearer',
|
|
5681
|
+
type: 'http'
|
|
5682
|
+
}, {
|
|
5683
|
+
key: 'ApiKeyAuth',
|
|
5684
|
+
name: 'X-API-Key',
|
|
5685
|
+
type: 'apiKey'
|
|
5686
|
+
}],
|
|
5687
|
+
url: '/cut/v1/projects/{project_id}/bindings',
|
|
5688
|
+
...options
|
|
5689
|
+
});
|
|
5690
|
+
/**
|
|
5691
|
+
* Bind media library
|
|
5692
|
+
*
|
|
5693
|
+
* Attach an accessible media library to an existing project under a unique name. Obtain library_id from praxis.media and choose read for source-only access or read_write for imports and exports. The project must retain exactly one read_write binding with default_upload true after the change.
|
|
5694
|
+
*/
|
|
5695
|
+
export const cutCreateBinding = (options) => (options.client ?? client).post({
|
|
5696
|
+
security: [{
|
|
5697
|
+
key: 'BearerAuth',
|
|
5698
|
+
scheme: 'bearer',
|
|
5699
|
+
type: 'http'
|
|
5700
|
+
}, {
|
|
5701
|
+
key: 'ApiKeyAuth',
|
|
5702
|
+
name: 'X-API-Key',
|
|
5703
|
+
type: 'apiKey'
|
|
5704
|
+
}],
|
|
5705
|
+
url: '/cut/v1/projects/{project_id}/bindings',
|
|
5706
|
+
...options,
|
|
5707
|
+
headers: {
|
|
5708
|
+
'Content-Type': 'application/json',
|
|
5709
|
+
...options.headers
|
|
5710
|
+
}
|
|
5711
|
+
});
|
|
5712
|
+
/**
|
|
5713
|
+
* Remove library binding
|
|
5714
|
+
*
|
|
5715
|
+
* Detach a library alias obtained from bindings.list after removing all timeline clips that reference its library. BINDING_IN_USE returns 409 while references remain; inspect timeline and edit those clips first. Removal must preserve the one writable default upload binding.
|
|
5716
|
+
*/
|
|
5717
|
+
export const cutDeleteBinding = (options) => (options.client ?? client).delete({
|
|
5718
|
+
security: [{
|
|
5719
|
+
key: 'BearerAuth',
|
|
5720
|
+
scheme: 'bearer',
|
|
5721
|
+
type: 'http'
|
|
5722
|
+
}, {
|
|
5723
|
+
key: 'ApiKeyAuth',
|
|
5724
|
+
name: 'X-API-Key',
|
|
5725
|
+
type: 'apiKey'
|
|
5726
|
+
}],
|
|
5727
|
+
url: '/cut/v1/projects/{project_id}/bindings/{name}',
|
|
5728
|
+
...options
|
|
5729
|
+
});
|
|
5730
|
+
/**
|
|
5731
|
+
* Import project media
|
|
5732
|
+
*
|
|
5733
|
+
* Import a URL, data URI or existing file into a writable project media library. Select binding from bindings.list or omit it to use default_upload. Save library_id and asset_id from the result and use them as libraryId and assetId inside execute script media references; overwrites follow the source asset latest version.
|
|
5734
|
+
*/
|
|
5735
|
+
export const cutImportMedia = (options) => (options.client ?? client).post({
|
|
5736
|
+
security: [{
|
|
5737
|
+
key: 'BearerAuth',
|
|
5738
|
+
scheme: 'bearer',
|
|
5739
|
+
type: 'http'
|
|
5740
|
+
}, {
|
|
5741
|
+
key: 'ApiKeyAuth',
|
|
5742
|
+
name: 'X-API-Key',
|
|
5743
|
+
type: 'apiKey'
|
|
5744
|
+
}],
|
|
5745
|
+
url: '/cut/v1/projects/{project_id}/media:import',
|
|
5746
|
+
...options,
|
|
5747
|
+
headers: {
|
|
5748
|
+
'Content-Type': 'application/json',
|
|
5749
|
+
...options.headers
|
|
5750
|
+
}
|
|
5751
|
+
});
|
|
5752
|
+
/**
|
|
5753
|
+
* List project exports
|
|
5754
|
+
*
|
|
5755
|
+
* Find export jobs associated with this project before polling or canceling a render. Copy an export id into praxis.cut.exports.retrieve or cancel. Continue with next_page_token as page_token when present; queued or in-progress jobs have not produced a final media asset.
|
|
5756
|
+
*/
|
|
5757
|
+
export const cutListExports = (options) => (options.client ?? client).get({
|
|
5758
|
+
security: [{
|
|
5759
|
+
key: 'BearerAuth',
|
|
5760
|
+
scheme: 'bearer',
|
|
5761
|
+
type: 'http'
|
|
5762
|
+
}, {
|
|
5763
|
+
key: 'ApiKeyAuth',
|
|
5764
|
+
name: 'X-API-Key',
|
|
5765
|
+
type: 'apiKey'
|
|
5766
|
+
}],
|
|
5767
|
+
url: '/cut/v1/projects/{project_id}/exports',
|
|
5768
|
+
...options
|
|
5769
|
+
});
|
|
5770
|
+
/**
|
|
5771
|
+
* Create video export
|
|
5772
|
+
*
|
|
5773
|
+
* Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
|
|
5774
|
+
*/
|
|
5775
|
+
export const cutCreateExport = (options) => (options.client ?? client).post({
|
|
5776
|
+
security: [{
|
|
5777
|
+
key: 'BearerAuth',
|
|
5778
|
+
scheme: 'bearer',
|
|
5779
|
+
type: 'http'
|
|
5780
|
+
}, {
|
|
5781
|
+
key: 'ApiKeyAuth',
|
|
5782
|
+
name: 'X-API-Key',
|
|
5783
|
+
type: 'apiKey'
|
|
5784
|
+
}],
|
|
5785
|
+
url: '/cut/v1/projects/{project_id}/exports',
|
|
5786
|
+
...options,
|
|
5787
|
+
headers: {
|
|
5788
|
+
'Content-Type': 'application/json',
|
|
5789
|
+
...options.headers
|
|
5790
|
+
}
|
|
5791
|
+
});
|
|
5792
|
+
/**
|
|
5793
|
+
* Retrieve video export
|
|
5794
|
+
*
|
|
5795
|
+
* Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.
|
|
5796
|
+
*/
|
|
5797
|
+
export const cutRetrieveExport = (options) => (options.client ?? client).get({
|
|
5798
|
+
security: [{
|
|
5799
|
+
key: 'BearerAuth',
|
|
5800
|
+
scheme: 'bearer',
|
|
5801
|
+
type: 'http'
|
|
5802
|
+
}, {
|
|
5803
|
+
key: 'ApiKeyAuth',
|
|
5804
|
+
name: 'X-API-Key',
|
|
5805
|
+
type: 'apiKey'
|
|
5806
|
+
}],
|
|
5807
|
+
url: '/cut/v1/exports/{export_id}',
|
|
5808
|
+
...options
|
|
5809
|
+
});
|
|
5810
|
+
/**
|
|
5811
|
+
* Cancel video export
|
|
5812
|
+
*
|
|
5813
|
+
* Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.
|
|
5814
|
+
*/
|
|
5815
|
+
export const cutCancelExport = (options) => (options.client ?? client).post({
|
|
5816
|
+
security: [{
|
|
5817
|
+
key: 'BearerAuth',
|
|
5818
|
+
scheme: 'bearer',
|
|
5819
|
+
type: 'http'
|
|
5820
|
+
}, {
|
|
5821
|
+
key: 'ApiKeyAuth',
|
|
5822
|
+
name: 'X-API-Key',
|
|
5823
|
+
type: 'apiKey'
|
|
5824
|
+
}],
|
|
5825
|
+
url: '/cut/v1/exports/{export_id}:cancel',
|
|
5826
|
+
...options
|
|
5827
|
+
});
|
|
5828
|
+
/**
|
|
5829
|
+
* List saved versions
|
|
5830
|
+
*
|
|
5831
|
+
* Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.
|
|
5832
|
+
*/
|
|
5833
|
+
export const cutListVersions = (options) => (options.client ?? client).get({
|
|
5834
|
+
security: [{
|
|
5835
|
+
key: 'BearerAuth',
|
|
5836
|
+
scheme: 'bearer',
|
|
5837
|
+
type: 'http'
|
|
5838
|
+
}, {
|
|
5839
|
+
key: 'ApiKeyAuth',
|
|
5840
|
+
name: 'X-API-Key',
|
|
5841
|
+
type: 'apiKey'
|
|
5842
|
+
}],
|
|
5843
|
+
url: '/cut/v1/projects/{project_id}/versions',
|
|
5844
|
+
...options
|
|
5845
|
+
});
|
|
5846
|
+
/**
|
|
5847
|
+
* Save project version
|
|
5848
|
+
*
|
|
5849
|
+
* Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.
|
|
5850
|
+
*/
|
|
5851
|
+
export const cutCreateVersion = (options) => (options.client ?? client).post({
|
|
5852
|
+
security: [{
|
|
5853
|
+
key: 'BearerAuth',
|
|
5854
|
+
scheme: 'bearer',
|
|
5855
|
+
type: 'http'
|
|
5856
|
+
}, {
|
|
5857
|
+
key: 'ApiKeyAuth',
|
|
5858
|
+
name: 'X-API-Key',
|
|
5859
|
+
type: 'apiKey'
|
|
5860
|
+
}],
|
|
5861
|
+
url: '/cut/v1/projects/{project_id}/versions',
|
|
5862
|
+
...options,
|
|
5863
|
+
headers: {
|
|
5864
|
+
'Content-Type': 'application/json',
|
|
5865
|
+
...options.headers
|
|
5866
|
+
}
|
|
5867
|
+
});
|
|
5868
|
+
/**
|
|
5869
|
+
* Restore saved version
|
|
5870
|
+
*
|
|
5871
|
+
* Replace current editing content with a saved project snapshot selected from projects.versions.list. The restore commits a new transaction and revision while preserving the saved version for future use. Inspect the returned summary and timeline before further editing; a response revision conflict can follow a committed restore, so retrieve current state before retrying.
|
|
5872
|
+
*/
|
|
5873
|
+
export const cutRestoreVersion = (options) => (options.client ?? client).post({
|
|
5874
|
+
security: [{
|
|
5875
|
+
key: 'BearerAuth',
|
|
5876
|
+
scheme: 'bearer',
|
|
5877
|
+
type: 'http'
|
|
5878
|
+
}, {
|
|
5879
|
+
key: 'ApiKeyAuth',
|
|
5880
|
+
name: 'X-API-Key',
|
|
5881
|
+
type: 'apiKey'
|
|
5882
|
+
}],
|
|
5883
|
+
url: '/cut/v1/versions/{version_id}:restore',
|
|
5884
|
+
...options
|
|
5885
|
+
});
|
|
5270
5886
|
/**
|
|
5271
5887
|
* List databases
|
|
5272
5888
|
*
|
|
@@ -6325,6 +6941,24 @@ export const mediaListEvents = (options) => (options.client ?? client).get({
|
|
|
6325
6941
|
url: '/media/v1/libraries/{library_id}/events',
|
|
6326
6942
|
...options
|
|
6327
6943
|
});
|
|
6944
|
+
/**
|
|
6945
|
+
* Create delivery token
|
|
6946
|
+
*
|
|
6947
|
+
* Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is 3600 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.
|
|
6948
|
+
*/
|
|
6949
|
+
export const mediaCreateDeliveryToken = (options) => (options.client ?? client).post({
|
|
6950
|
+
security: [{
|
|
6951
|
+
key: 'media-BearerAuth',
|
|
6952
|
+
scheme: 'bearer',
|
|
6953
|
+
type: 'http'
|
|
6954
|
+
}],
|
|
6955
|
+
url: '/media/v1/libraries/{library_id}/delivery_tokens',
|
|
6956
|
+
...options,
|
|
6957
|
+
headers: {
|
|
6958
|
+
'Content-Type': 'application/json',
|
|
6959
|
+
...options.headers
|
|
6960
|
+
}
|
|
6961
|
+
});
|
|
6328
6962
|
/**
|
|
6329
6963
|
* List sandboxes (v2)
|
|
6330
6964
|
*
|
|
@@ -7200,7 +7834,7 @@ export const vaultListSecrets = (options) => (options.client ?? client).get({
|
|
|
7200
7834
|
/**
|
|
7201
7835
|
* Create secret
|
|
7202
7836
|
*
|
|
7203
|
-
* Store a manually supplied token in an active vault for
|
|
7837
|
+
* Store a manually supplied token in an active vault. Omit allowed_hosts for name-based resolution only; host-based redemption never matches an empty host list. Unlike Anthropic credentials, this native operation takes name and value directly, with optional allowed_hosts and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.
|
|
7204
7838
|
*/
|
|
7205
7839
|
export const vaultCreateSecret = (options) => (options.client ?? client).post({
|
|
7206
7840
|
security: [{
|
|
@@ -7218,7 +7852,7 @@ export const vaultCreateSecret = (options) => (options.client ?? client).post({
|
|
|
7218
7852
|
/**
|
|
7219
7853
|
* Import secrets
|
|
7220
7854
|
*
|
|
7221
|
-
* Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets.
|
|
7855
|
+
* Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets use an empty host list for name-based resolution only.
|
|
7222
7856
|
*/
|
|
7223
7857
|
export const vaultImportSecrets = (options) => (options.client ?? client).post({
|
|
7224
7858
|
security: [{
|
|
@@ -7770,7 +8404,7 @@ export const ticketGetMilestones = (options) => (options?.client ?? client).get(
|
|
|
7770
8404
|
/**
|
|
7771
8405
|
* Create or add milestones
|
|
7772
8406
|
*
|
|
7773
|
-
* 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.
|
|
8407
|
+
* 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. Service authorization applies to the verified human subject.
|
|
7774
8408
|
*/
|
|
7775
8409
|
export const ticketPostMilestones = (options) => (options.client ?? client).post({
|
|
7776
8410
|
security: [{
|
|
@@ -7792,7 +8426,7 @@ export const ticketPostMilestones = (options) => (options.client ?? client).post
|
|
|
7792
8426
|
/**
|
|
7793
8427
|
* Remove milestones
|
|
7794
8428
|
*
|
|
7795
|
-
* 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.
|
|
8429
|
+
* 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. Service authorization applies to the verified human subject.
|
|
7796
8430
|
*/
|
|
7797
8431
|
export const ticketDeleteMilestonesNumber = (options) => (options.client ?? client).delete({
|
|
7798
8432
|
security: [{
|
|
@@ -7828,7 +8462,7 @@ export const ticketGetMilestonesNumber = (options) => (options.client ?? client)
|
|
|
7828
8462
|
/**
|
|
7829
8463
|
* Update milestones
|
|
7830
8464
|
*
|
|
7831
|
-
* 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.
|
|
8465
|
+
* 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. Service authorization applies to the verified human subject.
|
|
7832
8466
|
*/
|
|
7833
8467
|
export const ticketPatchMilestonesNumber = (options) => (options.client ?? client).patch({
|
|
7834
8468
|
security: [{
|