@naturali/sdk 0.50.1 → 0.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1736,6 +1736,76 @@ var Providers = class {
1736
1736
  });
1737
1737
  }
1738
1738
  };
1739
+ var Runs = class {
1740
+ /**
1741
+ * List runs
1742
+ *
1743
+ * Runs of one orchestration, most recent first. `orchestration_id` is required — a project-wide run feed is not offered, since the upstream runtime's own list has no project filter (see the file description).
1744
+ *
1745
+ */
1746
+ static listRuns(options) {
1747
+ return (options.client ?? client).get({
1748
+ url: "/v1/projects/{project_id}/runs",
1749
+ ...options
1750
+ });
1751
+ }
1752
+ /**
1753
+ * Start a run
1754
+ *
1755
+ * Creates a new run of the orchestration named by `orchestration_id`. By default the run executes durably in the background and this call returns immediately with status `queued`; poll `GET …/runs/{run_id}` to observe progress. Pass `wait: true` to block until the run reaches a terminal or `awaiting_input` state instead.
1756
+ *
1757
+ */
1758
+ static startRun(options) {
1759
+ return (options.client ?? client).post({
1760
+ url: "/v1/projects/{project_id}/runs",
1761
+ ...options,
1762
+ headers: {
1763
+ "Content-Type": "application/json",
1764
+ ...options.headers
1765
+ }
1766
+ });
1767
+ }
1768
+ /**
1769
+ * Get a run
1770
+ *
1771
+ * One run's status, accumulated state, per-node artifacts and execution trace.
1772
+ *
1773
+ */
1774
+ static getRun(options) {
1775
+ return (options.client ?? client).get({
1776
+ url: "/v1/projects/{project_id}/runs/{run_id}",
1777
+ ...options
1778
+ });
1779
+ }
1780
+ /**
1781
+ * Cancel a run
1782
+ *
1783
+ * Stops a run that has not yet reached a terminal state.
1784
+ */
1785
+ static cancelRun(options) {
1786
+ return (options.client ?? client).post({
1787
+ url: "/v1/projects/{project_id}/runs/{run_id}:cancel",
1788
+ ...options
1789
+ });
1790
+ }
1791
+ /**
1792
+ * Resume a run
1793
+ *
1794
+ * Moves a run parked at `awaiting_input` forward — the single door for every resume, whatever the run is parked on. Send `output` to answer a human-node pause and advance past it; omit it to re-drive a run without answering anything, which re-parks a human or webhook-receive pause on the same node (useful for a delay/poll wait, or to nudge a run after an external side effect completed out of band).
1795
+ * Only valid on a run whose status is `awaiting_input`; any other status answers 409.
1796
+ *
1797
+ */
1798
+ static resumeRun(options) {
1799
+ return (options.client ?? client).post({
1800
+ url: "/v1/projects/{project_id}/runs/{run_id}:resume",
1801
+ ...options,
1802
+ headers: {
1803
+ "Content-Type": "application/json",
1804
+ ...options.headers
1805
+ }
1806
+ });
1807
+ }
1808
+ };
1739
1809
  var Sessions = class {
1740
1810
  /**
1741
1811
  * Open a session
@@ -2368,6 +2438,7 @@ exports.Models = Models;
2368
2438
  exports.NaturaliClient = NaturaliClient;
2369
2439
  exports.Projects = Projects;
2370
2440
  exports.Providers = Providers;
2441
+ exports.Runs = Runs;
2371
2442
  exports.Sessions = Sessions;
2372
2443
  exports.Tasks = Tasks;
2373
2444
  exports.Tools = Tools;
package/dist/index.d.cts CHANGED
@@ -901,7 +901,9 @@ type BoardState = {
901
901
  */
902
902
  kind?: 'human';
903
903
  /**
904
- * Seconds a card may sit in this column before the platform records it as stalled. Accepted and stored, but **has no visible effect in this version**: the stall is delivered as an outbound event, and outbound events are a separate module. It never moves a card.
904
+ * Seconds a card may sit in this column before it counts as parked too long. A card here reports `stalled_at` (its `entered_state_at` plus this many seconds) and `stalled` once that moment passes; both stay put until the card moves.
905
+ * It never moves a card and never fails its dispatch — it makes a parked card visible to whoever reads the board, which is the point: a column that posts to an external service can fail in a way routing cannot catch, and `on_failure` only covers a dispatch that failed, not one that never came back.
906
+ * Omit it on a column where sitting is normal, such as one waiting on a person with no deadline.
905
907
  *
906
908
  */
907
909
  stalled_after?: number | null;
@@ -2013,6 +2015,156 @@ type ProviderList = {
2013
2015
  */
2014
2016
  next_cursor: string | null;
2015
2017
  };
2018
+ /**
2019
+ * Present when `status` is `awaiting_input` — what the run is parked on.
2020
+ */
2021
+ type RequiredAction = {
2022
+ /**
2023
+ * What kind of pause this is.
2024
+ */
2025
+ type: 'human_input' | 'webhook_receive';
2026
+ node_id: string;
2027
+ prompt: string;
2028
+ context: {
2029
+ [key: string]: unknown;
2030
+ };
2031
+ options?: Array<string> | null;
2032
+ };
2033
+ /**
2034
+ * One node's execution record — the orchestration analogue of an agent trace's tool-call entries (§2).
2035
+ *
2036
+ */
2037
+ type NodeExecution = {
2038
+ node_id: string;
2039
+ node_type?: string | null;
2040
+ /**
2041
+ * 1-based attempt number; a retried node has one record per attempt.
2042
+ */
2043
+ attempt: number;
2044
+ status: 'completed' | 'failed' | 'requires_action' | 'skipped';
2045
+ input?: {
2046
+ [key: string]: unknown;
2047
+ } | null;
2048
+ output?: {
2049
+ [key: string]: unknown;
2050
+ } | null;
2051
+ error?: {
2052
+ [key: string]: unknown;
2053
+ } | null;
2054
+ started_at?: Date | null;
2055
+ completed_at?: Date | null;
2056
+ created_at: Date;
2057
+ };
2058
+ /**
2059
+ * Token and cost roll-up across every generation the run produced.
2060
+ */
2061
+ type RunUsage = {
2062
+ total_input_tokens?: number;
2063
+ total_output_tokens?: number;
2064
+ total_cached_tokens?: number;
2065
+ total_reasoning_tokens?: number;
2066
+ total_cost_usd?: number | null;
2067
+ };
2068
+ type Run = {
2069
+ /**
2070
+ * Public run ID (orch_run_ prefix).
2071
+ */
2072
+ id: string;
2073
+ project_id: string;
2074
+ /**
2075
+ * The orchestration this is a run of.
2076
+ */
2077
+ orchestration_id: string;
2078
+ /**
2079
+ * `queued` awaits a worker; `running` is actively executing; `sleeping` is parked on a delay/poll wait with no worker holding it; `awaiting_input` is parked on a human or webhook-receive node (see `required_action`); `succeeded` / `failed` / `cancelled` are terminal; `expired` is a wait that passed its deadline.
2080
+ *
2081
+ */
2082
+ status: 'queued' | 'running' | 'sleeping' | 'awaiting_input' | 'succeeded' | 'failed' | 'cancelled' | 'expired';
2083
+ /**
2084
+ * Current accumulated state, written to by every node so far.
2085
+ */
2086
+ state: {
2087
+ [key: string]: unknown;
2088
+ };
2089
+ /**
2090
+ * Node IDs currently executing.
2091
+ */
2092
+ active_nodes: Array<string>;
2093
+ /**
2094
+ * Map of node ID to that node's output artifact.
2095
+ */
2096
+ artifacts: {
2097
+ [key: string]: unknown;
2098
+ };
2099
+ /**
2100
+ * Per-node execution records, chronological — the run's trace.
2101
+ */
2102
+ node_executions: Array<NodeExecution>;
2103
+ required_action: RequiredAction | null;
2104
+ /**
2105
+ * Error details when `status` is `failed`.
2106
+ */
2107
+ error: {
2108
+ [key: string]: unknown;
2109
+ } | null;
2110
+ /**
2111
+ * The generation trace tied to this run, when one exists.
2112
+ */
2113
+ trace_id: string | null;
2114
+ /**
2115
+ * Initial state provided when the run was started.
2116
+ */
2117
+ input: {
2118
+ [key: string]: unknown;
2119
+ } | null;
2120
+ /**
2121
+ * Terminal node artifact(s), once the run has succeeded.
2122
+ */
2123
+ output: {
2124
+ [key: string]: unknown;
2125
+ } | null;
2126
+ /**
2127
+ * Present on a single run read; omitted from list responses.
2128
+ */
2129
+ usage?: RunUsage | null;
2130
+ started_at: Date | null;
2131
+ completed_at: Date | null;
2132
+ created_at: Date;
2133
+ updated_at: Date;
2134
+ };
2135
+ type RunCreate = {
2136
+ /**
2137
+ * The orchestration to run.
2138
+ */
2139
+ orchestration_id: string;
2140
+ /**
2141
+ * Initial state for the run, merged with the orchestration's own defaults.
2142
+ */
2143
+ input?: {
2144
+ [key: string]: unknown;
2145
+ };
2146
+ /**
2147
+ * When true, block until the run reaches a terminal or `awaiting_input` state and return the settled run. When false (default), return immediately with `status: "queued"`.
2148
+ *
2149
+ */
2150
+ wait?: boolean;
2151
+ };
2152
+ type RunResume = {
2153
+ /**
2154
+ * Answers a human-node pause and advances the run past it. Omit to re-drive the run without answering anything.
2155
+ *
2156
+ */
2157
+ output?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ };
2161
+ type RunList = {
2162
+ data: Array<Run>;
2163
+ /**
2164
+ * Cursor for the next page, or null at the end.
2165
+ */
2166
+ next_cursor: string | null;
2167
+ };
2016
2168
  /**
2017
2169
  * Optional configuration for the session being opened.
2018
2170
  */
@@ -2253,6 +2405,17 @@ type Task = {
2253
2405
  active_dispatch: {
2254
2406
  [key: string]: unknown;
2255
2407
  } | null;
2408
+ /**
2409
+ * When the card's current column considers it parked too long — `entered_state_at` plus that column's `stalled_after`. Null when the column declares no `stalled_after`, and null on a closed card, which is finished rather than parked.
2410
+ *
2411
+ */
2412
+ stalled_at: Date | null;
2413
+ /**
2414
+ * Whether `stalled_at` has passed. Stays true until the card moves — it describes the card, not a one-off notification — and is always false when `stalled_at` is null.
2415
+ * Being stalled never moves a card and never fails its dispatch: the column's threshold exists to make a parked card visible to whoever polls the board, nothing more.
2416
+ *
2417
+ */
2418
+ stalled: boolean;
2256
2419
  /**
2257
2420
  * When the card entered its current column.
2258
2421
  */
@@ -2967,6 +3130,15 @@ type ConverterId = string;
2967
3130
  * Provider public ID (aip_ prefix).
2968
3131
  */
2969
3132
  type ProviderId = string;
3133
+ /**
3134
+ * Run public ID (orch_run_ prefix).
3135
+ */
3136
+ type RunId = string;
3137
+ /**
3138
+ * Only runs of this orchestration. Required — see the file description for why a project-wide feed is not offered. An orchestration this project does not own is a 404, not an empty page.
3139
+ *
3140
+ */
3141
+ type OrchestrationIdFilter = string;
2970
3142
  /**
2971
3143
  * Session public ID (sess_ prefix).
2972
3144
  */
@@ -6233,6 +6405,223 @@ type UpdateProviderResponses = {
6233
6405
  200: Provider;
6234
6406
  };
6235
6407
  type UpdateProviderResponse = UpdateProviderResponses[keyof UpdateProviderResponses];
6408
+ type ListRunsData = {
6409
+ body?: never;
6410
+ path: {
6411
+ /**
6412
+ * Project public ID (proj_ prefix).
6413
+ */
6414
+ project_id: string;
6415
+ };
6416
+ query: {
6417
+ /**
6418
+ * Only runs of this orchestration. Required — see the file description for why a project-wide feed is not offered. An orchestration this project does not own is a 404, not an empty page.
6419
+ *
6420
+ */
6421
+ orchestration_id: string;
6422
+ /**
6423
+ * Maximum items to return (1–100).
6424
+ */
6425
+ limit?: number;
6426
+ /**
6427
+ * Opaque pagination cursor from a previous response's next_cursor.
6428
+ */
6429
+ cursor?: string;
6430
+ };
6431
+ url: '/v1/projects/{project_id}/runs';
6432
+ };
6433
+ type ListRunsErrors = {
6434
+ /**
6435
+ * The request was malformed or failed validation.
6436
+ */
6437
+ 400: ErrorResponse;
6438
+ /**
6439
+ * Missing or invalid credentials.
6440
+ */
6441
+ 401: ErrorResponse;
6442
+ /**
6443
+ * The resource does not exist (existence is not leaked).
6444
+ */
6445
+ 404: ErrorResponse;
6446
+ /**
6447
+ * The upstream runtime could not complete the operation.
6448
+ */
6449
+ 502: ErrorResponse;
6450
+ };
6451
+ type ListRunsError = ListRunsErrors[keyof ListRunsErrors];
6452
+ type ListRunsResponses = {
6453
+ /**
6454
+ * A page of runs.
6455
+ */
6456
+ 200: RunList;
6457
+ };
6458
+ type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
6459
+ type StartRunData = {
6460
+ body: RunCreate;
6461
+ headers?: {
6462
+ /**
6463
+ * Client-supplied key to make this mutating POST idempotent.
6464
+ */
6465
+ 'Idempotency-Key'?: string;
6466
+ };
6467
+ path: {
6468
+ /**
6469
+ * Project public ID (proj_ prefix).
6470
+ */
6471
+ project_id: string;
6472
+ };
6473
+ query?: never;
6474
+ url: '/v1/projects/{project_id}/runs';
6475
+ };
6476
+ type StartRunErrors = {
6477
+ /**
6478
+ * The request was malformed or failed validation.
6479
+ */
6480
+ 400: ErrorResponse;
6481
+ /**
6482
+ * Missing or invalid credentials.
6483
+ */
6484
+ 401: ErrorResponse;
6485
+ /**
6486
+ * The resource does not exist (existence is not leaked).
6487
+ */
6488
+ 404: ErrorResponse;
6489
+ /**
6490
+ * The upstream runtime could not complete the operation.
6491
+ */
6492
+ 502: ErrorResponse;
6493
+ };
6494
+ type StartRunError = StartRunErrors[keyof StartRunErrors];
6495
+ type StartRunResponses = {
6496
+ /**
6497
+ * Run created.
6498
+ */
6499
+ 201: Run;
6500
+ };
6501
+ type StartRunResponse = StartRunResponses[keyof StartRunResponses];
6502
+ type GetRunData = {
6503
+ body?: never;
6504
+ path: {
6505
+ /**
6506
+ * Project public ID (proj_ prefix).
6507
+ */
6508
+ project_id: string;
6509
+ /**
6510
+ * Run public ID (orch_run_ prefix).
6511
+ */
6512
+ run_id: string;
6513
+ };
6514
+ query?: never;
6515
+ url: '/v1/projects/{project_id}/runs/{run_id}';
6516
+ };
6517
+ type GetRunErrors = {
6518
+ /**
6519
+ * Missing or invalid credentials.
6520
+ */
6521
+ 401: ErrorResponse;
6522
+ /**
6523
+ * The resource does not exist (existence is not leaked).
6524
+ */
6525
+ 404: ErrorResponse;
6526
+ /**
6527
+ * The upstream runtime could not complete the operation.
6528
+ */
6529
+ 502: ErrorResponse;
6530
+ };
6531
+ type GetRunError = GetRunErrors[keyof GetRunErrors];
6532
+ type GetRunResponses = {
6533
+ /**
6534
+ * Run details.
6535
+ */
6536
+ 200: Run;
6537
+ };
6538
+ type GetRunResponse = GetRunResponses[keyof GetRunResponses];
6539
+ type CancelRunData = {
6540
+ body?: never;
6541
+ path: {
6542
+ /**
6543
+ * Project public ID (proj_ prefix).
6544
+ */
6545
+ project_id: string;
6546
+ /**
6547
+ * Run public ID (orch_run_ prefix).
6548
+ */
6549
+ run_id: string;
6550
+ };
6551
+ query?: never;
6552
+ url: '/v1/projects/{project_id}/runs/{run_id}:cancel';
6553
+ };
6554
+ type CancelRunErrors = {
6555
+ /**
6556
+ * Missing or invalid credentials.
6557
+ */
6558
+ 401: ErrorResponse;
6559
+ /**
6560
+ * The resource does not exist (existence is not leaked).
6561
+ */
6562
+ 404: ErrorResponse;
6563
+ /**
6564
+ * The request conflicts with the resource's current state.
6565
+ */
6566
+ 409: ErrorResponse;
6567
+ /**
6568
+ * The upstream runtime could not complete the operation.
6569
+ */
6570
+ 502: ErrorResponse;
6571
+ };
6572
+ type CancelRunError = CancelRunErrors[keyof CancelRunErrors];
6573
+ type CancelRunResponses = {
6574
+ /**
6575
+ * The cancelled run.
6576
+ */
6577
+ 200: Run;
6578
+ };
6579
+ type CancelRunResponse = CancelRunResponses[keyof CancelRunResponses];
6580
+ type ResumeRunData = {
6581
+ body?: RunResume;
6582
+ path: {
6583
+ /**
6584
+ * Project public ID (proj_ prefix).
6585
+ */
6586
+ project_id: string;
6587
+ /**
6588
+ * Run public ID (orch_run_ prefix).
6589
+ */
6590
+ run_id: string;
6591
+ };
6592
+ query?: never;
6593
+ url: '/v1/projects/{project_id}/runs/{run_id}:resume';
6594
+ };
6595
+ type ResumeRunErrors = {
6596
+ /**
6597
+ * The request was malformed or failed validation.
6598
+ */
6599
+ 400: ErrorResponse;
6600
+ /**
6601
+ * Missing or invalid credentials.
6602
+ */
6603
+ 401: ErrorResponse;
6604
+ /**
6605
+ * The resource does not exist (existence is not leaked).
6606
+ */
6607
+ 404: ErrorResponse;
6608
+ /**
6609
+ * The request conflicts with the resource's current state.
6610
+ */
6611
+ 409: ErrorResponse;
6612
+ /**
6613
+ * The upstream runtime could not complete the operation.
6614
+ */
6615
+ 502: ErrorResponse;
6616
+ };
6617
+ type ResumeRunError = ResumeRunErrors[keyof ResumeRunErrors];
6618
+ type ResumeRunResponses = {
6619
+ /**
6620
+ * The resumed run.
6621
+ */
6622
+ 200: Run;
6623
+ };
6624
+ type ResumeRunResponse = ResumeRunResponses[keyof ResumeRunResponses];
6236
6625
  type CreateSessionData = {
6237
6626
  body?: SessionCreate;
6238
6627
  headers?: {
@@ -8466,6 +8855,43 @@ declare class Providers {
8466
8855
  */
8467
8856
  static updateProvider<ThrowOnError extends boolean = false>(options: Options<UpdateProviderData, ThrowOnError>): RequestResult<UpdateProviderResponses, UpdateProviderErrors, ThrowOnError>;
8468
8857
  }
8858
+ declare class Runs {
8859
+ /**
8860
+ * List runs
8861
+ *
8862
+ * Runs of one orchestration, most recent first. `orchestration_id` is required — a project-wide run feed is not offered, since the upstream runtime's own list has no project filter (see the file description).
8863
+ *
8864
+ */
8865
+ static listRuns<ThrowOnError extends boolean = false>(options: Options<ListRunsData, ThrowOnError>): RequestResult<ListRunsResponses, ListRunsErrors, ThrowOnError>;
8866
+ /**
8867
+ * Start a run
8868
+ *
8869
+ * Creates a new run of the orchestration named by `orchestration_id`. By default the run executes durably in the background and this call returns immediately with status `queued`; poll `GET …/runs/{run_id}` to observe progress. Pass `wait: true` to block until the run reaches a terminal or `awaiting_input` state instead.
8870
+ *
8871
+ */
8872
+ static startRun<ThrowOnError extends boolean = false>(options: Options<StartRunData, ThrowOnError>): RequestResult<StartRunResponses, StartRunErrors, ThrowOnError>;
8873
+ /**
8874
+ * Get a run
8875
+ *
8876
+ * One run's status, accumulated state, per-node artifacts and execution trace.
8877
+ *
8878
+ */
8879
+ static getRun<ThrowOnError extends boolean = false>(options: Options<GetRunData, ThrowOnError>): RequestResult<GetRunResponses, GetRunErrors, ThrowOnError>;
8880
+ /**
8881
+ * Cancel a run
8882
+ *
8883
+ * Stops a run that has not yet reached a terminal state.
8884
+ */
8885
+ static cancelRun<ThrowOnError extends boolean = false>(options: Options<CancelRunData, ThrowOnError>): RequestResult<CancelRunResponses, CancelRunErrors, ThrowOnError>;
8886
+ /**
8887
+ * Resume a run
8888
+ *
8889
+ * Moves a run parked at `awaiting_input` forward — the single door for every resume, whatever the run is parked on. Send `output` to answer a human-node pause and advance past it; omit it to re-drive a run without answering anything, which re-parks a human or webhook-receive pause on the same node (useful for a delay/poll wait, or to nudge a run after an external side effect completed out of band).
8890
+ * Only valid on a run whose status is `awaiting_input`; any other status answers 409.
8891
+ *
8892
+ */
8893
+ static resumeRun<ThrowOnError extends boolean = false>(options: Options<ResumeRunData, ThrowOnError>): RequestResult<ResumeRunResponses, ResumeRunErrors, ThrowOnError>;
8894
+ }
8469
8895
  declare class Sessions {
8470
8896
  /**
8471
8897
  * Open a session
@@ -8808,4 +9234,4 @@ declare class NaturaliClient {
8808
9234
  constructor({ token, headers }?: NaturaliClientOptions);
8809
9235
  }
8810
9236
  //#endregion
8811
- export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerError, type CreateTriggerErrors, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerError, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type FireTriggerData, type FireTriggerError, type FireTriggerErrors, type FireTriggerResponse, type FireTriggerResponses, type FiringId, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerError, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringError, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsError, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersError, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerCreate, type TriggerFire, type TriggerFiring, type TriggerFiringList, type TriggerFiringSource, type TriggerId, type TriggerList, type TriggerTargetType, type TriggerType, type TriggerUpdate, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerError, type UpdateTriggerErrors, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
9237
+ export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type CancelRunData, type CancelRunError, type CancelRunErrors, type CancelRunResponse, type CancelRunResponses, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerError, type CreateTriggerErrors, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerError, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type FireTriggerData, type FireTriggerError, type FireTriggerErrors, type FireTriggerResponse, type FireTriggerResponses, type FiringId, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetRunData, type GetRunError, type GetRunErrors, type GetRunResponse, type GetRunResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerError, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringError, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListRunsData, type ListRunsError, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsError, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersError, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type Offset, type Options, type OrchestrationIdFilter, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type ResumeRunData, type ResumeRunError, type ResumeRunErrors, type ResumeRunResponse, type ResumeRunResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Run, type RunCreate, type RunId, type RunList, type RunResume, type RunUsage, Runs, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StartRunData, type StartRunError, type StartRunErrors, type StartRunResponse, type StartRunResponses, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerCreate, type TriggerFire, type TriggerFiring, type TriggerFiringList, type TriggerFiringSource, type TriggerId, type TriggerList, type TriggerTargetType, type TriggerType, type TriggerUpdate, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerError, type UpdateTriggerErrors, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
package/dist/index.d.mts CHANGED
@@ -901,7 +901,9 @@ type BoardState = {
901
901
  */
902
902
  kind?: 'human';
903
903
  /**
904
- * Seconds a card may sit in this column before the platform records it as stalled. Accepted and stored, but **has no visible effect in this version**: the stall is delivered as an outbound event, and outbound events are a separate module. It never moves a card.
904
+ * Seconds a card may sit in this column before it counts as parked too long. A card here reports `stalled_at` (its `entered_state_at` plus this many seconds) and `stalled` once that moment passes; both stay put until the card moves.
905
+ * It never moves a card and never fails its dispatch — it makes a parked card visible to whoever reads the board, which is the point: a column that posts to an external service can fail in a way routing cannot catch, and `on_failure` only covers a dispatch that failed, not one that never came back.
906
+ * Omit it on a column where sitting is normal, such as one waiting on a person with no deadline.
905
907
  *
906
908
  */
907
909
  stalled_after?: number | null;
@@ -2013,6 +2015,156 @@ type ProviderList = {
2013
2015
  */
2014
2016
  next_cursor: string | null;
2015
2017
  };
2018
+ /**
2019
+ * Present when `status` is `awaiting_input` — what the run is parked on.
2020
+ */
2021
+ type RequiredAction = {
2022
+ /**
2023
+ * What kind of pause this is.
2024
+ */
2025
+ type: 'human_input' | 'webhook_receive';
2026
+ node_id: string;
2027
+ prompt: string;
2028
+ context: {
2029
+ [key: string]: unknown;
2030
+ };
2031
+ options?: Array<string> | null;
2032
+ };
2033
+ /**
2034
+ * One node's execution record — the orchestration analogue of an agent trace's tool-call entries (§2).
2035
+ *
2036
+ */
2037
+ type NodeExecution = {
2038
+ node_id: string;
2039
+ node_type?: string | null;
2040
+ /**
2041
+ * 1-based attempt number; a retried node has one record per attempt.
2042
+ */
2043
+ attempt: number;
2044
+ status: 'completed' | 'failed' | 'requires_action' | 'skipped';
2045
+ input?: {
2046
+ [key: string]: unknown;
2047
+ } | null;
2048
+ output?: {
2049
+ [key: string]: unknown;
2050
+ } | null;
2051
+ error?: {
2052
+ [key: string]: unknown;
2053
+ } | null;
2054
+ started_at?: Date | null;
2055
+ completed_at?: Date | null;
2056
+ created_at: Date;
2057
+ };
2058
+ /**
2059
+ * Token and cost roll-up across every generation the run produced.
2060
+ */
2061
+ type RunUsage = {
2062
+ total_input_tokens?: number;
2063
+ total_output_tokens?: number;
2064
+ total_cached_tokens?: number;
2065
+ total_reasoning_tokens?: number;
2066
+ total_cost_usd?: number | null;
2067
+ };
2068
+ type Run = {
2069
+ /**
2070
+ * Public run ID (orch_run_ prefix).
2071
+ */
2072
+ id: string;
2073
+ project_id: string;
2074
+ /**
2075
+ * The orchestration this is a run of.
2076
+ */
2077
+ orchestration_id: string;
2078
+ /**
2079
+ * `queued` awaits a worker; `running` is actively executing; `sleeping` is parked on a delay/poll wait with no worker holding it; `awaiting_input` is parked on a human or webhook-receive node (see `required_action`); `succeeded` / `failed` / `cancelled` are terminal; `expired` is a wait that passed its deadline.
2080
+ *
2081
+ */
2082
+ status: 'queued' | 'running' | 'sleeping' | 'awaiting_input' | 'succeeded' | 'failed' | 'cancelled' | 'expired';
2083
+ /**
2084
+ * Current accumulated state, written to by every node so far.
2085
+ */
2086
+ state: {
2087
+ [key: string]: unknown;
2088
+ };
2089
+ /**
2090
+ * Node IDs currently executing.
2091
+ */
2092
+ active_nodes: Array<string>;
2093
+ /**
2094
+ * Map of node ID to that node's output artifact.
2095
+ */
2096
+ artifacts: {
2097
+ [key: string]: unknown;
2098
+ };
2099
+ /**
2100
+ * Per-node execution records, chronological — the run's trace.
2101
+ */
2102
+ node_executions: Array<NodeExecution>;
2103
+ required_action: RequiredAction | null;
2104
+ /**
2105
+ * Error details when `status` is `failed`.
2106
+ */
2107
+ error: {
2108
+ [key: string]: unknown;
2109
+ } | null;
2110
+ /**
2111
+ * The generation trace tied to this run, when one exists.
2112
+ */
2113
+ trace_id: string | null;
2114
+ /**
2115
+ * Initial state provided when the run was started.
2116
+ */
2117
+ input: {
2118
+ [key: string]: unknown;
2119
+ } | null;
2120
+ /**
2121
+ * Terminal node artifact(s), once the run has succeeded.
2122
+ */
2123
+ output: {
2124
+ [key: string]: unknown;
2125
+ } | null;
2126
+ /**
2127
+ * Present on a single run read; omitted from list responses.
2128
+ */
2129
+ usage?: RunUsage | null;
2130
+ started_at: Date | null;
2131
+ completed_at: Date | null;
2132
+ created_at: Date;
2133
+ updated_at: Date;
2134
+ };
2135
+ type RunCreate = {
2136
+ /**
2137
+ * The orchestration to run.
2138
+ */
2139
+ orchestration_id: string;
2140
+ /**
2141
+ * Initial state for the run, merged with the orchestration's own defaults.
2142
+ */
2143
+ input?: {
2144
+ [key: string]: unknown;
2145
+ };
2146
+ /**
2147
+ * When true, block until the run reaches a terminal or `awaiting_input` state and return the settled run. When false (default), return immediately with `status: "queued"`.
2148
+ *
2149
+ */
2150
+ wait?: boolean;
2151
+ };
2152
+ type RunResume = {
2153
+ /**
2154
+ * Answers a human-node pause and advances the run past it. Omit to re-drive the run without answering anything.
2155
+ *
2156
+ */
2157
+ output?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ };
2161
+ type RunList = {
2162
+ data: Array<Run>;
2163
+ /**
2164
+ * Cursor for the next page, or null at the end.
2165
+ */
2166
+ next_cursor: string | null;
2167
+ };
2016
2168
  /**
2017
2169
  * Optional configuration for the session being opened.
2018
2170
  */
@@ -2253,6 +2405,17 @@ type Task = {
2253
2405
  active_dispatch: {
2254
2406
  [key: string]: unknown;
2255
2407
  } | null;
2408
+ /**
2409
+ * When the card's current column considers it parked too long — `entered_state_at` plus that column's `stalled_after`. Null when the column declares no `stalled_after`, and null on a closed card, which is finished rather than parked.
2410
+ *
2411
+ */
2412
+ stalled_at: Date | null;
2413
+ /**
2414
+ * Whether `stalled_at` has passed. Stays true until the card moves — it describes the card, not a one-off notification — and is always false when `stalled_at` is null.
2415
+ * Being stalled never moves a card and never fails its dispatch: the column's threshold exists to make a parked card visible to whoever polls the board, nothing more.
2416
+ *
2417
+ */
2418
+ stalled: boolean;
2256
2419
  /**
2257
2420
  * When the card entered its current column.
2258
2421
  */
@@ -2967,6 +3130,15 @@ type ConverterId = string;
2967
3130
  * Provider public ID (aip_ prefix).
2968
3131
  */
2969
3132
  type ProviderId = string;
3133
+ /**
3134
+ * Run public ID (orch_run_ prefix).
3135
+ */
3136
+ type RunId = string;
3137
+ /**
3138
+ * Only runs of this orchestration. Required — see the file description for why a project-wide feed is not offered. An orchestration this project does not own is a 404, not an empty page.
3139
+ *
3140
+ */
3141
+ type OrchestrationIdFilter = string;
2970
3142
  /**
2971
3143
  * Session public ID (sess_ prefix).
2972
3144
  */
@@ -6233,6 +6405,223 @@ type UpdateProviderResponses = {
6233
6405
  200: Provider;
6234
6406
  };
6235
6407
  type UpdateProviderResponse = UpdateProviderResponses[keyof UpdateProviderResponses];
6408
+ type ListRunsData = {
6409
+ body?: never;
6410
+ path: {
6411
+ /**
6412
+ * Project public ID (proj_ prefix).
6413
+ */
6414
+ project_id: string;
6415
+ };
6416
+ query: {
6417
+ /**
6418
+ * Only runs of this orchestration. Required — see the file description for why a project-wide feed is not offered. An orchestration this project does not own is a 404, not an empty page.
6419
+ *
6420
+ */
6421
+ orchestration_id: string;
6422
+ /**
6423
+ * Maximum items to return (1–100).
6424
+ */
6425
+ limit?: number;
6426
+ /**
6427
+ * Opaque pagination cursor from a previous response's next_cursor.
6428
+ */
6429
+ cursor?: string;
6430
+ };
6431
+ url: '/v1/projects/{project_id}/runs';
6432
+ };
6433
+ type ListRunsErrors = {
6434
+ /**
6435
+ * The request was malformed or failed validation.
6436
+ */
6437
+ 400: ErrorResponse;
6438
+ /**
6439
+ * Missing or invalid credentials.
6440
+ */
6441
+ 401: ErrorResponse;
6442
+ /**
6443
+ * The resource does not exist (existence is not leaked).
6444
+ */
6445
+ 404: ErrorResponse;
6446
+ /**
6447
+ * The upstream runtime could not complete the operation.
6448
+ */
6449
+ 502: ErrorResponse;
6450
+ };
6451
+ type ListRunsError = ListRunsErrors[keyof ListRunsErrors];
6452
+ type ListRunsResponses = {
6453
+ /**
6454
+ * A page of runs.
6455
+ */
6456
+ 200: RunList;
6457
+ };
6458
+ type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
6459
+ type StartRunData = {
6460
+ body: RunCreate;
6461
+ headers?: {
6462
+ /**
6463
+ * Client-supplied key to make this mutating POST idempotent.
6464
+ */
6465
+ 'Idempotency-Key'?: string;
6466
+ };
6467
+ path: {
6468
+ /**
6469
+ * Project public ID (proj_ prefix).
6470
+ */
6471
+ project_id: string;
6472
+ };
6473
+ query?: never;
6474
+ url: '/v1/projects/{project_id}/runs';
6475
+ };
6476
+ type StartRunErrors = {
6477
+ /**
6478
+ * The request was malformed or failed validation.
6479
+ */
6480
+ 400: ErrorResponse;
6481
+ /**
6482
+ * Missing or invalid credentials.
6483
+ */
6484
+ 401: ErrorResponse;
6485
+ /**
6486
+ * The resource does not exist (existence is not leaked).
6487
+ */
6488
+ 404: ErrorResponse;
6489
+ /**
6490
+ * The upstream runtime could not complete the operation.
6491
+ */
6492
+ 502: ErrorResponse;
6493
+ };
6494
+ type StartRunError = StartRunErrors[keyof StartRunErrors];
6495
+ type StartRunResponses = {
6496
+ /**
6497
+ * Run created.
6498
+ */
6499
+ 201: Run;
6500
+ };
6501
+ type StartRunResponse = StartRunResponses[keyof StartRunResponses];
6502
+ type GetRunData = {
6503
+ body?: never;
6504
+ path: {
6505
+ /**
6506
+ * Project public ID (proj_ prefix).
6507
+ */
6508
+ project_id: string;
6509
+ /**
6510
+ * Run public ID (orch_run_ prefix).
6511
+ */
6512
+ run_id: string;
6513
+ };
6514
+ query?: never;
6515
+ url: '/v1/projects/{project_id}/runs/{run_id}';
6516
+ };
6517
+ type GetRunErrors = {
6518
+ /**
6519
+ * Missing or invalid credentials.
6520
+ */
6521
+ 401: ErrorResponse;
6522
+ /**
6523
+ * The resource does not exist (existence is not leaked).
6524
+ */
6525
+ 404: ErrorResponse;
6526
+ /**
6527
+ * The upstream runtime could not complete the operation.
6528
+ */
6529
+ 502: ErrorResponse;
6530
+ };
6531
+ type GetRunError = GetRunErrors[keyof GetRunErrors];
6532
+ type GetRunResponses = {
6533
+ /**
6534
+ * Run details.
6535
+ */
6536
+ 200: Run;
6537
+ };
6538
+ type GetRunResponse = GetRunResponses[keyof GetRunResponses];
6539
+ type CancelRunData = {
6540
+ body?: never;
6541
+ path: {
6542
+ /**
6543
+ * Project public ID (proj_ prefix).
6544
+ */
6545
+ project_id: string;
6546
+ /**
6547
+ * Run public ID (orch_run_ prefix).
6548
+ */
6549
+ run_id: string;
6550
+ };
6551
+ query?: never;
6552
+ url: '/v1/projects/{project_id}/runs/{run_id}:cancel';
6553
+ };
6554
+ type CancelRunErrors = {
6555
+ /**
6556
+ * Missing or invalid credentials.
6557
+ */
6558
+ 401: ErrorResponse;
6559
+ /**
6560
+ * The resource does not exist (existence is not leaked).
6561
+ */
6562
+ 404: ErrorResponse;
6563
+ /**
6564
+ * The request conflicts with the resource's current state.
6565
+ */
6566
+ 409: ErrorResponse;
6567
+ /**
6568
+ * The upstream runtime could not complete the operation.
6569
+ */
6570
+ 502: ErrorResponse;
6571
+ };
6572
+ type CancelRunError = CancelRunErrors[keyof CancelRunErrors];
6573
+ type CancelRunResponses = {
6574
+ /**
6575
+ * The cancelled run.
6576
+ */
6577
+ 200: Run;
6578
+ };
6579
+ type CancelRunResponse = CancelRunResponses[keyof CancelRunResponses];
6580
+ type ResumeRunData = {
6581
+ body?: RunResume;
6582
+ path: {
6583
+ /**
6584
+ * Project public ID (proj_ prefix).
6585
+ */
6586
+ project_id: string;
6587
+ /**
6588
+ * Run public ID (orch_run_ prefix).
6589
+ */
6590
+ run_id: string;
6591
+ };
6592
+ query?: never;
6593
+ url: '/v1/projects/{project_id}/runs/{run_id}:resume';
6594
+ };
6595
+ type ResumeRunErrors = {
6596
+ /**
6597
+ * The request was malformed or failed validation.
6598
+ */
6599
+ 400: ErrorResponse;
6600
+ /**
6601
+ * Missing or invalid credentials.
6602
+ */
6603
+ 401: ErrorResponse;
6604
+ /**
6605
+ * The resource does not exist (existence is not leaked).
6606
+ */
6607
+ 404: ErrorResponse;
6608
+ /**
6609
+ * The request conflicts with the resource's current state.
6610
+ */
6611
+ 409: ErrorResponse;
6612
+ /**
6613
+ * The upstream runtime could not complete the operation.
6614
+ */
6615
+ 502: ErrorResponse;
6616
+ };
6617
+ type ResumeRunError = ResumeRunErrors[keyof ResumeRunErrors];
6618
+ type ResumeRunResponses = {
6619
+ /**
6620
+ * The resumed run.
6621
+ */
6622
+ 200: Run;
6623
+ };
6624
+ type ResumeRunResponse = ResumeRunResponses[keyof ResumeRunResponses];
6236
6625
  type CreateSessionData = {
6237
6626
  body?: SessionCreate;
6238
6627
  headers?: {
@@ -8466,6 +8855,43 @@ declare class Providers {
8466
8855
  */
8467
8856
  static updateProvider<ThrowOnError extends boolean = false>(options: Options<UpdateProviderData, ThrowOnError>): RequestResult<UpdateProviderResponses, UpdateProviderErrors, ThrowOnError>;
8468
8857
  }
8858
+ declare class Runs {
8859
+ /**
8860
+ * List runs
8861
+ *
8862
+ * Runs of one orchestration, most recent first. `orchestration_id` is required — a project-wide run feed is not offered, since the upstream runtime's own list has no project filter (see the file description).
8863
+ *
8864
+ */
8865
+ static listRuns<ThrowOnError extends boolean = false>(options: Options<ListRunsData, ThrowOnError>): RequestResult<ListRunsResponses, ListRunsErrors, ThrowOnError>;
8866
+ /**
8867
+ * Start a run
8868
+ *
8869
+ * Creates a new run of the orchestration named by `orchestration_id`. By default the run executes durably in the background and this call returns immediately with status `queued`; poll `GET …/runs/{run_id}` to observe progress. Pass `wait: true` to block until the run reaches a terminal or `awaiting_input` state instead.
8870
+ *
8871
+ */
8872
+ static startRun<ThrowOnError extends boolean = false>(options: Options<StartRunData, ThrowOnError>): RequestResult<StartRunResponses, StartRunErrors, ThrowOnError>;
8873
+ /**
8874
+ * Get a run
8875
+ *
8876
+ * One run's status, accumulated state, per-node artifacts and execution trace.
8877
+ *
8878
+ */
8879
+ static getRun<ThrowOnError extends boolean = false>(options: Options<GetRunData, ThrowOnError>): RequestResult<GetRunResponses, GetRunErrors, ThrowOnError>;
8880
+ /**
8881
+ * Cancel a run
8882
+ *
8883
+ * Stops a run that has not yet reached a terminal state.
8884
+ */
8885
+ static cancelRun<ThrowOnError extends boolean = false>(options: Options<CancelRunData, ThrowOnError>): RequestResult<CancelRunResponses, CancelRunErrors, ThrowOnError>;
8886
+ /**
8887
+ * Resume a run
8888
+ *
8889
+ * Moves a run parked at `awaiting_input` forward — the single door for every resume, whatever the run is parked on. Send `output` to answer a human-node pause and advance past it; omit it to re-drive a run without answering anything, which re-parks a human or webhook-receive pause on the same node (useful for a delay/poll wait, or to nudge a run after an external side effect completed out of band).
8890
+ * Only valid on a run whose status is `awaiting_input`; any other status answers 409.
8891
+ *
8892
+ */
8893
+ static resumeRun<ThrowOnError extends boolean = false>(options: Options<ResumeRunData, ThrowOnError>): RequestResult<ResumeRunResponses, ResumeRunErrors, ThrowOnError>;
8894
+ }
8469
8895
  declare class Sessions {
8470
8896
  /**
8471
8897
  * Open a session
@@ -8808,4 +9234,4 @@ declare class NaturaliClient {
8808
9234
  constructor({ token, headers }?: NaturaliClientOptions);
8809
9235
  }
8810
9236
  //#endregion
8811
- export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerError, type CreateTriggerErrors, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerError, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type FireTriggerData, type FireTriggerError, type FireTriggerErrors, type FireTriggerResponse, type FireTriggerResponses, type FiringId, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerError, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringError, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsError, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersError, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerCreate, type TriggerFire, type TriggerFiring, type TriggerFiringList, type TriggerFiringSource, type TriggerId, type TriggerList, type TriggerTargetType, type TriggerType, type TriggerUpdate, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerError, type UpdateTriggerErrors, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
9237
+ export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type CancelRunData, type CancelRunError, type CancelRunErrors, type CancelRunResponse, type CancelRunResponses, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerError, type CreateTriggerErrors, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerError, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type FireTriggerData, type FireTriggerError, type FireTriggerErrors, type FireTriggerResponse, type FireTriggerResponses, type FiringId, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetRunData, type GetRunError, type GetRunErrors, type GetRunResponse, type GetRunResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerError, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringError, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListRunsData, type ListRunsError, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsError, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersError, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type Offset, type Options, type OrchestrationIdFilter, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type ResumeRunData, type ResumeRunError, type ResumeRunErrors, type ResumeRunResponse, type ResumeRunResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Run, type RunCreate, type RunId, type RunList, type RunResume, type RunUsage, Runs, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StartRunData, type StartRunError, type StartRunErrors, type StartRunResponse, type StartRunResponses, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerCreate, type TriggerFire, type TriggerFiring, type TriggerFiringList, type TriggerFiringSource, type TriggerId, type TriggerList, type TriggerTargetType, type TriggerType, type TriggerUpdate, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerError, type UpdateTriggerErrors, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
package/dist/index.mjs CHANGED
@@ -1735,6 +1735,76 @@ var Providers = class {
1735
1735
  });
1736
1736
  }
1737
1737
  };
1738
+ var Runs = class {
1739
+ /**
1740
+ * List runs
1741
+ *
1742
+ * Runs of one orchestration, most recent first. `orchestration_id` is required — a project-wide run feed is not offered, since the upstream runtime's own list has no project filter (see the file description).
1743
+ *
1744
+ */
1745
+ static listRuns(options) {
1746
+ return (options.client ?? client).get({
1747
+ url: "/v1/projects/{project_id}/runs",
1748
+ ...options
1749
+ });
1750
+ }
1751
+ /**
1752
+ * Start a run
1753
+ *
1754
+ * Creates a new run of the orchestration named by `orchestration_id`. By default the run executes durably in the background and this call returns immediately with status `queued`; poll `GET …/runs/{run_id}` to observe progress. Pass `wait: true` to block until the run reaches a terminal or `awaiting_input` state instead.
1755
+ *
1756
+ */
1757
+ static startRun(options) {
1758
+ return (options.client ?? client).post({
1759
+ url: "/v1/projects/{project_id}/runs",
1760
+ ...options,
1761
+ headers: {
1762
+ "Content-Type": "application/json",
1763
+ ...options.headers
1764
+ }
1765
+ });
1766
+ }
1767
+ /**
1768
+ * Get a run
1769
+ *
1770
+ * One run's status, accumulated state, per-node artifacts and execution trace.
1771
+ *
1772
+ */
1773
+ static getRun(options) {
1774
+ return (options.client ?? client).get({
1775
+ url: "/v1/projects/{project_id}/runs/{run_id}",
1776
+ ...options
1777
+ });
1778
+ }
1779
+ /**
1780
+ * Cancel a run
1781
+ *
1782
+ * Stops a run that has not yet reached a terminal state.
1783
+ */
1784
+ static cancelRun(options) {
1785
+ return (options.client ?? client).post({
1786
+ url: "/v1/projects/{project_id}/runs/{run_id}:cancel",
1787
+ ...options
1788
+ });
1789
+ }
1790
+ /**
1791
+ * Resume a run
1792
+ *
1793
+ * Moves a run parked at `awaiting_input` forward — the single door for every resume, whatever the run is parked on. Send `output` to answer a human-node pause and advance past it; omit it to re-drive a run without answering anything, which re-parks a human or webhook-receive pause on the same node (useful for a delay/poll wait, or to nudge a run after an external side effect completed out of band).
1794
+ * Only valid on a run whose status is `awaiting_input`; any other status answers 409.
1795
+ *
1796
+ */
1797
+ static resumeRun(options) {
1798
+ return (options.client ?? client).post({
1799
+ url: "/v1/projects/{project_id}/runs/{run_id}:resume",
1800
+ ...options,
1801
+ headers: {
1802
+ "Content-Type": "application/json",
1803
+ ...options.headers
1804
+ }
1805
+ });
1806
+ }
1807
+ };
1738
1808
  var Sessions = class {
1739
1809
  /**
1740
1810
  * Open a session
@@ -2354,4 +2424,4 @@ var NaturaliClient = class {
2354
2424
  }
2355
2425
  };
2356
2426
  //#endregion
2357
- export { Actors, Agents, ApiKeys, Assistant, Auth, Boards, Channels, Generations, Knowledge, Models, NaturaliClient, Projects, Providers, Sessions, Tasks, Tools, Traces, Triggers, Webhooks, createClient, createConfig };
2427
+ export { Actors, Agents, ApiKeys, Assistant, Auth, Boards, Channels, Generations, Knowledge, Models, NaturaliClient, Projects, Providers, Runs, Sessions, Tasks, Tools, Traces, Triggers, Webhooks, createClient, createConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.50.1",
3
+ "version": "0.51.1",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.50.1"
40
+ "@naturali/api": "0.51.1"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",