@deepraxis/cli 0.2.0-dev.b9bc446 → 0.2.0-dev.c636c4e

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.
Files changed (3) hide show
  1. package/COMMANDS.md +25 -2
  2. package/dist/praxis.js +1586 -456
  3. package/package.json +1 -1
package/dist/praxis.js CHANGED
@@ -70,7 +70,7 @@ var operations = [
70
70
  resource: "agent.agents",
71
71
  method: "create",
72
72
  summary: "Create agent",
73
- description: `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 and computer_id without model, models, subagent_model, subagents or multiagent; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.`,
73
+ description: `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.`,
74
74
  http: "POST",
75
75
  path: "/agent/v1/agents",
76
76
  streaming: "no",
@@ -3620,7 +3620,7 @@ file at the root of that directory.`
3620
3620
  resource: "application.workers.grants",
3621
3621
  method: "create",
3622
3622
  summary: "Create grant",
3623
- description: "Let this Worker's platform token access one of your databases, folders or knowledge bases.",
3623
+ description: "Record access to an organization-owned database or knowledge base, all organization files (files, id *), or models (models, id *, read only). Each resource and optional alias must be unique within this Worker. Foreign and missing resources both return RESOURCE_NOT_FOUND (404); an unavailable resource service returns PROVIDER_CAPACITY (503, retryable).",
3624
3624
  http: "POST",
3625
3625
  path: "/application/v1/workers/{worker_id}/grants",
3626
3626
  streaming: "no",
@@ -3640,7 +3640,13 @@ file at the root of that directory.`
3640
3640
  name: "resource",
3641
3641
  type: "object",
3642
3642
  required: true,
3643
- description: "Resource to grant."
3643
+ description: "Resource to grant. Each (type, id) may be granted once per Worker; duplicates return GRANT_CONFLICT (409)."
3644
+ },
3645
+ {
3646
+ name: "alias",
3647
+ type: "string",
3648
+ required: false,
3649
+ description: "Optional name, unique within this Worker. Available for reuse after the grant is deleted."
3644
3650
  },
3645
3651
  {
3646
3652
  name: "access",
@@ -3650,7 +3656,7 @@ file at the root of that directory.`
3650
3656
  "read_write"
3651
3657
  ],
3652
3658
  required: true,
3653
- description: "Access level."
3659
+ description: "Access level; models accepts read only."
3654
3660
  }
3655
3661
  ]
3656
3662
  }
@@ -6416,7 +6422,7 @@ file at the root of that directory.`
6416
6422
  resource: "automation.workflows",
6417
6423
  method: "create",
6418
6424
  summary: "Create a workflow",
6419
- description: 'Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax. Save a YAML workflow as an editable draft; this does not validate, publish or run it, so check it with validate (kind=workflow) first. Minimal draft: document with dsl ("1.0.3"), namespace, name and version, plus a do list of steps, for example document: {dsl: "1.0.3", namespace: demo, name: add, version: "1.0.0"} and do: [{first: {call: demo/add-one, with: {n: "${ .n }"}}}]. call: <ns/name> calls an Action directly (bare name for built-ins such as ocr) and with is the Action input; the input contract is at current_revision.input_schema in the get-action response. run: starts a saved script or child workflow. The run input is . in the first step, and expressions are jq written as a whole ${ ... } string. Limits: Action 30 s (run-sandbox 10 min), workflow 24 h by default and 30 days at most, payload 1 MiB. Test the draft by sending its source and language=yaml to praxis.automation.runs.create. Guide: /docs/developers/automation/guides/write-workflow. Error details are in the errors[] of the response (pointer, detail, hint). 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. 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.',
6425
+ description: 'Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax. Save a YAML workflow as an editable draft; this does not validate, publish or run it, so check it with validate (kind=workflow) first. Minimal draft: document with dsl ("1.0.3"), namespace, name and version, plus a do list of steps, for example document: {dsl: "1.0.3", namespace: demo, name: add, version: "1.0.0"} and do: [{first: {call: demo/add-one, with: {n: "${ .n }"}}}]. call: <ns/name> calls an Action directly (bare name for built-ins such as ocr) and with is the Action input; the input contract is at current_revision.input_schema in the get-action response. run: starts a saved script or child workflow. The run input is . in the first step, and expressions are jq written as a whole ${ ... } string. Limits: Action 30 s (run-sandbox 10 min), workflow 24 h by default and 30 days at most, payload 1 MiB. Test the draft by sending its source and language=yaml to praxis.automation.runs.create. To pause for a person, call praxis/approval (it opens a human task; the step output is the decision); agents answer with praxis.automation.humanTasks.respond on behalf of their user. Guide: /docs/developers/automation/guides/approvals Guide: /docs/developers/automation/guides/write-workflow. Error details are in the errors[] of the response (pointer, detail, hint). 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. 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.',
6420
6426
  http: "POST",
6421
6427
  path: "/automation/v1/workflows",
6422
6428
  streaming: "no",
@@ -7566,7 +7572,7 @@ The root variable is document. Synchronous functions are Insert / Copy / Update
7566
7572
  const f = Insert(document, { type: "frame", name: "Hero", width: 1200, layout: "vertical", padding: 48, fill: "#FFFFFF" }); Insert(f, { type: "text", content: "Hello", fontSize: 32, fill: "#111111" }); Print(f)
7567
7573
  \`\`\`
7568
7574
 
7569
- Use viewer_url to watch the result in Console. TakeScreenshot records node ids in screenshots; call images.list with those ids to fetch PNG data URLs. See the [Canvas execute reference](https://deepraxis.com/en/docs/api/native/canvas/execute) for request fields and results, and the [Pencil node schema](https://docs.pencil.dev/core-concepts/pen-files) for node content.
7575
+ Use viewer_url to watch the result in Console. TakeScreenshot records node ids in screenshots; call images.list with those ids to fetch PNG data URLs. See the [Canvas execute reference](https://deepraxis.com/en/docs/api/native/canvas/execute) for request fields and results, and the [Canvas node reference](https://deepraxis.com/en/docs/developers/canvas/nodes) for node content.
7570
7576
 
7571
7577
  A successful write increments version by one. Optionally set expected_version to the version from retrieve or nodes.list; on 409 REVISION_CONFLICT read again, merge your intent and retry with the current version. Every script failure rolls back all writes. On 400 SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED, use error.details.edit_id plus edits to repair and rerun the stored source without resending the entire script; details may include line, column and rejection. On 400 EDIT_EXPIRED the saved script is older than ten minutes: submit a corrected new script. On 429 CANVAS_BUSY, more than four calls are queued for this canvas: wait for pending calls before retrying.
7572
7578
  `,
@@ -7614,53 +7620,85 @@ A successful write increments version by one. Optionally set expected_version to
7614
7620
  }
7615
7621
  },
7616
7622
  {
7617
- resource: "database.databases",
7623
+ resource: "cut.exports",
7624
+ method: "retrieve",
7625
+ summary: "Retrieve video export",
7626
+ description: "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.",
7627
+ http: "GET",
7628
+ path: "/cut/v1/exports/{export_id}",
7629
+ streaming: "no",
7630
+ pagination: false,
7631
+ pathParams: [
7632
+ {
7633
+ name: "export_id",
7634
+ sdkName: "export_id",
7635
+ description: "Export identifier returned by its create or list operation; use the id, not a display name."
7636
+ }
7637
+ ],
7638
+ query: []
7639
+ },
7640
+ {
7641
+ resource: "cut.exports",
7642
+ method: "cancel",
7643
+ summary: "Cancel video export",
7644
+ description: "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.",
7645
+ http: "POST",
7646
+ path: "/cut/v1/exports/{export_id}:cancel",
7647
+ streaming: "no",
7648
+ pagination: false,
7649
+ pathParams: [
7650
+ {
7651
+ name: "export_id",
7652
+ sdkName: "export_id",
7653
+ description: "Export identifier returned by its create or list operation; use the id, not a display name."
7654
+ }
7655
+ ],
7656
+ query: []
7657
+ },
7658
+ {
7659
+ resource: "cut.projects",
7618
7660
  method: "list",
7619
- summary: "List databases",
7620
- description: "Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.",
7661
+ summary: "List projects",
7662
+ description: '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.',
7621
7663
  http: "GET",
7622
- path: "/database/v1/databases",
7664
+ path: "/cut/v1/projects",
7623
7665
  streaming: "no",
7624
- pagination: true,
7666
+ pagination: false,
7625
7667
  pathParams: [],
7626
7668
  query: [
7627
7669
  {
7628
- name: "cursor",
7629
- type: "string",
7670
+ name: "page_size",
7671
+ type: "integer",
7630
7672
  required: false,
7631
- description: "Opaque next_cursor from the previous page."
7673
+ description: "Maximum resources in one page, from 1 to 100; defaults to 50."
7632
7674
  },
7633
7675
  {
7634
- name: "limit",
7635
- type: "integer",
7676
+ name: "page_token",
7677
+ type: "string",
7636
7678
  required: false,
7637
- description: "Page size."
7679
+ description: "Opaque next_page_token from the preceding page; omit on the first request."
7638
7680
  },
7639
7681
  {
7640
- name: "labels",
7641
- type: "object",
7682
+ name: "filter",
7683
+ type: "string",
7642
7684
  required: false,
7643
- description: "Exact label match, encoded as labels[purpose]=docs."
7685
+ description: 'Optional resource filter; projects supports state = "active" or state = "deleted".'
7644
7686
  },
7645
7687
  {
7646
- name: "status",
7688
+ name: "order_by",
7647
7689
  type: "string",
7648
- enum: [
7649
- "active",
7650
- "deleting"
7651
- ],
7652
7690
  required: false,
7653
- description: "Filter by lifecycle state. active (the default when omitted) lists usable databases; deleting lists databases that were deleted and are still inside the seven-day restore window. Any other value returns 400 INVALID_PARAMS."
7691
+ description: "Optional ordering expression; projects supports updateTime desc."
7654
7692
  }
7655
7693
  ]
7656
7694
  },
7657
7695
  {
7658
- resource: "database.databases",
7696
+ resource: "cut.projects",
7659
7697
  method: "create",
7660
- summary: "Create database",
7661
- description: "Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.",
7698
+ summary: "Create project",
7699
+ description: "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.",
7662
7700
  http: "POST",
7663
- path: "/database/v1/databases",
7701
+ path: "/cut/v1/projects",
7664
7702
  streaming: "no",
7665
7703
  pagination: false,
7666
7704
  pathParams: [],
@@ -7672,67 +7710,87 @@ A successful write increments version by one. Optionally set expected_version to
7672
7710
  name: "name",
7673
7711
  type: "string",
7674
7712
  required: true,
7675
- description: "Display name for the database: 1–64 visible characters after trimming; control characters are rejected. It is not an identifier, so later calls still use the returned id."
7713
+ description: "Human-readable project name; required and must contain non-whitespace text."
7676
7714
  },
7677
7715
  {
7678
7716
  name: "labels",
7679
7717
  type: "object",
7680
7718
  required: false,
7681
- description: "Optional string tags to attach, at most 64. Each key starts with a lowercase letter and may use up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -. List calls filter on exact key and value pairs."
7719
+ description: "User-defined string labels for organizing projects; label keys retain their original spelling."
7720
+ },
7721
+ {
7722
+ name: "settings",
7723
+ type: "object",
7724
+ required: true,
7725
+ description: "Dimensions and frame rate for a new editing project."
7726
+ },
7727
+ {
7728
+ name: "bindings",
7729
+ type: "array",
7730
+ itemType: "object",
7731
+ required: true,
7732
+ description: "Accessible library bindings; exactly one read_write entry must have default_upload true."
7682
7733
  }
7683
7734
  ]
7684
7735
  }
7685
7736
  },
7686
7737
  {
7687
- resource: "database.databases",
7738
+ resource: "cut.projects",
7688
7739
  method: "delete",
7689
- summary: "Delete database",
7690
- description: "Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.",
7740
+ summary: "Delete project",
7741
+ description: '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.',
7691
7742
  http: "DELETE",
7692
- path: "/database/v1/databases/{database_id}",
7743
+ path: "/cut/v1/projects/{project_id}",
7693
7744
  streaming: "no",
7694
7745
  pagination: false,
7695
7746
  pathParams: [
7696
7747
  {
7697
- name: "database_id",
7698
- sdkName: "database_id",
7699
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7748
+ name: "project_id",
7749
+ sdkName: "project_id",
7750
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7700
7751
  }
7701
7752
  ],
7702
7753
  query: []
7703
7754
  },
7704
7755
  {
7705
- resource: "database.databases",
7756
+ resource: "cut.projects",
7706
7757
  method: "retrieve",
7707
- summary: "Get database",
7708
- description: "Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.",
7758
+ summary: "Retrieve project",
7759
+ description: "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.",
7709
7760
  http: "GET",
7710
- path: "/database/v1/databases/{database_id}",
7761
+ path: "/cut/v1/projects/{project_id}",
7711
7762
  streaming: "no",
7712
7763
  pagination: false,
7713
7764
  pathParams: [
7714
7765
  {
7715
- name: "database_id",
7716
- sdkName: "database_id",
7717
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7766
+ name: "project_id",
7767
+ sdkName: "project_id",
7768
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7718
7769
  }
7719
7770
  ],
7720
- query: []
7771
+ query: [
7772
+ {
7773
+ name: "expand",
7774
+ type: "string",
7775
+ required: false,
7776
+ description: "Comma-separated expansions: timeline includes clips, exports includes render jobs, versions includes saved snapshots."
7777
+ }
7778
+ ]
7721
7779
  },
7722
7780
  {
7723
- resource: "database.databases",
7781
+ resource: "cut.projects",
7724
7782
  method: "update",
7725
- summary: "Update database",
7726
- description: "Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.",
7783
+ summary: "Update project metadata",
7784
+ description: "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.",
7727
7785
  http: "PATCH",
7728
- path: "/database/v1/databases/{database_id}",
7786
+ path: "/cut/v1/projects/{project_id}",
7729
7787
  streaming: "no",
7730
7788
  pagination: false,
7731
7789
  pathParams: [
7732
7790
  {
7733
- name: "database_id",
7734
- sdkName: "database_id",
7735
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7791
+ name: "project_id",
7792
+ sdkName: "project_id",
7793
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7736
7794
  }
7737
7795
  ],
7738
7796
  query: [],
@@ -7743,109 +7801,756 @@ A successful write increments version by one. Optionally set expected_version to
7743
7801
  name: "name",
7744
7802
  type: "string",
7745
7803
  required: false,
7746
- description: "New display name, 1–64 visible characters after trimming. Omit it to keep the current name."
7804
+ description: "Replacement display name when update_mask includes name."
7747
7805
  },
7748
7806
  {
7749
7807
  name: "labels",
7750
7808
  type: "object",
7751
7809
  required: false,
7752
- description: "Complete replacement label set, not a merge: labels not listed here are removed. Same limits as at creation (at most 64; keys a-z 0-9 _ - starting with a letter; values up to 63 characters of a-z 0-9 _ -). Omit it to keep the current labels."
7810
+ description: "User-defined string labels for organizing projects; label keys retain their original spelling."
7811
+ },
7812
+ {
7813
+ name: "update_mask",
7814
+ type: "array",
7815
+ itemType: "string",
7816
+ enum: [
7817
+ "name",
7818
+ "labels"
7819
+ ],
7820
+ required: true,
7821
+ description: "Metadata fields to replace; name changes the display name and labels replaces all labels."
7753
7822
  }
7754
7823
  ]
7755
7824
  }
7756
7825
  },
