@deepraxis/cli 0.2.0-dev.671bb9b → 0.2.0-dev.7bc135e

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 +24 -1
  2. package/dist/praxis.js +1479 -355
  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",
@@ -7619,6 +7619,705 @@ A successful write increments version by one. Optionally set expected_version to
7619
7619
  ]
7620
7620
  }
7621
7621
  },
7622
+ {
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",
7660
+ method: "list",
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.',
7663
+ http: "GET",
7664
+ path: "/cut/v1/projects",
7665
+ streaming: "no",
7666
+ pagination: false,
7667
+ pathParams: [],
7668
+ query: [
7669
+ {
7670
+ name: "page_size",
7671
+ type: "integer",
7672
+ required: false,
7673
+ description: "Maximum resources in one page, from 1 to 100; defaults to 50."
7674
+ },
7675
+ {
7676
+ name: "page_token",
7677
+ type: "string",
7678
+ required: false,
7679
+ description: "Opaque next_page_token from the preceding page; omit on the first request."
7680
+ },
7681
+ {
7682
+ name: "filter",
7683
+ type: "string",
7684
+ required: false,
7685
+ description: 'Optional resource filter; projects supports state = "active" or state = "deleted".'
7686
+ },
7687
+ {
7688
+ name: "order_by",
7689
+ type: "string",
7690
+ required: false,
7691
+ description: "Optional ordering expression; projects supports updateTime desc."
7692
+ }
7693
+ ]
7694
+ },
7695
+ {
7696
+ resource: "cut.projects",
7697
+ method: "create",
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.",
7700
+ http: "POST",
7701
+ path: "/cut/v1/projects",
7702
+ streaming: "no",
7703
+ pagination: false,
7704
+ pathParams: [],
7705
+ query: [],
7706
+ body: {
7707
+ required: true,
7708
+ fields: [
7709
+ {
7710
+ name: "name",
7711
+ type: "string",
7712
+ required: true,
7713
+ description: "Human-readable project name; required and must contain non-whitespace text."
7714
+ },
7715
+ {
7716
+ name: "labels",
7717
+ type: "object",
7718
+ required: false,
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."
7733
+ }
7734
+ ]
7735
+ }
7736
+ },
7737
+ {
7738
+ resource: "cut.projects",
7739
+ method: "delete",
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.',
7742
+ http: "DELETE",
7743
+ path: "/cut/v1/projects/{project_id}",
7744
+ streaming: "no",
7745
+ pagination: false,
7746
+ pathParams: [
7747
+ {
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."
7751
+ }
7752
+ ],
7753
+ query: []
7754
+ },
7755
+ {
7756
+ resource: "cut.projects",
7757
+ method: "retrieve",
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.",
7760
+ http: "GET",
7761
+ path: "/cut/v1/projects/{project_id}",
7762
+ streaming: "no",
7763
+ pagination: false,
7764
+ pathParams: [
7765
+ {
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."
7769
+ }
7770
+ ],
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
+ ]
7779
+ },
7780
+ {
7781
+ resource: "cut.projects",
7782
+ method: "update",
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.",
7785
+ http: "PATCH",
7786
+ path: "/cut/v1/projects/{project_id}",
7787
+ streaming: "no",
7788
+ pagination: false,
7789
+ pathParams: [
7790
+ {
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."
7794
+ }
7795
+ ],
7796
+ query: [],
7797
+ body: {
7798
+ required: true,
7799
+ fields: [
7800
+ {
7801
+ name: "name",
7802
+ type: "string",
7803
+ required: false,
7804
+ description: "Replacement display name when update_mask includes name."
7805
+ },
7806
+ {
7807
+ name: "labels",
7808
+ type: "object",
7809
+ required: false,
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."
7822
+ }
7823
+ ]
7824
+ }
7825
+ },
7826
+ {
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",
7870
+ method: "list",
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.",
7873
+ http: "GET",
7874
+ path: "/cut/v1/projects/{project_id}/bindings",
7875
+ streaming: "no",
7876
+ pagination: false,
7877
+ pathParams: [
7878
+ {
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."
7952
+ }
7953
+ ],
7954
+ query: [
7955
+ {
7956
+ name: "page_size",
7957
+ type: "integer",
7958
+ required: false,
7959
+ description: "Maximum resources in one page, from 1 to 100; defaults to 50."
7960
+ },
7961
+ {
7962
+ name: "page_token",
7963
+ type: "string",
7964
+ required: false,
7965
+ description: "Opaque next_page_token from the preceding page; omit on the first request."
7966
+ },
7967
+ {
7968
+ name: "filter",
7969
+ type: "string",
7970
+ required: false,
7971
+ description: 'Optional resource filter; projects supports state = "active" or state = "deleted".'
7972
+ },
7973
+ {
7974
+ name: "order_by",
7975
+ type: "string",
7976
+ required: false,
7977
+ description: "Optional ordering expression; projects supports updateTime desc."
7978
+ }
7979
+ ]
7980
+ },
7981
+ {
7982
+ resource: "cut.projects.exports",
7983
+ method: "create",
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.",
7986
+ http: "POST",
7987
+ path: "/cut/v1/projects/{project_id}/exports",
7988
+ streaming: "no",
7989
+ pagination: false,
7990
+ pathParams: [
7991
+ {
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."
7995
+ }
7996
+ ],
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
+ }
8021
+ },
8022
+ {
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",
8029
+ streaming: "no",
8030
+ pagination: false,
8031
+ pathParams: [
8032
+ {
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."
8036
+ }
8037
+ ],
8038
+ query: [
8039
+ {
8040
+ name: "at",
8041
+ type: "string",
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
+ },
7622
8321
  {
7623
8322
  resource: "database.databases",
7624
8323
  method: "list",
@@ -12351,7 +13050,8 @@ for more details.`
12351
13050
  "openai.images.edits",
12352
13051
  "openai.images.generations",
12353
13052
  "openai.responses",
12354
- "openai.videos"
13053
+ "openai.videos",
13054
+ "typesafe.systemone"
12355
13055
  ],
12356
13056
  required: false,
12357
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."
@@ -12926,6 +13626,47 @@ for more details.`
12926
13626
  ],
12927
13627
  query: []
12928
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
+ },
12929
13670
  {
12930
13671
  resource: "model.videos",
12931
13672
  method: "list",
@@ -19454,6 +20195,23 @@ var remixVideo = (options) => (options.client ?? client).post({
19454
20195
  url: "/model/v1/videos/{video_id}/remix",
19455
20196
  ...options
19456
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
+ });
19457
20215
  var createAudioTranscription = (options) => (options.client ?? client).post({
19458
20216
  ...formDataBodySerializer,
19459
20217
  security: [{
@@ -21025,140 +21783,399 @@ var applicationListDeployments = (options) => (options.client ?? client).get({
21025
21783
  url: "/application/v1/workers/{worker_id}/deployments",
21026
21784
  ...options
21027
21785
  });
21028
- 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({
21029
22006
  security: [{
21030
- key: "application-bearerAuth",
22007
+ key: "BearerAuth",
21031
22008
  scheme: "bearer",
21032
22009
  type: "http"
22010
+ }, {
22011
+ key: "ApiKeyAuth",
22012
+ name: "X-API-Key",
22013
+ type: "apiKey"
21033
22014
  }],
21034
- url: "/application/v1/workers/{worker_id}/deployments",
22015
+ url: "/automation/v1/actions/{ns}/{name}/rollback",
21035
22016
  ...options,
21036
22017
  headers: {
21037
22018
  "Content-Type": "application/json",
21038
22019
  ...options.headers
21039
22020
  }
21040
22021
  });
21041
- var applicationGetDeployment = (options) => (options.client ?? client).get({
21042
- security: [{
21043
- key: "application-bearerAuth",
21044
- scheme: "bearer",
21045
- type: "http"
21046
- }],
21047
- url: "/application/v1/workers/{worker_id}/deployments/{deployment_id}",
21048
- ...options
21049
- });
21050
- var applicationListComponents = (options) => (options.client ?? client).get({
22022
+ var automationActionsInvocations = (options) => (options.client ?? client).get({
22023
+ querySerializer: { parameters: { status: { array: { explode: false } } } },
21051
22024
  security: [{
21052
- key: "application-bearerAuth",
22025
+ key: "BearerAuth",
21053
22026
  scheme: "bearer",
21054
22027
  type: "http"
22028
+ }, {
22029
+ key: "ApiKeyAuth",
22030
+ name: "X-API-Key",
22031
+ type: "apiKey"
21055
22032
  }],
21056
- url: "/application/v1/workers/{worker_id}/components",
22033
+ url: "/automation/v1/actions/{ns}/{name}/invocations",
21057
22034
  ...options
21058
22035
  });
21059
- var applicationListSecrets = (options) => (options.client ?? client).get({
22036
+ var automationActionsDependents = (options) => (options.client ?? client).get({
21060
22037
  security: [{
21061
- key: "application-bearerAuth",
22038
+ key: "BearerAuth",
21062
22039
  scheme: "bearer",
21063
22040
  type: "http"
22041
+ }, {
22042
+ key: "ApiKeyAuth",
22043
+ name: "X-API-Key",
22044
+ type: "apiKey"
21064
22045
  }],
21065
- url: "/application/v1/workers/{worker_id}/secrets",
22046
+ url: "/automation/v1/actions/{ns}/{name}/dependents",
21066
22047
  ...options
21067
22048
  });
21068
- var applicationDeleteSecret = (options) => (options.client ?? client).delete({
22049
+ var automationActionsArchive = (options) => (options.client ?? client).post({
21069
22050
  security: [{
21070
- key: "application-bearerAuth",
22051
+ key: "BearerAuth",
21071
22052
  scheme: "bearer",
21072
22053
  type: "http"
22054
+ }, {
22055
+ key: "ApiKeyAuth",
22056
+ name: "X-API-Key",
22057
+ type: "apiKey"
21073
22058
  }],
21074
- url: "/application/v1/workers/{worker_id}/secrets/{name}",
21075
- ...options
22059
+ url: "/automation/v1/actions/{ns}/{name}/archive",
22060
+ ...options,
22061
+ headers: {
22062
+ "Content-Type": "application/json",
22063
+ ...options.headers
22064
+ }
21076
22065
  });
21077
- var applicationPutSecret = (options) => (options.client ?? client).put({
22066
+ var automationActionsRestore = (options) => (options.client ?? client).post({
21078
22067
  security: [{
21079
- key: "application-bearerAuth",
22068
+ key: "BearerAuth",
21080
22069
  scheme: "bearer",
21081
22070
  type: "http"
22071
+ }, {
22072
+ key: "ApiKeyAuth",
22073
+ name: "X-API-Key",
22074
+ type: "apiKey"
21082
22075
  }],
21083
- url: "/application/v1/workers/{worker_id}/secrets/{name}",
22076
+ url: "/automation/v1/actions/{ns}/{name}/restore",
21084
22077
  ...options,
21085
22078
  headers: {
21086
22079
  "Content-Type": "application/json",
21087
22080
  ...options.headers
21088
22081
  }
21089
22082
  });
21090
- 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 } } } },
21091
22085
  security: [{
21092
- key: "application-bearerAuth",
22086
+ key: "BearerAuth",
21093
22087
  scheme: "bearer",
21094
22088
  type: "http"
22089
+ }, {
22090
+ key: "ApiKeyAuth",
22091
+ name: "X-API-Key",
22092
+ type: "apiKey"
21095
22093
  }],
21096
- url: "/application/v1/workers/{worker_id}/grants",
22094
+ url: "/automation/v1/scripts",
21097
22095
  ...options
21098
22096
  });
21099
- var applicationCreateGrant = (options) => (options.client ?? client).post({
22097
+ var automationScriptsCreate = (options) => (options.client ?? client).post({
21100
22098
  security: [{
21101
- key: "application-bearerAuth",
22099
+ key: "BearerAuth",
21102
22100
  scheme: "bearer",
21103
22101
  type: "http"
22102
+ }, {
22103
+ key: "ApiKeyAuth",
22104
+ name: "X-API-Key",
22105
+ type: "apiKey"
21104
22106
  }],
21105
- url: "/application/v1/workers/{worker_id}/grants",
22107
+ url: "/automation/v1/scripts",
21106
22108
  ...options,
21107
22109
  headers: {
21108
22110
  "Content-Type": "application/json",
21109
22111
  ...options.headers
21110
22112
  }
21111
22113
  });
21112
- var applicationDeleteGrant = (options) => (options.client ?? client).delete({
22114
+ var automationScriptsGet = (options) => (options.client ?? client).get({
21113
22115
  security: [{
21114
- key: "application-bearerAuth",
22116
+ key: "BearerAuth",
21115
22117
  scheme: "bearer",
21116
22118
  type: "http"
22119
+ }, {
22120
+ key: "ApiKeyAuth",
22121
+ name: "X-API-Key",
22122
+ type: "apiKey"
21117
22123
  }],
21118
- url: "/application/v1/workers/{worker_id}/grants/{grant_id}",
22124
+ url: "/automation/v1/scripts/{ns}/{name}",
21119
22125
  ...options
21120
22126
  });
21121
- var applicationListEvents = (options) => (options.client ?? client).get({
22127
+ var automationScriptsPatch = (options) => (options.client ?? client).patch({
21122
22128
  security: [{
21123
- key: "application-bearerAuth",
22129
+ key: "BearerAuth",
21124
22130
  scheme: "bearer",
21125
22131
  type: "http"
22132
+ }, {
22133
+ key: "ApiKeyAuth",
22134
+ name: "X-API-Key",
22135
+ type: "apiKey"
21126
22136
  }],
21127
- url: "/application/v1/workers/{worker_id}/events",
21128
- ...options
22137
+ url: "/automation/v1/scripts/{ns}/{name}",
22138
+ ...options,
22139
+ headers: {
22140
+ "Content-Type": "application/json",
22141
+ ...options.headers
22142
+ }
21129
22143
  });
21130
- var applicationCreateAssetUploadSession = (options) => (options.client ?? client).post({
22144
+ var automationScriptsArchive = (options) => (options.client ?? client).post({
21131
22145
  security: [{
21132
- key: "application-bearerAuth",
22146
+ key: "BearerAuth",
21133
22147
  scheme: "bearer",
21134
22148
  type: "http"
22149
+ }, {
22150
+ key: "ApiKeyAuth",
22151
+ name: "X-API-Key",
22152
+ type: "apiKey"
21135
22153
  }],
21136
- url: "/application/v1/workers/{worker_id}/assets-upload-session",
22154
+ url: "/automation/v1/scripts/{ns}/{name}/archive",
21137
22155
  ...options,
21138
22156
  headers: {
21139
22157
  "Content-Type": "application/json",
21140
22158
  ...options.headers
21141
22159
  }
21142
22160
  });
21143
- var applicationUploadAssets = (options) => (options.client ?? client).post({
22161
+ var automationScriptsRestore = (options) => (options.client ?? client).post({
21144
22162
  security: [{
21145
- key: "application-bearerAuth",
22163
+ key: "BearerAuth",
21146
22164
  scheme: "bearer",
21147
22165
  type: "http"
22166
+ }, {
22167
+ key: "ApiKeyAuth",
22168
+ name: "X-API-Key",
22169
+ type: "apiKey"
21148
22170
  }],
21149
- url: "/application/v1/assets/upload",
22171
+ url: "/automation/v1/scripts/{ns}/{name}/restore",
21150
22172
  ...options,
21151
22173
  headers: {
21152
22174
  "Content-Type": "application/json",
21153
22175
  ...options.headers
21154
22176
  }
21155
22177
  });
21156
- var automationActionsList = (options) => (options?.client ?? client).get({
21157
- querySerializer: { parameters: {
21158
- namespace: { array: { explode: false } },
21159
- scope: { array: { explode: false } },
21160
- implementation: { array: { explode: false } }
21161
- } },
22178
+ var automationScriptsVersions = (options) => (options.client ?? client).get({
21162
22179
  security: [{
21163
22180
  key: "BearerAuth",
21164
22181
  scheme: "bearer",
@@ -21168,10 +22185,10 @@ var automationActionsList = (options) => (options?.client ?? client).get({
21168
22185
  name: "X-API-Key",
21169
22186
  type: "apiKey"
21170
22187
  }],
21171
- url: "/automation/v1/actions",
22188
+ url: "/automation/v1/scripts/{ns}/{name}/versions",
21172
22189
  ...options
21173
22190
  });
21174
- var automationActionsCreate = (options) => (options.client ?? client).post({
22191
+ var automationScriptsPublish = (options) => (options.client ?? client).post({
21175
22192
  security: [{
21176
22193
  key: "BearerAuth",
21177
22194
  scheme: "bearer",
@@ -21181,14 +22198,14 @@ var automationActionsCreate = (options) => (options.client ?? client).post({
21181
22198
  name: "X-API-Key",
21182
22199
  type: "apiKey"
21183
22200
  }],
21184
- url: "/automation/v1/actions",
22201
+ url: "/automation/v1/scripts/{ns}/{name}/versions",
21185
22202
  ...options,
21186
22203
  headers: {
21187
22204
  "Content-Type": "application/json",
21188
22205
  ...options.headers
21189
22206
  }
21190
22207
  });
21191
- var automationActionsGet = (options) => (options.client ?? client).get({
22208
+ var automationScriptsVersion = (options) => (options.client ?? client).get({
21192
22209
  security: [{
21193
22210
  key: "BearerAuth",
21194
22211
  scheme: "bearer",
@@ -21198,10 +22215,10 @@ var automationActionsGet = (options) => (options.client ?? client).get({
21198
22215
  name: "X-API-Key",
21199
22216
  type: "apiKey"
21200
22217
  }],
21201
- url: "/automation/v1/actions/{ns}/{name}",
22218
+ url: "/automation/v1/scripts/{ns}/{name}/versions/{version}",
21202
22219
  ...options
21203
22220
  });
21204
- var automationActionsUpdate = (options) => (options.client ?? client).put({
22221
+ var automationScriptsDeprecate = (options) => (options.client ?? client).post({
21205
22222
  security: [{
21206
22223
  key: "BearerAuth",
21207
22224
  scheme: "bearer",
@@ -21211,14 +22228,14 @@ var automationActionsUpdate = (options) => (options.client ?? client).put({
21211
22228
  name: "X-API-Key",
21212
22229
  type: "apiKey"
21213
22230
  }],
21214
- url: "/automation/v1/actions/{ns}/{name}",
22231
+ url: "/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate",
21215
22232
  ...options,
21216
22233
  headers: {
21217
22234
  "Content-Type": "application/json",
21218
22235
  ...options.headers
21219
22236
  }
21220
22237
  });
21221
- var automationActionsRevisions = (options) => (options.client ?? client).get({
22238
+ var automationScriptsDistTags = (options) => (options.client ?? client).get({
21222
22239
  security: [{
21223
22240
  key: "BearerAuth",
21224
22241
  scheme: "bearer",
@@ -21228,10 +22245,10 @@ var automationActionsRevisions = (options) => (options.client ?? client).get({
21228
22245
  name: "X-API-Key",
21229
22246
  type: "apiKey"
21230
22247
  }],
21231
- url: "/automation/v1/actions/{ns}/{name}/revisions",
22248
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags",
21232
22249
  ...options
21233
22250
  });
21234
- var automationActionsRevision = (options) => (options.client ?? client).get({
22251
+ var automationScriptsDeleteDistTag = (options) => (options.client ?? client).delete({
21235
22252
  security: [{
21236
22253
  key: "BearerAuth",
21237
22254
  scheme: "bearer",
@@ -21241,10 +22258,10 @@ var automationActionsRevision = (options) => (options.client ?? client).get({
21241
22258
  name: "X-API-Key",
21242
22259
  type: "apiKey"
21243
22260
  }],
21244
- url: "/automation/v1/actions/{ns}/{name}/revisions/{revision}",
22261
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21245
22262
  ...options
21246
22263
  });
21247
- var automationActionsRollback = (options) => (options.client ?? client).post({
22264
+ var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
21248
22265
  security: [{
21249
22266
  key: "BearerAuth",
21250
22267
  scheme: "bearer",
@@ -21254,15 +22271,15 @@ var automationActionsRollback = (options) => (options.client ?? client).post({
21254
22271
  name: "X-API-Key",
21255
22272
  type: "apiKey"
21256
22273
  }],
21257
- url: "/automation/v1/actions/{ns}/{name}/rollback",
22274
+ url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21258
22275
  ...options,
21259
22276
  headers: {
21260
22277
  "Content-Type": "application/json",
21261
22278
  ...options.headers
21262
22279
  }
21263
22280
  });
21264
- var automationActionsInvocations = (options) => (options.client ?? client).get({
21265
- 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 } } } },
21266
22283
  security: [{
21267
22284
  key: "BearerAuth",
21268
22285
  scheme: "bearer",
@@ -21272,10 +22289,10 @@ var automationActionsInvocations = (options) => (options.client ?? client).get({
21272
22289
  name: "X-API-Key",
21273
22290
  type: "apiKey"
21274
22291
  }],
21275
- url: "/automation/v1/actions/{ns}/{name}/invocations",
22292
+ url: "/automation/v1/workflows",
21276
22293
  ...options
21277
22294
  });
21278
- var automationActionsDependents = (options) => (options.client ?? client).get({
22295
+ var automationWorkflowsCreate = (options) => (options.client ?? client).post({
21279
22296
  security: [{
21280
22297
  key: "BearerAuth",
21281
22298
  scheme: "bearer",
@@ -21285,10 +22302,27 @@ var automationActionsDependents = (options) => (options.client ?? client).get({
21285
22302
  name: "X-API-Key",
21286
22303
  type: "apiKey"
21287
22304
  }],
21288
- 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}",
21289
22323
  ...options
21290
22324
  });
21291
- var automationActionsArchive = (options) => (options.client ?? client).post({
22325
+ var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
21292
22326
  security: [{
21293
22327
  key: "BearerAuth",
21294
22328
  scheme: "bearer",
@@ -21298,14 +22332,14 @@ var automationActionsArchive = (options) => (options.client ?? client).post({
21298
22332
  name: "X-API-Key",
21299
22333
  type: "apiKey"
21300
22334
  }],
21301
- url: "/automation/v1/actions/{ns}/{name}/archive",
22335
+ url: "/automation/v1/workflows/{ns}/{name}",
21302
22336
  ...options,
21303
22337
  headers: {
21304
22338
  "Content-Type": "application/json",
21305
22339
  ...options.headers
21306
22340
  }
21307
22341
  });
21308
- var automationActionsRestore = (options) => (options.client ?? client).post({
22342
+ var automationWorkflowsArchive = (options) => (options.client ?? client).post({
21309
22343
  security: [{
21310
22344
  key: "BearerAuth",
21311
22345
  scheme: "bearer",
@@ -21315,15 +22349,14 @@ var automationActionsRestore = (options) => (options.client ?? client).post({
21315
22349
  name: "X-API-Key",
21316
22350
  type: "apiKey"
21317
22351
  }],
21318
- url: "/automation/v1/actions/{ns}/{name}/restore",
22352
+ url: "/automation/v1/workflows/{ns}/{name}/archive",
21319
22353
  ...options,
21320
22354
  headers: {
21321
22355
  "Content-Type": "application/json",
21322
22356
  ...options.headers
21323
22357
  }
21324
22358
  });
21325
- var automationScriptsList = (options) => (options?.client ?? client).get({
21326
- querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
22359
+ var automationWorkflowsRestore = (options) => (options.client ?? client).post({
21327
22360
  security: [{
21328
22361
  key: "BearerAuth",
21329
22362
  scheme: "bearer",
@@ -21333,10 +22366,27 @@ var automationScriptsList = (options) => (options?.client ?? client).get({
21333
22366
  name: "X-API-Key",
21334
22367
  type: "apiKey"
21335
22368
  }],
21336
- 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",
21337
22387
  ...options
21338
22388
  });
21339
- var automationScriptsCreate = (options) => (options.client ?? client).post({
22389
+ var automationWorkflowsPublish = (options) => (options.client ?? client).post({
21340
22390
  security: [{
21341
22391
  key: "BearerAuth",
21342
22392
  scheme: "bearer",
@@ -21346,14 +22396,44 @@ var automationScriptsCreate = (options) => (options.client ?? client).post({
21346
22396
  name: "X-API-Key",
21347
22397
  type: "apiKey"
21348
22398
  }],
21349
- 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",
21350
22430
  ...options,
21351
22431
  headers: {
21352
22432
  "Content-Type": "application/json",
21353
22433
  ...options.headers
21354
22434
  }
21355
22435
  });
21356
- var automationScriptsGet = (options) => (options.client ?? client).get({
22436
+ var automationWorkflowsDistTags = (options) => (options.client ?? client).get({
21357
22437
  security: [{
21358
22438
  key: "BearerAuth",
21359
22439
  scheme: "bearer",
@@ -21363,10 +22443,10 @@ var automationScriptsGet = (options) => (options.client ?? client).get({
21363
22443
  name: "X-API-Key",
21364
22444
  type: "apiKey"
21365
22445
  }],
21366
- url: "/automation/v1/scripts/{ns}/{name}",
22446
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags",
21367
22447
  ...options
21368
22448
  });
21369
- var automationScriptsPatch = (options) => (options.client ?? client).patch({
22449
+ var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).delete({
21370
22450
  security: [{
21371
22451
  key: "BearerAuth",
21372
22452
  scheme: "bearer",
@@ -21376,14 +22456,10 @@ var automationScriptsPatch = (options) => (options.client ?? client).patch({
21376
22456
  name: "X-API-Key",
21377
22457
  type: "apiKey"
21378
22458
  }],
21379
- url: "/automation/v1/scripts/{ns}/{name}",
21380
- ...options,
21381
- headers: {
21382
- "Content-Type": "application/json",
21383
- ...options.headers
21384
- }
22459
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
22460
+ ...options
21385
22461
  });
21386
- var automationScriptsArchive = (options) => (options.client ?? client).post({
22462
+ var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put({
21387
22463
  security: [{
21388
22464
  key: "BearerAuth",
21389
22465
  scheme: "bearer",
@@ -21393,14 +22469,14 @@ var automationScriptsArchive = (options) => (options.client ?? client).post({
21393
22469
  name: "X-API-Key",
21394
22470
  type: "apiKey"
21395
22471
  }],
21396
- url: "/automation/v1/scripts/{ns}/{name}/archive",
22472
+ url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
21397
22473
  ...options,
21398
22474
  headers: {
21399
22475
  "Content-Type": "application/json",
21400
22476
  ...options.headers
21401
22477
  }
21402
22478
  });
21403
- var automationScriptsRestore = (options) => (options.client ?? client).post({
22479
+ var automationValidateValidate = (options) => (options.client ?? client).post({
21404
22480
  security: [{
21405
22481
  key: "BearerAuth",
21406
22482
  scheme: "bearer",
@@ -21410,14 +22486,14 @@ var automationScriptsRestore = (options) => (options.client ?? client).post({
21410
22486
  name: "X-API-Key",
21411
22487
  type: "apiKey"
21412
22488
  }],
21413
- url: "/automation/v1/scripts/{ns}/{name}/restore",
22489
+ url: "/automation/v1/validate",
21414
22490
  ...options,
21415
22491
  headers: {
21416
22492
  "Content-Type": "application/json",
21417
22493
  ...options.headers
21418
22494
  }
21419
22495
  });
21420
- var automationScriptsVersions = (options) => (options.client ?? client).get({
22496
+ var automationResolveResolve = (options) => (options.client ?? client).get({
21421
22497
  security: [{
21422
22498
  key: "BearerAuth",
21423
22499
  scheme: "bearer",
@@ -21427,10 +22503,11 @@ var automationScriptsVersions = (options) => (options.client ?? client).get({
21427
22503
  name: "X-API-Key",
21428
22504
  type: "apiKey"
21429
22505
  }],
21430
- url: "/automation/v1/scripts/{ns}/{name}/versions",
22506
+ url: "/automation/v1/resolve",
21431
22507
  ...options
21432
22508
  });
21433
- var automationScriptsPublish = (options) => (options.client ?? client).post({
22509
+ var automationTargetsTargets = (options) => (options?.client ?? client).get({
22510
+ querySerializer: { parameters: { kind: { array: { explode: false } } } },
21434
22511
  security: [{
21435
22512
  key: "BearerAuth",
21436
22513
  scheme: "bearer",
@@ -21440,14 +22517,21 @@ var automationScriptsPublish = (options) => (options.client ?? client).post({
21440
22517
  name: "X-API-Key",
21441
22518
  type: "apiKey"
21442
22519
  }],
21443
- url: "/automation/v1/scripts/{ns}/{name}/versions",
21444
- ...options,
21445
- headers: {
21446
- "Content-Type": "application/json",
21447
- ...options.headers
21448
- }
22520
+ url: "/automation/v1/targets",
22521
+ ...options
21449
22522
  });
21450
- 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
+ } },
21451
22535
  security: [{
21452
22536
  key: "BearerAuth",
21453
22537
  scheme: "bearer",
@@ -21457,10 +22541,10 @@ var automationScriptsVersion = (options) => (options.client ?? client).get({
21457
22541
  name: "X-API-Key",
21458
22542
  type: "apiKey"
21459
22543
  }],
21460
- url: "/automation/v1/scripts/{ns}/{name}/versions/{version}",
22544
+ url: "/automation/v1/runs",
21461
22545
  ...options
21462
22546
  });
21463
- var automationScriptsDeprecate = (options) => (options.client ?? client).post({
22547
+ var automationRunsCreate = (options) => (options.client ?? client).post({
21464
22548
  security: [{
21465
22549
  key: "BearerAuth",
21466
22550
  scheme: "bearer",
@@ -21470,14 +22554,15 @@ var automationScriptsDeprecate = (options) => (options.client ?? client).post({
21470
22554
  name: "X-API-Key",
21471
22555
  type: "apiKey"
21472
22556
  }],
21473
- url: "/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate",
22557
+ url: "/automation/v1/runs",
21474
22558
  ...options,
21475
22559
  headers: {
21476
22560
  "Content-Type": "application/json",
21477
22561
  ...options.headers
21478
22562
  }
21479
22563
  });
21480
- var automationScriptsDistTags = (options) => (options.client ?? client).get({
22564
+ var automationRunsGet = (options) => (options.client ?? client).get({
22565
+ querySerializer: { parameters: { expand: { array: { explode: false } } } },
21481
22566
  security: [{
21482
22567
  key: "BearerAuth",
21483
22568
  scheme: "bearer",
@@ -21487,10 +22572,10 @@ var automationScriptsDistTags = (options) => (options.client ?? client).get({
21487
22572
  name: "X-API-Key",
21488
22573
  type: "apiKey"
21489
22574
  }],
21490
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags",
22575
+ url: "/automation/v1/runs/{id}",
21491
22576
  ...options
21492
22577
  });
21493
- var automationScriptsDeleteDistTag = (options) => (options.client ?? client).delete({
22578
+ var automationRunsCancel = (options) => (options.client ?? client).post({
21494
22579
  security: [{
21495
22580
  key: "BearerAuth",
21496
22581
  scheme: "bearer",
@@ -21500,10 +22585,14 @@ var automationScriptsDeleteDistTag = (options) => (options.client ?? client).del
21500
22585
  name: "X-API-Key",
21501
22586
  type: "apiKey"
21502
22587
  }],
21503
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
21504
- ...options
22588
+ url: "/automation/v1/runs/{id}/cancel",
22589
+ ...options,
22590
+ headers: {
22591
+ "Content-Type": "application/json",
22592
+ ...options.headers
22593
+ }
21505
22594
  });
21506
- var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
22595
+ var automationRunsRerun = (options) => (options.client ?? client).post({
21507
22596
  security: [{
21508
22597
  key: "BearerAuth",
21509
22598
  scheme: "bearer",
@@ -21513,15 +22602,14 @@ var automationScriptsSetDistTag = (options) => (options.client ?? client).put({
21513
22602
  name: "X-API-Key",
21514
22603
  type: "apiKey"
21515
22604
  }],
21516
- url: "/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}",
22605
+ url: "/automation/v1/runs/{id}/rerun",
21517
22606
  ...options,
21518
22607
  headers: {
21519
22608
  "Content-Type": "application/json",
21520
22609
  ...options.headers
21521
22610
  }
21522
22611
  });
21523
- var automationWorkflowsList = (options) => (options?.client ?? client).get({
21524
- querySerializer: { parameters: { namespace: { array: { explode: false } }, scope: { array: { explode: false } } } },
22612
+ var automationRunsSuspend = (options) => (options.client ?? client).post({
21525
22613
  security: [{
21526
22614
  key: "BearerAuth",
21527
22615
  scheme: "bearer",
@@ -21531,10 +22619,14 @@ var automationWorkflowsList = (options) => (options?.client ?? client).get({
21531
22619
  name: "X-API-Key",
21532
22620
  type: "apiKey"
21533
22621
  }],
21534
- url: "/automation/v1/workflows",
21535
- ...options
22622
+ url: "/automation/v1/runs/{id}/suspend",
22623
+ ...options,
22624
+ headers: {
22625
+ "Content-Type": "application/json",
22626
+ ...options.headers
22627
+ }
21536
22628
  });
21537
- var automationWorkflowsCreate = (options) => (options.client ?? client).post({
22629
+ var automationRunsResume = (options) => (options.client ?? client).post({
21538
22630
  security: [{
21539
22631
  key: "BearerAuth",
21540
22632
  scheme: "bearer",
@@ -21544,14 +22636,14 @@ var automationWorkflowsCreate = (options) => (options.client ?? client).post({
21544
22636
  name: "X-API-Key",
21545
22637
  type: "apiKey"
21546
22638
  }],
21547
- url: "/automation/v1/workflows",
22639
+ url: "/automation/v1/runs/{id}/resume",
21548
22640
  ...options,
21549
22641
  headers: {
21550
22642
  "Content-Type": "application/json",
21551
22643
  ...options.headers
21552
22644
  }
21553
22645
  });
21554
- var automationWorkflowsGet = (options) => (options.client ?? client).get({
22646
+ var automationRunsWaits = (options) => (options.client ?? client).get({
21555
22647
  security: [{
21556
22648
  key: "BearerAuth",
21557
22649
  scheme: "bearer",
@@ -21561,10 +22653,10 @@ var automationWorkflowsGet = (options) => (options.client ?? client).get({
21561
22653
  name: "X-API-Key",
21562
22654
  type: "apiKey"
21563
22655
  }],
21564
- url: "/automation/v1/workflows/{ns}/{name}",
22656
+ url: "/automation/v1/runs/{id}/waits",
21565
22657
  ...options
21566
22658
  });
21567
- var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
22659
+ var automationRunsCalls = (options) => (options.client ?? client).get({
21568
22660
  security: [{
21569
22661
  key: "BearerAuth",
21570
22662
  scheme: "bearer",
@@ -21574,14 +22666,10 @@ var automationWorkflowsPatch = (options) => (options.client ?? client).patch({
21574
22666
  name: "X-API-Key",
21575
22667
  type: "apiKey"
21576
22668
  }],
21577
- url: "/automation/v1/workflows/{ns}/{name}",
21578
- ...options,
21579
- headers: {
21580
- "Content-Type": "application/json",
21581
- ...options.headers
21582
- }
22669
+ url: "/automation/v1/runs/{id}/calls",
22670
+ ...options
21583
22671
  });
21584
- var automationWorkflowsArchive = (options) => (options.client ?? client).post({
22672
+ var automationRunsArtifacts = (options) => (options.client ?? client).get({
21585
22673
  security: [{
21586
22674
  key: "BearerAuth",
21587
22675
  scheme: "bearer",
@@ -21591,14 +22679,10 @@ var automationWorkflowsArchive = (options) => (options.client ?? client).post({
21591
22679
  name: "X-API-Key",
21592
22680
  type: "apiKey"
21593
22681
  }],
21594
- url: "/automation/v1/workflows/{ns}/{name}/archive",
21595
- ...options,
21596
- headers: {
21597
- "Content-Type": "application/json",
21598
- ...options.headers
21599
- }
22682
+ url: "/automation/v1/runs/{id}/artifacts",
22683
+ ...options
21600
22684
  });
21601
- var automationWorkflowsRestore = (options) => (options.client ?? client).post({
22685
+ var automationRunsCompleteWait = (options) => (options.client ?? client).post({
21602
22686
  security: [{
21603
22687
  key: "BearerAuth",
21604
22688
  scheme: "bearer",
@@ -21608,14 +22692,14 @@ var automationWorkflowsRestore = (options) => (options.client ?? client).post({
21608
22692
  name: "X-API-Key",
21609
22693
  type: "apiKey"
21610
22694
  }],
21611
- url: "/automation/v1/workflows/{ns}/{name}/restore",
22695
+ url: "/automation/v1/runs/{id}/waits/{wait_id}/complete",
21612
22696
  ...options,
21613
22697
  headers: {
21614
22698
  "Content-Type": "application/json",
21615
22699
  ...options.headers
21616
22700
  }
21617
22701
  });
21618
- var automationWorkflowsVersions = (options) => (options.client ?? client).get({
22702
+ var automationRunsTasks = (options) => (options.client ?? client).get({
21619
22703
  security: [{
21620
22704
  key: "BearerAuth",
21621
22705
  scheme: "bearer",
@@ -21625,10 +22709,10 @@ var automationWorkflowsVersions = (options) => (options.client ?? client).get({
21625
22709
  name: "X-API-Key",
21626
22710
  type: "apiKey"
21627
22711
  }],
21628
- url: "/automation/v1/workflows/{ns}/{name}/versions",
22712
+ url: "/automation/v1/runs/{id}/tasks",
21629
22713
  ...options
21630
22714
  });
21631
- var automationWorkflowsPublish = (options) => (options.client ?? client).post({
22715
+ var automationRunsEvents = (options) => (options.client ?? client).get({
21632
22716
  security: [{
21633
22717
  key: "BearerAuth",
21634
22718
  scheme: "bearer",
@@ -21638,14 +22722,10 @@ var automationWorkflowsPublish = (options) => (options.client ?? client).post({
21638
22722
  name: "X-API-Key",
21639
22723
  type: "apiKey"
21640
22724
  }],
21641
- url: "/automation/v1/workflows/{ns}/{name}/versions",
21642
- ...options,
21643
- headers: {
21644
- "Content-Type": "application/json",
21645
- ...options.headers
21646
- }
22725
+ url: "/automation/v1/runs/{id}/events",
22726
+ ...options
21647
22727
  });
21648
- var automationWorkflowsVersion = (options) => (options.client ?? client).get({
22728
+ var automationRunsLogs = (options) => (options.client ?? client).get({
21649
22729
  security: [{
21650
22730
  key: "BearerAuth",
21651
22731
  scheme: "bearer",
@@ -21655,10 +22735,10 @@ var automationWorkflowsVersion = (options) => (options.client ?? client).get({
21655
22735
  name: "X-API-Key",
21656
22736
  type: "apiKey"
21657
22737
  }],
21658
- url: "/automation/v1/workflows/{ns}/{name}/versions/{version}",
22738
+ url: "/automation/v1/runs/{id}/logs",
21659
22739
  ...options
21660
22740
  });
21661
- var automationWorkflowsDeprecate = (options) => (options.client ?? client).post({
22741
+ var automationRunsSource = (options) => (options.client ?? client).get({
21662
22742
  security: [{
21663
22743
  key: "BearerAuth",
21664
22744
  scheme: "bearer",
@@ -21668,14 +22748,15 @@ var automationWorkflowsDeprecate = (options) => (options.client ?? client).post(
21668
22748
  name: "X-API-Key",
21669
22749
  type: "apiKey"
21670
22750
  }],
21671
- url: "/automation/v1/workflows/{ns}/{name}/versions/{version}/deprecate",
21672
- ...options,
21673
- headers: {
21674
- "Content-Type": "application/json",
21675
- ...options.headers
21676
- }
22751
+ url: "/automation/v1/runs/{id}/source",
22752
+ ...options
21677
22753
  });
21678
- 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
+ } },
21679
22760
  security: [{
21680
22761
  key: "BearerAuth",
21681
22762
  scheme: "bearer",
@@ -21685,10 +22766,10 @@ var automationWorkflowsDistTags = (options) => (options.client ?? client).get({
21685
22766
  name: "X-API-Key",
21686
22767
  type: "apiKey"
21687
22768
  }],
21688
- url: "/automation/v1/workflows/{ns}/{name}/dist-tags",
22769
+ url: "/automation/v1/triggers",
21689
22770
  ...options
21690
22771
  });
21691
- var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).delete({
22772
+ var automationTriggersCreate = (options) => (options.client ?? client).post({
21692
22773
  security: [{
21693
22774
  key: "BearerAuth",
21694
22775
  scheme: "bearer",
@@ -21698,10 +22779,27 @@ var automationWorkflowsDeleteDistTag = (options) => (options.client ?? client).d
21698
22779
  name: "X-API-Key",
21699
22780
  type: "apiKey"
21700
22781
  }],
21701
- 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}",
21702
22800
  ...options
21703
22801
  });
21704
- var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put({
22802
+ var automationTriggersGet = (options) => (options.client ?? client).get({
21705
22803
  security: [{
21706
22804
  key: "BearerAuth",
21707
22805
  scheme: "bearer",
@@ -21711,14 +22809,10 @@ var automationWorkflowsSetDistTag = (options) => (options.client ?? client).put(
21711
22809
  name: "X-API-Key",
21712
22810
  type: "apiKey"
21713
22811
  }],
21714
- url: "/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}",
21715
- ...options,
21716
- headers: {
21717
- "Content-Type": "application/json",
21718
- ...options.headers
21719
- }
22812
+ url: "/automation/v1/triggers/{id}",
22813
+ ...options
21720
22814
  });
21721
- var automationValidateValidate = (options) => (options.client ?? client).post({
22815
+ var automationTriggersPatch = (options) => (options.client ?? client).patch({
21722
22816
  security: [{
21723
22817
  key: "BearerAuth",
21724
22818
  scheme: "bearer",
@@ -21728,14 +22822,14 @@ var automationValidateValidate = (options) => (options.client ?? client).post({
21728
22822
  name: "X-API-Key",
21729
22823
  type: "apiKey"
21730
22824
  }],
21731
- url: "/automation/v1/validate",
22825
+ url: "/automation/v1/triggers/{id}",
21732
22826
  ...options,
21733
22827
  headers: {
21734
22828
  "Content-Type": "application/json",
21735
22829
  ...options.headers
21736
22830
  }
21737
22831
  });
21738
- var automationResolveResolve = (options) => (options.client ?? client).get({
22832
+ var automationTriggersPause = (options) => (options.client ?? client).post({
21739
22833
  security: [{
21740
22834
  key: "BearerAuth",
21741
22835
  scheme: "bearer",
@@ -21745,11 +22839,10 @@ var automationResolveResolve = (options) => (options.client ?? client).get({
21745
22839
  name: "X-API-Key",
21746
22840
  type: "apiKey"
21747
22841
  }],
21748
- url: "/automation/v1/resolve",
22842
+ url: "/automation/v1/triggers/{id}/pause",
21749
22843
  ...options
21750
22844
  });
21751
- var automationTargetsTargets = (options) => (options?.client ?? client).get({
21752
- querySerializer: { parameters: { kind: { array: { explode: false } } } },
22845
+ var automationTriggersResume = (options) => (options.client ?? client).post({
21753
22846
  security: [{
21754
22847
  key: "BearerAuth",
21755
22848
  scheme: "bearer",
@@ -21759,21 +22852,10 @@ var automationTargetsTargets = (options) => (options?.client ?? client).get({
21759
22852
  name: "X-API-Key",
21760
22853
  type: "apiKey"
21761
22854
  }],
21762
- url: "/automation/v1/targets",
22855
+ url: "/automation/v1/triggers/{id}/resume",
21763
22856
  ...options
21764
22857
  });
21765
- var automationRunsList = (options) => (options?.client ?? client).get({
21766
- querySerializer: { parameters: {
21767
- kind: { array: { explode: false } },
21768
- definition: { array: { explode: false } },
21769
- version: { array: { explode: false } },
21770
- status: { array: { explode: false } },
21771
- channel: { array: { explode: false } },
21772
- initiator_type: { array: { explode: false } },
21773
- language: { array: { explode: false } },
21774
- parent_run_id: { array: { explode: false } },
21775
- root_run_id: { array: { explode: false } }
21776
- } },
22858
+ var automationTriggersFire = (options) => (options.client ?? client).post({
21777
22859
  security: [{
21778
22860
  key: "BearerAuth",
21779
22861
  scheme: "bearer",
@@ -21783,10 +22865,10 @@ var automationRunsList = (options) => (options?.client ?? client).get({
21783
22865
  name: "X-API-Key",
21784
22866
  type: "apiKey"
21785
22867
  }],
21786
- url: "/automation/v1/runs",
22868
+ url: "/automation/v1/triggers/{id}/fire",
21787
22869
  ...options
21788
22870
  });
21789
- var automationRunsCreate = (options) => (options.client ?? client).post({
22871
+ var automationTriggersRotateWebhook = (options) => (options.client ?? client).post({
21790
22872
  security: [{
21791
22873
  key: "BearerAuth",
21792
22874
  scheme: "bearer",
@@ -21796,15 +22878,11 @@ var automationRunsCreate = (options) => (options.client ?? client).post({
21796
22878
  name: "X-API-Key",
21797
22879
  type: "apiKey"
21798
22880
  }],
21799
- url: "/automation/v1/runs",
21800
- ...options,
21801
- headers: {
21802
- "Content-Type": "application/json",
21803
- ...options.headers
21804
- }
22881
+ url: "/automation/v1/triggers/{id}/rotate-webhook",
22882
+ ...options
21805
22883
  });
21806
- var automationRunsGet = (options) => (options.client ?? client).get({
21807
- querySerializer: { parameters: { expand: { array: { explode: false } } } },
22884
+ var automationTriggersFirings = (options) => (options.client ?? client).get({
22885
+ querySerializer: { parameters: { outcome: { array: { explode: false } } } },
21808
22886
  security: [{
21809
22887
  key: "BearerAuth",
21810
22888
  scheme: "bearer",
@@ -21814,10 +22892,10 @@ var automationRunsGet = (options) => (options.client ?? client).get({
21814
22892
  name: "X-API-Key",
21815
22893
  type: "apiKey"
21816
22894
  }],
21817
- url: "/automation/v1/runs/{id}",
22895
+ url: "/automation/v1/triggers/{id}/firings",
21818
22896
  ...options
21819
22897
  });
21820
- var automationRunsCancel = (options) => (options.client ?? client).post({
22898
+ var automationTriggersPreview = (options) => (options.client ?? client).post({
21821
22899
  security: [{
21822
22900
  key: "BearerAuth",
21823
22901
  scheme: "bearer",
@@ -21827,14 +22905,23 @@ var automationRunsCancel = (options) => (options.client ?? client).post({
21827
22905
  name: "X-API-Key",
21828
22906
  type: "apiKey"
21829
22907
  }],
21830
- url: "/automation/v1/runs/{id}/cancel",
22908
+ url: "/automation/v1/triggers/preview",
21831
22909
  ...options,
21832
22910
  headers: {
21833
22911
  "Content-Type": "application/json",
21834
22912
  ...options.headers
21835
22913
  }
21836
22914
  });
21837
- 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 } } } },
21838
22925
  security: [{
21839
22926
  key: "BearerAuth",
21840
22927
  scheme: "bearer",
@@ -21844,14 +22931,10 @@ var automationRunsRerun = (options) => (options.client ?? client).post({
21844
22931
  name: "X-API-Key",
21845
22932
  type: "apiKey"
21846
22933
  }],
21847
- url: "/automation/v1/runs/{id}/rerun",
21848
- ...options,
21849
- headers: {
21850
- "Content-Type": "application/json",
21851
- ...options.headers
21852
- }
22934
+ url: "/automation/v1/human-tasks",
22935
+ ...options
21853
22936
  });
21854
- var automationRunsSuspend = (options) => (options.client ?? client).post({
22937
+ var automationHumanTasksGet = (options) => (options.client ?? client).get({
21855
22938
  security: [{
21856
22939
  key: "BearerAuth",
21857
22940
  scheme: "bearer",
@@ -21861,14 +22944,10 @@ var automationRunsSuspend = (options) => (options.client ?? client).post({
21861
22944
  name: "X-API-Key",
21862
22945
  type: "apiKey"
21863
22946
  }],
21864
- url: "/automation/v1/runs/{id}/suspend",
21865
- ...options,
21866
- headers: {
21867
- "Content-Type": "application/json",
21868
- ...options.headers
21869
- }
22947
+ url: "/automation/v1/human-tasks/{id}",
22948
+ ...options
21870
22949
  });
21871
- var automationRunsResume = (options) => (options.client ?? client).post({
22950
+ var automationHumanTasksRespond = (options) => (options.client ?? client).post({
21872
22951
  security: [{
21873
22952
  key: "BearerAuth",
21874
22953
  scheme: "bearer",
@@ -21878,14 +22957,14 @@ var automationRunsResume = (options) => (options.client ?? client).post({
21878
22957
  name: "X-API-Key",
21879
22958
  type: "apiKey"
21880
22959
  }],
21881
- url: "/automation/v1/runs/{id}/resume",
22960
+ url: "/automation/v1/human-tasks/{id}/respond",
21882
22961
  ...options,
21883
22962
  headers: {
21884
22963
  "Content-Type": "application/json",
21885
22964
  ...options.headers
21886
22965
  }
21887
22966
  });
21888
- var automationRunsWaits = (options) => (options.client ?? client).get({
22967
+ var automationHumanTasksCancel = (options) => (options.client ?? client).post({
21889
22968
  security: [{
21890
22969
  key: "BearerAuth",
21891
22970
  scheme: "bearer",
@@ -21895,10 +22974,14 @@ var automationRunsWaits = (options) => (options.client ?? client).get({
21895
22974
  name: "X-API-Key",
21896
22975
  type: "apiKey"
21897
22976
  }],
21898
- url: "/automation/v1/runs/{id}/waits",
21899
- ...options
22977
+ url: "/automation/v1/human-tasks/{id}/cancel",
22978
+ ...options,
22979
+ headers: {
22980
+ "Content-Type": "application/json",
22981
+ ...options.headers
22982
+ }
21900
22983
  });
21901
- var automationRunsCalls = (options) => (options.client ?? client).get({
22984
+ var automationHumanTasksDelegate = (options) => (options.client ?? client).post({
21902
22985
  security: [{
21903
22986
  key: "BearerAuth",
21904
22987
  scheme: "bearer",
@@ -21908,97 +22991,85 @@ var automationRunsCalls = (options) => (options.client ?? client).get({
21908
22991
  name: "X-API-Key",
21909
22992
  type: "apiKey"
21910
22993
  }],
21911
- url: "/automation/v1/runs/{id}/calls",
21912
- ...options
22994
+ url: "/automation/v1/human-tasks/{id}/delegate",
22995
+ ...options,
22996
+ headers: {
22997
+ "Content-Type": "application/json",
22998
+ ...options.headers
22999
+ }
21913
23000
  });
21914
- var automationRunsArtifacts = (options) => (options.client ?? client).get({
23001
+ var canvasListCanvases = (options) => (options?.client ?? client).get({
21915
23002
  security: [{
21916
- key: "BearerAuth",
23003
+ key: "canvas-bearerAuth",
21917
23004
  scheme: "bearer",
21918
23005
  type: "http"
21919
- }, {
21920
- key: "ApiKeyAuth",
21921
- name: "X-API-Key",
21922
- type: "apiKey"
21923
23006
  }],
21924
- url: "/automation/v1/runs/{id}/artifacts",
23007
+ url: "/canvas/v1/canvases",
21925
23008
  ...options
21926
23009
  });
21927
- var automationRunsCompleteWait = (options) => (options.client ?? client).post({
23010
+ var canvasCreateCanvas = (options) => (options?.client ?? client).post({
21928
23011
  security: [{
21929
- key: "BearerAuth",
23012
+ key: "canvas-bearerAuth",
21930
23013
  scheme: "bearer",
21931
23014
  type: "http"
21932
- }, {
21933
- key: "ApiKeyAuth",
21934
- name: "X-API-Key",
21935
- type: "apiKey"
21936
23015
  }],
21937
- url: "/automation/v1/runs/{id}/waits/{wait_id}/complete",
23016
+ url: "/canvas/v1/canvases",
21938
23017
  ...options,
21939
23018
  headers: {
21940
23019
  "Content-Type": "application/json",
21941
- ...options.headers
23020
+ ...options?.headers
21942
23021
  }
21943
23022
  });
21944
- var automationRunsTasks = (options) => (options.client ?? client).get({
23023
+ var canvasDeleteCanvas = (options) => (options.client ?? client).delete({
21945
23024
  security: [{
21946
- key: "BearerAuth",
23025
+ key: "canvas-bearerAuth",
21947
23026
  scheme: "bearer",
21948
23027
  type: "http"
21949
- }, {
21950
- key: "ApiKeyAuth",
21951
- name: "X-API-Key",
21952
- type: "apiKey"
21953
23028
  }],
21954
- url: "/automation/v1/runs/{id}/tasks",
23029
+ url: "/canvas/v1/canvases/{canvas_id}",
21955
23030
  ...options
21956
23031
  });
21957
- var automationRunsEvents = (options) => (options.client ?? client).get({
23032
+ var canvasRetrieveCanvas = (options) => (options.client ?? client).get({
21958
23033
  security: [{
21959
- key: "BearerAuth",
23034
+ key: "canvas-bearerAuth",
21960
23035
  scheme: "bearer",
21961
23036
  type: "http"
21962
- }, {
21963
- key: "ApiKeyAuth",
21964
- name: "X-API-Key",
21965
- type: "apiKey"
21966
23037
  }],
21967
- url: "/automation/v1/runs/{id}/events",
23038
+ url: "/canvas/v1/canvases/{canvas_id}",
21968
23039
  ...options
21969
23040
  });
21970
- var automationRunsLogs = (options) => (options.client ?? client).get({
23041
+ var canvasListNodes = (options) => (options.client ?? client).get({
21971
23042
  security: [{
21972
- key: "BearerAuth",
23043
+ key: "canvas-bearerAuth",
21973
23044
  scheme: "bearer",
21974
23045
  type: "http"
21975
- }, {
21976
- key: "ApiKeyAuth",
21977
- name: "X-API-Key",
21978
- type: "apiKey"
21979
23046
  }],
21980
- url: "/automation/v1/runs/{id}/logs",
23047
+ url: "/canvas/v1/canvases/{canvas_id}/nodes",
21981
23048
  ...options
21982
23049
  });
21983
- var automationRunsSource = (options) => (options.client ?? client).get({
23050
+ var canvasListImages = (options) => (options.client ?? client).get({
21984
23051
  security: [{
21985
- key: "BearerAuth",
23052
+ key: "canvas-bearerAuth",
21986
23053
  scheme: "bearer",
21987
23054
  type: "http"
21988
- }, {
21989
- key: "ApiKeyAuth",
21990
- name: "X-API-Key",
21991
- type: "apiKey"
21992
23055
  }],
21993
- url: "/automation/v1/runs/{id}/source",
23056
+ url: "/canvas/v1/canvases/{canvas_id}/images",
21994
23057
  ...options
21995
23058
  });
21996
- var automationTriggersList = (options) => (options?.client ?? client).get({
21997
- querySerializer: { parameters: {
21998
- target: { array: { explode: false } },
21999
- kind: { array: { explode: false } },
22000
- state: { array: { explode: false } }
22001
- } },
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({
22002
23073
  security: [{
22003
23074
  key: "BearerAuth",
22004
23075
  scheme: "bearer",
@@ -22008,10 +23079,10 @@ var automationTriggersList = (options) => (options?.client ?? client).get({
22008
23079
  name: "X-API-Key",
22009
23080
  type: "apiKey"
22010
23081
  }],
22011
- url: "/automation/v1/triggers",
23082
+ url: "/cut/v1/projects",
22012
23083
  ...options
22013
23084
  });
22014
- var automationTriggersCreate = (options) => (options.client ?? client).post({
23085
+ var cutCreateProject = (options) => (options.client ?? client).post({
22015
23086
  security: [{
22016
23087
  key: "BearerAuth",
22017
23088
  scheme: "bearer",
@@ -22021,14 +23092,14 @@ var automationTriggersCreate = (options) => (options.client ?? client).post({
22021
23092
  name: "X-API-Key",
22022
23093
  type: "apiKey"
22023
23094
  }],
22024
- url: "/automation/v1/triggers",
23095
+ url: "/cut/v1/projects",
22025
23096
  ...options,
22026
23097
  headers: {
22027
23098
  "Content-Type": "application/json",
22028
23099
  ...options.headers
22029
23100
  }
22030
23101
  });
22031
- var automationTriggersDelete = (options) => (options.client ?? client).delete({
23102
+ var cutDeleteProject = (options) => (options.client ?? client).delete({
22032
23103
  security: [{
22033
23104
  key: "BearerAuth",
22034
23105
  scheme: "bearer",
@@ -22038,10 +23109,10 @@ var automationTriggersDelete = (options) => (options.client ?? client).delete({
22038
23109
  name: "X-API-Key",
22039
23110
  type: "apiKey"
22040
23111
  }],
22041
- url: "/automation/v1/triggers/{id}",
23112
+ url: "/cut/v1/projects/{project_id}",
22042
23113
  ...options
22043
23114
  });
22044
- var automationTriggersGet = (options) => (options.client ?? client).get({
23115
+ var cutRetrieveProject = (options) => (options.client ?? client).get({
22045
23116
  security: [{
22046
23117
  key: "BearerAuth",
22047
23118
  scheme: "bearer",
@@ -22051,10 +23122,10 @@ var automationTriggersGet = (options) => (options.client ?? client).get({
22051
23122
  name: "X-API-Key",
22052
23123
  type: "apiKey"
22053
23124
  }],
22054
- url: "/automation/v1/triggers/{id}",
23125
+ url: "/cut/v1/projects/{project_id}",
22055
23126
  ...options
22056
23127
  });
22057
- var automationTriggersPatch = (options) => (options.client ?? client).patch({
23128
+ var cutUpdateProject = (options) => (options.client ?? client).patch({
22058
23129
  security: [{
22059
23130
  key: "BearerAuth",
22060
23131
  scheme: "bearer",
@@ -22064,14 +23135,14 @@ var automationTriggersPatch = (options) => (options.client ?? client).patch({
22064
23135
  name: "X-API-Key",
22065
23136
  type: "apiKey"
22066
23137
  }],
22067
- url: "/automation/v1/triggers/{id}",
23138
+ url: "/cut/v1/projects/{project_id}",
22068
23139
  ...options,
22069
23140
  headers: {
22070
23141
  "Content-Type": "application/json",
22071
23142
  ...options.headers
22072
23143
  }
22073
23144
  });
22074
- var automationTriggersPause = (options) => (options.client ?? client).post({
23145
+ var cutUndeleteProject = (options) => (options.client ?? client).post({
22075
23146
  security: [{
22076
23147
  key: "BearerAuth",
22077
23148
  scheme: "bearer",
@@ -22081,10 +23152,10 @@ var automationTriggersPause = (options) => (options.client ?? client).post({
22081
23152
  name: "X-API-Key",
22082
23153
  type: "apiKey"
22083
23154
  }],
22084
- url: "/automation/v1/triggers/{id}/pause",
23155
+ url: "/cut/v1/projects/{project_id}:undelete",
22085
23156
  ...options
22086
23157
  });
22087
- var automationTriggersResume = (options) => (options.client ?? client).post({
23158
+ var cutExecute = (options) => (options.client ?? client).post({
22088
23159
  security: [{
22089
23160
  key: "BearerAuth",
22090
23161
  scheme: "bearer",
@@ -22094,10 +23165,14 @@ var automationTriggersResume = (options) => (options.client ?? client).post({
22094
23165
  name: "X-API-Key",
22095
23166
  type: "apiKey"
22096
23167
  }],
22097
- url: "/automation/v1/triggers/{id}/resume",
22098
- ...options
23168
+ url: "/cut/v1/projects/{project_id}:execute",
23169
+ ...options,
23170
+ headers: {
23171
+ "Content-Type": "application/json",
23172
+ ...options.headers
23173
+ }
22099
23174
  });
22100
- var automationTriggersFire = (options) => (options.client ?? client).post({
23175
+ var cutRetrieveState = (options) => (options.client ?? client).get({
22101
23176
  security: [{
22102
23177
  key: "BearerAuth",
22103
23178
  scheme: "bearer",
@@ -22107,10 +23182,10 @@ var automationTriggersFire = (options) => (options.client ?? client).post({
22107
23182
  name: "X-API-Key",
22108
23183
  type: "apiKey"
22109
23184
  }],
22110
- url: "/automation/v1/triggers/{id}/fire",
23185
+ url: "/cut/v1/projects/{project_id}/state",
22111
23186
  ...options
22112
23187
  });
22113
- var automationTriggersRotateWebhook = (options) => (options.client ?? client).post({
23188
+ var cutRetrieveTimeline = (options) => (options.client ?? client).get({
22114
23189
  security: [{
22115
23190
  key: "BearerAuth",
22116
23191
  scheme: "bearer",
@@ -22120,11 +23195,10 @@ var automationTriggersRotateWebhook = (options) => (options.client ?? client).po
22120
23195
  name: "X-API-Key",
22121
23196
  type: "apiKey"
22122
23197
  }],
22123
- url: "/automation/v1/triggers/{id}/rotate-webhook",
23198
+ url: "/cut/v1/projects/{project_id}/timeline",
22124
23199
  ...options
22125
23200
  });
22126
- var automationTriggersFirings = (options) => (options.client ?? client).get({
22127
- querySerializer: { parameters: { outcome: { array: { explode: false } } } },
23201
+ var cutListFrames = (options) => (options.client ?? client).get({
22128
23202
  security: [{
22129
23203
  key: "BearerAuth",
22130
23204
  scheme: "bearer",
@@ -22134,10 +23208,10 @@ var automationTriggersFirings = (options) => (options.client ?? client).get({
22134
23208
  name: "X-API-Key",
22135
23209
  type: "apiKey"
22136
23210
  }],
22137
- url: "/automation/v1/triggers/{id}/firings",
23211
+ url: "/cut/v1/projects/{project_id}/frames",
22138
23212
  ...options
22139
23213
  });
22140
- var automationTriggersPreview = (options) => (options.client ?? client).post({
23214
+ var cutCreateAnalysis = (options) => (options.client ?? client).post({
22141
23215
  security: [{
22142
23216
  key: "BearerAuth",
22143
23217
  scheme: "bearer",
@@ -22147,36 +23221,14 @@ var automationTriggersPreview = (options) => (options.client ?? client).post({
22147
23221
  name: "X-API-Key",
22148
23222
  type: "apiKey"
22149
23223
  }],
22150
- url: "/automation/v1/triggers/preview",
22151
- ...options,
22152
- headers: {
22153
- "Content-Type": "application/json",
22154
- ...options.headers
22155
- }
22156
- });
22157
- var automationHooksReceive = (options) => (options.client ?? client).post({
22158
- url: "/automation/v1/hooks/{trigger_id}/{token}",
23224
+ url: "/cut/v1/projects/{project_id}/analysis",
22159
23225
  ...options,
22160
23226
  headers: {
22161
23227
  "Content-Type": "application/json",
22162
23228
  ...options.headers
22163
23229
  }
22164
23230
  });
22165
- var automationHumanTasksList = (options) => (options?.client ?? client).get({
22166
- querySerializer: { parameters: { status: { array: { explode: false } } } },
22167
- security: [{
22168
- key: "BearerAuth",
22169
- scheme: "bearer",
22170
- type: "http"
22171
- }, {
22172
- key: "ApiKeyAuth",
22173
- name: "X-API-Key",
22174
- type: "apiKey"
22175
- }],
22176
- url: "/automation/v1/human-tasks",
22177
- ...options
22178
- });
22179
- var automationHumanTasksGet = (options) => (options.client ?? client).get({
23231
+ var cutListBindings = (options) => (options.client ?? client).get({
22180
23232
  security: [{
22181
23233
  key: "BearerAuth",
22182
23234
  scheme: "bearer",
@@ -22186,10 +23238,10 @@ var automationHumanTasksGet = (options) => (options.client ?? client).get({
22186
23238
  name: "X-API-Key",
22187
23239
  type: "apiKey"
22188
23240
  }],
22189
- url: "/automation/v1/human-tasks/{id}",
23241
+ url: "/cut/v1/projects/{project_id}/bindings",
22190
23242
  ...options
22191
23243
  });
22192
- var automationHumanTasksRespond = (options) => (options.client ?? client).post({
23244
+ var cutCreateBinding = (options) => (options.client ?? client).post({
22193
23245
  security: [{
22194
23246
  key: "BearerAuth",
22195
23247
  scheme: "bearer",
@@ -22199,14 +23251,14 @@ var automationHumanTasksRespond = (options) => (options.client ?? client).post({
22199
23251
  name: "X-API-Key",
22200
23252
  type: "apiKey"
22201
23253
  }],
22202
- url: "/automation/v1/human-tasks/{id}/respond",
23254
+ url: "/cut/v1/projects/{project_id}/bindings",
22203
23255
  ...options,
22204
23256
  headers: {
22205
23257
  "Content-Type": "application/json",
22206
23258
  ...options.headers
22207
23259
  }
22208
23260
  });
22209
- var automationHumanTasksCancel = (options) => (options.client ?? client).post({
23261
+ var cutDeleteBinding = (options) => (options.client ?? client).delete({
22210
23262
  security: [{
22211
23263
  key: "BearerAuth",
22212
23264
  scheme: "bearer",
@@ -22216,14 +23268,10 @@ var automationHumanTasksCancel = (options) => (options.client ?? client).post({
22216
23268
  name: "X-API-Key",
22217
23269
  type: "apiKey"
22218
23270
  }],
22219
- url: "/automation/v1/human-tasks/{id}/cancel",
22220
- ...options,
22221
- headers: {
22222
- "Content-Type": "application/json",
22223
- ...options.headers
22224
- }
23271
+ url: "/cut/v1/projects/{project_id}/bindings/{name}",
23272
+ ...options
22225
23273
  });
22226
- var automationHumanTasksDelegate = (options) => (options.client ?? client).post({
23274
+ var cutImportMedia = (options) => (options.client ?? client).post({
22227
23275
  security: [{
22228
23276
  key: "BearerAuth",
22229
23277
  scheme: "bearer",
@@ -22233,84 +23281,112 @@ var automationHumanTasksDelegate = (options) => (options.client ?? client).post(
22233
23281
  name: "X-API-Key",
22234
23282
  type: "apiKey"
22235
23283
  }],
22236
- url: "/automation/v1/human-tasks/{id}/delegate",
23284
+ url: "/cut/v1/projects/{project_id}/media:import",
22237
23285
  ...options,
22238
23286
  headers: {
22239
23287
  "Content-Type": "application/json",
22240
23288
  ...options.headers
22241
23289
  }
22242
23290
  });
22243
- var canvasListCanvases = (options) => (options?.client ?? client).get({
23291
+ var cutListExports = (options) => (options.client ?? client).get({
22244
23292
  security: [{
22245
- key: "canvas-bearerAuth",
23293
+ key: "BearerAuth",
22246
23294
  scheme: "bearer",
22247
23295
  type: "http"
23296
+ }, {
23297
+ key: "ApiKeyAuth",
23298
+ name: "X-API-Key",
23299
+ type: "apiKey"
22248
23300
  }],
22249
- url: "/canvas/v1/canvases",
23301
+ url: "/cut/v1/projects/{project_id}/exports",
22250
23302
  ...options
22251
23303
  });
22252
- var canvasCreateCanvas = (options) => (options?.client ?? client).post({
23304
+ var cutCreateExport = (options) => (options.client ?? client).post({
22253
23305
  security: [{
22254
- key: "canvas-bearerAuth",
23306
+ key: "BearerAuth",
22255
23307
  scheme: "bearer",
22256
23308
  type: "http"
23309
+ }, {
23310
+ key: "ApiKeyAuth",
23311
+ name: "X-API-Key",
23312
+ type: "apiKey"
22257
23313
  }],
22258
- url: "/canvas/v1/canvases",
23314
+ url: "/cut/v1/projects/{project_id}/exports",
22259
23315
  ...options,
22260
23316
  headers: {
22261
23317
  "Content-Type": "application/json",
22262
- ...options?.headers
23318
+ ...options.headers
22263
23319
  }
22264
23320
  });
22265
- var canvasDeleteCanvas = (options) => (options.client ?? client).delete({
22266
- security: [{
22267
- key: "canvas-bearerAuth",
22268
- scheme: "bearer",
22269
- type: "http"
22270
- }],
22271
- url: "/canvas/v1/canvases/{canvas_id}",
22272
- ...options
22273
- });
22274
- var canvasRetrieveCanvas = (options) => (options.client ?? client).get({
23321
+ var cutRetrieveExport = (options) => (options.client ?? client).get({
22275
23322
  security: [{
22276
- key: "canvas-bearerAuth",
23323
+ key: "BearerAuth",
22277
23324
  scheme: "bearer",
22278
23325
  type: "http"
23326
+ }, {
23327
+ key: "ApiKeyAuth",
23328
+ name: "X-API-Key",
23329
+ type: "apiKey"
22279
23330
  }],
22280
- url: "/canvas/v1/canvases/{canvas_id}",
23331
+ url: "/cut/v1/exports/{export_id}",
22281
23332
  ...options
22282
23333
  });
22283
- var canvasListNodes = (options) => (options.client ?? client).get({
23334
+ var cutCancelExport = (options) => (options.client ?? client).post({
22284
23335
  security: [{
22285
- key: "canvas-bearerAuth",
23336
+ key: "BearerAuth",
22286
23337
  scheme: "bearer",
22287
23338
  type: "http"
23339
+ }, {
23340
+ key: "ApiKeyAuth",
23341
+ name: "X-API-Key",
23342
+ type: "apiKey"
22288
23343
  }],
22289
- url: "/canvas/v1/canvases/{canvas_id}/nodes",
23344
+ url: "/cut/v1/exports/{export_id}:cancel",
22290
23345
  ...options
22291
23346
  });
22292
- var canvasListImages = (options) => (options.client ?? client).get({
23347
+ var cutListVersions = (options) => (options.client ?? client).get({
22293
23348
  security: [{
22294
- key: "canvas-bearerAuth",
23349
+ key: "BearerAuth",
22295
23350
  scheme: "bearer",
22296
23351
  type: "http"
23352
+ }, {
23353
+ key: "ApiKeyAuth",
23354
+ name: "X-API-Key",
23355
+ type: "apiKey"
22297
23356
  }],
22298
- url: "/canvas/v1/canvases/{canvas_id}/images",
23357
+ url: "/cut/v1/projects/{project_id}/versions",
22299
23358
  ...options
22300
23359
  });
22301
- var canvasExecute = (options) => (options.client ?? client).post({
23360
+ var cutCreateVersion = (options) => (options.client ?? client).post({
22302
23361
  security: [{
22303
- key: "canvas-bearerAuth",
23362
+ key: "BearerAuth",
22304
23363
  scheme: "bearer",
22305
23364
  type: "http"
23365
+ }, {
23366
+ key: "ApiKeyAuth",
23367
+ name: "X-API-Key",
23368
+ type: "apiKey"
22306
23369
  }],
22307
- url: "/canvas/v1/canvases/{canvas_id}:execute",
23370
+ url: "/cut/v1/projects/{project_id}/versions",
22308
23371
  ...options,
22309
23372
  headers: {
22310
23373
  "Content-Type": "application/json",
22311
23374
  ...options.headers
22312
23375
  }
22313
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
+ });
22314
23390
  var databaseListDatabases = (options) => (options?.client ?? client).get({
22315
23391
  security: [{
22316
23392
  key: "database-bearerAuth",
@@ -24934,6 +26010,50 @@ function createCanvas(transport) {
24934
26010
  }
24935
26011
  };
24936
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
+ }
24937
26057
  function createDatabase(transport) {
24938
26058
  return {
24939
26059
  databases: {
@@ -25176,6 +26296,9 @@ function createModel(transport) {
25176
26296
  },
25177
26297
  retrieve: bind(transport, retrieveResponse)
25178
26298
  },
26299
+ systemone: {
26300
+ create: bind(transport, createSystemone)
26301
+ },
25179
26302
  videos: {
25180
26303
  create: bind(transport, (options) => createVideo({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } })),
25181
26304
  delete: bind(transport, deleteVideo),
@@ -25424,6 +26547,7 @@ var resourceFactories = {
25424
26547
  automation: createAutomation,
25425
26548
  browser: createBrowser,
25426
26549
  canvas: createCanvas,
26550
+ cut: createCut,
25427
26551
  database: createDatabase,
25428
26552
  file: createFile,
25429
26553
  knowledge: createKnowledge,
@@ -28337,7 +29461,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
28337
29461
  }
28338
29462
 
28339
29463
  // src/main.ts
28340
- var version = "0.2.0-dev.671bb9b";
29464
+ var version = "0.2.0-dev.7bc135e";
28341
29465
  var commands = commandTree(operations);
28342
29466
  var manual = [...workflows.map((w) => w.words), [API_WORD]];
28343
29467
  function route(argv) {