@naturali/sdk 0.50.0 → 0.51.0

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.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 (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
  */
@@ -2591,6 +2754,138 @@ type TraceList = {
2591
2754
  limit: number;
2592
2755
  offset: number;
2593
2756
  };
2757
+ /**
2758
+ * Fixed to `schedule` in v1 — the only trigger type naturali fronts today.
2759
+ *
2760
+ */
2761
+ type TriggerType = 'schedule';
2762
+ /**
2763
+ * Fixed to `agent` in v1 — the only target type naturali fronts today.
2764
+ *
2765
+ */
2766
+ type TriggerTargetType = 'agent';
2767
+ type Trigger = {
2768
+ /**
2769
+ * Public trigger ID (trg_ prefix) — the runtime trigger id.
2770
+ */
2771
+ id: string;
2772
+ project_id: string;
2773
+ name: string;
2774
+ description: string | null;
2775
+ type: TriggerType;
2776
+ target_type: TriggerTargetType;
2777
+ /**
2778
+ * The agent this trigger runs.
2779
+ */
2780
+ target_id: string;
2781
+ /**
2782
+ * Static input passed to the agent on every fire, scheduled or manual — shallow-merged under any input a manual `…:fire` call supplies for that one run.
2783
+ *
2784
+ */
2785
+ input: {
2786
+ [key: string]: unknown;
2787
+ } | null;
2788
+ /**
2789
+ * 5-field cron expression, evaluated in UTC.
2790
+ */
2791
+ cron: string;
2792
+ /**
2793
+ * Whether the trigger fires at all — on its schedule and on a manual `…:fire` call alike. `…:fire` on an inactive trigger is `409`.
2794
+ *
2795
+ */
2796
+ active: boolean;
2797
+ /**
2798
+ * Server-computed; the next time the schedule fires.
2799
+ */
2800
+ next_fire_at: Date | null;
2801
+ created_at: Date;
2802
+ updated_at: Date;
2803
+ };
2804
+ type TriggerCreate = {
2805
+ name: string;
2806
+ description?: string;
2807
+ /**
2808
+ * The agent this trigger runs. Must belong to this project.
2809
+ */
2810
+ target_id: string;
2811
+ input?: {
2812
+ [key: string]: unknown;
2813
+ };
2814
+ /**
2815
+ * 5-field cron expression, evaluated in UTC.
2816
+ */
2817
+ cron: string;
2818
+ active?: boolean;
2819
+ };
2820
+ /**
2821
+ * At least one field is required.
2822
+ */
2823
+ type TriggerUpdate = {
2824
+ name?: string;
2825
+ description?: string | null;
2826
+ target_id?: string;
2827
+ input?: {
2828
+ [key: string]: unknown;
2829
+ } | null;
2830
+ cron?: string;
2831
+ active?: boolean;
2832
+ };
2833
+ type TriggerFire = {
2834
+ /**
2835
+ * Fire-time input, shallow-merged over the trigger's stored `input`.
2836
+ */
2837
+ input?: {
2838
+ [key: string]: unknown;
2839
+ };
2840
+ };
2841
+ type TriggerList = {
2842
+ data: Array<Trigger>;
2843
+ total: number | null;
2844
+ limit: number;
2845
+ offset: number;
2846
+ };
2847
+ /**
2848
+ * What caused this run — the schedule itself, or a manual `…:fire` call.
2849
+ */
2850
+ type TriggerFiringSource = 'schedule' | 'manual';
2851
+ /**
2852
+ * One run of a trigger's target, and what came back.
2853
+ */
2854
+ type TriggerFiring = {
2855
+ /**
2856
+ * Public firing ID — the runtime firing id.
2857
+ */
2858
+ id: string;
2859
+ trigger_id: string;
2860
+ project_id: string;
2861
+ source: TriggerFiringSource;
2862
+ status: 'pending' | 'running' | 'succeeded' | 'failed';
2863
+ input: {
2864
+ [key: string]: unknown;
2865
+ } | null;
2866
+ /**
2867
+ * `{ target_type, result_id, status, output }` — output truncated.
2868
+ */
2869
+ result: {
2870
+ [key: string]: unknown;
2871
+ } | null;
2872
+ /**
2873
+ * `{ code, message, meta }`, present only when `status` is `failed`.
2874
+ */
2875
+ error: {
2876
+ [key: string]: unknown;
2877
+ } | null;
2878
+ started_at: Date | null;
2879
+ completed_at: Date | null;
2880
+ created_at: Date;
2881
+ updated_at: Date;
2882
+ };
2883
+ type TriggerFiringList = {
2884
+ data: Array<TriggerFiring>;
2885
+ total: number | null;
2886
+ limit: number;
2887
+ offset: number;
2888
+ };
2594
2889
  /**
2595
2890
  * A naturali event type. The set below is what v1 emits — deliberately only the events naturali itself causes, so no declared name is one that never fires.
2596
2891
  *
@@ -2835,6 +3130,15 @@ type ConverterId = string;
2835
3130
  * Provider public ID (aip_ prefix).
2836
3131
  */
2837
3132
  type ProviderId = string;
3133
+ /**
3134
+ * Run public ID (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;
2838
3142
  /**
2839
3143
  * Session public ID (sess_ prefix).
2840
3144
  */
@@ -2867,6 +3171,14 @@ type ToolId = string;
2867
3171
  * Trace public ID (trace_ prefix).
2868
3172
  */
2869
3173
  type TraceId = string;
3174
+ /**
3175
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
3176
+ */
3177
+ type TriggerId = string;
3178
+ /**
3179
+ * Firing public ID — the runtime firing id.
3180
+ */
3181
+ type FiringId = string;
2870
3182
  /**
2871
3183
  * Webhook public ID (whk_ prefix).
2872
3184
  */
@@ -6093,28 +6405,32 @@ type UpdateProviderResponses = {
6093
6405
  200: Provider;
6094
6406
  };
6095
6407
  type UpdateProviderResponse = UpdateProviderResponses[keyof UpdateProviderResponses];
6096
- type CreateSessionData = {
6097
- body?: SessionCreate;
6098
- headers?: {
6099
- /**
6100
- * Client-supplied key to make this mutating POST idempotent.
6101
- */
6102
- 'Idempotency-Key'?: string;
6103
- };
6408
+ type ListRunsData = {
6409
+ body?: never;
6104
6410
  path: {
6105
6411
  /**
6106
6412
  * Project public ID (proj_ prefix).
6107
6413
  */
6108
6414
  project_id: string;
6415
+ };
6416
+ query: {
6109
6417
  /**
6110
- * Agent public ID (agent_ prefix).
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
+ *
6111
6420
  */
6112
- agent_id: string;
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;
6113
6430
  };
6114
- query?: never;
6115
- url: '/v1/projects/{project_id}/agents/{agent_id}/sessions';
6431
+ url: '/v1/projects/{project_id}/runs';
6116
6432
  };
6117
- type CreateSessionErrors = {
6433
+ type ListRunsErrors = {
6118
6434
  /**
6119
6435
  * The request was malformed or failed validation.
6120
6436
  */
@@ -6132,34 +6448,36 @@ type CreateSessionErrors = {
6132
6448
  */
6133
6449
  502: ErrorResponse;
6134
6450
  };
6135
- type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors];
6136
- type CreateSessionResponses = {
6451
+ type ListRunsError = ListRunsErrors[keyof ListRunsErrors];
6452
+ type ListRunsResponses = {
6137
6453
  /**
6138
- * The session was opened.
6454
+ * A page of runs.
6139
6455
  */
6140
- 201: Session;
6456
+ 200: RunList;
6141
6457
  };
6142
- type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses];
6143
- type GetSessionData = {
6144
- body?: never;
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
+ };
6145
6467
  path: {
6146
6468
  /**
6147
6469
  * Project public ID (proj_ prefix).
6148
6470
  */
6149
6471
  project_id: string;
6150
- /**
6151
- * Agent public ID (agent_ prefix).
6152
- */
6153
- agent_id: string;
6154
- /**
6155
- * Session public ID (sess_ prefix).
6156
- */
6157
- session_id: string;
6158
6472
  };
6159
6473
  query?: never;
6160
- url: '/v1/projects/{project_id}/agents/{agent_id}/sessions/{session_id}';
6474
+ url: '/v1/projects/{project_id}/runs';
6161
6475
  };
6162
- type GetSessionErrors = {
6476
+ type StartRunErrors = {
6477
+ /**
6478
+ * The request was malformed or failed validation.
6479
+ */
6480
+ 400: ErrorResponse;
6163
6481
  /**
6164
6482
  * Missing or invalid credentials.
6165
6483
  */
@@ -6173,15 +6491,15 @@ type GetSessionErrors = {
6173
6491
  */
6174
6492
  502: ErrorResponse;
6175
6493
  };
6176
- type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
6177
- type GetSessionResponses = {
6494
+ type StartRunError = StartRunErrors[keyof StartRunErrors];
6495
+ type StartRunResponses = {
6178
6496
  /**
6179
- * The session.
6497
+ * Run created.
6180
6498
  */
6181
- 200: Session;
6499
+ 201: Run;
6182
6500
  };
6183
- type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
6184
- type ListSessionMessagesData = {
6501
+ type StartRunResponse = StartRunResponses[keyof StartRunResponses];
6502
+ type GetRunData = {
6185
6503
  body?: never;
6186
6504
  path: {
6187
6505
  /**
@@ -6189,17 +6507,228 @@ type ListSessionMessagesData = {
6189
6507
  */
6190
6508
  project_id: string;
6191
6509
  /**
6192
- * Agent public ID (agent_ prefix).
6193
- */
6194
- agent_id: string;
6195
- /**
6196
- * Session public ID (sess_ prefix).
6510
+ * Run public ID (run_ prefix).
6197
6511
  */
6198
- session_id: string;
6512
+ run_id: string;
6199
6513
  };
6200
- query?: {
6201
- /**
6202
- * Maximum messages per page.
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 (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 (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];
6625
+ type CreateSessionData = {
6626
+ body?: SessionCreate;
6627
+ headers?: {
6628
+ /**
6629
+ * Client-supplied key to make this mutating POST idempotent.
6630
+ */
6631
+ 'Idempotency-Key'?: string;
6632
+ };
6633
+ path: {
6634
+ /**
6635
+ * Project public ID (proj_ prefix).
6636
+ */
6637
+ project_id: string;
6638
+ /**
6639
+ * Agent public ID (agent_ prefix).
6640
+ */
6641
+ agent_id: string;
6642
+ };
6643
+ query?: never;
6644
+ url: '/v1/projects/{project_id}/agents/{agent_id}/sessions';
6645
+ };
6646
+ type CreateSessionErrors = {
6647
+ /**
6648
+ * The request was malformed or failed validation.
6649
+ */
6650
+ 400: ErrorResponse;
6651
+ /**
6652
+ * Missing or invalid credentials.
6653
+ */
6654
+ 401: ErrorResponse;
6655
+ /**
6656
+ * The resource does not exist (existence is not leaked).
6657
+ */
6658
+ 404: ErrorResponse;
6659
+ /**
6660
+ * The upstream runtime could not complete the operation.
6661
+ */
6662
+ 502: ErrorResponse;
6663
+ };
6664
+ type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors];
6665
+ type CreateSessionResponses = {
6666
+ /**
6667
+ * The session was opened.
6668
+ */
6669
+ 201: Session;
6670
+ };
6671
+ type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses];
6672
+ type GetSessionData = {
6673
+ body?: never;
6674
+ path: {
6675
+ /**
6676
+ * Project public ID (proj_ prefix).
6677
+ */
6678
+ project_id: string;
6679
+ /**
6680
+ * Agent public ID (agent_ prefix).
6681
+ */
6682
+ agent_id: string;
6683
+ /**
6684
+ * Session public ID (sess_ prefix).
6685
+ */
6686
+ session_id: string;
6687
+ };
6688
+ query?: never;
6689
+ url: '/v1/projects/{project_id}/agents/{agent_id}/sessions/{session_id}';
6690
+ };
6691
+ type GetSessionErrors = {
6692
+ /**
6693
+ * Missing or invalid credentials.
6694
+ */
6695
+ 401: ErrorResponse;
6696
+ /**
6697
+ * The resource does not exist (existence is not leaked).
6698
+ */
6699
+ 404: ErrorResponse;
6700
+ /**
6701
+ * The upstream runtime could not complete the operation.
6702
+ */
6703
+ 502: ErrorResponse;
6704
+ };
6705
+ type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
6706
+ type GetSessionResponses = {
6707
+ /**
6708
+ * The session.
6709
+ */
6710
+ 200: Session;
6711
+ };
6712
+ type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
6713
+ type ListSessionMessagesData = {
6714
+ body?: never;
6715
+ path: {
6716
+ /**
6717
+ * Project public ID (proj_ prefix).
6718
+ */
6719
+ project_id: string;
6720
+ /**
6721
+ * Agent public ID (agent_ prefix).
6722
+ */
6723
+ agent_id: string;
6724
+ /**
6725
+ * Session public ID (sess_ prefix).
6726
+ */
6727
+ session_id: string;
6728
+ };
6729
+ query?: {
6730
+ /**
6731
+ * Maximum messages per page.
6203
6732
  */
6204
6733
  limit?: number;
6205
6734
  /**
@@ -7061,6 +7590,316 @@ type GetTraceStepsResponses = {
7061
7590
  200: TraceSteps;
7062
7591
  };
7063
7592
  type GetTraceStepsResponse = GetTraceStepsResponses[keyof GetTraceStepsResponses];
7593
+ type ListTriggersData = {
7594
+ body?: never;
7595
+ path: {
7596
+ /**
7597
+ * Project public ID (proj_ prefix).
7598
+ */
7599
+ project_id: string;
7600
+ };
7601
+ query?: {
7602
+ /**
7603
+ * Maximum items to return (1–100).
7604
+ */
7605
+ limit?: number;
7606
+ /**
7607
+ * Items to skip. This list pages by offset rather than by naturali's usual opaque cursor because the upstream ordering is offset-based; a cursor here would only imitate a keyset.
7608
+ *
7609
+ */
7610
+ offset?: number;
7611
+ };
7612
+ url: '/v1/projects/{project_id}/triggers';
7613
+ };
7614
+ type ListTriggersErrors = {
7615
+ /**
7616
+ * The request was malformed or failed validation.
7617
+ */
7618
+ 400: ErrorResponse;
7619
+ /**
7620
+ * Missing or invalid credentials.
7621
+ */
7622
+ 401: ErrorResponse;
7623
+ /**
7624
+ * The resource does not exist (existence is not leaked).
7625
+ */
7626
+ 404: ErrorResponse;
7627
+ };
7628
+ type ListTriggersError = ListTriggersErrors[keyof ListTriggersErrors];
7629
+ type ListTriggersResponses = {
7630
+ /**
7631
+ * A page of triggers.
7632
+ */
7633
+ 200: TriggerList;
7634
+ };
7635
+ type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
7636
+ type CreateTriggerData = {
7637
+ body: TriggerCreate;
7638
+ headers?: {
7639
+ /**
7640
+ * Client-supplied key to make this mutating POST idempotent.
7641
+ */
7642
+ 'Idempotency-Key'?: string;
7643
+ };
7644
+ path: {
7645
+ /**
7646
+ * Project public ID (proj_ prefix).
7647
+ */
7648
+ project_id: string;
7649
+ };
7650
+ query?: never;
7651
+ url: '/v1/projects/{project_id}/triggers';
7652
+ };
7653
+ type CreateTriggerErrors = {
7654
+ /**
7655
+ * The request was malformed or failed validation.
7656
+ */
7657
+ 400: ErrorResponse;
7658
+ /**
7659
+ * Missing or invalid credentials.
7660
+ */
7661
+ 401: ErrorResponse;
7662
+ /**
7663
+ * The resource does not exist (existence is not leaked).
7664
+ */
7665
+ 404: ErrorResponse;
7666
+ };
7667
+ type CreateTriggerError = CreateTriggerErrors[keyof CreateTriggerErrors];
7668
+ type CreateTriggerResponses = {
7669
+ /**
7670
+ * Trigger created.
7671
+ */
7672
+ 201: Trigger;
7673
+ };
7674
+ type CreateTriggerResponse = CreateTriggerResponses[keyof CreateTriggerResponses];
7675
+ type DeleteTriggerData = {
7676
+ body?: never;
7677
+ path: {
7678
+ /**
7679
+ * Project public ID (proj_ prefix).
7680
+ */
7681
+ project_id: string;
7682
+ /**
7683
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7684
+ */
7685
+ trigger_id: string;
7686
+ };
7687
+ query?: never;
7688
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}';
7689
+ };
7690
+ type DeleteTriggerErrors = {
7691
+ /**
7692
+ * Missing or invalid credentials.
7693
+ */
7694
+ 401: ErrorResponse;
7695
+ /**
7696
+ * The resource does not exist (existence is not leaked).
7697
+ */
7698
+ 404: ErrorResponse;
7699
+ };
7700
+ type DeleteTriggerError = DeleteTriggerErrors[keyof DeleteTriggerErrors];
7701
+ type DeleteTriggerResponses = {
7702
+ /**
7703
+ * Trigger deleted.
7704
+ */
7705
+ 204: void;
7706
+ };
7707
+ type DeleteTriggerResponse = DeleteTriggerResponses[keyof DeleteTriggerResponses];
7708
+ type GetTriggerData = {
7709
+ body?: never;
7710
+ path: {
7711
+ /**
7712
+ * Project public ID (proj_ prefix).
7713
+ */
7714
+ project_id: string;
7715
+ /**
7716
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7717
+ */
7718
+ trigger_id: string;
7719
+ };
7720
+ query?: never;
7721
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}';
7722
+ };
7723
+ type GetTriggerErrors = {
7724
+ /**
7725
+ * Missing or invalid credentials.
7726
+ */
7727
+ 401: ErrorResponse;
7728
+ /**
7729
+ * The resource does not exist (existence is not leaked).
7730
+ */
7731
+ 404: ErrorResponse;
7732
+ };
7733
+ type GetTriggerError = GetTriggerErrors[keyof GetTriggerErrors];
7734
+ type GetTriggerResponses = {
7735
+ /**
7736
+ * The trigger.
7737
+ */
7738
+ 200: Trigger;
7739
+ };
7740
+ type GetTriggerResponse = GetTriggerResponses[keyof GetTriggerResponses];
7741
+ type UpdateTriggerData = {
7742
+ body: TriggerUpdate;
7743
+ path: {
7744
+ /**
7745
+ * Project public ID (proj_ prefix).
7746
+ */
7747
+ project_id: string;
7748
+ /**
7749
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7750
+ */
7751
+ trigger_id: string;
7752
+ };
7753
+ query?: never;
7754
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}';
7755
+ };
7756
+ type UpdateTriggerErrors = {
7757
+ /**
7758
+ * The request was malformed or failed validation.
7759
+ */
7760
+ 400: ErrorResponse;
7761
+ /**
7762
+ * Missing or invalid credentials.
7763
+ */
7764
+ 401: ErrorResponse;
7765
+ /**
7766
+ * The resource does not exist (existence is not leaked).
7767
+ */
7768
+ 404: ErrorResponse;
7769
+ };
7770
+ type UpdateTriggerError = UpdateTriggerErrors[keyof UpdateTriggerErrors];
7771
+ type UpdateTriggerResponses = {
7772
+ /**
7773
+ * Trigger updated.
7774
+ */
7775
+ 200: Trigger;
7776
+ };
7777
+ type UpdateTriggerResponse = UpdateTriggerResponses[keyof UpdateTriggerResponses];
7778
+ type FireTriggerData = {
7779
+ body?: TriggerFire;
7780
+ path: {
7781
+ /**
7782
+ * Project public ID (proj_ prefix).
7783
+ */
7784
+ project_id: string;
7785
+ /**
7786
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7787
+ */
7788
+ trigger_id: string;
7789
+ };
7790
+ query?: never;
7791
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}:fire';
7792
+ };
7793
+ type FireTriggerErrors = {
7794
+ /**
7795
+ * The request was malformed or failed validation.
7796
+ */
7797
+ 400: ErrorResponse;
7798
+ /**
7799
+ * Missing or invalid credentials.
7800
+ */
7801
+ 401: ErrorResponse;
7802
+ /**
7803
+ * The resource does not exist (existence is not leaked).
7804
+ */
7805
+ 404: ErrorResponse;
7806
+ /**
7807
+ * The trigger is inactive, so it cannot be fired.
7808
+ */
7809
+ 409: ErrorResponse;
7810
+ };
7811
+ type FireTriggerError = FireTriggerErrors[keyof FireTriggerErrors];
7812
+ type FireTriggerResponses = {
7813
+ /**
7814
+ * The terminal firing record.
7815
+ */
7816
+ 200: TriggerFiring;
7817
+ };
7818
+ type FireTriggerResponse = FireTriggerResponses[keyof FireTriggerResponses];
7819
+ type ListTriggerFiringsData = {
7820
+ body?: never;
7821
+ path: {
7822
+ /**
7823
+ * Project public ID (proj_ prefix).
7824
+ */
7825
+ project_id: string;
7826
+ /**
7827
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7828
+ */
7829
+ trigger_id: string;
7830
+ };
7831
+ query?: {
7832
+ /**
7833
+ * Maximum items to return (1–100).
7834
+ */
7835
+ limit?: number;
7836
+ /**
7837
+ * Items to skip. This list pages by offset rather than by naturali's usual opaque cursor because the upstream ordering is offset-based; a cursor here would only imitate a keyset.
7838
+ *
7839
+ */
7840
+ offset?: number;
7841
+ };
7842
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}/firings';
7843
+ };
7844
+ type ListTriggerFiringsErrors = {
7845
+ /**
7846
+ * The request was malformed or failed validation.
7847
+ */
7848
+ 400: ErrorResponse;
7849
+ /**
7850
+ * Missing or invalid credentials.
7851
+ */
7852
+ 401: ErrorResponse;
7853
+ /**
7854
+ * The resource does not exist (existence is not leaked).
7855
+ */
7856
+ 404: ErrorResponse;
7857
+ };
7858
+ type ListTriggerFiringsError = ListTriggerFiringsErrors[keyof ListTriggerFiringsErrors];
7859
+ type ListTriggerFiringsResponses = {
7860
+ /**
7861
+ * A page of firings.
7862
+ */
7863
+ 200: TriggerFiringList;
7864
+ };
7865
+ type ListTriggerFiringsResponse = ListTriggerFiringsResponses[keyof ListTriggerFiringsResponses];
7866
+ type GetTriggerFiringData = {
7867
+ body?: never;
7868
+ path: {
7869
+ /**
7870
+ * Project public ID (proj_ prefix).
7871
+ */
7872
+ project_id: string;
7873
+ /**
7874
+ * Trigger public ID (trg_ prefix) — the runtime trigger id.
7875
+ */
7876
+ trigger_id: string;
7877
+ /**
7878
+ * Firing public ID — the runtime firing id.
7879
+ */
7880
+ firing_id: string;
7881
+ };
7882
+ query?: never;
7883
+ url: '/v1/projects/{project_id}/triggers/{trigger_id}/firings/{firing_id}';
7884
+ };
7885
+ type GetTriggerFiringErrors = {
7886
+ /**
7887
+ * Missing or invalid credentials.
7888
+ */
7889
+ 401: ErrorResponse;
7890
+ /**
7891
+ * The resource does not exist (existence is not leaked).
7892
+ */
7893
+ 404: ErrorResponse;
7894
+ };
7895
+ type GetTriggerFiringError = GetTriggerFiringErrors[keyof GetTriggerFiringErrors];
7896
+ type GetTriggerFiringResponses = {
7897
+ /**
7898
+ * The firing.
7899
+ */
7900
+ 200: TriggerFiring;
7901
+ };
7902
+ type GetTriggerFiringResponse = GetTriggerFiringResponses[keyof GetTriggerFiringResponses];
7064
7903
  type ListWebhooksData = {
7065
7904
  body?: never;
7066
7905
  path: {
@@ -8016,6 +8855,43 @@ declare class Providers {
8016
8855
  */
8017
8856
  static updateProvider<ThrowOnError extends boolean = false>(options: Options<UpdateProviderData, ThrowOnError>): RequestResult<UpdateProviderResponses, UpdateProviderErrors, ThrowOnError>;
8018
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
+ }
8019
8895
  declare class Sessions {
8020
8896
  /**
8021
8897
  * Open a session
@@ -8177,6 +9053,56 @@ declare class Traces {
8177
9053
  */
8178
9054
  static getTraceSteps<ThrowOnError extends boolean = false>(options: Options<GetTraceStepsData, ThrowOnError>): RequestResult<GetTraceStepsResponses, GetTraceStepsErrors, ThrowOnError>;
8179
9055
  }
9056
+ declare class Triggers {
9057
+ /**
9058
+ * List triggers
9059
+ *
9060
+ * The project's schedule triggers.
9061
+ */
9062
+ static listTriggers<ThrowOnError extends boolean = false>(options: Options<ListTriggersData, ThrowOnError>): RequestResult<ListTriggersResponses, ListTriggersErrors, ThrowOnError>;
9063
+ /**
9064
+ * Create a trigger
9065
+ *
9066
+ * Schedules `target_id` (an agent in this project) to run on `cron`, a 5-field cron expression evaluated in UTC.
9067
+ *
9068
+ */
9069
+ static createTrigger<ThrowOnError extends boolean = false>(options: Options<CreateTriggerData, ThrowOnError>): RequestResult<CreateTriggerResponses, CreateTriggerErrors, ThrowOnError>;
9070
+ /**
9071
+ * Delete a trigger
9072
+ *
9073
+ * Removes the trigger. Its firing history is kept.
9074
+ */
9075
+ static deleteTrigger<ThrowOnError extends boolean = false>(options: Options<DeleteTriggerData, ThrowOnError>): RequestResult<DeleteTriggerResponses, DeleteTriggerErrors, ThrowOnError>;
9076
+ /**
9077
+ * Get a trigger
9078
+ */
9079
+ static getTrigger<ThrowOnError extends boolean = false>(options: Options<GetTriggerData, ThrowOnError>): RequestResult<GetTriggerResponses, GetTriggerErrors, ThrowOnError>;
9080
+ /**
9081
+ * Update a trigger
9082
+ *
9083
+ * Retune the schedule, its target, or whether it fires at all. At least one field is required. `type` and `target_type` are immutable.
9084
+ *
9085
+ */
9086
+ static updateTrigger<ThrowOnError extends boolean = false>(options: Options<UpdateTriggerData, ThrowOnError>): RequestResult<UpdateTriggerResponses, UpdateTriggerErrors, ThrowOnError>;
9087
+ /**
9088
+ * Fire a trigger manually
9089
+ *
9090
+ * Runs the trigger's target right now, outside its schedule, and waits for the run to finish. This is the `…:fire` action; the path segment is `{trigger_id}:fire`.
9091
+ * `input` is shallow-merged over the trigger's own stored `input` for this run only — the trigger's configuration is unchanged.
9092
+ *
9093
+ */
9094
+ static fireTrigger<ThrowOnError extends boolean = false>(options: Options<FireTriggerData, ThrowOnError>): RequestResult<FireTriggerResponses, FireTriggerErrors, ThrowOnError>;
9095
+ /**
9096
+ * List a trigger's firings
9097
+ *
9098
+ * Every time this trigger ran, newest first — scheduled and manual alike.
9099
+ */
9100
+ static listTriggerFirings<ThrowOnError extends boolean = false>(options: Options<ListTriggerFiringsData, ThrowOnError>): RequestResult<ListTriggerFiringsResponses, ListTriggerFiringsErrors, ThrowOnError>;
9101
+ /**
9102
+ * Get a trigger firing
9103
+ */
9104
+ static getTriggerFiring<ThrowOnError extends boolean = false>(options: Options<GetTriggerFiringData, ThrowOnError>): RequestResult<GetTriggerFiringResponses, GetTriggerFiringErrors, ThrowOnError>;
9105
+ }
8180
9106
  declare class Webhooks {
8181
9107
  /**
8182
9108
  * List webhooks
@@ -8308,4 +9234,4 @@ declare class NaturaliClient {
8308
9234
  constructor({ token, headers }?: NaturaliClientOptions);
8309
9235
  }
8310
9236
  //#endregion
8311
- 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 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 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 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 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 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 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 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 };