7757
7826
  {
7758
- resource: "database.databases.events",
7827
+ resource: "cut.projects.analysis",
7828
+ method: "create",
7829
+ summary: "Analyze project media",
7830
+ description: "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.",
7831
+ http: "POST",
7832
+ path: "/cut/v1/projects/{project_id}/analysis",
7833
+ streaming: "no",
7834
+ pagination: false,
7835
+ pathParams: [
7836
+ {
7837
+ name: "project_id",
7838
+ sdkName: "project_id",
7839
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7840
+ }
7841
+ ],
7842
+ query: [],
7843
+ body: {
7844
+ required: true,
7845
+ fields: [
7846
+ {
7847
+ name: "media",
7848
+ type: "array",
7849
+ itemType: "object",
7850
+ required: false,
7851
+ description: "Bound-library assets to analyze; omission selects project media."
7852
+ },
7853
+ {
7854
+ name: "kinds",
7855
+ type: "array",
7856
+ itemType: "string",
7857
+ enum: [
7858
+ "silence",
7859
+ "filler",
7860
+ "scenes"
7861
+ ],
7862
+ required: true,
7863
+ description: "Analysis types to request for the selected source assets."
7864
+ }
7865
+ ]
7866
+ }
7867
+ },
7868
+ {
7869
+ resource: "cut.projects.bindings",
7759
7870
  method: "list",
7760
- summary: "List events",
7761
- description: "Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.",
7871
+ summary: "List library bindings",
7872
+ description: "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.",
7762
7873
  http: "GET",
7763
- path: "/database/v1/databases/{database_id}/events",
7874
+ path: "/cut/v1/projects/{project_id}/bindings",
7764
7875
  streaming: "no",
7765
7876
  pagination: false,
7766
7877
  pathParams: [
7767
7878
  {
7768
- name: "database_id",
7769
- sdkName: "database_id",
7770
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7879
+ name: "project_id",
7880
+ sdkName: "project_id",
7881
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7882
+ }
7883
+ ],
7884
+ query: []
7885
+ },
7886
+ {
7887
+ resource: "cut.projects.bindings",
7888
+ method: "create",
7889
+ summary: "Bind media library",
7890
+ description: "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.",
7891
+ http: "POST",
7892
+ path: "/cut/v1/projects/{project_id}/bindings",
7893
+ streaming: "no",
7894
+ pagination: false,
7895
+ pathParams: [
7896
+ {
7897
+ name: "project_id",
7898
+ sdkName: "project_id",
7899
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7900
+ }
7901
+ ],
7902
+ query: [],
7903
+ body: {
7904
+ required: true,
7905
+ fields: [
7906
+ {
7907
+ name: "binding",
7908
+ type: "object",
7909
+ required: true,
7910
+ description: "A named project link to a media library. Exactly one read_write binding must be default_upload."
7911
+ }
7912
+ ]
7913
+ }
7914
+ },
7915
+ {
7916
+ resource: "cut.projects.bindings",
7917
+ method: "delete",
7918
+ summary: "Remove library binding",
7919
+ description: "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.",
7920
+ http: "DELETE",
7921
+ path: "/cut/v1/projects/{project_id}/bindings/{name}",
7922
+ streaming: "no",
7923
+ pagination: false,
7924
+ pathParams: [
7925
+ {
7926
+ name: "project_id",
7927
+ sdkName: "project_id",
7928
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7929
+ },
7930
+ {
7931
+ name: "name",
7932
+ sdkName: "name",
7933
+ description: "Project-local binding alias from bindings.list; detach only after removing all clips that reference its library."
7934
+ }
7935
+ ],
7936
+ query: []
7937
+ },
7938
+ {
7939
+ resource: "cut.projects.exports",
7940
+ method: "list",
7941
+ summary: "List project exports",
7942
+ description: "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.",
7943
+ http: "GET",
7944
+ path: "/cut/v1/projects/{project_id}/exports",
7945
+ streaming: "no",
7946
+ pagination: false,
7947
+ pathParams: [
7948
+ {
7949
+ name: "project_id",
7950
+ sdkName: "project_id",
7951
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7771
7952
  }
7772
7953
  ],
7773
7954
  query: [
7774
7955
  {
7775
- name: "after_seq",
7956
+ name: "page_size",
7776
7957
  type: "integer",
7777
7958
  required: false,
7778
- description: "With order=asc, return only events with seq greater than this value. Cannot be combined with before_seq."
7959
+ description: "Maximum resources in one page, from 1 to 100; defaults to 50."
7779
7960
  },
7780
7961
  {
7781
- name: "limit",
7782
- type: "integer",
7962
+ name: "page_token",
7963
+ type: "string",
7783
7964
  required: false,
7784
- description: "Page size."
7965
+ description: "Opaque next_page_token from the preceding page; omit on the first request."
7785
7966
  },
7786
7967
  {
7787
- name: "order",
7968
+ name: "filter",
7788
7969
  type: "string",
7789
- enum: [
7790
- "asc",
7791
- "desc"
7792
- ],
7793
7970
  required: false,
7794
- description: "Sequence order: asc or desc (newest first). Defaults to asc, or to desc when before_seq is supplied."
7971
+ description: 'Optional resource filter; projects supports state = "active" or state = "deleted".'
7795
7972
  },
7796
7973
  {
7797
- name: "before_seq",
7798
- type: "integer",
7974
+ name: "order_by",
7975
+ type: "string",
7799
7976
  required: false,
7800
- description: "Return only events with seq less than this value, newest first; implies order=desc when order is omitted. Cannot be combined with after_seq or order=asc."
7977
+ description: "Optional ordering expression; projects supports updateTime desc."
7801
7978
  }
7802
7979
  ]
7803
7980
  },
7804
7981
  {
7805
- resource: "database.databases.purge",
7982
+ resource: "cut.projects.exports",
7806
7983
  method: "create",
7807
- summary: "Permanently purge database",
7808
- description: "Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.",
7984
+ summary: "Create video export",
7985
+ description: "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.",
7809
7986
  http: "POST",
7810
- path: "/database/v1/databases/{database_id}/purge",
7987
+ path: "/cut/v1/projects/{project_id}/exports",
7811
7988
  streaming: "no",
7812
7989
  pagination: false,
7813
7990
  pathParams: [
7814
7991
  {
7815
- name: "database_id",
7816
- sdkName: "database_id",
7817
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7992
+ name: "project_id",
7993
+ sdkName: "project_id",
7994
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7818
7995
  }
7819
7996
  ],
7820
- query: []
7997
+ query: [],
7998
+ body: {
7999
+ required: true,
8000
+ fields: [
8001
+ {
8002
+ name: "output",
8003
+ type: "object",
8004
+ required: false,
8005
+ description: "Rendering options for an exported video."
8006
+ },
8007
+ {
8008
+ name: "binding",
8009
+ type: "string",
8010
+ required: false,
8011
+ description: "Writable binding name used as the export destination; omission uses default_upload."
8012
+ },
8013
+ {
8014
+ name: "revision",
8015
+ type: "integer",
8016
+ required: false,
8017
+ description: "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
8018
+ }
8019
+ ]
8020
+ }
7821
8021
  },
7822
8022
  {
7823
- resource: "database.databases.rest",
7824
- method: "delete",
7825
- summary: "Delete rows",
7826
- description: "Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.",
7827
- http: "DELETE",
7828
- path: "/database/v1/databases/{database_id}/rest/{table}",
8023
+ resource: "cut.projects.frames",
8024
+ method: "list",
8025
+ summary: "Render preview frames",
8026
+ description: "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.",
8027
+ http: "GET",
8028
+ path: "/cut/v1/projects/{project_id}/frames",
7829
8029
  streaming: "no",
7830
8030
  pagination: false,
7831
8031
  pathParams: [
7832
8032
  {
7833
- name: "database_id",
7834
- sdkName: "database_id",
7835
- description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
7836
- },
7837
- {
7838
- name: "table",
7839
- sdkName: "table",
7840
- description: "table ID or name."
8033
+ name: "project_id",
8034
+ sdkName: "project_id",
8035
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
7841
8036
  }
7842
8037
  ],
7843
8038
  query: [
7844
8039
  {
7845
- name: "select",
8040
+ name: "at",
7846
8041
  type: "string",
7847
- required: false,
7848
- description: "Comma-separated columns; supports *, aliases, JSON paths and link-based embedding. Casts, aggregates, spread and join modifiers are unsupported."
8042
+ required: true,
8043
+ description: "Required comma-separated non-negative project times in seconds, for example 12,15.5."
8044
+ },
8045
+ {
8046
+ name: "scale",
8047
+ type: "number",
8048
+ required: false,
8049
+ description: "Positive image size multiplier; 0.5 renders at half the project dimensions."
8050
+ },
8051
+ {
8052
+ name: "revision",
8053
+ type: "integer",
8054
+ required: false,
8055
+ description: "Optional committed project revision from state or execute; omission selects the current revision."
8056
+ }
8057
+ ]
8058
+ },
8059
+ {
8060
+ resource: "cut.projects.media",
8061
+ method: "import",
8062
+ summary: "Import project media",
8063
+ description: "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.",
8064
+ http: "POST",
8065
+ path: "/cut/v1/projects/{project_id}/media:import",
8066
+ streaming: "no",
8067
+ pagination: false,
8068
+ pathParams: [
8069
+ {
8070
+ name: "project_id",
8071
+ sdkName: "project_id",
8072
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8073
+ }
8074
+ ],
8075
+ query: [],
8076
+ body: {
8077
+ required: true,
8078
+ fields: [
8079
+ {
8080
+ name: "binding",
8081
+ type: "string",
8082
+ required: false,
8083
+ description: "Writable binding name from project bindings; omission uses default_upload."
8084
+ },
8085
+ {
8086
+ name: "source",
8087
+ type: "object",
8088
+ required: true,
8089
+ description: "Exactly one input source for the imported asset."
8090
+ },
8091
+ {
8092
+ name: "display_name",
8093
+ type: "string",
8094
+ required: false,
8095
+ description: "Optional human-readable display name for the new media asset."
8096
+ }
8097
+ ]
8098
+ }
8099
+ },
8100
+ {
8101
+ resource: "cut.projects",
8102
+ method: "retrieveState",
8103
+ summary: "Read editing state",
8104
+ description: "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.",
8105
+ http: "GET",
8106
+ path: "/cut/v1/projects/{project_id}/state",
8107
+ streaming: "no",
8108
+ pagination: false,
8109
+ pathParams: [
8110
+ {
8111
+ name: "project_id",
8112
+ sdkName: "project_id",
8113
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8114
+ }
8115
+ ],
8116
+ query: []
8117
+ },
8118
+ {
8119
+ resource: "cut.projects",
8120
+ method: "retrieveTimeline",
8121
+ summary: "Read project timeline",
8122
+ description: "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.",
8123
+ http: "GET",
8124
+ path: "/cut/v1/projects/{project_id}/timeline",
8125
+ streaming: "no",
8126
+ pagination: false,
8127
+ pathParams: [
8128
+ {
8129
+ name: "project_id",
8130
+ sdkName: "project_id",
8131
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8132
+ }
8133
+ ],
8134
+ query: [
8135
+ {
8136
+ name: "view",
8137
+ type: "string",
8138
+ enum: [
8139
+ "full",
8140
+ "compact"
8141
+ ],
8142
+ required: false,
8143
+ description: "full returns structured clips; compact returns compact textual editing context."
8144
+ },
8145
+ {
8146
+ name: "from",
8147
+ type: "number",
8148
+ required: false,
8149
+ description: "Optional start of the selected project range in seconds; omit for the beginning."
8150
+ },
8151
+ {
8152
+ name: "to",
8153
+ type: "number",
8154
+ required: false,
8155
+ description: "Optional end of the selected project range in seconds; omit for the end."
8156
+ },
8157
+ {
8158
+ name: "tracks",
8159
+ type: "string",
8160
+ required: false,
8161
+ description: "Comma-separated track ids from state to include; omit to include every track."
8162
+ }
8163
+ ]
8164
+ },
8165
+ {
8166
+ resource: "cut.projects.versions",
8167
+ method: "list",
8168
+ summary: "List saved versions",
8169
+ description: "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.",
8170
+ http: "GET",
8171
+ path: "/cut/v1/projects/{project_id}/versions",
8172
+ streaming: "no",
8173
+ pagination: false,
8174
+ pathParams: [
8175
+ {
8176
+ name: "project_id",
8177
+ sdkName: "project_id",
8178
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8179
+ }
8180
+ ],
8181
+ query: [
8182
+ {
8183
+ name: "page_size",
8184
+ type: "integer",
8185
+ required: false,
8186
+ description: "Maximum resources in one page, from 1 to 100; defaults to 50."
8187
+ },
8188
+ {
8189
+ name: "page_token",
8190
+ type: "string",
8191
+ required: false,
8192
+ description: "Opaque next_page_token from the preceding page; omit on the first request."
8193
+ },
8194
+ {
8195
+ name: "filter",
8196
+ type: "string",
8197
+ required: false,
8198
+ description: 'Optional resource filter; projects supports state = "active" or state = "deleted".'
8199
+ },
8200
+ {
8201
+ name: "order_by",
8202
+ type: "string",
8203
+ required: false,
8204
+ description: "Optional ordering expression; projects supports updateTime desc."
8205
+ }
8206
+ ]
8207
+ },
8208
+ {
8209
+ resource: "cut.projects.versions",
8210
+ method: "create",
8211
+ summary: "Save project version",
8212
+ description: "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.",
8213
+ http: "POST",
8214
+ path: "/cut/v1/projects/{project_id}/versions",
8215
+ streaming: "no",
8216
+ pagination: false,
8217
+ pathParams: [
8218
+ {
8219
+ name: "project_id",
8220
+ sdkName: "project_id",
8221
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8222
+ }
8223
+ ],
8224
+ query: [],
8225
+ body: {
8226
+ required: true,
8227
+ fields: [
8228
+ {
8229
+ name: "label",
8230
+ type: "string",
8231
+ required: false,
8232
+ description: "Human-readable snapshot label, such as Before captions."
8233
+ }
8234
+ ]
8235
+ }
8236
+ },
8237
+ {
8238
+ resource: "cut.projects",
8239
+ method: "execute",
8240
+ summary: "Execute editing script",
8241
+ description: '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:\n\n```js\nconst t = AddTrack("video");\nInsert(t, {type: "color", color: "#123456", start: 0, length: 3});\nPrint(t);\n```',
8242
+ http: "POST",
8243
+ path: "/cut/v1/projects/{project_id}:execute",
8244
+ streaming: "no",
8245
+ pagination: false,
8246
+ pathParams: [
8247
+ {
8248
+ name: "project_id",
8249
+ sdkName: "project_id",
8250
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8251
+ }
8252
+ ],
8253
+ query: [],
8254
+ body: {
8255
+ required: true,
8256
+ fields: [
8257
+ {
8258
+ name: "script",
8259
+ type: "string",
8260
+ required: false,
8261
+ description: "Synchronous editing source using Cut execute functions; submit this or edit_id, never both. Script source is opaque: function names and object fields inside JavaScript use their documented camelCase spelling."
8262
+ },
8263
+ {
8264
+ name: "edit_id",
8265
+ type: "string",
8266
+ required: false,
8267
+ description: "Saved failed script identifier from error.details.edit_id; valid for ten minutes."
8268
+ },
8269
+ {
8270
+ name: "edits",
8271
+ type: "array",
8272
+ itemType: "object",
8273
+ required: false,
8274
+ description: "Literal replacements applied to the saved source before rerunning."
8275
+ },
8276
+ {
8277
+ name: "expected_revision",
8278
+ type: "integer",
8279
+ required: false,
8280
+ description: "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
8281
+ }
8282
+ ]
8283
+ }
8284
+ },
8285
+ {
8286
+ resource: "cut.projects",
8287
+ method: "undelete",
8288
+ summary: "Restore deleted project",
8289
+ description: "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.",
8290
+ http: "POST",
8291
+ path: "/cut/v1/projects/{project_id}:undelete",
8292
+ streaming: "no",
8293
+ pagination: false,
8294
+ pathParams: [
8295
+ {
8296
+ name: "project_id",
8297
+ sdkName: "project_id",
8298
+ description: "Project identifier returned by its create or list operation; use the id, not a display name."
8299
+ }
8300
+ ],
8301
+ query: []
8302
+ },
8303
+ {
8304
+ resource: "cut.versions",
8305
+ method: "restore",
8306
+ summary: "Restore saved version",
8307
+ description: "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.",
8308
+ http: "POST",
8309
+ path: "/cut/v1/versions/{version_id}:restore",
8310
+ streaming: "no",
8311
+ pagination: false,
8312
+ pathParams: [
8313
+ {
8314
+ name: "version_id",
8315
+ sdkName: "version_id",
8316
+ description: "Version identifier returned by its create or list operation; use the id, not a display name."
8317
+ }
8318
+ ],
8319
+ query: []
8320
+ },
8321
+ {
8322
+ resource: "database.databases",
8323
+ method: "list",
8324
+ summary: "List databases",
8325
+ description: "Find databases owned by your tenant and obtain their ids for schema or row operations. Excludes deleting by default. status=active or status=deleting selects that state; invalid values return 400 INVALID_PARAMS.",
8326
+ http: "GET",
8327
+ path: "/database/v1/databases",
8328
+ streaming: "no",
8329
+ pagination: true,
8330
+ pathParams: [],
8331
+ query: [
8332
+ {
8333
+ name: "cursor",
8334
+ type: "string",
8335
+ required: false,
8336
+ description: "Opaque next_cursor from the previous page."
8337
+ },
8338
+ {
8339
+ name: "limit",
8340
+ type: "integer",
8341
+ required: false,
8342
+ description: "Page size."
8343
+ },
8344
+ {
8345
+ name: "labels",
8346
+ type: "object",
8347
+ required: false,
8348
+ description: "Exact label match, encoded as labels[purpose]=docs."
8349
+ },
8350
+ {
8351
+ name: "status",
8352
+ type: "string",
8353
+ enum: [
8354
+ "active",
8355
+ "deleting"
8356
+ ],
8357
+ required: false,
8358
+ description: "Filter by lifecycle state. active (the default when omitted) lists usable databases; deleting lists databases that were deleted and are still inside the seven-day restore window. Any other value returns 400 INVALID_PARAMS."
8359
+ }
8360
+ ]
8361
+ },
8362
+ {
8363
+ resource: "database.databases",
8364
+ method: "create",
8365
+ summary: "Create database",
8366
+ description: "Creates an empty database for the caller and returns it with status active (HTTP 201); add tables next with praxis.database.databases.tables.create. name is required and is 1–64 visible characters after trimming. labels are optional string tags (at most 64; each key starts with a lowercase letter and uses up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -) that databaseListDatabases can filter on. If initialization fails the call returns 503 CAPACITY and the half-created database is left with status failed; retry by calling create again, which makes a new database. Unlike Supabase, this creates a SQLite-backed database without a PostgreSQL connection or SQL execution endpoint. Use a Praxis credential; access is scoped to its tenant, not to Supabase Auth users or RLS policies.",
8367
+ http: "POST",
8368
+ path: "/database/v1/databases",
8369
+ streaming: "no",
8370
+ pagination: false,
8371
+ pathParams: [],
8372
+ query: [],
8373
+ body: {
8374
+ required: true,
8375
+ fields: [
8376
+ {
8377
+ name: "name",
8378
+ type: "string",
8379
+ required: true,
8380
+ description: "Display name for the database: 1–64 visible characters after trimming; control characters are rejected. It is not an identifier, so later calls still use the returned id."
8381
+ },
8382
+ {
8383
+ name: "labels",
8384
+ type: "object",
8385
+ required: false,
8386
+ description: "Optional string tags to attach, at most 64. Each key starts with a lowercase letter and may use up to 63 characters of a-z 0-9 _ -; each value is up to 63 characters of a-z 0-9 _ -. List calls filter on exact key and value pairs."
8387
+ }
8388
+ ]
8389
+ }
8390
+ },
8391
+ {
8392
+ resource: "database.databases",
8393
+ method: "delete",
8394
+ summary: "Delete database",
8395
+ description: "Soft-delete a database when it should stop accepting schema and row operations. Idempotently enters deleting with a seven-day purge_at. GET remains available; child operations return 409 until restored.",
8396
+ http: "DELETE",
8397
+ path: "/database/v1/databases/{database_id}",
8398
+ streaming: "no",
8399
+ pagination: false,
8400
+ pathParams: [
8401
+ {
8402
+ name: "database_id",
8403
+ sdkName: "database_id",
8404
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8405
+ }
8406
+ ],
8407
+ query: []
8408
+ },
8409
+ {
8410
+ resource: "database.databases",
8411
+ method: "retrieve",
8412
+ summary: "Get database",
8413
+ description: "Returns one database by id, including a database in the deleting state (purge_at then shows when it will be permanently removed). Call it before table or row operations to confirm status is active: schema and row calls on a deleting database return 409 DATABASE_INVALID_STATE. size_bytes is refreshed from live storage at most once every five seconds. A purged or unknown id returns 404 DATABASE_NOT_FOUND.",
8414
+ http: "GET",
8415
+ path: "/database/v1/databases/{database_id}",
8416
+ streaming: "no",
8417
+ pagination: false,
8418
+ pathParams: [
8419
+ {
8420
+ name: "database_id",
8421
+ sdkName: "database_id",
8422
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8423
+ }
8424
+ ],
8425
+ query: []
8426
+ },
8427
+ {
8428
+ resource: "database.databases",
8429
+ method: "update",
8430
+ summary: "Update database",
8431
+ description: "Renames an active database and/or replaces its labels; send only the keys you want to change. labels is replaced as a whole, not merged, so include every label you want to keep. A body without name or labels, or with values equal to the current ones, changes nothing and leaves updated_at as is. A database in the deleting state returns 409 DATABASE_INVALID_STATE; restore it first with databaseRestoreDatabase.",
8432
+ http: "PATCH",
8433
+ path: "/database/v1/databases/{database_id}",
8434
+ streaming: "no",
8435
+ pagination: false,
8436
+ pathParams: [
8437
+ {
8438
+ name: "database_id",
8439
+ sdkName: "database_id",
8440
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8441
+ }
8442
+ ],
8443
+ query: [],
8444
+ body: {
8445
+ required: true,
8446
+ fields: [
8447
+ {
8448
+ name: "name",
8449
+ type: "string",
8450
+ required: false,
8451
+ description: "New display name, 1–64 visible characters after trimming. Omit it to keep the current name."
8452
+ },
8453
+ {
8454
+ name: "labels",
8455
+ type: "object",
8456
+ required: false,
8457
+ description: "Complete replacement label set, not a merge: labels not listed here are removed. Same limits as at creation (at most 64; keys a-z 0-9 _ - starting with a letter; values up to 63 characters of a-z 0-9 _ -). Omit it to keep the current labels."
8458
+ }
8459
+ ]
8460
+ }
8461
+ },
8462
+ {
8463
+ resource: "database.databases.events",
8464
+ method: "list",
8465
+ summary: "List events",
8466
+ description: "Read lifecycle and schema events, including while the database is deleting. next_cursor is an opaque string cursor (do not do arithmetic on it): pass it as after_seq for asc or before_seq for desc. Supplying both cursors returns 400 INVALID_PARAMS. Unlike Supabase Realtime, this is paged lifecycle and schema history, not a subscription or a row-change feed; row inserts, updates and deletes do not appear here.",
8467
+ http: "GET",
8468
+ path: "/database/v1/databases/{database_id}/events",
8469
+ streaming: "no",
8470
+ pagination: false,
8471
+ pathParams: [
8472
+ {
8473
+ name: "database_id",
8474
+ sdkName: "database_id",
8475
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8476
+ }
8477
+ ],
8478
+ query: [
8479
+ {
8480
+ name: "after_seq",
8481
+ type: "integer",
8482
+ required: false,
8483
+ description: "With order=asc, return only events with seq greater than this value. Cannot be combined with before_seq."
8484
+ },
8485
+ {
8486
+ name: "limit",
8487
+ type: "integer",
8488
+ required: false,
8489
+ description: "Page size."
8490
+ },
8491
+ {
8492
+ name: "order",
8493
+ type: "string",
8494
+ enum: [
8495
+ "asc",
8496
+ "desc"
8497
+ ],
8498
+ required: false,
8499
+ description: "Sequence order: asc or desc (newest first). Defaults to asc, or to desc when before_seq is supplied."
8500
+ },
8501
+ {
8502
+ name: "before_seq",
8503
+ type: "integer",
8504
+ required: false,
8505
+ description: "Return only events with seq less than this value, newest first; implies order=desc when order is omitted. Cannot be combined with after_seq or order=asc."
8506
+ }
8507
+ ]
8508
+ },
8509
+ {
8510
+ resource: "database.databases.purge",
8511
+ method: "create",
8512
+ summary: "Permanently purge database",
8513
+ description: "Immediately and irreversibly purges a deleting database. Active databases return 409; absent or already purged databases return 404.",
8514
+ http: "POST",
8515
+ path: "/database/v1/databases/{database_id}/purge",
8516
+ streaming: "no",
8517
+ pagination: false,
8518
+ pathParams: [
8519
+ {
8520
+ name: "database_id",
8521
+ sdkName: "database_id",
8522
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8523
+ }
8524
+ ],
8525
+ query: []
8526
+ },
8527
+ {
8528
+ resource: "database.databases.rest",
8529
+ method: "delete",
8530
+ summary: "Delete rows",
8531
+ description: "Deletes the rows matched by the filter query parameters (the same filters as databaseSelect); with no filter every row of the table matches. Deletion is immediate and cannot be undone. A row that a link field of another table still references makes the whole call fail with 409 REFERENCE_RESTRICT and nothing is deleted. The default response is 204 with no body; send Prefer: return=representation to get HTTP 200 with the deleted rows.",
8532
+ http: "DELETE",
8533
+ path: "/database/v1/databases/{database_id}/rest/{table}",
8534
+ streaming: "no",
8535
+ pagination: false,
8536
+ pathParams: [
8537
+ {
8538
+ name: "database_id",
8539
+ sdkName: "database_id",
8540
+ description: "Identifier of the database to act on: the id (db_…) returned by databaseCreateDatabase or databaseListDatabases. A display name is not accepted."
8541
+ },
8542
+ {
8543
+ name: "table",
8544
+ sdkName: "table",
8545
+ description: "table ID or name."
8546
+ }
8547
+ ],
8548
+ query: [
8549
+ {
8550
+ name: "select",
8551
+ type: "string",
8552
+ required: false,
8553
+ description: "Comma-separated columns; supports *, aliases, JSON paths and link-based embedding. Casts, aggregates, spread and join modifiers are unsupported."
7849
8554
  },
7850
8555
  {
7851
8556
  name: "{column}",
@@ -12345,7 +13050,8 @@ for more details.`
12345
13050
  "openai.images.edits",
12346
13051
  "openai.images.generations",
12347
13052
  "openai.responses",
12348
- "openai.videos"
13053
+ "openai.videos",
13054
+ "typesafe.systemone"
12349
13055
  ],
12350
13056
  required: false,
12351
13057
  description: "Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values."
@@ -12920,6 +13626,47 @@ for more details.`
12920
13626
  ],
12921
13627
  query: []
12922
13628
  },
13629
+ {
13630
+ resource: "model.systemone",
13631
+ method: "create",
13632
+ summary: "Ask structured decision questions",
13633
+ description: "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.",
13634
+ http: "POST",
13635
+ path: "/model/v1/systemone",
13636
+ streaming: "no",
13637
+ pagination: false,
13638
+ pathParams: [],
13639
+ query: [],
13640
+ body: {
13641
+ required: true,
13642
+ fields: [
13643
+ {
13644
+ name: "model",
13645
+ type: "string",
13646
+ required: true,
13647
+ description: "Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response."
13648
+ },
13649
+ {
13650
+ name: "state",
13651
+ type: "object",
13652
+ required: true,
13653
+ description: "Shared content evaluated by every question, supplied as text, a JSON object or an array."
13654
+ },
13655
+ {
13656
+ name: "questions",
13657
+ type: "object",
13658
+ required: true,
13659
+ description: "Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported."
13660
+ },
13661
+ {
13662
+ name: "assets",
13663
+ type: "object",
13664
+ required: false,
13665
+ description: "Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported."
13666
+ }
13667
+ ]
13668
+ }
13669
+ },
12923
13670
  {
12924
13671
  resource: "model.videos",
12925
13672
  method: "list",
@@ -19448,6 +20195,23 @@ var remixVideo = (options) => (options.client ?? client).post({
19448
20195
  url: "/model/v1/videos/{video_id}/remix",
19449
20196
  ...options
19450
20197
  });
20198
+ var createSystemone = (options) => (options.client ?? client).post({
20199
+ security: [{
20200
+ key: "BearerAuth",
20201
+ scheme: "bearer",
20202
+ type: "http"
20203
+ }, {
20204
+ key: "ApiKeyAuth",
20205
+ name: "X-API-Key",
20206
+ type: "apiKey"
20207
+ }],
20208
+ url: "/model/v1/systemone",
20209
+ ...options,
20210
+ headers: {
20211
+ "Content-Type": "application/json",
20212
+ ...options.headers
20213
+ }
20214
+ });
19451
20215
  var createAudioTranscription = (options) => (options.client ?? client).post({
19452
20216
  ...formDataBodySerializer,
19453
20217
  security: [{
@@ -21019,140 +21783,399 @@ var applicationListDeployments = (options) => (options.client ?? client).get({
21019
21783
  url: "/application/v1/workers/{worker_id}/deployments",
21020
21784
  ...options
21021
21785
  });
21022
- var applicationCreateDeployment = (options) => (options.client ?? client).post({
21786
+ var applicationCreateDeployment = (options) => (options.client ?? client).post({
21787
+ security: [{
21788
+ key: "application-bearerAuth",
21789
+ scheme: "bearer",
21790
+ type: "http"
21791
+ }],
21792
+ url: "/application/v1/workers/{worker_id}/deployments",
21793
+ ...options,
21794
+ headers: {
21795
+ "Content-Type": "application/json",
21796
+ ...options.headers
21797
+ }
21798
+ });
21799
+ var applicationGetDeployment = (options) => (options.client ?? client).get({
21800
+ security: [{
21801
+ key: "application-bearerAuth",
21802
+ scheme: "bearer",
21803
+ type: "http"
21804
+ }],
21805
+ url: "/application/v1/workers/{worker_id}/deployments/{deployment_id}",
21806
+ ...options
21807
+ });
21808
+ var applicationListComponents = (options) => (options.client ?? client).get({
21809
+ security: [{
21810
+ key: "application-bearerAuth",
21811
+ scheme: "bearer",
21812
+ type: "http"
21813
+ }],
21814
+ url: "/application/v1/workers/{worker_id}/components",
21815
+ ...options
21816
+ });
21817
+ var applicationListSecrets = (options) => (options.client ?? client).get({
21818
+ security: [{
21819
+ key: "application-bearerAuth",
21820
+ scheme: "bearer",
21821
+ type: "http"
21822
+ }],
21823
+ url: "/application/v1/workers/{worker_id}/secrets",
21824
+ ...options
21825
+ });
21826
+ var applicationDeleteSecret = (options) => (options.client ?? client).delete({
21827
+ security: [{
21828
+ key: "application-bearerAuth",
21829
+ scheme: "bearer",
21830
+ type: "http"
21831
+ }],
21832
+ url: "/application/v1/workers/{worker_id}/secrets/{name}",
21833
+ ...options
21834
+ });
21835
+ var applicationPutSecret = (options) => (options.client ?? client).put({
21836
+ security: [{
21837
+ key: "application-bearerAuth",
21838
+ scheme: "bearer",
21839
+ type: "http"
21840
+ }],
21841
+ url: "/application/v1/workers/{worker_id}/secrets/{name}",
21842
+ ...options,
21843
+ headers: {
21844
+ "Content-Type": "application/json",
21845
+ ...options.headers
21846
+ }
21847
+ });
21848
+ var applicationListGrants = (options) => (options.client ?? client).get({
21849
+ security: [{
21850
+ key: "application-bearerAuth",
21851
+ scheme: "bearer",
21852
+ type: "http"
21853
+ }],
21854
+ url: "/application/v1/workers/{worker_id}/grants",
21855
+ ...options
21856
+ });
21857
+ var applicationCreateGrant = (options) => (options.client ?? client).post({
21858
+ security: [{
21859
+ key: "application-bearerAuth",
21860
+ scheme: "bearer",
21861
+ type: "http"
21862
+ }],
21863
+ url: "/application/v1/workers/{worker_id}/grants",
21864
+ ...options,
21865
+ headers: {
21866
+ "Content-Type": "application/json",
21867
+ ...options.headers
21868
+ }
21869
+ });
21870
+ var applicationDeleteGrant = (options) => (options.client ?? client).delete({
21871
+ security: [{
21872
+ key: "application-bearerAuth",
21873
+ scheme: "bearer",
21874
+ type: "http"
21875
+ }],
21876
+ url: "/application/v1/workers/{worker_id}/grants/{grant_id}",
21877
+ ...options
21878
+ });
21879
+ var applicationListEvents = (options) => (options.client ?? client).get({
21880
+ security: [{
21881
+ key: "application-bearerAuth",
21882
+ scheme: "bearer",
21883
+ type: "http"
21884
+ }],
21885
+ url: "/application/v1/workers/{worker_id}/events",
21886
+ ...options
21887
+ });
21888
+ var applicationCreateAssetUploadSession = (options) => (options.client ?? client).post({
21889
+ security: [{
21890
+ key: "application-bearerAuth",
21891
+ scheme: "bearer",
21892
+ type: "http"
21893
+ }],
21894
+ url: "/application/v1/workers/{worker_id}/assets-upload-session",
21895
+ ...options,
21896
+ headers: {
21897
+ "Content-Type": "application/json",
21898
+ ...options.headers
21899
+ }
21900
+ });
21901
+ var applicationUploadAssets = (options) => (options.client ?? client).post({
21902
+ security: [{
21903
+ key: "application-bearerAuth",
21904
+ scheme: "bearer",
21905
+ type: "http"
21906
+ }],
21907
+ url: "/application/v1/assets/upload",
21908
+ ...options,
21909
+ headers: {
21910
+ "Content-Type": "application/json",
21911
+ ...options.headers
21912
+ }
21913
+ });
21914
+ var automationActionsList = (options) => (options?.client ?? client).get({
21915
+ querySerializer: { parameters: {
21916
+ namespace: { array: { explode: false } },
21917
+ scope: { array: { explode: false } },
21918
+ implementation: { array: { explode: false } }
21919
+ } },
21920
+ security: [{
21921
+ key: "BearerAuth",
21922
+ scheme: "bearer",
21923
+ type: "http"
21924
+ }, {
21925
+ key: "ApiKeyAuth",
21926
+ name: "X-API-Key",
21927
+ type: "apiKey"
21928
+ }],
21929
+ url: "/automation/v1/actions",
21930
+ ...options
21931
+ });
21932
+ var automationActionsCreate = (options) => (options.client ?? client).post({
21933
+ security: [{
21934
+ key: "BearerAuth",
21935
+ scheme: "bearer",
21936
+ type: "http"
21937
+ }, {
21938
+ key: "ApiKeyAuth",
21939
+ name: "X-API-Key",
21940
+ type: "apiKey"
21941
+ }],
21942
+ url: "/automation/v1/actions",
21943
+ ...options,
21944
+ headers: {
21945
+ "Content-Type": "application/json",
21946
+ ...options.headers
21947
+ }
21948
+ });
21949
+ var automationActionsGet = (options) => (options.client ?? client).get({
21950
+ security: [{
21951
+ key: "BearerAuth",
21952
+ scheme: "bearer",
21953
+ type: "http"
21954
+ }, {
21955
+ key: "ApiKeyAuth",
21956
+ name: "X-API-Key",
21957
+ type: "apiKey"
21958
+ }],
21959
+ url: "/automation/v1/actions/{ns}/{name}",
21960
+ ...options
21961
+ });
21962
+ var automationActionsUpdate = (options) => (options.client ?? client).put({
21963
+ security: [{
21964
+ key: "BearerAuth",
21965
+ scheme: "bearer",
21966
+ type: "http"
21967
+ }, {
21968
+ key: "ApiKeyAuth",
21969
+ name: "X-API-Key",
21970
+ type: "apiKey"
21971
+ }],
21972
+ url: "/automation/v1/actions/{ns}/{name}",
21973
+ ...options,
21974
+ headers: {
21975
+ "Content-Type": "application/json",
21976
+ ...options.headers
21977
+ }
21978
+ });
21979
+ var automationActionsRevisions = (options) => (options.client ?? client).get({
21980
+ security: [{
21981
+ key: "BearerAuth",
21982
+ scheme: "bearer",
21983
+ type: "http"
21984
+ }, {
21985
+ key: "ApiKeyAuth",
21986
+ name: "X-API-Key",
21987
+ type: "apiKey"
21988
+ }],
21989
+ url: "/automation/v1/actions/{ns}/{name}/revisions",
21990
+ ...options
21991
+ });
21992
+ var automationActionsRevision = (options) => (options.client ?? client).get({
21993
+ security: [{
21994
+ key: "BearerAuth",
21995
+ scheme: "bearer",
21996
+ type: "http"
21997
+ }, {
21998
+ key: "ApiKeyAuth",
21999
+ name: "X-API-Key",
22000
+ type: "apiKey"
22001
+ }],
22002
+ url: "/automation/v1/actions/{ns}/{name}/revisions/{revision}",
22003
+ ...options
22004
+ });
22005
+ var automationActionsRollback = (options) => (options.client ?? client).post({
21023
22006
  security: [{
21024
- key: "application-bearerAuth",
22007
+ key: "BearerAuth",
21025
22008
  scheme: "bearer",
21026
22009
  type: "http"
22010
+ }, {
22011
+ key: "ApiKeyAuth",
22012
+ name: "X-API-Key",
22013
+ type: "apiKey"
21027
22014
  }],
21028
- url: "/application/v1/workers/{worker_id}/deployments",
22015
+ url: "/automation/v1/actions/{ns}/{name}/rollback",
21029
22016
  ...options,
21030
22017
  headers: {
21031
22018
  "Content-Type": "application/json",
21032
22019
  ...options.headers
21033
22020
  }
21034
22021
  });
21035
- var applicationGetDeployment = (options) => (options.client ?? client).get({
21036
- security: [{
21037
- key: "application-bearerAuth",
21038
- scheme: "bearer",
21039
- type: "http"
21040
- }],
21041
- url: "/application/v1/workers/{worker_id}/deployments/{deployment_id}",
21042
- ...options
21043
- });
21044
- var applicationListComponents = (options) => (options.client ?? client).get({
22022
+ var automationActionsInvocations = (options) => (options.client ?? client).get({
22023
+ querySerializer: { parameters: { status: { array: { explode: false } } } },
21045
22024
  security: [{
21046
- key: "application-bearerAuth",
22025
+ key: "BearerAuth",
21047
22026
  scheme: "bearer",
21048
22027
  type: "http"
22028
+ }, {
22029
+ key: "ApiKeyAuth",
22030
+ name: "X-API-Key",
22031
+ type: "apiKey"
21049
22032
  }],
21050
- url: "/application/v1/workers/{worker_id}/components",
22033
+ url: "/automation/v1/actions/{ns}/{name}/invocations",
21051
22034
  ...options
21052
22035
  });
21053
- var applicationListSecrets = (options) => (options.client ?? client).get({
22036
+ var automationActionsDependents = (options) => (options.client ?? client).get({
21054
22037
  security: [{
21055
- key: "application-bearerAuth",
22038
+ key: "BearerAuth",
21056
22039
  scheme: "bearer",
21057
22040
  type: "http"
22041
+ }, {
22042
+ key: "ApiKeyAuth",
22043
+ name: "X-API-Key",
22044
+ type: "apiKey"
21058
22045
  }],
21059
- url: "/application/v1/workers/{worker_id}/secrets",
22046
+ url: "/automation/v1/actions/{ns}/{name}/dependents",
21060
22047
  ...options
21061
22048
  });
21062
- var applicationDeleteSecret = (options) => (options.client ?? client).delete({
22049
+ var automationActionsArchive = (options) => (options.client ?? client).post({
21063
22050
  security: [{
21064
- key: "application-bearerAuth",
22051
+ key: "BearerAuth",
21065
22052
  scheme: "bearer",
21066
22053
  type: "http"
22054
+ }, {
22055
+ key: "ApiKeyAuth",
22056
+ name: "X-API-Key",
22057
+ type: "apiKey"
21067
22058
  }],
21068
- url: "/application/v1/workers/{worker_id}/secrets/{name}",
21069
- ...options
22059
+ url: "/automation/v1/actions/{ns}/{name}/archive",
22060
+ ...options,
22061
+ headers: {
22062
+ "Content-Type": "application/json",
22063
+ ...options.headers
22064
+ }
21070
22065
  });
21071
- var applicationPutSecret = (options) => (options.client ?? client).put({
22066
+ var automationActionsRestore = (options) => (options.client ?? client).post({
21072
22067
  security: [{
21073
- key: "application-bearerAuth",
22068
+ key: "BearerAuth",
21074
22069
  scheme: "bearer",
21075
22070
  type: "http"
22071
+ }, {
22072
+ key: "ApiKeyAuth",
22073
+ name: "X-API-Key",
22074
+ type: "apiKey"
21076
22075
  }],
21077
- url: "/application/v1/workers/{worker_id}/secrets/{name}",
22076
+ url: "/automation/v1/actions/{ns}/{name}/restore",
21078
22077
  ...options,
21079
22078
  headers: {
21080
22079
  "Content-Type": "application/json",
21081
22080
  ...options.headers
21082
22081
  }
21083
22082
  });
21084
- var applicationListGrants = (options) => (options.client ?? client).get({
22083
+ var automationScriptsList = (options) => (options?.client ?? client).get({
22084
+ querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
21085
22085
  security: [{
21086
- key: "application-bearerAuth",
22086
+ key: "BearerAuth",
21087
22087
  scheme: "bearer",
21088
22088
  type: "http"
22089
+ }, {
22090
+ key: "ApiKeyAuth",
22091
+ name: "X-API-Key",
22092
+ type: "apiKey"
21089
22093
  }],
21090
- url: "/application/v1/workers/{worker_id}/grants",
22094
+ url: "/automation/v1/scripts",
21091
22095
  ...options
21092
22096
  });
21093
- var applicationCreateGrant = (options) => (options.client ?? client).post({
22097
+ var automationScriptsCreate = (options) => (options.client ?? client).post({
21094
22098
  security: [{
21095
- key: "application-bearerAuth",
22099
+ key: "BearerAuth",
21096
22100
  scheme: "bearer",
21097
22101
  type: "http"
22102
+ }, {
22103
+ key: "ApiKeyAuth",
22104
+ name: "X-API-Key",
22105
+ type: "apiKey"
21098
22106
  }],
21099
- url: "/application/v1/workers/{worker_id}/grants",
22107
+ url: "/automation/v1/scripts",
21100
22108
  ...options,
21101
22109
  headers: {
21102
22110
  "Content-Type": "application/json",
21103
22111
  ...options.headers
21104
22112
  }
21105
22113
  });
21106
- var applicationDeleteGrant = (options) => (options.client ?? client).delete({
22114
+ var automationScriptsGet = (options) => (options.client ?? client).get({
21107
22115
  security: [{
21108
- key: "application-bearerAuth",
22116
+ key: "BearerAuth",
21109
22117
  scheme: "bearer",
21110
22118
  type: "http"
22119
+ }, {
22120
+ key: "ApiKeyAuth",
22121
+ name: "X-API-Key",
22122
+ type: "apiKey"
21111
22123
  }],
21112
- url: "/application/v1/workers/{worker_id}/grants/{grant_id}",
22124
+ url: "/automation/v1/scripts/{ns}/{name}",
21113
22125
  ...options
21114
22126
  });
21115
- var applicationListEvents = (options) => (options.client ?? client).get({
22127
+ var automationScriptsPatch = (options) => (options.client ?? client).patch({
21116
22128
  security: [{
21117
- key: "application-bearerAuth",
22129
+ key: "BearerAuth",
21118
22130
  scheme: "bearer",
21119
22131
  type: "http"
22132
+ }, {
22133
+ key: "ApiKeyAuth",
22134
+ name: "X-API-Key",
22135
+ type: "apiKey"
21120
22136
  }],
21121
- url: "/application/v1/workers/{worker_id}/events",
21122
- ...options
22137
+ url: "/automation/v1/scripts/{ns}/{name}",
22138
+ ...options,
22139
+ headers: {
22140
+ "Content-Type": "application/json",
22141
+ ...options.headers
22142
+ }
21123
22143
  });
21124
- var applicationCreateAssetUploadSession = (options) => (options.client ?? client).post({
22144
+ var automationScriptsArchive = (options) => (options.client ?? client).post({
21125
22145
  security: [{
21126
- key: "application-bearerAuth",
22146
+ key: "BearerAuth",
21127
22147
  scheme: "bearer",
21128
22148
  type: "http"
22149
+ }, {
22150
+ key: "ApiKeyAuth",
22151
+ name: "X-API-Key",
22152
+ type: "apiKey"
21129
22153
  }],
21130
- url: "/application/v1/workers/{worker_id}/assets-upload-session",
22154
+ url: "/automation/v1/scripts/{ns}/{name}/archive",
21131
22155
  ...options,
21132
22156
  headers: {
21133
22157
  "Content-Type": "application/json",
21134
22158
  ...options.headers
21135
22159
  }
21136
22160
  });
21137
- var applicationUploadAssets = (options) => (options.client ?? client).post({
22161
+ var automationScriptsRestore = (options) => (options.client ?? client).post({
21138
22162
  security: [{
21139
- key: "application-bearerAuth",
22163
+ key: "BearerAuth",
21140
22164
  scheme: "bearer",
21141
22165
  type: "http"
22166
+ }, {
22167
+ key: "ApiKeyAuth",
22168
+ name: "X-API-Key",
22169
+ type: "apiKey"
21142
22170
  }],
21143
- url: "/application/v1/assets/upload",
22171
+ url: "/automation/v1/scripts/{ns}/{name}/restore",
21144
22172
  ...options,
21145
22173
  headers: {
21146
22174
  "Content-Type": "application/json",
21147
22175
  ...options.headers
21148
22176
  }
21149
22177
  });
21150
- var automationActionsList = (options) => (options?.client ?? client).get({
21151
- querySerializer: { parameters: {
21152
- namespace: { array: { explode: false } },
21153
- scope: { array: { explode: false } },
21154
- implementation: { array: { explode: false } }
21155
- } },
22178
+ var automationScriptsVersions = (options) => (options.client ?? client).get({
21156
22179
  security: [{
21157
22180
  key: "BearerAuth",
21158
22181
  scheme: "bearer",
@@ -21162,10 +22185,10 @@ var automationActionsList = (options) => (options?.client ?? client).get({
21162
22185
  name: "X-API-Key",
21163
22186
  type: "apiKey"
21164
22187
  }],
21165
- url: "/automation/v1/actions",
22188
+ url: "/automation/v1/scripts/{ns}/{name}/versions",
21166
22189
  ...options
21167
22190
  });
21168
- var automationActionsCreate = (options) => (options.client ?? client).post({
22191
+ var automationScriptsPublish = (options) => (options.client ?? client).post({
21169
22192
  security: [{
21170
22193
  key: "BearerAuth",
21171
22194
  scheme: "bearer",
@@ -21175,14 +22198,14 @@ var automationActionsCreate = (options) => (options.client ?? client).post({
21175
22198
  name: "X-API-Key",
21176
22199
  type: "apiKey"
21177
22200
  }],
21178
- url: "/automation/v1/actions",
22201
+ url: "/automation/v1/scripts/{ns}/{name}/versions",
21179
22202
  ...options,
21180
22203
  headers: {
21181
22204
  "Content-Type": "application/json",
21182
22205
  ...options.headers
21183
22206
  }
21184
22207
  });
21185
- var automationActionsGet = (options) => (options.client ?? client).get({
22208
+ var automationScriptsVersion = (options) => (options.client ?? client).get({
21186
22209
  security: [{
21187
22210
  key: "BearerAuth",
21188
22211
  scheme: "bearer",
@@ -21192,10 +22215,10 @@ var automationActionsGet = (options) => (options.client ?? client).get({
21192
22215
  name: "X-API-Key",
21193
22216
  type: "apiKey"
21194
22217
  }],
21195
- url: "/automation/v1/actions/{ns}/{name}",
22218
+ url: "/automation/v1/scripts/{ns}/{name}/versions/{version}",
21196
22219
  ...options
21197
22220
  });
21198
- var automationActionsUpdate = (options) => (options.client ?? client).put({
22221
+ var automationScriptsDeprecate = (options) => (options.client ?? client).post({
21199
22222
  security: [{
21200
22223
  key: "BearerAuth",
21201
22224
  scheme: "bearer",
@@ -21205,14 +22228,14 @@ var automationActionsUpdate = (options) => (options.client ?? client).put({
21205
22228
  name: "X-API-Key",
21206
22229
  type: "apiKey"
21207
22230
  }],
21208
- url: "/automation/v1/actions/{ns}/{name}",
22231
+ url: "/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate",
21209
22232
  ...options,
21210
22233
  headers: {
21211
22234
  "Content-Type": "application/json",
21212
22235
  ...options.headers
21213
22236
  }
21214
22237
  });
21215
- var automationActionsRevisions = (options) => (options.client ?? client).get({
22238
+ var automationScriptsDistTags = (options) => (options.client ?? client).get({
21216
22239
  security: [{
21217
22240
  key: "BearerAuth",
21218
22241
  scheme: "bearer",
@@ -21222,10 +22245,10 @@ var automationActionsRevisions = (options) => (options.client ?? client).get({
21222
22245
  name: "X-API-Key",
21223
22246
  type: "apiKey"
21224
22247
  }],
21225
- url: "/automation/v1/actions/{ns}/{name}/revisions",
22248
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags",
21226
22249
  ...options
21227
22250
  });
21228
- var automationActionsRevision = (options) => (options.client ?? client).get({
22251
+ var automationScriptsDeleteDistTag = (options) => (options.client ?? client).delete({
21229
22252
  security: [{
21230
22253
  key: "BearerAuth",
21231
22254
  scheme: "bearer",
@@ -21235,10 +22258,10 @@ var automationActionsRevision = (options) => (options.client ?? client).get({
21235
22258
  name: "X-API-Key",
21236
22259
  type: "apiKey"
21237
22260
  }],
21238
- url: "/automation/v1/actions/{ns}/{name}/revisions/{revision}",
22261
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21239
22262
  ...options
21240
22263
  });
21241
- var automationActionsRollback = (options) => (options.client ?? client).post({
22264
+ var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
21242
22265
  security: [{
21243
22266
  key: "BearerAuth",
21244
22267
  scheme: "bearer",
@@ -21248,15 +22271,15 @@ var automationActionsRollback = (options) => (options.client ?? client).post({
21248
22271
  name: "X-API-Key",
21249
22272
  type: "apiKey"
21250
22273
  }],
21251
- url: "/automation/v1/actions/{ns}/{name}/rollback",
22274
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21252
22275
  ...options,
21253
22276
  headers: {
21254
22277
  "Content-Type": "application/json",
21255
22278
  ...options.headers
21256
22279
  }
21257
22280
  });
21258
- var automationActionsInvocations = (options) => (options.client ?? client).get({
21259
- querySerializer: { parameters: { status: { array: { explode: false } } } },
22281
+ var automationWorkflowsList = (options) => (options?.client ?? client).get({
22282
+ querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
21260
22283
  security: [{
21261
22284
  key: "BearerAuth",
21262
22285
  scheme: "bearer",
@@ -21266,10 +22289,10 @@ var automationActionsInvocations = (options) => (options.client ?? client).get({
21266
22289
  name: "X-API-Key",
21267
22290
  type: "apiKey"
21268
22291
  }],
21269
- url: "/automation/v1/actions/{ns}/{name}/invocations",
22292
+ url: "/automation/v1/workflows",
21270
22293
  ...options
21271
22294
  });
21272
- var automationActionsDependents = (options) => (options.client ?? client).get({
22295
+ var automationWorkflowsCreate = (options) => (options.client ?? client).post({
21273
22296
  security: [{
21274
22297
  key: "BearerAuth",
21275
22298
  scheme: "bearer",
@@ -21279,10 +22302,27 @@ var automationActionsDependents = (options) => (options.client ?? client).get({
21279
22302
  name: "X-API-Key",
21280
22303
  type: "apiKey"
21281
22304
  }],
21282
- url: "/automation/v1/actions/{ns}/{name}/dependents",
22305
+ url: "/automation/v1/workflows",
22306
+ ...options,
22307
+ headers: {
22308
+ "Content-Type": "application/json",
22309
+ ...options.headers
22310
+ }
22311
+ });
22312
+ var automationWorkflowsGet = (options) => (options.client ?? client).get({
22313
+ security: [{
22314
+ key: "BearerAuth",
22315
+ scheme: "bearer",
22316
+ type: "http"
22317
+ }, {
22318
+ key: "ApiKeyAuth",
22319
+ name: "X-API-Key",
22320
+ type: "apiKey"
22321
+ }],
22322
+ url: "/automation/v1/workflows/{ns}/{name}",
21283
22323
  ...options
21284
22324
  });
21285
- var automationActionsArchive = (options) => (options.client ?? client).post({
22325
+ var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
21286
22326
  security: [{
21287
22327
  key: "BearerAuth",
21288
22328
  scheme: "bearer",
@@ -21292,14 +22332,14 @@ var automationActionsArchive = (options) => (options.client ?? client).post({
21292
22332
  name: "X-API-Key",
21293
22333
  type: "apiKey"
21294
22334
  }],
21295
- url: "/automation/v1/actions/{ns}/{name}/archive",
22335
+ url: "/automation/v1/workflows/{ns}/{name}",
21296
22336
  ...options,
21297
22337
  headers: {
21298
22338
  "Content-Type": "application/json",
21299
22339
  ...options.headers
21300
22340
  }
21301
22341
  });
21302
- var automationActionsRestore = (options) => (options.client ?? client).post({
22342
+ var automationWorkflowsArchive = (options) => (options.client ?? client).post({
21303
22343
  security: [{
21304
22344
  key: "BearerAuth",
21305
22345
  scheme: "bearer",
@@ -21309,15 +22349,14 @@ var automationActionsRestore = (options) => (options.client ?? client).post({
21309
22349
  name: "X-API-Key",
21310
22350
  type: "apiKey"
21311
22351
  }],
21312
- url: "/automation/v1/actions/{ns}/{name}/restore",
22352
+ url: "/automation/v1/workflows/{ns}/{name}/archive",
21313
22353
  ...options,
21314
22354
  headers: {
21315
22355
  "Content-Type": "application/json",
21316
22356
  ...options.headers
21317
22357
  }
21318
22358
  });
21319
- var automationScriptsList = (options) => (options?.client ?? client).get({
21320
- querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
22359
+ var automationWorkflowsRestore = (options) => (options.client ?? client).post({
21321
22360
  security: [{
21322
22361
  key: "BearerAuth",
21323
22362
  scheme: "bearer",
@@ -21327,10 +22366,27 @@ var automationScriptsList = (options) => (options?.client ?? client).get({
21327
22366
  name: "X-API-Key",
21328
22367
  type: "apiKey"
21329
22368
  }],
21330
- url: "/automation/v1/scripts",
22369
+ url: "/automation/v1/workflows/{ns}/{name}/restore",
22370
+ ...options,
22371
+ headers: {
22372
+ "Content-Type": "application/json",
22373
+ ...options.headers
22374
+ }
22375
+ });
22376
+ var automationWorkflowsVersions = (options) => (options.client ?? client).get({
22377
+ security: [{
22378
+ key: "BearerAuth",
22379
+ scheme: "bearer",
22380
+ type: "http"
22381
+ }, {
22382
+ key: "ApiKeyAuth",
22383
+ name: "X-API-Key",
22384
+ type: "apiKey"
22385
+ }],
22386
+ url: "/automation/v1/workflows/{ns}/{name}/versions",
21331
22387
  ...options
21332
22388
  });
21333
- var automationScriptsCreate = (options) => (options.client ?? client).post({
22389
+ var automationWorkflowsPublish = (options) => (options.client ?? client).post({
21334
22390
  security: [{
21335
22391
  key: "BearerAuth",
21336
22392
  scheme: "bearer",
@@ -21340,14 +22396,44 @@ var automationScriptsCreate = (options) => (options.client ?? client).post({
21340
22396
  name: "X-API-Key",
21341
22397
  type: "apiKey"
21342
22398
  }],
21343
- url: "/automation/v1/scripts",
22399
+ url: "/automation/v1/workflows/{ns}/{name}/versions",
22400
+ ...options,
22401
+ headers: {
22402
+ "Content-Type": "application/json",
22403
+ ...options.headers
22404
+ }
22405
+ });
22406
+ var automationWorkflowsVersion = (options) => (options.client ?? client).get({
22407
+ security: [{
22408
+ key: "BearerAuth",
22409
+ scheme: "bearer",
22410
+ type: "http"
22411
+ }, {
22412
+ key: "ApiKeyAuth",
22413
+ name: "X-API-Key",
22414
+ type: "apiKey"
22415
+ }],
22416
+ url: "/automation/v1/workflows/{ns}/{name}/versions/{version}",
22417
+ ...options
22418
+ });
22419
+ var automationWorkflowsDeprecate = (options) => (options.client ?? client).post({
22420
+ security: [{
22421
+ key: "BearerAuth",
22422
+ scheme: "bearer",
22423
+ type: "http"
22424
+ }, {
22425
+ key: "ApiKeyAuth",
22426
+ name: "X-API-Key",
22427
+ type: "apiKey"
22428
+ }],
22429
+ url: "/automation/v1/workflows/{ns}/{name}/versions/{version}/deprecate",
21344
22430
  ...options,
21345
22431
  headers: {
21346
22432
  "Content-Type": "application/json",
21347
22433
  ...options.headers
21348
22434
  }
21349
22435
  });
21350
- var automationScriptsGet = (options) => (options.client ?? client).get({
22436
+ var automationWorkflowsDistTags = (options) => (options.client ?? client).get({
21351
22437
  security: [{
21352
22438
  key: "BearerAuth",
21353
22439
  scheme: "bearer",
@@ -21357,10 +22443,10 @@ var automationScriptsGet = (options) => (options.client ?? client).get({
21357
22443
  name: "X-API-Key",
21358
22444
  type: "apiKey"
21359
22445
  }],
21360
- url: "/automation/v1/scripts/{ns}/{name}",
22446
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags",
21361
22447
  ...options
21362
22448
  });
21363
- var automationScriptsPatch = (options) => (options.client ?? client).patch({
22449
+ var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).delete({
21364
22450
  security: [{
21365
22451
  key: "BearerAuth",
21366
22452
  scheme: "bearer",
@@ -21370,14 +22456,10 @@ var automationScriptsPatch = (options) => (options.client ?? client).patch({
21370
22456
  name: "X-API-Key",
21371
22457
  type: "apiKey"
21372
22458
  }],
21373
- url: "/automation/v1/scripts/{ns}/{name}",
21374
- ...options,
21375
- headers: {
21376
- "Content-Type": "application/json",
21377
- ...options.headers
21378
- }
22459
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
22460
+ ...options
21379
22461
  });
21380
- var automationScriptsArchive = (options) => (options.client ?? client).post({
22462
+ var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put({
21381
22463
  security: [{
21382
22464
  key: "BearerAuth",
21383
22465
  scheme: "bearer",
@@ -21387,14 +22469,14 @@ var automationScriptsArchive = (options) => (options.client ?? client).post({
21387
22469
  name: "X-API-Key",
21388
22470
  type: "apiKey"
21389
22471
  }],
21390
- url: "/automation/v1/scripts/{ns}/{name}/archive",
22472
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
21391
22473
  ...options,
21392
22474
  headers: {
21393
22475
  "Content-Type": "application/json",
21394
22476
  ...options.headers
21395
22477
  }
21396
22478
  });
21397
- var automationScriptsRestore = (options) => (options.client ?? client).post({
22479
+ var automationValidateValidate = (options) => (options.client ?? client).post({
21398
22480
  security: [{
21399
22481
  key: "BearerAuth",
21400
22482
  scheme: "bearer",
@@ -21404,14 +22486,14 @@ var automationScriptsRestore = (options) => (options.client ?? client).post({
21404
22486
  name: "X-API-Key",
21405
22487
  type: "apiKey"
21406
22488
  }],
21407
- url: "/automation/v1/scripts/{ns}/{name}/restore",
22489
+ url: "/automation/v1/validate",
21408
22490
  ...options,
21409
22491
  headers: {
21410
22492
  "Content-Type": "application/json",
21411
22493
  ...options.headers
21412
22494
  }
21413
22495
  });
21414
- var automationScriptsVersions = (options) => (options.client ?? client).get({
22496
+ var automationResolveResolve = (options) => (options.client ?? client).get({
21415
22497
  security: [{
21416
22498
  key: "BearerAuth",
21417
22499
  scheme: "bearer",
@@ -21421,10 +22503,11 @@ var automationScriptsVersions = (options) => (options.client ?? client).get({
21421
22503
  name: "X-API-Key",
21422
22504
  type: "apiKey"
21423
22505
  }],
21424
- url: "/automation/v1/scripts/{ns}/{name}/versions",
22506
+ url: "/automation/v1/resolve",
21425
22507
  ...options
21426
22508
  });
21427
- var automationScriptsPublish = (options) => (options.client ?? client).post({
22509
+ var automationTargetsTargets = (options) => (options?.client ?? client).get({
22510
+ querySerializer: { parameters: { kind: { array: { explode: false } } } },
21428
22511
  security: [{
21429
22512
  key: "BearerAuth",
21430
22513
  scheme: "bearer",
@@ -21434,14 +22517,21 @@ var automationScriptsPublish = (options) => (options.client ?? client).post({
21434
22517
  name: "X-API-Key",
21435
22518
  type: "apiKey"
21436
22519
  }],
21437
- url: "/automation/v1/scripts/{ns}/{name}/versions",
21438
- ...options,
21439
- headers: {
21440
- "Content-Type": "application/json",
21441
- ...options.headers
21442
- }
22520
+ url: "/automation/v1/targets",
22521
+ ...options
21443
22522
  });
21444
- var automationScriptsVersion = (options) => (options.client ?? client).get({
22523
+ var automationRunsList = (options) => (options?.client ?? client).get({
22524
+ querySerializer: { parameters: {
22525
+ kind: { array: { explode: false } },
22526
+ definition: { array: { explode: false } },
22527
+ version: { array: { explode: false } },
22528
+ status: { array: { explode: false } },
22529
+ channel: { array: { explode: false } },
22530
+ initiator_type: { array: { explode: false } },
22531
+ language: { array: { explode: false } },
22532
+ parent_run_id: { array: { explode: false } },
22533
+ root_run_id: { array: { explode: false } }
22534
+ } },
21445
22535
  security: [{
21446
22536
  key: "BearerAuth",
21447
22537
  scheme: "bearer",
@@ -21451,10 +22541,10 @@ var automationScriptsVersion = (options) => (options.client ?? client).get({
21451
22541
  name: "X-API-Key",
21452
22542
  type: "apiKey"
21453
22543
  }],
21454
- url: "/automation/v1/scripts/{ns}/{name}/versions/{version}",
22544
+ url: "/automation/v1/runs",
21455
22545
  ...options
21456
22546
  });
21457
- var automationScriptsDeprecate = (options) => (options.client ?? client).post({
22547
+ var automationRunsCreate = (options) => (options.client ?? client).post({
21458
22548
  security: [{
21459
22549
  key: "BearerAuth",
21460
22550
  scheme: "bearer",
@@ -21464,14 +22554,15 @@ var automationScriptsDeprecate = (options) => (options.client ?? client).post({
21464
22554
  name: "X-API-Key",
21465
22555
  type: "apiKey"
21466
22556
  }],
21467
- url: "/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate",
22557
+ url: "/automation/v1/runs",
21468
22558
  ...options,
21469
22559
  headers: {
21470
22560
  "Content-Type": "application/json",
21471
22561
  ...options.headers
21472
22562
  }
21473
22563
  });
21474
- var automationScriptsDistTags = (options) => (options.client ?? client).get({
22564
+ var automationRunsGet = (options) => (options.client ?? client).get({
22565
+ querySerializer: { parameters: { expand: { array: { explode: false } } } },
21475
22566
  security: [{
21476
22567
  key: "BearerAuth",
21477
22568
  scheme: "bearer",
@@ -21481,10 +22572,10 @@ var automationScriptsDistTags = (options) => (options.client ?? client).get({
21481
22572
  name: "X-API-Key",
21482
22573
  type: "apiKey"
21483
22574
  }],
21484
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags",
22575
+ url: "/automation/v1/runs/{id}",
21485
22576
  ...options
21486
22577
  });
21487
- var automationScriptsDeleteDistTag = (options) => (options.client ?? client).delete({
22578
+ var automationRunsCancel = (options) => (options.client ?? client).post({
21488
22579
  security: [{
21489
22580
  key: "BearerAuth",
21490
22581
  scheme: "bearer",
@@ -21494,10 +22585,14 @@ var automationScriptsDeleteDistTag = (options) => (options.client ?? client).del
21494
22585
  name: "X-API-Key",
21495
22586
  type: "apiKey"
21496
22587
  }],
21497
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21498
- ...options
22588
+ url: "/automation/v1/runs/{id}/cancel",
22589
+ ...options,
22590
+ headers: {
22591
+ "Content-Type": "application/json",
22592
+ ...options.headers
22593
+ }
21499
22594
  });
21500
- var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
22595
+ var automationRunsRerun = (options) => (options.client ?? client).post({
21501
22596
  security: [{
21502
22597
  key: "BearerAuth",
21503
22598
  scheme: "bearer",
@@ -21507,15 +22602,14 @@ var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
21507
22602
  name: "X-API-Key",
21508
22603
  type: "apiKey"
21509
22604
  }],
21510
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
22605
+ url: "/automation/v1/runs/{id}/rerun",
21511
22606
  ...options,
21512
22607
  headers: {
21513
22608
  "Content-Type": "application/json",
21514
22609
  ...options.headers
21515
22610
  }
21516
22611
  });
21517
- var automationWorkflowsList = (options) => (options?.client ?? client).get({
21518
- querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
22612
+ var automationRunsSuspend = (options) => (options.client ?? client).post({
21519
22613
  security: [{
21520
22614
  key: "BearerAuth",
21521
22615
  scheme: "bearer",
@@ -21525,10 +22619,14 @@ var automationWorkflowsList = (options) => (options?.client ?? client).get({
21525
22619
  name: "X-API-Key",
21526
22620
  type: "apiKey"
21527
22621
  }],
21528
- url: "/automation/v1/workflows",
21529
- ...options
22622
+ url: "/automation/v1/runs/{id}/suspend",
22623
+ ...options,
22624
+ headers: {
22625
+ "Content-Type": "application/json",
22626
+ ...options.headers
22627
+ }
21530
22628
  });
21531
- var automationWorkflowsCreate = (options) => (options.client ?? client).post({
22629
+ var automationRunsResume = (options) => (options.client ?? client).post({
21532
22630
  security: [{
21533
22631
  key: "BearerAuth",
21534
22632
  scheme: "bearer",
@@ -21538,14 +22636,14 @@ var automationWorkflowsCreate = (options) => (options.client ?? client).post({
21538
22636
  name: "X-API-Key",
21539
22637
  type: "apiKey"
21540
22638
  }],
21541
- url: "/automation/v1/workflows",
22639
+ url: "/automation/v1/runs/{id}/resume",
21542
22640
  ...options,
21543
22641
  headers: {
21544
22642
  "Content-Type": "application/json",
21545
22643
  ...options.headers
21546
22644
  }
21547
22645
  });
21548
- var automationWorkflowsGet = (options) => (options.client ?? client).get({
22646
+ var automationRunsWaits = (options) => (options.client ?? client).get({
21549
22647
  security: [{
21550
22648
  key: "BearerAuth",
21551
22649
  scheme: "bearer",
@@ -21555,10 +22653,10 @@ var automationWorkflowsGet = (options) => (options.client ?? client).get({
21555
22653
  name: "X-API-Key",
21556
22654
  type: "apiKey"
21557
22655
  }],
21558
- url: "/automation/v1/workflows/{ns}/{name}",
22656
+ url: "/automation/v1/runs/{id}/waits",
21559
22657
  ...options
21560
22658
  });
21561
- var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
22659
+ var automationRunsCalls = (options) => (options.client ?? client).get({
21562
22660
  security: [{
21563
22661
  key: "BearerAuth",
21564
22662
  scheme: "bearer",
@@ -21568,14 +22666,10 @@ var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
21568
22666
  name: "X-API-Key",
21569
22667
  type: "apiKey"
21570
22668
  }],
21571
- url: "/automation/v1/workflows/{ns}/{name}",
21572
- ...options,
21573
- headers: {
21574
- "Content-Type": "application/json",
21575
- ...options.headers
21576
- }
22669
+ url: "/automation/v1/runs/{id}/calls",
22670
+ ...options
21577
22671
  });
21578
- var automationWorkflowsArchive = (options) => (options.client ?? client).post({
22672
+ var automationRunsArtifacts = (options) => (options.client ?? client).get({
21579
22673
  security: [{
21580
22674
  key: "BearerAuth",
21581
22675
  scheme: "bearer",
@@ -21585,14 +22679,10 @@ var automationWorkflowsArchive = (options) => (options.client ?? client).post({
21585
22679
  name: "X-API-Key",
21586
22680
  type: "apiKey"
21587
22681
  }],
21588
- url: "/automation/v1/workflows/{ns}/{name}/archive",
21589
- ...options,
21590
- headers: {
21591
- "Content-Type": "application/json",
21592
- ...options.headers
21593
- }
22682
+ url: "/automation/v1/runs/{id}/artifacts",
22683
+ ...options
21594
22684
  });
21595
- var automationWorkflowsRestore = (options) => (options.client ?? client).post({
22685
+ var automationRunsCompleteWait = (options) => (options.client ?? client).post({
21596
22686
  security: [{
21597
22687
  key: "BearerAuth",
21598
22688
  scheme: "bearer",
@@ -21602,14 +22692,14 @@ var automationWorkflowsRestore = (options) => (options.client ?? client).post({
21602
22692
  name: "X-API-Key",
21603
22693
  type: "apiKey"
21604
22694
  }],
21605
- url: "/automation/v1/workflows/{ns}/{name}/restore",
22695
+ url: "/automation/v1/runs/{id}/waits/{wait_id}/complete",
21606
22696
  ...options,
21607
22697
  headers: {
21608
22698
  "Content-Type": "application/json",
21609
22699
  ...options.headers
21610
22700
  }
21611
22701
  });
21612
- var automationWorkflowsVersions = (options) => (options.client ?? client).get({
22702
+ var automationRunsTasks = (options) => (options.client ?? client).get({
21613
22703
  security: [{
21614
22704
  key: "BearerAuth",
21615
22705
  scheme: "bearer",
@@ -21619,10 +22709,10 @@ var automationWorkflowsVersions = (options) => (options.client ?? client).get({
21619
22709
  name: "X-API-Key",
21620
22710
  type: "apiKey"
21621
22711
  }],
21622
- url: "/automation/v1/workflows/{ns}/{name}/versions",
22712
+ url: "/automation/v1/runs/{id}/tasks",
21623
22713
  ...options
21624
22714
  });
21625
- var automationWorkflowsPublish = (options) => (options.client ?? client).post({
22715
+ var automationRunsEvents = (options) => (options.client ?? client).get({
21626
22716
  security: [{
21627
22717
  key: "BearerAuth",
21628
22718
  scheme: "bearer",
@@ -21632,14 +22722,10 @@ var automationWorkflowsPublish = (options) => (options.client ?? client).post({
21632
22722
  name: "X-API-Key",
21633
22723
  type: "apiKey"
21634
22724
  }],
21635
- url: "/automation/v1/workflows/{ns}/{name}/versions",
21636
- ...options,
21637
- headers: {
21638
- "Content-Type": "application/json",
21639
- ...options.headers
21640
- }
22725
+ url: "/automation/v1/runs/{id}/events",
22726
+ ...options
21641
22727
  });
21642
- var automationWorkflowsVersion = (options) => (options.client ?? client).get({
22728
+ var automationRunsLogs = (options) => (options.client ?? client).get({
21643
22729
  security: [{
21644
22730
  key: "BearerAuth",
21645
22731
  scheme: "bearer",
@@ -21649,10 +22735,10 @@ var automationWorkflowsVersion = (options) => (options.client ?? client).get({
21649
22735
  name: "X-API-Key",
21650
22736
  type: "apiKey"
21651
22737
  }],
21652
- url: "/automation/v1/workflows/{ns}/{name}/versions/{version}",
22738
+ url: "/automation/v1/runs/{id}/logs",
21653
22739
  ...options
21654
22740
  });
21655
- var automationWorkflowsDeprecate = (options) => (options.client ?? client).post({
22741
+ var automationRunsSource = (options) => (options.client ?? client).get({
21656
22742
  security: [{
21657
22743
  key: "BearerAuth",
21658
22744
  scheme: "bearer",
@@ -21662,14 +22748,15 @@ var automationWorkflowsDeprecate = (options) => (options.client ?? client).post(
21662
22748
  name: "X-API-Key",
21663
22749
  type: "apiKey"
21664
22750
  }],
21665
- url: "/automation/v1/workflows/{ns}/{name}/versions/{version}/deprecate",
21666
- ...options,
21667
- headers: {
21668
- "Content-Type": "application/json",
21669
- ...options.headers
21670
- }
22751
+ url: "/automation/v1/runs/{id}/source",
22752
+ ...options
21671
22753
  });
21672
- var automationWorkflowsDistTags = (options) => (options.client ?? client).get({
22754
+ var automationTriggersList = (options) => (options?.client ?? client).get({
22755
+ querySerializer: { parameters: {
22756
+ target: { array: { explode: false } },
22757
+ kind: { array: { explode: false } },
22758
+ state: { array: { explode: false } }
22759
+ } },
21673
22760
  security: [{
21674
22761
  key: "BearerAuth",
21675
22762
  scheme: "bearer",
@@ -21679,10 +22766,10 @@ var automationWorkflowsDistTags = (options) => (options.client ?? client).get({
21679
22766
  name: "X-API-Key",
21680
22767
  type: "apiKey"
21681
22768
  }],
21682
- url: "/automation/v1/workflows/{ns}/{name}/dist-tags",
22769
+ url: "/automation/v1/triggers",
21683
22770
  ...options
21684
22771
  });
21685
- var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).delete({
22772
+ var automationTriggersCreate = (options) => (options.client ?? client).post({
21686
22773
  security: [{
21687
22774
  key: "BearerAuth",
21688
22775
  scheme: "bearer",
@@ -21692,10 +22779,27 @@ var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).d
21692
22779
  name: "X-API-Key",
21693
22780
  type: "apiKey"
21694
22781
  }],
21695
- url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
22782
+ url: "/automation/v1/triggers",
22783
+ ...options,
22784
+ headers: {
22785
+ "Content-Type": "application/json",
22786
+ ...options.headers
22787
+ }
22788
+ });
22789
+ var automationTriggersDelete = (options) => (options.client ?? client).delete({
22790
+ security: [{
22791
+ key: "BearerAuth",
22792
+ scheme: "bearer",
22793
+ type: "http"
22794
+ }, {
22795
+ key: "ApiKeyAuth",
22796
+ name: "X-API-Key",
22797
+ type: "apiKey"
22798
+ }],
22799
+ url: "/automation/v1/triggers/{id}",
21696
22800
  ...options
21697
22801
  });
21698
- var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put({
22802
+ var automationTriggersGet = (options) => (options.client ?? client).get({
21699
22803
  security: [{
21700
22804
  key: "BearerAuth",
21701
22805
  scheme: "bearer",
@@ -21705,14 +22809,10 @@ var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put(
21705
22809
  name: "X-API-Key",
21706
22810
  type: "apiKey"
21707
22811
  }],
21708
- url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
21709
- ...options,
21710
- headers: {
21711
- "Content-Type": "application/json",
21712
- ...options.headers
21713
- }
22812
+ url: "/automation/v1/triggers/{id}",
22813
+ ...options
21714
22814
  });
21715
- var automationValidateValidate = (options) => (options.client ?? client).post({
22815
+ var automationTriggersPatch = (options) => (options.client ?? client).patch({
21716
22816
  security: [{
21717
22817
  key: "BearerAuth",
21718
22818
  scheme: "bearer",
@@ -21722,14 +22822,14 @@ var automationValidateValidate = (options) => (options.client ?? client).post({
21722
22822
  name: "X-API-Key",
21723
22823
  type: "apiKey"
21724
22824
  }],
21725
- url: "/automation/v1/validate",
22825
+ url: "/automation/v1/triggers/{id}",
21726
22826
  ...options,
21727
22827
  headers: {
21728
22828
  "Content-Type": "application/json",
21729
22829
  ...options.headers
21730
22830
  }
21731
22831
  });
21732
- var automationResolveResolve = (options) => (options.client ?? client).get({
22832
+ var automationTriggersPause = (options) => (options.client ?? client).post({
21733
22833
  security: [{
21734
22834
  key: "BearerAuth",
21735
22835
  scheme: "bearer",
@@ -21739,11 +22839,10 @@ var automationResolveResolve = (options) => (options.client ?? client).get({
21739
22839
  name: "X-API-Key",
21740
22840
  type: "apiKey"
21741
22841
  }],
21742
- url: "/automation/v1/resolve",
22842
+ url: "/automation/v1/triggers/{id}/pause",
21743
22843
  ...options
21744
22844
  });
21745
- var automationTargetsTargets = (options) => (options?.client ?? client).get({
21746
- querySerializer: { parameters: { kind: { array: { explode: false } } } },
22845
+ var automationTriggersResume = (options) => (options.client ?? client).post({
21747
22846
  security: [{
21748
22847
  key: "BearerAuth",
21749
22848
  scheme: "bearer",
@@ -21753,21 +22852,10 @@ var automationTargetsTargets = (options) => (options?.client ?? client).get({
21753
22852
  name: "X-API-Key",
21754
22853
  type: "apiKey"
21755
22854
  }],
21756
- url: "/automation/v1/targets",
22855
+ url: "/automation/v1/triggers/{id}/resume",
21757
22856
  ...options
21758
22857
  });
21759
- var automationRunsList = (options) => (options?.client ?? client).get({
21760
- querySerializer: { parameters: {
21761
- kind: { array: { explode: false } },
21762
- definition: { array: { explode: false } },
21763
- version: { array: { explode: false } },
21764
- status: { array: { explode: false } },
21765
- channel: { array: { explode: false } },
21766
- initiator_type: { array: { explode: false } },
21767
- language: { array: { explode: false } },
21768
- parent_run_id: { array: { explode: false } },
21769
- root_run_id: { array: { explode: false } }
21770
- } },
22858
+ var automationTriggersFire = (options) => (options.client ?? client).post({
21771
22859
  security: [{
21772
22860
  key: "BearerAuth",
21773
22861
  scheme: "bearer",
@@ -21777,10 +22865,10 @@ var automationRunsList = (options) => (options?.client ?? client).get({
21777
22865
  name: "X-API-Key",
21778
22866
  type: "apiKey"
21779
22867
  }],
21780
- url: "/automation/v1/runs",
22868
+ url: "/automation/v1/triggers/{id}/fire",
21781
22869
  ...options
21782
22870
  });
21783
- var automationRunsCreate = (options) => (options.client ?? client).post({
22871
+ var automationTriggersRotateWebhook = (options) => (options.client ?? client).post({
21784
22872
  security: [{
21785
22873
  key: "BearerAuth",
21786
22874
  scheme: "bearer",
@@ -21790,15 +22878,11 @@ var automationRunsCreate = (options) => (options.client ?? client).post({
21790
22878
  name: "X-API-Key",
21791
22879
  type: "apiKey"
21792
22880
  }],
21793
- url: "/automation/v1/runs",
21794
- ...options,
21795
- headers: {
21796
- "Content-Type": "application/json",
21797
- ...options.headers
21798
- }
22881
+ url: "/automation/v1/triggers/{id}/rotate-webhook",
22882
+ ...options
21799
22883
  });
21800
- var automationRunsGet = (options) => (options.client ?? client).get({
21801
- querySerializer: { parameters: { expand: { array: { explode: false } } } },
22884
+ var automationTriggersFirings = (options) => (options.client ?? client).get({
22885
+ querySerializer: { parameters: { outcome: { array: { explode: false } } } },
21802
22886
  security: [{
21803
22887
  key: "BearerAuth",
21804
22888
  scheme: "bearer",
@@ -21808,10 +22892,10 @@ var automationRunsGet = (options) => (options.client ?? client).get({
21808
22892
  name: "X-API-Key",
21809
22893
  type: "apiKey"
21810
22894
  }],
21811
- url: "/automation/v1/runs/{id}",
22895
+ url: "/automation/v1/triggers/{id}/firings",
21812
22896
  ...options
21813
22897
  });
21814
- var automationRunsCancel = (options) => (options.client ?? client).post({
22898
+ var automationTriggersPreview = (options) => (options.client ?? client).post({
21815
22899
  security: [{
21816
22900
  key: "BearerAuth",
21817
22901
  scheme: "bearer",
@@ -21821,14 +22905,23 @@ var automationRunsCancel = (options) => (options.client ?? client).post({
21821
22905
  name: "X-API-Key",
21822
22906
  type: "apiKey"
21823
22907
  }],
21824
- url: "/automation/v1/runs/{id}/cancel",
22908
+ url: "/automation/v1/triggers/preview",
21825
22909
  ...options,
21826
22910
  headers: {
21827
22911
  "Content-Type": "application/json",
21828
22912
  ...options.headers
21829
22913
  }
21830
22914
  });
21831
- var automationRunsRerun = (options) => (options.client ?? client).post({
22915
+ var automationHooksReceive = (options) => (options.client ?? client).post({
22916
+ url: "/automation/v1/hooks/{trigger_id}/{token}",
22917
+ ...options,
22918
+ headers: {
22919
+ "Content-Type": "application/json",
22920
+ ...options.headers
22921
+ }
22922
+ });
22923
+ var automationHumanTasksList = (options) => (options?.client ?? client).get({
22924
+ querySerializer: { parameters: { status: { array: { explode: false } } } },
21832
22925
  security: [{
21833
22926
  key: "BearerAuth",
21834
22927
  scheme: "bearer",
@@ -21838,14 +22931,10 @@ var automationRunsRerun = (options) => (options.client ?? client).post({
21838
22931
  name: "X-API-Key",
21839
22932
  type: "apiKey"
21840
22933
  }],
21841
- url: "/automation/v1/runs/{id}/rerun",
21842
- ...options,
21843
- headers: {
21844
- "Content-Type": "application/json",
21845
- ...options.headers
21846
- }
22934
+ url: "/automation/v1/human-tasks",
22935
+ ...options
21847
22936
  });
21848
- var automationRunsSuspend = (options) => (options.client ?? client).post({
22937
+ var automationHumanTasksGet = (options) => (options.client ?? client).get({
21849
22938
  security: [{
21850
22939
  key: "BearerAuth",
21851
22940
  scheme: "bearer",
@@ -21855,14 +22944,10 @@ var automationRunsSuspend = (options) => (options.client ?? client).post({
21855
22944
  name: "X-API-Key",
21856
22945
  type: "apiKey"
21857
22946
  }],
21858
- url: "/automation/v1/runs/{id}/suspend",
21859
- ...options,
21860
- headers: {
21861
- "Content-Type": "application/json",
21862
- ...options.headers
21863
- }
22947
+ url: "/automation/v1/human-tasks/{id}",
22948
+ ...options
21864
22949
  });
21865
- var automationRunsResume = (options) => (options.client ?? client).post({
22950
+ var automationHumanTasksRespond = (options) => (options.client ?? client).post({
21866
22951
  security: [{
21867
22952
  key: "BearerAuth",
21868
22953
  scheme: "bearer",
@@ -21872,14 +22957,14 @@ var automationRunsResume = (options) => (options.client ?? client).post({
21872
22957
  name: "X-API-Key",
21873
22958
  type: "apiKey"
21874
22959
  }],
21875
- url: "/automation/v1/runs/{id}/resume",
22960
+ url: "/automation/v1/human-tasks/{id}/respond",
21876
22961
  ...options,
21877
22962
  headers: {
21878
22963
  "Content-Type": "application/json",
21879
22964
  ...options.headers
21880
22965
  }
21881
22966
  });
21882
- var automationRunsWaits = (options) => (options.client ?? client).get({
22967
+ var automationHumanTasksCancel = (options) => (options.client ?? client).post({
21883
22968
  security: [{
21884
22969
  key: "BearerAuth",
21885
22970
  scheme: "bearer",
@@ -21889,10 +22974,14 @@ var automationRunsWaits = (options) => (options.client ?? client).get({
21889
22974
  name: "X-API-Key",
21890
22975
  type: "apiKey"
21891
22976
  }],
21892
- url: "/automation/v1/runs/{id}/waits",
21893
- ...options
22977
+ url: "/automation/v1/human-tasks/{id}/cancel",
22978
+ ...options,
22979
+ headers: {
22980
+ "Content-Type": "application/json",
22981
+ ...options.headers
22982
+ }
21894
22983
  });
21895
- var automationRunsCalls = (options) => (options.client ?? client).get({
22984
+ var automationHumanTasksDelegate = (options) => (options.client ?? client).post({
21896
22985
  security: [{
21897
22986
  key: "BearerAuth",
21898
22987
  scheme: "bearer",
@@ -21902,97 +22991,85 @@ var automationRunsCalls = (options) => (options.client ?? client).get({
21902
22991
  name: "X-API-Key",
21903
22992
  type: "apiKey"
21904
22993
  }],
21905
- url: "/automation/v1/runs/{id}/calls",
21906
- ...options
22994
+ url: "/automation/v1/human-tasks/{id}/delegate",
22995
+ ...options,
22996
+ headers: {
22997
+ "Content-Type": "application/json",
22998
+ ...options.headers
22999
+ }
21907
23000
  });
21908
- var automationRunsArtifacts = (options) => (options.client ?? client).get({
23001
+ var canvasListCanvases = (options) => (options?.client ?? client).get({
21909
23002
  security: [{
21910
- key: "BearerAuth",
23003
+ key: "canvas-bearerAuth",
21911
23004
  scheme: "bearer",
21912
23005
  type: "http"
21913
- }, {
21914
- key: "ApiKeyAuth",
21915
- name: "X-API-Key",
21916
- type: "apiKey"
21917
23006
  }],
21918
- url: "/automation/v1/runs/{id}/artifacts",
23007
+ url: "/canvas/v1/canvases",
21919
23008
  ...options
21920
23009
  });
21921
- var automationRunsCompleteWait = (options) => (options.client ?? client).post({
23010
+ var canvasCreateCanvas = (options) => (options?.client ?? client).post({
21922
23011
  security: [{
21923
- key: "BearerAuth",
23012
+ key: "canvas-bearerAuth",
21924
23013
  scheme: "bearer",
21925
23014
  type: "http"
21926
- }, {
21927
- key: "ApiKeyAuth",
21928
- name: "X-API-Key",
21929
- type: "apiKey"
21930
23015
  }],
21931
- url: "/automation/v1/runs/{id}/waits/{wait_id}/complete",
23016
+ url: "/canvas/v1/canvases",
21932
23017
  ...options,
21933
23018
  headers: {
21934
23019
  "Content-Type": "application/json",
21935
- ...options.headers
23020
+ ...options?.headers
21936
23021
  }
21937
23022
  });
21938
- var automationRunsTasks = (options) => (options.client ?? client).get({
23023
+ var canvasDeleteCanvas = (options) => (options.client ?? client).delete({
21939
23024
  security: [{
21940
- key: "BearerAuth",
23025
+ key: "canvas-bearerAuth",
21941
23026
  scheme: "bearer",
21942
23027
  type: "http"
21943
- }, {
21944
- key: "ApiKeyAuth",
21945
- name: "X-API-Key",
21946
- type: "apiKey"
21947
23028
  }],
21948
- url: "/automation/v1/runs/{id}/tasks",
23029
+ url: "/canvas/v1/canvases/{canvas_id}",
21949
23030
  ...options
21950
23031
  });
21951
- var automationRunsEvents = (options) => (options.client ?? client).get({
23032
+ var canvasRetrieveCanvas = (options) => (options.client ?? client).get({
21952
23033
  security: [{
21953
- key: "BearerAuth",
23034
+ key: "canvas-bearerAuth",
21954
23035
  scheme: "bearer",
21955
23036
  type: "http"
21956
- }, {
21957
- key: "ApiKeyAuth",
21958
- name: "X-API-Key",
21959
- type: "apiKey"
21960
23037
  }],
21961
- url: "/automation/v1/runs/{id}/events",
23038
+ url: "/canvas/v1/canvases/{canvas_id}",
21962
23039
  ...options
21963
23040
  });
21964
- var automationRunsLogs = (options) => (options.client ?? client).get({
23041
+ var canvasListNodes = (options) => (options.client ?? client).get({
21965
23042
  security: [{
21966
- key: "BearerAuth",
23043
+ key: "canvas-bearerAuth",
21967
23044
  scheme: "bearer",
21968
23045
  type: "http"
21969
- }, {
21970
- key: "ApiKeyAuth",
21971
- name: "X-API-Key",
21972
- type: "apiKey"
21973
23046
  }],
21974
- url: "/automation/v1/runs/{id}/logs",
23047
+ url: "/canvas/v1/canvases/{canvas_id}/nodes",
21975
23048
  ...options
21976
23049
  });
21977
- var automationRunsSource = (options) => (options.client ?? client).get({
23050
+ var canvasListImages = (options) => (options.client ?? client).get({
21978
23051
  security: [{
21979
- key: "BearerAuth",
23052
+ key: "canvas-bearerAuth",
21980
23053
  scheme: "bearer",
21981
23054
  type: "http"
21982
- }, {
21983
- key: "ApiKeyAuth",
21984
- name: "X-API-Key",
21985
- type: "apiKey"
21986
23055
  }],
21987
- url: "/automation/v1/runs/{id}/source",
23056
+ url: "/canvas/v1/canvases/{canvas_id}/images",
21988
23057
  ...options
21989
23058
  });
21990
- var automationTriggersList = (options) => (options?.client ?? client).get({
21991
- querySerializer: { parameters: {
21992
- target: { array: { explode: false } },
21993
- kind: { array: { explode: false } },
21994
- state: { array: { explode: false } }
21995
- } },
23059
+ var canvasExecute = (options) => (options.client ?? client).post({
23060
+ security: [{
23061
+ key: "canvas-bearerAuth",
23062
+ scheme: "bearer",
23063
+ type: "http"
23064
+ }],
23065
+ url: "/canvas/v1/canvases/{canvas_id}:execute",
23066
+ ...options,
23067
+ headers: {
23068
+ "Content-Type": "application/json",
23069
+ ...options.headers
23070
+ }
23071
+ });
23072
+ var cutListProjects = (options) => (options?.client ?? client).get({
21996
23073
  security: [{
21997
23074
  key: "BearerAuth",
21998
23075
  scheme: "bearer",
@@ -22002,10 +23079,10 @@ var automationTriggersList = (options) => (options?.client ?? client).get({
22002
23079
  name: "X-API-Key",
22003
23080
  type: "apiKey"
22004
23081
  }],
22005
- url: "/automation/v1/triggers",
23082
+ url: "/cut/v1/projects",
22006
23083
  ...options
22007
23084
  });
22008
- var automationTriggersCreate = (options) => (options.client ?? client).post({
23085
+ var cutCreateProject = (options) => (options.client ?? client).post({
22009
23086
  security: [{
22010
23087
  key: "BearerAuth",
22011
23088
  scheme: "bearer",
@@ -22015,14 +23092,14 @@ var automationTriggersCreate = (options) => (options.client ?? client).post({
22015
23092
  name: "X-API-Key",
22016
23093
  type: "apiKey"
22017
23094
  }],
22018
- url: "/automation/v1/triggers",
23095
+ url: "/cut/v1/projects",
22019
23096
  ...options,
22020
23097
  headers: {
22021
23098
  "Content-Type": "application/json",
22022
23099
  ...options.headers
22023
23100
  }
22024
23101
  });
22025
- var automationTriggersDelete = (options) => (options.client ?? client).delete({
23102
+ var cutDeleteProject = (options) => (options.client ?? client).delete({
22026
23103
  security: [{
22027
23104
  key: "BearerAuth",
22028
23105
  scheme: "bearer",
@@ -22032,10 +23109,10 @@ var automationTriggersDelete = (options) => (options.client ?? client).delete({
22032
23109
  name: "X-API-Key",
22033
23110
  type: "apiKey"
22034
23111
  }],
22035
- url: "/automation/v1/triggers/{id}",
23112
+ url: "/cut/v1/projects/{project_id}",
22036
23113
  ...options
22037
23114
  });
22038
- var automationTriggersGet = (options) => (options.client ?? client).get({
23115
+ var cutRetrieveProject = (options) => (options.client ?? client).get({
22039
23116
  security: [{
22040
23117
  key: "BearerAuth",
22041
23118
  scheme: "bearer",
@@ -22045,10 +23122,10 @@ var automationTriggersGet = (options) => (options.client ?? client).get({
22045
23122
  name: "X-API-Key",
22046
23123
  type: "apiKey"
22047
23124
  }],
22048
- url: "/automation/v1/triggers/{id}",
23125
+ url: "/cut/v1/projects/{project_id}",
22049
23126
  ...options
22050
23127
  });
22051
- var automationTriggersPatch = (options) => (options.client ?? client).patch({
23128
+ var cutUpdateProject = (options) => (options.client ?? client).patch({
22052
23129
  security: [{
22053
23130
  key: "BearerAuth",
22054
23131
  scheme: "bearer",
@@ -22058,14 +23135,14 @@ var automationTriggersPatch = (options) => (options.client ?? client).patch({
22058
23135
  name: "X-API-Key",
22059
23136
  type: "apiKey"
22060
23137
  }],
22061
- url: "/automation/v1/triggers/{id}",
23138
+ url: "/cut/v1/projects/{project_id}",
22062
23139
  ...options,
22063
23140
  headers: {
22064
23141
  "Content-Type": "application/json",
22065
23142
  ...options.headers
22066
23143
  }
22067
23144
  });
22068
- var automationTriggersPause = (options) => (options.client ?? client).post({
23145
+ var cutUndeleteProject = (options) => (options.client ?? client).post({
22069
23146
  security: [{
22070
23147
  key: "BearerAuth",
22071
23148
  scheme: "bearer",
@@ -22075,10 +23152,10 @@ var automationTriggersPause = (options) => (options.client ?? client).post({
22075
23152
  name: "X-API-Key",
22076
23153
  type: "apiKey"
22077
23154
  }],
22078
- url: "/automation/v1/triggers/{id}/pause",
23155
+ url: "/cut/v1/projects/{project_id}:undelete",
22079
23156
  ...options
22080
23157
  });
22081
- var automationTriggersResume = (options) => (options.client ?? client).post({
23158
+ var cutExecute = (options) => (options.client ?? client).post({
22082
23159
  security: [{
22083
23160
  key: "BearerAuth",
22084
23161
  scheme: "bearer",
@@ -22088,10 +23165,14 @@ var automationTriggersResume = (options) => (options.client ?? client).post({
22088
23165
  name: "X-API-Key",
22089
23166
  type: "apiKey"
22090
23167
  }],
22091
- url: "/automation/v1/triggers/{id}/resume",
22092
- ...options
23168
+ url: "/cut/v1/projects/{project_id}:execute",
23169
+ ...options,
23170
+ headers: {
23171
+ "Content-Type": "application/json",
23172
+ ...options.headers
23173
+ }
22093
23174
  });
22094
- var automationTriggersFire = (options) => (options.client ?? client).post({
23175
+ var cutRetrieveState = (options) => (options.client ?? client).get({
22095
23176
  security: [{
22096
23177
  key: "BearerAuth",
22097
23178
  scheme: "bearer",
@@ -22101,10 +23182,10 @@ var automationTriggersFire = (options) => (options.client ?? client).post({
22101
23182
  name: "X-API-Key",
22102
23183
  type: "apiKey"
22103
23184
  }],
22104
- url: "/automation/v1/triggers/{id}/fire",
23185
+ url: "/cut/v1/projects/{project_id}/state",
22105
23186
  ...options
22106
23187
  });
22107
- var automationTriggersRotateWebhook = (options) => (options.client ?? client).post({
23188
+ var cutRetrieveTimeline = (options) => (options.client ?? client).get({
22108
23189
  security: [{
22109
23190
  key: "BearerAuth",
22110
23191
  scheme: "bearer",
@@ -22114,11 +23195,10 @@ var automationTriggersRotateWebhook = (options) => (options.client ?? client).po
22114
23195
  name: "X-API-Key",
22115
23196
  type: "apiKey"
22116
23197
  }],
22117
- url: "/automation/v1/triggers/{id}/rotate-webhook",
23198
+ url: "/cut/v1/projects/{project_id}/timeline",
22118
23199
  ...options
22119
23200
  });
22120
- var automationTriggersFirings = (options) => (options.client ?? client).get({
22121
- querySerializer: { parameters: { outcome: { array: { explode: false } } } },
23201
+ var cutListFrames = (options) => (options.client ?? client).get({
22122
23202
  security: [{
22123
23203
  key: "BearerAuth",
22124
23204
  scheme: "bearer",
@@ -22128,10 +23208,10 @@ var automationTriggersFirings = (options) => (options.client ?? client).get({
22128
23208
  name: "X-API-Key",
22129
23209
  type: "apiKey"
22130
23210
  }],
22131
- url: "/automation/v1/triggers/{id}/firings",
23211
+ url: "/cut/v1/projects/{project_id}/frames",
22132
23212
  ...options
22133
23213
  });
22134
- var automationTriggersPreview = (options) => (options.client ?? client).post({
23214
+ var cutCreateAnalysis = (options) => (options.client ?? client).post({
22135
23215
  security: [{
22136
23216
  key: "BearerAuth",
22137
23217
  scheme: "bearer",
@@ -22141,36 +23221,14 @@ var automationTriggersPreview = (options) => (options.client ?? client).post({
22141
23221
  name: "X-API-Key",
22142
23222
  type: "apiKey"
22143
23223
  }],
22144
- url: "/automation/v1/triggers/preview",
22145
- ...options,
22146
- headers: {
22147
- "Content-Type": "application/json",
22148
- ...options.headers
22149
- }
22150
- });
22151
- var automationHooksReceive = (options) => (options.client ?? client).post({
22152
- url: "/automation/v1/hooks/{trigger_id}/{token}",
23224
+ url: "/cut/v1/projects/{project_id}/analysis",
22153
23225
  ...options,
22154
23226
  headers: {
22155
23227
  "Content-Type": "application/json",
22156
23228
  ...options.headers
22157
23229
  }
22158
23230
  });
22159
- var automationHumanTasksList = (options) => (options?.client ?? client).get({
22160
- querySerializer: { parameters: { status: { array: { explode: false } } } },
22161
- security: [{
22162
- key: "BearerAuth",
22163
- scheme: "bearer",
22164
- type: "http"
22165
- }, {
22166
- key: "ApiKeyAuth",
22167
- name: "X-API-Key",
22168
- type: "apiKey"
22169
- }],
22170
- url: "/automation/v1/human-tasks",
22171
- ...options
22172
- });
22173
- var automationHumanTasksGet = (options) => (options.client ?? client).get({
23231
+ var cutListBindings = (options) => (options.client ?? client).get({
22174
23232
  security: [{
22175
23233
  key: "BearerAuth",
22176
23234
  scheme: "bearer",
@@ -22180,10 +23238,10 @@ var automationHumanTasksGet = (options) => (options.client ?? client).get({
22180
23238
  name: "X-API-Key",
22181
23239
  type: "apiKey"
22182
23240
  }],
22183
- url: "/automation/v1/human-tasks/{id}",
23241
+ url: "/cut/v1/projects/{project_id}/bindings",
22184
23242
  ...options
22185
23243
  });
22186
- var automationHumanTasksRespond = (options) => (options.client ?? client).post({
23244
+ var cutCreateBinding = (options) => (options.client ?? client).post({
22187
23245
  security: [{
22188
23246
  key: "BearerAuth",
22189
23247
  scheme: "bearer",
@@ -22193,14 +23251,14 @@ var automationHumanTasksRespond = (options) => (options.client ?? client).post({
22193
23251
  name: "X-API-Key",
22194
23252
  type: "apiKey"
22195
23253
  }],
22196
- url: "/automation/v1/human-tasks/{id}/respond",
23254
+ url: "/cut/v1/projects/{project_id}/bindings",
22197
23255
  ...options,
22198
23256
  headers: {
22199
23257
  "Content-Type": "application/json",
22200
23258
  ...options.headers
22201
23259
  }
22202
23260
  });
22203
- var automationHumanTasksCancel = (options) => (options.client ?? client).post({
23261
+ var cutDeleteBinding = (options) => (options.client ?? client).delete({
22204
23262
  security: [{
22205
23263
  key: "BearerAuth",
22206
23264
  scheme: "bearer",
@@ -22210,14 +23268,10 @@ var automationHumanTasksCancel = (options) => (options.client ?? client).post({
22210
23268
  name: "X-API-Key",
22211
23269
  type: "apiKey"
22212
23270
  }],
22213
- url: "/automation/v1/human-tasks/{id}/cancel",
22214
- ...options,
22215
- headers: {
22216
- "Content-Type": "application/json",
22217
- ...options.headers
22218
- }
23271
+ url: "/cut/v1/projects/{project_id}/bindings/{name}",
23272
+ ...options
22219
23273
  });
22220
- var automationHumanTasksDelegate = (options) => (options.client ?? client).post({
23274
+ var cutImportMedia = (options) => (options.client ?? client).post({
22221
23275
  security: [{
22222
23276
  key: "BearerAuth",
22223
23277
  scheme: "bearer",
@@ -22227,84 +23281,112 @@ var automationHumanTasksDelegate = (options) => (options.client ?? client).post(
22227
23281
  name: "X-API-Key",
22228
23282
  type: "apiKey"
22229
23283
  }],
22230
- url: "/automation/v1/human-tasks/{id}/delegate",
23284
+ url: "/cut/v1/projects/{project_id}/media:import",
22231
23285
  ...options,
22232
23286
  headers: {
22233
23287
  "Content-Type": "application/json",
22234
23288
  ...options.headers
22235
23289
  }
22236
23290
  });
22237
- var canvasListCanvases = (options) => (options?.client ?? client).get({
23291
+ var cutListExports = (options) => (options.client ?? client).get({
22238
23292
  security: [{
22239
- key: "canvas-bearerAuth",
23293
+ key: "BearerAuth",
22240
23294
  scheme: "bearer",
22241
23295
  type: "http"
23296
+ }, {
23297
+ key: "ApiKeyAuth",
23298
+ name: "X-API-Key",
23299
+ type: "apiKey"
22242
23300
  }],
22243
- url: "/canvas/v1/canvases",
23301
+ url: "/cut/v1/projects/{project_id}/exports",
22244
23302
  ...options
22245
23303
  });
22246
- var canvasCreateCanvas = (options) => (options?.client ?? client).post({
23304
+ var cutCreateExport = (options) => (options.client ?? client).post({
22247
23305
  security: [{
22248
- key: "canvas-bearerAuth",
23306
+ key: "BearerAuth",
22249
23307
  scheme: "bearer",
22250
23308
  type: "http"
23309
+ }, {
23310
+ key: "ApiKeyAuth",
23311
+ name: "X-API-Key",
23312
+ type: "apiKey"
22251
23313
  }],
22252
- url: "/canvas/v1/canvases",
23314
+ url: "/cut/v1/projects/{project_id}/exports",
22253
23315
  ...options,
22254
23316
  headers: {
22255
23317
  "Content-Type": "application/json",
22256
- ...options?.headers
23318
+ ...options.headers
22257
23319
  }
22258
23320
  });
22259
- var canvasDeleteCanvas = (options) => (options.client ?? client).delete({
22260
- security: [{
22261
- key: "canvas-bearerAuth",
22262
- scheme: "bearer",
22263
- type: "http"
22264
- }],
22265
- url: "/canvas/v1/canvases/{canvas_id}",
22266
- ...options
22267
- });
22268
- var canvasRetrieveCanvas = (options) => (options.client ?? client).get({
23321
+ var cutRetrieveExport = (options) => (options.client ?? client).get({
22269
23322
  security: [{
22270
- key: "canvas-bearerAuth",
23323
+ key: "BearerAuth",
22271
23324
  scheme: "bearer",
22272
23325
  type: "http"
23326
+ }, {
23327
+ key: "ApiKeyAuth",
23328
+ name: "X-API-Key",
23329
+ type: "apiKey"
22273
23330
  }],
22274
- url: "/canvas/v1/canvases/{canvas_id}",
23331
+ url: "/cut/v1/exports/{export_id}",
22275
23332
  ...options
22276
23333
  });
22277
- var canvasListNodes = (options) => (options.client ?? client).get({
23334
+ var cutCancelExport = (options) => (options.client ?? client).post({
22278
23335
  security: [{
22279
- key: "canvas-bearerAuth",
23336
+ key: "BearerAuth",
22280
23337
  scheme: "bearer",
22281
23338
  type: "http"
23339
+ }, {
23340
+ key: "ApiKeyAuth",
23341
+ name: "X-API-Key",
23342
+ type: "apiKey"
22282
23343
  }],
22283
- url: "/canvas/v1/canvases/{canvas_id}/nodes",
23344
+ url: "/cut/v1/exports/{export_id}:cancel",
22284
23345
  ...options
22285
23346
  });
22286
- var canvasListImages = (options) => (options.client ?? client).get({
23347
+ var cutListVersions = (options) => (options.client ?? client).get({
22287
23348
  security: [{
22288
- key: "canvas-bearerAuth",
23349
+ key: "BearerAuth",
22289
23350
  scheme: "bearer",
22290
23351
  type: "http"
23352
+ }, {
23353
+ key: "ApiKeyAuth",
23354
+ name: "X-API-Key",
23355
+ type: "apiKey"
22291
23356
  }],
22292
- url: "/canvas/v1/canvases/{canvas_id}/images",
23357
+ url: "/cut/v1/projects/{project_id}/versions",
22293
23358
  ...options
22294
23359
  });
22295
- var canvasExecute = (options) => (options.client ?? client).post({
23360
+ var cutCreateVersion = (options) => (options.client ?? client).post({
22296
23361
  security: [{
22297
- key: "canvas-bearerAuth",
23362
+ key: "BearerAuth",
22298
23363
  scheme: "bearer",
22299
23364
  type: "http"
23365
+ }, {
23366
+ key: "ApiKeyAuth",
23367
+ name: "X-API-Key",
23368
+ type: "apiKey"
22300
23369
  }],
22301
- url: "/canvas/v1/canvases/{canvas_id}:execute",
23370
+ url: "/cut/v1/projects/{project_id}/versions",
22302
23371
  ...options,
22303
23372
  headers: {
22304
23373
  "Content-Type": "application/json",
22305
23374
  ...options.headers
22306
23375
  }
22307
23376
  });
23377
+ var cutRestoreVersion = (options) => (options.client ?? client).post({
23378
+ security: [{
23379
+ key: "BearerAuth",
23380
+ scheme: "bearer",
23381
+ type: "http"
23382
+ }, {
23383
+ key: "ApiKeyAuth",
23384
+ name: "X-API-Key",
23385
+ type: "apiKey"
23386
+ }],
23387
+ url: "/cut/v1/versions/{version_id}:restore",
23388
+ ...options
23389
+ });
22308
23390
  var databaseListDatabases = (options) => (options?.client ?? client).get({
22309
23391
  security: [{
22310
23392
  key: "database-bearerAuth",
@@ -24928,6 +26010,50 @@ function createCanvas(transport) {
24928
26010
  }
24929
26011
  };
24930
26012
  }
26013
+ function createCut(transport) {
26014
+ return {
26015
+ exports: {
26016
+ cancel: bind(transport, cutCancelExport),
26017
+ retrieve: bind(transport, cutRetrieveExport)
26018
+ },
26019
+ projects: {
26020
+ analysis: {
26021
+ create: bind(transport, cutCreateAnalysis)
26022
+ },
26023
+ bindings: {
26024
+ create: bind(transport, cutCreateBinding),
26025
+ delete: bind(transport, cutDeleteBinding),
26026
+ list: bind(transport, cutListBindings)
26027
+ },
26028
+ create: bind(transport, cutCreateProject),
26029
+ delete: bind(transport, cutDeleteProject),
26030
+ execute: bind(transport, cutExecute),
26031
+ exports: {
26032
+ create: bind(transport, cutCreateExport),
26033
+ list: bind(transport, cutListExports)
26034
+ },
26035
+ frames: {
26036
+ list: bind(transport, cutListFrames)
26037
+ },
26038
+ list: bind(transport, cutListProjects),
26039
+ media: {
26040
+ import: bind(transport, cutImportMedia)
26041
+ },
26042
+ retrieve: bind(transport, cutRetrieveProject),
26043
+ retrieveState: bind(transport, cutRetrieveState),
26044
+ retrieveTimeline: bind(transport, cutRetrieveTimeline),
26045
+ undelete: bind(transport, cutUndeleteProject),
26046
+ update: bind(transport, cutUpdateProject),
26047
+ versions: {
26048
+ create: bind(transport, cutCreateVersion),
26049
+ list: bind(transport, cutListVersions)
26050
+ }
26051
+ },
26052
+ versions: {
26053
+ restore: bind(transport, cutRestoreVersion)
26054
+ }
26055
+ };
26056
+ }
24931
26057
  function createDatabase(transport) {
24932
26058
  return {
24933
26059
  databases: {
@@ -25170,6 +26296,9 @@ function createModel(transport) {
25170
26296
  },
25171
26297
  retrieve: bind(transport, retrieveResponse)
25172
26298
  },
26299
+ systemone: {
26300
+ create: bind(transport, createSystemone)
26301
+ },
25173
26302
  videos: {
25174
26303
  create: bind(transport, (options) => createVideo({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } })),
25175
26304
  delete: bind(transport, deleteVideo),
@@ -25418,6 +26547,7 @@ var resourceFactories = {
25418
26547
  automation: createAutomation,
25419
26548
  browser: createBrowser,
25420
26549
  canvas: createCanvas,
26550
+ cut: createCut,
25421
26551
  database: createDatabase,
25422
26552
  file: createFile,
25423
26553
  knowledge: createKnowledge,
@@ -28331,7 +29461,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
28331
29461
  }
28332
29462
 
28333
29463
  // src/main.ts
28334
- var version = "0.2.0-dev.b9bc446";
29464
+ var version = "0.2.0-dev.c636c4e";
28335
29465
  var commands = commandTree(operations);
28336
29466
  var manual = [...workflows.map((w) => w.words), [API_WORD]];
28337
29467
  function route(argv) {